joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448c00
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.00406e3c
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.004437b4
test ebx, ebx
jne 0x448c53
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00448b3c
mov ebx, eax
test ebx, ebx
je 0x448d3e
cmp esi, ebx
je 0x448c7c
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 0x448c91
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 0x448cc9
add eax, 0xffffff5f
sub eax, 2
jb 0x448ce1
dec eax
sub eax, 2
jb 0x448cf5
dec eax
sub eax, 2
jb 0x448ceb
jmp 0x448cff
add eax, 0xfffffdff
sub eax, 2
jb 0x448ce1
dec eax
sub eax, 2
jb 0x448cf5
dec eax
sub eax, 2
jb 0x448ceb
jmp 0x448cff
mov byte [esp + 0x120], 0
jmp 0x448d07
mov byte [esp + 0x120], 2
jmp 0x448d07
mov byte [esp + 0x120], 1
jmp 0x448d07
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00457abc
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00444f6c
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x448d40
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x451184
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x488820]
cmp byte [eax + 0xc], 0
je 0x4512f1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4512ea
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48dc8c], 0
jne 0x4511d8
push 0x4512f8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x451300
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dc8c], eax
cmp dword [0x487700], 0
jne 0x4512d3
push 0x451310
call sub.kernel32.dll_LoadLibraryA
mov dword [0x487700], eax
cmp dword [0x487700], 0
je 0x4512d3
push 0x45131c
mov eax, dword [0x487700]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dc90], eax
push 0x45132c
mov eax, dword [0x487700]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dc94], eax
push 0x451340
mov eax, dword [0x487700]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dc98], eax
push 0x451358
mov eax, dword [0x487700]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dc9c], eax
push 0x451370
mov eax, dword [0x487700]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dca0], eax
push 0x451384
mov eax, dword [0x487700]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dca4], eax
push 0x45139c
mov eax, dword [0x487700]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dca8], eax
push 0x4513b4
mov eax, dword [0x487700]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dcac], eax
push 0x4513d0
mov eax, dword [0x487700]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dcb0], eax
push 0x4513dc
mov eax, dword [0x487700]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x48dcb4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4512f1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x4575cc
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 0x4575ed
test esi, 0x40000
je 0x457607
test bl, bl
jne 0x4576a1
mov eax, esi
and eax, 0x40000
cmp eax, 0x40000
jne 0x4576a1
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 0x45763a
mov eax, dword [0x48dcd0]
cmp edi, dword [eax + 0x30]
jne 0x457636
mov eax, dword [0x48dcd0]
cmp byte [eax + 0x5b], 0
jne 0x45763a
xor eax, eax
jmp 0x45763c
mov al, 1
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x457653
push 0
push edi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x457668
or esi, 0x40000
push esi
push 0xffffffffffffffec
push edi
call sub.user32.dll_SetWindowLongA
jmp 0x457677
and esi, 0xfffbffff
push esi
push 0xffffffffffffffec
push edi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x457688
cmp byte [esp + 2], 0
je 0x4576a1
cmp byte [esp + 2], 0
je 0x457699
push 6
push edi
call sub.user32.dll_ShowWindow
jmp 0x4576a1
push 5
push edi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x457944
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 0x45796a
mov eax, esp
push eax
push 0x45790c
call sub.user32.dll_EnumWindows
jmp 0x45797d
mov eax, esp
push eax
push 0x4578ec
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 0x457a24
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x457a78]
test si, 4
je 0x457a39
or bl, 1
test si, 8
je 0x457a43
or bl, 4
test si, 1
je 0x457a4d
or bl, 8
test si, 2
je 0x457a57
or bl, 0x10
test si, 0x10
je 0x457a61
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x457a70
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x457a7c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x457ab8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x457a96
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x457aa5
or bl, 4
test esi, 0x20000000
je 0x457ab0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45fb24
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45fb36
add esp, 0xfffffff0
call fcn.0040439c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c02c
mov eax, dword [0x488458]
mov dword [eax + 4], ebx
mov dword [eax], 0x45fec8
mov eax, dword [0x488464]
mov dword [eax + 4], ebx
mov dword [eax], 0x45fed4
mov eax, ebx
call fcn.0045fee0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x413078]
call fcn.00404048
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x413078]
call fcn.00404048
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x413078]
call fcn.00404048
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x413078]
call fcn.00404048
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x413078]
call fcn.00404048
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, 0x45b388
push eax
push 0
push 0
mov eax, dword [0x4885e4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42138c]
call fcn.00422be0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42138c]
call fcn.00422be0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42138c]
call fcn.00422be0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00460358
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460228
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460228
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x460228
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45fc73
call fcn.004043f4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46000c
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 0x4601b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x460198
mov dl, 1
mov eax, dword [0x413570]
call fcn.00404048
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404f58
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x460187
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.004514e0
test al, al
je 0x46017a
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, 0x4601c8
lea eax, [ebp - 0x254]
call fcn.00409fb0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46017a
xor eax, eax
push ebp
push 0x460173
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 0x460200
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46015c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004051c8
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 0x46015c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004051c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46017a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46007d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041778c
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 0x4601be
lea eax, [ebp - 0x260]
call fcn.00404f58
ret

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

Disassembly:
push ecx
mov eax, dword [0x48dcd0]
cmp byte [eax + 0xad], 0
jne 0x460ba1
cmp dword [0x48dcec], 0
jne 0x460b62
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x460aec
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48dcec], eax
cmp dword [0x48dce8], 0
jne 0x460b7d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48dce8], eax
cmp dword [0x48dcf0], 0
jne 0x460ba1
push esp
push 0
push 0
push 0x460a90
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x48dcf0], eax
pop edx
ret
Function at 0x460da4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x460dbb
add esp, 0xfffffff0
call fcn.0040439c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c02c
mov eax, dword [0x4885c4]
cmp word [eax + 2], 0
jne 0x460de3
mov eax, dword [0x4885c4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00462aac
mov eax, dword [0x488698]
cmp word [eax + 2], 0
jne 0x460dfd
mov eax, dword [0x488698]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00462cb8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x413078]
call fcn.00404048
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x413078]
call fcn.00404048
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x413078]
call fcn.00404048
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 [0x421e9c]
call fcn.004298bc
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x460fb4
mov eax, dword [0x4884c8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429c90
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46338c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4884c8]
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.0040d9e4
test eax, eax
je 0x460f04
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409954
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040da18
test eax, eax
je 0x460f18
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.004051c8
mov byte [ebx + 0xd4], 0
push ebx
push 0x462520
call fcn.0041d1a8
mov dword [ebx + 0xc8], eax
mov eax, dword [0x48838c]
cmp byte [eax], 0
jne 0x460f69
mov eax, ebx
call fcn.004610f8
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.00463570
mov eax, ebx
call fcn.004640d4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x460fa9
call fcn.004043f4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461378
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x461417
cmp dword [ebx + 0x94], 0
jne 0x461411
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x461300
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x461411
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 0x4613d7
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x461411
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.00415570
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4613e6
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x48dcd0]
cmp dword [eax + 0x30], 0
je 0x46178d
test bl, bl
jne 0x4616de
cmp dword [esi + 0x9c], 0
jne 0x4616d3
mov eax, esi
call fcn.00463f50
push eax
push 0x46155c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4616a4
mov eax, dword [0x48dcd0]
call fcn.00464630
test al, al
je 0x4616a4
mov eax, dword [0x48dcf4]
call fcn.00405ed8
mov edi, eax
cmp edi, 0
jl 0x4616a4
push 0
mov eax, dword [0x48dcf4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46168e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4616d3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00415570
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4616b3
inc dword [esi + 0x9c]
jmp 0x46178d
cmp dword [esi + 0x9c], 0
jle 0x46178d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x46178d
cmp dword [esi + 0x44], 0
je 0x461739
mov eax, dword [0x48dcd0]
call fcn.00464630
test al, al
je 0x461739
mov eax, dword [0x48dcf4]
call fcn.00405ed8
mov edi, eax
cmp edi, 0
jl 0x461739
push 5
mov eax, dword [0x48dcf4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x461723
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x461768
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00415570
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x461748
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x48dcf4
mov ecx, 1
mov edx, dword [0x46153c]
call fcn.0040608c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x462274
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 0x4622de
mov eax, ebx
call fcn.00464630
test al, al
jne 0x4622de
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.00405048
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x4622cb
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4622eb
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404fac
jmp 0x4622eb
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404fac
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x463754
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4637c2
mov eax, esi
call fcn.0044c0c8
test al, al
je 0x4637c2
mov eax, dword [ebx + 0x84]
call fcn.0044bd28
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4637c2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4637b6
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044bd28
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00443b9c
jmp 0x4637c2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00463590
pop esi
pop ebx
ret
Function at 0x4673a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
test dl, dl
je 0x4673b1
add esp, 0xfffffff0
call fcn.0040439c
mov ebx, edx
mov esi, eax
cmp byte [ebp + 8], 0
je 0x4673c9
cmp word [ecx], 0x25ff
jne 0x4673c9
add ecx, 2
mov eax, dword [ecx]
mov ecx, dword [eax]
mov dword [esi + 0x14], ecx
mov eax, dword [ebp + 0xc]
sub eax, ecx
sub eax, 5
mov byte [esi + 8], 0xe9
mov edx, eax
and dl, 0xff
mov byte [esi + 9], dl
mov edx, eax
shr edx, 8
and dl, 0xff
mov byte [esi + 0xa], dl
mov edx, eax
shr edx, 0x10
and dl, 0xff
mov byte [esi + 0xb], dl
shr eax, 0x18
and al, 0xff
mov byte [esi + 0xc], al
mov eax, dword [esi + 0x14]
movzx eax, byte [eax]
mov byte [esi + 0xd], al
mov eax, dword [esi + 0x14]
movzx eax, byte [eax + 1]
mov byte [esi + 0xe], al
mov eax, dword [esi + 0x14]
movzx eax, byte [eax + 2]
mov byte [esi + 0xf], al
mov eax, dword [esi + 0x14]
movzx eax, byte [eax + 3]
mov byte [esi + 0x10], al
mov eax, dword [esi + 0x14]
movzx eax, byte [eax + 4]
mov byte [esi + 0x11], al
lea eax, [esi + 4]
push eax
push 0x40
push 5
mov eax, dword [esi + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x467449
call fcn.0040e1e8
mov eax, esi
call fcn.004674e0
mov eax, esi
test bl, bl
je 0x467465
call fcn.004043f4
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x468444
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov ebx, ecx
test ebx, ebx
js 0x46845c
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x468455
mov edx, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor esi, esi
cmp dword [ebp + 8], 0
jne 0x4684f7
test esi, esi
jle 0x46848e
mov ecx, 0x4685a0
mov dl, 1
mov eax, dword [0x407e54]
call fcn.0040cadc
call fcn.004048ec
jmp 0x4684ed
cmp word [ebx + 0xa4a], 0
jne 0x4684b0
mov ecx, 0x4685a0
mov dl, 1
mov eax, dword [0x407e54]
call fcn.0040cadc
call fcn.004048ec
jmp 0x4684ed
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
lea edx, [ebp - 9]
mov eax, dword [ebx + 0xa4c]
call dword [ebx + 0xa48]
cmp byte [ebp - 9], 0
jne 0x4684ec
mov ecx, 0x4685a0
mov dl, 1
mov eax, dword [0x407e54]
call fcn.0040cadc
call fcn.004048ec
jmp 0x4684ed
inc esi
cmp dword [ebp + 8], 0
je 0x468472
mov byte [ebx + 0x870], 0
mov eax, ebx
call fcn.004682d4
cmp dword [ebx + 0x848], 0
jne 0x468524
mov ecx, 0x4685b8
mov dl, 1
mov eax, dword [0x467b54]
call fcn.0040cadc
call fcn.004048ec
mov ecx, 0x4685d4
mov dl, 2
mov eax, ebx
call fcn.004687a8
mov word [ebx + 0x844], 2
movzx eax, word [ebx + 0x83c]
push eax
call sub.wsock32.dll_htons
mov word [ebx + 0x846], ax
mov eax, 0x10
push eax
lea eax, [ebx + 0x844]
push eax
push 0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0xa54]
push eax
call sub.wsock32.dll_sendto
cmp word [ebx + 0xa32], 0
je 0x46858a
mov edx, ebx
mov eax, dword [ebx + 0xa34]
call dword [ebx + 0xa30]
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4
Function at 0x468898
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x468968
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x800
lea eax, [ebx + 0x30]
push eax
mov eax, dword [ebx + 0xa54]
push eax
call sub.wsock32.dll_recvfrom
mov dword [ebx + 0x834], eax
cmp word [ebx + 0xa2a], 0
je 0x468952
lea eax, [ebp - 4]
push eax
movzx eax, byte [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
movzx eax, byte [ebp - 0x13]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x12]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
movzx eax, byte [ebp - 0x11]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x38]
mov ecx, 3
mov eax, 0x46897c
call fcn.0040a030
movzx eax, word [ebp - 0x16]
push eax
call sub.wsock32.dll_ntohs
mov edx, dword [ebp - 4]
push edx
movzx eax, ax
push eax
mov ecx, dword [ebx + 0x834]
mov edx, ebx
mov eax, dword [ebx + 0xa2c]
call dword [ebx + 0xa28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46896f
lea eax, [ebp - 4]
call fcn.00404f58
ret

Function at 0x46a250
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [0x488678]
mov eax, dword [eax]
call fcn.00462010
cmp byte [ebx + 0x420], 0
je 0x46a284
cmp byte [ebx + 0x428], 0
je 0x46a284
push 0
mov eax, dword [0x488678]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
mov si, 0xffe7
call fcn.00404274
pop esi
pop ebx
ret

Function at 0x46d574
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46d5a2
mov eax, ebx
call fcn.0046e028
cmp dword [ebx + 0x40], 0
je 0x46d59b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46d613
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46d605
cmp dword [ebx + 8], 0
je 0x46d5c4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46d5d6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46d605
cmp dword [ebx + 8], 0
je 0x46d5b7
cmp eax, 3
je 0x46d5e9
dec eax
jne 0x46d5b7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46d5b7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46d5b7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46d631
cmp dword [ebx + 0x14], 0xcc
je 0x46d631
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046d63c
pop ebx
ret