joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46efa4
Capabilities:
Create udp socket
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x46f0ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 1
xor esi, esi
mov edi, dword [ebp + 0xc]
push 0x11
push 2
push 2
call sub.wsock32.dll_socket
mov ebx, eax
cmp ebx, 0xffffffff
je 0x46f0c0
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403284
mov word [ebp - 0x28], 2
push 0x35
call sub.wsock32.dll_htons
mov word [ebp - 0x26], ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00404dfc
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push ebx
call sub.wsock32.dll_sendto
inc eax
jne 0x46f054
push ebx
call sub.wsock32.dll_closesocket
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46f0d4
cmp dword [ebp - 0x18], 0
jle 0x46f0b7
mov ecx, 0xbb8
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0046ef4c
test eax, eax
jle 0x46f0b7
lea eax, [ebp - 0x18]
push eax
push 0x4004667f
push ebx
call sub.wsock32.dll_ioctlsocket
inc eax
jne 0x46f085
cmp dword [ebp - 0x18], 0
jle 0x46f0b7
mov eax, dword [ebp - 0x18]
add eax, esi
cmp eax, dword [ebp + 8]
jle 0x46f094
add esi, dword [ebp - 0x18]
jmp 0x46f0b7
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
mov eax, dword [ebp - 0x18]
push eax
push edi
push ebx
call sub.wsock32.dll_recvfrom
mov dword [ebp - 0x10], eax
add esi, dword [ebp - 0x10]
add edi, esi
cmp dword [ebp - 0x18], 0
jg 0x46f05a
mov dword [ebp - 0x10], esi
push ebx
call sub.wsock32.dll_closesocket
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46f0d4
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x46f4e4
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe70
push ebx
push esi
test dl, dl
je 0x46f4fb
add esp, 0xfffffff0
call fcn.00403e70
mov ebx, edx
mov esi, eax
lea eax, [ebp - 0x190]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, esi
test bl, bl
je 0x46f525
call fcn.00403ec8
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4708f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4709bd
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48d2e8], 0
jne 0x4709a0
push 0x4709d0
call sub.user32.dll_IsIconic
mov dword [0x48d2e8], eax
cmp dword [0x48d2e8], 0
jne 0x470978
call sub.user32.dll_GetKeyboardState
push eax
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 8]
mov eax, dword [0x48e130]
call fcn.00406830
mov eax, dword [ebp - 8]
push eax
mov eax, 0x4709e4
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0xb
lea edx, [ebp - 0x10]
xor ecx, ecx
pop eax
call fcn.0040a120
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x46f91c]
call fcn.0046f994
call fcn.004042d8
push 0x4709f0
mov eax, dword [0x48d2e8]
push eax
call sub.user32.dll_GetMenuStringA
mov dword [0x490328], eax
mov eax, dword [ebp + 0xc]
push eax
mov ax, word [ebp + 8]
push eax
call dword [0x490328]
mov ebx, eax
jmp 0x4709a2
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4709c4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404960
ret

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

Disassembly:
push ebx
push esi
push edi
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x473045
mov eax, dword [esp + 0x2000]
add esp, 4
mov esi, edx
lea edi, [esp]
push ecx
mov ecx, 0x800
rep movsd dword es:[edi], dword [esi]
pop ecx
dec ecx
test ecx, ecx
jl 0x473096
inc ecx
mov edx, esp
mov ebx, dword [eax]
movzx esi, byte [edx]
xor ebx, esi
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x48d8f8]
mov esi, dword [eax]
shr esi, 8
and esi, 0xffffff
xor ebx, esi
mov dword [eax], ebx
inc edx
dec ecx
jne 0x47306f
add esp, 0x2000
pop edi
pop esi
pop ebx
ret
Function at 0x4730a0
Capabilities:
Get keyboard layout
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x4730a9
mov eax, dword [ebp - 4]
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404dec
xor eax, eax
push ebp
push 0x47319e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404dfc
push eax
call sub.user32.dll_DestroyMenu
mov esi, eax
cmp esi, 0xffffffff
setne byte [ebp - 9]
cmp byte [ebp - 9], 0
je 0x473186
push 0
push esi
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 8]
add edx, ebx
cmp eax, edx
jge 0x473123
mov byte [ebp - 9], 0
jmp 0x473188
test ebx, ebx
jg 0x47312c
mov ebx, eax
sub ebx, dword [ebp - 8]
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push esi
call sub.user32.dll_OpenInputDesktop
test ebx, ebx
jle 0x473180
cmp ebx, 0x2000
jle 0x47314f
mov dword [ebp - 0x10], 0x2000
jmp 0x473152
mov dword [ebp - 0x10], ebx
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x2010]
push eax
push esi
call sub.user32.dll_MapVirtualKeyA
mov eax, edi
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x2010]
call fcn.0047303c
sub ebx, dword [ebp - 0x10]
test ebx, ebx
jg 0x47313e
push esi
call sub.user32.dll_DefMDIChildProcA
not dword [edi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4731a5
lea eax, [ebp - 4]
call fcn.0040493c
ret

Function at 0x473364
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
add esp, 0xffffffe4
mov esi, eax
xor ebx, ebx
xor eax, eax
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
push esp
push 0
push ebx
push 0
push 0
push 4
push 6
push esi
call sub.advapi32.dll_RegCloseKey
test eax, eax
je 0x4733b0
cmp dword [esp], 0
je 0x47339f
mov eax, dword [esp]
mov eax, dword [eax]
push eax
call sub.user32.dll_IsWindow
cmp dword [esp + 4], 0
je 0x4733b0
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_IsWindow
lea eax, [esp + 8]
mov edx, 0x14
call fcn.0040791c
mov dword [esp + 8], 2
mov byte [esp + 0xc], 1
xor eax, eax
mov dword [esp + 0xd], eax
mov byte [esp + 0x16], 1
mov byte [esp + 0x17], 1
mov eax, 0x473460
mov dword [esp + 0x18], eax
lea eax, [esp + 4]
push eax
push ebx
lea eax, [esp + 0x10]
push eax
push 1
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x47341c
cmp dword [esp], 0
je 0x47340b
mov eax, dword [esp]
mov eax, dword [eax]
push eax
call sub.user32.dll_IsWindow
cmp dword [esp + 4], 0
je 0x47341c
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_IsWindow
push 0
mov eax, dword [esp + 8]
push eax
push 0
push 0
push 4
push 6
push esi
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x473457
cmp dword [esp], 0
je 0x473446
mov eax, dword [esp]
mov eax, dword [eax]
push eax
call sub.user32.dll_IsWindow
cmp dword [esp + 4], 0
je 0x473457
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_IsWindow
add esp, 0x1c
pop esi
pop ebx
ret
Function at 0x47ad90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47ae3f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x30]
push eax
push 0
mov eax, ebx
call fcn.00404dfc
push eax
call sub.user32.dll_GetKeyState
test eax, eax
je 0x47ae35
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_EnableWindow
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.user32.dll_EndPaint
mov eax, dword [ebp - 4]
push eax
movzx eax, word [ebp - 0x40]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 0
movzx eax, word [ebp - 0x3e]
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0
movzx eax, word [ebp - 0x3a]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0
movzx eax, word [ebp - 0x38]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
movzx eax, word [ebp - 0x36]
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0
movzx eax, word [ebp - 0x34]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0
lea edx, [ebp - 0x70]
mov ecx, 5
mov eax, 0x47ae74
call fcn.0040a120
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47ae49
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x47ae64
mov eax, dword [0x48e604]
mov eax, dword [eax]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
call fcn.00409030
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47af88
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47b06e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.0040493c
xor edx, edx
push ebp
push 0x47b046
push dword fs:[edx]
mov dword fs:[edx], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x48]
push eax
call sub.WS2_32.DLL_gethostname
lea eax, [ebp - 0x48]
push eax
call sub.WS2_32.DLL_gethostbyname
test eax, eax
jne 0x47afe4
pop dword fs:[0]
add esp, 8
jmp 0x47b050
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x47b013
push dword [ebp - 8]
push dword [edi]
call sub.WS2_32.DLL_inet_ntoa
lea edx, [ebp - 0x4c]
call fcn.00409c30
push dword [ebp - 0x4c]
push 0x47b084
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404cbc
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x47afeb
mov eax, dword [ebp - 8]
call fcn.00404bfc
mov edx, eax
lea eax, [ebp - 8]
mov ecx, 1
call fcn.00404e9c
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404990
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47b050
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b075
lea eax, [ebp - 0x4c]
call fcn.0040493c
lea eax, [ebp - 8]
call fcn.0040493c
ret
Function at 0x47bdec
Capabilities:
Reference cloudflare dns server

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x47bf92
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x47bf6b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [0x48dfb8]
mov byte [eax], 0
mov eax, dword [0x48e378]
cmp dword [eax], 0
je 0x47bf61
mov eax, dword [0x48e068]
mov eax, dword [eax]
mov edx, dword [0x48df90]
mov dword [edx], eax
mov ecx, dword [0x48e048]
mov ecx, dword [ecx]
mov edx, dword [0x48e378]
mov edx, dword [edx]
lea eax, [ebp - 8]
call fcn.00404c48
mov eax, dword [ebp - 8]
mov edx, dword [0x48e15c]
call fcn.00483164
test al, al
je 0x47bf5f
mov eax, dword [0x48e15c]
mov eax, dword [eax]
mov edx, 0x47bfac
call fcn.00404d48
jne 0x47be95
mov eax, dword [0x48dfb8]
mov byte [eax], 1
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47bf77
mov eax, dword [0x48e15c]
mov eax, dword [eax]
mov edx, 0x47bfbc
call fcn.00404d48
jne 0x47bf15
lea eax, [ebp - 4]
call fcn.0040493c
xor esi, esi
jmp 0x47bef0
inc esi
mov ecx, dword [0x48e048]
mov ecx, dword [ecx]
mov edx, dword [0x48e378]
mov edx, dword [edx]
lea eax, [ebp - 0xc]
call fcn.00404c48
mov edx, dword [ebp - 0xc]
mov eax, dword [0x490d68]
call fcn.0046f334
lea eax, [ebp - 4]
mov edx, dword [0x490d68]
mov edx, dword [edx + 0xc]
call fcn.004049d4
cmp esi, 4
jg 0x47bef6
cmp dword [ebp - 4], 0
je 0x47beb4
cmp dword [ebp - 4], 0
je 0x47bf61
mov eax, dword [0x48e15c]
mov edx, dword [ebp - 4]
call fcn.00404990
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47bf77
mov eax, dword [0x48e15c]
mov eax, dword [eax]
mov edx, 0x47bfcc
call fcn.00404d48
jne 0x47bf40
push 0
push 0
push 0x3400
mov eax, esi
call fcn.0043cf68
push eax
call fcn.00407758
jmp 0x47bf61
mov eax, dword [0x48e15c]
mov eax, dword [eax]
mov edx, 0x47bfdc
call fcn.00404d48
je 0x47bf61
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47bf77
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47bf77
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47bf99
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404960
ret
Function at 0x481684
Capabilities:
Set socket configuration

Disassembly:
push ebx
push esi
push edi
push ebp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x48168e
mov eax, dword [esp + 0x8000]
mov edi, ecx
mov esi, edx
lea ebp, [esp + 4]
mov dword [esp], 1
push esp
push 0x8004667e
mov eax, dword [esi + 0x90]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
push esp
push 0x8004667e
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x481753
mov edx, ebp
mov eax, dword [edi + 0x90]
mov ecx, 0x8000
call fcn.0045bcd0
mov ebx, eax
test ebx, ebx
jle 0x48170d
jmp 0x4816fb
push 5
call fcn.0040e0b8
mov edx, ebp
mov ecx, ebx
mov eax, dword [esi + 0x90]
call fcn.0045bbdc
inc eax
je 0x4816f4
mov edx, ebp
mov ecx, 0x8000
mov eax, dword [esi + 0x90]
call fcn.0045bcd0
mov ebx, eax
test ebx, ebx
jle 0x481740
jmp 0x48172e
push 5
call fcn.0040e0b8
mov edx, ebp
mov eax, dword [edi + 0x90]
mov ecx, ebx
call fcn.0045bcd0
inc eax
je 0x481727
push 1
call fcn.0040e0b8
mov eax, dword [0x48e3c0]
mov eax, dword [eax]
call fcn.00455c48
mov eax, dword [esi + 0x90]
cmp byte [eax + 8], 0
je 0x48176f
mov eax, dword [edi + 0x90]
cmp byte [eax + 8], 0
jne 0x4816da
mov eax, dword [0x48e3a8]
mov byte [eax], 0
xor eax, eax
mov dword [esp], eax
push esp
push 0x8004667e
mov eax, dword [esi + 0x90]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
push esp
push 0x8004667e
mov eax, dword [edi + 0x90]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
add esp, 0x8004
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x482a94
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
push ebp
push 0x482ba7
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov byte [ebp - 1], 0
push eax
push edx
mov eax, dword [0x48f664]
push eax
call sub.user32.dll_EqualRect
mov ebx, eax
test ebx, ebx
je 0x482b9d
push ebx
mov eax, dword [0x48f664]
push eax
call sub.user32.dll_IsRectEmpty
mov esi, eax
test esi, esi
je 0x482b9d
push ebx
mov eax, dword [0x48f664]
push eax
call sub.user32.dll_RegisterClassA
mov ebx, eax
dec edi
je 0x482afb
dec edi
je 0x482b78
jmp 0x482b9d
push 0
push 0x20
push 2
push 0
push 3
push 0xc0000000
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.00404dfc
push eax
call sub.user32.dll_DestroyMenu
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x482b9d
xor eax, eax
push ebp
push 0x482b71
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 8]
push eax
push ebx
push esi
call sub.user32.dll_IsWindowEnabled
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_SetClipboardData
test eax, eax
je 0x482b51
cmp ebx, dword [ebp - 8]
je 0x482b55
xor eax, eax
jmp 0x482b57
mov al, 1
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482b9d
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_DefMDIChildProcA
ret
mov eax, dword [ebp + 8]
mov edx, ebx
call fcn.00404f88
mov eax, dword [ebp + 8]
call fcn.00404e54
push eax
push esi
call sub.user32.dll_IsWindowEnabled
mov ecx, ebx
pop edx
call fcn.00402a10
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x482bb1
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x483164
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.00404dec
xor eax, eax
push ebp
push 0x4832b6
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 0x48328e
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x100
lea eax, [ebp - 0x298]
push eax
call sub.wsock32.dll_gethostname_1
lea eax, [ebp - 0x298]
mov edx, dword [ebp - 4]
call fcn.00409ab4
lea eax, [ebp - 0x298]
push eax
call sub.wsock32.dll_gethostbyname_1
test eax, eax
je 0x483277
mov edx, dword [eax + 0xc]
test edx, edx
je 0x483271
mov ebx, dword [edx]
test ebx, ebx
je 0x48326b
lea eax, [ebp - 0x29c]
push eax
xor eax, eax
mov al, byte [ebx]
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 0x2b8], 0
xor eax, eax
mov al, byte [ebx + 1]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 0x2b0], 0
xor eax, eax
mov al, byte [ebx + 2]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 0x2a8], 0
xor eax, eax
mov al, byte [ebx + 3]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 0x2a0], 0
lea edx, [ebp - 0x2bc]
mov ecx, 3
mov eax, 0x4832d0
call fcn.0040a120
mov edx, dword [ebp - 0x29c]
mov eax, esi
call fcn.00404990
mov byte [ebp - 5], 1
jmp 0x48327b
mov byte [ebp - 5], 0
jmp 0x48327b
mov byte [ebp - 5], 0
jmp 0x48327b
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483295
call sub.wsock32.dll_WSACleanup
ret
Function at 0x484974
Capabilities:
Check for unmoving mouse cursor
Execute anti-debugging instructions
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
call sub.user32.dll_GetClipboardData
push eax
call sub.user32.dll_GetMenuState
mov ebx, eax
call sub.user32.dll_GetCursorPos
push eax
call sub.user32.dll_GetSysColorBrush
mov esi, eax
push 0x100
call sub.user32.dll_GetClipboardData
push eax
call sub.user32.dll_PostMessageA
push 0xf
call sub.user32.dll_GetCursorPos
push eax
call sub.user32.dll_RedrawWindow
push 0xa
call fcn.0040e0b8
rdtsc
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push 0x1f4
call fcn.0040e0b8
rdtsc
sub eax, dword [ebp - 4]
sbb edx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push esi
call sub.user32.dll_GetCursorPos
push eax
call sub.user32.dll_RedrawWindow
push ebx
call sub.user32.dll_GetClipboardData
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fdiv dword [0x484a14]
fstp qword [ebp - 0x10]
wait
fld qword [ebp - 0x10]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4854ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404dec
xor eax, eax
push ebp
push 0x485596
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x485576
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x1c], 1
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
call fcn.00404dfc
push eax
push 0
call sub.user32.dll_SetMenuItemInfoA
test bl, bl
je 0x485548
mov dword [ebp - 0x10], 2
jmp 0x48554d
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x10
lea eax, [ebp - 0x1c]
push eax
push 0
push esi
call sub.user32.dll_SetMenu
call sub.user32.dll_GetKeyboardState
test eax, eax
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x485580
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48559d
lea eax, [ebp - 4]
call fcn.0040493c
ret

Function at 0x4855a8
Capabilities:
Acquire debug privileges
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4855f2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0x20
call sub.user32.dll_GetClipboardData
push eax
call sub.user32.dll_SetParent
mov cl, 1
mov edx, 0x485610
mov eax, dword [ebp - 8]
call fcn.004854ec
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_DefMDIChildProcA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4855fc
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4864c4
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor ecx, ecx
mov dword [ebp - 0x268], ecx
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x25c], ecx
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x258], ecx
mov dword [ebp - 0x254], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404dec
mov eax, dword [ebp - 8]
call fcn.00404dec
xor eax, eax
push ebp
push 0x486723
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x254]
call fcn.004099dc
mov edx, dword [ebp - 0x254]
lea eax, [ebp - 0x110]
mov ecx, 0xff
call fcn.00404bd8
mov eax, dword [ebp - 4]
call fcn.00402908
call fcn.004028cc
lea eax, [ebp - 0x250]
push eax
push 0x486734
call sub.user32.dll_EnumThreadWindows
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4866b0
mov eax, dword [ebp - 8]
call fcn.004094b0
test al, al
jne 0x48657c
mov eax, dword [ebp - 8]
call fcn.004094d4
lea eax, [ebp - 0x10]
lea edx, [ebp - 0x224]
mov ecx, 0x104
call fcn.00404bac
mov eax, dword [ebp - 0x10]
mov edx, 0x486740
call fcn.00404d48
je 0x486693
mov eax, dword [ebp - 0x10]
mov edx, 0x48674c
call fcn.00404d48
je 0x486693
cmp dword [ebp - 0x250], 0x10
jne 0x486662
push dword [ebp - 8]
push 0x486758
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404cbc
mov eax, dword [ebp - 0xc]
call fcn.004094b0
test al, al
jne 0x4865ee
mov eax, dword [ebp - 0xc]
call fcn.004094d4
mov eax, dword [ebp - 4]
call fcn.00404bfc
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x48662b
push dword [ebp - 4]
push 0x486758
push dword [ebp - 0x10]
lea eax, [ebp - 0x258]
mov edx, 3
call fcn.00404cbc
mov eax, dword [ebp - 0x258]
mov edx, dword [ebp - 0xc]
call fcn.004864c4
jmp 0x486693
lea eax, [ebp - 0x25c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00404c48
mov eax, dword [ebp - 0x25c]
push eax
lea eax, [ebp - 0x260]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00404c48
mov eax, dword [ebp - 0x260]
pop edx
call fcn.004864c4
jmp 0x486693
push dword [ebp - 8]
push 0x486758
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404cbc
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
call fcn.00404dfc
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404dfc
push eax
call sub.user32.dll_DeleteMenu
lea eax, [ebp - 0x250]
push eax
push ebx
call sub.user32.dll_EnumWindows
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x48657c
jmp 0x4866d5
lea eax, [ebp - 0x264]
lea edx, [ebp - 0x110]
call fcn.00404ba0
mov eax, dword [ebp - 0x264]
call fcn.00402908
call fcn.004028cc
xor ebx, ebx
jmp 0x4866f8
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x110]
call fcn.00404ba0
mov eax, dword [ebp - 0x268]
call fcn.00402908
call fcn.004028cc
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48672a
lea eax, [ebp - 0x268]
mov edx, 6
call fcn.00404960
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404960
ret
Function at 0x48823c
Capabilities:
Read clipboard data

Disassembly:
add esp, 0xffffffd0
push esp
push 0x28
call sub.user32.dll_GetClipboardData
push eax
call sub.user32.dll_SetParent
lea eax, [esp + 8]
push eax
push 0x4882a0
push 0
call sub.user32.dll_SetMenuItemInfoA
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x14]
push eax
push 0x10
lea eax, [esp + 0x2c]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.user32.dll_SetMenu
add esp, 0x30
ret
Function at 0x401b10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401b2c
mov eax, 1
jmp 0x401b2e
xor eax, eax
pop ebx
pop ebp
ret