joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457bec
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4bac34]
cmp dword [eax + 0x30], 0
je 0x457c96
cmp dword [ebx + 0x94], 0
jne 0x457c90
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x457b7c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x457c90
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 0x457c56
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x457c90
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.0041644c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x457c65
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458774
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 0x4587a9
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.00404578
jmp 0x4587b6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004044dc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4597dc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45981d
mov eax, esi
call fcn.0043f74c
test al, al
je 0x45981d
mov eax, dword [ebx + 0x84]
call fcn.0043f448
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45981d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043f448
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45e4a4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0045e108
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404938
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x45e502
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4b96bc]
mov dl, 1
mov eax, dword [0x45e000]
call fcn.0040bfd4
call fcn.00403ee8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45e50c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404938
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x45e564
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4b9934]
mov dl, 1
mov eax, dword [0x45e000]
call fcn.0040bfd4
call fcn.00403ee8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045e138
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x461c64
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x461d3c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4bacb4], 0
jne 0x461d20
lea eax, [ebp - 4]
mov edx, 0x461d54
call fcn.00404520
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404938
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x461d20
mov eax, ebx
call fcn.00402774
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x461d19
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x461d03
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x461d64
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x461d03
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4bacb4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461d20
mov eax, dword [ebp - 0xc]
call fcn.00402794
ret
mov ebx, dword [0x4bacb4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461d43
lea eax, [ebp - 4]
call fcn.00404488
ret

Function at 0x469aa0
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x4bacd8], 0
jne 0x469ac3
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x469a14
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4bacd8], eax
ret
Function at 0x46b064
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 0x46b07c
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x46b075
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 0x46b117
test esi, esi
jle 0x46b0ae
mov ecx, 0x46b1c0
mov dl, 1
mov eax, dword [0x4078d4]
call fcn.0040bedc
call fcn.00403ee8
jmp 0x46b10d
cmp word [ebx + 0xa4a], 0
jne 0x46b0d0
mov ecx, 0x46b1c0
mov dl, 1
mov eax, dword [0x4078d4]
call fcn.0040bedc
call fcn.00403ee8
jmp 0x46b10d
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
lea edx, [ebp - 9]
mov eax, dword [ebx + 0xa4c]
call dword [ebx + 0xa48]
cmp byte [ebp - 9], 0
jne 0x46b10c
mov ecx, 0x46b1c0
mov dl, 1
mov eax, dword [0x4078d4]
call fcn.0040bedc
call fcn.00403ee8
jmp 0x46b10d
inc esi
cmp dword [ebp + 8], 0
je 0x46b092
mov byte [ebx + 0x870], 0
mov eax, ebx
call fcn.0046aef0
cmp dword [ebx + 0x848], 0
jne 0x46b144
mov ecx, 0x46b1d8
mov dl, 1
mov eax, dword [0x46a7f8]
call fcn.0040bedc
call fcn.00403ee8
mov ecx, 0x46b1f4
mov dl, 2
mov eax, ebx
call fcn.0046b3c8
mov word [ebx + 0x844], 2
mov ax, word [ebx + 0x83c]
push eax
call sub.wsock32.dll_htons
mov word [ebx + 0x846], ax
mov eax, 0x10
push eax
lea eax, [ebx + 0x844]
push eax
push 0
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0xa50]
push eax
call sub.wsock32.dll_sendto
cmp word [ebx + 0xa32], 0
je 0x46b1aa
mov edx, ebx
mov eax, dword [ebx + 0xa34]
call dword [ebx + 0xa30]
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4

Function at 0x46b488
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 0x46b55c
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 0x800
lea eax, [ebx + 0x30]
push eax
mov eax, dword [ebx + 0xa50]
push eax
call sub.wsock32.dll_recvfrom
mov dword [ebx + 0x834], eax
cmp word [ebx + 0xa2a], 0
je 0x46b546
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, 0x46b570
call fcn.00409610
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 + 0x834]
mov edx, ebx
mov eax, dword [ebx + 0xa2c]
call dword [ebx + 0xa28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b563
lea eax, [ebp - 8]
call fcn.00404488
ret
Function at 0x46c144
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46c280
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x46c298
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.0046d3f8
mov eax, dword [ebp - 4]
call fcn.0046cc88
xor edx, edx
push ebp
push 0x46c263
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
jne 0x46c202
test si, si
jne 0x46c1b4
mov eax, dword [ebp - 8]
call fcn.00408e9c
mov esi, eax
cmp esi, 0xffff
jbe 0x46c1b4
call fcn.0040365c
movzx ebx, si
push 0
push ebx
movzx eax, si
sub eax, ebx
mov edx, dword [ebp - 8]
lea eax, [edx + eax]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10290]
push eax
call sub.wsock32.dll_send
test eax, eax
je 0x46c202
cmp eax, 0xffffffff
jle 0x46c1e3
sub ebx, eax
jmp 0x46c1f2
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.0046d32c
test ebx, ebx
je 0x46c202
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x46c1b7
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x46c24d
mov eax, dword [ebp - 4]
mov byte [eax + 0x10090], 0
mov ecx, 0x46c2b0
mov dl, 1
mov eax, dword [0x46b72c]
call fcn.0040bedc
call fcn.00403ee8
mov eax, dword [ebp - 4]
cmp word [eax + 0x1028a], 0
je 0x46c24d
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x1028c]
call dword [ebx + 0x10288]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c26a
mov eax, dword [ebp - 4]
call fcn.0046cce0
ret
Function at 0x46c3c4
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46c55e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x46c574
lea edx, [ebp - 0xc]
movzx eax, si
call fcn.004089f4
push dword [ebp - 0xc]
push 0x46c584
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404800
mov ecx, dword [ebp - 8]
mov dl, 8
mov eax, ebx
call fcn.0046d3f8
test si, si
jne 0x46c465
push 2
push 0x10000
lea eax, [ebx + 0x30]
push eax
movzx eax, word [ebx + 0x10290]
push eax
call sub.wsock32.dll_recv
cmp eax, 0xffffffff
jne 0x46c454
lea ecx, [ebp - 0x10]
mov dx, 0x2733
mov eax, ebx
call fcn.0046d32c
mov eax, dword [ebp - 4]
call fcn.00404488
jmp 0x46c4bb
mov esi, eax
cmp esi, 0xffff
jbe 0x46c4bb
call fcn.0040365c
jmp 0x46c4bb
push 2
push 0x10000
lea eax, [ebx + 0x30]
push eax
movzx eax, word [ebx + 0x10290]
push eax
call sub.wsock32.dll_recv
movzx edx, si
cmp eax, edx
jge 0x46c4bb
test eax, eax
jne 0x46c495
mov eax, dword [ebp - 4]
call fcn.00404488
jmp 0x46c543
inc eax
jne 0x46c4a6
lea ecx, [ebp - 0x14]
mov dx, 0x2733
mov eax, ebx
call fcn.0046d32c
mov eax, dword [0x4b9740]
mov eax, dword [eax]
call fcn.00458a10
cmp byte [ebx + 0x10090], 0
je 0x46c465
cmp byte [ebx + 0x10090], 0
jne 0x46c50e
movzx edi, si
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00404ac4
push 0
push edi
mov eax, dword [ebp - 4]
call fcn.00404990
mov edx, 1
dec edx
test eax, eax
je 0x46c4eb
cmp edx, dword [eax - 4]
jb 0x46c4f0
call fcn.0040365c
inc edx
lea eax, [eax + edx - 1]
push eax
movzx eax, word [ebx + 0x10290]
push eax
call sub.wsock32.dll_recv
mov edx, dword [ebp - 4]
xchg edx, eax
call fcn.00404ac4
jmp 0x46c543
mov byte [ebx + 0x10090], 0
mov ecx, 0x46c590
mov dl, 1
mov eax, dword [0x46b72c]
call fcn.0040bedc
call fcn.00403ee8
cmp word [ebx + 0x1028a], 0
je 0x46c543
mov edx, ebx
mov eax, dword [ebx + 0x1028c]
call dword [ebx + 0x10288]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c565
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.004044ac
ret
Function at 0x46d234
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x46d300
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x46d314
mov dl, 4
mov eax, ebx
call fcn.0046d3f8
mov byte [ebx + 0x10298], 0
mov si, word [ebx + 0x10290]
cmp si, 0xffff
je 0x46d2ea
movzx eax, si
push eax
call sub.wsock32.dll_closesocket
test eax, eax
jne 0x46d2dc
test byte [ebx + 0x1c], 8
jne 0x46d299
cmp word [ebx + 0x10052], 0
je 0x46d299
mov edx, ebx
mov eax, dword [ebx + 0x10054]
call dword [ebx + 0x10050]
cmp byte [ebx + 0x10091], 0
jne 0x46d2ea
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffff
jbe 0x46d2bc
call fcn.0040365c
mov word [ebx + 0x10290], si
push 0x3d
push 0x465
mov eax, dword [ebx + 0x10294]
push eax
movzx eax, si
push eax
call sub.wsock32.dll_WSAAsyncSelect
jmp 0x46d2ea
lea ecx, [ebp - 4]
mov dx, 0x2733
mov eax, ebx
call fcn.0046d32c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d307
lea eax, [ebp - 4]
call fcn.00404488
ret

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

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x46d4dc
mov dl, 8
mov eax, ebx
call fcn.0046d3f8
push 2
push 1
lea eax, [ebx + 0x30]
push eax
movzx eax, word [ebx + 0x10290]
push eax
call sub.wsock32.dll_recv
test eax, eax
jle 0x46d4ce
mov al, 1
pop ebx
ret
xor eax, eax
pop ebx
ret

Function at 0x46d714
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
mov dword [ebp - 4], edx
mov ecx, 0x46d7d4
mov dl, 8
call fcn.0046d3f8
mov eax, 0xc8
call fcn.00408504
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46d7bf
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xc8
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_gethostname
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
xor eax, eax
mov al, byte [esi]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0
xor eax, eax
mov al, byte [esi + 1]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
xor eax, eax
mov al, byte [esi + 2]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
xor eax, eax
mov al, byte [esi + 3]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x28]
mov ecx, 3
mov eax, 0x46d7f0
call fcn.00409610
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d7c6
mov eax, dword [ebp - 8]
call fcn.00402794
ret
Function at 0x489518
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x489546
mov eax, ebx
call fcn.00489fd0
cmp dword [ebx + 0x3c], 0
je 0x48953f
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4895b7
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4895a9
cmp dword [ebx + 8], 0
je 0x489568
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x48957a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4895a9
cmp dword [ebx + 8], 0
je 0x48955b
cmp eax, 3
je 0x48958d
dec eax
jne 0x48955b
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 0x48955b
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x48955b
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4895d5
cmp dword [ebx + 0x10], 0xcc
je 0x4895d5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004895e0
pop ebx
ret
Function at 0x40234f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push edi
xor eax, eax
push eax
xor eax, eax
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x14]
push eax
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
test eax, eax
jne 0x402381
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0x10
push 8
pop eax
push eax
call dword [0x5ab534]
mov edi, eax
mov eax, dword [ebp - 4]
mov dword [edi], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [edi + 4], eax
mov esi, dword [ebp + 8]
mov dword [esi], edi
add esp, 4
mov eax, dword [edi]
pop edi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x424400
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4aa4cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0049e62b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x424482
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049bc13
mov eax, dword [eax]
push 0x5b8244
push eax
call fcn.0048db34
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049e8b6
test bl, bl
je 0x424482
push 0x5b8244
lea ecx, [esp + 0xc]
call fcn.0049ec46
push 0x5bbe30
lea ecx, [esp + 0xc]
call fcn.0049ec46
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4244be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049e8b6
jmp 0x424589
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x424542
lea edx, [esp + 0x7c]
push 0x5bbe2c
push edx
call fcn.0048db34
add esp, 8
test eax, eax
je 0x424542
lea eax, [esp + 0x7c]
push 0x5bbe28
push eax
call fcn.0048db34
add esp, 8
test eax, eax
je 0x424542
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4244d2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0049e8b6
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x424da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x424e02
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x424e10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4aa54b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5c97d0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x424f48
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x424e76
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049e8b6
xor eax, eax
jmp 0x424fbf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0049e9f3
push esi
lea ecx, [esp + 0xc]
call fcn.0049ec82
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x424f9d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00424da0
test eax, eax
jne 0x424f9d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00424da0
test eax, eax
jne 0x424f9d
lea eax, [esp + 0x14]
push 0x5bbe44
push eax
call fcn.0048ed20
mov esi, eax
add esp, 8
test esi, esi
jne 0x424f7c
lea ecx, [esp + 0x14]
push 0x5bbe40
push ecx
call fcn.0048eca0
mov esi, eax
add esp, 8
test esi, esi
jne 0x424f7c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x424f7f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049e9a3
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x424e8e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049e8b6
xor eax, eax
jmp 0x424fbf
mov byte [esi], 0
push 0x5bbe3c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0049e8b6
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x43bd90
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x43bdfe
cmp si, 0x69
ja 0x43bdfe
add esi, 0xffd0
cmp si, 0x11
je 0x43bdce
push 0x11
call edi
test ax, ax
jge 0x43bdce
or esi, 0x2000
cmp si, 0x10
je 0x43bde3
push 0x10
call edi
test ax, ax
jge 0x43bde3
or esi, 0x4000
cmp si, 0x12
je 0x43bdf8
push 0x12
call edi
test ax, ax
jge 0x43bdf8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43be0b
mov esi, 0xbd
jmp 0x43bdbf
cmp si, 0x6e
jne 0x43be18
mov esi, 0xbe
jmp 0x43bdbf
cmp si, 0x6f
jne 0x43bdb9
mov esi, 0xbf
jmp 0x43bdbf

Function at 0x43df30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5da020]
xor edx, edx
cmp eax, edx
jne 0x43df56
xor eax, eax
mov byte [eax + 0x5d9f20], al
inc eax
cmp eax, 0x100
jl 0x43df3e
mov dword [0x5da020], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5d9f20
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x43dfe7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x43dfba
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x43df88
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x43e060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x43e0b3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x43e09a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret