joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cc34c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cc5ac
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4cc3af
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004cbe14
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040dff0
cmp al, 1
jne 0x4cc3af
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004cc12c
test al, al
je 0x4cc53b
cmp dword [ebp - 8], 0
jge 0x4cc3cd
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004cbe14
mov eax, dword [ebp - 0x210]
call fcn.00404f0c
cmp ebx, eax
jge 0x4cc417
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004cbe14
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4edb08]
and eax, 0xff
bt dword [edx], eax
jae 0x4cc417
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4cc42b
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004cc328
cmp ebx, dword [ebp - 8]
je 0x4cc52d
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4cc457
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403fe8
and eax, 0x7f
movzx eax, word [eax*2 + 0x4ed1fc]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4cc51a
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403fe8
and eax, 0x7f
movzx eax, word [eax*2 + 0x4ed1fc]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0045da28
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403fe8
and eax, 0x7f
movzx eax, word [eax*2 + 0x4ed1fc]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0045da28
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc521
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4cc58e
cmp dword [ebp - 8], 0
jge 0x4cc546
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004cbe14
mov eax, dword [ebp - 0x218]
call fcn.00404f0c
cmp eax, dword [ebp - 8]
jg 0x4cc580
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004cbe14
mov eax, dword [ebp - 0x21c]
call fcn.00404f0c
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004cc328
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc5b3
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404c70
ret
Function at 0x4d6d84
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbc4
xor eax, eax
mov dword [ebp - 0x43c], eax
mov dword [ebp - 0x3c0], eax
mov dword [ebp - 0x3bc], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4d6f56
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x6e
lea eax, [ebp - 0x247]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 0x3bc]
lea eax, [ebp - 0x247]
call fcn.0040a14c
mov edx, dword [ebp - 0x3bc]
lea eax, [ebp - 0x3b8]
mov ecx, 0xff
call fcn.00404ee8
lea edx, [ebp - 0x3b8]
lea eax, [ebp - 0x2b6]
mov cl, 0x6e
call fcn.004032e4
lea edx, [ebp - 0x2b6]
lea eax, [ebp - 0x438]
call fcn.004032d8
mov edx, 0x4d6f64
lea eax, [ebp - 0x438]
mov cl, 0x76
call fcn.004032a8
lea edx, [ebp - 0x438]
lea eax, [ebp - 0x3c0]
call fcn.00404eb0
mov eax, dword [ebp - 0x3c0]
call fcn.00409cbc
test al, al
je 0x4d6f20
lea edx, [ebp - 0x2b6]
lea eax, [ebp - 0x438]
call fcn.004032d8
mov edx, 0x4d6f64
lea eax, [ebp - 0x438]
mov cl, 0x76
call fcn.004032a8
lea edx, [ebp - 0x438]
lea eax, [ebp - 0x43c]
call fcn.00404eb0
mov edx, dword [ebp - 0x43c]
lea eax, [ebp - 0x1d8]
call fcn.00403188
lea eax, [ebp - 0x1d8]
call fcn.00402f18
call fcn.00402d00
lea edx, [ebp - 4]
lea eax, [ebp - 0x1d8]
call fcn.00403580
lea eax, [ebp - 0x1d8]
call fcn.004035ec
call fcn.00402d00
lea edx, [ebp - 8]
lea eax, [ebp - 0x1d8]
call fcn.00403580
lea eax, [ebp - 0x1d8]
call fcn.004035ec
call fcn.00402d00
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x1d8]
call fcn.00403580
lea eax, [ebp - 0x1d8]
call fcn.004035ec
call fcn.00402d00
mov eax, 0x4eef70
mov edx, dword [ebp - 4]
call fcn.00404ca0
mov eax, 0x4eef74
mov edx, dword [ebp - 8]
call fcn.00404ca0
lea eax, [ebp - 0x1d8]
call fcn.00403250
call fcn.00402d00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6f5d
lea eax, [ebp - 0x43c]
call fcn.00404c4c
lea eax, [ebp - 0x3c0]
mov edx, 2
call fcn.00404c70
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c70
ret
Function at 0x4d7a70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbc4
push ebx
xor edx, edx
mov dword [ebp - 0x43c], edx
mov dword [ebp - 0x3c0], edx
mov dword [ebp - 0x3bc], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d7ceb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x6e
lea eax, [ebp - 0x247]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 0x3bc]
lea eax, [ebp - 0x247]
call fcn.0040a14c
mov edx, dword [ebp - 0x3bc]
lea eax, [ebp - 0x3b8]
mov ecx, 0xff
call fcn.00404ee8
lea edx, [ebp - 0x3b8]
lea eax, [ebp - 0x2b6]
mov cl, 0x6e
call fcn.004032e4
lea edx, [ebp - 0x2b6]
lea eax, [ebp - 0x438]
call fcn.004032d8
mov edx, 0x4d7cf8
lea eax, [ebp - 0x438]
mov cl, 0x76
call fcn.004032a8
lea edx, [ebp - 0x438]
lea eax, [ebp - 0x3c0]
call fcn.00404eb0
mov eax, dword [ebp - 0x3c0]
call fcn.00409cbc
test al, al
je 0x4d7c6c
lea edx, [ebp - 0x2b6]
lea eax, [ebp - 0x438]
call fcn.004032d8
mov edx, 0x4d7cf8
lea eax, [ebp - 0x438]
mov cl, 0x76
call fcn.004032a8
lea edx, [ebp - 0x438]
lea eax, [ebp - 0x43c]
call fcn.00404eb0
mov edx, dword [ebp - 0x43c]
lea eax, [ebp - 0x1d8]
call fcn.00403188
lea eax, [ebp - 0x1d8]
call fcn.00402f18
call fcn.00402d00
lea edx, [ebp - 4]
lea eax, [ebp - 0x1d8]
call fcn.00403580
lea eax, [ebp - 0x1d8]
call fcn.004035ec
call fcn.00402d00
lea edx, [ebp - 8]
lea eax, [ebp - 0x1d8]
call fcn.00403580
lea eax, [ebp - 0x1d8]
call fcn.004035ec
call fcn.00402d00
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x1d8]
call fcn.00403580
lea eax, [ebp - 0x1d8]
call fcn.004035ec
call fcn.00402d00
lea eax, [ebx + 0x330]
mov edx, dword [ebp - 0xc]
call fcn.00404ca0
lea eax, [ebx + 0x334]
mov edx, dword [ebp - 8]
call fcn.00404ca0
lea eax, [ebx + 0x338]
mov edx, dword [ebp - 4]
call fcn.00404ca0
cmp dword [ebx + 0x330], 0
jne 0x4d7c28
lea eax, [ebx + 0x330]
mov edx, 0x4d7d0c
call fcn.00404ca0
cmp dword [ebx + 0x334], 0
jne 0x4d7c41
lea eax, [ebx + 0x334]
mov edx, 0x4d7d0c
call fcn.00404ca0
cmp dword [ebx + 0x338], 0
jne 0x4d7c5a
lea eax, [ebx + 0x338]
mov edx, 0x4d7d0c
call fcn.00404ca0
lea eax, [ebp - 0x1d8]
call fcn.00403250
call fcn.00402d00
jmp 0x4d7c9c
lea eax, [ebx + 0x330]
mov edx, 0x4d7d1c
call fcn.00404ca0
lea eax, [ebx + 0x334]
mov edx, 0x4d7d0c
call fcn.00404ca0
lea eax, [ebx + 0x338]
mov edx, 0x4d7d0c
call fcn.00404ca0
cmp dword [ebx + 0x330], 0
jne 0x4d7cb5
lea eax, [ebx + 0x330]
mov edx, 0x4d7d1c
call fcn.00404ca0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d7cf2
lea eax, [ebp - 0x43c]
call fcn.00404c4c
lea eax, [ebp - 0x3c0]
mov edx, 2
call fcn.00404c70
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c70
ret
Function at 0x4d7d24
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
xor edx, edx
mov dword [ebp - 0x3b4], edx
mov dword [ebp - 0x3b0], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d7e68
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x6e
lea eax, [ebp - 0x23b]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 0x3b0]
lea eax, [ebp - 0x23b]
call fcn.0040a14c
mov edx, dword [ebp - 0x3b0]
lea eax, [ebp - 0x3ac]
mov ecx, 0xff
call fcn.00404ee8
lea edx, [ebp - 0x3ac]
lea eax, [ebp - 0x2aa]
mov cl, 0x6e
call fcn.004032e4
lea edx, [ebp - 0x2aa]
lea eax, [ebp - 0x42c]
call fcn.004032d8
mov edx, 0x4d7e74
lea eax, [ebp - 0x42c]
mov cl, 0x76
call fcn.004032a8
lea edx, [ebp - 0x42c]
lea eax, [ebp - 0x3b4]
call fcn.00404eb0
mov edx, dword [ebp - 0x3b4]
lea eax, [ebp - 0x1cc]
call fcn.00403188
lea eax, [ebp - 0x1cc]
call fcn.00402f24
call fcn.00402d00
mov edx, dword [ebx + 0x338]
lea eax, [ebp - 0x1cc]
call fcn.00405328
call fcn.00403870
call fcn.00402d00
mov edx, dword [ebx + 0x334]
lea eax, [ebp - 0x1cc]
call fcn.00405328
call fcn.00403870
call fcn.00402d00
mov edx, dword [ebx + 0x330]
lea eax, [ebp - 0x1cc]
call fcn.00405328
call fcn.00403870
call fcn.00402d00
lea eax, [ebp - 0x1cc]
call fcn.00403250
call fcn.00402d00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d7e6f
lea eax, [ebp - 0x3b4]
mov edx, 2
call fcn.00404c70
ret
Function at 0x40ae50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
add byte [eax], al
add byte [edx + 0x631d4606], cl
mov byte [ebp + 0x10], al
jbe 0x40ae1d
mov eax, dword [ebp + 0x10]
mov ebx, 0x22b70064
and eax, 0xff
sbb bh, dh
adc al, 4
xor byte [edi], bl
push ebp
adc byte [eax + 0x205e41a7], cl
cmp al, 9
jbe fcn.0040ae50
mov eax, dword [ebp + 0x10]
mov byte [edx], cl
in al, 0
add byte [0x46], ah
cdq
idiv ebx
add al, 0x30
mov byte [ecx], al
inc ecx
mov al, dl
add al, 0x30
mov byte [ecx], al
inc ecx
invalid
push ebp
mov ebp, esp
sub esp, 0xffffffc4
push ebx
push esi
mov esi, dword [ebp - 0x22]
push edi
cmp dword [esi], 0
ja 0x40adf6
mov dword [esi], 0
pop edi
pop esi
xor eax, eax
pop ebx
push es
les ebx, [ebp - 0x3e]
or al, 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x18]
fcom dword [esi + 2]
je 0x40aee2
mov eax, dword [ebx - 0x68]
test dword [esi + 0x3725e75], eax
pop esi
jb 0x40ae89
salc
adc al, 0x50
xor edi, edi
call 0xff7d4a6e
dec eax
enter 0x3889, 0xffffffffffffff89
js 0x40ae83
mov bh, 0xbf
or byte [ecx - 0x51a8f388], cl
push edi
mov dword [eax + 0x20], edi
push edi
mov dword [ebx + 0xc], ecx
invalid
mov eax, dword [ebx + 0x30]
test al, 0xcf
invalid

Function at 0x40b2d0
Capabilities:
Write file on windows

Disassembly:
jne 0x40b2c0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
pop ebx
pop edi
mov eax, 0x1ee7e
mov dword [ecx], edx
pop esi
pop ebp
ret
mov edx, dword [ebx]
adc byte [edx + 0x5f], al
mov dword [ecx], edx
mov ebp, 0x9090c35d
nop
nop
nop
cdq
push ebp
mov ebp, esp
rcr bh, 0x8b
dec ebp
or byte [edx - 0x3f7b11f8], cl
je 0x40b3a1
mov ebx, esp
dec eax
xor eax, eax
ja 0x40b26d
imul eax, dword [ecx], 0x3f
mov dword [ebp - 4], eax
mov dword [ebp + 8], eax
jne 0x40b395
mov esp, 0xf83b3c7e
mov eax, 0x9184
add byte [esi + ebx*2 - 0x7cdb], ah
jbe 0x40b311
js 0x40b2d6
invalid
xor bh, al
mov bh, 0x56
add al, 0x8d
dec ebp
cld
push 0
push ecx
push eax
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
lcall 0xfcdd, 0x8b2f7449
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
add eax, dword [ebx]
adc ecx, 0
sub ebp, dword [esi]
add ebx, eax
mov dword [esi + 0x50], edx
test dword [ebx - 0x77], ecx
dec esi
je 0x40b3bb
ret 0x4509
mov eax, dword [ebp + 8]
pop ebx
bound ecx, qword [ebx + 0x4c25de5]
add byte [ebx], dh
rcr byte [esi + 0x3f], 0xe5
int 0x98
xor eax, eax
pop esi
aas
in eax, 0xcd
cwde
add al, 0
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
lea ecx, [eax + 2]
mov eax, 0x5555a556
movsd dword es:[edi], dword [esi]
push ebp
push ebp
imul ecx
mov ecx, edx
shr ecx, 0x1f
xchg esi, eax
ror dword [ebp + 0x19504], 1
add byte [eax], al
pop ebp
sub dword [ebx + edi*8], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
dec esp
nop
nop
nop
Function at 0x1000104d
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.10001cde
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.10001cde
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.10001cde
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 0
call fcn.10001cf0
cmp dword [ebp - 0x20], esp
je 0x1000110a
push 6
call fcn.10001cea
add esp, 4
mov dword [ebp - 4], eax
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10001123
push ebx
call fcn.10001cd8
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 1
call fcn.10001cf0
cmp dword [ebp - 0x20], esp
je 0x10001152
push 6
call fcn.10001cea
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x1007083d
mov eax, 2
call fcn.10001cf0
cmp dword [ebp - 0x20], esp
je 0x1000117c
push 6
call fcn.10001cea
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 3
call fcn.10001cf0
cmp dword [ebp - 0x20], esp
je 0x10001210
push 6
call fcn.10001cea
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 4
call fcn.10001cf0
cmp dword [ebp - 0x20], esp
je 0x10001235
push 6
call fcn.10001cea
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x1000123d
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000124e
push ebx
call fcn.10001cd8
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.10001cd8
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.10001cd8
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.10001cd8
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x1000a040
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1006a71b
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.1005f089
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x1000a0c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.1005cfa0
mov eax, dword [eax]
push 0x100851f0
push eax
call fcn.1004fbf4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.1005f314
test bl, bl
je 0x1000a0c2
push 0x100851f0
lea ecx, [esp + 0xc]
call fcn.1005f6a4
push 0x10088d6c
lea ecx, [esp + 0xc]
call fcn.1005f6a4
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 0x1000a0fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.1005f314
jmp 0x1000a1c9
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 0x1000a182
lea edx, [esp + 0x7c]
push 0x10088d68
push edx
call fcn.1004fbf4
add esp, 8
test eax, eax
je 0x1000a182
lea eax, [esp + 0x7c]
push 0x10088d64
push eax
call fcn.1004fbf4
add esp, 8
test eax, eax
je 0x1000a182
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 0x1000a112
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.1005f314
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 0x1000a9e0
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 0x1000aa42
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 0x1000aa50
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x1006a79b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x1009234c]
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 0x1000ab88
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x1000aab6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1005f314
xor eax, eax
jmp 0x1000abff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.1005f451
push esi
lea ecx, [esp + 0xc]
call fcn.1005f6e0
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 0x1000abdd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.1000a9e0
test eax, eax
jne 0x1000abdd
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.1000a9e0
test eax, eax
jne 0x1000abdd
lea eax, [esp + 0x14]
push 0x10088d80
push eax
call fcn.10050c30
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000abbc
lea ecx, [esp + 0x14]
push 0x10088d7c
push ecx
call fcn.10050bb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000abbc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x1000abbf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.1005f401
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x1000aace
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1005f314
xor eax, eax
jmp 0x1000abff
mov byte [esi], 0
push 0x10088d78
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.1005f314
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 0x1001cae0
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 0x1001cb4e
cmp si, 0x69
ja 0x1001cb4e
add esi, 0xffd0
cmp si, 0x11
je 0x1001cb1e
push 0x11
call edi
test ax, ax
jge 0x1001cb1e
or esi, 0x2000
cmp si, 0x10
je 0x1001cb33
push 0x10
call edi
test ax, ax
jge 0x1001cb33
or esi, 0x4000
cmp si, 0x12
je 0x1001cb48
push 0x12
call edi
test ax, ax
jge 0x1001cb48
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x1001cb5b
mov esi, 0xbd
jmp 0x1001cb0f
cmp si, 0x6e
jne 0x1001cb68
mov esi, 0xbe
jmp 0x1001cb0f
cmp si, 0x6f
jne 0x1001cb09
mov esi, 0xbf
jmp 0x1001cb0f

Function at 0x1001e200
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x100a29c0]
xor edx, edx
cmp eax, edx
jne 0x1001e226
xor eax, eax
mov byte [eax + 0x100a28c0], al
inc eax
cmp eax, 0x100
jl 0x1001e20e
mov dword [0x100a29c0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x100a28c0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x1001e2b7
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 0x1001e28a
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 0x1001e258
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1001e330
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 0x1001e383
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 0x1001e36a
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