joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b1a0
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 0x46b34b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46b32c
mov dl, 1
mov eax, dword [0x417228]
call fcn.00403b9c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004049a0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46b31b
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.00458ec8
test al, al
je 0x46b30e
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, 0x46b35c
lea eax, [ebp - 0x254]
call fcn.0040a460
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46b30e
xor eax, eax
push ebp
push 0x46b307
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 0x46b394
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46b2f0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c10
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 0x46b2f0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b30e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46b211
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041bc38
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 0x46b352
lea eax, [ebp - 0x260]
call fcn.004049a0
ret

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

Disassembly:
push ecx
mov eax, dword [0x4cdbec]
cmp byte [eax + 0xa5], 0
jne 0x46bcf1
cmp dword [0x4cdc04], 0
jne 0x46bcb2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46bc3c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4cdc04], eax
cmp dword [0x4cdc00], 0
jne 0x46bccd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4cdc00], eax
cmp dword [0x4cdc08], 0
jne 0x46bcf1
push esp
push 0
push 0
push 0x46bbe0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4cdc08], eax
pop edx
ret
Function at 0x46bde8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46bdff
add esp, 0xfffffff0
call fcn.00403ef0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420208
mov eax, dword [0x4cca88]
cmp word [eax + 2], 0
jne 0x46be27
mov eax, dword [0x4cca88]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046d568
mov eax, dword [0x4ccc00]
cmp word [eax + 2], 0
jne 0x46be41
mov eax, dword [0x4ccc00]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046d760
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416bc4]
call fcn.00403b9c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416bc4]
call fcn.00403b9c
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 [0x42286c]
call fcn.0042aa40
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46bfc8
mov eax, dword [0x4cc8ec]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042ae10
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46dd00
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4cc8ec]
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.0040df9c
test eax, eax
je 0x46bf36
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409e40
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dfc4
test eax, eax
je 0x46bf4a
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.00404c10
mov eax, dword [0x4cc65c]
cmp byte [eax], 0
jne 0x46bf7e
mov eax, ebx
call fcn.0046c0f0
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.0046dedc
mov eax, ebx
call fcn.0046e8a0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46bfbe
call fcn.00403f48
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46c370
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4cdbec]
cmp dword [eax + 0x30], 0
je 0x46c41a
cmp dword [ebx + 0x94], 0
jne 0x46c414
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46c300
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46c414
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 0x46c3da
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46c414
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.00419298
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46c3e9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46cf7c
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 0x46cfb1
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.00404a90
jmp 0x46cfbe
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004049f4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46e0b8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46e0f9
mov eax, esi
call fcn.0045444c
test al, al
je 0x46e0f9
mov eax, dword [ebx + 0x84]
call fcn.00454148
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46e0f9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00454148
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46ec14
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x14c], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e50
mov eax, dword [ebp - 8]
call fcn.00404e50
xor eax, eax
push ebp
push 0x46ede4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 4]
call fcn.00404c60
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 4]
call fcn.00404ec0
mov eax, dword [ebp - 0x14c]
mov edx, 0x46edfc
call fcn.00404dac
je 0x46eca2
lea eax, [ebp - 4]
mov edx, 0x46edfc
call fcn.00404c68
mov eax, dword [ebp - 4]
call fcn.00404e60
push eax
mov eax, dword [0x4cdc18]
push eax
call sub.user32.dll_SetWindowTextA
mov eax, dword [0x4cdc18]
push eax
call sub.user32.dll_UpdateWindow
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x150]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404cac
mov eax, dword [ebp - 0x150]
call fcn.00404e60
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
test ebx, ebx
jle 0x46ed0f
mov eax, 0x4cdc28
mov edx, dword [ebp - 4]
call fcn.004049f4
mov byte [0x4cdc30], 1
push ebx
call sub.kernel32.dll_FindClose_1
jmp 0x46edb9
cmp esi, 4
jg 0x46edb9
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x154]
mov ecx, 0x46ee08
mov edx, dword [ebp - 4]
call fcn.00404cac
mov eax, dword [ebp - 0x154]
call fcn.00404e60
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
test ebx, ebx
jle 0x46edb9
test dword [ebp - 0x148], 0x10
jbe 0x46eda2
cmp byte [ebp - 0x11c], 0x2e
je 0x46eda2
lea eax, [ebp - 0x15c]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00404c10
mov ecx, dword [ebp - 0x15c]
lea eax, [ebp - 0x158]
mov edx, dword [ebp - 4]
call fcn.00404cac
mov eax, dword [ebp - 0x158]
lea ecx, [esi + 1]
mov edx, dword [ebp - 8]
call fcn.0046ec14
cmp byte [0x4cdc30], 0
jne 0x46edb3
lea eax, [ebp - 0x148]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x46ed49
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46edeb
lea eax, [ebp - 0x15c]
mov edx, 5
call fcn.004049c4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004049c4
ret
Function at 0x46f344
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
add esp, 0xffffffb4
mov ebx, esp
lea esi, [esp + 0x30]
push 0
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [0x4cdc0c], eax
mov eax, ebx
mov edx, 0x30
call fcn.00407954
mov dword [ebx], 0x30
mov dword [ebx + 4], 3
mov dword [ebx + 8], 0x46f034
xor eax, eax
mov dword [ebx + 0xc], eax
xor eax, eax
mov dword [ebx + 0x10], eax
mov eax, dword [0x4cdc0c]
mov dword [ebx + 0x14], eax
push 0x46f45c
mov eax, dword [0x4cdc0c]
push eax
call sub.user32.dll_LoadIconA
mov dword [ebx + 0x18], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], 5
xor eax, eax
mov dword [ebx + 0x24], eax
mov eax, 0x46f468
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x2c], eax
push ebx
call sub.user32.dll_RegisterClassExA
push 0x80000000
push 0
call sub.user32.dll_GetSystemMetrics
sub eax, 0x154
shr eax, 1
push eax
push 1
call sub.user32.dll_GetSystemMetrics
sub eax, 0xa0
shr eax, 1
push eax
push 0x154
push 0xa0
push 0
push 0
mov eax, dword [0x4cdc0c]
push eax
push 0
mov ecx, 0x46f474
mov edx, 0x46f468
xor eax, eax
call fcn.004079f0
mov dword [0x4cdc10], eax
push 1
mov eax, dword [0x4cdc10]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4cdc10]
push eax
call sub.user32.dll_UpdateWindow
jmp 0x46f444
push esi
call sub.user32.dll_TranslateMessage
push esi
call sub.user32.dll_DispatchMessageA
push 0
push 0
push 0
push esi
call sub.user32.dll_GetMessageA
test eax, eax
jne 0x46f438
add esp, 0x4c
pop esi
pop ebx
ret
Function at 0x483850
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x416174]
call fcn.00405380
xor eax, eax
push ebp
push 0x483994
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c7974], 0
jne 0x4838a3
mov ecx, dword [0x4cc698]
mov dl, 1
mov eax, dword [0x407f88]
call fcn.0040d05c
call fcn.00404358
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403338
mov eax, ebx
call fcn.00405230
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4839a4
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0040644c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405240
test eax, eax
jle 0x48393b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x483934
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404c28
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404c10
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408e34
test eax, eax
jne 0x483934
mov ebx, 0x15
jmp 0x483940
mov ebx, 0x10
jmp 0x483940
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4c7974]
call fcn.004837a8
mov eax, dword [ebp - 8]
call fcn.004837a8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406464
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48399b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004049c4
lea eax, [ebp - 0x10]
mov edx, dword [0x416174]
call fcn.00405450
ret

Function at 0x48b87c
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 0x48b905
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4cdcf0
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x48b8ef
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040c768
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, 0x48b91c
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4ccccc]
mov dl, 1
mov eax, dword [0x48b080]
call fcn.0040d098
call fcn.00404358
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b90c
lea eax, [ebp - 0x1c]
call fcn.004049a0
ret
Function at 0x48bfac
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0048bed0
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403dc8
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x48c010
call fcn.0048b7c4
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x48c002
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.00403dc8
pop esi
pop ebx
ret

Function at 0x48c034
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404e60
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00403338
test ebx, ebx
je 0x48c07f
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 0x48c15c
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 0x48c18d
mov ecx, dword [0x4ccb3c]
mov dl, 1
mov eax, dword [0x48b080]
call fcn.0040d05c
call fcn.00404358
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 0x48c1ba
mov ecx, dword [0x4cca74]
mov dl, 1
mov eax, dword [0x48b080]
call fcn.0040d05c
call fcn.00404358
xor eax, eax
push ebp
push 0x48c236
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.00403dc8
cmp byte [ebp + 8], 0
je 0x48c212
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.0048c0c4
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.0048bfac
jmp 0x48c22c
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.0048bab0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48c253
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48c5bc
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48c6de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0048bd6c
xor eax, eax
push ebp
push 0x48c6c1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x48c60c
call fcn.00404404
jmp 0x48c6c8
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x48c6ab
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x48c6ab
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403dc8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x48c6ab
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c768
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x48c6f8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4ccccc]
mov dl, 1
mov eax, dword [0x48b080]
call fcn.0040d098
call fcn.00404358
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c6c8
mov eax, dword [ebp - 4]
call fcn.0048bd78
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c6e5
lea eax, [ebp - 0x28]
call fcn.004049a0
ret
Function at 0x48c744
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48c88e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0048bd6c
xor eax, eax
push ebp
push 0x48c871
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x48c7a9
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x48c7a9
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x48c85b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x48c7bc
call fcn.00404404
jmp 0x48c878
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x48c85b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x48c85b
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403dc8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x48c85b
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c768
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x48c8a8
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4ccccc]
mov dl, 1
mov eax, dword [0x48b080]
call fcn.0040d098
call fcn.00404358
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c878
mov eax, dword [ebp - 4]
call fcn.0048bd78
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c895
lea eax, [ebp - 0x28]
call fcn.004049a0
ret

Function at 0x498d04
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x498d3c]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x498d1a
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x498d29
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x498d38
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4995d0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x449660]
call fcn.00403d58
test al, al
je 0x499612
mov eax, dword [0x4ccbb0]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x499612
mov edx, dword [0x4ccbb0]
xor edx, edx
call fcn.004669bc
push 0
mov eax, dword [0x4ccbb0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x4b723c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4b7296
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004b722c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004911f0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00490df0
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b729d
lea eax, [ebp - 4]
call fcn.004049a0
ret

Function at 0x4ba698
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x4ba6a1
mov eax, dword [ebp - 4]
add esp, 0xfffffeb8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e50
xor eax, eax
push ebp
push 0x4ba7af
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [0x4cccd0]
mov byte [eax], 0
or ebx, 0xffffffff
xor ecx, ecx
push ebp
push 0x4ba78f
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x158]
call fcn.00403018
mov edx, 1
lea eax, [ebp - 0x158]
call fcn.0040347c
call fcn.00402958
call fcn.00402aec
test eax, eax
jne 0x4ba770
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x10149]
mov ecx, 0xfff1
lea eax, [ebp - 0x158]
call fcn.00403174
call fcn.00402958
mov dx, word [ebp - 0xc]
test dx, dx
jbe 0x4ba76a
lea eax, [ebp - 0x10149]
xor ecx, ecx
mov cl, byte [eax]
mov esi, ebx
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x4cb6e4]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc eax
dec dx
jne 0x4ba748
cmp dword [ebp - 0xc], 0
jne 0x4ba71a
lea eax, [ebp - 0x158]
call fcn.00403194
call fcn.00402958
not ebx
mov dword [ebp - 8], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ba799
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba7b6
lea eax, [ebp - 4]
call fcn.004049a0
ret