joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45fbcc
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 0x45fd16
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045ee04
xor eax, eax
push ebp
push 0x45fcf9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x45fc31
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x45fc31
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 0x45fce3
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x45fc44
call fcn.004043e4
jmp 0x45fd00
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 0x45fce3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x45fce3
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403da8
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 0x45fce3
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c38c
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, 0x45fd30
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4a9e74]
mov dl, 1
mov eax, dword [0x45d8f0]
call fcn.0040ccb0
call fcn.00404338
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fd00
mov eax, dword [ebp - 4]
call fcn.0045ee10
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fd1d
lea eax, [ebp - 0x28]
call fcn.0040499c
ret
Function at 0x462730
Capabilities:
Create udp socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x462748
add esp, 0xfffffff0
call fcn.00403ed0
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x462875
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.0041c07c
mov byte [ebx + 0x10210], 0
mov eax, 0x400
call fcn.00402764
mov dword [ebx + 0x10068], eax
push ebx
push 0x462fd4
call fcn.0044e5a8
mov dword [ebx + 0x10060], eax
mov dword [ebx + 0x10208], 1
mov byte [ebx + 0x1006c], 0
push 0x46289c
push 0
push 0xffffffffffffffff
push 0
call sub.user32.dll_DeleteMenu
mov dword [ebx + 0x10248], eax
mov ecx, 0x4628a8
mov dl, 8
mov eax, ebx
call fcn.00462f54
lea eax, [ebx + 0x10070]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x462845
xor eax, eax
push ebp
push 0x46282f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov dword [ebx + 0x1024c], esi
inc esi
jne 0x462808
lea ecx, [ebp - 8]
mov dx, 0x2733
mov eax, ebx
call fcn.00462d90
push 4
push 0x4628c0
push 0xff7f
push 0xffff
mov eax, dword [ebx + 0x1024c]
push eax
call sub.wsock32.dll_setsockopt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x462853
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, ebx
call fcn.00462d90
mov byte [ebx + 0x10210], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46287c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004049c0
ret

Function at 0x462914
Capabilities:
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4629e8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x1024c]
test eax, eax
je 0x462943
push eax
call sub.wsock32.dll_closesocket
call sub.wsock32.dll_WSACleanup
lea eax, [ebx + 0x10070]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x4629af
xor eax, eax
push ebp
push 0x462999
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov dword [ebx + 0x1024c], esi
inc esi
jne 0x46298f
lea ecx, [ebp - 8]
mov dx, 0x2733
mov eax, ebx
call fcn.00462d90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4629bd
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, ebx
call fcn.00462d90
mov eax, dword [ebp - 4]
mov dword [ebx + 0x1003c], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4629ef
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004049c0
ret
Function at 0x462bf0
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 0x462c08
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x462c01
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 0x462ca3
test esi, esi
jle 0x462c3a
mov ecx, 0x462d4c
mov dl, 1
mov eax, dword [0x407fa4]
call fcn.0040cbb8
call fcn.00404338
jmp 0x462c99
cmp word [ebx + 0x10242], 0
jne 0x462c5c
mov ecx, 0x462d4c
mov dl, 1
mov eax, dword [0x407fa4]
call fcn.0040cbb8
call fcn.00404338
jmp 0x462c99
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 + 0x10244]
call dword [ebx + 0x10240]
cmp byte [ebp - 9], 0
jne 0x462c98
mov ecx, 0x462d4c
mov dl, 1
mov eax, dword [0x407fa4]
call fcn.0040cbb8
call fcn.00404338
jmp 0x462c99
inc esi
cmp dword [ebp + 8], 0
je 0x462c1e
mov byte [ebx + 0x1006c], 0
mov eax, ebx
call fcn.00462a84
cmp dword [ebx + 0x10044], 0
jne 0x462cd0
mov ecx, 0x462d64
mov dl, 1
mov eax, dword [0x462300]
call fcn.0040cbb8
call fcn.00404338
mov ecx, 0x462d80
mov dl, 2
mov eax, ebx
call fcn.00462f54
mov word [ebx + 0x10040], 2
mov ax, word [ebx + 0x10038]
push eax
call sub.wsock32.dll_htons
mov word [ebx + 0x10042], ax
mov eax, 0x10
push eax
lea eax, [ebx + 0x10040]
push eax
push 0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0x1024c]
push eax
call sub.wsock32.dll_sendto
cmp word [ebx + 0x1022a], 0
je 0x462d36
mov edx, ebx
mov eax, dword [ebx + 0x1022c]
call dword [ebx + 0x10228]
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46311c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0xffff
lea eax, [ebx + 0x30]
push eax
mov eax, dword [ebx + 0x1024c]
push eax
call sub.wsock32.dll_recvfrom
mov dword [ebx + 0x10030], eax
cmp word [ebx + 0x10222], 0
je 0x463106
lea eax, [ebp - 8]
push eax
xor eax, eax
mov al, byte [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
xor eax, eax
mov al, byte [ebp - 0x13]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0
xor eax, eax
mov al, byte [ebp - 0x12]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
xor eax, eax
mov al, byte [ebp - 0x11]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x38]
mov ecx, 3
mov eax, 0x463130
call fcn.0040a1c8
mov ax, word [ebp - 0x16]
push eax
call sub.wsock32.dll_ntohs
mov edx, dword [ebp - 8]
push edx
movzx eax, ax
push eax
mov ecx, dword [ebx + 0x10030]
mov edx, ebx
mov eax, dword [ebx + 0x10224]
call dword [ebx + 0x10220]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463123
lea eax, [ebp - 8]
call fcn.0040499c
ret
Function at 0x46c210
Capabilities:
Get keyboard layout

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 0x46c2dd
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a8410], 0
jne 0x46c2c0
push 0x46c2f0
call sub.user32.dll_InvalidateRect
mov dword [0x4a8410], eax
cmp dword [0x4a8410], 0
jne 0x46c298
call sub.user32.dll_GetKeyboardLayout
push eax
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 8]
mov eax, dword [0x4a9ad8]
call fcn.0040689c
mov eax, dword [ebp - 8]
push eax
mov eax, 0x46c304
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0xb
lea edx, [ebp - 0x10]
xor ecx, ecx
pop eax
call fcn.0040a1c8
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x46b23c]
call fcn.0046b2b4
call fcn.00404338
push 0x46c310
mov eax, dword [0x4a8410]
push eax
call sub.user32.dll_GetMenuItemID
mov dword [0x4aca24], eax
mov eax, dword [ebp + 0xc]
push eax
mov ax, word [ebp + 8]
push eax
call dword [0x4aca24]
mov ebx, eax
jmp 0x46c2c2
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c2e4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004049c0
ret

Function at 0x474cec
Capabilities:
Access the windows event log
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
mov ebx, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 4
push 6
push ebx
call sub.advapi32.dll_RegisterEventSourceA
xor edx, edx
push ebp
push 0x474dd4
push dword fs:[edx]
mov dword fs:[edx], esp
test eax, eax
je 0x474d3c
call fcn.004043e4
jmp 0x474ddb
lea eax, [ebp - 0x30]
xor ecx, ecx
mov edx, 0x20
call fcn.004032e4
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x2c], 1
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 1
mov eax, 0x474de4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x30]
push eax
push 1
call sub.advapi32.dll_RegSetValueExA
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 4
push 6
push ebx
call sub.advapi32.dll_ReportEventA
test eax, eax
jne 0x474da4
call fcn.004043e4
jmp 0x474ddb
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474ddb
cmp dword [ebp - 0x10], 0
je 0x474dc4
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_IsClipboardFormatAvailable
cmp dword [ebp - 0xc], 0
je 0x474dd3
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_IsClipboardFormatAvailable
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4755b8
Capabilities:
Get socket status

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov eax, ecx
mov esi, 0x3e8
cdq
idiv esi
mov dword [esp], eax
mov eax, ecx
mov ecx, 0x3e8
cdq
idiv ecx
imul eax, edx, 0x3e8
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
cmp eax, 0x40
jge 0x4755f6
mov dword [esp + eax*4 + 0xc], ebx
inc dword [esp + 8]
push esp
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
call sub.wsock32.dll_select
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x475610
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 0x475736
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 0x47572c
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004032e4
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.00404e5c
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 0x4756c0
push ebx
call sub.wsock32.dll_closesocket
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x475740
cmp dword [ebp - 0x18], 0
jle 0x475723
mov ecx, 0xbb8
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004755b8
test eax, eax
jle 0x475723
lea eax, [ebp - 0x18]
push eax
push 0x4004667f
push ebx
call sub.wsock32.dll_ioctlsocket
inc eax
jne 0x4756f1
cmp dword [ebp - 0x18], 0
jle 0x475723
mov eax, dword [ebp - 0x18]
add eax, esi
cmp eax, dword [ebp + 8]
jle 0x475700
add esi, dword [ebp - 0x18]
jmp 0x475723
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 0x4756c6
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 0x475740
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x475b50
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe70
push ebx
push esi
test dl, dl
je 0x475b67
add esp, 0xfffffff0
call fcn.00403ed0
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 0x475b91
call fcn.00403f28
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47b1ec
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
jle 0x47b211
mov eax, dword [ebp - 4]
add eax, 0x71c
push eax
call sub.user32.dll_FindWindowA
mov dword [ebp - 0xc], eax
jmp 0x47b236
cmp dword [ebp - 8], 0
jne 0x47b225
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x71c]
mov dword [ebp - 0xc], eax
jmp 0x47b236
mov eax, dword [ebp - 4]
add eax, 0x71c
push eax
call sub.user32.dll_ExitWindowsEx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x483d74
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor edx, edx
mov dword [ebp - 0x20], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x483e63
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x94]
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00483c5c
mov dword [ebp - 0x1c], eax
cmp byte [ebx + 0x8a], 1
jne 0x483db3
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x483dbd
mov eax, ebx
call fcn.00483ce0
mov dword [ebp - 0x14], eax
mov al, byte [ebx + 0x8a]
mov edx, eax
cmp dl, 7
ja 0x483dd4
and edx, 0x7f
bt dword [0x4a8bbc], edx
jae 0x483de3
cmp al, byte [0x4a8b9c]
jne 0x483de3
inc dword [ebp - 8]
jmp 0x483de8
xor edx, edx
mov dword [ebp - 8], edx
mov byte [0x4a8b9c], al
xor eax, eax
mov al, byte [ebx + 0x8a]
mov eax, dword [eax*4 + 0x4a8ba0]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x98]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x483e19
mov dword [ebp - 0x10], 0x42a
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebx + 0x8c]
push eax
call fcn.00458934
test eax, eax
jne 0x483e4d
push 0
push 0
call sub.user32.dll_GetKeyboardLayout
lea edx, [ebp - 0x20]
call fcn.0040c38c
mov edx, dword [ebp - 0x20]
mov ecx, 1
mov eax, ebx
call fcn.00483cfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483e6a
lea eax, [ebp - 0x20]
call fcn.0040499c
ret

Function at 0x483e84
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, eax
xor eax, eax
push ebp
push 0x483f32
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, edx
dec ebx
test ebx, ebx
jl 0x483eca
inc ebx
xor edi, edi
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + edi*4]
call fcn.00404b94
mov edx, dword [ebp - 8]
mov eax, dword [esi + 0x78]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc edi
dec ebx
jne 0x483ead
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x58]
mov ebx, eax
push ebx
mov eax, dword [esi + 8]
call fcn.00404e5c
push eax
call fcn.0045892c
mov edi, eax
mov dword [esi + 0x8c], edi
test edi, edi
jne 0x483f10
push 0
push 0
call sub.user32.dll_GetKeyboardLayout
lea edx, [ebp - 0xc]
call fcn.0040c38c
mov edx, dword [ebp - 0xc]
mov ecx, 1
mov eax, esi
call fcn.00483cfc
jmp 0x483f17
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483f39
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004049c0
ret
Function at 0x4856a0
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 0x4856a9
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 0x4856fa
inc ecx
mov edx, esp
mov ebx, dword [eax]
movzx esi, byte [edx]
xor ebx, esi
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4a8bc0]
mov esi, dword [eax]
shr esi, 8
and esi, 0xffffff
xor ebx, esi
mov dword [eax], ebx
inc edx
dec ecx
jne 0x4856d3
add esp, 0x2000
pop edi
pop esi
pop ebx
ret

Function at 0x485704
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x48570d
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.00404e4c
xor eax, eax
push ebp
push 0x485802
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.00404e5c
push eax
call sub.user32.dll_DestroyCursor
mov esi, eax
cmp esi, 0xffffffff
setne byte [ebp - 9]
cmp byte [ebp - 9], 0
je 0x4857ea
push 0
push esi
call sub.user32.dll_GetKeyNameTextA
mov edx, dword [ebp - 8]
add edx, ebx
cmp eax, edx
jge 0x485787
mov byte [ebp - 9], 0
jmp 0x4857ec
test ebx, ebx
jg 0x485790
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_MsgWaitForMultipleObjects
test ebx, ebx
jle 0x4857e4
cmp ebx, 0x2000
jle 0x4857b3
mov dword [ebp - 0x10], 0x2000
jmp 0x4857b6
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_LoadBitmapA
mov eax, edi
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x2010]
call fcn.004856a0
sub ebx, dword [ebp - 0x10]
test ebx, ebx
jg 0x4857a2
push esi
call sub.user32.dll_CreatePopupMenu
not dword [edi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485809
lea eax, [ebp - 4]
call fcn.0040499c
ret
Function at 0x4886d8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x488706
mov eax, ebx
call fcn.0048918c
cmp dword [ebx + 0x40], 0
je 0x4886ff
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x488777
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x488769
cmp dword [ebx + 8], 0
je 0x488728
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 0x48873a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x488769
cmp dword [ebx + 8], 0
je 0x48871b
cmp eax, 3
je 0x48874d
dec eax
jne 0x48871b
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 0x48871b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x48871b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x488795
cmp dword [ebx + 0x14], 0xcc
je 0x488795
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.004887a0
pop ebx
ret
Function at 0x49b5dc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x49b5e4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e4c
xor eax, eax
push ebp
push 0x49b79d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x49b778
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x413740]
call fcn.00403b7c
mov ebx, eax
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea ecx, [ebp - 8]
xor edx, edx
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 8]
call fcn.0040912c
sub eax, 1
jb 0x49b65b
je 0x49b6a0
dec eax
je 0x49b6e5
dec eax
je 0x49b727
jmp 0x49b767
push 1
push 0
lea ecx, [ebp - 0xc]
mov edx, 2
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0xc]
call fcn.00404e5c
push eax
lea ecx, [ebp - 0x10]
mov edx, 1
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x10]
call fcn.00404e5c
push eax
push 0x49b7ac
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x49b767
push 0
push 0
lea ecx, [ebp - 0x14]
mov edx, 2
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00404e5c
push eax
lea ecx, [ebp - 0x18]
mov edx, 1
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.00404e5c
push eax
push 0x49b7ac
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x49b767
push 3
push 0
lea ecx, [ebp - 0x1c]
mov edx, 2
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.00404e5c
push eax
lea ecx, [ebp - 0x20]
mov edx, 1
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x20]
call fcn.00404e5c
push eax
push 0x49b7ac
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x49b767
push 6
push 0
lea ecx, [ebp - 0x24]
mov edx, 2
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x24]
call fcn.00404e5c
push eax
lea ecx, [ebp - 0x28]
mov edx, 1
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x28]
call fcn.00404e5c
push eax
push 0x49b7ac
push 0
call sub.shell32.dll_ShellExecuteA
mov eax, ebx
call fcn.00403bac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49b782
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b7a4
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.004049c0
ret
Function at 0x49c4b8
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 0x49c59e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.0040499c
xor edx, edx
push ebp
push 0x49c576
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 0x49c514
pop dword fs:[0]
add esp, 8
jmp 0x49c580
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x49c543
push dword [ebp - 8]
push dword [edi]
call sub.ws2_32.dll_inet_ntoa
lea edx, [ebp - 0x4c]
call fcn.00409cd8
push dword [ebp - 0x4c]
push 0x49c5b4
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404d1c
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x49c51b
mov eax, dword [ebp - 8]
call fcn.00404c5c
mov edx, eax
lea eax, [ebp - 8]
mov ecx, 1
call fcn.00404efc
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004049f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49c580
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c5a5
lea eax, [ebp - 0x4c]
call fcn.0040499c
lea eax, [ebp - 8]
call fcn.0040499c
ret