joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446e9c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4928e0]
cmp byte [eax + 0xc], 0
je 0x447009
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x447002
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x493ba4], 0
jne 0x446ef0
push 0x447010
call sub.KERNEL32.DLL_GetModuleHandleA_1
mov ebx, eax
push 0x447018
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x493ba4], eax
cmp dword [0x490d40], 0
jne 0x446feb
push 0x447028
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x490d40], eax
cmp dword [0x490d40], 0
je 0x446feb
push 0x447034
mov eax, dword [0x490d40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x493ba8], eax
push 0x447044
mov eax, dword [0x490d40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x493bac], eax
push 0x447058
mov eax, dword [0x490d40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x493bb0], eax
push 0x447070
mov eax, dword [0x490d40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x493bb4], eax
push 0x447088
mov eax, dword [0x490d40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x493bb8], eax
push 0x44709c
mov eax, dword [0x490d40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x493bbc], eax
push 0x4470b4
mov eax, dword [0x490d40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x493bc0], eax
push 0x4470cc
mov eax, dword [0x490d40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x493bc4], eax
push 0x4470e8
mov eax, dword [0x490d40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x493bc8], eax
push 0x4470f4
mov eax, dword [0x490d40]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x493bcc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447009
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44af80
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004045d8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44afcf
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404848
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45270c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45275c]
test si, 4
je 0x452720
or bl, 1
test si, 8
je 0x45272a
or bl, 4
test si, 1
je 0x452734
or bl, 8
test si, 2
je 0x45273e
or bl, 0x10
test si, 0x10
je 0x452748
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452757
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x452760
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x452798]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452779
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452788
or bl, 4
test esi, 0x20000000
je 0x452793
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x458e40
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x458e52
add esp, 0xfffffff0
call fcn.00403b28
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041edf8
mov eax, dword [0x4922f8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4591e4
mov eax, dword [0x492308]
mov dword [eax + 4], ebx
mov dword [eax], 0x4591f0
mov eax, ebx
call fcn.004591fc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415b90]
call fcn.004037d4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415b90]
call fcn.004037d4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415b90]
call fcn.004037d4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415b90]
call fcn.004037d4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415b90]
call fcn.004037d4
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, 0x455618
push eax
push 0
push 0
mov eax, dword [0x492574]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42088c]
call fcn.00422000
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42088c]
call fcn.00422000
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42088c]
call fcn.00422000
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045961c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4594f8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4594f8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4594f8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458f8f
call fcn.00403b80
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4592dc
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 0x459487
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x459468
mov dl, 1
mov eax, dword [0x4161f4]
call fcn.004037d4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004045d8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x459457
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.004471fc
test al, al
je 0x45944a
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, 0x459498
lea eax, [ebp - 0x254]
call fcn.00409a5c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x45944a
xor eax, eax
push ebp
push 0x459443
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 0x4594d0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x45942c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404848
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 0x45942c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404848
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45944a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45934d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041a91c
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 0x45948e
lea eax, [ebp - 0x260]
call fcn.004045d8
ret

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

Disassembly:
push ecx
mov eax, dword [0x493bf0]
cmp byte [eax + 0xa5], 0
jne 0x459e2d
cmp dword [0x493c08], 0
jne 0x459dee
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x459d78
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x493c08], eax
cmp dword [0x493c04], 0
jne 0x459e09
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x493c04], eax
cmp dword [0x493c0c], 0
jne 0x459e2d
push esp
push 0
push 0
push 0x459d1c
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x493c0c], eax
pop edx
ret
Function at 0x459f24
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x459f3b
add esp, 0xfffffff0
call fcn.00403b28
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041edf8
mov eax, dword [0x492548]
cmp word [eax + 2], 0
jne 0x459f63
mov eax, dword [0x492548]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b614
mov eax, dword [0x49269c]
cmp word [eax + 2], 0
jne 0x459f7d
mov eax, dword [0x49269c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b80c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415b90]
call fcn.004037d4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415b90]
call fcn.004037d4
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x42136c]
call fcn.00428a80
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45a104
mov eax, dword [0x4923bc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428e50
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45bdbc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4923bc]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
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.0040d41c
test eax, eax
je 0x45a072
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040943c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d444
test eax, eax
je 0x45a086
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404848
mov eax, dword [0x49216c]
cmp byte [eax], 0
jne 0x45a0ba
mov eax, ebx
call fcn.0045a22c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045bf98
mov eax, ebx
call fcn.0045c95c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a0fa
call fcn.00403b80
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45a4ac
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x493bf0]
cmp dword [eax + 0x30], 0
je 0x45a556
cmp dword [ebx + 0x94], 0
jne 0x45a550
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a43c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a550
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 0x45a516
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a550
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.00418248
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a525
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45b0b8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45b0ed
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.004046c8
jmp 0x45b0fa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040462c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45c174
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c1b5
mov eax, esi
call fcn.00442828
test al, al
je 0x45c1b5
mov eax, dword [ebx + 0x84]
call fcn.00442524
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c1b5
push 0
mov eax, dword [ebx + 0x84]
call fcn.00442524
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46a694
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x46a69c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x46a88e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x46a8a4
mov eax, esi
call fcn.00468520
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.0040462c
lea ecx, [ebp - 0x10]
mov edx, 0x46a8b8
mov eax, esi
call fcn.00468520
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.0040462c
lea ecx, [ebp - 0x14]
mov edx, 0x46a8d0
mov eax, esi
call fcn.00468520
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.0040462c
lea ecx, [ebp - 0x18]
mov edx, 0x46a8ec
mov eax, esi
call fcn.00468520
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.0040462c
lea ecx, [ebp - 0x1c]
mov edx, 0x46a908
mov eax, esi
call fcn.00468520
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.0040462c
lea ecx, [ebp - 0x24]
mov edx, 0x46a920
mov eax, esi
call fcn.00468520
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408968
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408eb0
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x46a938
mov eax, esi
call fcn.00468520
mov eax, dword [ebp - 0x28]
call fcn.00461ff8
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x46a948
mov eax, esi
call fcn.00468520
mov eax, dword [ebp - 0x2c]
call fcn.00461ff8
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x46a960
mov eax, esi
call fcn.00468520
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408eb0
inc eax
je 0x46a831
lea ecx, [ebp - 0x34]
mov edx, 0x46a960
mov eax, esi
call fcn.00468520
mov eax, dword [ebp - 0x34]
call fcn.00408e74
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a3e8
fstp qword [ebp - 0x3c]
wait
call fcn.0040a74c
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x46a84c
lea ecx, [ebp - 0x40]
mov edx, 0x46a960
mov eax, esi
call fcn.00468520
mov eax, dword [ebp - 0x40]
call fcn.00461ff8
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x46a970
mov eax, esi
call fcn.00468520
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.0040462c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a895
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004045fc
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004045fc
ret
Function at 0x475350
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4753d9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x493f30
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4753c3
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040bd64
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x4753f0
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x492760]
mov dl, 1
mov eax, dword [0x474b54]
call fcn.0040c688
call fcn.00403f90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4753e0
lea eax, [ebp - 0x1c]
call fcn.004045d8
ret

Function at 0x475a80
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.004759a4
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403a00
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x475ae4
call fcn.00475298
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x475ad6
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403a00
pop esi
pop ebx
ret

Function at 0x475b08
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404a98
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.0040303c
test ebx, ebx
je 0x475b53
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret
Function at 0x475c30
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x475c61
mov ecx, dword [0x4925e4]
mov dl, 1
mov eax, dword [0x474b54]
call fcn.0040c64c
call fcn.00403f90
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x475c8e
mov ecx, dword [0x492534]
mov dl, 1
mov eax, dword [0x474b54]
call fcn.0040c64c
call fcn.00403f90
xor eax, eax
push ebp
push 0x475d0a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403a00
cmp byte [ebp + 8], 0
je 0x475ce6
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00475b98
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.00475a80
jmp 0x475d00
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00475584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x475d27
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x475eec
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00475840
xor eax, eax
push ebp
push 0x47605d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x476047
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x475f37
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x475f41
call fcn.0040403c
jmp 0x476064
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041a9cc
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x47603c
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x475fef
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x475fdc
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403a00
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.00475ea4
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x476070]
cmp dl, byte [eax + 0x28]
je 0x476043
call fcn.0040c570
jmp 0x476043
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041a9ec
jmp 0x476043
cmp ecx, ebx
jge 0x47600b
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041a9ec
jmp 0x475f41
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041a9cc
cmp edx, dword [esp + 4]
jne 0x47602b
cmp eax, dword [esp]
pop edx
pop eax
jne 0x475f41
push ebp
call fcn.00475ea4
pop ecx
jmp 0x476043
push ebp
call fcn.00475ea4
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476064
mov eax, dword [ebp - 4]
call fcn.0047584c
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4767b8
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.0040303c
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret