joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459ce6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x477b9c
je 0x459da2
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x459d8a
mov esi, dword [ebx + 4]
jmp 0x459d84
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x459d74
cmp dword [ebp - 0xc], 4
jne 0x459d74
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x459d6c
or dword [eax + 0x9c], ecx
jmp 0x459d74
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x459d38
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x459d1b
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x45a15b
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x460d47
call fcn.0043bcb0
sub esp, 0x11c
mov eax, dword [0x477e98]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x124]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x45a254
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x45a228
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.00401a20
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.0045a15b
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.004011c0
test bl, bl
jne 0x45a228
or dword [ebp - 4], 0xffffffff
jmp 0x45a199
cmp esi, 0x103
je 0x45a238
cmp esi, 0x3f2
jne 0x45a248
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.00438ac6
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x45a826
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x45a85b
cmp edi, dword [esi + 0xc]
jge 0x45a85b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x45a85b
cmp edi, dword [eax + 8]
jge 0x45a85b
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x45a85d
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x45a961
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x45a995
jmp fcn.0044c62d
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x45aa06
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x45aaff
cmp eax, dword [edi + 0xc]
jge 0x45aaff
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x45aa57
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x45aae8
cmp dword [ebp + 0xc], ebx
je 0x45aae8
jmp 0x45aa81
push 0x10
call fcn.0045a6f2
cmp eax, ebx
je 0x45aa6d
mov ecx, eax
call fcn.0045a958
mov esi, eax
jmp 0x45aa6f
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x45aa98
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x45aaa8
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x45aaba
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0044c62d
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.0043bc50
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x45aafa
cmp ecx, dword [esi + 8]
jge 0x45aafa
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x45ab00
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x45b30a
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_recv]
ret 0xc

Function at 0x45b322
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_send]
ret 0xc

Function at 0x45b3ca
Capabilities:
Connect socket

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x45b917
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
mov ebx, dword [ebp + 8]
push edi
xor edi, edi
cmp ebx, edi
jne 0x45b934
cmp dword [ebp + 0xc], edi
je 0x45ba29
push 1
push ebx
call fcn.0045b368
test eax, eax
jne 0x45ba29
push esi
push edi
push ebx
call fcn.0045b368
mov esi, eax
cmp esi, edi
jne 0x45b980
call fcn.00459886
mov ecx, dword [eax + 0x30]
push 0xffffffffffffffff
call fcn.0044ded0
mov esi, eax
cmp esi, edi
je 0x45ba28
push edi
push 0xffffffffffffffff
mov dword [esi + 4], ebx
call fcn.0045b837
push edi
push esi
push dword [esi + 4]
call fcn.0045b770
movzx eax, word [ebp + 0xc]
mov ebx, dword [ebp + 0xc]
shr ebx, 0x10
dec eax
je 0x45b9d9
dec eax
je 0x45b9cf
dec eax
dec eax
je 0x45b9c5
sub eax, 4
je 0x45b9bb
sub eax, 8
je 0x45b9b1
sub eax, 0x10
jne 0x45ba28
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x30]
jmp 0x45ba28
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x2c]
jmp 0x45ba28
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x28]
jmp 0x45ba28
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x24]
jmp 0x45ba28
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x20]
jmp 0x45ba28
mov eax, dword [esi + 4]
mov dword [ebp - 0x108], eax
lea eax, [ebp - 8]
push eax
push edi
push edi
lea eax, [ebp - 0x10c]
push eax
push edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10c], 1
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
jne 0x45ba16
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp dword [ebp + 0xc], 1
je 0x45ba20
cmp ebx, edi
je 0x45ba28
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x1c]
pop esi
pop edi
pop ebx
leave
ret 8
Function at 0x45bf49
Capabilities:
Initialize winsock library

Disassembly:
mov eax, 0x460e36
call fcn.0043bcb0
sub esp, 0x198
mov eax, dword [0x477e98]
push ebx
push esi
push edi
push 0x45a613
mov ecx, 0x47c35c
mov dword [ebp - 0x10], eax
call fcn.0045a886
mov edi, eax
xor ebx, ebx
cmp dword [edi + 0xc], ebx
jne 0x45bfab
mov esi, dword [ebp + 8]
cmp esi, ebx
jne 0x45bf89
lea esi, [ebp - 0x1a0]
push esi
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, ebx
jne 0x45bfdd
cmp byte [esi], 1
jne 0x45bfd7
cmp byte [esi + 1], 1
jne 0x45bfd7
mov dword [edi + 0xc], 0x45bf16
call fcn.00459886
mov esi, eax
cmp dword [esi + 0x30], ebx
jne 0x45bfea
push 0x1c
call fcn.00452abe
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x45bfe1
push 0xa
call fcn.0044dfeb
jmp 0x45bfe3
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x45c04d
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x30], eax
cmp dword [esi + 0x34], ebx
jne 0x45c01c
push 0x1c
call fcn.00452abe
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], 1
je 0x45c013
push 0xa
call fcn.0044dfeb
jmp 0x45c015
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x34], eax
cmp dword [esi + 0x38], ebx
jne 0x45c04a
push 0x1c
call fcn.00452abe
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], 2
je 0x45c045
push 0xa
call fcn.0044d58d
jmp 0x45c047
xor eax, eax
mov dword [esi + 0x38], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.00438ac6
leave
ret 4
Function at 0x5ba610
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x5c04cc]
cmp dword [eax + 0x28], 0
jne 0x5ba628
xor eax, eax
jmp 0x5ba757
mov ecx, dword [0x5c043c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 0xe
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [0x5c0430], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [0x5c042c], eax
push 0
call dword [0x5be138]
mov dword [ebp - 0x10], eax
push 1
call dword [0x5be138]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x5c0430]
mov dword [ebp - 0x40], ecx
mov edx, dword [0x5c042c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x40]
shr eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 8]
shr ecx, 1
mov dword [ebp - 0x1c], ecx
push 0
mov edx, dword [0x5c04b8]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x80000000
push 0x5be680
push 0x5be6d0
push 0x88
call dword [0x5be134]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [0x5c0428], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0x5be10c]
push eax
call fcn.005ba550
push 5
mov eax, dword [ebp - 0xc]
push eax
call dword [0x5be148]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0x5be12c]
push 0x5ba5e0
mov edx, dword [0x5c04cc]
mov eax, dword [edx + 0x34]
imul eax, eax, 0x3e8
push eax
push 0
push 0
call dword [0x5be13c]
mov dword [0x5c0434], eax
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [0x5be130]
test eax, eax
je 0x5ba757
cmp dword [ebp - 0x38], 0x12
jne 0x5ba74b
mov dword [0x5c0444], 0
call fcn.005ba760
xor eax, eax
jmp 0x5ba757
lea edx, [ebp - 0x3c]
push edx
call dword [0x5be140]
jmp 0x5ba71c
mov esp, ebp
pop ebp
ret 4

Function at 0x5bbb30
Capabilities:
Read .ini file
Read and send data from client to server
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebp
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
pop ebp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x5bc6cc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x5be168
sub eax, eax
test esi, esi
je 0x5bc7a4
sub eax, 1
test ecx, ecx
je 0x5bc7a2
test esi, 3
je 0x5bc70a
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x5bc6ef
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x5bc789
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x5bc714
mov ecx, edx
test ecx, ecx
je 0x5bc7a2
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x5bc78f
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x5bc7ac
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.005bc82f
jae 0x5bc7ba
xor ecx, ecx
call fcn.005bc82f
jae 0x5bc7e9
xor eax, eax
call fcn.005bc82f
jae 0x5bc7f9
mov bl, 2
inc ecx
mov al, 0x10
call fcn.005bc82f
adc al, al
jae 0x5bc7db
jne 0x5bc825
stosb byte es:[edi], al
jmp 0x5bc7bd
call fcn.005bc83b
sub ecx, ebx
jne 0x5bc802
call fcn.005bc839
jmp 0x5bc821
lodsb al, byte [esi]
shr eax, 1
je 0x5bc84b
adc ecx, ecx
jmp 0x5bc81e
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.005bc839
cmp eax, 0x7d00
jae 0x5bc81e
cmp ah, 5
jae 0x5bc81f
cmp eax, 0x7f
ja 0x5bc820
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5bc7bd
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x5bd17c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5c0000]
jne 0x5bd186
repz ret
jmp fcn.005bd42d
Function at 0x425260
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4fbe0b
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.004edef7
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4252e2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004eb39a
mov eax, dword [eax]
push 0x53b25c
push eax
call fcn.004db594
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004ee182
test bl, bl
je 0x4252e2
push 0x53b25c
lea ecx, [esp + 0xc]
call fcn.004ee55e
push 0x53ee00
lea ecx, [esp + 0xc]
call fcn.004ee55e
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 0x42531e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004ee182
jmp 0x4253e9
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 0x4253a2
lea edx, [esp + 0x7c]
push 0x53edfc
push edx
call fcn.004db594
add esp, 8
test eax, eax
je 0x4253a2
lea eax, [esp + 0x7c]
push 0x53edf8
push eax
call fcn.004db594
add esp, 8
test eax, eax
je 0x4253a2
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 0x425332
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.004ee182
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 0x426070
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 0x4260d2
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 0x4260e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4fbecb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x54f3d0]
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 0x426218
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x426146
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ee182
xor eax, eax
jmp 0x42628f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004ee30b
push esi
lea ecx, [esp + 0xc]
call fcn.004ee59a
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x53ee38
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42626d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00426070
test eax, eax
jne 0x42626d
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.00426070
test eax, eax
jne 0x42626d
lea eax, [esp + 0x14]
push 0x53ee14
push eax
call fcn.004dc6b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42624c
lea ecx, [esp + 0x14]
push 0x53ee10
push ecx
call fcn.004dc630
mov esi, eax
add esp, 8
test esi, esi
jne 0x42624c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42624f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004ee2bb
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42615e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ee182
xor eax, eax
jmp 0x42628f
mov byte [esi], 0
push 0x53ee0c
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.004ee182
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 0x439740
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 0x4397ae
cmp si, 0x69
ja 0x4397ae
add esi, 0xffd0
cmp si, 0x11
je 0x43977e
push 0x11
call edi
test ax, ax
jge 0x43977e
or esi, 0x2000
cmp si, 0x10
je 0x439793
push 0x10
call edi
test ax, ax
jge 0x439793
or esi, 0x4000
cmp si, 0x12
je 0x4397a8
push 0x12
call edi
test ax, ax
jge 0x4397a8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4397bb
mov esi, 0xbd
jmp 0x43976f
cmp si, 0x6e
jne 0x4397c8
mov esi, 0xbe
jmp 0x43976f
cmp si, 0x6f
jne 0x439769
mov esi, 0xbf
jmp 0x43976f

Function at 0x43af70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x560338]
xor edx, edx
cmp eax, edx
jne 0x43af96
xor eax, eax
mov byte [eax + 0x560238], al
inc eax
cmp eax, 0x100
jl 0x43af7e
mov dword [0x560338], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x560238
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x43b027
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 0x43affa
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 0x43afc8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x43b0a0
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 0x43b0f3
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 0x43b0da
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