joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18100108
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 0x20], edi
lea esi, [edi + 0x10]
movzx edx, byte [esi]
lea esi, [esi + 4]
movzx eax, byte [esi - 3]
shl eax, 0x10
shl edx, 0x18
or edx, eax
movzx eax, byte [esi - 2]
shl eax, 8
or edx, eax
movzx eax, byte [esi - 1]
or edx, eax
mov dword [ebp + ecx*4 - 0x124], edx
inc ecx
cmp ecx, 0x10
jl 0x1810011e
push 0x40
pop eax
sub eax, ecx
lea ebx, [ebp + ecx*4 - 0x12c]
mov dword [ebp - 4], eax
mov edi, eax
mov ecx, dword [ebx - 0x34]
mov esi, ecx
mov edx, dword [ebx]
mov eax, ecx
rol esi, 0xe
lea ebx, [ebx + 4]
ror eax, 7
xor esi, eax
shr ecx, 3
xor esi, ecx
mov eax, edx
mov ecx, edx
rol eax, 0xd
rol ecx, 0xf
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add esi, ecx
add esi, dword [ebx - 0x3c]
add esi, dword [ebx - 0x18]
mov dword [ebx + 4], esi
sub edi, 1
jne 0x1810015d
mov edi, dword [ebp - 0x20]
mov eax, dword [edi + 0x50]
mov ebx, eax
mov edx, dword [edi + 0x54]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x58]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x60]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x64]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x68]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x6c]
xor edi, edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov ecx, edx
mov esi, ebx
xor ecx, ebx
ror esi, 0xd
and ecx, dword [ebp - 0x10]
and edx, ebx
xor ecx, edx
mov eax, ebx
rol eax, 0xa
xor esi, eax
mov eax, ebx
ror eax, 2
xor esi, eax
add esi, ecx
mov ecx, dword [ebp - 8]
mov edx, ecx
mov eax, ecx
rol eax, 7
ror edx, 0xb
xor edx, eax
mov eax, ecx
ror eax, 6
not ecx
and ecx, dword [ebp - 0x18]
xor edx, eax
mov eax, dword [ebp - 0x14]
and eax, dword [ebp - 8]
xor ecx, eax
mov eax, dword [ebp - 0x18]
add edx, ecx
mov ecx, dword [ebp - 0x1c]
add edx, dword [edi + 0x1818e6e0]
add edx, dword [ebp + edi - 0x124]
add edi, 4
add edx, dword [ebp - 4]
mov dword [ebp - 4], eax
add ecx, edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], ebx
lea ebx, [edx + esi]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], eax
cmp edi, 0x100
jl 0x181001ce
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
add eax, ebx
add dword [edi + 0x60], ecx
add dword [edi + 0x54], edx
mov ecx, dword [ebp - 0x14]
add dword [edi + 0x64], ecx
mov edx, dword [ebp - 0x10]
add dword [edi + 0x58], edx
mov ecx, dword [ebp - 0x18]
add dword [edi + 0x68], ecx
mov edx, dword [ebp - 0x1c]
add dword [edi + 0x5c], edx
mov ecx, dword [ebp - 4]
add dword [edi + 0x6c], ecx
mov dword [edi + 0x50], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x181002a0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 8], 0
and dword [eax + 0xc], 0
mov dword [eax], fcn.181002a0
mov dword [eax + 0x50], 0x6a09e667
mov dword [eax + 0x54], 0xbb67ae85
mov dword [eax + 0x58], 0x3c6ef372
mov dword [eax + 0x5c], 0xa54ff53a
mov dword [eax + 0x60], 0x510e527f
mov dword [eax + 0x64], 0x9b05688c
mov dword [eax + 0x68], 0x1f83d9ab
mov dword [eax + 0x6c], 0x5be0cd19
pop ebp
ret
Function at 0x1810252e
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x181c700c]
xor eax, ebp
mov dword [ebp - 4], eax
movzx ecx, byte [0x181cd106]
push ebx
push esi
neg ecx
push edi
sbb ecx, ecx
push 7
pop edi
and ecx, 0x181cd000
je 0x1810257d
xor eax, eax
mov dword [ebp - 0x38], ecx
inc eax
mov dword [ebp - 0x34], edi
push eax
push edi
mov dword [ebp - 0x30], eax
call fcn.18008bfd
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x38]
push str._StartService_
push eax
call fcn.180072d0
pop ecx
pop ecx
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0x28], esi
test esi, esi
jne 0x181025a1
call fcn.1801ba7c
mov ebx, eax
jmp 0x18102627
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
call fcn.1808172f
push 0x14
push dword [ebp - 8]
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x181025c7
call fcn.1801ba7c
mov ebx, eax
jmp 0x18102604
mov ecx, edi
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x181025eb
cmp dword [ebp - 0x20], 4
je 0x18102604
cmp dword [ebp - 0x20], 2
je 0x18102604
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x18102604
call fcn.1801ba7c
cmp eax, 0x80070420
jne 0x1810260a
test esi, esi
je 0x18102613
jmp 0x1810260c
mov ebx, eax
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18007012
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181188e8
leave
ret
Function at 0x18102db3
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x181c700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
lea ecx, [ebp - 0x214]
push edi
xor edi, edi
call fcn.18015011
mov esi, dword [eax]
xor eax, eax
mov word [ebp - 0x210], ax
test esi, esi
je 0x18102e05
cmp word [esi], di
je 0x18102e05
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 0x214]
lea ecx, [ecx - 0x10]
call fcn.18007012
cmp byte [ebx], 0
je 0x18102e2e
call fcn.1801f9bc
lea eax, [ebp - 0x218]
push eax
call fcn.18020f8b
xor ebx, ebx
inc ebx
jmp 0x18102e44
call fcn.1801f9bc
lea eax, [ebp - 0x214]
push eax
call fcn.1801fcac
push 2
mov ebx, edi
pop edi
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.1800a175
mov esi, eax
test edi, edi
je 0x18102e62
mov ecx, dword [ebp - 0x214]
lea ecx, [ecx - 0x10]
call fcn.18007012
test ebx, ebx
je 0x18102e74
mov ecx, dword [ebp - 0x218]
lea ecx, [ecx - 0x10]
call fcn.18007012
lea ecx, [esi + 0x10]
call fcn.1800cf13
lea ecx, [esi]
call fcn.18007012
cmp word [ebp - 0x210], 0
je 0x18102e9a
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181188e8
leave
ret
Function at 0x1810c10e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x181c700c]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
mov esi, dword [0x181cba50]
push edi
push 0xf0
push eax
xor edi, edi
mov dword [ebp - 0x130], ecx
push esi
inc edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1810c293
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1810c293
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1810c293
push ebx
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x1810c292
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x134], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x1810c20b
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.1812d590
add esp, 0xc
lea eax, [ebp - 0x104]
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], eax
push 3
push esi
call fcn.1804b7bf
push dword [ebp - 0x108]
mov eax, dword [ebp - 0x130]
push 0
push 0x143
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
inc eax
neg eax
sbb eax, eax
and edi, eax
lea eax, [ebp - 0x104]
cmp dword [ebp - 0x108], eax
je 0x1810c280
push dword [ebp - 0x108]
call fcn.181314b3
pop ecx
jmp 0x1810c280
mov ecx, 0x1234
cmp cx, ax
jne 0x1810c280
or dword [ebp - 0x128], 0xffffffff
lea eax, [ebp - 0x234]
push 3
push esi
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x238], eax
call fcn.1804b7bf
mov eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x124], eax
cmp eax, ecx
je 0x1810c25d
push eax
call fcn.181314b3
pop ecx
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x130]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, 0xffffffff
je 0x1810c290
add esi, dword [ebp - 0x134]
test edi, edi
jne 0x1810c16d
jmp 0x1810c292
xor edi, edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.181188e8
leave
ret 4
Function at 0x1810e592
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x181c700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.1810d677
lea esi, [edi + 0x1e4]
xor ecx, ecx
mov eax, dword [esi]
inc ecx
mov ebx, 0x100
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, ebx
or eax, ecx
jge 0x1810e5d0
push ebx
mov ecx, esi
call fcn.180077dc
push ebx
push dword [esi]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.18009f73
push 1
mov ecx, edi
call fcn.18110370
push 8
call fcn.18119198
mov esi, eax
lea eax, [ebp - 0x10]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov eax, dword [edi + 0x1c4]
mov dword [edi + 0x1c4], esi
test eax, eax
je 0x1810e627
push 8
push eax
call fcn.18118e16
pop ecx
pop ecx
push 0x7d9
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor esi, esi
push esi
push 1
push 0x40a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
push 0x181bd7e8
push 3
push esi
push 0x181ab7c4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1810e68c
mov ecx, dword [edi + 0x1ec]
mov ebx, dword [ebp - 8]
mov dword [ebp - 8], esi
test ecx, ecx
je 0x1810e686
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1815c3d4]
call esi
xor esi, esi
mov dword [edi + 0x1ec], ebx
mov ecx, edi
call fcn.1810f7f7
mov dword [ebp - 0xc], esi
call fcn.1800703b
push eax
lea ecx, [ebp - 0xc]
call fcn.1800774f
push 0xbdc
lea ecx, [ebp - 0xc]
call fcn.18007788
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call fcn.181103e2
mov ecx, edi
call fcn.18110341
push 0x7db
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18007012
mov eax, dword [ebp - 8]
test eax, eax
je 0x1810e6fa
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1815c3d4]
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181188e8
leave
ret 0x10

Function at 0x1810f8cf
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x181c700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
call fcn.18026d1d
test al, al
je 0x1810f906
push 0x7dc
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1810f93e
and dword [ebp - 8], 0
call fcn.1800703b
push eax
lea ecx, [ebp - 8]
call fcn.1800774f
push dword [ebp + 0xc]
lea ecx, [ebp - 8]
call fcn.18007788
lea eax, [ebp - 8]
mov ecx, esi
push eax
push 0x7dc
call fcn.1810f703
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18007012
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.181188e8
leave
ret 8
Function at 0x18112fb9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x181c700c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov dword [eax], 1
mov ebx, ecx
lea eax, [ebp - 0x18]
xor edi, edi
push eax
mov dword [ebp - 0x18], edi
push dword [ebx + 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x48
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.1812d590
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x58]
add esp, 0xc
mov dword [ebp - 0x5c], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x28], 0
mov edx, eax
mov dword [ebp - 0x60], edx
je 0x18113022
mov ecx, dword [ebx + 0x38]
jmp 0x18113030
cmp byte [ebx + 0x27], 0
je 0x1811302d
mov ecx, dword [ebx + 0x34]
jmp 0x18113030
mov ecx, dword [ebx + 0x30]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x44]
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SelectObject]
push 2
push 2
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_RoundRect]
cmp byte [ebx + 0x29], 0
je 0x1811307c
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_DrawFocusRect]
xor edi, edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test esi, esi
je 0x18113114
mov dword [ebp - 8], edi
call fcn.1800703b
push eax
lea ecx, [ebp - 8]
call fcn.1800774f
inc esi
lea ecx, [ebp - 8]
push esi
call fcn.18007652
push esi
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.18009f73
push dword [ebx + 0x2c]
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x27
mov eax, ebx
pop ecx
cmp byte [ecx + eax], 0
je 0x181130db
mov eax, dword [ebx + 0x40]
jmp 0x181130de
mov eax, dword [ebx + 0x3c]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x25
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push dword [eax - 0xc]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18007012
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181188e8
leave
ret 0x10
Function at 0x18148b1a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.18148797

Function at 0x1814f884
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1814f6fa

Function at 0x18154240
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1815426d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1815426d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x44f0a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b49eb
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.004a90a3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x44f122
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a6d37
mov eax, dword [eax]
push 0x4dc1f8
push eax
call fcn.004992a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a932e
test bl, bl
je 0x44f122
push 0x4dc1f8
lea ecx, [esp + 0xc]
call fcn.004a96be
push 0x4dfd58
lea ecx, [esp + 0xc]
call fcn.004a96be
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 0x44f15e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a932e
jmp 0x44f229
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 0x44f1e2
lea edx, [esp + 0x7c]
push 0x4dfd54
push edx
call fcn.004992a4
add esp, 8
test eax, eax
je 0x44f1e2
lea eax, [esp + 0x7c]
push 0x4dfd50
push eax
call fcn.004992a4
add esp, 8
test eax, eax
je 0x44f1e2
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 0x44f172
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.004a932e
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 0x44fa20
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 0x44fa82
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 0x44fa90
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b4a6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4e8168]
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 0x44fbc8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x44faf6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a932e
xor eax, eax
jmp 0x44fc3f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a946b
push esi
lea ecx, [esp + 0xc]
call fcn.004a96fa
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 0x44fc1d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0044fa20
test eax, eax
jne 0x44fc1d
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.0044fa20
test eax, eax
jne 0x44fc1d
lea eax, [esp + 0x14]
push 0x4dfd6c
push eax
call fcn.0049a3b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44fbfc
lea ecx, [esp + 0x14]
push 0x4dfd68
push ecx
call fcn.0049a330
mov esi, eax
add esp, 8
test esi, esi
jne 0x44fbfc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x44fbff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a941b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x44fb0e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a932e
xor eax, eax
jmp 0x44fc3f
mov byte [esi], 0
push 0x4dfd64
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.004a932e
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 0x461370
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 0x4613de
cmp si, 0x69
ja 0x4613de
add esi, 0xffd0
cmp si, 0x11
je 0x4613ae
push 0x11
call edi
test ax, ax
jge 0x4613ae
or esi, 0x2000
cmp si, 0x10
je 0x4613c3
push 0x10
call edi
test ax, ax
jge 0x4613c3
or esi, 0x4000
cmp si, 0x12
je 0x4613d8
push 0x12
call edi
test ax, ax
jge 0x4613d8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4613eb
mov esi, 0xbd
jmp 0x46139f
cmp si, 0x6e
jne 0x4613f8
mov esi, 0xbe
jmp 0x46139f
cmp si, 0x6f
jne 0x461399
mov esi, 0xbf
jmp 0x46139f

Function at 0x462e40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4f8950]
xor edx, edx
cmp eax, edx
jne 0x462e66
xor eax, eax
mov byte [eax + 0x4f8850], al
inc eax
cmp eax, 0x100
jl 0x462e4e
mov dword [0x4f8950], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4f8850
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x462ef7
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 0x462eca
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 0x462e98
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x462f70
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 0x462fc3
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 0x462faa
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