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

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, eax
mov ebp, edx
xor ebx, ebx
xor edi, edi
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
test eax, eax
jle 0x5dd1b6
xor edx, edx
mov dl, byte [esi + ebx]
shr edx, 2
mov dl, byte [edx + 0x65e8fc]
mov byte [ebp + edi], dl
mov dl, byte [esi + ebx]
and dl, 3
and edx, 0xff
shl edx, 4
xor ecx, ecx
mov cl, byte [esi + ebx + 1]
shr ecx, 4
add edx, ecx
mov dl, byte [edx + 0x65e8fc]
push edx
pop edx
mov byte [ebp + edi + 1], dl
mov dl, byte [esi + ebx + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
xor ecx, ecx
mov cl, byte [esi + ebx + 2]
shr ecx, 6
add edx, ecx
mov dl, byte [edx + 0x65e8fc]
push edx
pop edx
mov byte [ebp + edi + 2], dl
mov dl, byte [esi + ebx + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x65e8fc]
mov byte [ebp + edi + 3], dl
add edi, 4
add ebx, 3
dec eax
jne 0x5dd137
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x5dd1cc
dec edx
je 0x5dd201
jmp 0x5dd252
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x65e8fc]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
mov al, byte [eax + 0x65e8fc]
mov byte [ebp + edi + 1], al
mov byte [ebp + edi + 2], 0x3d
mov byte [ebp + edi + 3], 0x3d
jmp 0x5dd252
xor eax, eax
mov al, byte [esi + ebx]
shr eax, 2
mov al, byte [eax + 0x65e8fc]
mov byte [ebp + edi], al
mov al, byte [esi + ebx]
and al, 3
and eax, 0xff
shl eax, 4
xor edx, edx
mov dl, byte [esi + ebx + 1]
shr edx, 4
add eax, edx
mov al, byte [eax + 0x65e8fc]
mov byte [ebp + edi + 1], al
mov al, byte [esi + ebx + 1]
and al, 0xf
and eax, 0xff
shl eax, 2
mov al, byte [eax + 0x65e8fc]
mov byte [ebp + edi + 2], al
mov byte [ebp + edi + 3], 0x3d
mov eax, dword [esp]
add eax, 2
mov ecx, 3
cdq
idiv ecx
shl eax, 2
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5de01c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x5de03c
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x5de02a
pop edi
pop esi
pop ebx
ret
Function at 0x5ed730
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 0x5ed990
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x5ed793
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.005ed1f8
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d6f8
cmp al, 1
jne 0x5ed793
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.005ed510
test al, al
je 0x5ed91f
cmp dword [ebp - 8], 0
jge 0x5ed7b1
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.005ed1f8
mov eax, dword [ebp - 0x210]
call fcn.00404b14
cmp ebx, eax
jge 0x5ed7fb
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.005ed1f8
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x66041c]
and eax, 0xff
bt dword [edx], eax
jae 0x5ed7fb
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x5ed80f
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005ed70c
cmp ebx, dword [ebp - 8]
je 0x5ed911
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 0x5ed83b
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c68
and eax, 0x7f
movzx eax, word [eax*2 + 0x65faa8]
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 0x5ed8fe
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c68
and eax, 0x7f
movzx eax, word [eax*2 + 0x65faa8]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00450aa0
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403c68
and eax, 0x7f
movzx eax, word [eax*2 + 0x65faa8]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00450aa0
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ed905
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 0x5ed972
cmp dword [ebp - 8], 0
jge 0x5ed92a
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.005ed1f8
mov eax, dword [ebp - 0x218]
call fcn.00404b14
cmp eax, dword [ebp - 8]
jg 0x5ed964
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.005ed1f8
mov eax, dword [ebp - 0x21c]
call fcn.00404b14
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005ed70c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ed997
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404880
ret
Function at 0x613fc8
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x614097
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_IsWindow
test eax, eax
je 0x614089
push 0
push 0x6140ac
push 0
push 0
push 0x6140bc
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_FindWindowExA
mov ebx, eax
test ebx, ebx
jne 0x61401a
mov byte [ebp - 5], 0
jmp 0x61408d
xor eax, eax
push ebp
push 0x614072
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x15]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowRect
lea eax, [ebp - 0x25]
push eax
push ebx
call sub.user32.dll_GetWindowRect
call fcn.0064594c
test al, al
je 0x614055
mov edx, dword [ebp - 0x21]
mov eax, dword [ebp - 0x25]
call fcn.00613d14
jmp 0x614068
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x15]
push eax
push 3
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_DrawAnimatedRects
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x61407c
push 0
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
jmp 0x61408d
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6140a1
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6140cc
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6141a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_IsWindow
test eax, eax
je 0x614192
push 0
push 0x6141b4
push 0
push 0
push 0x6141c4
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_FindWindowExA
mov ebx, eax
test ebx, ebx
jne 0x61411e
mov byte [ebp - 5], 0
jmp 0x614196
xor eax, eax
push ebp
push 0x61417b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x15]
mov eax, dword [ebp - 4]
call fcn.00646af4
lea eax, [ebp - 0x25]
push eax
push ebx
call sub.user32.dll_GetWindowRect
call fcn.0064594c
test al, al
je 0x61415e
mov eax, dword [ebp - 0x11]
push eax
mov ecx, dword [ebp - 0x15]
mov edx, dword [ebp - 0x21]
mov eax, dword [ebp - 0x25]
call fcn.00613e8c
jmp 0x614171
lea eax, [ebp - 0x15]
push eax
lea eax, [ebp - 0x25]
push eax
push 3
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_DrawAnimatedRects
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x614185
push 1
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
jmp 0x614196
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6141aa
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x61837c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x61841b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x6183f6
push dword fs:[eax]
mov dword fs:[eax], esp
push 3
push 0
push 0
lea edx, [ebp - 8]
mov eax, dword [0x660138]
mov eax, dword [eax]
call fcn.0046bfe8
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00409ab8
lea eax, [ebp - 4]
mov edx, 0x618434
call fcn.00404b1c
mov eax, dword [ebp - 4]
call fcn.00404d0c
push eax
push 0x618448
mov eax, ebx
call fcn.00450aa0
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x618400
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x618422
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404880
ret

Function at 0x61b430
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp edx, dword [eax + 0x3c4]
jne 0x61b44f
mov eax, dword [ebp - 4]
call fcn.0061b2d4
xor edx, edx
push ebp
push 0x61b56c
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x4e4], 1
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x57]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x61b491
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xd]
push eax
call sub.user32.dll_GetCursorPos
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x61b49b
mov eax, dword [ebp - 4]
call fcn.00619b90
mov eax, dword [ebp - 4]
call fcn.00618910
xor edx, edx
push ebp
push 0x61b4e8
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x15]
push eax
call sub.user32.dll_GetCursorPos
mov eax, dword [ebp - 0x15]
cmp eax, dword [ebp - 0xd]
jne 0x61b4de
mov edx, dword [ebp - 9]
cmp edx, dword [ebp - 0x11]
jne 0x61b4de
mov edx, dword [ebp - 0x11]
inc edx
push edx
inc eax
push eax
call sub.user32.dll_SetCursorPos
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x61b4f2
cmp byte [ebp - 5], 0
je 0x61b500
mov eax, dword [ebp - 4]
call fcn.00619b14
xor edx, edx
push ebp
push 0x61b532
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x15]
cmp eax, dword [ebp - 0xd]
jne 0x61b528
mov edx, dword [ebp - 9]
cmp edx, dword [ebp - 0x11]
jne 0x61b528
mov edx, dword [ebp - 0x11]
push edx
push eax
call sub.user32.dll_SetCursorPos
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x61b53c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61b573
mov eax, dword [ebp - 4]
mov byte [eax + 0x4e4], 0
mov eax, dword [ebp - 4]
call fcn.00617f5c
mov eax, dword [ebp - 4]
call fcn.0061a480
mov eax, dword [ebp - 4]
call fcn.00618244
ret
Function at 0x627824
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
push ebp
push 0x62789b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0xc]
mov ax, word [eax*2 + 0x65fb74]
mov edx, dword [ebp + 8]
movzx edx, byte [edx + 0x14]
or ax, word [edx*2 + 0x65fb70]
or ax, 1
mov edx, dword [ebp + 8]
cmp dword [edx + 8], 0
sete dl
and edx, 0x7f
or ax, word [edx*2 + 0x65fb78]
movzx eax, ax
push eax
push 0
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x38]
mov eax, dword [0x660138]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
xor eax, eax
call fcn.00497614
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6278a2
ret
Function at 0x637790
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404cfc
xor eax, eax
push ebp
push 0x637801
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x300]
call fcn.0044a330
mov edx, 0x66a580
mov eax, dword [ebx + 0x2f0]
call fcn.0044a330
mov eax, dword [ebx + 0x2f0]
mov dword [eax + 0xc], 1
mov eax, dword [0x660138]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SetForegroundWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x637808
lea eax, [ebp - 4]
call fcn.0040485c
ret
Function at 0x637fb8
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x32c], 0
jne 0x637fde
cmp dword [eax + 0x328], 0
jae 0x637fe4
jmp 0x638190
jl 0x638190
xor eax, eax
push ebp
push 0x638186
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31d], 0
je 0x63801a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
cmp dword [eax + 0xc], 0
je 0x63801a
mov eax, dword [ebp - 4]
call fcn.004682a4
jmp 0x63817c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov byte [eax + 0x31c], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x314], 0
jne 0x638064
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
mov edx, 0x6381a0
call fcn.0044a330
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
mov edx, dword [eax]
call dword [edx + 0x80]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x320], 0
jl 0x63817c
call sub.KERNEL32.DLL_GetTickCount
xor edx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31d], 0
jne 0x6380e4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x32c]
mov eax, dword [eax + 0x328]
cmp edx, dword [ebp - 0xc]
jne 0x6380a8
cmp eax, dword [ebp - 0x10]
ja 0x6380e4
jmp 0x6380aa
jg 0x6380e4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x32c]
mov eax, dword [eax + 0x328]
add eax, 0x3a98
adc edx, 0
cmp edx, dword [ebp - 0xc]
jne 0x6380cd
cmp eax, dword [ebp - 0x10]
jae 0x6380cf
jmp 0x6380e4
jl 0x6380e4
push 0x64
call sub.KERNEL32.DLL_Sleep
mov eax, dword [0x660138]
mov eax, dword [eax]
call fcn.0046b864
jmp 0x638074
xor eax, eax
push ebp
push 0x638119
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x31d], 0
jne 0x63810f
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
push eax
call sub.KERNEL32.DLL_TerminateThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x638123
mov eax, dword [ebp - 4]
mov byte [eax + 0x31d], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x320], 0xffffffff
xor eax, eax
push ebp
push 0x638172
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov edx, dword [eax]
call dword [edx + 0x54]
test al, al
je 0x638168
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov edx, dword [eax]
call dword [edx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x63817c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x638190
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x63e8c4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404cfc
xor eax, eax
push ebp
push 0x63ea14
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x65fe64]
mov eax, dword [eax]
mov eax, dword [eax + 0x4e0]
cmp byte [eax + 0x19f], 0
je 0x63e9f9
xor eax, eax
push ebp
push 0x63e9f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x660400]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.004699f4
mov eax, dword [0x65fe64]
mov eax, dword [eax]
mov eax, dword [eax + 0x4e0]
cmp dword [eax + 0x1a0], 0
je 0x63e9d6
cmp dword [ebp - 4], 0
je 0x63e9d6
mov eax, dword [0x65fe64]
mov eax, dword [eax]
mov eax, dword [eax + 0x4e0]
mov eax, dword [eax + 0x1a0]
call fcn.00409814
test al, al
je 0x63e9d6
mov eax, dword [ebp - 4]
call fcn.00409814
test al, al
je 0x63e9d6
lea eax, [ebp - 8]
mov edx, dword [0x65fe64]
mov edx, dword [edx]
mov edx, dword [edx + 0x4e0]
mov edx, dword [edx + 0x1a0]
call fcn.004048f4
push 0x63ea28
push dword [ebp - 4]
push 0x63ea28
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404bd4
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.004048f4
push 1
push 0
mov eax, dword [ebp - 0x10]
call fcn.00404d0c
push eax
mov eax, dword [ebp - 8]
call fcn.00404d0c
push eax
push 0x63ea2c
mov eax, dword [0x660138]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63e9f9
mov eax, dword [0x660400]
mov eax, dword [eax]
xor edx, edx
call fcn.004699f4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63ea1b
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404880
ret
Function at 0x645b80
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x645cb8
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
call sub.user32.dll_IsIconic
test eax, eax
je 0x645bab
push 9
push ebx
call sub.user32.dll_ShowWindow
call sub.user32.dll_GetForegroundWindow
cmp ebx, eax
jne 0x645bbd
mov byte [ebp - 1], 1
jmp 0x645cae
mov eax, dword [0x660430]
cmp dword [eax], 2
jne 0x645bd1
mov eax, dword [0x65feb8]
cmp dword [eax], 4
jg 0x645c05
mov eax, dword [0x660430]
cmp dword [eax], 1
jne 0x645c97
mov eax, dword [0x65feb8]
cmp dword [eax], 4
jg 0x645c05
mov eax, dword [0x65feb8]
cmp dword [eax], 4
jne 0x645c97
mov eax, dword [0x6601dc]
cmp dword [eax], 0
jle 0x645c97
mov byte [ebp - 1], 0
push 0
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov esi, eax
push 0
push ebx
call sub.user32.dll_GetWindowThreadProcessId
mov edi, eax
push 0xffffffffffffffff
push esi
push edi
call sub.user32.dll_AttachThreadInput
test eax, eax
je 0x645c4f
push ebx
call sub.user32.dll_BringWindowToTop
push ebx
call sub.user32.dll_SetForegroundWindow
push 0
push esi
push edi
call sub.user32.dll_AttachThreadInput
call sub.user32.dll_GetForegroundWindow
cmp ebx, eax
sete byte [ebp - 1]
cmp byte [ebp - 1], 0
jne 0x645ca3
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x2000
call sub.user32.dll_SystemParametersInfoA
push 2
push 0
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
push ebx
call sub.user32.dll_BringWindowToTop
push ebx
call sub.user32.dll_SetForegroundWindow
push 2
mov eax, dword [ebp - 8]
push eax
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
jmp 0x645ca3
push ebx
call sub.user32.dll_BringWindowToTop
push ebx
call sub.user32.dll_SetForegroundWindow
call sub.user32.dll_GetForegroundWindow
cmp ebx, eax
sete byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x645cc2
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x645ee0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff68
push ebx
push esi
push edi
xor ecx, ecx
push ebp
push 0x64600c
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call sub.KERNEL32.DLL_GetVersionExA
test eax, eax
je 0x645ffb
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x88]
dec ecx
je 0x645fa1
dec ecx
jne 0x645ff2
cmp eax, 4
jg 0x645f4c
mov dword [ebp - 4], 4
jmp 0x646002
cmp eax, 5
jne 0x645f61
test edx, edx
jne 0x645f61
mov dword [ebp - 4], 5
jmp 0x646002
cmp eax, 5
jne 0x645f77
cmp edx, 1
jne 0x645f77
mov dword [ebp - 4], 6
jmp 0x646002
cmp eax, 5
jne 0x645f8a
cmp edx, 2
jne 0x645f8a
mov dword [ebp - 4], 6
jmp 0x646002
cmp eax, 6
jne 0x645f98
mov dword [ebp - 4], 7
jmp 0x646002
mov dword [ebp - 4], 0xffffffff
jmp 0x646002
cmp eax, 4
jne 0x645fb1
test edx, edx
jne 0x645fb1
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x646002
cmp eax, 4
jne 0x645fd6
cmp edx, 0xa
jne 0x645fd6
cmp byte [ebp - 0x83], 0x41
jne 0x645fcd
mov dword [ebp - 4], 2
jmp 0x646002
mov dword [ebp - 4], 1
jmp 0x646002
cmp eax, 4
jne 0x645fe9
cmp edx, 0x5a
jne 0x645fe9
mov dword [ebp - 4], 3
jmp 0x646002
mov dword [ebp - 4], 0xffffffff
jmp 0x646002
mov dword [ebp - 4], 0xffffffff
jmp 0x646002
mov dword [ebp - 4], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x646016
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x646398
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb9c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404cfc
xor eax, eax
push ebp
push 0x646528
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x646500
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x20d]
mov edx, dword [ebp - 4]
call fcn.00409ec4
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00402988
lea eax, [ebp - 0x40e]
mov edx, dword [ebp - 0xc]
call fcn.00409ec4
lea eax, [ebp - 0x454]
xor ecx, ecx
mov edx, 0x44
call fcn.00403234
mov dword [ebp - 0x454], 0x44
mov dword [ebp - 0x428], 1
mov word [ebp - 0x424], si
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x454]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x20d]
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
test eax, eax
jne 0x64645f
mov dword [ebp - 8], 0xffffffff
jmp 0x6464f6
test bl, bl
je 0x6464f6
push 0xc8
mov eax, dword [ebp - 0x464]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
cmp eax, 0x102
jne 0x64648d
mov eax, dword [0x660138]
mov eax, dword [eax]
call fcn.0046b864
jmp 0x646467
xor edx, edx
push ebp
push 0x6464b5
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x460]
test eax, eax
je 0x6464ab
push eax
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6464bf
xor edx, edx
push ebp
push 0x6464e7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x464]
test eax, eax
je 0x6464dd
push eax
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6464f1
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x64650a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64652f
lea eax, [ebp - 0xc]
call fcn.0040485c
lea eax, [ebp - 4]
call fcn.0040485c
ret

Function at 0x646d30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x646da4
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [0x646db8]
mov byte [ebp - 1], al
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_GetKeyboardState
test byte [ebp - 0xf0], 0x80
je 0x646d72
mov al, byte [0x646dbc]
or al, byte [ebp - 1]
mov byte [ebp - 1], al
test byte [ebp - 0xf1], 0x80
je 0x646d86
mov al, byte [0x646dc0]
or al, byte [ebp - 1]
mov byte [ebp - 1], al
test byte [ebp - 0xef], 0x80
je 0x646d9a
mov al, byte [0x646dc4]
or al, byte [ebp - 1]
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x646dae
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret