joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ed78
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41ed7e
ret

Function at 0x4646a8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4646d6
mov eax, ebx
call fcn.00465160
cmp dword [ebx + 0x3c], 0
je 0x4646cf
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x464747
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x464739
cmp dword [ebx + 8], 0
je 0x4646f8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x46470a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x464739
cmp dword [ebx + 8], 0
je 0x4646eb
cmp eax, 3
je 0x46471d
dec eax
jne 0x4646eb
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 0x4646eb
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x4646eb
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x464765
cmp dword [ebx + 0x10], 0xcc
je 0x464765
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.00464770
pop ebx
ret
Function at 0x402324
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 0x4023cb
cmp eax, dword [edi + 0x178]
jne 0x4023cb
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 0x43af1f
cmp dword [ebp + 0xc], 0
je 0x4023aa
mov dword [edi + 0x17c], eax
cmp esi, dword [edi + 0x180]
jne 0x43af8b
cmp dword [ebp + 0xc], 0
je 0x4023c2
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 0x402370
jmp 0x43af0e
push eax
push ecx
push edi
push 0xfffffffffffffff5
mov ecx, ebx
call fcn.00485056
jmp 0x402370
cmp dword [ebp + 0xc], 1
jl 0x40239e
cmp byte [edi + 0x1a8], 0
je 0x40239e
mov ecx, ebx
push dword [ebp - 4]
push dword [ebp - 8]
push edi
test eax, eax
je 0x43af47
push 0xfffffffffffffff9
jmp 0x43af77
push 0xfffffffffffffff8
call fcn.00485056
cmp byte [edi + 0x184], 0
je 0x43af7c
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 0x43af75
push 0xfffffffffffffffa
jmp 0x43af77
push 0xfffffffffffffff4
call fcn.00485056
mov eax, dword [ebp + 8]
mov byte [edi + 0x184], 0
jmp 0x40239e
cmp dword [ebp + 0xc], 1
jl 0x4023b6
mov ecx, ebx
push dword [ebp - 4]
push dword [ebp - 8]
push edi
test esi, esi
je 0x43afa6
push 0xfffffffffffffff7
jmp 0x43afa8
push 0xfffffffffffffff6
call fcn.00485056
jmp 0x4023b6
Function at 0x402bc8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push edi
mov edi, 0x4c37d0
jne 0x43b163
mov ecx, dword [0x4c383c]
cmp ecx, 0xffffffff
je 0x402c61
mov eax, dword [0x4c3830]
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 0x402c0c
mov byte [esi + 0x3a], dl
cmp dword [esi + 0x18c], edx
jge 0x43b17a
mov edi, dword [ebp + 8]
cmp edi, 8
jg 0x43b1bc
je 0x402c34
test edi, edi
je 0x402c82
cmp edi, 1
je 0x402c34
cmp edi, 2
je 0x402c79
cmp edi, 3
je 0x402c70
jle 0x402c58
cmp edi, 5
jg 0x402c65
cmp byte [esi + 0x38], 0
jne 0x402c90
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp edi, 8
je 0x402c54
cmp edi, 4
je 0x402c54
push dword [ebp + 0xc]
call fcn.00404a10
mov byte [esi + 0x38], 1
xor eax, eax
inc eax
pop esi
pop edi
pop ebp
ret 8
xor eax, eax
jmp 0x402c5c
cmp edi, 6
je 0x43b1a4
jmp 0x402c58
mov byte [esi + 0x38], 1
jmp 0x43b211
mov byte [esi + 0x38], 1
jmp 0x43b1a4
push edx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x38], 0
jmp 0x402c58
xor eax, eax
jmp 0x402c5b
push dword [ebp + 0xc]
mov ecx, edi
call fcn.004025f2
mov ecx, eax
mov dword [0x4c383c], ecx
jmp 0x402be1
cmp byte [esi + 0x198], dl
je 0x402c0c
push dword [esi + 0x194]
mov ecx, edi
push esi
call fcn.0048a593
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov byte [esi + 0x198], dl
jmp 0x402c0c
cmp byte [esi + 0x38], 0
je 0x402c90
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x402c58
mov eax, edi
sub eax, 9
je 0x43b211
sub eax, 0x37
je 0x43b203
dec eax
je 0x43b200
dec eax
je 0x43b1f0
dec eax
jne 0x402c58
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 0x402c58
push ecx
mov byte [esi + 0x39], 1
call dword [sym.imp.USER32.dll_LockWindowUpdate]
jmp 0x402c58
push edx
jmp 0x43b205
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x402c58
cmp byte [esi + 0x38], 0
je 0x402c90
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 0xc]
call fcn.00404a10
jmp 0x402c58
Function at 0x403590
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 0x40360f
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x40360f
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 0x40360f
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 0x4035f4
mov eax, dword [ebp - 4]
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, dword [ebp + 0xc]
jae 0x403606
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 0x4035f2
xor al, al
jmp 0x403600
Function at 0x403b2c
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2002c
call fcn.004308b0
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.004073d7
xor eax, eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 6], al
mov byte [ebp - 5], al
lea eax, [ebp - 0x1002c]
push eax
push 0x7fff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 7]
push eax
push dword [ebp + 8]
call fcn.00403758
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x43c1ce
mov eax, dword [0x4c32e0]
test eax, eax
je 0x403c77
xor edi, edi
mov esi, 0x4c42b0
inc edi
cmp eax, edi
je 0x43c1e8
lea eax, [ebp - 6]
push eax
push ecx
push 0x4c32e0
push 0x4c32f8
mov ecx, esi
call fcn.00407003
test al, al
je 0x403c80
mov al, byte [0x4c42b0]
mov byte [0x4c32e4], al
mov al, byte [0x4c42b1]
mov byte [ebp - 5], al
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2002c]
push eax
push 0x7fff
push dword [0x4c32f8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push dword [ebp - 0xc]
mov ecx, 0x4c32d0
call fcn.0040793c
mov al, byte [ebp - 6]
mov dword [ebp - 0xc], eax
push dword [0x4c32e0]
push 0x4c32f8
call fcn.0041027b
test eax, eax
jne 0x43c207
cmp byte [ebp - 5], 1
je 0x43c226
call fcn.00403a38
call fcn.004039c7
cmp byte [0x4c32e4], 0
jne 0x403c35
mov ecx, 0x4c38b0
call fcn.004043c1
push edi
mov ecx, 0x4c3310
call fcn.00410320
cmp byte [0x4c32e4], 0
jne 0x403c53
mov ecx, 0x4c38b0
call fcn.004044b1
mov ecx, esi
call fcn.00407059
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x2c]
call fcn.00405832
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
or dword [0x4c327c], 0xffffffff
jmp 0x403c5a
mov dword [0x4c327c], edi
jmp 0x403c5a
push 0x10
push 0x4b45ec
push str.This_is_a_third_party_compiled_AutoIt_script.
xor eax, eax
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x403c67
push 0xffffffffffffffff
push dword [0x4c32e8]
mov ecx, esi
push edi
call fcn.00406f91
mov al, byte [0x4c3284]
mov byte [0x4c42b2], al
jmp 0x403bf6
mov ecx, esi
call fcn.00407059
lea eax, [ebp - 0x1002c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [0x4c327c], edi
jmp 0x403c67
call fcn.0046368b
test al, al
jne 0x403c18
cmp byte [ebp - 7], al
jne 0x403c18
lea ecx, [ebp - 0x2c]
call fcn.0040484a
push 0x4a3910
lea ecx, [ebp - 0x1c]
call fcn.00407b51
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x1c]
test al, al
je 0x43c280
mov edi, 0x4b4620
push edi
call fcn.00407a1b
push 0x4c32f8
lea ecx, [ebp - 0x1c]
call fcn.0040789e
push edi
lea ecx, [ebp - 0x1c]
call fcn.00407a1b
push 1
jmp 0x43c289
push dword [ebp + 8]
call fcn.00407a1b
push edi
lea eax, [ebp - 0x1002c]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x2c]
push 0x4b4624
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x1c]
call fcn.00405832
jmp 0x403c53
Function at 0x404a10
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 0x43c7a2
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 0x43c7b7
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 0x43c7cb
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 0x43c8a6
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 0x43c882
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 0x43c887
push 4
jmp 0x43c884
push 3
pop ebx
jmp 0x43c88a
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 0x43c8a9
push 2
pop ebx
mov eax, ebx
pop edi
jmp 0x404a2e
Function at 0x404fc4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x10]
push ebx
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x404ffc
push edi
push 0
push 0x48eae0
push 0xa
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
jne 0x43ca35
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x404ffb
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x404ffb
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x404ffb
mov ecx, dword [ebx]
push 0
push edi
push eax
mov edx, dword [ecx]
push ecx
call dword [edx + 0x10]
mov eax, dword [ebx]
xor edx, edx
push edx
push edx
push edx
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov byte [esi + 0x14], 1
jmp 0x404ffb

Function at 0x405046
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x43cacf
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00424552
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 0x40506c
Function at 0x405970
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 0x4059e3
mov ebx, dword [ebp + 0xc]
xor edi, edi
test ebx, ebx
je 0x4059a6
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
je 0x4059b6
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 0x405987
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 0x4059a6
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4059a6
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
jmp 0x40598f
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.004059fe
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
jmp 0x40597e
Function at 0x41f3c4
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 0x454baf
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.00407730
push 0x2b
pop ecx
push 0x5e
movzx eax, word [eax]
cmp ax, cx
pop ecx
push 0x21
pop edx
je 0x454bb6
cmp ax, cx
je 0x454bb6
cmp ax, dx
je 0x454bb6
cmp ax, word [ebp - 8]
je 0x454bb6
push edi
inc edi
mov ecx, esi
mov dword [ebp + 0x1c], edi
call fcn.00407730
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp + 0xc]
movzx eax, word [eax]
cmp eax, 0x7b
jne 0x454c31
push 0x40
lea ecx, [ebp - 0x20]
call fcn.00407786
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
push eax
push 0x7d
call fcn.0041f4db
test al, al
je 0x41f4d7
push dword [ebp - 0x20]
push dword [esi*4 + 0x4a4060]
call fcn.00421e6d
pop ecx
pop ecx
test eax, eax
je 0x41f4a3
inc esi
cmp esi, 0x63
jl 0x41f488
cmp esi, 0x63
je 0x454be8
cmp byte [esi + 0x4a3ff8], 0
jne 0x41f4d7
movzx eax, byte [esi + str._f_b_b..__reepqrstuvwxyz________t___]
mov dword [edi], eax
lea ecx, [ebp - 0x20]
call fcn.00405832
and dword [edi], 0xff
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
xor bl, bl
jmp 0x41f4be
lea ecx, [ebp - 0x20]
call fcn.00405832
xor al, al
jmp 0x41f4ce
cmp ax, word [ebp - 0xc]
jne 0x454bc1
mov eax, dword [ebp + 0x10]
jmp 0x454be0
cmp ax, cx
jne 0x454bcb
mov eax, dword [ebp + 0x14]
jmp 0x454be0
cmp ax, dx
jne 0x454bd5
mov eax, dword [ebp + 0x18]
jmp 0x454be0
push 0x23
pop ecx
cmp ax, cx
jne 0x454be2
mov eax, dword [ebp + 0x1c]
mov byte [eax], bl
inc edi
jmp 0x41f410
push 0
lea ecx, [ebp - 0x20]
call fcn.00407762
movzx eax, word [eax]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x454ba7
test eax, 0x200
je 0x454c10
mov ecx, dword [ebp + 0x14]
mov byte [ecx], bl
test eax, 0x400
je 0x454c1c
mov ecx, dword [ebp + 0x18]
mov byte [ecx], bl
test eax, 0x100
je 0x41f4be
mov eax, dword [ebp + 0x10]
mov byte [eax], bl
jmp 0x41f4be
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x454baf
test eax, 0x200
je 0x454c50
mov ecx, dword [ebp + 0x14]
mov byte [ecx], bl
test eax, 0x400
je 0x454c5c
mov ecx, dword [ebp + 0x18]
mov byte [ecx], bl
test eax, 0x100
je 0x41f4c6
mov eax, dword [ebp + 0x10]
mov byte [eax], bl
jmp 0x41f4c6
Function at 0x41f52b
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 0x41f90d
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov al, byte [0x4c3283]
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], al
push 0x8000
push esi
mov edi, edx
call fcn.00423656
pop ecx
push eax
call fcn.00423484
cmp dword [edi + 0xc], 0xb
mov ebx, eax
pop ecx
pop ecx
je 0x454cd5
lea ecx, [ebp - 0x18]
call fcn.004057d7
mov ecx, edi
call fcn.00409337
lea eax, [ebp - 0x18]
push eax
push dword [edi + 8]
call fcn.00405734
push dword [ebp - 0x18]
push 0x490d18
push esi
call fcn.00423855
add esp, 0xc
mov dword [ebp - 8], eax
cmp byte [ebp - 1], 0
jne 0x454cf5
lea ecx, [ebp - 0x18]
call fcn.00405832
mov edi, dword [ebp - 8]
push esi
call fcn.00423a1a
pop ecx
cmp ebx, 0xffffffff
je 0x41f9ab
push ebx
push esi
call fcn.00423656
pop ecx
push eax
call fcn.00423484
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4000
jmp 0x41f993
push esi
mov ecx, edi
call fcn.004674c1
push eax
push 1
call fcn.0046747e
push eax
call fcn.004237d3
add esp, 0x10
mov edi, eax
jmp 0x41f986
mov ecx, edi
call fcn.00409337
mov eax, dword [edi + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x41f97b
Function at 0x4349fc
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4bcd50]
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
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00428dc9
mov dword [ebp - 0x14], eax
cmp dword [0x4c20e8], esi
jne 0x434aef
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x434a7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x434bcf
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x434bcf
push 0x49fda0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x434bcf
push eax
call ebx
push 0x49fdac
push edi
mov dword [0x4c20e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4c20ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4c20f0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c20f8], eax
test eax, eax
je 0x434aec
push 0x49fdec
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c20f4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x434b14
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x434b07
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x434b29
push 4
pop eax
jmp 0x434bd1
cmp dword [ebp - 0x14], esi
je 0x434b29
push dword [0x4c20e8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x434b0e
mov eax, dword [0x4c20f4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x434b87
cmp dword [0x4c20f8], edi
je 0x434b87
push eax
call ebx
push dword [0x4c20f8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x434b87
test eax, eax
je 0x434b87
call ecx
test eax, eax
je 0x434b7c
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 0x434b7c
test byte [ebp - 8], 1
jne 0x434b87
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x434bb7
mov eax, dword [0x4c20ec]
cmp eax, edi
je 0x434bb4
push eax
call ebx
test eax, eax
je 0x434bb4
call eax
mov esi, eax
test esi, esi
je 0x434bb4
mov eax, dword [0x4c20f0]
cmp eax, edi
je 0x434bb4
push eax
call ebx
test eax, eax
je 0x434bb4
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4c20e8]
call ebx
test eax, eax
je 0x434bcf
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x434bd1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042b566
mov esp, ebp
pop ebp
ret