Function at 0x42ff80
Capabilities:
Enumerate processes
Hide graphical window
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x388
mov eax, dword [0x43c040]
xor eax, esp
mov dword [esp + 0x384], eax
push esi
push edi
xor edi, edi
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x430001
lea eax, [esp + 0x140]
mov dword [esp + 0x140], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x430001
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
lea eax, [esp + 0x164]
push 0x439484
push eax
call edi
add esp, 8
test eax, eax
je 0x4303d9
lea eax, [esp + 0x140]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42ffd2
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 0
push 0x1fffff
mov dword [0x43c0b4], edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [0x43c654], eax
test eax, eax
je 0x4309ab
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
push 0x439384
lea eax, [esp + 0x7c]
push str.CONOUT_
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
add esp, 0x10
push str.AssaultCube
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
mov esi, eax
lea eax, [esp + 0xc4]
mov dword [esp + 0x18], esi
push eax
push esi
call edi
mov ecx, dword [esp + 0xc4]
lea eax, [esp + 0xb4]
push eax
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0xcc]
push esi
mov esi, dword [sym.imp.USER32.dll_ClientToScreen]
mov dword [esp + 0xc0], ecx
call esi
mov eax, dword [esp + 0xcc]
sub eax, dword [esp + 0xc4]
mov dword [0x43c638], eax
mov eax, dword [esp + 0xd0]
sub eax, dword [esp + 0xc8]
push 0
mov dword [0x43c63c], eax
mov dword [esp + 0x48], 0x30
mov dword [esp + 0x4c], 0x40
mov dword [esp + 0x50], 0x42ff30
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esp + 0x58], eax
xorps xmm0, xmm0
lea eax, [esp + 0x44]
mov dword [esp + 0x6c], str.ImGui_Example
push eax
movups xmmword [esp + 0x60], xmm0
mov dword [esp + 0x74], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [esp + 0x5c]
push 0
push 0
push dword [0x43c63c]
push dword [0x43c638]
push 0
push 0
push 0x80000000
push str.External_Overlay
push dword [esp + 0x94]
push 0x80028
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 2
push 0xff
push 0
push eax
mov dword [0x43c650], eax
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
lea eax, [esp + 0x100]
xorps xmm0, xmm0
push eax
push dword [0x43c650]
movaps xmmword [esp + 0x108], xmm0
call edi
lea eax, [esp + 0x130]
xorps xmm0, xmm0
push eax
push dword [0x43c650]
movaps xmmword [esp + 0x138], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0xd8]
xorps xmm0, xmm0
push eax
push dword [0x43c650]
movlpd qword [esp + 0xe0], xmm0
call esi
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0xfc], eax
lea eax, [esp + 0xf0]
push eax
push dword [0x43c650]
call dword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov eax, dword [0x43c650]
xorps xmm0, xmm0
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xd8]
movlpd qword [esp + 0x7c], xmm0
push eax
lea eax, [esp + 0x30]
movlpd qword [esp + 0x94], xmm0
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0xa4], 0
push eax
lea eax, [esp + 0x88]
mov dword [esp + 0x90], 0x3c
push eax
push 7
push 2
lea eax, [esp + 0x390]
mov dword [esp + 0xa0], 1
push eax
push 0
push 0
push 1
push 0
mov dword [esp + 0xb8], 0x1c
mov dword [esp + 0xc4], 1
mov dword [esp + 0xcc], 0x20
mov dword [esp + 0xd0], 2
mov dword [esp + 0xd8], 1
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0x3a4], 0xb000
mov dword [esp + 0x3a8], 0xa000
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x104], 0
call dword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
push 0x4393e8
mov dword [esp + 0x38], 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x24]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x2c]
push edx
push 0
push dword [esp + 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
push dword [ebp + 0x14]
push dword [0x43c650]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [0x43c648]
push 0x6048
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [0x43c648]
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 6
test ecx, ecx
je 0x4303ca
movsx edx, word [ecx + 0x5ebc]
lea eax, [ecx + 0x5ec0]
mov esi, dword [ecx + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], esi
je 0x4303bc
lea eax, [edx + 1]
cdq
idiv dword [esp + 0x14]
movzx eax, dx
mov word [ecx + 0x5ebc], ax
cwde
add eax, 0xbd8
xor edx, edx
lea eax, [ecx + eax*8]
mov dword [eax], esi
mov dword [eax + 4], edx
inc word [eax + 4]
inc dword [ecx + 0x5eb4]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4303e5
push 0
mov ecx, eax
call fcn.004020a0
jmp 0x4303e7
mov edi, dword [esp + 0x148]
jmp 0x430001
xor eax, eax
mov dword [0x43c648], eax
call fcn.00405a90
test edi, edi
je 0x4303fb
mov dword [0x43c648], edi
mov ecx, dword [0x43c650]
call fcn.0042ac80
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
call fcn.0042aad0
cmp byte [0x43c645], 0
jne 0x430797
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
nop dword [eax]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x124]
push eax
call esi
test eax, eax
je 0x430474
lea eax, [esp + 0x114]
push eax
call edi
lea eax, [esp + 0x114]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x124]
push eax
call esi
test eax, eax
jne 0x430446
mov esi, dword [0x43c648]
mov dword [esp + 0x10], esi
test esi, esi
je 0x430487
mov eax, dword [esi + 0x78]
jmp 0x430489
xor eax, eax
cmp dword [eax + 0x24], 0
jne 0x43049e
call fcn.0042a670
mov esi, dword [0x43c648]
mov dword [esp + 0x10], esi
test esi, esi
je 0x4304a7
mov eax, dword [esi + 0x74]
jmp 0x4304a9
xor eax, eax
lea ecx, [esp + 0x34]
mov dword [esp + 0xc], eax
xorps xmm0, xmm0
push ecx
movups xmmword [esp + 0x38], xmm0
push dword [eax]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
movd xmm1, eax
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0xe0]
cvtdq2ps xmm0, xmm0
push eax
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm0
xorps xmm0, xmm0
movlpd qword [esp + 0xe4], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0xe0]
mov ecx, edi
mov esi, dword [esp + 0xe4]
mov edx, esi
sub ecx, dword [eax + 0x10]
sbb edx, dword [eax + 0x14]
call fcn.004329b0
mov eax, dword [esp + 0xc]
cvtsd2ss xmm0, xmm0
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x18]
movss dword [esp + 0x1c], xmm0
call fcn.004329b0
movss xmm1, dword [esp + 0x1c]
cvtsd2ss xmm0, xmm0
mov eax, dword [esp + 0x10]
divss xmm1, xmm0
movss dword [eax + 0x18], xmm1
mov eax, dword [esp + 0xc]
mov dword [eax + 0x10], edi
mov edi, eax
mov dword [edi + 0x14], esi
mov esi, dword [0x43c648]
test esi, esi
je 0x430574
mov eax, dword [esi + 0x74]
mov dword [esp + 0xc], eax
jmp 0x43057c
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
cmp eax, edx
jne 0x43063b
cmp byte [esi + 0x95], 0
je 0x4305eb
cvttss2si eax, dword [esi + 0xe00]
mov dword [esp + 0xbc], eax
cvttss2si eax, dword [esi + 0xe04]
mov dword [esp + 0xc0], eax
lea eax, [esp + 0xbc]
push eax
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x4305de
push dword [esp + 0xc0]
push dword [esp + 0xc0]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [esi + 0x95], 0
mov ecx, dword [esp + 0xc]
jne 0x43063b
cmp dword [ecx + 8], 0
jne 0x43063b
lea eax, [esp + 0xe8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x43063b
lea eax, [esp + 0xe8]
push eax
mov eax, dword [esp + 0x10]
push dword [eax]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x43063b
movd xmm2, dword [esp + 0xec]
lea ecx, [esi + 8]
movd xmm1, dword [esp + 0xe8]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.004041d0
call fcn.0042af70
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x44], 0
je 0x43064f
or eax, 0xffffffff
jmp 0x43065a
mov eax, dword [0x43c648]
mov eax, dword [eax + 0x4d78]
cmp dword [edi + 0x20], eax
je 0x430667
mov dword [edi + 0x20], eax
call fcn.0042ae40
call fcn.0042b120
call fcn.004081e0
mov esi, dword [0x43c650]
push 0x71
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x4306ab
cmp byte [0x43c0b3], 0
sete al
mov byte [0x43c0b3], al
test al, al
jne 0x43069d
push 0x80028
jmp 0x4306a2
push 0x80008
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
call fcn.00431760
call fcn.004010f0
mov esi, dword [esp + 0x18]
lea eax, [esp + 0xc4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xb4]
push eax
push esi
mov dword [esp + 0xc0], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
push 0x1d
push 0
push 0
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push 0
push dword [0x43c650]
call dword [sym.imp.USER32.dll_SetWindowPos]
call fcn.0040a1d0
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x2c]
push 0
xorps xmm0, xmm0
push edx
movups xmmword [esp + 0x384], xmm0
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x84]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x37c]
push edx
push dword [esp + 0x30]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
mov eax, dword [0x43c648]
xor ecx, ecx
mov eax, dword [eax + 0x4a38]
mov eax, dword [eax]
add eax, 0x38
cmp byte [eax], cl
cmovne ecx, eax
call fcn.00429ae0
mov eax, dword [esp + 0x24]
push 0
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
cmp byte [0x43c645], 0
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
je 0x430430
mov esi, dword [0x43c648]
test esi, esi
je 0x4307a6
mov edi, dword [esi + 0x78]
jmp 0x4307a8
xor edi, edi
call fcn.0042a9c0
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4307ba
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi]
test ecx, ecx
je 0x4307c6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4307d3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [esi + 0xc], 0xfffffff7
mov ecx, dword [0x43c648]
mov dword [esi + 0x70], 0
mov dword [esi + 0x78], 0
test ecx, ecx
je 0x430835
movsx edx, word [ecx + 0x5ebc]
lea eax, [ecx + 0x5ec0]
mov esi, dword [ecx + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], esi
je 0x43082b
lea eax, [edx + 1]
cdq
idiv dword [esp + 0x14]
movzx eax, dx
mov word [ecx + 0x5ebc], ax
cwde
add eax, 0xbd8
xor edx, edx
lea eax, [ecx + eax*8]
mov dword [eax], esi
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5eb8]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [0x43c648]
add esp, 4
test ecx, ecx
je 0x43084e
mov edi, dword [ecx + 0x74]
jmp 0x430850
xor edi, edi
mov eax, dword [edi + 0x2c]
lea esi, [ecx + 8]
test eax, eax
je 0x430867
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [0x43c648]
and dword [esi + 4], 0xfffffff8
mov dword [esi + 0x64], 0
mov dword [esi + 0x6c], 0
test ecx, ecx
je 0x4308c4
movsx edx, word [ecx + 0x5ebc]
mov esi, dword [ecx + 0x3f08]
lea eax, [edx + 0xbd8]
cmp dword [ecx + eax*8], esi
lea eax, [ecx + eax*8]
je 0x4308ba
lea eax, [edx + 1]
cdq
idiv dword [esp + 0x14]
movzx eax, dx
mov word [ecx + 0x5ebc], ax
cwde
add eax, 0xbd8
xor edx, edx
lea eax, [ecx + eax*8]
mov dword [eax], esi
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5eb8]
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call edi
mov esi, dword [0x43c648]
add esp, 4
mov dword [0x43c648], esi
call fcn.00406040
mov dword [0x43c648], 0
test esi, esi
je 0x430959
mov ecx, esi
call fcn.0041a280
mov ecx, dword [0x43c648]
test ecx, ecx
je 0x430953
movsx eax, word [ecx + 0x5ebc]
mov edx, dword [ecx + 0x3f08]
add eax, 0xbd8
mov dword [esp + 0x18], edx
cmp dword [ecx + eax*8], edx
lea eax, [ecx + eax*8]
je 0x430949
movsx eax, word [ecx + 0x5ebc]
inc eax
cdq
idiv dword [esp + 0x14]
movzx eax, dx
mov edx, dword [esp + 0x18]
mov word [ecx + 0x5ebc], ax
cwde
add eax, 0xbd8
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5eb8]
push esi
call edi
add esp, 4
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x430967
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x430975
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x430983
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x430991
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [0x43c650]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [esp + 0x58]
push dword [esp + 0x70]
call dword [sym.imp.USER32.dll_UnregisterClassW]
mov ecx, dword [esp + 0x38c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00431a32
mov esp, ebp
pop ebp
ret 0x10