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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101480c1
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x1030e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
mov esi, dword [0x10317358]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x100dae63
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x100dae63
mov eax, dword [0x10317358]
test eax, eax
je 0x100dabf7
inc dword [eax + 0xb4]
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push 0x38
call ebx
mov edi, eax
add esp, 4
lea eax, [ebp - 0x51]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x100dac2c
push 0x38
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x100dac2e
xor edi, edi
mov dword [ebp - 4], 0xffffffff
or dword [esi + 0xc], 0xc06
mov edx, dword [ebp - 0x58]
mov dword [esi + 0x78], edi
mov dword [esi + 0x70], str.imgui_impl_win32
mov dword [edi], edx
mov byte [edi + 0x24], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x10], eax
mov eax, dword [0x10317358]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x20], 9
mov eax, dword [eax + 0x48dc]
mov eax, dword [eax]
mov dword [eax + 0x40], edx
mov dword [eax + 0x3c], edx
test dword [esi + 8], 0x400
je 0x100dadfd
push 0
mov dword [ebp - 0x50], 0x30
mov dword [ebp - 0x4c], 3
mov dword [ebp - 0x48], 0x100dd920
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
movaps xmm0, xmmword [0x102f3c40]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x50]
push eax
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], str.ImGui_Platform
mov dword [ebp - 0x24], 0
call dword [sym.imp.USER32.dll_RegisterClassExA]
call fcn.100dba50
mov ecx, dword [0x10317358]
mov dword [ecx + 0x37b8], 0x100dd1f0
mov dword [ecx + 0x37bc], 0x100dd370
mov dword [ecx + 0x37c0], 0x100dd3f0
mov dword [ecx + 0x37c4], 0x100dd5d0
mov dword [ecx + 0x37c8], 0x100dd570
mov dword [ecx + 0x37cc], 0x100dd6a0
mov dword [ecx + 0x37d0], 0x100dd640
mov dword [ecx + 0x37d4], 0x100dd720
mov dword [ecx + 0x37d8], 0x100dd750
mov dword [ecx + 0x37dc], 0x100dd770
mov dword [ecx + 0x37e0], 0x100dd790
mov dword [ecx + 0x37e4], 0x100dd880
mov dword [ecx + 0x37e8], 0x100dd420
mov dword [ecx + 0x37f4], 0x100dd8f0
mov dword [ecx + 0x37f8], 0x1002d410
mov eax, dword [ecx + 0x48dc]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
test ecx, ecx
je 0x100dad94
mov esi, dword [ecx + 0x78]
jmp 0x100dad96
xor esi, esi
test ecx, ecx
je 0x100dada0
inc dword [ecx + 0xb4]
push 0x14
call ebx
mov ecx, eax
add esp, 4
lea eax, [ebp - 0x51]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 4], 1
test ecx, ecx
je 0x100dade1
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov byte [ecx + 8], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0xc], 0
jmp 0x100dade3
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
mov edx, dword [ebp - 0x58]
mov dword [ecx], eax
mov byte [ecx + 8], 0
mov dword [edx + 0x38], ecx
mov eax, dword [esi]
mov dword [edx + 0x3c], eax
mov byte [edi + 0x26], 1
xor esi, esi
mov dword [ebp - 0x78], str.xinput1_4.dll
mov dword [ebp - 0x74], str.xinput1_3.dll
mov dword [ebp - 0x70], str.xinput9_1_0.dll
mov dword [ebp - 0x6c], str.xinput1_2.dll
mov dword [ebp - 0x68], str.xinput1_1.dll
push dword [ebp + esi*4 - 0x78]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x100dae40
inc esi
cmp esi, 5
jl 0x100dae26
mov al, 1
jmp 0x100dae65
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
jmp 0x100dae65
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1013cfec
mov esp, ebp
pop ebp
ret