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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x120
push esi
push edi
push 0x40
mov esi, ecx
push 0
push esi
mov dword [esp + 0x28], esi
call fcn.100b0160
mov eax, dword [0x10350170]
xorps xmm0, xmm0
movups xmmword [esi + 0x40], xmm0
add esp, 0xc
movups xmmword [esi + 0x50], xmm0
movups xmmword [esi + 0x60], xmm0
movups xmmword [esi + 0x70], xmm0
mov dword [esi + 0x480], 0
mov dword [esi + 0x484], 0
mov dword [esi + 0x488], 0
mov dword [esi + 0x48c], 0
mov dword [esi + 0x490], 0
mov dword [esi + 0x494], 0
mov dword [esi + 0x498], 0
mov dword [esi + 0x49c], 0
mov dword [esi + 0x4b0], 0
mov byte [esi + 0x4b4], 0
movq qword [esi + 0x4b5], xmm0
mov word [esi + 0x4bd], 0
mov byte [esi + 0x4bf], 0
mov dword [esi + 0x4c0], 0
mov dword [esi + 0x4c4], 0
mov dword [esi + 0x4c8], 0
test eax, eax
je 0x10126afa
inc dword [eax + 0x370]
push dword [0x1035018c]
push 0x45c8
call dword [0x10306e04]
add esp, 8
test eax, eax
je 0x10126b1d
push 0
mov ecx, eax
call fcn.1003c240
jmp 0x10126b1f
xor eax, eax
cmp dword [0x10350170], 0
jne 0x10126b2d
mov dword [0x10350170], eax
mov ecx, eax
call fcn.1013fa60
mov ecx, dword [0x1035aef4]
test ecx, ecx
jne 0x10126b58
push str.shaderapidx9.dll
push ebp
call fcn.104b734f
add eax, 0xbc40
call eax
mov ecx, dword [eax]
mov dword [0x1035aef4], ecx
mov eax, dword [0x10350170]
push ecx
mov dword [0x103501a0], ecx
or dword [eax + 0xc], 8
mov dword [eax + 0xc0], str.imgui_impl_dx9
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.101a9880
push 0x103501c0
mov edi, eax
call fcn.1049ea4c
sub eax, 0x840fc085
fadd qword [eax]
add byte [eax], al
push 0x103501b8
push edx
call fcn.10495e81
nop dword [eax]
test eax, eax
je 0x10126c6d
mov ecx, dword [0x10350170]
mov dword [0x103501b0], edi
or dword [ecx + 0xc], 6
mov dword [ecx + 0xbc], str.imgui_impl_win32
mov dword [ecx + 0xe0], edi
mov dword [ecx + 0x34], 9
mov dword [ecx + 0x38], 0x25
mov dword [ecx + 0x3c], 0x27
mov dword [ecx + 0x40], 0x26
mov dword [ecx + 0x44], 0x28
mov dword [ecx + 0x48], 0x21
mov dword [ecx + 0x4c], 0x22
mov dword [ecx + 0x50], 0x24
mov dword [ecx + 0x54], 0x23
mov dword [ecx + 0x58], 0x2d
mov dword [ecx + 0x5c], 0x2e
mov dword [ecx + 0x60], 8
mov dword [ecx + 0x64], 0x20
mov dword [ecx + 0x68], 0xd
mov dword [ecx + 0x6c], 0x1b
mov dword [ecx + 0x70], 0xd
mov dword [ecx + 0x74], 0x41
mov dword [ecx + 0x78], 0x43
mov dword [ecx + 0x7c], 0x56
mov dword [ecx + 0x80], 0x58
mov dword [ecx + 0x84], 0x59
mov dword [ecx + 0x88], 0x5a
jmp 0x10126c73
mov ecx, dword [0x10350170]
or dword [ecx + 0x1d60], 2
lea eax, [ecx + 0x1518]
mov dword [ecx + 0x1d80], 0x4426c000
mov dword [ecx + 0x1d84], 0x43f50000
mov dword [ecx + 0x1d68], 1
mov dword [esp + 8], ecx
mov dword [esi + 0x4dc], eax
mov ecx, dword [ecx + 0x98]
call fcn.101623a0
push 0x78
lea eax, [esp + 0xb4]
push 0
push eax
call fcn.100b0160
mov ecx, 0x1e
mov byte [esp + 0xc4], 1
lea esi, [esp + 0xbc]
mov dword [esp + 0xf4], 0x7f7fffff
lea edi, [esp + 0x2c]
mov dword [esp + 0x100], 0x3f800000
mov dword [esp + 0x104], 0xffffffff
lea eax, [esp + 0x2c]
mov dword [esp + 0xd0], 4
add esp, 0xc
mov dword [esp + 0xc8], 4
mov byte [esp + 0xcc], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 8]
push eax
mov dword [esp + 0x24], 0x10306e08
mov dword [esp + 0x28], 0xc
mov ecx, dword [ecx + 0x98]
mov dword [esp + 0x34], 0x41800000
mov dword [esp + 0x54], 0x102f81fc
call fcn.10152100
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0xb0]
lea edi, [esp + 0x20]
mov dword [ecx + 0x4cc], eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0xc]
mov ecx, 0x1e
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x98]
mov dword [esp + 0x24], 0x10306e08
mov dword [esp + 0x28], 0xa
mov dword [esp + 0x34], 0x41500000
mov dword [esp + 0x54], 0x102f81fc
call fcn.10152100
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0xb0]
lea edi, [esp + 0x20]
mov dword [ecx + 0x4d0], eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0xc]
mov ecx, 0x1e
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x98]
mov dword [esp + 0x24], 0x10329c78
mov dword [esp + 0x28], 0xa
mov dword [esp + 0x34], 0x41500000
mov dword [esp + 0x54], 0x102f81fc
call fcn.10152100
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0xb0]
lea edi, [esp + 0x20]
mov dword [ecx + 0x4d4], eax
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0xc]
mov ecx, 0x1e
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x98]
mov dword [esp + 0x24], 0x10329c78
mov dword [esp + 0x28], 0x18
mov dword [esp + 0x34], 0x41900000
mov dword [esp + 0x54], 0x102f81fc
call fcn.10152100
mov esi, dword [esp + 0x1c]
mov dword [esi + 0x4d8], eax
lea ecx, [esp + 0x98]
mov eax, dword [esi + 0x4dc]
movss xmm1, dword [0x102fde5c]
movss xmm0, dword [0x102fdecc]
mov dword [eax + 0xc], 0x40400000
mov eax, dword [esi + 0x4dc]
mov dword [eax + 0x40], 0x40800000
mov eax, dword [esi + 0x4dc]
mov dword [eax + 0x28], 0x40a00000
mov eax, dword [esi + 0x4dc]
mov dword [eax + 0x30], 0x40a00000
mov eax, dword [esi + 0x4dc]
mov dword [eax + 0x38], 0x40800000
movss dword [eax + 0x3c], xmm1
mov eax, dword [esi + 0x4dc]
mov dword [eax + 0x48], 0x41000000
movss dword [eax + 0x4c], xmm0
xorps xmm0, xmm0
mov eax, dword [esi + 0x4dc]
mov dword [eax + 4], 0
movss dword [eax + 8], xmm0
mov eax, dword [esi + 0x4dc]
mov dword [eax + 0x44], 0x3f800000
mov eax, dword [esi + 0x4dc]
mov dword [eax + 0x78], 0
mov eax, dword [esi + 0x4dc]
mov dword [eax + 0x70], 0x40200000
mov eax, dword [esi + 0x4dc]
mov dword [eax + 0x10], 0
mov eax, dword [esi + 0x4dc]
mov dword [eax + 0x34], 0x3f800000
mov dword [esi + 0x4a0], 0x13b
mov dword [esi + 0x4a4], 0x123
mov dword [esi + 0x4a8], 0x13b
call fcn.10127000
mov edx, eax
cmp dword [edx + 0x14], 0xf
jbe 0x10126f41
mov edx, dword [edx]
mov cl, 0x62
mov dword [esp + 0xf], 0xb170062
mov dword [esp + 0x13], 0x342160e
xor eax, eax
mov dword [esp + 0x17], 0x11474216
mov byte [esp + 0x1b], 0
xor byte [esp + eax + 0x10], cl
inc eax
cmp eax, 0xb
jae 0x10126f72
mov cl, byte [esp + 0xf]
jmp 0x10126f62
push edx
lea eax, [esp + 0x14]
mov byte [esp + 0x1f], 0
push eax
push esi
call fcn.10005f00
mov ecx, dword [esp + 0xb8]
add esp, 0xc
cmp ecx, 0xf
jbe 0x10126fc2
mov edx, dword ds:[esp + 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10126fb8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10126fe1
push ecx
push edx
call fcn.1009aaf8
add esp, 8
push 0x400
lea eax, [esi + 0x80]
push 0
push eax
call fcn.100b0160
add esp, 0xc
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.100bccb8
int3