joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6463915f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x646391a9
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x64639150
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x6463915f
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x64a3ee02
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x646391b0
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.64620026
cmp eax, dword [ebp + 0xc]
pop eax
je 0x6463924f
add edi, 4
add eax, 2
dec ecx
jne 0x64639195
call 0x646391fc
loope 0x646391f2
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x6463924c
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x6463925d
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x64639210
cmp eax, ecx
ja 0x64639210
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x6463929a
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x64639290
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.64620505
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x40642a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x406439
pop dword [ebp - 0x34]
mov eax, 0x147281c7
sub eax, 0x14321d8e
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x426b90c1
add dword [ebp - 0x44], 0xbe6b48a
mov dword [ebp - 0x40], 0x6ac96f6d
add dword [ebp - 0x40], 0xc769dcd8
mov dword [ebp - 0x3c], 0x3320d888
sub dword [ebp - 0x3c], 0xe6d4945a
mov dword [ebp - 0x38], 0xff83093e
sub dword [ebp - 0x38], 0xff83093e
lea eax, [ebp - 0x44]
push eax
mov eax, 0xe7e94f80
sub eax, 0xe7a87f34
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x910fa00f
add dword [ebp - 0x44], 0xe362c947
mov dword [ebp - 0x40], 0x1f7b2478
sub dword [ebp - 0x40], 0xde0ec303
mov dword [ebp - 0x3c], 0xbe7bc479
sub dword [ebp - 0x3c], 0x5b0c580d
mov dword [ebp - 0x38], 0xdf49de8
add dword [ebp - 0x38], 0xf20b6218
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x209c502e
sub eax, 0x205b7fe6
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3a90f
push 0
call eax
mov ecx, 0x2fc1cec1
sub ecx, 0x2fc18287
mov edx, eax
mov ebx, 0x39c278c7
add ebx, 0xc67f3739
add ebx, dword [ebp - 0x34]
mov esi, 0xe4c6e985
add dword [ebp - 8], 0x3b9f4b69
mov edi, dword [ebx]
mov dword [ebp - 0xc], 0x1e8f2f5c
xor edi, esi
sub dword [ebp - 0x2c], ebx
mov dword [edx], edi
xor dword [ebp - 0x30], ecx
add edx, 0x95753918
sub edx, 0x95753914
add ebx, 4
loop 0x406555
add eax, 0x5b6de838
add eax, 0xa4933b83
mov ebx, eax
add eax, 0xe00bb2e1
add eax, 0x1ff44d24
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x100014e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x10028740]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
push ebx
push esi
lea esi, [ebp + 8]
cmovae esi, dword [ebp + 8]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001505
push 0
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, eax
mov eax, esi
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001528
push edx
sub eax, ebx
lea ecx, [ebp - 0x20c]
push ecx
inc eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x248], 0x3c
mov dword [ebp - 0x238], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x248]
mov dword [ebp - 0x244], 0
push eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
movdqu xmmword [ebp - 0x234], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp + 0x1c], 0x10
pop esi
pop ebx
jb 0x100015a5
push dword [ebp + 8]
call fcn.100070f6
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100070e7
mov esp, ebp
pop ebp
ret
Function at 0x10002a70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e39a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10028740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.100068df
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x10002b16
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.100079d2
push 0x1002751c
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.1000980b
push edi
push esi
call fcn.10006b75
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100070e7
mov esp, ebp
pop ebp
ret 4
Function at 0x10005d50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001e8a8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10028740]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x10028740]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x10005ea4
cmp byte [ebx + 0x45], 0
je 0x10005ea4
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x10005db0
xor al, al
jmp 0x10005ea6
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x10005df0
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x10005e31
dec eax
je 0x10005e35
sub eax, 2
je 0x10005e8b
xor bl, bl
jmp 0x10005e8d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x10005e6c
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.1000877f
add esp, 0x10
cmp esi, eax
jne 0x10005e2d
cmp byte [ebx + 0x45], 0
je 0x10005e8b
test esi, esi
jne 0x10005df0
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.10003e40
jmp 0x10005df0
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x10005ea0
push dword [esp + 0x18]
call fcn.100070f6
add esp, 4
mov al, bl
jmp 0x10005ea6
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100070e7
mov esp, ebp
pop ebp
ret
Function at 0x10006250
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e920
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x10028740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
mov dword [ebp - 4], 0
mov eax, dword [esi]
push 0x1002572f
push dword [ebp + 0x18]
mov dword [esi + 4], eax
push ecx
lea ecx, [ebp + 8]
call fcn.10005a10
test eax, eax
je 0x100063f7
lea edx, [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.10003460
push 0
push 2
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x288], 0x22c
lea eax, [ebp - 0x288]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x100063cd
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x58]
call fcn.100033b0
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.10003460
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x40]
call fcn.10005a10
test eax, eax
jne 0x1000637d
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x280]
cmp ecx, eax
jae 0x1000635d
mov ecx, dword [esi]
lea edx, [ebp - 0x280]
cmp ecx, edx
ja 0x1000635d
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 8]
jne 0x1000634f
push ecx
mov ecx, esi
call fcn.10006530
mov ecx, dword [esi + 4]
mov eax, dword [esi]
test ecx, ecx
je 0x10006379
mov eax, dword [eax + edi*4]
jmp 0x10006377
cmp eax, dword [esi + 8]
jne 0x1000636a
push ecx
mov ecx, esi
call fcn.10006530
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10006379
mov eax, dword [ebp - 0x280]
mov dword [ecx], eax
add dword [esi + 4], 4
lea eax, [ebp - 0x288]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp dword [ebp - 0x2c], 0x10
mov edi, eax
jb 0x1000639e
push dword [ebp - 0x40]
call fcn.100070f6
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x44], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x100063c5
push dword [ebp - 0x58]
call fcn.100070f6
add esp, 4
test edi, edi
jne 0x100062e2
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0x10
jb 0x100063e5
push dword [ebp - 0x28]
call fcn.100070f6
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp dword [ebp + 0x1c], 0x10
jb 0x10006408
push dword [ebp + 8]
call fcn.100070f6
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100070e7
mov esp, ebp
pop ebp
ret
Function at 0x10006430
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e960
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10028740]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
lea eax, [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10002180
lea ecx, [ebp - 0x1c]
call fcn.10006250
mov eax, dword [ebp - 0x18]
add esp, 0x18
mov ebx, dword [ebp - 0x1c]
xor edi, edi
sub eax, ebx
sar eax, 2
mov dword [ebp - 0x20], eax
test eax, eax
je 0x100064f5
lea esp, [esp]
push dword [ebx + edi*4]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [ebp - 0x20]
jb 0x100064d0
test ebx, ebx
je 0x10006502
push ebx
call fcn.100070f6
add esp, 4
cmp dword [ebp + 0x1c], 0x10
jb 0x10006513
push dword [ebp + 8]
call fcn.100070f6
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100070e7
mov esp, ebp
pop ebp
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x40bdb9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x40bdc8
pop dword [ebp - 0x28]
mov eax, 0x40bdc8
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x9a5b051e
sub dword [ebp - 0x38], 0x4c08bfd3
mov dword [ebp - 0x34], 0xe16be2
add dword [ebp - 0x34], 0x3151e063
mov dword [ebp - 0x30], 0xfc14c2ce
sub dword [ebp - 0x30], 0xafc87ea0
mov dword [ebp - 0x2c], 0xf4075627
add dword [ebp - 0x2c], 0xbf8a9d9
lea eax, [ebp - 0x38]
push eax
mov eax, 0xf17717ef
sub eax, 0xf136479b
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xa906aab7
sub dword [ebp - 0x38], 0x34944161
mov dword [ebp - 0x34], 0xc8e787b4
add dword [ebp - 0x34], 0x7884d9c1
mov dword [ebp - 0x30], 0x444521f8
sub dword [ebp - 0x30], 0xe0d5b58c
mov dword [ebp - 0x2c], 0x98bf2239
add dword [ebp - 0x2c], 0x6740ddc7
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x5373549f
add eax, 0xaccd7bad
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3c1ca
push 0
call eax
mov ecx, 0x35608b97
add ecx, 0xca9fc6c7
xor edi, edi
add edi, eax
mov ebx, 0x8318c56
sub ebx, 0x7efdc56
add ebx, dword [ebp - 0x28]
mov esi, 0xf0424723
add dword [ebp - 4], edx
mov edx, dword [ebx]
sub dword [ebp - 0xc], edi
sub edx, esi
add dword [ebp - 8], edi
mov dword [edi], edx
xor dword [ebp - 0x18], edx
add edi, 4
add ebx, 4
loop 0x40bee1
add eax, 0xd333ec49
add eax, 0x2ccd5002
mov ebx, eax
add eax, 5
mov ecx, 0x64db992f
add ecx, 0x9b6466d1
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x5482a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x644b4b
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.00636217
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x548322
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00632dd1
mov eax, dword [eax]
push 0xb1f29c
push eax
call fcn.006238f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.006364a2
test bl, bl
je 0x548322
push 0xb1f29c
lea ecx, [esp + 0xc]
call fcn.0063687e
push 0xb22e38
lea ecx, [esp + 0xc]
call fcn.0063687e
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 0x54835e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.006364a2
jmp 0x548429
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 0x5483e2
lea edx, [esp + 0x7c]
push 0xb22e34
push edx
call fcn.006238f4
add esp, 8
test eax, eax
je 0x5483e2
lea eax, [esp + 0x7c]
push 0xb22e30
push eax
call fcn.006238f4
add esp, 8
test eax, eax
je 0x5483e2
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 0x548372
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.006364a2
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 0x548c40
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 0x548ca2
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 0x548cb0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x644bcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xb37af0]
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 0x548de8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x548d16
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.006364a2
xor eax, eax
jmp 0x548e5f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0063662b
push esi
lea ecx, [esp + 0xc]
call fcn.006368ba
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0xb22e70
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x548e3d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00548c40
test eax, eax
jne 0x548e3d
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.00548c40
test eax, eax
jne 0x548e3d
lea eax, [esp + 0x14]
push 0xb22e4c
push eax
call fcn.00624ae0
mov esi, eax
add esp, 8
test esi, esi
jne 0x548e1c
lea ecx, [esp + 0x14]
push 0xb22e48
push ecx
call fcn.00624a60
mov esi, eax
add esp, 8
test esi, esi
jne 0x548e1c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x548e1f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.006365db
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x548d2e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.006364a2
xor eax, eax
jmp 0x548e5f
mov byte [esi], 0
push 0xb22e44
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.006364a2
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 0x560f10
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 0x560f7e
cmp si, 0x69
ja 0x560f7e
add esi, 0xffd0
cmp si, 0x11
je 0x560f4e
push 0x11
call edi
test ax, ax
jge 0x560f4e
or esi, 0x2000
cmp si, 0x10
je 0x560f63
push 0x10
call edi
test ax, ax
jge 0x560f63
or esi, 0x4000
cmp si, 0x12
je 0x560f78
push 0x12
call edi
test ax, ax
jge 0x560f78
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x560f8b
mov esi, 0xbd
jmp 0x560f3f
cmp si, 0x6e
jne 0x560f98
mov esi, 0xbe
jmp 0x560f3f
cmp si, 0x6f
jne 0x560f39
mov esi, 0xbf
jmp 0x560f3f

Function at 0x5627d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xb494a0]
xor edx, edx
cmp eax, edx
jne 0x5627f6
xor eax, eax
mov byte [eax + 0xb493a0], al
inc eax
cmp eax, 0x100
jl 0x5627de
mov dword [0xb494a0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xb493a0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x562887
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 0x56285a
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 0x562828
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x562900
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 0x562953
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 0x56293a
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