joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44cd70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.004070f8
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00447924
test ebx, ebx
jne 0x44cdc3
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0044ccac
mov ebx, eax
test ebx, ebx
je 0x44ceae
cmp esi, ebx
je 0x44cdec
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x44ce01
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x44ce39
add eax, 0xffffff5f
sub eax, 2
jb 0x44ce51
dec eax
sub eax, 2
jb 0x44ce65
dec eax
sub eax, 2
jb 0x44ce5b
jmp 0x44ce6f
add eax, 0xfffffdff
sub eax, 2
jb 0x44ce51
dec eax
sub eax, 2
jb 0x44ce65
dec eax
sub eax, 2
jb 0x44ce5b
jmp 0x44ce6f
mov byte [esp + 0x120], 0
jmp 0x44ce77
mov byte [esp + 0x120], 2
jmp 0x44ce77
mov byte [esp + 0x120], 1
jmp 0x44ce77
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0045bb6c
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.004490dc
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x44ceb0
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x455328
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x48276c]
cmp byte [eax + 0xc], 0
je 0x455495
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45548e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x487c60], 0
jne 0x45537c
push 0x45549c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4554a4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487c60], eax
cmp dword [0x481708], 0
jne 0x455477
push 0x4554b4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x481708], eax
cmp dword [0x481708], 0
je 0x455477
push 0x4554c0
mov eax, dword [0x481708]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487c64], eax
push 0x4554d0
mov eax, dword [0x481708]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487c68], eax
push 0x4554e4
mov eax, dword [0x481708]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487c6c], eax
push 0x4554fc
mov eax, dword [0x481708]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487c70], eax
push 0x455514
mov eax, dword [0x481708]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487c74], eax
push 0x455528
mov eax, dword [0x481708]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487c78], eax
push 0x455540
mov eax, dword [0x481708]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487c7c], eax
push 0x455558
mov eax, dword [0x481708]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487c80], eax
push 0x455574
mov eax, dword [0x481708]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487c84], eax
push 0x455580
mov eax, dword [0x481708]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x487c88], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455495
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x45b698
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov edi, eax
push 0xffffffffffffffec
push edi
call sub.user32.dll_GetWindowLongA
mov esi, eax
test bl, bl
je 0x45b6b9
test esi, 0x40000
je 0x45b6d3
test bl, bl
jne 0x45b76d
mov eax, esi
and eax, 0x40000
cmp eax, 0x40000
jne 0x45b76d
push edi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push edi
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x45b706
mov eax, dword [0x487ca4]
cmp edi, dword [eax + 0x30]
jne 0x45b702
mov eax, dword [0x487ca4]
cmp byte [eax + 0x5b], 0
jne 0x45b706
xor eax, eax
jmp 0x45b708
mov al, 1
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x45b71f
push 0
push edi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x45b734
or esi, 0x40000
push esi
push 0xffffffffffffffec
push edi
call sub.user32.dll_SetWindowLongA
jmp 0x45b743
and esi, 0xfffbffff
push esi
push 0xffffffffffffffec
push edi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x45b754
cmp byte [esp + 2], 0
je 0x45b76d
cmp byte [esp + 2], 0
je 0x45b765
push 6
push edi
call sub.user32.dll_ShowWindow
jmp 0x45b76d
push 5
push edi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x45ba10
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 0x45ba36
mov eax, esp
push eax
push 0x45b9d8
call sub.user32.dll_EnumWindows
jmp 0x45ba49
mov eax, esp
push eax
push 0x45b9b8
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 0x45bad4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x45bb28]
test si, 4
je 0x45bae9
or bl, 1
test si, 8
je 0x45baf3
or bl, 4
test si, 1
je 0x45bafd
or bl, 8
test si, 2
je 0x45bb07
or bl, 0x10
test si, 0x10
je 0x45bb11
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45bb20
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45bb2c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x45bb68]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45bb46
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45bb55
or bl, 4
test esi, 0x20000000
je 0x45bb60
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x461b98
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
mov eax, dword [esi + 8]
dec eax
je 0x461bae
sub eax, 2
je 0x461bf4
jmp 0x461c34
mov eax, ebx
call fcn.0044fed0
call fcn.0045b61c
test eax, eax
je 0x461bc7
mov byte [ebx + 0x274], 2
jmp 0x461be8
mov eax, ebx
call fcn.0044fed0
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x461be1
mov byte [ebx + 0x274], 3
jmp 0x461be8
mov byte [ebx + 0x274], 1
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
pop esi
pop ebx
ret
cmp byte [ebx + 0x274], 0
je 0x461c3d
movzx eax, byte [ebx + 0x274]
mov eax, dword [eax*4 + 0x48181c]
push eax
mov eax, ebx
call fcn.0044fed0
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x274], 0
mov eax, dword [0x487ca4]
cmp ebx, dword [eax + 0x44]
jne 0x461c3d
mov byte [0x487cb4], 0
pop esi
pop ebx
ret
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
pop esi
pop ebx
ret

Function at 0x463bf0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x463c02
add esp, 0xfffffff0
call fcn.00404474
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f844
mov eax, dword [0x482354]
mov dword [eax + 4], ebx
mov dword [eax], 0x463f94
mov eax, dword [0x482360]
mov dword [eax + 4], ebx
mov dword [eax], 0x463fa0
mov eax, ebx
call fcn.00463fac
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416aa4]
call fcn.00404120
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416aa4]
call fcn.00404120
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416aa4]
call fcn.00404120
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416aa4]
call fcn.00404120
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416aa4]
call fcn.00404120
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, 0x45f438
push eax
push 0
push 0
mov eax, dword [0x48250c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x424698]
call fcn.00425f8c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x424698]
call fcn.00425f8c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x424698]
call fcn.00425f8c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00464424
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4642f4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4642f4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4642f4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x463d3f
call fcn.004044cc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4640d8
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 0x464283
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x464264
mov dl, 1
mov eax, dword [0x416ec8]
call fcn.00404120
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405050
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x464253
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.00455684
test al, al
je 0x464246
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, 0x464294
lea eax, [ebp - 0x254]
call fcn.0040a770
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x464246
xor eax, eax
push ebp
push 0x46423f
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 0x4642cc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x464228
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004052c0
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 0x464228
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004052c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464246
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x464149
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041af68
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 0x46428a
lea eax, [ebp - 0x260]
call fcn.00405050
ret

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

Disassembly:
push ecx
mov eax, dword [0x487ca4]
cmp byte [eax + 0xad], 0
jne 0x464c6d
cmp dword [0x487cc0], 0
jne 0x464c2e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x464bb8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x487cc0], eax
cmp dword [0x487cbc], 0
jne 0x464c49
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x487cbc], eax
cmp dword [0x487cc4], 0
jne 0x464c6d
push esp
push 0
push 0
push 0x464b5c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x487cc4], eax
pop edx
ret
Function at 0x464e70
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x464e87
add esp, 0xfffffff0
call fcn.00404474
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f844
mov eax, dword [0x4824f4]
cmp word [eax + 2], 0
jne 0x464eaf
mov eax, dword [0x4824f4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00466bd0
mov eax, dword [0x4825b8]
cmp word [eax + 2], 0
jne 0x464ec9
mov eax, dword [0x4825b8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00466ddc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416aa4]
call fcn.00404120
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416aa4]
call fcn.00404120
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x416aa4]
call fcn.00404120
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 [0x425248]
call fcn.0042d1f0
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x465080
mov eax, dword [0x4823d8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042d5c4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4674a0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4823d8]
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.0040e174
test eax, eax
je 0x464fd0
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a114
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e1a8
test eax, eax
je 0x464fe4
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.004052c0
mov byte [ebx + 0xd4], 0
push ebx
push 0x466644
call fcn.004209c0
mov dword [ebx + 0xc8], eax
mov eax, dword [0x482264]
cmp byte [eax], 0
jne 0x465035
mov eax, ebx
call fcn.004651c4
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.00467684
mov eax, ebx
call fcn.004681e8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x465075
call fcn.004044cc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x465444
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4654e3
cmp dword [ebx + 0x94], 0
jne 0x4654dd
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4653cc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4654dd
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 0x4654a3
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4654dd
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.00418fd8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4654b2
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x487ca4]
cmp dword [eax + 0x30], 0
je 0x465859
test bl, bl
jne 0x4657aa
cmp dword [esi + 0x9c], 0
jne 0x46579f
mov eax, esi
call fcn.00468064
push eax
push 0x465628
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x465770
mov eax, dword [0x487ca4]
call fcn.00468744
test al, al
je 0x465770
mov eax, dword [0x487cc8]
call fcn.00406194
mov edi, eax
cmp edi, 0
jl 0x465770
push 0
mov eax, dword [0x487cc8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46575a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46579f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00418fd8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46577f
inc dword [esi + 0x9c]
jmp 0x465859
cmp dword [esi + 0x9c], 0
jle 0x465859
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x465859
cmp dword [esi + 0x44], 0
je 0x465805
mov eax, dword [0x487ca4]
call fcn.00468744
test al, al
je 0x465805
mov eax, dword [0x487cc8]
call fcn.00406194
mov edi, eax
cmp edi, 0
jl 0x465805
push 5
mov eax, dword [0x487cc8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4657ef
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x465834
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00418fd8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x465814
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x487cc8
mov ecx, 1
mov edx, dword [0x465608]
call fcn.00406348
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x466340
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 0x4663aa
mov eax, ebx
call fcn.00468744
test al, al
jne 0x4663aa
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.00405140
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x466397
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4663b7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004050a4
jmp 0x4663b7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004050a4
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x467868
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4678d6
mov eax, esi
call fcn.00450270
test al, al
je 0x4678d6
mov eax, dword [ebx + 0x84]
call fcn.0044fed0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4678d6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4678ca
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044fed0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00447d0c
jmp 0x4678d6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004676a4
pop esi
pop ebx
ret

Function at 0x468b7c
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd44
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x29c], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004054d0
xor eax, eax
push ebp
push 0x468cc6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x198]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor ecx, ecx
push ebp
push 0x468c9e
push dword fs:[ecx]
mov dword fs:[ecx], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x298]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x298]
mov edx, dword [ebp - 4]
call fcn.0040a180
lea eax, [ebp - 0x298]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x468c87
mov edx, dword [eax + 0xc]
test edx, edx
je 0x468c81
mov ebx, dword [edx]
test ebx, ebx
je 0x468c7b
lea eax, [ebp - 0x29c]
push eax
movzx eax, byte [ebx]
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 0x2b8], 0
movzx eax, byte [ebx + 1]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 0x2b0], 0
movzx eax, byte [ebx + 2]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 0x2a8], 0
movzx eax, byte [ebx + 3]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 0x2a0], 0
lea edx, [ebp - 0x2bc]
mov ecx, 3
mov eax, 0x468ce0
call fcn.0040a7f0
mov edx, dword [ebp - 0x29c]
mov eax, esi
call fcn.004050a4
mov byte [ebp - 5], 1
jmp 0x468c8b
mov byte [ebp - 5], 0
jmp 0x468c8b
mov byte [ebp - 5], 0
jmp 0x468c8b
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468ca5
call sub.wsock32.dll_WSACleanup
ret

Function at 0x469018
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
push esp
push 2
call sub.wsock32.dll_WSAStartup
add esp, 0x190
ret
Function at 0x469038
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x408], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004054d0
xor eax, eax
push ebp
push 0x4690e3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x404]
xor ecx, ecx
mov edx, 0x400
call fcn.00403970
lea eax, [ebp - 0x408]
mov ecx, 0x4690fc
mov edx, dword [ebp - 4]
call fcn.00405368
mov edx, dword [ebp - 0x408]
lea eax, [ebp - 0x404]
call fcn.0040a180
lea eax, [ebp - 0x404]
call fcn.0040a0c0
mov esi, eax
push 0
push esi
lea eax, [ebp - 0x404]
push eax
push edi
call sub.wsock32.dll_send
cmp esi, eax
jne 0x4690c2
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4690ea
lea eax, [ebp - 0x408]
call fcn.00405050
lea eax, [ebp - 4]
call fcn.00405050
ret

Function at 0x469100
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push esi
add esp, 0xfffffc00
mov esi, edx
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x400
call fcn.00403970
push 0
push 0x400
lea eax, [esp + 8]
push eax
push ebx
call sub.wsock32.dll_recv
mov edx, esi
mov eax, esp
call fcn.0040a300
add esp, 0x400
pop esi
pop ebx
ret

Function at 0x469140
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffaf0
mov dword [esp], edx
mov esi, eax
lea eax, [esp + 0xc]
call fcn.00468b04
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00468af4
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], 0x7a120
xor ebx, ebx
lea eax, [esp + 4]
push eax
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 0
call sub.wsock32.dll_select
mov edi, eax
jmp 0x469211
lea eax, [esp + 0x110]
xor ecx, ecx
mov edx, 0x400
call fcn.00403970
push 0
push 0x400
lea eax, [esp + 0x118]
push eax
push esi
call sub.wsock32.dll_recv
mov edi, eax
inc edi
jne 0x4691c6
mov eax, dword [esp]
call fcn.00405050
jmp 0x46922d
test bl, bl
jne 0x4691e0
mov eax, dword [esp]
lea edx, [esp + 0x110]
mov ecx, 0x400
call fcn.004052c0
mov bl, 1
lea eax, [esp + 0xc]
call fcn.00468b04
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00468af4
lea eax, [esp + 4]
push eax
push 0
push 0
lea eax, [esp + 0x18]
push eax
push 0
call sub.wsock32.dll_select
mov edi, eax
test edi, edi
jne 0x469211
xor ebp, ebp
test edi, edi
jle 0x46922d
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00468adc
test al, al
je 0x46922d
cmp ebp, 1
je 0x46918f
add esp, 0x510
pop ebp
pop edi
pop esi
pop ebx
ret