Function at 0x10116400
Capabilities:
Get common file path
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x10213d84]
sub esp, 0x2d8
push ebx
push ebp
push esi
push edi
test eax, eax
je 0x10116419
inc dword [eax + 0x370]
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push 0x3db0
call ebx
add esp, 4
test eax, eax
je 0x10116438
push 0
mov ecx, eax
call fcn.1008bf90
jmp 0x1011643a
xor eax, eax
cmp dword [0x10213d84], 0
jne 0x10116448
mov dword [0x10213d84], eax
mov ecx, eax
call fcn.100923e0
mov ebp, dword [0x1024aa3c]
lea eax, [esp + 0xa8]
mov esi, dword [0x10213d84]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1011661c
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1011661c
mov eax, dword [0x10213d84]
test eax, eax
je 0x10116493
inc dword [eax + 0x370]
push 0x30
call ebx
mov edi, eax
add esp, 4
test edi, edi
je 0x101164af
push 0x30
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x101164b1
xor edi, edi
or dword [esi + 0xc], 6
mov dword [esi + 0xc4], edi
mov dword [esi + 0xbc], str.imgui_impl_win32
mov dword [edi], ebp
mov byte [edi + 0x1d], 1
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov dword [edi + 0x18], 9
mov dword [esi + 0xe0], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
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 [esp + 0xcc], str.xinput1_4.dll
mov dword [esp + 0xd0], str.xinput1_3.dll
mov dword [esp + 0xd4], str.xinput9_1_0.dll
mov dword [esp + 0xd8], str.xinput1_2.dll
mov dword [esp + 0xdc], str.xinput1_1.dll
nop dword [eax]
push dword [esp + esi*4 + 0xcc]
call ebp
mov ebx, eax
test ebx, ebx
jne 0x101165f7
inc esi
cmp esi, 5
jl 0x101165e0
jmp 0x10116616
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XInputGetCapabilities
push ebx
mov dword [edi + 0x20], ebx
call esi
push str.XInputGetState
push ebx
mov dword [edi + 0x24], eax
call esi
mov dword [edi + 0x28], eax
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, dword [0x10213d84]
test esi, esi
je 0x1011662c
inc dword [esi + 0x370]
push 0x18
call ebx
add esp, 4
test eax, eax
je 0x10116662
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0x1388
mov dword [eax + 0x14], 0x2710
jmp 0x10116664
xor eax, eax
mov ecx, dword [esp + 0x2ec]
or dword [esi + 0xc], 8
mov dword [esi + 0xc8], eax
mov dword [esi + 0xc0], str.imgui_impl_dx9
mov dword [eax], ecx
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
xor ecx, ecx
call fcn.100a1aa0
mov edi, dword [0x10213d84]
lea eax, [esp + 0x20]
movaps xmm0, xmmword [0x10209790]
push 0x80
push 0
mov dword [edi + 0x1528], 0x3f800000
mov dword [edi + 0x152c], 0x40a00000
mov dword [edi + 0x1530], 0x41200000
mov dword [edi + 0x1560], 0x40a00000
mov dword [edi + 0x1564], 0x3f800000
mov dword [edi + 0x1570], 0x41000000
mov dword [edi + 0x1574], 0x40a00000
mov dword [edi + 0x1538], 0x3f800000
mov dword [edi + 0x1598], 0
mov dword [edi + 0x15a4], 0x3f800000
mov dword [edi + 0x1550], 0x3f800000
mov dword [edi + 0x1568], 0x3f800000
mov dword [edi + 0x1534], 0x3f800000
mov dword [edi + 0x1558], 0x3f800000
mov dword [edi + 0x15a0], 0
mov dword [edi + 0x156c], 0
movups xmmword [edi + 0x160c], xmm0
push eax
movaps xmm0, xmmword [0x102097b0]
movups xmmword [edi + 0x165c], xmm0
mov dword [edi + 0x163c], 0x3dd8d8d9
mov dword [edi + 0x1640], 0x3dd8d8d9
mov dword [edi + 0x1644], 0x3dd8d8d9
mov dword [edi + 0x1648], 0x3f800000
movaps xmm0, xmmword [0x10209790]
movups xmmword [edi + 0x176c], xmm0
mov dword [esp + 0x28], 0x3f800000
movaps xmm0, xmmword [0x10209790]
movups xmmword [edi + 0x178c], xmm0
movaps xmm0, xmmword [0x10209790]
movups xmmword [edi + 0x177c], xmm0
movaps xmm0, xmmword [0x102097a0]
movups xmmword [edi + 0x166c], xmm0
movaps xmm0, xmmword [0x102097a0]
movups xmmword [edi + 0x167c], xmm0
movss xmm0, dword [0x10211f30]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [0x10211f34]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [0x10211f38]
movss dword [esp + 0x24], xmm0
movups xmm0, xmmword [esp + 0x1c]
mov dword [esp + 0x28], 0x3f800000
movups xmmword [edi + 0x171c], xmm0
movss xmm0, dword [0x10211f30]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [0x10211f34]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [0x10211f38]
movss dword [esp + 0x24], xmm0
movups xmm0, xmmword [esp + 0x1c]
movups xmmword [edi + 0x172c], xmm0
or dword [edi + 8], 0x20
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esp + 0x28], 1
mov ebx, 0xffff
mov dword [esp + 0x34], 3
mov dword [esp + 0x38], 1
mov dword [esp + 0x58], 0x7f7fffff
push 0x80
mov dword [esp + 0x74], 0
mov dword [esp + 0x68], 0x3f800000
mov word [esp + 0x6c], bx
mov dword [esp + 0x64], 0x90
push 0
lea eax, [esp + 0xe8]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esp + 0xe8], 1
lea eax, [esp + 0x1e0]
mov dword [esp + 0xf4], 3
mov dword [esp + 0xf8], 1
mov dword [esp + 0x118], 0x7f7fffff
push 0x104
push eax
mov dword [esp + 0x138], 0
mov dword [esp + 0x12c], 0x3f800000
mov word [esp + 0x130], bx
mov dword [esp + 0x128], 0x90
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
xorps xmm0, xmm0
push 0x20
movups xmmword [esp + 0xb4], xmm0
call fcn.10176cb7
movups xmm0, xmmword [str.C:_windows_fonts_verdana.ttf]
mov dword [esp + 0xb4], eax
add esp, 4
mov dword [esp + 0xc0], 0x1c
mov dword [esp + 0xc4], 0x1f
movups xmmword [eax], xmm0
push 0x20
movq xmm0, qword [0x102090b8]
movq qword [eax + 0x10], xmm0
mov ecx, dword [0x102090c0]
mov dword [eax + 0x18], ecx
mov byte [eax + 0x1c], 0
call fcn.10176cb7
movups xmm0, xmmword [str.C:_windows_fonts_tahoma.ttf]
mov esi, eax
add esp, 4
movss xmm2, dword [0x102093a8]
lea eax, [esp + 0xb0]
movups xmmword [esi], xmm0
push 0x101fe97c
movq xmm0, qword [0x1019ab64]
movq qword [esi + 0x10], xmm0
mov cx, word [0x1019ab6c]
mov word [esi + 0x18], cx
mov cl, byte [0x1019ab6e]
mov byte [esi + 0x1a], cl
lea ecx, [esp + 0x24]
mov byte [esi + 0x1b], 0
cmp dword [esp + 0xc8], 0xf
push ecx
cmova eax, dword [esp + 0xb8]
mov ecx, dword [edi + 0x98]
push eax
call fcn.100a5840
cmp dword [0x1024acfc], 0xf
lea ecx, [esp + 0xe0]
movss xmm2, dword [0x102093a8]
mov dword [0x1024aae8], eax
mov eax, 0x1024ace8
cmova eax, dword [0x1024ace8]
push 0x101fe97c
push ecx
mov ecx, dword [edi + 0x98]
push eax
call fcn.100a5840
push 0x80
lea eax, [esp + 0x164]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esp + 0x168], 1
mov edx, 0x10211ff4
mov dword [esp + 0x174], 3
lea ecx, [esp + 0x160]
mov dword [esp + 0x178], 1
mov dword [esp + 0x198], 0x7f7fffff
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1a4], 0x3f800000
mov word [esp + 0x1a8], bx
call fcn.10107f20
cmp dword [0x1024ace4], 0xf
mov eax, 0x1024acd0
movss xmm2, dword [0x102093a8]
cmova eax, dword [0x1024acd0]
push 0x101fe97c
push ecx
mov ecx, dword [edi + 0x98]
push eax
call fcn.100a5840
cmp dword [0x1024ac1c], 0xf
lea ecx, [esp + 0x160]
movss xmm2, dword [0x102093a8]
mov eax, 0x1024ac08
cmova eax, dword [0x1024ac08]
push 0x101fe97c
push ecx
mov ecx, dword [edi + 0x98]
push eax
call fcn.100a5840
cmp dword [0x1024ac54], 0xf
lea ecx, [esp + 0x20]
movss xmm2, dword [0x102093a8]
mov dword [0x1024a21c], eax
mov eax, 0x1024ac40
cmova eax, dword [0x1024ac40]
push 0x101fe97c
push ecx
mov ecx, dword [edi + 0x98]
push eax
call fcn.100a5840
push 0x80
mov dword [0x1024aa4c], eax
lea eax, [esp + 0x24]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esp + 0x28], 1
mov edx, 0x10210310
mov dword [esp + 0x34], 3
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 1
mov dword [esp + 0x58], 0x7f7fffff
mov dword [esp + 0x70], 0
mov dword [esp + 0x64], 0x3f800000
mov word [esp + 0x68], bx
call fcn.10107f20
movd xmm2, dword [0x10210308]
mov eax, 0x1024abd8
cmp dword [0x1024abec], 0xf
push 0x101fe97c
cmova eax, dword [0x1024abd8]
cvtdq2ps xmm2, xmm2
push ecx
mov ecx, dword [edi + 0x98]
push eax
call fcn.100a5840
push 0x80
mov dword [0x1024a324], eax
lea eax, [esp + 0x24]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esp + 0x28], 1
mov edx, 0x1021031c
mov dword [esp + 0x34], 3
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 1
mov dword [esp + 0x58], 0x7f7fffff
mov dword [esp + 0x70], 0
mov dword [esp + 0x64], 0x3f800000
mov word [esp + 0x68], bx
call fcn.10107f20
cmp dword [0x1024ac9c], 0xf
mov eax, 0x1024ac88
movd xmm2, dword [0x10210328]
cmova eax, dword [0x1024ac88]
push 0x101fe97c
cvtdq2ps xmm2, xmm2
push ecx
mov ecx, dword [edi + 0x98]
push eax
call fcn.100a5840
push 0x80
mov dword [0x1024a320], eax
lea eax, [esp + 0x24]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esp + 0x28], 1
mov edx, 0x10212010
mov dword [esp + 0x34], 3
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 1
mov dword [esp + 0x58], 0x7f7fffff
mov dword [esp + 0x70], 0
mov dword [esp + 0x64], 0x3f800000
mov word [esp + 0x68], bx
call fcn.10107f20
cmp dword [0x1024ac6c], 0xf
mov eax, 0x1024ac58
movss xmm2, dword [0x102093a8]
cmova eax, dword [0x1024ac58]
push 0x101fe97c
push ecx
mov ecx, dword [edi + 0x98]
push eax
call fcn.100a5840
push 0x80
mov dword [0x1024a220], eax
lea eax, [esp + 0x24]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esp + 0x28], 1
mov edx, 0x10211e1c
mov dword [esp + 0x34], 3
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 1
mov dword [esp + 0x58], 0x7f7fffff
mov dword [esp + 0x70], 0
mov dword [esp + 0x64], 0x3f800000
mov word [esp + 0x68], bx
call fcn.10107f20
movd xmm2, dword [0x10211e28]
mov eax, 0x1024ac70
cmp dword [0x1024ac84], 0xf
push 0x101fe97c
cmova eax, dword [0x1024ac70]
cvtdq2ps xmm2, xmm2
push ecx
mov ecx, dword [edi + 0x98]
push eax
call fcn.100a5840
push 0x80
mov dword [0x1024a998], eax
lea eax, [esp + 0x24]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esp + 0x28], 1
mov edx, 0x10211e08
mov dword [esp + 0x34], 3
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 1
mov dword [esp + 0x58], 0x7f7fffff
mov dword [esp + 0x70], 0
mov dword [esp + 0x64], 0x3f800000
mov word [esp + 0x68], bx
call fcn.10107f20
cmp dword [0x1024ac04], 0xf
mov eax, 0x1024abf0
movd xmm2, dword [0x10211e44]
cmova eax, dword [0x1024abf0]
push 0x101fe97c
push ecx
cvtdq2ps xmm2, xmm2
push eax
mov ecx, dword [edi + 0x98]
call fcn.100a5840
push 0x80
mov dword [0x1024a99c], eax
lea eax, [esp + 0x24]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esp + 0x28], 1
mov edx, 0x10211e38
mov dword [esp + 0x34], 3
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 1
mov dword [esp + 0x58], 0x7f7fffff
mov dword [esp + 0x70], 0
mov dword [esp + 0x64], 0x3f800000
mov word [esp + 0x68], bx
call fcn.10107f20
movd xmm2, dword [0x10211e18]
mov eax, 0x1024acb8
cmp dword [0x1024accc], 0xf
push 0x101fe97c
cmova eax, dword [0x1024acb8]
cvtdq2ps xmm2, xmm2
push ecx
mov ecx, dword [edi + 0x98]
push eax
call fcn.100a5840
push 0x80
mov dword [0x1024a990], eax
lea eax, [esp + 0x24]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [esp + 0x28], 1
mov edx, 0x10211e2c
mov dword [esp + 0x34], 3
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 1
mov dword [esp + 0x58], 0x7f7fffff
mov dword [esp + 0x70], 0
mov dword [esp + 0x64], 0x3f800000
mov word [esp + 0x68], bx
call fcn.10107f20
movd xmm2, dword [0x10211e14]
mov eax, 0x1024ac28
cmp dword [0x1024ac3c], 0xf
push 0x101fe97c
cmova eax, dword [0x1024ac28]
cvtdq2ps xmm2, xmm2
push ecx
mov ecx, dword [edi + 0x98]
push eax
call fcn.100a5840
movss xmm2, dword [0x102093a8]
mov ecx, dword [edi + 0x98]
mov dword [0x1024a9a0], eax
lea eax, [esp + 0xe0]
push 0x101fe97c
push eax
push str.C:_windows_fonts_Tahoma.ttf
call fcn.100a5840
movss xmm2, dword [0x102093ac]
mov ecx, dword [edi + 0x98]
mov dword [0x1024a328], eax
lea eax, [esp + 0xe0]
push 0x101fe97c
push eax
push str.C:_windows_fonts_Tahoma.ttf
call fcn.100a5840
mov dword [0x1024aa04], eax
xor eax, eax
push 0x80
push eax
mov word [esp + 0xac], ax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0xac], 0xf8ffe000
call sub.VCRUNTIME140.dll_memset
movss xmm3, dword [0x102093a8]
lea eax, [esp + 0xac]
add esp, 0xc
mov byte [esp + 0x28], 1
mov dword [esp + 0x34], 3
mov dword [esp + 0x38], 1
mov dword [esp + 0x58], 0x7f7fffff
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x74], 0
push eax
push ecx
mov ecx, dword [edi + 0x98]
push 0x101ddcd8
mov dword [esp + 0x74], 0x3f800000
mov word [esp + 0x78], bx
mov dword [esp + 0x70], 1
call fcn.100a59c0
mov ecx, dword [edi + 0x98]
mov dword [0x1024c720], 0x100be670
mov dword [0x1024a994], eax
mov dword [ecx + 0x458], 0x1024c720
mov dword [ecx + 0x45c], 0
call fcn.100a5cf0
push 0x20
push esi
call fcn.10177006
mov ecx, dword [esp + 0xcc]
add esp, 8
cmp ecx, 0xf
jbe 0x10117026
mov edx, dword [esp + 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1011701c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1011701c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10177006
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2d8
ret 4