joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485544
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 [0x4187f4]
call fcn.00405a0c
xor eax, eax
push ebp
push 0x485688
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5a69e4], 0
jne 0x485597
mov ecx, dword [0x5b178c]
mov dl, 1
mov eax, dword [0x408b54]
call fcn.0040e058
call fcn.00404984
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040387c
mov eax, ebx
call fcn.00405858
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x485698
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.00406c1c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405868
test eax, eax
jle 0x48562f
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 0x485628
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00405298
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00405264
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409a40
test eax, eax
jne 0x485628
mov ebx, 0x15
jmp 0x485634
mov ebx, 0x10
jmp 0x485634
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 [0x5a69e4]
call fcn.004853ec
mov eax, dword [ebp - 8]
call fcn.004853ec
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406c34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48568f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00405018
lea eax, [ebp - 0x10]
mov edx, dword [0x4187f4]
call fcn.00405adc
ret

Function at 0x48a72c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x48a75a
mov eax, ebx
call fcn.0048b1d0
cmp dword [ebx + 0x3c], 0
je 0x48a753
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x48a7cb
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x48a7bd
cmp dword [ebx + 8], 0
je 0x48a77c
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 0x48a78e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48a7bd
cmp dword [ebx + 8], 0
je 0x48a76f
cmp eax, 3
je 0x48a7a1
dec eax
jne 0x48a76f
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 0x48a76f
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x48a76f
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x48a7e9
cmp dword [ebx + 0x10], 0xcc
je 0x48a7e9
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.0048a7f4
pop ebx
ret
Function at 0x4967e4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x49680e
cmp dword [ebx + 0x64], 0
jne 0x49680e
cmp dword [ebx + 0x6c], 0
jne 0x49680e
mov edi, esi
jmp 0x496895
cmp edi, 0xffffffff
jne 0x496816
dec edi
jmp 0x496895
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x496895
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004956e0
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x496863
mov cx, word [esp]
sub cx, si
jmp 0x496865
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x49684c
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x49688b
mov cx, word [esp]
sub cx, si
jmp 0x49688d
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x496874
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4968f2
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.00496580
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x4968dd
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x4968f2
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4967ee
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x49bb40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
mov ebx, 0x5a8fe8
test edx, edx
jne 0x49bb50
xor eax, eax
pop esi
pop ebx
ret
xor eax, 0xffffffff
cmp ecx, 8
jb 0x49bc18
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 0x49bb5c
test ecx, ecx
je 0x49bc35
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 0x49bc1c
xor eax, 0xffffffff
pop esi
pop ebx
ret
Function at 0x4a1594
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 0x4a1721
xor esi, esi
xor edi, edi
mov ebx, dword [eax]
test dl, 2
mov dword [esp + 4], ebx
je 0x4a15e5
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 0x4a15f6
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 0x4a160c
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 0x4a162e
mov ebx, dword [ecx]
test ebx, ebx
jg 0x4a1622
xor ebx, ebx
mov dword [ecx], ebx
jmp 0x4a1626
mov di, 1
inc edx
add ecx, 4
cmp esi, edx
jg 0x4a1616
test di, di
je 0x4a1721
mov dl, byte [eax + 9]
sub dl, 2
je 0x4a1657
sub dl, 2
je 0x4a1677
sub dl, 4
je 0x4a16b1
sub dl, 8
je 0x4a16d5
jmp 0x4a1721
mov ecx, dword [eax + 4]
mov eax, dword [esp]
xor edx, edx
cmp ecx, edx
jbe 0x4a1721
shr byte [eax], 1
and byte [eax], 0x55
inc eax
inc edx
cmp ecx, edx
ja 0x4a1667
jmp 0x4a1721
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 0x4a1721
mov ecx, dword [esp + 0xc]
inc ebx
shr byte [edx], cl
and byte [edx], al
inc edx
cmp esi, ebx
ja 0x4a16a1
jmp 0x4a1721
mov edi, dword [esp]
mov ebp, dword [esp + 4]
imul ebp, esi
xor ebx, ebx
cmp ebp, ebx
jbe 0x4a1721
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 0x4a16c1
jmp 0x4a1721
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 0x4a1721
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 0x4a16ec
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4bdbb4
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 0x4bde14
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4bdc17
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004bd6cc
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e9a0
cmp al, 1
jne 0x4bdc17
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004bd994
test al, al
je 0x4bdda3
cmp dword [ebp - 8], 0
jge 0x4bdc35
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.004bd6cc
mov eax, dword [ebp - 0x210]
call fcn.004052d0
cmp ebx, eax
jge 0x4bdc7f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004bd6cc
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5b1ed0]
and eax, 0xff
bt dword [edx], eax
jae 0x4bdc7f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4bdc93
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004bdb90
cmp ebx, dword [ebp - 8]
je 0x4bdd95
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 0x4bdcbf
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004042e8
and eax, 0x7f
movzx eax, word [eax*2 + 0x5ad640]
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 0x4bdd82
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004042e8
and eax, 0x7f
movzx eax, word [eax*2 + 0x5ad640]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0045465c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004042e8
and eax, 0x7f
movzx eax, word [eax*2 + 0x5ad640]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0045465c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bdd89
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 0x4bddf6
cmp dword [ebp - 8], 0
jge 0x4bddae
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004bd6cc
mov eax, dword [ebp - 0x218]
call fcn.004052d0
cmp eax, dword [ebp - 8]
jg 0x4bdde8
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004bd6cc
mov eax, dword [ebp - 0x21c]
call fcn.004052d0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004bdb90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bde1b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00405018
ret
Function at 0x4cd110
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 0x4cd1c3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x105]
push eax
push ebx
push 0x4cd1d4
mov eax, edi
call fcn.004054d0
push eax
call sub.kernel32.dll_GetTempFileNameA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x105]
call fcn.0040af44
mov eax, dword [ebp - 0x10c]
call fcn.0040a800
lea edx, [ebp - 0x110]
lea eax, [ebp - 0x105]
call fcn.0040af44
mov eax, dword [ebp - 0x110]
mov ecx, esi
mov edx, dword [ebp - 4]
call fcn.0040a8a0
inc ebx
mov eax, dword [esi]
call fcn.0040a504
test al, al
jne 0x4cd142
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cd1ca
lea eax, [ebp - 0x110]
mov edx, 2
call fcn.00405018
ret
Function at 0x510a80
Capabilities:
Open clipboard

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, dword [ebx + 0x30]
call fcn.0045465c
push eax
call sub.user32.dll_OpenClipboard
push 0x510b20
call sub.user32.dll_RegisterClipboardFormatA
mov esi, eax
call sub.user32.dll_CloseClipboard
push 3
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
jne 0x510ae8
push 2
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
jne 0x510ae8
mov eax, dword [0x5b1ad4]
movzx eax, word [eax]
push eax
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
jne 0x510ae8
push 1
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
jne 0x510ae8
movzx eax, si
push eax
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
jne 0x510ae8
xor eax, eax
jmp 0x510aea
mov al, 1
push eax
mov edi, dword [ebx + 0x25d]
cmp dword [edi + 0x14c], 0
je 0x510b03
cmp dword [edi + 0x150], 0
jne 0x510b07
xor eax, eax
jmp 0x510b09
mov al, 1
cmp al, 1
sete cl
mov edx, ebx
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x12c]
pop edi
pop esi
pop ebx
ret

Function at 0x51dde8
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 0x51de39
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x51de20
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x51de10
jmp 0x51de39
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 0x51de21
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x531cec
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
test dl, dl
je 0x531d00
add esp, 0xfffffff0
call fcn.00404458
mov ebx, edx
mov esi, eax
mov byte [esi + 0x479], 1
xor edx, edx
mov eax, esi
call fcn.005185e8
call fcn.00530e80
push esi
push 0x531de0
call fcn.00464b20
mov dword [esi + 0x474], eax
lea eax, [ebp - 0xa]
xor ecx, ecx
mov edx, 0xa
call fcn.0040387c
push 0xa
lea eax, [ebp - 0xa]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp byte [ebp - 0xa], 0x31
jne 0x531d5a
mov byte [esi + 0x470], 1
jmp 0x531d61
mov byte [esi + 0x470], 0
mov edx, dword [0x531da0]
mov eax, esi
call fcn.00531ec4
mov edx, dword [0x531da4]
mov eax, esi
call fcn.00531f58
mov byte [esi + 0x478], 0
mov eax, esi
test bl, bl
je 0x531d97
call fcn.004044b0
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x534468
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 0x5344e7
mov eax, ebx
and eax, 0xff
bt dword [0x5b0e48], eax
jae 0x5344c1
mov ecx, 1
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.0053445c
cmp byte [ebp - 1], 0
je 0x5344e2
mov ecx, 3
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.0053445c
jmp 0x5344e2
xor ecx, ecx
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.0053445c
cmp byte [ebp - 1], 0
je 0x5344e2
mov ecx, 2
mov dl, byte [ebp - 2]
mov eax, ebx
call fcn.0053445c
dec si
jne 0x53448b
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x5344ec
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 [0x5b0e48], edx
jae 0x53451b
xor ecx, ecx
mov edx, eax
mov eax, ebx
call fcn.0053445c
pop ebx
ret
mov ecx, 2
mov edx, eax
mov eax, ebx
call fcn.0053445c
pop ebx
ret
Function at 0x536a64
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.0042a030
xor edx, edx
mov eax, dword [ebx + 0x10]
call fcn.0042a000
mov edx, esi
mov eax, dword [ebx + 0x10]
call fcn.00429f04
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.0042a9bc
mov edx, dword [edi + 8]
sub edx, 2
mov ecx, dword [edi + 4]
mov eax, ebx
call fcn.0042a95c
mov ecx, dword [edi + 4]
add ecx, 3
mov edx, dword [edi]
mov eax, ebx
call fcn.0042a9bc
mov ecx, dword [edi + 0xc]
sub ecx, 2
mov edx, dword [edi]
mov eax, ebx
call fcn.0042a95c
mov ecx, dword [edi + 4]
add ecx, 3
mov edx, dword [edi + 8]
mov eax, ebx
call fcn.0042a9bc
mov ecx, dword [edi + 0xc]
sub ecx, 2
mov edx, dword [edi + 8]
mov eax, ebx
call fcn.0042a95c
mov edx, dword [edi]
add edx, 3
mov ecx, dword [edi + 0xc]
mov eax, ebx
call fcn.0042a9bc
mov edx, dword [edi + 8]
sub edx, 2
mov ecx, dword [edi + 0xc]
mov eax, ebx
call fcn.0042a95c
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.005369f0
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.005369f0
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.005369f0
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.005369f0
add esp, 0x1c
pop edi
pop esi
pop ebx
ret

Function at 0x53ee9c
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x5b1c4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x541484
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 0x54165a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [edi + 0x38], 0
jne 0x541641
mov eax, dword [edi + 0x30]
call fcn.004052d0
test eax, eax
jne 0x5414da
mov eax, dword [edi + 0x34]
call fcn.004052d0
test eax, eax
jne 0x5414da
mov eax, edi
call fcn.005416f8
jmp 0x541641
cmp dword [edi + 0xa0], 0
jne 0x541511
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x30]
call fcn.0040ad4c
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5b42f4]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa0], eax
cmp dword [edi + 0xa4], 0
jne 0x541548
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x34]
call fcn.0040ad4c
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5b42f4]
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.00541738
mov ebx, eax
test bl, bl
jne 0x5415f6
mov eax, dword [edi + 0x30]
call fcn.004052d0
test eax, eax
jne 0x541580
mov eax, dword [edi + 0xc0]
call fcn.004052d0
test eax, eax
je 0x5415f6
mov eax, dword [edi + 0xc0]
call fcn.004052d0
test eax, eax
je 0x5415a2
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0xc0]
call fcn.0040ad4c
jmp 0x5415ce
push dword [edi + 0x30]
push 0x541674
push dword [edi + 0x34]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.00405390
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.0040ad4c
push 7
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jb 0x5415f6
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.00541738
mov ebx, eax
test bl, bl
jne 0x541603
mov eax, edi
call fcn.005416f8
jmp 0x541641
mov eax, dword [edi + 0x58]
test eax, eax
je 0x541612
mov dword [edi + 0xa8], eax
jmp 0x54161c
mov dword [edi + 0xa8], 1
mov eax, edi
call fcn.005417b0
test al, al
je 0x541641
mov eax, edi
mov si, 0xffee
call fcn.004042e8
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.0054185c
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x541661
lea eax, [ebp - 0x108]
call fcn.00404ff4
ret
Function at 0x549cdc
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
push 1
push 0x549d2c
push 0x549d2c
mov eax, ebx
call fcn.004054d0
push eax
push 0x549d30
mov eax, dword [0x5b1c4c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jbe 0x549d16
xor eax, eax
call fcn.005a0a38
pop ebx
ret
mov eax, dword [0x5b19a8]
mov eax, dword [eax]
mov eax, dword [eax + 0x400]
call fcn.005a0a38
pop ebx
ret

Function at 0x553b98
Capabilities:
Find taskbar

Disassembly:
push ebx
add esp, 0xffffffdc
mov ebx, eax
mov dword [esp], 0x24
push 0
push 0x553bec
call sub.user32.dll_FindWindowA
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
je 0x553bd9
push esp
push 4
call sub.shell32.dll_SHAppBarMessage
test eax, 1
jbe 0x553bd9
push esp
push 5
call sub.shell32.dll_SHAppBarMessage
cmp eax, 1
je 0x553bdd
xor eax, eax
jmp 0x553bdf
mov al, 1
mov edx, dword [esp + 0xc]
mov dword [ebx], edx
add esp, 0x24
pop ebx
ret