joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a3f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x99000]
push edi
jmp 0x4a3f3a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a3f41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a3f30
mov eax, 1
add ebx, ebx
jne 0x4a3f53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a3f64
jne 0x4a3f83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a3f83
dec eax
add ebx, ebx
jne 0x4a3f70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a3f48
add ebx, ebx
jne 0x4a3f7f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4a3fd5
xor ecx, ecx
sub eax, 3
jb 0x4a3f9b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a400a
sar eax, 1
mov ebp, eax
jmp 0x4a3fa6
add ebx, ebx
jne 0x4a3fa6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a3f74
inc ecx
add ebx, ebx
jne 0x4a3fb4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a3f74
add ebx, ebx
jne 0x4a3fc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a3fb6
jne 0x4a3fd2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a3fb6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a3ff4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a3fe6
jmp 0x4a3f36
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a3ff4
add edi, ecx
jmp 0x4a3f36
pop esi
mov edi, esi
mov ecx, 0x467
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a4012
cmp byte [edi], 7
jne 0x4a4012
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4a4017
lea edi, [esi + 0xa1000]
mov eax, dword [edi]
or eax, eax
je 0x4a4086
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12e198]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12e1d4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a4044
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12e1dc]
or eax, eax
je 0x4a4080
mov dword [ebx], eax
add ebx, 4
jmp 0x4a4061
call dword [esi + 0x12e1d8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4a40b7
cmp al, 0xef
ja 0x4a40aa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4a408c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4a4099
mov ebp, dword [esi + 0x12e1e0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4a40eb
sub esp, 0xffffff80
jmp 0x40125d
Function at 0x6d50378d
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x6d520030]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x6c]
push ecx
xor ebx, ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xa8]
push ebx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
call edi
test eax, eax
jne 0x6d503830
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.6d51357a
pop ecx
pop ecx
test eax, eax
je 0x6d503819
test ebx, ebx
je 0x6d50380d
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.6d51357a
pop ecx
pop ecx
test eax, eax
jle 0x6d503819
push ebx
call fcn.6d505895
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.6d505874
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x6d5037da
xor edi, edi
cmp ebx, edi
jne 0x6d503834
xor eax, eax
jmp 0x6d5038a0
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push ebx
test eax, eax
je 0x6d503863
call fcn.6d505895
pop ecx
cmp dword [ebp - 0x70], edi
je 0x6d503830
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x6d503830
call fcn.6d505895
pop ecx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push str.JavaHome
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x6d503853
cmp dword [ebp - 0x70], edi
je 0x6d503896
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.6d505874
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d508259
add ebp, 0x9c
leave
ret
Function at 0x6d50555d
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x294
mov eax, dword [0x6d520030]
xor eax, ebp
mov dword [ebp + 0x210], eax
mov eax, dword [ebp + 0x21c]
push ebx
push esi
push edi
push 0x10
pop edi
mov dword [ebp - 0x78], eax
call fcn.6d5053ca
push 8
mov esi, eax
call fcn.6d50582d
mov ebx, eax
pop ecx
lea eax, [ebp + 0xd0]
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x80], ebx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x6d5055c8
mov dword [ebx], eax
lea eax, [ebp + 0xfc]
mov dword [ebx + 4], eax
mov edi, dword [ebx + 4]
test edi, edi
je 0x6d5055cf
and dword [ebx + 4], 0
jmp 0x6d5055e4
xor eax, eax
jmp 0x6d5056af
lea eax, [ebp - 0x70]
push eax
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindNextFileA]
neg eax
sbb edi, edi
lea eax, [ebp - 0x44]
and edi, eax
test edi, edi
je 0x6d505695
push edi
call fcn.6d507a10
pop ecx
cmp eax, 4
jl 0x6d5055bb
add eax, edi
cmp byte [eax - 4], 0x2e
jne 0x6d5055bb
add eax, 0xfffffffd
push 0x6d51982c
push eax
mov dword [ebp - 0x74], eax
call fcn.6d508270
pop ecx
pop ecx
test eax, eax
je 0x6d50562a
push 0x6d519828
push dword [ebp - 0x74]
call fcn.6d508270
pop ecx
pop ecx
test eax, eax
jne 0x6d5055bb
push 0x3b
push edi
call fcn.6d5093f0
pop ecx
pop ecx
test eax, eax
jne 0x6d5055bb
push dword [ebp - 0x78]
call fcn.6d507a10
push edi
mov ebx, eax
call fcn.6d507a10
mov dword [ebp - 0x74], eax
add eax, ebx
push eax
call fcn.6d50582d
lea ecx, [ebx - 1]
push ecx
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
push eax
call fcn.6d51357a
mov eax, dword [ebp - 0x74]
inc eax
push eax
push edi
mov edi, dword [ebp - 0x7c]
lea eax, [edi + ebx - 1]
push eax
call fcn.6d51357a
mov ecx, dword [esi + 4]
add esp, 0x24
inc ecx
call fcn.6d505420
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0x80]
mov dword [ecx + eax*4], edi
inc dword [esi + 4]
jmp 0x6d5055bb
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindClose]
push dword [ebx + 4]
call fcn.6d505895
push ebx
call fcn.6d505895
pop ecx
pop ecx
mov eax, esi
mov ecx, dword [ebp + 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d508259
add ebp, 0x214
leave
ret

Function at 0x6d508259
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d520030]
jne 0x6d508263
repz ret
jmp fcn.6d50e721
Function at 0x6d51357a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x6d513589
pop dword [ebp - 0xc]
mov eax, 0xbbbd075
add eax, 0x61956514
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x3f34a17
add dword [ebp - 0x1c], 0x4a5efb34
mov dword [ebp - 0x18], 0x4e8211bc
add dword [ebp - 0x18], 0xe3b13a89
mov dword [ebp - 0x14], 0x4d5b8abd
add dword [ebp - 0x14], 0xfef0b971
mov dword [ebp - 0x10], 0x1c0084b
sub dword [ebp - 0x10], 0x1c0084b
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xb9dc9364
sub dword [ebp - 0x1c], 0x456a2a0e
mov dword [ebp - 0x18], 0xa6b9326
add dword [ebp - 0x18], 0x3700ce4f
mov dword [ebp - 0x14], 0x5e9daf4e
sub dword [ebp - 0x14], 0xfb2e42e2
mov dword [ebp - 0x10], 0xb8274a60
sub dword [ebp - 0x10], 0xb8274a60
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x136665d4
add eax, 0x59eb1a78
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x38da9
push 0
call eax
mov ecx, 0x3e9e
xor edi, edi
add edi, eax
mov edx, 0x9a8d567d
add edx, 0xd2c51183
add edx, dword [ebp - 0xc]
mov esi, 0x2b08d2a
sub dword [ebp - 8], esi
mov ebx, dword [edx]
sub dword [ebp - 8], 0xdcf9174
xor ebx, esi
add dword [ebp - 8], eax
mov dword [edi], ebx
sub dword [ebp - 8], eax
add edi, 0xd5443d60
add edi, 0x2abbc2a4
add edx, 4
loop 0x6d51369c
add eax, 0xed4b
mov ebx, eax
add eax, 0x8564a742
sub eax, 0x8564a73d
mov ecx, 0x23795329
sub ecx, 0xb6295329
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x48af60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xf0
mov eax, 0x4aefa4
mov dword [esp], eax
mov dword [esp + 4], 0x4b1888
mov dword [esp + 8], 0x4b1894
mov dword [esp + 0xc], 0x4ae0d0
mov dword [esp + 0x10], 0x49c150
mov dword [esp + 0x14], 0x4b1108
mov dword [esp + 0x18], 0x4b18a0
mov dword [esp + 0x1c], 0x49c170
mov dword [esp + 0x20], 0x4ae0cc
mov dword [esp + 0x24], 0x4b0cbc
mov dword [esp + 0x28], 0x4ae0c8
mov dword [esp + 0x2c], str._
mov dword [esp + 0x30], 0x4aec7c
mov dword [esp + 0x34], 0x4afeac
mov dword [esp + 0x38], 0x495930
mov dword [esp + 0x3c], 0x4ae0c4
mov dword [esp + 0x40], str.___
mov dword [esp + 0x44], str.0123456789
mov dword [esp + 0x48], 0x49d9a4
mov dword [esp + 0x4c], str.BDMS
mov dword [esp + 0x50], 0x4b2838
mov dword [esp + 0x54], 0x4b2778
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x4ae0b0
mov dword [esp + 0x64], 0x4ae0ac
mov dword [esp + 0x68], 0x4b1ea4
mov dword [esp + 0x6c], 0x4b056c
mov dword [esp + 0x70], 0x49d9ac
mov dword [esp + 0x74], 0x4addc4
mov dword [esp + 0x78], 0x4adda4
mov dword [esp + 0x7c], 0x4b0cb8
mov dword [esp + 0x80], 0x49d9a0
mov dword [esp + 0x84], 0x4add90
mov dword [esp + 0x88], 0x4add8c
mov dword [esp + 0x8c], 0x4addd0
mov dword [esp + 0x90], 0x4ae0a8
mov dword [esp + 0x94], 0x49a218
mov dword [esp + 0x98], 0x4addc8
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0x4ade78
mov dword [esp + 0xc0], 0x4ade54
mov dword [esp + 0xc4], 0x4ade3c
mov dword [esp + 0xc8], 0x49a21c
mov dword [esp + 0xcc], str.ZYXWVUTRQPNKJIHGFEA
mov dword [esp + 0xd0], 0x4ade70
mov dword [esp + 0xd4], 0x49c198
mov dword [esp + 0xd8], 0x4970c0
mov dword [esp + 0xdc], 0x4ade58
mov dword [esp + 0xe0], 0x4ade5c
mov dword [esp + 0xe4], 0x4ae0a4
mov dword [esp + 0xe8], 0x4ade60
mov dword [esp + 0xec], 0x4ade50
cmp cl, 0x3c
jae 0x48b17d
movzx eax, cl
mov eax, dword [esp + eax*4]
add esp, 0xf0
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40ea50
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40eb25
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40eb40
push ebx
push 0x40eb50
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040513c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403250
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404d24
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x40ead0
mov al, 0x6a
call fcn.0040e660
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040ea24
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x40ead9
call fcn.0040ea24
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40eb2c
lea eax, [ebp - 4]
call fcn.00404c88
ret

Function at 0x40ec40
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ed0b
jmp 0x40ecff
cmp dword [esi + 0x10], 0x1000
jne 0x40eceb
test byte [esi + 0x15], 1
jne 0x40eceb
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x40ec9c
cmp ebp, 2
je 0x40ec9c
cmp ebp, 0x10
je 0x40ec9c
cmp ebp, 0x20
jne 0x40ecb8
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40ecb8
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x40ecc9
mov eax, dword [esi]
add eax, ebx
call fcn.0040ec38
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x40ecbc
cmp byte [esp + 4], 0
je 0x40eceb
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery_1
test eax, eax
je 0x40ed0b
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x40ec71
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x10002eea
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
pushal
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push edi
push ecx
push 0x33
call 0x10008860
cmp al, 0x19
ja 0x10002f05
add al, 0x41
jmp 0x10002f07
add al, 0x47
pop ecx
pop edi
mov byte [edi], al
inc edi
loop 0x10002ef4
popal
leave
ret 8
Function at 0x41e6f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a853b
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.0049d1af
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41e772
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049b0c1
mov eax, dword [eax]
push 0x4caccc
push eax
call fcn.0048d054
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049d43a
test bl, bl
je 0x41e772
push 0x4caccc
lea ecx, [esp + 0xc]
call fcn.0049d7ca
push 0x4cacd8
lea ecx, [esp + 0xc]
call fcn.0049d7ca
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 0x41e7ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049d43a
jmp 0x41e879
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 0x41e832
lea edx, [esp + 0x7c]
push 0x4cacd4
push edx
call fcn.0048d054
add esp, 8
test eax, eax
je 0x41e832
lea eax, [esp + 0x7c]
push 0x4cacd0
push eax
call fcn.0048d054
add esp, 8
test eax, eax
je 0x41e832
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 0x41e7c2
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.0049d43a
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 0x41f080
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 0x41f0e2
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 0x41f0f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a85bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4dade8]
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 0x41f228
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41f156
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049d43a
xor eax, eax
jmp 0x41f29f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0049d577
push esi
lea ecx, [esp + 0xc]
call fcn.0049d806
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 0x41f27d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0041f080
test eax, eax
jne 0x41f27d
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.0041f080
test eax, eax
jne 0x41f27d
lea eax, [esp + 0x14]
push 0x4cace8
push eax
call fcn.0048e1c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41f25c
lea ecx, [esp + 0x14]
push 0x4cace4
push ecx
call fcn.0048e140
mov esi, eax
add esp, 8
test esi, esi
jne 0x41f25c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41f25f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049d527
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41f16e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049d43a
xor eax, eax
jmp 0x41f29f
mov byte [esi], 0
push 0x4cace0
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.0049d43a
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 0x42fba0
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 0x42fc0e
cmp si, 0x69
ja 0x42fc0e
add esi, 0xffd0
cmp si, 0x11
je 0x42fbde
push 0x11
call edi
test ax, ax
jge 0x42fbde
or esi, 0x2000
cmp si, 0x10
je 0x42fbf3
push 0x10
call edi
test ax, ax
jge 0x42fbf3
or esi, 0x4000
cmp si, 0x12
je 0x42fc08
push 0x12
call edi
test ax, ax
jge 0x42fc08
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42fc1b
mov esi, 0xbd
jmp 0x42fbcf
cmp si, 0x6e
jne 0x42fc28
mov esi, 0xbe
jmp 0x42fbcf
cmp si, 0x6f
jne 0x42fbc9
mov esi, 0xbf
jmp 0x42fbcf

Function at 0x4315a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4eb578]
xor edx, edx
cmp eax, edx
jne 0x4315c6
xor eax, eax
mov byte [eax + 0x4eb478], al
inc eax
cmp eax, 0x100
jl 0x4315ae
mov dword [0x4eb578], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4eb478
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x431657
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 0x43162a
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 0x4315f8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x431660
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 0x4316b3
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 0x43169a
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