joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402f70
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xb0], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
cmp dword [0x42c900], 0
je 0x402fc4
cmp dword [0x42c8f8], 0
je 0x402fc4
mov dword [ebp - 8], 3
mov edx, dword [0x42c8f8]
mov dword [ebp - 4], edx
mov eax, dword [0x42c8fc]
mov dword [ebp - 0xc], eax
push 0x10000000
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
push 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x98
call fcn.00403080
mov ecx, dword [ebp - 0x10]
add ecx, 0x98
call fcn.00403060
movzx ecx, al
test ecx, ecx
je 0x403005
xor al, al
jmp 0x40304a
call fcn.004030a0
test eax, eax
je 0x40303e
mov ecx, 0x42c8d4
call fcn.00403fd0
add eax, 1
push eax
mov ecx, 0x42c8d4
call fcn.00404110
push eax
push 0x29
mov ecx, dword [ebp - 0x10]
add ecx, 0x98
call fcn.00403050
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x68], 0
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x403ab0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xa4]
push ecx
call fcn.00410ca0
add esp, 4
mov dword [ebp - 4], eax
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xa4]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 0xa0
call fcn.00403050
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x403b1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 8]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x68], 3
mov ecx, dword [ebp - 4]
push ecx
call fcn.004109d1
add esp, 4
xor al, al
jmp 0x403b1f
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x403b30
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x42b314]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0xa4], ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0xb4
call fcn.00403cb0
movzx edx, al
test edx, edx
je 0x403bd5
lea eax, [ebp - 0x210]
push eax
push 0
push 0x424600
mov ecx, 0x42c8b8
call fcn.00404110
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0x24
call fcn.00403fb0
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 0xb4
call fcn.00403cd0
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x214]
add ecx, 0xb4
call fcn.00403c80
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
push eax
call fcn.004109d1
add esp, 4
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx + 0xa8]
add edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x214]
mov dword [eax + 0xa8], edx
mov ecx, dword [ebp - 0x214]
cmp dword [ecx + 0xac], 0
je 0x403c51
mov edx, dword [ebp - 0x214]
movzx eax, byte [edx + 0x94]
test eax, eax
je 0x403c51
mov ecx, dword [0x42c8b4]
add ecx, dword [ebp + 0xc]
mov dword [0x42c8b4], ecx
mov edx, dword [ebp - 0x214]
cmp dword [edx + 0x68], 3
je 0x403c6a
mov eax, dword [ebp - 0x214]
mov dword [eax + 0x68], 2
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040fee0
mov esp, ebp
pop ebp
ret 8
Function at 0x4099c0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x409a2e
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
push 0
lea edx, [ebp - 0xc]
push edx
push 0
push 2
push 0
push 0
push 0
movzx eax, word [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov esp, ebp
pop ebp
ret 8
Function at 0x409f50
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x42b314]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x409fd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CrOzVVWup7UuBze72WluspqcJPfzfYeye9l86OGNi2bh7A
push 0x1511
push 0x2c22
push 0x1933
call fcn.00405240
add esp, 0x10
push eax
call fcn.00411246
add esp, 8
jmp 0x40a12c
push 0x10024
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40a027
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x7b57
push str.CrOzVVwhYnTuh6bySqt8ZiNYDQ36sJm6095uubam39
push 0x3f66
push 0x7831
push 0x4e9f
call fcn.00405240
add esp, 0x14
push eax
call fcn.00411246
add esp, 8
jmp 0x40a12c
lea eax, [ebp - 0x24]
push eax
push 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x40a0f5
mov edx, dword [ebp + 8]
push edx
push str.Fre003Z8mZia_AiV
push 0x619f
push 0x1c48
push 0x4557
call fcn.00405240
add esp, 0x10
push eax
call fcn.00411246
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x40a0a9
cmp dword [ebp - 0x20], 3
jne 0x40a0a5
push 0x424e90
call fcn.00411246
add esp, 4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40a0a7
jmp 0x40a0a9
jmp 0x40a073
cmp dword [ebp - 0x20], 1
jne 0x40a0e4
mov edx, dword [ebp + 8]
push edx
push 0x4d7
push 0x4db2
push str.Taog29m14zOtgvLCHt0Q
push 0x4aed
push 0x3716
push 0x618d
call fcn.00405240
add esp, 0x18
push eax
call fcn.00411246
add esp, 8
jmp 0x40a0f5
mov eax, dword [ebp + 8]
push eax
push str._n_s_failed_to_stop._n
call fcn.00411246
add esp, 8
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x40a11b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DeleteService_failed_w_err_0x_08lx_n
call fcn.00411246
add esp, 8
jmp 0x40a12c
mov edx, dword [ebp + 8]
push edx
push str._s_is_removed._n
call fcn.00411246
add esp, 8
cmp dword [ebp - 0x28], 0
je 0x40a143
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x28], 0
cmp dword [ebp - 4], 0
je 0x40a15a
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040fee0
mov esp, ebp
pop ebp
ret
Function at 0x40a6b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x40a750
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x2c
call fcn.00403cd0
mov esp, ebp
pop ebp
ret 8
Function at 0x40c820
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xbc], 0
jne 0x40c835
jmp 0x40c866
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xbc]
call fcn.0040de80
movzx eax, al
test eax, eax
jne 0x40c866
push 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0x24
call fcn.00404110
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esp, ebp
pop ebp
ret 4

Function at 0x40ebc0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423b43
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x42b314]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CResponseHandler.0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.00403ff0
movzx ecx, al
test ecx, ecx
jne 0x40ec1a
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.00404110
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x44
call fcn.004040b0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.0040db70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x40fee0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b314]
jne 0x40feea
repz ret
jmp fcn.004138bc
Function at 0x41d4c6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b314]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0041335c
and dword [ebp - 0x14], 0
cmp dword [0x42dad0], 0
mov dword [ebp - 0x18], eax
jne 0x41d579
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41d621
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41d621
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42dad0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42dad4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42dad8], eax
call edi
push eax
call esi
mov dword [0x42dae0], eax
test eax, eax
je 0x41d579
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42dadc], eax
mov eax, dword [0x42dadc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41d5d2
cmp dword [0x42dae0], ecx
je 0x41d5d2
push eax
call esi
push dword [0x42dae0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41d5d2
test ebx, ebx
je 0x41d5d2
call edi
test eax, eax
je 0x41d5c9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41d5c9
test byte [ebp - 8], 1
jne 0x41d5d2
or dword [ebp + 0x10], 0x200000
jmp 0x41d605
mov eax, dword [0x42dad4]
cmp eax, dword [ebp - 0x18]
je 0x41d605
push eax
call esi
test eax, eax
je 0x41d605
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41d605
mov eax, dword [0x42dad8]
cmp eax, dword [ebp - 0x18]
je 0x41d605
push eax
call esi
test eax, eax
je 0x41d605
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42dad0]
call esi
test eax, eax
je 0x41d621
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41d623
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040fee0
leave
ret
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..data
mov ebx, 0x408f6c
nop
nop
mov ecx, 0xed07b23
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data_1
mov ebx, 0x42e3d0
nop
mov ecx, 0x368b3cca
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.DLL_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x4eac3dc4
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0xf5707e6
nop
nop
nop
nop
test eax, eax
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x100014f5
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x10001507
add esp, 0x5c
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov ecx, esp
mov dword [ecx], 0x39
mov ecx, dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
mov dword [ebp - 0x14], eax
call ecx
sub esp, 4
xor ecx, ecx
mov word [ebp - 0x16], ax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, 0xaaaaaaab
mov dword [ebp - 0x20], eax
mul ecx
shr edx, 3
imul eax, edx, 0xc
mov ecx, dword [ebp - 0x20]
sub ecx, eax
mov dword [ebp - 0x24], ecx
je 0x10001555
jmp 0x10001548
mov eax, dword [ebp - 0x24]
sub eax, 0xb
mov dword [ebp - 0x28], eax
jne 0x1000156a
jmp 0x10001555
mov eax, esp
mov dword [eax], 0x97e
mov eax, dword [sym.imp.ADVAPI32.dll_NotifyBootConfigStatus]
call eax
sub esp, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x60
mov dword [ebp - 0x1c], eax
jne 0x10001529
mov dword [ebp - 0xc], 0xf17a94
mov dword [ebp - 8], 0x929
mov eax, esp
lea ecx, [ebp - 8]
mov dword [eax + 0x10], ecx
lea ecx, [ebp - 0xc]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], 0xdbb
mov dword [eax + 4], 0xee7
mov dword [eax], 0xee7
mov eax, dword [sym.imp.ole32.dll_CoWaitForMultipleHandles]
call eax
sub esp, 0x14
mov ecx, dword [ebp - 0x14]
sub ecx, 0x12
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
je 0x100015d3
jmp 0x100015c6
mov eax, dword [ebp - 0x14]
sub eax, 0x25
mov dword [ebp - 0x38], eax
jne 0x10001619
jmp 0x100015d3
mov eax, 0xa04969
mov dword [ebp - 4], eax
mov eax, esp
lea ecx, [ebp - 4]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x18], 0xf5
mov dword [eax + 0x14], 0x1bf
mov dword [eax + 0x10], 0xb1
mov dword [eax + 8], 0xc9c998
mov dword [eax + 4], 0xf9c655
mov dword [eax], 0xc9c998
mov eax, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
call eax
sub esp, 0x1c
mov dword [ebp - 0x3c], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
call eax
mov word [ebp - 0x3e], ax
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x3c
mov dword [ebp - 0x10], eax
je 0x10001502
jmp 0x10001507

Function at 0x1014521a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101952c0]
jne 0x10145224
repz ret
jmp fcn.10147f0c
Function at 0x101499ef
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1014531c
and dword [ebp - 4], 0
cmp dword [0x10196c0c], 0
mov ebx, eax
jne 0x10149aa0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10149b51
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10149b51
push eax
call fcn.101452aa
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10196c0c], eax
call esi
push eax
call fcn.101452aa
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10196c10], eax
call esi
push eax
call fcn.101452aa
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10196c14], eax
call esi
push eax
call fcn.101452aa
pop ecx
mov dword [0x10196c1c], eax
test eax, eax
je 0x10149aa0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.101452aa
pop ecx
mov dword [0x10196c18], eax
mov eax, dword [0x10196c18]
cmp eax, ebx
je 0x10149af8
cmp dword [0x10196c1c], ebx
je 0x10149af8
push eax
call fcn.10145325
push dword [0x10196c1c]
mov esi, eax
call fcn.10145325
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10149af8
test edi, edi
je 0x10149af8
call esi
test eax, eax
je 0x10149aef
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10149aef
test byte [ebp - 0xc], 1
jne 0x10149af8
or dword [ebp + 0x10], 0x200000
jmp 0x10149b31
mov eax, dword [0x10196c10]
cmp eax, ebx
je 0x10149b31
push eax
call fcn.10145325
pop ecx
test eax, eax
je 0x10149b31
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10149b31
mov eax, dword [0x10196c14]
cmp eax, ebx
je 0x10149b31
push eax
call fcn.10145325
pop ecx
test eax, eax
je 0x10149b31
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10196c0c]
call fcn.10145325
pop ecx
test eax, eax
je 0x10149b51
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10149b53
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1014a87d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [0x10194d44], 0xaa5
mov ecx, dword [0x10194d48]
add ecx, 0xffffd942
mov dword [0x10194d48], ecx
mov dword [ebp - 0x10], eax
call fcn.1014bcab
xor ecx, ecx
mov dword [0x10194d48], 0x1d70
mov edx, eax
mov esi, dword [eax + 0x3c]
mov dword [0x10194d44], 0x9d6
mov dword [0x10194d48], 0x84a
mov esi, dword [eax + esi + 0x78]
mov dword [0x10194d44], 0x13d1
mov dword [0x10194d48], 0x1706
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x1014aa0d
jmp 0x1014a95f
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edx
jmp 0x1014a981
xor eax, eax
mov dword [0x10194d44], 0xd28
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov edx, dword [ebp - 0x30]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], eax
jb 0x1014a910
jmp 0x1014aa0d
mov eax, dword [ebp - 0x20]
add eax, 0x24
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x40], ecx
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x40]
add ecx, dword [edx]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
jmp 0x1014a910
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x38]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
je 0x1014a9d2
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x46]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x1014a981
mov al, byte [ebp - 0x46]
test al, 1
jne 0x1014a9de
jmp 0x1014a92c
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x10194d44], 0x547
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [0x10194d48], 0x1a0f
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret