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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b9c34]
cmp dword [eax + 0x30], 0
je 0x457c86
cmp dword [ebx + 0x94], 0
jne 0x457c80
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x457b6c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x457c80
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 0x457c46
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x457c80
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 0x457c55
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Function at 0x4597cc
Capabilities:
Hide graphical window

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

Function at 0x45e494
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.0045e0f8
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 0x45e4f2
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4b86b4]
mov dl, 1
mov eax, dword [0x45dff0]
call fcn.0040bfd4
call fcn.00403ee8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45e4fc
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 0x45e554
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4b892c]
mov dl, 1
mov eax, dword [0x45dff0]
call fcn.0040bfd4
call fcn.00403ee8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045e128
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 0x461c54
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 0x461d2c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b9cb4], 0
jne 0x461d10
lea eax, [ebp - 4]
mov edx, 0x461d44
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 0x461d10
mov eax, ebx
call fcn.00402774
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x461d09
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 0x461cf3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x461d54
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x461cf3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4b9cb4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461d10
mov eax, dword [ebp - 0xc]
call fcn.00402794
ret
mov ebx, dword [0x4b9cb4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461d33
lea eax, [ebp - 4]
call fcn.00404488
ret

Function at 0x469a90
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x4b9cd8], 0
jne 0x469ab3
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x469a04
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b9cd8], eax
ret
Function at 0x46b054
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 0x46b06c
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x46b065
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 0x46b107
test esi, esi
jle 0x46b09e
mov ecx, 0x46b1b0
mov dl, 1
mov eax, dword [0x4078d4]
call fcn.0040bedc
call fcn.00403ee8
jmp 0x46b0fd
cmp word [ebx + 0xa4a], 0
jne 0x46b0c0
mov ecx, 0x46b1b0
mov dl, 1
mov eax, dword [0x4078d4]
call fcn.0040bedc
call fcn.00403ee8
jmp 0x46b0fd
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 0x46b0fc
mov ecx, 0x46b1b0
mov dl, 1
mov eax, dword [0x4078d4]
call fcn.0040bedc
call fcn.00403ee8
jmp 0x46b0fd
inc esi
cmp dword [ebp + 8], 0
je 0x46b082
mov byte [ebx + 0x870], 0
mov eax, ebx
call fcn.0046aee0
cmp dword [ebx + 0x848], 0
jne 0x46b134
mov ecx, 0x46b1c8
mov dl, 1
mov eax, dword [0x46a7e8]
call fcn.0040bedc
call fcn.00403ee8
mov ecx, 0x46b1e4
mov dl, 2
mov eax, ebx
call fcn.0046b3b8
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 0x46b19a
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 0x46b478
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 0x46b54c
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 0x46b536
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, 0x46b560
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 0x46b553
lea eax, [ebp - 8]
call fcn.00404488
ret
Function at 0x46c134
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 0x46c270
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x46c288
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.0046d3e8
mov eax, dword [ebp - 4]
call fcn.0046cc78
xor edx, edx
push ebp
push 0x46c253
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
jne 0x46c1f2
test si, si
jne 0x46c1a4
mov eax, dword [ebp - 8]
call fcn.00408e9c
mov esi, eax
cmp esi, 0xffff
jbe 0x46c1a4
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 0x46c1f2
cmp eax, 0xffffffff
jle 0x46c1d3
sub ebx, eax
jmp 0x46c1e2
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.0046d31c
test ebx, ebx
je 0x46c1f2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x46c1a7
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x46c23d
mov eax, dword [ebp - 4]
mov byte [eax + 0x10090], 0
mov ecx, 0x46c2a0
mov dl, 1
mov eax, dword [0x46b71c]
call fcn.0040bedc
call fcn.00403ee8
mov eax, dword [ebp - 4]
cmp word [eax + 0x1028a], 0
je 0x46c23d
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 0x46c25a
mov eax, dword [ebp - 4]
call fcn.0046ccd0
ret
Function at 0x46c3b4
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 0x46c54e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x46c564
lea edx, [ebp - 0xc]
movzx eax, si
call fcn.004089f4
push dword [ebp - 0xc]
push 0x46c574
lea eax, [ebp - 8]
mov edx, 3
call fcn.00404800
mov ecx, dword [ebp - 8]
mov dl, 8
mov eax, ebx
call fcn.0046d3e8
test si, si
jne 0x46c455
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 0x46c444
lea ecx, [ebp - 0x10]
mov dx, 0x2733
mov eax, ebx
call fcn.0046d31c
mov eax, dword [ebp - 4]
call fcn.00404488
jmp 0x46c4ab
mov esi, eax
cmp esi, 0xffff
jbe 0x46c4ab
call fcn.0040365c
jmp 0x46c4ab
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 0x46c4ab
test eax, eax
jne 0x46c485
mov eax, dword [ebp - 4]
call fcn.00404488
jmp 0x46c533
inc eax
jne 0x46c496
lea ecx, [ebp - 0x14]
mov dx, 0x2733
mov eax, ebx
call fcn.0046d31c
mov eax, dword [0x4b8738]
mov eax, dword [eax]
call fcn.00458a00
cmp byte [ebx + 0x10090], 0
je 0x46c455
cmp byte [ebx + 0x10090], 0
jne 0x46c4fe
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 0x46c4db
cmp edx, dword [eax - 4]
jb 0x46c4e0
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 0x46c533
mov byte [ebx + 0x10090], 0
mov ecx, 0x46c580
mov dl, 1
mov eax, dword [0x46b71c]
call fcn.0040bedc
call fcn.00403ee8
cmp word [ebx + 0x1028a], 0
je 0x46c533
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 0x46c555
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.004044ac
ret
Function at 0x46d224
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 0x46d2f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x46d304
mov dl, 4
mov eax, ebx
call fcn.0046d3e8
mov byte [ebx + 0x10298], 0
mov si, word [ebx + 0x10290]
cmp si, 0xffff
je 0x46d2da
movzx eax, si
push eax
call sub.wsock32.dll_closesocket
test eax, eax
jne 0x46d2cc
test byte [ebx + 0x1c], 8
jne 0x46d289
cmp word [ebx + 0x10052], 0
je 0x46d289
mov edx, ebx
mov eax, dword [ebx + 0x10054]
call dword [ebx + 0x10050]
cmp byte [ebx + 0x10091], 0
jne 0x46d2da
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
cmp esi, 0xffff
jbe 0x46d2ac
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 0x46d2da
lea ecx, [ebp - 4]
mov dx, 0x2733
mov eax, ebx
call fcn.0046d31c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d2f7
lea eax, [ebp - 4]
call fcn.00404488
ret

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

Disassembly:
push ebx
mov ebx, eax
mov ecx, 0x46d4cc
mov dl, 8
mov eax, ebx
call fcn.0046d3e8
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 0x46d4be
mov al, 1
pop ebx
ret
xor eax, eax
pop ebx
ret

Function at 0x46d704
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, 0x46d7c4
mov dl, 8
call fcn.0046d3e8
mov eax, 0xc8
call fcn.00408504
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46d7af
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, 0x46d7e0
call fcn.00409610
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d7b6
mov eax, dword [ebp - 8]
call fcn.00402794
ret
Function at 0x489f48
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x489f76
mov eax, ebx
call fcn.0048aa00
cmp dword [ebx + 0x3c], 0
je 0x489f6f
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x489fe7
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x489fd9
cmp dword [ebx + 8], 0
je 0x489f98
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 0x489faa
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x489fd9
cmp dword [ebx + 8], 0
je 0x489f8b
cmp eax, 3
je 0x489fbd
dec eax
jne 0x489f8b
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 0x489f8b
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x489f8b
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x48a005
cmp dword [ebx + 0x10], 0xcc
je 0x48a005
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.0048a010
pop ebx
ret
Function at 0x47e7e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e5bfb
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.004da20a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x47e862
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004d78ea
mov eax, dword [eax]
push 0x5291e4
push eax
call fcn.004ca5c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004da495
test bl, bl
je 0x47e862
push 0x5291e4
lea ecx, [esp + 0xc]
call fcn.004da825
push 0x52cd5c
lea ecx, [esp + 0xc]
call fcn.004da825
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 0x47e89e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004da495
jmp 0x47e969
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 0x47e922
lea edx, [esp + 0x7c]
push 0x52cd58
push edx
call fcn.004ca5c4
add esp, 8
test eax, eax
je 0x47e922
lea eax, [esp + 0x7c]
push 0x52cd54
push eax
call fcn.004ca5c4
add esp, 8
test eax, eax
je 0x47e922
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 0x47e8b2
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.004da495
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 0x47f160
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 0x47f1c2
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 0x47f1d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e5c7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5332a8]
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 0x47f308
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x47f236
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004da495
xor eax, eax
jmp 0x47f37f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004da5d2
push esi
lea ecx, [esp + 0xc]
call fcn.004da861
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 0x47f35d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0047f160
test eax, eax
jne 0x47f35d
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 SysReAllocString
mov ecx, edi
call fcn.0047f160
test eax, eax
jne 0x47f35d
lea eax, [esp + 0x14]
push 0x52cd70
push eax
call fcn.004cb6d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x47f33c
lea ecx, [esp + 0x14]
push 0x52cd6c
push ecx
call fcn.004cb650
mov esi, eax
add esp, 8
test esi, esi
jne 0x47f33c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x47f33f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004da582
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x47f24e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004da495
xor eax, eax
jmp 0x47f37f
mov byte [esi], 0
push 0x52cd68
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.004da495
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 0x494a30
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 0x494a9e
cmp si, 0x69
ja 0x494a9e
add esi, 0xffd0
cmp si, 0x11
je 0x494a6e
push 0x11
call edi
test ax, ax
jge 0x494a6e
or esi, 0x2000
cmp si, 0x10
je 0x494a83
push 0x10
call edi
test ax, ax
jge 0x494a83
or esi, 0x4000
cmp si, 0x12
je 0x494a98
push 0x12
call edi
test ax, ax
jge 0x494a98
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x494aab
mov esi, 0xbd
jmp 0x494a5f
cmp si, 0x6e
jne 0x494ab8
mov esi, 0xbe
jmp 0x494a5f
cmp si, 0x6f
jne 0x494a59
mov esi, 0xbf
jmp 0x494a5f

Function at 0x4962f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x543bd8]
xor edx, edx
cmp eax, edx
jne 0x496316
xor eax, eax
mov byte [eax + 0x543ad8], al
inc eax
cmp eax, 0x100
jl 0x4962fe
mov dword [0x543bd8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x543ad8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4963a7
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 0x49637a
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 0x496348
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x496420
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 0x496473
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 0x49645a
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