Function at 0x446c20
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 0x449013
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x130
mov eax, dword [0x452040]
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 [0x452440]
test eax, eax
je 0x446c75
mov eax, dword [eax + 0x74]
test eax, eax
je 0x446c75
mov byte [eax + 0x26], 1
xor edx, edx
push ecx
lea ecx, [edx + 0xa]
call fcn.00437ce0
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 4
mov edi, dword fs:[0x2c]
test eax, eax
je 0x446ced
mov ecx, dword [edi]
mov eax, dword [0x4524c8]
cmp eax, dword [ecx + 4]
jle 0x446cd2
push 0x4524c8
call fcn.00447667
add esp, 4
cmp dword [0x4524c8], 0xffffffff
jne 0x446cd2
push str.user32.dll
call esi
push 0x4524c8
mov dword [0x4524bc], eax
call fcn.00447616
add esp, 4
push str.SetThreadDpiAwarenessContext
push dword [0x4524bc]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x446ced
push 0xfffffffffffffffc
call eax
jmp 0x446d61
mov edx, 3
push ecx
lea ecx, [edx + 3]
call fcn.00437ce0
add esp, 4
test eax, eax
je 0x446d5b
mov ecx, dword [edi]
mov eax, dword [0x4524d0]
cmp eax, dword [ecx + 4]
jle 0x446d40
push 0x4524d0
call fcn.00447667
add esp, 4
cmp dword [0x4524d0], 0xffffffff
jne 0x446d40
push str.shcore.dll
call esi
push 0x4524d0
mov dword [0x4524c0], eax
call fcn.00447616
add esp, 4
push str.SetProcessDpiAwareness
push dword [0x4524c0]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x446d5b
push 2
call eax
jmp 0x446d61
call dword [sym.imp.USER32.dll_SetProcessDPIAware]
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0
mov dword [ebp - 0xb0], 0x30
mov dword [ebp - 0xac], 0x40
mov dword [ebp - 0xa8], 0x446a80
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x13c], eax
call eax
mov dword [ebp - 0x9c], eax
xorps xmm0, xmm0
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x88], str.ImGui_Standalone
push eax
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x84], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [ebp - 0x9c]
push 0
push 0
push 0x32
push 0x32
push 0x64
push 0x64
push 0xcf0000
push str.ImGui_Standalone
push dword [ebp - 0x88]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x45248c
mov esi, eax
mov dword [ebp - 0xc4], 2
lea eax, [ebp - 0x30]
mov dword [ebp - 0x138], esi
push eax
push 0x452490
push 0x452484
lea eax, [ebp - 0xec]
mov dword [ebp - 0xec], 0
push eax
push 7
push 2
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xe8], 0
push eax
push 0
push 0
push 1
xorps xmm0, xmm0
mov dword [ebp - 0xdc], 0x1c
push 0
movlpd qword [ebp - 0xd8], xmm0
mov dword [ebp - 0xe4], 0x3c
mov dword [ebp - 0xe0], 1
mov dword [ebp - 0xb4], 2
mov dword [ebp - 0xc8], 0x20
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xd0], 1
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xbc], 1
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0x1c], 0xb000
mov dword [ebp - 0x18], 0xa000
call dword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x447568
mov ecx, dword [0x452484]
lea edx, [ebp - 0x78]
push edx
push 0x44f1e8
push 0
mov eax, dword [ecx]
push ecx
call dword [eax + 0x24]
mov edx, dword [ebp - 0x78]
test edx, edx
je 0x446f11
mov ecx, dword [0x452490]
push 0x452488
push 0
push edx
mov eax, dword [ecx]
push ecx
call dword [eax + 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 [0x452440]
mov dword [ebp - 0x30], edi
test edi, edi
je 0x446f34
inc dword [edi + 0xb0]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push 0x6218
call esi
lea ecx, [ebp - 0x12d]
mov dword [ebp - 0x18], eax
add esp, 4
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x12c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x446f6c
push 0
mov ecx, eax
call fcn.00402150
jmp 0x446f6e
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x452440], eax
call fcn.00409370
test edi, edi
je 0x446f8b
mov dword [0x452440], edi
jmp 0x446f94
mov edi, dword [0x452440]
mov dword [ebp - 0x30], edi
or dword [edi + 8], 0x401
xor ecx, ecx
call fcn.0042c110
test dword [edi + 8], 0x400
mov eax, dword [0x452440]
je 0x446fc4
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 0x44706f
push 0x78
lea eax, [ebp - 0x128]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x452440]
add esp, 0xc
mov eax, 0xffff
mov byte [ebp - 0x120], 1
mov word [ebp - 0xe0], ax
lea eax, [ebp - 0x128]
mov dword [ebp - 0x114], 3
mov ecx, dword [ecx + 0x40]
push eax
mov dword [ebp - 0x110], 1
mov dword [ebp - 0xf0], 0x7f7fffff
mov dword [ebp - 0xe4], 0x3f800000
mov dword [ebp - 0x118], 0x41d00000
call fcn.0042fdb0
mov eax, dword [0x452440]
mov ecx, edi
mov dword [eax + 0x20], 0
call fcn.00435d00
mov eax, dword [0x45248c]
mov edi, dword [0x452440]
mov dword [ebp - 0x12c], eax
mov eax, dword [0x452490]
mov dword [ebp - 0x78], eax
test edi, edi
je 0x4470a5
inc dword [edi + 0xb0]
push 0x40
call esi
mov esi, eax
add esp, 4
test esi, esi
je 0x447123
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0x1388
mov dword [esi + 0x3c], 0x2710
jmp 0x447125
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 0x44f1c8
push ecx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x18], 0
call dword [eax]
test eax, eax
jne 0x4471a0
mov ecx, dword [ebp - 0x7c]
lea edx, [ebp - 0x80]
push edx
push 0x44f1d8
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x4471a0
mov ecx, dword [ebp - 0x80]
lea edx, [ebp - 0x18]
push edx
push 0x44f1f8
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x4471a0
mov eax, dword [ebp - 0x78]
mov dword [esi], eax
mov eax, dword [ebp - 0x12c]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 8], eax
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x4471ad
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x4471ba
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 0x44720b
mov eax, dword [0x452440]
mov dword [eax + 0x3810], 0x4359e0
mov dword [eax + 0x3814], 0x435b00
mov dword [eax + 0x3818], 0x435b60
mov dword [eax + 0x381c], 0x435c50
mov dword [eax + 0x3820], 0x435ce0
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov byte [ebp - 0x134], 0
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x4c]
push 1
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x44726c
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 - 0x134]
mov ecx, 1
cmp dword [ebp - 0x48], 0x12
push ecx
movzx eax, al
push 0
cmove eax, ecx
push 0
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x4c]
push 0
push eax
call esi
test eax, eax
jne 0x447230
push 0x23
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x447447
cmp byte [ebp - 0x134], 0
jne 0x447447
mov eax, dword [0x452440]
test eax, eax
je 0x447297
mov eax, dword [eax + 0x78]
jmp 0x447299
xor eax, eax
cmp dword [eax + 0x24], 0
jne 0x4472a4
call fcn.00435550
call fcn.00436ad0
call fcn.00408210
call fcn.00401010
call fcn.0040aba0
call fcn.0040b070
mov eax, dword [0x45248c]
movaps xmm0, xmmword [0x44f9a0]
push 0
push 0x452488
movups xmmword [ebp - 0x2c], xmm0
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x84]
mov eax, dword [0x45248c]
lea edx, [ebp - 0x2c]
push edx
push dword [0x452488]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
mov eax, dword [0x452440]
xor ecx, ecx
mov eax, dword [eax + 0x40e0]
mov eax, dword [eax]
sub eax, 0xffffff80
cmp byte [eax], cl
cmovne ecx, eax
call fcn.00434ab0
mov eax, dword [ebp - 0x30]
test dword [eax + 8], 0x400
je 0x447433
call fcn.0041a800
mov esi, dword [0x452440]
mov edx, 1
mov dword [ebp - 0x12c], edx
mov eax, dword [esi + 0x3830]
cmp eax, edx
jle 0x4473af
mov ecx, 4
mov dword [ebp - 0x78], ecx
nop dword [eax + eax]
mov eax, dword [esi + 0x3838]
mov edi, dword [ecx + eax]
test dword [edi + 4], 0x400
jne 0x447398
mov eax, dword [esi + 0x37fc]
test eax, eax
je 0x44737d
push 0
push edi
call eax
mov ecx, dword [ebp - 0x78]
add esp, 8
mov edx, dword [ebp - 0x12c]
mov eax, dword [esi + 0x381c]
test eax, eax
je 0x447398
push 0
push edi
call eax
mov ecx, dword [ebp - 0x78]
add esp, 8
mov edx, dword [ebp - 0x12c]
mov eax, dword [esi + 0x3830]
inc edx
add ecx, 4
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x78], ecx
cmp edx, eax
jl 0x447350
mov edx, 1
mov dword [ebp - 0x78], edx
cmp eax, edx
jle 0x44742d
mov ecx, 4
mov dword [ebp - 0x12c], ecx
nop word [eax + eax]
mov eax, dword [esi + 0x3838]
mov edi, dword [ecx + eax]
test dword [edi + 4], 0x400
jne 0x447418
mov eax, dword [esi + 0x3800]
test eax, eax
je 0x4473fd
push 0
push edi
call eax
mov ecx, dword [ebp - 0x12c]
add esp, 8
mov edx, dword [ebp - 0x78]
mov eax, dword [esi + 0x3820]
test eax, eax
je 0x447418
push 0
push edi
call eax
mov ecx, dword [ebp - 0x12c]
add esp, 8
mov edx, dword [ebp - 0x78]
inc edx
add ecx, 4
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x12c], ecx
cmp edx, dword [esi + 0x3830]
jl 0x4473d0
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov eax, dword [0x452484]
push 0
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
jmp 0x447218
mov edi, dword [0x452440]
test edi, edi
je 0x447456
mov esi, dword [edi + 0x78]
jmp 0x447458
xor esi, esi
call fcn.0041ad50
call fcn.004358d0
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44746f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi]
test ecx, ecx
je 0x44747b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x447488
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x452440]
mov dword [edi + 0x70], 0
mov dword [edi + 0x78], 0
test eax, eax
je 0x4474a5
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 [0x452440]
add esp, 4
test esi, esi
je 0x4474c3
mov eax, dword [esi + 0x74]
mov dword [ebp - 0x78], eax
jmp 0x4474ca
mov dword [ebp - 0x78], 0
push 0
call dword [ebp - 0x13c]
push eax
push str.ImGui_Platform
call dword [sym.imp.USER32.dll_UnregisterClassA]
call fcn.0041ad50
mov ecx, dword [ebp - 0x78]
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x4474f7
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x78]
mov eax, dword [0x452440]
mov dword [esi + 0x6c], 0
mov dword [esi + 0x74], 0
test eax, eax
je 0x447514
dec dword [eax + 0xb0]
push ecx
call edi
mov esi, dword [0x452440]
add esp, 4
mov dword [0x452440], esi
call fcn.004095d0
mov dword [0x452440], 0
test esi, esi
je 0x447555
mov ecx, esi
call fcn.004249b0
mov eax, dword [0x452440]
test eax, eax
je 0x44754f
dec dword [eax + 0xb0]
push esi
call edi
add esp, 4
call fcn.00446a10
push dword [ebp - 0x138]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x44756d
call fcn.00446a10
push dword [ebp - 0x9c]
push dword [ebp - 0x88]
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.004475f5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret