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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4773a6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x128
mov eax, dword [0x4901c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4927a0]
test eax, eax
je 0x46b9b5
mov eax, dword [eax + 0x74]
test eax, eax
je 0x46b9b5
mov byte [eax + 0x26], 1
xor edx, edx
push ecx
lea ecx, [edx + 0xa]
call fcn.00436570
mov edi, dword fs:[0x2c]
add esp, 4
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x46ba2d
mov ecx, dword [edi]
mov eax, dword [0x4928bc]
cmp eax, dword [ecx + 4]
jle 0x46ba12
push 0x4928bc
call fcn.0046e518
add esp, 4
cmp dword [0x4928bc], 0xffffffff
jne 0x46ba12
push str.user32.dll
call esi
push 0x4928bc
mov dword [0x4928b0], eax
call fcn.0046e4c7
add esp, 4
push str.SetThreadDpiAwarenessContext
push dword [0x4928b0]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46ba2d
push 0xfffffffffffffffc
call eax
jmp 0x46baa1
mov edx, 3
push ecx
lea ecx, [edx + 3]
call fcn.00436570
add esp, 4
test eax, eax
je 0x46ba9b
mov ecx, dword [edi]
mov eax, dword [0x4928c4]
cmp eax, dword [ecx + 4]
jle 0x46ba80
push 0x4928c4
call fcn.0046e518
add esp, 4
cmp dword [0x4928c4], 0xffffffff
jne 0x46ba80
push str.shcore.dll
call esi
push 0x4928c4
mov dword [0x4928b4], eax
call fcn.0046e4c7
add esp, 4
push str.SetProcessDpiAwareness
push dword [0x4928b4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46ba9b
push 2
call eax
jmp 0x46baa1
call dword [sym.imp.USER32.dll_SetProcessDPIAware]
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
mov dword [ebp - 0xb4], 0x30
mov dword [ebp - 0xb0], 0x40
mov dword [ebp - 0xac], 0x46b7c0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
call eax
mov dword [ebp - 0xa0], eax
xorps xmm0, xmm0
lea eax, [ebp - 0xb4]
mov dword [ebp - 0x8c], str.ImGui_Standalone
push eax
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 0x88], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [ebp - 0xa0]
push 0
push 0
push 0x32
push 0x32
push 0x64
push 0x64
push 0xcf0000
push str.ImGui_Standalone
push dword [ebp - 0x8c]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x4927e8
mov esi, eax
mov dword [ebp - 0xcc], 2
lea eax, [ebp - 0x30]
mov dword [ebp - 0x138], esi
push eax
push 0x4927ec
push 0x4927e0
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xf4], 0
push eax
push 7
push 2
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xf0], 0
push eax
push 0
push 0
push 1
xorps xmm0, xmm0
mov dword [ebp - 0xe4], 0x1c
push 0
movlpd qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xec], 0x3c
mov dword [ebp - 0xe8], 1
mov dword [ebp - 0xbc], 2
mov dword [ebp - 0xd0], 0x20
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd8], 1
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xc4], 1
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0x1c], 0xb000
mov dword [ebp - 0x18], 0xa000
call dword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x46c2fe
mov eax, dword [0x4927e0]
lea edx, [ebp - 0x78]
push edx
push 0x4805e0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov edx, dword [ebp - 0x78]
test edx, edx
je 0x46bc49
mov eax, dword [0x4927ec]
push 0x4927e4
push 0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edi, dword [0x4927a0]
mov dword [ebp - 0x18], edi
test edi, edi
je 0x46bc6c
inc dword [edi + 0xb0]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push 0x6218
call esi
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x131]
add esp, 4
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x78], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x46bca4
push 0
mov ecx, eax
call fcn.00401f10
jmp 0x46bca6
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x4927a0], eax
call fcn.00408dd0
test edi, edi
je 0x46bcc3
mov dword [0x4927a0], edi
jmp 0x46bccc
mov edi, dword [0x4927a0]
mov dword [ebp - 0x18], edi
or dword [edi + 8], 0x401
xor ecx, ecx
call fcn.0042ab60
test dword [edi + 8], 0x400
mov eax, dword [0x4927a0]
je 0x46bcfc
mov dword [eax + 0x3864], 0x40800000
mov dword [eax + 0x3948], 0x3f800000
mov edi, dword [ebp - 0x138]
push 2
push edi
call dword [sym.imp.USER32.dll_MonitorFromWindow]
xorps xmm0, xmm0
lea ecx, [ebp - 0x74]
push ecx
movups xmmword [ebp - 0x74], xmm0
push eax
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x74], 0x28
movq qword [ebp - 0x54], xmm0
call dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
cmp eax, 0x438
jle 0x46bda7
push 0x78
lea eax, [ebp - 0x130]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x4927a0]
add esp, 0xc
mov eax, 0xffff
mov byte [ebp - 0x128], 1
mov word [ebp - 0xe8], ax
lea eax, [ebp - 0x130]
mov dword [ebp - 0x11c], 3
mov ecx, dword [ecx + 0x40]
push eax
mov dword [ebp - 0x118], 1
mov dword [ebp - 0xf8], 0x7f7fffff
mov dword [ebp - 0xec], 0x3f800000
mov dword [ebp - 0x120], 0x41d00000
call fcn.0042e7c0
mov eax, dword [0x4927a0]
mov ecx, edi
mov dword [eax + 0x20], 0
call fcn.00434590
mov eax, dword [0x4927e8]
mov edi, dword [0x4927a0]
mov dword [ebp - 0x30], eax
mov eax, dword [0x4927ec]
mov dword [ebp - 0x78], eax
test edi, edi
je 0x46bdda
inc dword [edi + 0xb0]
push 0x40
call esi
mov esi, eax
add esp, 4
mov dword [ebp - 0x84], esi
test esi, esi
je 0x46be0a
push 0x40
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esi + 0x38], 0x1388
mov dword [esi + 0x3c], 0x2710
jmp 0x46be0c
xor esi, esi
mov ecx, dword [ebp - 0x78]
lea edx, [ebp - 0x7c]
or dword [edi + 0xc], 0x1008
push edx
mov dword [edi + 0x78], esi
mov dword [edi + 0x70], str.imgui_impl_dx11
mov eax, dword [ecx]
push 0x4805c0
push ecx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 0
call dword [eax]
test eax, eax
jne 0x46be8d
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x80]
push edx
push 0x4805d0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
jne 0x46be8d
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x84]
push edx
push 0x4805f0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
jne 0x46be8d
mov eax, dword [ebp - 0x78]
mov dword [esi], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x84]
mov dword [esi + 8], eax
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x46be9a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x46bea7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [esi + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
test dword [edi + 8], 0x400
je 0x46bef8
mov eax, dword [0x4927a0]
mov dword [eax + 0x3810], 0x434260
mov dword [eax + 0x3814], 0x434390
mov dword [eax + 0x3818], 0x4343f0
mov dword [eax + 0x381c], 0x4344e0
mov dword [eax + 0x3820], 0x434570
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x4927b0
push 0x4927d8
push 0x67
push 0
call esi
mov edx, eax
call fcn.0046af70
add esp, 0xc
push 0x4927ac
push 0x4927cc
push 0x70
push 0
call esi
mov edx, eax
call fcn.0046af70
add esp, 0xc
push 0x4927c0
push 0x4927c4
push 0x71
push 0
call esi
mov edx, eax
call fcn.0046af70
add esp, 0xc
push 0x4927b8
push 0x4927c8
push 0x6b
push 0
call esi
mov edx, eax
call fcn.0046af70
add esp, 0xc
push 0x4927bc
push 0x4927d4
push 0x6c
push 0
call esi
mov edx, eax
call fcn.0046af70
add esp, 0xc
push 0x4927b4
push 0x4927dc
push 0x6a
push 0
call esi
mov edx, eax
call fcn.0046af70
add esp, 0xc
push 0x4927a8
push 0x4927d0
push 0x6a
push 0
call esi
mov edx, eax
call fcn.0046af70
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
add esp, 0xc
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov byte [ebp - 0x80], 0
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
call esi
test eax, eax
je 0x46c00c
lea eax, [ebp - 0x4c]
push eax
call edi
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov eax, dword [ebp - 0x80]
mov ecx, 1
cmp dword [ebp - 0x48], 0x12
push ecx
movzx eax, al
push 0
cmove eax, ecx
push 0
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x4c]
push 0
push eax
call esi
test eax, eax
jne 0x46bfd6
push 0x23
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x46c1dc
cmp byte [ebp - 0x80], 0
jne 0x46c1dc
mov eax, dword [0x4927a0]
test eax, eax
je 0x46c034
mov eax, dword [eax + 0x78]
jmp 0x46c036
xor eax, eax
cmp dword [eax + 0x24], 0
jne 0x46c041
call fcn.00433e00
call fcn.00435360
call fcn.00407c70
call fcn.004012a0
call fcn.0040a5d0
call fcn.0040aa80
mov eax, dword [0x4927e8]
movaps xmm0, xmmword [0x486020]
push 0
push 0x4927e4
movups xmmword [ebp - 0x2c], xmm0
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x84]
mov eax, dword [0x4927e8]
lea edx, [ebp - 0x2c]
push edx
push dword [0x4927e4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
mov eax, dword [0x4927a0]
xor ecx, ecx
mov eax, dword [eax + 0x40e0]
mov eax, dword [eax]
sub eax, 0xffffff80
cmp byte [eax], cl
cmovne ecx, eax
call fcn.00433360
mov eax, dword [ebp - 0x18]
test dword [eax + 8], 0x400
je 0x46c1ba
call fcn.00419840
mov esi, dword [0x4927a0]
mov edx, 1
mov dword [ebp - 0x7c], edx
mov eax, dword [esi + 0x3830]
cmp eax, edx
jle 0x46c146
mov ecx, 4
mov dword [ebp - 0x78], ecx
nop word [eax + eax]
mov eax, dword [esi + 0x3838]
mov edi, dword [ecx + eax]
test dword [edi + 4], 0x400
jne 0x46c132
mov eax, dword [esi + 0x37fc]
test eax, eax
je 0x46c11a
push 0
push edi
call eax
mov ecx, dword [ebp - 0x78]
add esp, 8
mov edx, dword [ebp - 0x7c]
mov eax, dword [esi + 0x381c]
test eax, eax
je 0x46c132
push 0
push edi
call eax
mov ecx, dword [ebp - 0x78]
add esp, 8
mov edx, dword [ebp - 0x7c]
mov eax, dword [esi + 0x3830]
inc edx
add ecx, 4
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], ecx
cmp edx, eax
jl 0x46c0f0
mov edx, 1
mov dword [ebp - 0x78], edx
cmp eax, edx
jle 0x46c1b4
mov ecx, 4
mov dword [ebp - 0x7c], ecx
nop word [eax + eax]
mov eax, dword [esi + 0x3838]
mov edi, dword [ecx + eax]
test dword [edi + 4], 0x400
jne 0x46c1a2
mov eax, dword [esi + 0x3800]
test eax, eax
je 0x46c18a
push 0
push edi
call eax
mov ecx, dword [ebp - 0x7c]
add esp, 8
mov edx, dword [ebp - 0x78]
mov eax, dword [esi + 0x3820]
test eax, eax
je 0x46c1a2
push 0
push edi
call eax
mov ecx, dword [ebp - 0x7c]
add esp, 8
mov edx, dword [ebp - 0x78]
inc edx
add ecx, 4
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x7c], ecx
cmp edx, dword [esi + 0x3830]
jl 0x46c160
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov eax, dword [0x4927e0]
push 0
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
cmp byte [0x4909f4], 1
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
je 0x46bfc4
mov edi, dword [0x4927a0]
test edi, edi
je 0x46c1eb
mov esi, dword [edi + 0x78]
jmp 0x46c1ed
xor esi, esi
call fcn.00419d90
call fcn.00434150
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46c204
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi]
test ecx, ecx
je 0x46c210
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x46c21d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x4927a0]
mov dword [edi + 0x70], 0
mov dword [edi + 0x78], 0
test eax, eax
je 0x46c23a
dec dword [eax + 0xb0]
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push esi
call edi
mov esi, dword [0x4927a0]
add esp, 4
test esi, esi
je 0x46c258
mov eax, dword [esi + 0x74]
mov dword [ebp - 0x78], eax
jmp 0x46c25f
mov dword [ebp - 0x78], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
call eax
push eax
push str.ImGui_Platform
call dword [sym.imp.USER32.dll_UnregisterClassA]
call fcn.00419d90
mov ecx, dword [ebp - 0x78]
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x46c28d
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x78]
mov eax, dword [0x4927a0]
mov dword [esi + 0x6c], 0
mov dword [esi + 0x74], 0
test eax, eax
je 0x46c2aa
dec dword [eax + 0xb0]
push ecx
call edi
mov esi, dword [0x4927a0]
add esp, 4
mov dword [0x4927a0], esi
call fcn.00409030
mov dword [0x4927a0], 0
test esi, esi
je 0x46c2eb
mov ecx, esi
call fcn.00423450
mov eax, dword [0x4927a0]
test eax, eax
je 0x46c2e5
dec dword [eax + 0xb0]
push esi
call edi
add esp, 4
call fcn.0046b750
push dword [ebp - 0x138]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x46c303
call fcn.0046b750
push dword [ebp - 0xa0]
push dword [ebp - 0x8c]
call dword [sym.imp.USER32.dll_UnregisterClassA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046e4b9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret