joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477f30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ebx
imul esi, dword [ebp + 0x10]
cmp byte [edi], 0
je 0x477f6e
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x477f62
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
pop edi
pop esi
div ebx
pop ebx
pop ebp
ret
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x477f7f
mov esi, ecx
sub esi, edx
mov ecx, dword [edi + 0x14]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.004d7fb0
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x478100
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x47810e
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not eax
cmp esi, 8
jb 0x4781cd
push edi
mov edi, esi
shr edi, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x517d98]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x517d98]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x517d98]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x517d98]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x517d98]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x517d98]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x517d98]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x517d98]
sub edi, 1
jne 0x478126
pop edi
test esi, esi
je 0x4781eb
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x517d98]
sub esi, 1
jne 0x4781d1
not eax
pop esi
pop ebp
ret
Function at 0x4835a0
Capabilities:
Extract resource via kernel32 functions
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00483680
Function at 0x48c590
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
and edi, 7
je 0x48c5b7
cmp eax, edi
jge 0x48c5af
push esi
call fcn.00487740
add esp, 4
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x48c5e0
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x48c5c3
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x48c5fc
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x48c5ed
xor dl, dl
jmp 0x48c5f2
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x48c5e5
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x48c631
pop edi
pop esi
mov dword [ebp + 8], str.zlib_corrupt
pop ebp
jmp fcn.00487650
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x48c649
pop edi
pop esi
mov dword [ebp + 8], str.read_past_buffer
pop ebp
jmp fcn.00487650
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x48c667
push edi
push ecx
push esi
call fcn.0048f830
add esp, 0xc
test eax, eax
jne 0x48c667
pop edi
pop esi
pop ebp
ret
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004d7fb0
add dword [esi], edi
add esp, 0xc
add dword [esi + 0x10], edi
mov eax, 1
pop edi
pop esi
pop ebp
ret

Function at 0x4935b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x624], 0
je 0x49361d
cmp dword [ebp + 8], 0x100
jne 0x49360d
cmp word [ebp + 0xc], 0xd
jne 0x49360d
cmp byte [esi + 0x62a], 0
je 0x4935ee
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x49360d
cmp byte [esi + 0x62b], 0
jne 0x49360d
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x493606
push 0
push 0
push 0
push str.return
push esi
call fcn.0046a620
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x624]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x49f670
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, ecx
mov eax, dword [edi]
mov eax, dword [eax + 0x108]
call eax
mov ebx, dword [ebp + 8]
test al, al
jne 0x49f6b7
mov eax, dword [ebx]
cmp eax, 8
jle 0x49f6b7
cmp eax, 0x16
jge 0x49f6b7
mov ecx, dword [edi + 0x4f0]
push ebx
test ecx, ecx
je 0x49f6aa
mov eax, dword [ecx]
call dword [eax + 0x18]
pop edi
pop ebx
pop ebp
ret 4
mov ecx, edi
call fcn.0049f260
pop edi
pop ebx
pop ebp
ret 4
mov ecx, dword [edi + 0x4f0]
push esi
test ecx, ecx
je 0x49f715
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [eax + 0x458], 0
je 0x49f715
cmp dword [ebx], 0xf
jne 0x49f715
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x49f859
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x49f742
mov eax, dword [edi + 0x4d0]
lea ecx, [edi + 0x4d0]
pop esi
pop edi
pop ebx
mov dword [ebp + 8], 1
pop ebp
jmp dword [eax + 0x14]
mov eax, dword [ebx]
cmp eax, 0xd
jne 0x49f799
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x49f859
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x49f766
lea esi, [edi + 0x4d0]
mov edi, dword [esi]
mov ecx, esi
mov eax, dword [edi + 0x10]
call eax
test al, al
mov ecx, esi
sete al
movzx eax, al
push eax
call dword [edi + 0x18]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [edi + 0x4d0]
lea ecx, [edi + 0x4d0]
push 1
call dword [eax + 0x14]
mov edx, dword [edi + 0x4d0]
lea eax, [edi + 0x158]
push eax
lea eax, [ebx + 0xc]
push eax
push edi
lea ecx, [edi + 0x4d0]
call dword [edx + 0x28]
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp eax, 0xe
jne 0x49f7e1
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x49f859
mov ecx, dword [edi + 0x44]
push 0
push 0
push 0
push str.itemclick
push edi
call fcn.0046a620
mov edx, dword [edi + 0x4d0]
lea ecx, [edi + 0x4d0]
lea eax, [ebx + 0xc]
push eax
push edi
call dword [edx + 0x30]
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp eax, 9
jne 0x49f801
mov edx, dword [edi + 0x4d0]
lea ecx, [edi + 0x4d0]
lea eax, [ebx + 0xc]
push eax
push edi
call dword [edx + 0x2c]
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp eax, 0xb
jne 0x49f82b
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x49f859
or dword [edi + 0x4fc], 8
mov ecx, edi
call fcn.004a1870
pop esi
pop edi
pop ebx
pop ebp
ret 4
cmp eax, 0xa
jne 0x49f851
mov eax, dword [edi + 0x4fc]
test al, 8
je 0x49f859
and eax, 0xfffffff7
mov ecx, edi
mov dword [edi + 0x4fc], eax
call fcn.004a1870
pop esi
pop edi
pop ebx
pop ebp
ret 4
push ebx
mov ecx, edi
call fcn.0049f260
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x4ad640
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x4ad6c9
cmp dword [esi + 0x10], 0
je 0x4ad6c9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00426e30
mov ebx, esp
test ebx, ebx
je 0x4ad6c9
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1c8
call fcn.0046c680
mov ecx, dword [esi + 0x10]
push 0
push 0
push 0
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0046a620
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00465f50
test al, al
je 0x4ad6c9
mov ecx, dword [esi + 0x10]
call fcn.004721e0
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4b0690
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50565b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov dword [eax + 0x518], 0
cmp dword [edi + 4], 0
jne 0x4b073b
lea eax, [ebp - 0xa4]
push eax
call fcn.004b00f0
mov ecx, dword [edi + 0x10]
movups xmm0, xmmword [ebp - 0xa4]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40000000
push 0
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00465b40
push eax
mov ecx, edi
call fcn.0046bc50
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.004a85f0
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00465560
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0046cf90
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.0046c5c0
test bl, bl
je 0x4b0778
mov eax, dword [edi + 0x10]
add eax, 0x508
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, 0x508
push eax
push 0
push 0x1002
movups xmm0, xmmword [eax]
push dword [edi + 4]
movups xmmword [edi + 0x1a], xmm0
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret 4
Function at 0x4b0d40
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x294]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x4b0d78
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret
push 0xff
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.004d8530
add esp, 0xc
lea eax, [ebp - 0x104]
push 0xff
push eax
call sub.WS2_32.dll_gethostname
lea eax, [ebp - 0x104]
push eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x4b0d68
mov eax, dword [eax + 0xc]
push esi
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov eax, ecx
shr eax, 8
mov edx, ecx
movzx esi, al
movzx eax, cl
shl eax, 8
add eax, esi
shr edx, 0x10
shl eax, 8
movzx edx, dl
add eax, edx
shr ecx, 0x18
shl eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004264c2
mov esp, ebp
pop ebp
ret

Function at 0x4b0f20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5056fb
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov dword [eax + 0x510], 0
cmp dword [edi + 4], 0
jne 0x4b0ff6
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 8
push eax
mov dword [ebp - 0x98], 0x800
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
je 0x4b0fce
lea eax, [ebp - 0xac]
mov ecx, edi
push eax
call fcn.004b09d0
mov ecx, dword [edi + 0x10]
movups xmm0, xmmword [ebp - 0xac]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40030000
push 0
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00465b40
push eax
mov ecx, edi
call fcn.0046bc50
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.004a85f0
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00465560
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0046cf90
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.0046c5c0
test bl, bl
je 0x4b1032
call fcn.004b0d40
mov ecx, dword [edi + 0x10]
mov dword [ecx + 0x508], eax
mov eax, dword [edi + 0x10]
push dword [eax + 0x508]
push 0
push 0x465
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret 4
Function at 0x4b10c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetFocus]
push esi
push edi
mov edi, ecx
call ebx
mov esi, eax
test esi, esi
je 0x4b10ea
call ebx
cmp eax, dword [edi + 4]
je 0x4b114a
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
jne 0x4b10d6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [edi + 0x10]
mov esi, eax
cmp dword [ecx + 0x510], 0
jne 0x4b1136
add ecx, 0x508
push ecx
push 0
push 0x466
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x10]
mov dword [eax + 0x510], 1
mov ecx, dword [edi + 0x10]
call fcn.004b1170
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
mov dword [eax], 1
xor eax, eax
pop ebp
ret 0x10

Function at 0x4b6a10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049fa10

Function at 0x4b6a19
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x648
jmp method.DuiLib::CMenuUI.virtual_312

Function at 0x4b7dc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x6ec], ecx
mov dword [ebx + 0x6f0], 0
mov dword [ebx + 0x6f4], eax
push edi
mov edi, dword [ebp + 0x1c]
test ecx, ecx
jne 0x4b7e2e
call fcn.004b7b00
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
test edi, edi
je 0x4b7e2e
call fcn.004b7b00
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
call fcn.004b7b00
mov esi, ebx
lea edx, [ebx + 0x10]
neg esi
mov ecx, eax
mov edi, dword [eax]
sbb esi, esi
and esi, edx
push esi
call dword [edi]
mov ecx, dword [ebx + 0x6ec]
test ecx, ecx
jne 0x4b7e54
mov ecx, dword [ebp - 0x18]
jmp 0x4b7e5b
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00465b40
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.0046c3f0
push 0
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
push 0x88
push accept
push 0
movups xmmword [ecx], xmm0
push esi
mov ecx, ebx
call fcn.0046bc50
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x4b7eac
nop dword [eax + eax]
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x4b7ea0
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004264c2
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4bec80
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
mov dword [ebp - 0x210], 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, dword [ebp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
add esi, 0xffffffdf
mov edi, eax
cmp esi, 0xd
ja case.0x4becc9.41
movzx eax, byte [esi + 0x4bed40]
jmp dword [eax*4 + 0x4bed38]
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004d8530
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, edi
or ecx, 0x1000000
cmp dword [ebp + 0x10], 0
push 0x104
cmove ecx, edi
push eax
shl ecx, 0x10
push ecx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0046c460
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004264c2
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4becd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
mov dword [ebp - 0x210], 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, dword [ebp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
add esi, 0xffffffdf
mov edi, eax
cmp esi, 0xd
ja case.0x4becc9.41
movzx eax, byte [esi + 0x4bed40]
jmp dword [eax*4 + 0x4bed38]
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004d8530
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, edi
or ecx, 0x1000000
cmp dword [ebp + 0x10], 0
push 0x104
cmove ecx, edi
push eax
shl ecx, 0x10
push ecx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0046c460
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004264c2
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4bf020
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5064cb
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5470bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
test eax, eax
je 0x4bf157
lea eax, [ebp - 0xa4]
push eax
call fcn.004be590
mov ecx, dword [edi + 0x10]
movups xmm0, xmmword [ebp - 0xa4]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40000080
push 0
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00465b40
push eax
mov ecx, edi
call fcn.0046bc50
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4bf157
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.004a85f0
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00465560
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
movzx eax, word [ecx + 0x726]
push eax
movzx eax, word [ecx + 0x724]
mov ecx, edi
push eax
call fcn.004bf740
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call fcn.004bea50
mov ecx, dword [edi + 0x10]
push eax
add ecx, 0x1c8
mov dword [ebp - 4], 0
call fcn.0046c660
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.0046c5c0
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x100]
call eax
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004264c2
mov esp, ebp
pop ebp
ret 4

Function at 0x4c236d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4f3360
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004f31df

Function at 0x4f6119
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004f5dd9
Function at 0x4cbca0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x92000]
push edi
jmp 0x4cbcba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4cbcc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cbcb0
mov eax, 1
add ebx, ebx
jne 0x4cbcd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4cbce4
jne 0x4cbd03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cbd03
dec eax
add ebx, ebx
jne 0x4cbcf0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4cbcc8
add ebx, ebx
jne 0x4cbcff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4cbd55
xor ecx, ecx
sub eax, 3
jb 0x4cbd1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4cbd8a
sar eax, 1
mov ebp, eax
jmp 0x4cbd26
add ebx, ebx
jne 0x4cbd26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cbcf4
inc ecx
add ebx, ebx
jne 0x4cbd34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4cbcf4
add ebx, ebx
jne 0x4cbd41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4cbd36
jne 0x4cbd52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4cbd36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4cbd74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4cbd66
jmp 0x4cbcb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4cbd74
add edi, ecx
jmp 0x4cbcb6
pop esi
mov edi, esi
mov ecx, 0x38ad
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4cbd92
cmp byte [edi], 0x14
jne 0x4cbd92
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4cbd97
lea edi, [esi + 0xc8000]
mov eax, dword [edi]
or eax, eax
je 0x4cbe0f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xdcbec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xdccb4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4cbdc4
mov ecx, edi
jns 0x4cbdf3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xdccb8]
or eax, eax
je 0x4cbe09
mov dword [ebx], eax
add ebx, 4
jmp 0x4cbde1
call dword [esi + 0xdccc8]
mov ebp, dword [esi + 0xdccbc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4cbe43
sub esp, 0xffffff80
jmp 0x4477fb