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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101a30c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x101be31c]
mov ebx, ecx
push edi
test esi, esi
jne 0x10090fac
push 0xd87
push str.C:Users_naizeDesktop_newperseusimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.100f950c
mov esi, dword [0x101be31c]
add esp, 0xc
cmp dword [esi + 0xc4], 0
je 0x10090fc9
push 0x66
push str.C:Users_naizeDesktop_newperseusimguiimgui_impl_win32.cpp
push str.io.BackendPlatformUserData__0___Already_initialized_a_platform_backend__
call fcn.100f950c
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1009117f
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1009117f
mov eax, dword [0x101be31c]
test eax, eax
je 0x10090ffc
inc dword [eax + 0x370]
push 0x38
call fcn.101038c5
mov edi, eax
add esp, 4
test edi, edi
je 0x1009101b
push 0x38
push 0
push edi
call fcn.100f1230
add esp, 0xc
jmp 0x1009101d
xor edi, edi
or dword [esi + 0xc], 6
mov dword [esi + 0xc4], edi
mov dword [esi + 0xbc], str.imgui_impl_win32
mov dword [edi], ebx
mov byte [edi + 0x25], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x20], 9
mov dword [esi + 0xe0], ebx
mov dword [esi + 0x34], 9
mov dword [esi + 0x38], 0x25
mov dword [esi + 0x3c], 0x27
mov dword [esi + 0x40], 0x26
mov dword [esi + 0x44], 0x28
mov dword [esi + 0x48], 0x21
mov dword [esi + 0x4c], 0x22
mov dword [esi + 0x50], 0x24
mov dword [esi + 0x54], 0x23
mov dword [esi + 0x58], 0x2d
mov dword [esi + 0x5c], 0x2e
mov dword [esi + 0x60], 8
mov dword [esi + 0x64], 0x20
mov dword [esi + 0x68], 0xd
mov dword [esi + 0x6c], 0x1b
mov dword [esi + 0x70], 0xd
mov dword [esi + 0x74], 0x41
mov dword [esi + 0x78], 0x43
mov dword [esi + 0x7c], 0x56
mov dword [esi + 0x80], 0x58
mov dword [esi + 0x84], 0x59
mov dword [esi + 0x88], 0x5a
xor esi, esi
mov dword [ebp - 0x34], str.xinput1_4.dll
mov dword [ebp - 0x30], str.xinput1_3.dll
mov dword [ebp - 0x2c], str.xinput9_1_0.dll
mov dword [ebp - 0x28], str.xinput1_2.dll
mov dword [ebp - 0x24], str.xinput1_1.dll
push dword [ebp + esi*4 - 0x34]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x1009114d
inc esi
cmp esi, 5
jl 0x10091124
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100eeec4
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XInputGetCapabilities
push ebx
mov dword [edi + 0x28], ebx
call esi
push str.XInputGetState
push ebx
mov dword [edi + 0x2c], eax
call esi
mov dword [edi + 0x30], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100eeec4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100eeec4
mov esp, ebp
pop ebp
ret