joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d280
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419168]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00408685
mov dword [ebp - 0x14], eax
cmp dword [0x41c7f0], edi
jne 0x40d371
push 0x800
push edi
push 0x413bac
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x40d2fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d451
push 0x413bac
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40d451
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d451
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x41c7f0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x41c7f4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x41c7f8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41c800], eax
test eax, eax
je 0x40d36e
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41c7fc], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d396
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d389
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x40d3ab
push 4
pop eax
jmp 0x40d453
cmp dword [ebp - 0x14], edi
je 0x40d3ab
push dword [0x41c7f0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d390
mov eax, dword [0x41c7fc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x40d409
cmp dword [0x41c800], esi
je 0x40d409
push eax
call ebx
push dword [0x41c800]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d409
test eax, eax
je 0x40d409
call ecx
test eax, eax
je 0x40d3fe
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d3fe
test byte [ebp - 8], 1
jne 0x40d409
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x40d439
mov eax, dword [0x41c7f4]
cmp eax, esi
je 0x40d436
push eax
call ebx
test eax, eax
je 0x40d436
call eax
mov edi, eax
test edi, edi
je 0x40d436
mov eax, dword [0x41c7f8]
cmp eax, esi
je 0x40d436
push eax
call ebx
test eax, eax
je 0x40d436
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x41c7f0]
call ebx
test eax, eax
je 0x40d451
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x40d453
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405a09
leave
ret
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6bac4e90
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x29c8263e
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4312b9
Capabilities:
Encode data using xor

Disassembly:
mov esi, es
sub al, 5
or byte [ecx - 0x1b262e05], ah
mov ebx, 0xd9a3088f
fadd st(2)
xchg ebp, eax
loopne 0x431295

Function at 0x4c6f71
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4ce378
cmp edx, dword [eax]
je 0x4c6f93
add eax, 8
inc ecx
cmp eax, 0x4ce408
jl 0x4c6f84
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4ce378]
jne 0x4c70c1
mov eax, dword [0x4d3da0]
cmp eax, 1
je 0x4c709b
test eax, eax
jne 0x4c6fc4
cmp dword [0x4ce2a4], 1
je 0x4c709b
cmp edx, 0xfc
je 0x4c70c1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c6ffb
lea eax, [ebp - 0x1a4]
push 0x4cc6c0
push eax
call fcn.004c7950
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c7de0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c703e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c7de0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4cc6bc
push edi
call fcn.004c9cb0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4cc6a0
push eax
call fcn.004c7950
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c7960
lea eax, [ebp - 0xa0]
push 0x4cc69c
push eax
call fcn.004c7960
push dword [esi + 0x4ce37c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c7960
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4cc674
push eax
call fcn.004c9c24
add esp, 0x2c
pop edi
jmp 0x4c70c1
lea eax, [ebp + 8]
lea esi, [esi + 0x4ce37c]
push 0
push eax
push dword [esi]
call fcn.004c7de0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401284
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
push ebx
push esi
je 0x401303
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x401303
xor eax, eax
xor ebx, ebx
mov word [esi], ax
lea eax, [ebp - 8]
push eax
push 1
push ebx
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401303
mov eax, dword [ebp + 0xc]
push edi
lea edi, [eax + eax]
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push esi
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4012e8
mov eax, dword [ebp - 4]
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, dword [ebp + 0xc]
jae 0x4012fa
xor ecx, ecx
mov word [esi + eax*2], cx
mov bl, 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov word [edi + esi - 2], ax
jmp 0x4012e6
xor al, al
jmp 0x4012f4

Function at 0x402714
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
mov ebx, ecx
mov esi, dword [edi]
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 8]
mov dword [edi + 0x16c], eax
mov eax, dword [ebp - 4]
mov dword [edi + 0x170], eax
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp ecx, dword [edi + 0x174]
jne 0x4027bb
cmp eax, dword [edi + 0x178]
jne 0x4027bb
push dword [ebx + 0x18]
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
call esi
push dword [ebx + 0x1c]
movzx eax, ax
shr eax, 0xf
mov dword [ebp + 8], eax
call esi
movzx esi, ax
mov eax, dword [ebp + 8]
shr esi, 0xf
cmp eax, dword [edi + 0x17c]
jne 0x43c21f
cmp dword [ebp + 0xc], 0
je 0x40279a
mov dword [edi + 0x17c], eax
cmp esi, dword [edi + 0x180]
jne 0x43c28b
cmp dword [ebp + 0xc], 0
je 0x4027b2
mov dword [edi + 0x180], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp + 0xc], 1
mov dword [edi + 0x174], ecx
mov dword [edi + 0x178], eax
jl 0x402760
jmp 0x43c20e
push eax
push ecx
push edi
push 0xfffffffffffffff5
mov ecx, ebx
call fcn.0048654e
jmp 0x402760
cmp dword [ebp + 0xc], 1
jl 0x40278e
cmp byte [edi + 0x1a8], 0
je 0x40278e
mov ecx, ebx
push dword [ebp - 4]
push dword [ebp - 8]
push edi
test eax, eax
je 0x43c247
push 0xfffffffffffffff9
jmp 0x43c277
push 0xfffffffffffffff8
call fcn.0048654e
cmp byte [edi + 0x184], 0
je 0x43c27c
push 0xfffffffffffffff0
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, ebx
push dword [ebp - 4]
push dword [ebp - 8]
push edi
test eax, 0x1000000
je 0x43c275
push 0xfffffffffffffffa
jmp 0x43c277
push 0xfffffffffffffff4
call fcn.0048654e
mov eax, dword [ebp + 8]
mov byte [edi + 0x184], 0
jmp 0x40278e
cmp dword [ebp + 0xc], 1
jl 0x4027a6
mov ecx, ebx
push dword [ebp - 4]
push dword [ebp - 8]
push edi
test esi, esi
je 0x43c2a6
push 0xfffffffffffffff7
jmp 0x43c2a8
push 0xfffffffffffffff6
call fcn.0048654e
jmp 0x4027a6
Function at 0x402e2b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push edi
mov edi, 0x4c67b0
jne 0x43c43d
mov ecx, dword [0x4c681c]
cmp ecx, 0xffffffff
je 0x402ec4
mov eax, dword [0x4c6810]
xor edx, edx
push esi
mov eax, dword [eax + ecx*4]
mov esi, dword [eax]
mov ecx, dword [esi]
mov dword [ebp + 0xc], ecx
cmp byte [esi + 0x3a], dl
je 0x402e6f
mov byte [esi + 0x3a], dl
cmp dword [esi + 0x18c], edx
jge 0x43c454
mov edi, dword [ebp + 8]
cmp edi, 8
jg 0x43c496
je 0x402e97
test edi, edi
je 0x402ee5
cmp edi, 1
je 0x402e97
cmp edi, 2
je 0x402edc
cmp edi, 3
je 0x402ed3
jle 0x402ebb
cmp edi, 5
jg 0x402ec8
cmp byte [esi + 0x38], 0
jne 0x402ef3
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp edi, 8
je 0x402eb7
cmp edi, 4
je 0x402eb7
push dword [ebp + 0xc]
call fcn.00415eda
mov byte [esi + 0x38], 1
xor eax, eax
inc eax
pop esi
pop edi
pop ebp
ret 8
xor eax, eax
jmp 0x402ebf
cmp edi, 6
je 0x43c47e
jmp 0x402ebb
mov byte [esi + 0x38], 1
jmp 0x43c4eb
mov byte [esi + 0x38], 1
jmp 0x43c47e
push edx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x38], 0
jmp 0x402ebb
xor eax, eax
jmp 0x402ebe
push dword [ebp + 0xc]
mov ecx, edi
call fcn.004029e2
mov ecx, eax
mov dword [0x4c681c], ecx
jmp 0x402e44
cmp byte [esi + 0x198], dl
je 0x402e6f
push dword [esi + 0x194]
mov ecx, edi
push esi
call fcn.0048ba8b
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov byte [esi + 0x198], dl
jmp 0x402e6f
cmp byte [esi + 0x38], 0
je 0x402ef3
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x402ebb
mov eax, edi
sub eax, 9
je 0x43c4eb
sub eax, 0x37
je 0x43c4dd
dec eax
je 0x43c4da
dec eax
je 0x43c4ca
dec eax
jne 0x402ebb
push edx
mov byte [esi + 0x39], dl
call dword [sym.imp.USER32.dll_LockWindowUpdate]
push 1
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x402ebb
push ecx
mov byte [esi + 0x39], 1
call dword [sym.imp.USER32.dll_LockWindowUpdate]
jmp 0x402ebb
push edx
jmp 0x43c4df
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x402ebb
cmp byte [esi + 0x38], 0
je 0x402ef3
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 0xc]
call fcn.00415eda
jmp 0x402ebb
Function at 0x414220
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0
je 0x414293
mov ebx, dword [ebp + 0xc]
xor edi, edi
test ebx, ebx
je 0x414256
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
je 0x414266
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
mov al, byte [ecx + eax]
mov ecx, dword [ebp + 8]
mov byte [edi + ecx], al
inc edi
inc dword [esi + 0xc]
cmp edi, ebx
jb 0x414237
add dword [esi + 0x10], edi
mov eax, edi
pop edi
adc dword [esi + 0x14], 0
pop esi
pop ebx
pop ebp
ret 8
push 0
lea eax, [ebp + 0xc]
push eax
push 0x10000
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x414256
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x414256
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
jmp 0x41423f
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.004142ae
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
jmp 0x41422e

Function at 0x41453d
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x414565
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x414557
pop edi
pop esi
pop ebp
ret 4

Function at 0x414ab2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x4508c5
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00425732
add esp, 0x10
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ecx + 0x10]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov edx, dword [ecx]
push eax
push dword [ebp + 8]
push ecx
call dword [edx + 0xc]
mov eax, dword [ebp - 4]
jmp 0x414ad8
Function at 0x415240
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20030
call fcn.00431aa0
push ebx
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.00411207
lea eax, [ebp - 0x1002c]
xor ebx, ebx
push eax
push 0x7fff
mov byte [ebp - 6], bl
mov byte [ebp - 5], bl
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 7]
push eax
push dword [ebp + 8]
call fcn.00414ec8
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x450aa1
xor edi, edi
mov esi, 0x4c7290
inc edi
cmp dword [0x4c62e0], edi
je 0x450ab9
lea eax, [ebp - 6]
push eax
push ecx
push 0x4c62e0
push 0x4c62f8
mov ecx, esi
call fcn.004131bf
test al, al
je 0x41537d
mov al, byte [0x4c7290]
mov byte [0x4c62e4], al
mov al, byte [0x4c7291]
mov byte [ebp - 5], al
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2002c]
push eax
push 0x7fff
push dword [0x4c62f8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push dword [ebp - 0xc]
mov ecx, 0x4c62d0
call fcn.00411821
mov bl, byte [ebp - 6]
push dword [0x4c62e0]
push 0x4c62f8
call fcn.0040bbc6
test eax, eax
jne 0x450ad8
cmp byte [ebp - 5], 1
je 0x450af7
call fcn.0041514c
call fcn.004150db
cmp byte [0x4c62e4], 0
mov ebx, 0x4c6890
jne 0x41533d
mov ecx, ebx
call fcn.004159d3
push edi
mov ecx, 0x4c6310
call fcn.0040bc70
cmp byte [0x4c62e4], 0
jne 0x415358
mov ecx, ebx
call fcn.00415ac3
mov ecx, esi
call fcn.00413215
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x2c]
call fcn.00411cb6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [0x4c627c], edi
jmp 0x41535f
push 0x10
push str.AutoIt
push str.It_is_a_violation_of_the_AutoIt_EULA_to_attempt_to_reverse_engineer_this_program.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x41536c
push 0xffffffffffffffff
push dword [0x4c62e8]
mov ecx, esi
push edi
call fcn.0041314d
mov al, byte [0x4c6284]
mov byte [0x4c7292], al
jmp 0x4152fc
mov ecx, esi
call fcn.00413215
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x4c627c], edi
jmp 0x41536c
call fcn.00464d89
test al, al
jne 0x41531e
cmp byte [ebp - 7], al
jne 0x41531e
lea ecx, [ebp - 0x2c]
call fcn.0041fffa
push 0x4b5230
lea ecx, [ebp - 0x1c]
call fcn.00411a36
lea ecx, [ebp - 0x1c]
test bl, bl
je 0x450b4e
mov edi, 0x4b879c
push edi
call fcn.00411900
push 0x4c62f8
lea ecx, [ebp - 0x1c]
call fcn.004117e0
push edi
lea ecx, [ebp - 0x1c]
call fcn.00411900
push 1
jmp 0x450b57
push dword [ebp + 8]
call fcn.00411900
push edi
lea eax, [ebp - 0x1002c]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
push 0x4b87a0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x1c]
call fcn.00411cb6
jmp 0x415358
Function at 0x415eda
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, dword [ebp + 8]
mov esi, eax
cmp ebx, esi
jne 0x45104a
xor eax, eax
inc eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
xor edi, edi
test esi, esi
jne 0x45105f
push edi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push ebx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x451073
push 9
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x45114e
push edi
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov edi, eax
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push ebx
mov dword [ebp + 8], eax
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
call esi
push 1
push edi
push dword [ebp + 8]
call esi
push 1
push dword [ebp - 4]
push edi
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x45112a
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push eax
push eax
push 0x12
call edi
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
xor eax, eax
push eax
push eax
push eax
push 0x12
call edi
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, dword [ebp - 8]
test eax, eax
je 0x45112f
push 4
jmp 0x45112c
push 3
pop ebx
jmp 0x451132
mov ebx, dword [ebp - 0xc]
push 0
push dword [ebp - 4]
push dword [ebp + 8]
call esi
push 0
push edi
push dword [ebp + 8]
call esi
push 0
push dword [ebp - 4]
push edi
call esi
jmp 0x451151
push 2
pop ebx
mov eax, ebx
pop edi
jmp 0x415ef8
Function at 0x42057f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
xor ebx, ebx
mov dword [ebp - 4], edx
push esi
inc ebx
mov dword [ebp - 0x10], edx
push edi
cmp dword [eax + 4], edx
je 0x4565dd
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov byte [eax], dl
mov eax, dword [ebp + 0x10]
mov byte [ecx], dl
mov ecx, dword [ebp + 0x14]
mov dword [edi], edx
mov edi, edx
mov byte [eax], dl
mov dword [ebp - 0xc], 0x2b
mov byte [ecx], dl
mov dword [ebp - 8], 0x23
push edi
mov ecx, esi
call fcn.004115d7
push 0x2b
pop ecx
push 0x5e
movzx eax, word [eax]
cmp ax, cx
pop ecx
push 0x21
pop edx
je 0x4565e4
cmp ax, cx
je 0x4565e4
cmp ax, dx
je 0x4565e4
cmp ax, word [ebp - 8]
je 0x4565e4
push edi
inc edi
mov ecx, esi
mov dword [ebp + 0x1c], edi
call fcn.004115d7
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp + 0xc]
movzx eax, word [eax]
cmp eax, 0x7b
jne 0x45665f
push 0x40
lea ecx, [ebp - 0x20]
call fcn.0041162d
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
push eax
push 0x7d
call fcn.00420696
test al, al
je 0x420692
push dword [ebp - 0x20]
push dword [esi*4 + 0x4a59e0]
call fcn.0042305f
pop ecx
pop ecx
test eax, eax
je 0x42065e
inc esi
cmp esi, 0x63
jl 0x420643
cmp esi, 0x63
je 0x456616
cmp byte [esi + 0x4a5978], 0
jne 0x420692
movzx eax, byte [esi + str._f_b_b..__reepqrstuvwxyz________t___]
mov dword [edi], eax
lea ecx, [ebp - 0x20]
call fcn.00411cb6
and dword [edi], 0xff
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
xor bl, bl
jmp 0x420679
lea ecx, [ebp - 0x20]
call fcn.00411cb6
xor al, al
jmp 0x420689
cmp ax, word [ebp - 0xc]
jne 0x4565ef
mov eax, dword [ebp + 0x10]
jmp 0x45660e
cmp ax, cx
jne 0x4565f9
mov eax, dword [ebp + 0x14]
jmp 0x45660e
cmp ax, dx
jne 0x456603
mov eax, dword [ebp + 0x18]
jmp 0x45660e
push 0x23
pop ecx
cmp ax, cx
jne 0x456610
mov eax, dword [ebp + 0x1c]
mov byte [eax], bl
inc edi
jmp 0x4205cb
push 0
lea ecx, [ebp - 0x20]
call fcn.00411609
movzx eax, word [eax]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x4565d5
test eax, 0x200
je 0x45663e
mov ecx, dword [ebp + 0x14]
mov byte [ecx], bl
test eax, 0x400
je 0x45664a
mov ecx, dword [ebp + 0x18]
mov byte [ecx], bl
test eax, 0x100
je 0x420679
mov eax, dword [ebp + 0x10]
mov byte [eax], bl
jmp 0x420679
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x4565dd
test eax, 0x200
je 0x45667e
mov ecx, dword [ebp + 0x14]
mov byte [ecx], bl
test eax, 0x400
je 0x45668a
mov ecx, dword [ebp + 0x18]
mov byte [ecx], bl
test eax, 0x100
je 0x420681
mov eax, dword [ebp + 0x10]
mov byte [eax], bl
jmp 0x420681
Function at 0x4206e6
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ebx, ebx
push edi
mov edi, ecx
push 5
pop eax
push ebx
mov dword [edi], eax
mov dword [edi + 4], eax
mov word [edi + 8], 1
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
push 0x5b
mov dword [edi + 0xc], 4
call esi
push ebx
push 0x10
mov byte [edi + 0x29], al
call esi
push ebx
push 0xa0
mov byte [edi + 0x26], al
call esi
push ebx
push 0xa1
mov byte [edi + 0x27], al
call esi
push ebx
push 0x11
mov byte [edi + 0x28], al
call esi
push ebx
push 0x12
mov byte [edi + 0x24], al
call esi
mov byte [edi + 0x25], al
pop edi
pop esi
pop ebx
ret

Function at 0x420aeb
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov al, byte [0x4c6283]
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], al
push 0x8000
push esi
mov edi, edx
call fcn.00424836
pop ecx
push eax
call fcn.00424664
cmp dword [edi + 0xc], 0xb
mov ebx, eax
pop ecx
pop ecx
je 0x456703
lea ecx, [ebp - 0x18]
call fcn.004140cd
mov ecx, edi
call fcn.00404d37
lea eax, [ebp - 0x18]
push eax
push dword [edi + 8]
call fcn.0041402a
push dword [ebp - 0x18]
push 0x492ca8
push esi
call fcn.00424a35
add esp, 0xc
mov dword [ebp - 8], eax
cmp byte [ebp - 1], 0
jne 0x456723
lea ecx, [ebp - 0x18]
call fcn.00411cb6
mov edi, dword [ebp - 8]
push esi
call fcn.00424bfa
pop ecx
cmp ebx, 0xffffffff
je 0x420b89
push ebx
push esi
call fcn.00424836
pop ecx
push eax
call fcn.00424664
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4000
jmp 0x420b71
push esi
mov ecx, edi
call fcn.00468b80
push eax
push 1
call fcn.00468b3d
push eax
call fcn.004249b3
add esp, 0x10
mov edi, eax
jmp 0x420b64
mov ecx, edi
call fcn.00404d37
mov eax, dword [edi + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x420b59