Function at 0x140075be0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
sub rsp, 0x70
mov rbx, rcx
lea rcx, [0x140194d08]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140075f71
lea rcx, [0x140194d00]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140075f71
mov qword [rsp + 0x90], rdi
call fcn.1400228d0
mov rdi, rax
mov qword [0x140194cf8], rbx
or dword [rax + 4], 0xc06
lea rax, str.imgui_impl_win32
mov qword [rdi + 0xd8], rax
call fcn.140022bb0
mov rcx, qword [0x140194cf8]
xor ebx, ebx
mov qword [rax + 0x50], rcx
mov qword [rax + 0x48], rcx
test dword [rdi], 0x400
je 0x140075e20
lea rax, [0x140077460]
mov qword [rsp + 0x80], rsi
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x50
mov dword [rsp + 0x24], 3
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movdqa xmm1, xmmword [reloc.WS2_32.dll_bind]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
lea rax, str.ImGui_Platform
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x60], rax
movdqa xmmword [rsp + 0x50], xmm1
mov qword [rsp + 0x68], rbx
call qword [sym.imp.USER32.dll_RegisterClassExW]
call fcn.140023200
mov rsi, rax
mov ecx, dword [rax + 0xc4]
test ecx, ecx
jns 0x140075cf8
mov eax, ecx
cdq
sub eax, edx
mov edx, ebx
sar eax, 1
add eax, ecx
lea rcx, [rsi + 0xc0]
test eax, eax
cmovg edx, eax
call fcn.1400775e0
xor r9d, r9d
mov dword [rsi + 0xc0], ebx
lea r8, [0x140076ad0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov byte [reloc.WS2_32.dll_accept], bl
call fcn.140023200
lea rcx, [0x140075420]
mov qword [rax], rcx
lea rcx, [0x1400755b0]
mov qword [rax + 8], rcx
lea rcx, [0x140076690]
mov qword [rax + 0x10], rcx
lea rcx, [0x140076440]
mov qword [rax + 0x18], rcx
lea rcx, [0x140075ae0]
mov qword [rax + 0x20], rcx
lea rcx, [0x1400764f0]
mov qword [rax + 0x28], rcx
lea rcx, [0x140075b50]
mov qword [rax + 0x30], rcx
lea rcx, [0x1400763f0]
mov qword [rax + 0x38], rcx
lea rcx, [0x140075a60]
mov qword [rax + 0x40], rcx
lea rcx, [0x140075aa0]
mov qword [rax + 0x48], rcx
lea rcx, [0x1400765b0]
mov qword [rax + 0x50], rcx
lea rcx, [0x140076310]
mov qword [rax + 0x58], rcx
lea rcx, [0x140076ed0]
mov qword [rax + 0x60], rcx
lea rcx, [0x140075a10]
mov qword [rax + 0x78], rcx
lea rcx, [0x140076260]
mov qword [rax + 0x80], rcx
lea rcx, [0x140076270]
mov qword [rax + 0x88], rcx
call fcn.140022bb0
mov ecx, Ordinal_26
mov rsi, rax
call fcn.1400291f0
mov qword [rsp + 0x88], rax
mov rcx, rax
test rax, rax
je 0x140075e00
mov qword [rax], rbx
mov byte [rax + 8], bl
mov qword [rax + 0xc], rbx
jmp 0x140075e03
mov rcx, rbx
mov rax, qword [0x140194cf8]
mov qword [rcx], rax
mov byte [rcx + 8], bl
mov qword [rsi + 0x40], rcx
mov qword [rsi + 0x48], rax
mov rsi, qword [rsp + 0x80]
lea rax, str.xinput1_4.dll
mov dword [rdi + 0x34], 9
mov qword [rsp + 0x20], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x28], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x40], rax
mov dword [rdi + 0x38], Ordinal_41
mov dword [rdi + 0x3c], Ordinal_41
mov dword [rdi + 0x40], Ordinal_41
mov dword [rdi + 0x44], Ordinal_41
mov dword [rdi + 0x48], reloc.WLDAP32.dll_Ordinal_33
mov dword [rdi + 0x4c], Ordinal_35
mov dword [rdi + 0x50], Ordinal_41
mov dword [rdi + 0x54], reloc.WLDAP32.dll_Ordinal_35
mov dword [rdi + 0x58], reloc.WLDAP32.dll_Ordinal_45
mov dword [rdi + 0x5c], reloc.WLDAP32.dll_Ordinal_46
mov dword [rdi + 0x60], 8
mov dword [rdi + 0x64], reloc.WLDAP32.dll_Ordinal_32
mov dword [rdi + 0x68], reloc.WS2_32.dll_listen
mov dword [rdi + 0x6c], reloc.WLDAP32.dll_Ordinal_27
mov dword [rdi + 0x70], reloc.WS2_32.dll_listen
mov dword [rdi + 0x74], 0x41
mov dword [rdi + 0x78], 0x43
mov dword [rdi + 0x7c], 0x56
mov dword [rdi + 0x80], 0x58
mov dword [rdi + 0x84], 0x59
mov dword [rdi + 0x88], 0x5a
nop
mov rcx, qword [rsp + rbx*8 + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
jne 0x140075f2c
inc rbx
cmp rbx, 5
jl 0x140075f00
mov rdi, qword [rsp + 0x90]
mov al, 1
add rsp, 0x70
pop rbx
ret
lea rdx, str.XInputGetCapabilities
mov qword [0x140194d18], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rdi
mov qword [0x140194d20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, qword [rsp + 0x90]
mov qword [0x140194d28], rax
mov al, 1
add rsp, 0x70
pop rbx
ret
xor al, al
add rsp, 0x70
pop rbx
ret