Function at 0x10011f50
Capabilities:
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 0x100c2fd6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x148
mov eax, dword [0x10110040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x101112d0]
lea edx, [ebp - 0xb8]
push edx
xorps xmm0, xmm0
push ecx
mov eax, dword [ecx]
movups xmmword [ebp - 0xb8], xmm0
call dword [eax + 0x24]
test eax, eax
js 0x1001275a
mov eax, dword [ebp - 0xb0]
push 0x10013d50
push 0xfffffffffffffffc
push eax
mov dword [0x10111308], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x10111304], eax
mov eax, dword [0x1011138c]
test eax, eax
je 0x10011fe3
inc dword [eax + 0x370]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push 0x3d98
call esi
lea ecx, [ebp - 0xb9]
mov dword [ebp - 0xc8], eax
add esp, 4
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xc0], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10012021
push 0
mov ecx, eax
call fcn.1002d050
jmp 0x10012023
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [0x1011138c], 0
jne 0x10012038
mov dword [0x1011138c], eax
mov ecx, eax
call fcn.10032fa0
mov edi, dword [0x1011138c]
movaps xmm0, xmmword [0x1010a150]
movaps xmm1, xmmword [0x1010a0b0]
movaps xmm2, xmmword [0x1010a130]
mov dword [edi + 0x151c], 0x41700000
mov dword [edi + 0x1520], 0x41700000
mov dword [edi + 0x1524], 0
mov dword [edi + 0x1534], 0x3f000000
mov dword [edi + 0x1538], 0x3f000000
mov dword [edi + 0x1528], 0x3f800000
mov dword [edi + 0x1558], 0
mov dword [edi + 0x1550], 0x41a00000
mov dword [edi + 0x1554], 0x40e00000
mov dword [edi + 0x155c], 0x3f800000
mov dword [edi + 0x1540], 0
mov dword [edi + 0x1588], 0x40400000
mov dword [edi + 0x158c], 0x3f800000
mov dword [edi + 0x1560], 0x41000000
mov dword [edi + 0x1564], 0x41000000
mov dword [edi + 0x159c], 0
movups xmmword [edi + 0x15dc], xmm0
movaps xmm0, xmmword [0x1010a070]
movups xmmword [edi + 0x15ec], xmm0
movaps xmm0, xmmword [0x10109f50]
movups xmmword [edi + 0x15fc], xmm0
movaps xmm0, xmmword [0x10109fc0]
movups xmmword [edi + 0x160c], xmm0
movaps xmm0, xmmword [0x10109fb0]
movups xmmword [edi + 0x161c], xmm0
movaps xmm0, xmmword [0x10109e00]
movups xmmword [edi + 0x162c], xmm0
movaps xmm0, xmmword [0x10109df0]
movups xmmword [edi + 0x163c], xmm0
movaps xmm0, xmmword [0x10109ea0]
movups xmmword [edi + 0x164c], xmm0
movaps xmm0, xmmword [0x10109ec0]
movups xmmword [edi + 0x165c], xmm0
movaps xmm0, xmmword [0x1010a0c0]
movups xmmword [edi + 0x167c], xmm0
movaps xmm0, xmmword [0x10109e80]
movups xmmword [edi + 0x169c], xmm0
movaps xmm0, xmmword [0x10109fd0]
movups xmmword [edi + 0x16ac], xmm0
movaps xmm0, xmmword [0x10109e90]
movups xmmword [edi + 0x16bc], xmm0
movaps xmm0, xmmword [0x1010a000]
movups xmmword [edi + 0x16cc], xmm0
movaps xmm0, xmmword [0x1010a030]
movups xmmword [edi + 0x16dc], xmm0
movaps xmm0, xmmword [0x1010a080]
movups xmmword [edi + 0x16ec], xmm0
movaps xmm0, xmmword [0x1010a140]
movups xmmword [edi + 0x16fc], xmm0
movaps xmm0, xmmword [0x1010a110]
movups xmmword [edi + 0x170c], xmm0
movaps xmm0, xmmword [0x10109e50]
movups xmmword [edi + 0x172c], xmm0
movaps xmm0, xmmword [0x1010a060]
movups xmmword [edi + 0x173c], xmm0
movaps xmm0, xmmword [0x1010a0a0]
movups xmmword [edi + 0x175c], xmm0
movaps xmm0, xmmword [0x1010a0d0]
movups xmmword [edi + 0x176c], xmm0
movaps xmm0, xmmword [0x10109e70]
movups xmmword [edi + 0x178c], xmm0
movaps xmm0, xmmword [0x10109ef0]
movups xmmword [edi + 0x179c], xmm0
movaps xmm0, xmmword [0x1010a0e0]
movups xmmword [edi + 0x17ac], xmm0
movaps xmm0, xmmword [0x10109de0]
movups xmmword [edi + 0x17bc], xmm0
movaps xmm0, xmmword [0x10109ed0]
movups xmmword [edi + 0x17cc], xmm0
movaps xmm0, xmmword [0x10109f40]
movups xmmword [edi + 0x166c], xmm1
movups xmmword [edi + 0x168c], xmm1
movups xmmword [edi + 0x171c], xmm2
movups xmmword [edi + 0x174c], xmm1
movups xmmword [edi + 0x177c], xmm1
movups xmmword [edi + 0x17dc], xmm0
mov eax, dword [0x10111308]
movaps xmm0, xmmword [0x10109e40]
movups xmmword [edi + 0x17ec], xmm0
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0x30]
movaps xmm0, xmmword [0x1010a100]
movups xmmword [edi + 0x17fc], xmm0
push eax
movaps xmm0, xmmword [0x1010a0f0]
movups xmmword [edi + 0x180c], xmm0
movaps xmm0, xmmword [0x10109f60]
movups xmmword [edi + 0x181c], xmm0
movaps xmm0, xmmword [0x1010a040]
movups xmmword [edi + 0x182c], xmm0
movaps xmm0, xmmword [0x1010a090]
movups xmmword [edi + 0x183c], xmm0
movaps xmm0, xmmword [0x1010a020]
movups xmmword [edi + 0x184c], xmm0
movaps xmm0, xmmword [0x10109f90]
movups xmmword [edi + 0x185c], xmm0
movaps xmm0, xmmword [0x10109f80]
movups xmmword [edi + 0x186c], xmm0
movaps xmm0, xmmword [0x10109fe0]
movups xmmword [edi + 0x187c], xmm0
movaps xmm0, xmmword [0x1010a010]
movups xmmword [edi + 0x188c], xmm0
movaps xmm0, xmmword [0x10109ff0]
movups xmmword [edi + 0x189c], xmm0
xorps xmm0, xmm0
movups xmmword [edi + 0x18ac], xmm0
movaps xmm0, xmmword [0x10109dc0]
movups xmmword [edi + 0x18bc], xmm0
movaps xmm0, xmmword [0x10109e30]
movups xmmword [edi + 0x18cc], xmm0
movaps xmm0, xmmword [0x10109f10]
movups xmmword [edi + 0x18dc], xmm0
movaps xmm0, xmmword [0x10109ee0]
movups xmmword [edi + 0x18fc], xmm0
movaps xmm0, xmmword [0x10109dd0]
movups xmmword [edi + 0x190c], xmm0
movaps xmm0, xmmword [0x10109e20]
movups xmmword [edi + 0x18ec], xmm2
movups xmmword [edi + 0x191c], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x10012587
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x10012587
mov eax, dword [0x1011138c]
test eax, eax
je 0x100123e9
inc dword [eax + 0x370]
push 0x38
call esi
mov esi, eax
mov dword [ebp - 0xc0], eax
add esp, 4
test esi, esi
je 0x1001240b
push 0x38
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x10012413
xor esi, esi
mov dword [ebp - 0xc0], esi
or dword [edi + 0xc], 6
mov edx, dword [ebp - 0xc4]
mov dword [edi + 0xc4], esi
mov dword [edi + 0xbc], str.imgui_impl_win32
mov dword [esi], edx
mov byte [esi + 0x25], 1
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x20], 9
xor esi, esi
mov dword [edi + 0xe0], edx
mov dword [edi + 0x34], 9
mov dword [edi + 0x38], 0x25
mov dword [edi + 0x3c], 0x27
mov dword [edi + 0x40], 0x26
mov dword [edi + 0x44], 0x28
mov dword [edi + 0x48], 0x21
mov dword [edi + 0x4c], 0x22
mov dword [edi + 0x50], 0x24
mov dword [edi + 0x54], 0x23
mov dword [edi + 0x58], 0x2d
mov dword [edi + 0x5c], 0x2e
mov dword [edi + 0x60], 8
mov dword [edi + 0x64], 0x20
mov dword [edi + 0x68], 0xd
mov dword [edi + 0x6c], 0x1b
mov dword [edi + 0x70], 0xd
mov dword [edi + 0x74], 0x41
mov dword [edi + 0x78], 0x43
mov dword [edi + 0x7c], 0x56
mov dword [edi + 0x80], 0x58
mov dword [edi + 0x84], 0x59
mov dword [edi + 0x88], 0x5a
mov dword [ebp - 0xdc], str.xinput1_4.dll
mov dword [ebp - 0xd8], str.xinput1_3.dll
mov dword [ebp - 0xd4], str.xinput9_1_0.dll
mov dword [ebp - 0xd0], str.xinput1_2.dll
mov dword [ebp - 0xcc], str.xinput1_1.dll
nop
push dword [ebp + esi*4 - 0xdc]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, eax
mov dword [ebp - 0xc4], ecx
test ecx, ecx
jne 0x10012551
inc esi
cmp esi, 5
jl 0x10012530
jmp 0x10012587
mov eax, dword [ebp - 0xc0]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XInputGetCapabilities
push ecx
mov dword [eax + 0x28], ecx
call esi
mov ecx, dword [ebp - 0xc0]
push str.XInputGetState
push dword [ebp - 0xc4]
mov dword [ecx + 0x2c], eax
call esi
mov ecx, dword [ebp - 0xc0]
mov dword [ecx + 0x30], eax
mov esi, dword [0x1011138c]
mov eax, dword [0x101112d0]
mov dword [ebp - 0xc4], eax
test esi, esi
je 0x100125a2
inc dword [esi + 0x370]
push 0x18
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
test eax, eax
je 0x100125dc
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 0x100125de
xor eax, eax
mov ecx, dword [ebp - 0xc4]
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]
mov eax, dword [edi + 0x98]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xc0]
push ecx
push eax
mov ecx, str.C:WindowsFonts_segoeui.ttf
mov dword [ebp - 0xc0], 0
call fcn.1002ed40
add esp, 8
mov dword [ebp - 0xc4], eax
test eax, eax
je 0x10012728
push 0x78
lea eax, [ebp - 0x158]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0xffff
mov byte [ebp - 0x150], 1
add esp, 0xc
mov dword [ebp - 0x144], 3
cmp byte [ebp - 0x10e], 0
lea esi, [ebp - 0x158]
mov ecx, 0x1e
mov dword [ebp - 0x140], 1
lea edi, [ebp - 0xa8]
mov dword [ebp - 0x120], 0x7f7fffff
mov dword [ebp - 0x114], 0x3f800000
mov word [ebp - 0x110], ax
rep movsd dword es:[edi], dword [esi]
jne 0x100126e1
mov eax, 0x10102b90
mov dl, byte [eax - 1]
cmp dl, 0x2f
je 0x100126bd
cmp dl, 0x5c
je 0x100126bd
dec eax
cmp eax, str.C:WindowsFonts_segoeui.ttf
ja 0x100126a8
movsd xmm0, qword [0x10109c00]
sub esp, 8
movsd qword [esp], xmm0
push eax
push str._s___.0fpx
lea eax, [ebp - 0x5e]
push 0x28
push eax
call fcn.1002eb60
add esp, 0x18
mov eax, dword [ebp - 0xc4]
lea esi, [ebp - 0xa8]
mov ecx, 0x1e
lea edi, [ebp - 0x158]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x158]
push eax
mov dword [ebp - 0x148], 0x41700000
call fcn.10045b10
mov dword [0x10111300], eax
mov eax, dword [0x1011138c]
mov dword [eax + 0x2e6c], 0xa9101a0
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.100c100d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push str.Failed_to_get_device_creation_parameters
lea ecx, [ebp - 0x28]
call fcn.10002c90
push 0x1010dc1c
lea eax, [ebp - 0x28]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3