joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44855c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x448582
mov eax, esp
push eax
push 0x448524
call sub.user32.dll_EnumWindows
jmp 0x448595
mov eax, esp
push eax
push 0x448504
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x448620
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x448674]
test si, 4
je 0x448635
or bl, 1
test si, 8
je 0x44863f
or bl, 4
test si, 1
je 0x448649
or bl, 8
test si, 2
je 0x448653
or bl, 0x10
test si, 0x10
je 0x44865d
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44866c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x448678
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4486b4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448692
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4486a1
or bl, 4
test esi, 0x20000000
je 0x4486ac
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x450720
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x450732
add esp, 0xfffffff0
call fcn.00403d0c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a104
mov eax, dword [0x4597ec]
mov dword [eax + 4], ebx
mov dword [eax], 0x450ac4
mov eax, dword [0x4597f8]
mov dword [eax + 4], ebx
mov dword [eax], 0x450ad0
mov eax, ebx
call fcn.00450adc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411eb4]
call fcn.004039d0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411eb4]
call fcn.004039d0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411eb4]
call fcn.004039d0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411eb4]
call fcn.004039d0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411eb4]
call fcn.004039d0
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44bf84
push eax
push 0
push 0
mov eax, dword [0x459934]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41dd68]
call fcn.0041f288
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41dd68]
call fcn.0041f288
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41dd68]
call fcn.0041f288
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00450f54
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450e24
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450e24
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450e24
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45086f
call fcn.00403d64
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x450c08
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x450db3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x450d94
mov dl, 1
mov eax, dword [0x4122d8]
call fcn.004039d0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404814
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x450d83
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004423a0
test al, al
je 0x450d76
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x450dc4
lea eax, [ebp - 0x254]
call fcn.00409238
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x450d76
xor eax, eax
push ebp
push 0x450d6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x450dfc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x450d58
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a84
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x450d58
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450d76
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x450c79
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00415fb0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450dba
lea eax, [ebp - 0x260]
call fcn.00404814
ret

Function at 0x45172c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x45ed40]
cmp byte [eax + 0xad], 0
jne 0x45179d
cmp dword [0x45ed5c], 0
jne 0x45175e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4516e8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45ed5c], eax
cmp dword [0x45ed58], 0
jne 0x451779
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45ed58], eax
cmp dword [0x45ed60], 0
jne 0x45179d
push esp
push 0
push 0
push 0x45168c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45ed60], eax
pop edx
ret
Function at 0x4519a0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4519b7
add esp, 0xfffffff0
call fcn.00403d0c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a104
mov eax, dword [0x459920]
cmp word [eax + 2], 0
jne 0x4519df
mov eax, dword [0x459920]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00453450
mov eax, dword [0x4599c0]
cmp word [eax + 2], 0
jne 0x4519f9
mov eax, dword [0x4599c0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045365c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411eb4]
call fcn.004039d0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411eb4]
call fcn.004039d0
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x411eb4]
call fcn.004039d0
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41e544]
call fcn.00424410
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x451bb0
mov eax, dword [0x459850]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004247e4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x453d20
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x459850]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c974
test eax, eax
je 0x451b00
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408bf0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c9a8
test eax, eax
je 0x451b14
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404a84
mov byte [ebx + 0xd4], 0
push ebx
push 0x45311c
call fcn.0041b280
mov dword [ebx + 0xc8], eax
mov eax, dword [0x459760]
cmp byte [eax], 0
jne 0x451b65
mov eax, ebx
call fcn.00451cf4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00453f34
mov eax, ebx
call fcn.00454a98
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x451ba5
call fcn.00403d64
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451f74
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x452013
cmp dword [ebx + 0x94], 0
jne 0x45200d
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451efc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45200d
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x451fd3
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45200d
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414258
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x451fe2
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45222c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x45ed40]
cmp dword [eax + 0x30], 0
je 0x452389
test bl, bl
jne 0x4522da
cmp dword [esi + 0x9c], 0
jne 0x4522cf
mov eax, esi
call fcn.00454914
push eax
push 0x452158
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4522a0
mov eax, dword [0x45ed40]
call fcn.00454f04
test al, al
je 0x4522a0
mov eax, dword [0x45ed64]
call fcn.004056d0
mov edi, eax
cmp edi, 0
jl 0x4522a0
push 0
mov eax, dword [0x45ed64]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45228a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4522cf
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414258
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4522af
inc dword [esi + 0x9c]
jmp 0x452389
cmp dword [esi + 0x9c], 0
jle 0x452389
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x452389
cmp dword [esi + 0x44], 0
je 0x452335
mov eax, dword [0x45ed40]
call fcn.00454f04
test al, al
je 0x452335
mov eax, dword [0x45ed64]
call fcn.004056d0
mov edi, eax
cmp edi, 0
jl 0x452335
push 5
mov eax, dword [0x45ed64]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45231f
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x452364
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414258
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x452344
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x45ed64
mov ecx, 1
mov edx, dword [0x452138]
call fcn.00405884
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x452e70
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x452eda
mov eax, ebx
call fcn.00454f04
test al, al
jne 0x452eda
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404904
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x452ec7
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x452ee7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404868
jmp 0x452ee7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404868
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x454118
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x454186
mov eax, esi
call fcn.0043d1d8
test al, al
je 0x454186
mov eax, dword [ebx + 0x84]
call fcn.0043cedc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x454186
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45417a
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043cedc
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00434f80
jmp 0x454186
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00453f54
pop esi
pop ebx
ret
Function at 0x455d24
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x455d2c
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x455eec
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x455ec4
mov cl, 1
mov dl, 1
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x30]
mov dl, 1
mov eax, dword [0x4122d8]
call fcn.004039d0
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x455ebd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x455d90
mov ebx, 0x455efc
jmp 0x455e6c
push 0
push 1
push 0
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00455928
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x455e2d
inc eax
mov dword [ebp - 0xc], eax
xor esi, esi
lea ecx, [ebp - 0x10]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00456230
test al, al
jne 0x455e27
lea ecx, [ebp - 0x14]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x455e27
lea ecx, [ebp - 0x20]
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x1c]
push eax
push 0
lea edx, [ebp - 0x24]
mov eax, 0x4554e8
call fcn.00406448
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x4550b8]
call fcn.0040bc20
call fcn.0040425c
inc esi
dec dword [ebp - 0xc]
jne 0x455db5
movzx eax, byte [0x455f00]
push eax
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x2c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x2c]
mov ecx, 0x455f0c
mov edx, 0x455f18
call fcn.0040ce80
lea eax, [ebp - 0x28]
mov edx, 0x455f0c
call fcn.00404ae0
mov eax, dword [ebp - 0x28]
call fcn.00404ca4
mov ebx, eax
push 0
push 0
push 0
push ebx
push 0
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.advapi32.dll_ChangeServiceConfigA
test eax, eax
jne 0x455ea7
call sub.kernel32.dll_GetLastError
mov ecx, eax
mov dl, 1
mov eax, dword [0x4550b8]
call fcn.004554f0
call fcn.0040425c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455ec4
mov eax, dword [ebp - 8]
call fcn.00403a00
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455ef3
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00404838
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404838
ret
Function at 0x456470
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45654b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x3c
call fcn.0040333c
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x40], 0x440
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, ebx
call fcn.00404ca4
mov dword [ebp - 0x34], eax
mov eax, esi
call fcn.00404ca4
mov dword [ebp - 0x30], eax
mov eax, edi
call fcn.00404ca4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
push eax
call sub.shell32.dll_ShellExecuteExA
test eax, eax
je 0x456533
mov byte [ebp - 1], 1
cmp byte [ebp + 0x18], 0
je 0x45651d
mov ebx, 1
push 0x1f4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetExitCodeProcess
inc ebx
cmp dword [ebp - 8], 0x103
jne 0x45651d
cmp ebx, 0x3c
jle 0x4564f3
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 0xc]
mov dword [eax], ebx
mov eax, ebx
call fcn.00456370
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
jmp 0x456541
mov byte [ebp - 1], 0
call sub.kernel32.dll_GetLastError
mov edx, dword [ebp + 8]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x456555
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x456768
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c94
xor eax, eax
push ebp
push 0x45687e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x456861
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor ecx, ecx
push ebp
push 0x456849
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [0x45ed74], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax], 0x2a
jne 0x4567de
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4567cb
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 4]
push eax
mov ecx, ebx
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00404d0c
mov edx, dword [ebp - 4]
mov eax, edx
test eax, eax
je 0x4567ec
sub eax, 4
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
cmp byte [ecx + eax - 1], 0x2a
jne 0x456815
mov ebx, edx
test ebx, ebx
je 0x456801
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 4]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404d0c
mov eax, 0x45ed80
mov edx, dword [ebp - 4]
call fcn.00404868
push 0
push 0x456670
call sub.user32.dll_EnumWindows
cmp dword [0x45ed74], 0
je 0x45683f
mov eax, dword [0x45ed74]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x456853
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456868
ret
Function at 0x4011c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0x38
call fcn.0040ceba
mov esi, eax
xor edi, edi
add esp, 4
cmp esi, edi
je 0x4011f5
call fcn.004041c0
mov dword [esi + 0x18], edi
mov dword [esi + 0x30], edi
mov dword [esi], vtable.CXSocket.0
mov dword [esi + 0x34], 0xffffffff
mov edi, esi
push 4
call fcn.0040ceba
mov esi, eax
mov eax, dword [ebp + 8]
add esp, 4
push eax
mov ebx, edi
mov dword [ebp - 8], esi
call fcn.004047e0
mov dword [ebp - 4], eax
test eax, eax
je 0x401248
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push 0x55
push str.FastProxy.cpp
push str.FALSE
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x443940
call esi
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x443940
jmp 0x4012b1
lea ecx, [ebp - 4]
push ecx
push 0
push esi
push 0x402200
push 0
push 0
mov dword [esi], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x401274
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
test eax, eax
je 0x40126b
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push 0x5a
push str.FastProxy.cpp
push str.FALSE
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x443540
call esi
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x443540
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call ebx
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
test eax, eax
je 0x4012f6
push 0x63
push str.FastProxy.cpp
push str.FALSE
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x443140
call esi
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x443140
push 0
call ebx
mov esi, edi
call fcn.004044d0
push edi
call fcn.0040cf1f
mov eax, dword [ebp - 8]
add esp, 4
test eax, eax
je 0x401316
push eax
call fcn.0040cf1f
add esp, 4
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401580
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x41c05c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x38
call fcn.0040ceba
mov esi, eax
xor edi, edi
add esp, 4
cmp esi, edi
je 0x4015c1
call fcn.004041c0
mov dword [esi], vtable.CXSocketVTcp.0
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x18], edi
mov dword [esi + 0x30], edi
mov ebx, esi
jmp 0x4015c3
xor ebx, ebx
push 4
call fcn.0040ceba
add esp, 4
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [eax + 0x34]
lea edx, [ebx + 0x34]
push edx
push ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0x10
call fcn.00406fae
cmp eax, edi
je 0x40162d
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push 0xa4
push str.FastProxy.cpp
push str.FALSE
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x446d40
mov dword [ebp - 0x1c], eax
call edi
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x446d40
jmp 0x4016a0
lea edx, [ebp - 0x1c]
push edx
push edi
push esi
push 0x402200
push edi
push edi
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
je 0x401660
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040cd7c
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x40164d
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push 0xa9
push str.FastProxy.cpp
push str.FALSE
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x446940
call edi
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x446940
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call esi
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
mov ecx, ebx
call edx
test eax, eax
je 0x4016e8
push 0xb2
push str.FastProxy.cpp
push str.FALSE
push str.code:__s_r_nfile:__s_r_nline:__d_r_n
push 0x446540
call edi
add esp, 0x14
push 0x200000
push str.DBG_ASSERT
push 0x446540
push 0
call esi
mov esi, ebx
call fcn.00406290
push ebx
call fcn.0040cf1f
mov eax, dword [ebp - 0x20]
add esp, 4
test eax, eax
je 0x401708
push eax
call fcn.0040cf1f
add esp, 4
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040cd7c
mov esp, ebp
pop ebp
ret