Function at 0x43ec40
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
mov eax, dword [0x457008]
xor eax, esp
mov dword [esp + 0x124], eax
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x457778
push edi
call fcn.00444bb0
xorps xmm0, xmm0
mov dword [esp + 0x74], 0
lea eax, [esp + 0x48]
movlpd qword [esp + 0x54], xmm0
push eax
movlpd qword [esp + 0x64], xmm0
movlpd qword [esp + 0x6c], xmm0
mov dword [esp + 0x4c], 0x30
mov dword [esp + 0x50], 3
mov dword [esp + 0x54], 0x43ebf0
mov dword [esp + 0x60], esi
mov dword [esp + 0x74], str.Crosshair_Overlay_Class
call dword [sym.imp.USER32.dll_RegisterClassExW]
cvttss2si eax, dword [0x45777c]
push 0
push dword [esp + 0x60]
push 0
push 0
push eax
cvttss2si eax, dword [0x457778]
push eax
push 0
push 0
push 0x80000000
push str.Crosshair_Overlay
push dword [esp + 0x98]
push 0x80028
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 2
push 0xff
mov edi, eax
push 0
push edi
mov dword [esp + 0x28], edi
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
lea eax, [esp + 0xd0]
xorps xmm0, xmm0
push eax
mov eax, dword [sym.imp.USER32.dll_GetClientRect]
push edi
movaps xmmword [esp + 0xd8], xmm0
mov dword [esp + 0x24], eax
call eax
lea eax, [esp + 0xe0]
xorps xmm0, xmm0
push eax
push edi
movaps xmmword [esp + 0xe8], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0xb4]
xorps xmm0, xmm0
push eax
mov eax, dword [sym.imp.USER32.dll_ClientToScreen]
push edi
movlpd qword [esp + 0xbc], xmm0
mov dword [esp + 0x2c], eax
call eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xc8], eax
lea eax, [esp + 0xbc]
push eax
push edi
call dword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
xorps xmm0, xmm0
mov dword [esp + 0x98], 0
movlpd qword [esp + 0x78], xmm0
movlpd qword [esp + 0x8c], xmm0
mov dword [esp + 0x80], 0x3c
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], 0x1c
lea eax, [esp + 0x28]
mov dword [esp + 0x94], 1
push eax
lea eax, [esp + 0xd0]
mov dword [esp + 0xa0], 0x20
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0xa8], 2
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0xb0], edi
push eax
lea eax, [esp + 0x88]
mov dword [esp + 0xb8], 1
push eax
push 7
push 2
lea eax, [esp + 0x130]
mov dword [esp + 0xc8], 0
push eax
push 0
push 0
push 1
push 0
mov dword [esp + 0xe0], 2
mov dword [esp + 0x144], 0xb000
mov dword [esp + 0x148], 0xa000
mov dword [esp + 0x64], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0xfc], 0
call dword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x3c]
push edx
push 0x453428
mov dword [esp + 0x44], 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x24]
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x43f504
mov eax, dword [esp + 0x34]
lea esi, [esp + 0x38]
push esi
push 0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [esp + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp + 0x14]
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [0x457718]
test esi, esi
je 0x43ef0f
inc dword [esi + 0xb4]
push 0x5c30
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
test eax, eax
je 0x43ef2c
push 0
mov ecx, eax
call fcn.00401470
jmp 0x43ef2e
xor eax, eax
mov dword [0x457718], eax
call fcn.00404ee0
mov eax, dword [0x457718]
test esi, esi
cmovne eax, esi
xor ecx, ecx
mov dword [0x457718], eax
or dword [eax + 8], 3
call fcn.004214f0
mov ecx, edi
call fcn.0042a7d0
mov eax, dword [esp + 0x28]
mov edi, dword [0x457718]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
test edi, edi
je 0x43ef79
inc dword [edi + 0xb4]
push 0x40
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x43effb
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 0x43effd
xor esi, esi
or dword [edi + 0xc], 8
lea ecx, [esp + 0x40]
mov dword [edi + 0x7c], esi
mov dword [edi + 0x74], str.imgui_impl_dx11
mov edi, dword [esp + 0x14]
push ecx
push 0x452e84
push edi
mov eax, dword [edi]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x38], 0
call dword [eax]
test eax, eax
jne 0x43f07a
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x44]
push edx
push 0x452e94
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
jne 0x43f07a
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x2c]
push edx
push 0x452ea4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
jne 0x43f07a
mov eax, dword [esp + 0x10]
mov dword [esi], edi
mov dword [esi + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x43f088
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x43f096
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]
mov eax, dword [esp + 0x18]
mov dword [0x4577c8], eax
mov al, 1
mov dword [esp + 0x10], eax
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0xf8]
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push 1
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x43f139
nop dword [eax + eax]
lea eax, [esp + 0xf8]
push eax
call edi
lea eax, [esp + 0xf8]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp dword [esp + 0xfc], 0x12
push 1
movzx eax, al
push ecx
cmove eax, ecx
push ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x17], al
lea eax, [esp + 0x104]
push ecx
push eax
call esi
test eax, eax
jne 0x43f0e0
mov cl, byte [esp + 0xb]
mov al, cl
mov dword [esp + 0x10], eax
test cl, cl
je 0x43f3a8
mov esi, dword [0x457718]
mov dword [esp + 0x14], esi
test esi, esi
je 0x43f14c
mov eax, dword [esi + 0x7c]
jmp 0x43f14e
xor eax, eax
cmp dword [eax + 0x24], 0
jne 0x43f163
call fcn.0042a1e0
mov esi, dword [0x457718]
mov dword [esp + 0x14], esi
test esi, esi
je 0x43f16c
mov eax, dword [esi + 0x78]
jmp 0x43f16e
xor eax, eax
lea ecx, [esp + 0xbc]
mov dword [esp + 0xc], eax
xorps xmm0, xmm0
push ecx
movups xmmword [esp + 0xc0], xmm0
push dword [eax]
call dword [esp + 0x24]
mov eax, dword [esp + 0xc4]
sub eax, dword [esp + 0xbc]
movd xmm1, eax
mov eax, dword [esp + 0xc8]
sub eax, dword [esp + 0xc0]
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.0044bab0
mov eax, dword [esp + 0xc]
cvtsd2ss xmm0, xmm0
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x18]
movss dword [esp + 0x20], xmm0
call fcn.0044bab0
movss xmm1, dword [esp + 0x20]
cvtsd2ss xmm0, xmm0
mov eax, dword [esp + 0x14]
divss xmm1, xmm0
movss dword [eax + 0x18], xmm1
mov eax, dword [esp + 0xc]
mov dword [eax + 0x14], esi
mov esi, dword [0x457718]
mov dword [eax + 0x10], edi
test esi, esi
je 0x43f243
mov edi, dword [esi + 0x78]
jmp 0x43f245
xor edi, edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [edi]
cmp eax, ecx
jne 0x43f2f6
cmp byte [esi + 0x9b], 0
je 0x43f2aa
cvttss2si eax, dword [esi + 0xdc0]
mov dword [esp + 0xb4], eax
cvttss2si eax, dword [esi + 0xdc4]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0xb4]
push eax
push ecx
call dword [esp + 0x2c]
test eax, eax
je 0x43f2a1
push dword [esp + 0xb8]
push dword [esp + 0xb8]
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [esi + 0x9b], 0
jne 0x43f2f6
cmp dword [edi + 8], 0
jne 0x43f2f6
lea eax, [esp + 0xd0]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x43f2f6
lea eax, [esp + 0xd0]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x43f2f6
movd xmm2, dword [esp + 0xd4]
lea ecx, [esi + 8]
movd xmm1, dword [esp + 0xd0]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.00403070
call fcn.0042aa50
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x60], 0
je 0x43f30a
or eax, 0xffffffff
jmp 0x43f315
mov eax, dword [0x457718]
mov eax, dword [eax + 0x4948]
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x20], eax
je 0x43f326
mov dword [ecx + 0x20], eax
call fcn.0042a920
call fcn.0042ac10
call fcn.004073b0
mov ecx, 0x457778
call fcn.00443180
call fcn.004092e0
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x38]
push 0
xorps xmm0, xmm0
push edx
movups xmmword [esp + 0x124], xmm0
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x84]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x11c]
push edx
push dword [esp + 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc8]
mov eax, dword [0x457718]
xor ecx, ecx
mov eax, dword [eax + 0x47c4]
mov eax, dword [eax]
add eax, 0x38
cmp byte [eax], cl
cmovne ecx, eax
call fcn.00429960
mov eax, dword [esp + 0x30]
push 0
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
jmp 0x43f0b6
mov esi, dword [0x457718]
test esi, esi
je 0x43f3b7
mov edi, dword [esi + 0x7c]
jmp 0x43f3b9
xor edi, edi
call fcn.0042a6c0
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x43f3cb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi]
test ecx, ecx
je 0x43f3d7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x43f3e4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [esi + 0xc], 0xfffffff7
mov eax, dword [0x457718]
mov dword [esi + 0x74], 0
mov dword [esi + 0x7c], 0
test eax, eax
je 0x43f405
dec dword [eax + 0xb4]
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call edi
mov eax, dword [0x457718]
add esp, 4
test eax, eax
je 0x43f41f
mov ecx, dword [eax + 0x78]
jmp 0x43f421
xor ecx, ecx
mov edx, dword [ecx + 0x28]
lea esi, [eax + 8]
mov dword [esp + 0x2c], ecx
test edx, edx
je 0x43f43f
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x457718]
mov ecx, dword [esp + 0x2c]
and dword [esi + 4], 0xfffffff8
mov dword [esi + 0x68], 0
mov dword [esi + 0x70], 0
test eax, eax
je 0x43f45b
dec dword [eax + 0xb4]
push ecx
call edi
mov esi, dword [0x457718]
add esp, 4
mov dword [0x457718], esi
call fcn.00405300
mov dword [0x457718], 0
test esi, esi
je 0x43f49c
mov ecx, esi
call fcn.0041a050
mov eax, dword [0x457718]
test eax, eax
je 0x43f496
dec dword [eax + 0xb4]
push esi
call edi
add esp, 4
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x43f4aa
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x43f4b8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x43f4c6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x43f4d4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_DestroyWindow]
push dword [esp + 0x5c]
push dword [esp + 0x74]
call dword [sym.imp.USER32.dll_UnregisterClassW]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.0044a7db
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x12c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.0044a7db
mov esp, ebp
pop ebp
ret 0x10