joyce8/EMBER2024-capa huggingface dataset:
Function at 0x479e68
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x479fb2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00479398
xor eax, eax
push ebp
push 0x479f95
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x479ecd
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x479ecd
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x479f7f
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x479ee0
call fcn.00404a6c
jmp 0x479f9c
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x479f7f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x479f7f
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00404324
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x479f7f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040e770
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x479fcc
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x5f6bf8]
mov dl, 1
mov eax, dword [0x4786ac]
call fcn.0040f0a8
call fcn.004049c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479f9c
mov eax, dword [ebp - 4]
call fcn.004793a4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479fb9
lea eax, [ebp - 0x28]
call fcn.0040504c
ret

Function at 0x488348
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x4883dc
push 0
mov eax, ebx
call fcn.00405538
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x4883b7
mov eax, esi
call fcn.00405338
inc eax
push eax
mov eax, esi
call fcn.00405538
push eax
push 1
push 0
mov eax, edi
call fcn.00405538
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
test ebx, ebx
je 0x4883d2
mov ecx, dword [0x5f67ec]
mov dl, 1
mov eax, dword [0x486304]
call fcn.0040f06c
call fcn.004049c0
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x488430
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x419810]
call fcn.00405d1c
xor eax, eax
push ebp
push 0x488574
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5e4a34], 0
jne 0x488483
mov ecx, dword [0x5f65a8]
mov dl, 1
mov eax, dword [0x40907c]
call fcn.0040f06c
call fcn.004049c0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004038a8
mov eax, ebx
call fcn.004059d8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x488584
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406fa8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004059e8
test eax, eax
jle 0x48851b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
test eax, eax
je 0x488514
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00405300
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004052cc
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040a040
test eax, eax
jne 0x488514
mov ebx, 0x15
jmp 0x488520
mov ebx, 0x10
jmp 0x488520
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x5e4a34]
call fcn.004882d8
mov eax, dword [ebp - 8]
call fcn.004882d8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406fc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48857b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00405070
lea eax, [ebp - 0x10]
mov edx, dword [0x419810]
call fcn.00405dec
ret

Function at 0x48d618
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x48d646
mov eax, ebx
call fcn.0048e0bc
cmp dword [ebx + 0x3c], 0
je 0x48d63f
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x48d6b7
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x48d6a9
cmp dword [ebx + 8], 0
je 0x48d668
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x48d67a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48d6a9
cmp dword [ebx + 8], 0
je 0x48d65b
cmp eax, 3
je 0x48d68d
dec eax
jne 0x48d65b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x48d65b
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x48d65b
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x48d6d5
cmp dword [ebx + 0x10], 0xcc
je 0x48d6d5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0048d6e0
pop ebx
ret
Function at 0x49ea2c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
mov ebx, 0x5e7038
test edx, edx
jne 0x49ea3c
xor eax, eax
pop esi
pop ebx
ret
xor eax, 0xffffffff
cmp ecx, 8
jb 0x49eb04
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
sub ecx, 8
shr eax, 8
mov esi, dword [ebx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ebx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ebx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ebx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ebx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ebx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ebx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ebx + esi*4]
xor esi, eax
cmp ecx, 8
mov eax, esi
jae 0x49ea48
test ecx, ecx
je 0x49eb21
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ebx + esi*4]
xor esi, eax
dec ecx
mov eax, esi
jne 0x49eb08
xor eax, 0xffffffff
pop esi
pop ebx
ret
Function at 0x4a4480
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp], edx
mov dl, byte [eax + 8]
cmp dl, 3
je 0x4a460d
xor esi, esi
xor edi, edi
mov ebx, dword [eax]
test dl, 2
mov dword [esp + 4], ebx
je 0x4a44d1
movzx ebp, byte [ecx]
xor edx, edx
mov dl, byte [eax + 9]
mov ebx, edx
sub ebx, ebp
mov dword [esp + esi*4 + 0xc], ebx
inc esi
movzx ebp, byte [ecx + 1]
mov ebx, edx
sub ebx, ebp
mov dword [esp + esi*4 + 0xc], ebx
xor ebx, ebx
inc esi
mov bl, byte [ecx + 2]
sub edx, ebx
mov dword [esp + esi*4 + 0xc], edx
inc esi
jmp 0x4a44e2
xor edx, edx
xor ebx, ebx
mov bl, byte [ecx + 3]
mov dl, byte [eax + 9]
sub edx, ebx
mov dword [esp + esi*4 + 0xc], edx
inc esi
test byte [eax + 8], 4
je 0x4a44f8
xor edx, edx
mov dl, byte [eax + 9]
movzx ecx, byte [ecx + 4]
sub edx, ecx
mov dword [esp + esi*4 + 0xc], edx
inc esi
xor edx, edx
lea ecx, [esp + 0xc]
cmp esi, edx
jle 0x4a451a
mov ebx, dword [ecx]
test ebx, ebx
jg 0x4a450e
xor ebx, ebx
mov dword [ecx], ebx
jmp 0x4a4512
mov di, 1
inc edx
add ecx, 4
cmp esi, edx
jg 0x4a4502
test di, di
je 0x4a460d
mov dl, byte [eax + 9]
sub dl, 2
je 0x4a4543
sub dl, 2
je 0x4a4563
sub dl, 4
je 0x4a459d
sub dl, 8
je 0x4a45c1
jmp 0x4a460d
mov ecx, dword [eax + 4]
mov eax, dword [esp]
xor edx, edx
cmp ecx, edx
jbe 0x4a460d
shr byte [eax], 1
and byte [eax], 0x55
inc eax
inc edx
cmp ecx, edx
ja 0x4a4553
jmp 0x4a460d
mov edx, dword [esp]
mov esi, dword [eax + 4]
mov ecx, dword [esp + 0xc]
mov eax, 0xf0
sar eax, cl
and al, 0xf0
mov ecx, dword [esp + 0xc]
mov ebx, 0xf
sar ebx, cl
or al, bl
xor ebx, ebx
cmp esi, ebx
jbe 0x4a460d
mov ecx, dword [esp + 0xc]
inc ebx
shr byte [edx], cl
and byte [edx], al
inc edx
cmp esi, ebx
ja 0x4a458d
jmp 0x4a460d
mov edi, dword [esp]
mov ebp, dword [esp + 4]
imul ebp, esi
xor ebx, ebx
cmp ebp, ebx
jbe 0x4a460d
mov eax, ebx
xor edx, edx
div esi
mov ecx, dword [esp + edx*4 + 0xc]
shr byte [edi], cl
inc edi
inc ebx
cmp ebp, ebx
ja 0x4a45ad
jmp 0x4a460d
mov ebx, dword [esp]
mov eax, esi
imul dword [esp + 4]
mov dword [esp + 8], eax
xor ebp, ebp
mov eax, dword [esp + 8]
cmp ebp, eax
jae 0x4a460d
movzx edi, byte [ebx]
shl edi, 8
xor eax, eax
mov al, byte [ebx + 1]
xor edx, edx
add di, ax
mov eax, ebp
div esi
inc ebp
mov ecx, dword [esp + edx*4 + 0xc]
shr di, cl
movzx eax, di
sar eax, 8
mov edx, edi
mov byte [ebx], al
inc ebx
and dl, 0xff
mov byte [ebx], dl
inc ebx
mov ecx, dword [esp + 8]
cmp ebp, ecx
jb 0x4a45d8
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c0aa0
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 0x4c0d00
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4c0b03
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004c05b8
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040f9b4
cmp al, 1
jne 0x4c0b03
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004c0880
test al, al
je 0x4c0c8f
cmp dword [ebp - 8], 0
jge 0x4c0b21
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.004c05b8
mov eax, dword [ebp - 0x210]
call fcn.00405338
cmp ebx, eax
jge 0x4c0b6b
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004c05b8
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5f6d94]
and eax, 0xff
bt dword [edx], eax
jae 0x4c0b6b
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4c0b7f
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004c0a7c
cmp ebx, dword [ebp - 8]
je 0x4c0c81
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 0x4c0bab
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404324
and eax, 0x7f
movzx eax, word [eax*2 + 0x5eb690]
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 0x4c0c6e
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404324
and eax, 0x7f
movzx eax, word [eax*2 + 0x5eb690]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00457540
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404324
and eax, 0x7f
movzx eax, word [eax*2 + 0x5eb690]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00457540
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0c75
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 0x4c0ce2
cmp dword [ebp - 8], 0
jge 0x4c0c9a
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004c05b8
mov eax, dword [ebp - 0x218]
call fcn.00405338
cmp eax, dword [ebp - 8]
jg 0x4c0cd4
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004c05b8
mov eax, dword [ebp - 0x21c]
call fcn.00405338
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004c0a7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0d07
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00405070
ret
Function at 0x4cfffc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4d00af
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x105]
push eax
push ebx
push 0x4d00c0
mov eax, edi
call fcn.00405538
push eax
call sub.KERNEL32.DLL_GetTempFileNameA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x105]
call fcn.0040b978
mov eax, dword [ebp - 0x10c]
call fcn.0040b1a4
lea edx, [ebp - 0x110]
lea eax, [ebp - 0x105]
call fcn.0040b978
mov eax, dword [ebp - 0x110]
mov ecx, esi
mov edx, dword [ebp - 4]
call fcn.0040b268
inc ebx
mov eax, dword [esi]
call fcn.0040aea8
test al, al
jne 0x4d002e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d00b6
lea eax, [ebp - 0x110]
mov edx, 2
call fcn.00405070
ret
Function at 0x520cd4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x520d25
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x520d0c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x520cfc
jmp 0x520d25
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x520d0d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x534bd8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
test dl, dl
je 0x534bec
add esp, 0xfffffff0
call fcn.00404494
mov ebx, edx
mov esi, eax
mov byte [esi + 0x479], 1
xor edx, edx
mov eax, esi
call fcn.0051b4d4
call fcn.00533d6c
push esi
push 0x534ccc
call fcn.00467a04
mov dword [esi + 0x474], eax
lea eax, [ebp - 0xa]
xor ecx, ecx
mov edx, 0xa
call fcn.004038a8
push 0xa
lea eax, [ebp - 0xa]
push eax
push 0xd
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
cmp byte [ebp - 0xa], 0x31
jne 0x534c46
mov byte [esi + 0x470], 1
jmp 0x534c4d
mov byte [esi + 0x470], 0
mov edx, dword [0x534c8c]
mov eax, esi
call fcn.00534db0
mov edx, dword [0x534c90]
mov eax, esi
call fcn.00534e44
mov byte [esi + 0x478], 0
mov eax, esi
test bl, bl
je 0x534c83
call fcn.004044ec
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x537354
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov byte [ebp - 1], cl
mov esi, edx
mov ebx, eax
push 0
xor eax, eax
mov al, bl
push eax
call sub.user32.dll_MapVirtualKeyA
and al, 0xff
mov byte [ebp - 2], al
test si, si
jbe 0x5373d3
mov eax, ebx
and eax, 0xff
bt dword [0x5eee98], eax
jae 0x5373ad
mov ecx, 1
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.00537348
cmp byte [ebp - 1], 0
je 0x5373ce
mov ecx, 3
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.00537348
jmp 0x5373ce
xor ecx, ecx
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.00537348
cmp byte [ebp - 1], 0
je 0x5373ce
mov ecx, 2
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.00537348
dec si
jne 0x537377
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x5373d8
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, eax
push 0
xor eax, eax
mov al, bl
push eax
call sub.user32.dll_MapVirtualKeyA
and al, 0xff
mov edx, ebx
and edx, 0xff
bt dword [0x5eee98], edx
jae 0x537407
xor ecx, ecx
mov edx, eax
mov eax, ebx
call fcn.00537348
pop ebx
ret
mov ecx, 2
mov edx, eax
mov eax, ebx
call fcn.00537348
pop ebx
ret
Function at 0x539950
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe4
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ecx
mov ebx, eax
mov edi, esp
mov edx, 1
mov eax, dword [ebx + 0x10]
call fcn.0042b310
xor edx, edx
mov eax, dword [ebx + 0x10]
call fcn.0042b2e0
mov edx, esi
mov eax, dword [ebx + 0x10]
call fcn.0042b1e4
dec dword [edi + 8]
dec dword [edi + 0xc]
mov edx, dword [edi]
add edx, 3
mov ecx, dword [edi + 4]
mov eax, ebx
call fcn.0042bc9c
mov edx, dword [edi + 8]
sub edx, 2
mov ecx, dword [edi + 4]
mov eax, ebx
call fcn.0042bc3c
mov ecx, dword [edi + 4]
add ecx, 3
mov edx, dword [edi]
mov eax, ebx
call fcn.0042bc9c
mov ecx, dword [edi + 0xc]
sub ecx, 2
mov edx, dword [edi]
mov eax, ebx
call fcn.0042bc3c
mov ecx, dword [edi + 4]
add ecx, 3
mov edx, dword [edi + 8]
mov eax, ebx
call fcn.0042bc9c
mov ecx, dword [edi + 0xc]
sub ecx, 2
mov edx, dword [edi + 8]
mov eax, ebx
call fcn.0042bc3c
mov edx, dword [edi]
add edx, 3
mov ecx, dword [edi + 0xc]
mov eax, ebx
call fcn.0042bc9c
mov edx, dword [edi + 8]
sub edx, 2
mov ecx, dword [edi + 0xc]
mov eax, ebx
call fcn.0042bc3c
push esi
mov byte [esp + 0x14], 0x1e
mov byte [esp + 0x15], 0x50
mov byte [esp + 0x16], 0xc8
mov byte [esp + 0x17], 0x50
mov byte [esp + 0x18], 0xc8
mov byte [esp + 0x19], 0x3c
mov byte [esp + 0x1a], 0xc8
mov byte [esp + 0x1b], 0x3c
mov byte [esp + 0x1c], 0
lea eax, [esp + 0x14]
push eax
push 8
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov eax, ebx
call fcn.005398dc
push esi
mov byte [esp + 0x14], 0xc8
mov byte [esp + 0x15], 0x50
mov byte [esp + 0x16], 0x1e
mov byte [esp + 0x17], 0x3c
mov byte [esp + 0x18], 0xc8
mov byte [esp + 0x19], 0x50
mov byte [esp + 0x1a], 0
mov byte [esp + 0x1b], 0x3c
mov byte [esp + 0x1c], 0xc8
lea eax, [esp + 0x14]
push eax
push 8
mov edx, dword [edi + 8]
sub edx, 2
mov ecx, dword [edi + 4]
mov eax, ebx
call fcn.005398dc
push esi
mov byte [esp + 0x14], 0xc8
mov byte [esp + 0x15], 0x3c
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0x50
mov byte [esp + 0x18], 0xc8
mov byte [esp + 0x19], 0x3c
mov byte [esp + 0x1a], 0x1e
mov byte [esp + 0x1b], 0x50
mov byte [esp + 0x1c], 0xc8
lea eax, [esp + 0x14]
push eax
push 8
mov ecx, dword [edi + 0xc]
sub ecx, 2
mov edx, dword [edi]
mov eax, ebx
call fcn.005398dc
push esi
mov byte [esp + 0x14], 0
mov byte [esp + 0x15], 0x3c
mov byte [esp + 0x16], 0xc8
mov byte [esp + 0x17], 0x3c
mov byte [esp + 0x18], 0xc8
mov byte [esp + 0x19], 0x50
mov byte [esp + 0x1a], 0xc8
mov byte [esp + 0x1b], 0x50
mov byte [esp + 0x1c], 0x1e
lea eax, [esp + 0x14]
push eax
push 8
mov ecx, dword [edi + 0xc]
sub ecx, 2
mov edx, dword [edi + 8]
sub edx, 2
mov eax, ebx
call fcn.005398dc
add esp, 0x1c
pop edi
pop esi
pop ebx
ret
Function at 0x53d7d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov edi, eax
xor eax, eax
push ebp
push 0x53d9a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [edi + 0x38], 0
jne 0x53d98d
mov eax, dword [edi + 0x30]
call fcn.00405338
test eax, eax
jne 0x53d826
mov eax, dword [edi + 0x34]
call fcn.00405338
test eax, eax
jne 0x53d826
mov eax, edi
call fcn.0053da44
jmp 0x53d98d
cmp dword [edi + 0xa0], 0
jne 0x53d85d
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x30]
call fcn.0040b780
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5f90f8]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa0], eax
cmp dword [edi + 0xa4], 0
jne 0x53d894
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x34]
call fcn.0040b780
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5f90f8]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa4], eax
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.0053da84
mov ebx, eax
test bl, bl
jne 0x53d942
mov eax, dword [edi + 0x30]
call fcn.00405338
test eax, eax
jne 0x53d8cc
mov eax, dword [edi + 0xc0]
call fcn.00405338
test eax, eax
je 0x53d942
mov eax, dword [edi + 0xc0]
call fcn.00405338
test eax, eax
je 0x53d8ee
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0xc0]
call fcn.0040b780
jmp 0x53d91a
push dword [edi + 0x30]
push 0x53d9c0
push dword [edi + 0x34]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.004053f8
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.0040b780
push 7
lea eax, [ebp - 0x101]
push eax
call sub.KERNEL32.DLL_WinExec
cmp eax, 0x20
jb 0x53d942
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.0053da84
mov ebx, eax
test bl, bl
jne 0x53d94f
mov eax, edi
call fcn.0053da44
jmp 0x53d98d
mov eax, dword [edi + 0x58]
test eax, eax
je 0x53d95e
mov dword [edi + 0xa8], eax
jmp 0x53d968
mov dword [edi + 0xa8], 1
mov eax, edi
call fcn.0053dafc
test al, al
je 0x53d98d
mov eax, edi
mov si, 0xffee
call fcn.00404324
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.0053dba8
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53d9ad
lea eax, [ebp - 0x108]
call fcn.0040504c
ret
Function at 0x54b8c4
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], ecx
mov esi, edx
mov ebx, 0x5eef58
lea edi, [esp + 0xc]
test esi, esi
je 0x54b9f3
mov dword [esp + 8], eax
mov eax, dword [esp]
mov dword [edi], eax
mov eax, esi
mov ecx, 3
xor edx, edx
div ecx
lea edx, [eax + eax*2]
mov eax, dword [esp + 8]
add eax, edx
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
cmp eax, dword [esp + 4]
jae 0x54b976
mov eax, dword [esp + 8]
movzx eax, byte [eax]
shl eax, 8
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + 1]
or eax, ecx
shl eax, 8
mov ecx, dword [esp + 8]
movzx ecx, byte [ecx + 2]
or eax, ecx
add dword [esp + 8], 3
mov ecx, eax
and ecx, 0x3f
mov cl, byte [ebx + ecx]
mov ebp, dword [edi]
mov byte [ebp + 3], cl
shr eax, 6
mov ecx, eax
and ecx, 0x3f
mov cl, byte [ebx + ecx]
mov ebp, dword [edi]
mov byte [ebp + 2], cl
shr eax, 6
mov ecx, eax
and ecx, 0x3f
mov cl, byte [ebx + ecx]
mov ebp, dword [edi]
mov byte [ebp + 1], cl
shr eax, 6
mov al, byte [ebx + eax]
mov ecx, dword [edi]
mov byte [ecx], al
add dword [edi], 4
mov eax, dword [esp + 8]
cmp eax, dword [esp + 4]
jb 0x54b90c
sub esi, edx
dec esi
je 0x54b980
dec esi
je 0x54b9af
jmp 0x54b9f3
mov eax, dword [esp + 8]
movzx eax, byte [eax]
shl eax, 4
mov edx, eax
and edx, 0x3f
mov dl, byte [ebx + edx]
mov ecx, dword [edi]
mov byte [ecx + 1], dl
shr eax, 6
mov al, byte [ebx + eax]
mov edx, dword [edi]
mov byte [edx], al
mov eax, dword [edi]
mov byte [eax + 2], 0x3d
mov eax, dword [edi]
mov byte [eax + 3], 0x3d
jmp 0x54b9f3
mov eax, dword [esp + 8]
movzx eax, byte [eax]
shl eax, 8
mov edx, dword [esp + 8]
movzx edx, byte [edx + 1]
or eax, edx
shl eax, 2
mov edx, eax
and edx, 0x3f
mov dl, byte [ebx + edx]
mov ecx, dword [edi]
mov byte [ecx + 2], dl
shr eax, 6
mov edx, eax
and edx, 0x3f
mov dl, byte [ebx + edx]
mov ecx, dword [edi]
mov byte [ecx + 1], dl
shr eax, 6
mov al, byte [ebx + eax]
mov edx, dword [edi]
mov byte [edx], al
mov eax, dword [edi]
mov byte [eax + 3], 0x3d
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret