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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf54
mov eax, dword [0x47b040]
xor eax, esp
mov dword [esp + 0xf50], eax
push ebx
mov ebx, ecx
xorps xmm0, xmm0
push esi
push edi
mov dword [esp + 0x30], ebx
comiss xmm0, dword [ebx + 0x1c]
jae 0x402a07
comiss xmm0, dword [ebx + 0x20]
jae 0x402a07
mov esi, dword [0x53db38]
test esi, esi
je 0x4020c9
mov esi, dword [esi + 0x78]
jmp 0x4020cb
xor esi, esi
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x38]
mov edi, dword [esi + 4]
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x402100
mov eax, dword [eax]
cmp eax, dword [ebx + 0xc]
jge 0x402174
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea edx, [esi + 0xc]
mov dword [edx], 0
jmp 0x402107
mov dword [esp + 0x10], eax
lea edx, [esi + 0xc]
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x10]
add eax, 0x1388
push edx
push 0
mov dword [esp + 0xf60], 0
lea edx, [esp + 0xf4c]
mov dword [ecx], eax
lea eax, [eax + eax*4]
mov ecx, dword [esi]
shl eax, 2
mov dword [esp + 0xf50], 2
mov dword [esp + 0xf4c], eax
mov dword [esp + 0xf54], 1
mov dword [esp + 0xf58], 0x10000
mov dword [esp + 0xf5c], 0
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0xc]
test eax, eax
js 0x402a07
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x402190
mov eax, dword [esi + 0x3c]
cmp eax, dword [ebx + 8]
jge 0x4021ef
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x10], 0
mov eax, dword [ebx + 8]
lea edx, [esi + 0x10]
mov ecx, dword [esi]
add eax, 0x2710
push edx
mov dword [esi + 0x3c], eax
lea edx, [esp + 0xf48]
add eax, eax
mov dword [esp + 0xf4c], 2
xorps xmm0, xmm0
mov dword [esp + 0xf48], eax
push 0
movlpd qword [esp + 0xf5c], xmm0
mov dword [esp + 0xf54], 2
mov dword [esp + 0xf58], 0x10000
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0xc]
test eax, eax
js 0x402a07
mov eax, dword [edi]
lea ecx, [esp + 0x38]
push ecx
push 0
push 4
push 0
push dword [esi + 0xc]
push edi
call dword [eax + 0x38]
test eax, eax
jne 0x402a07
mov eax, dword [edi]
lea ecx, [esp + 0x44]
push ecx
push 0
push 4
push 0
push dword [esi + 0x10]
push edi
call dword [eax + 0x38]
test eax, eax
jne 0x402a07
cmp dword [ebx + 4], 0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
jle 0x4022b0
xor edi, edi
mov eax, dword [ebx + 0x10]
mov esi, dword [edi + eax]
mov eax, dword [esi + 0x18]
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [esi + 0x20]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0xc]
add esp, 0xc
add eax, eax
push eax
push dword [esi + 0x14]
push dword [esp + 0x1c]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esi + 0x18]
lea edi, [edi + 4]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [esp + 0x14]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], ecx
lea edx, [edx + eax*2]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
cmp eax, dword [ebx + 4]
jl 0x402247
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov eax, dword [edi]
push 0
push dword [esi + 0xc]
push edi
call dword [eax + 0x3c]
mov eax, dword [edi]
push 0
push dword [esi + 0x10]
push edi
call dword [eax + 0x3c]
mov eax, dword [edi]
lea ecx, [esp + 0xf44]
push ecx
push 0
push 4
push 0
push dword [esi + 0x1c]
push edi
call dword [eax + 0x38]
test eax, eax
jne 0x402a07
movss xmm6, dword [ebx + 0x14]
movss xmm2, dword [0x474f68]
movaps xmm3, xmm6
addss xmm3, dword [ebx + 0x1c]
movss xmm5, dword [ebx + 0x18]
movaps xmm0, xmm2
mov eax, dword [esp + 0xf44]
movaps xmm4, xmm5
addss xmm4, dword [ebx + 0x20]
push 0
movaps xmm1, xmm3
subss xmm1, xmm6
divss xmm0, xmm1
movss dword [eax], xmm0
movaps xmm0, xmm5
mov eax, dword [esp + 0xf48]
subss xmm0, xmm4
mov dword [eax + 4], 0
mov eax, dword [esp + 0xf48]
divss xmm2, xmm0
mov dword [eax + 8], 0
mov eax, dword [esp + 0xf48]
mov dword [eax + 0xc], 0
mov eax, dword [esp + 0xf48]
mov dword [eax + 0x10], 0
mov eax, dword [esp + 0xf48]
movaps xmm0, xmm3
movss dword [eax + 0x14], xmm2
addss xmm0, xmm6
mov eax, dword [esp + 0xf48]
subss xmm6, xmm3
mov dword [eax + 0x18], 0
mov eax, dword [esp + 0xf48]
divss xmm0, xmm6
mov dword [eax + 0x1c], 0
mov eax, dword [esp + 0xf48]
mov dword [eax + 0x20], 0
mov eax, dword [esp + 0xf48]
mov dword [eax + 0x24], 0
mov eax, dword [esp + 0xf48]
mov dword [eax + 0x28], 0x3f000000
mov eax, dword [esp + 0xf48]
mov dword [eax + 0x2c], 0
mov eax, dword [esp + 0xf48]
movss dword [eax + 0x30], xmm0
movaps xmm0, xmm4
addss xmm0, xmm5
mov eax, dword [esp + 0xf48]
subss xmm4, xmm5
divss xmm0, xmm4
movss dword [eax + 0x34], xmm0
mov eax, dword [esp + 0xf48]
mov dword [eax + 0x38], 0x3f000000
mov eax, dword [esp + 0xf48]
mov dword [eax + 0x3c], 0x3f800000
push dword [esi + 0x1c]
mov eax, dword [edi]
push edi
call dword [eax + 0x3c]
push 0xee8
lea eax, [esp + 0x5c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x54], 0x10
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], 0x10
mov eax, dword [edi]
push ecx
lea ecx, [esp + 0x54]
push ecx
push edi
call dword [eax + 0x180]
mov eax, dword [edi]
lea ecx, [esp + 0x158]
push ecx
lea ecx, [esp + 0x58]
push ecx
push edi
call dword [eax + 0x17c]
mov eax, dword [edi]
lea ecx, [esp + 0x2d8]
push ecx
push edi
call dword [eax + 0x178]
mov eax, dword [edi]
lea ecx, [esp + 0x2f0]
push ecx
lea ecx, [esp + 0x2e4]
push ecx
lea ecx, [esp + 0x2e4]
push ecx
push edi
call dword [eax + 0x16c]
mov eax, dword [edi]
lea ecx, [esp + 0x2f4]
push ecx
lea ecx, [esp + 0x2fc]
push ecx
push edi
call dword [eax + 0x170]
mov eax, dword [edi]
lea ecx, [esp + 0x2fc]
push ecx
push 1
push 0
push edi
call dword [eax + 0x124]
mov eax, dword [edi]
lea ecx, [esp + 0x300]
push ecx
push 1
push 0
push edi
call dword [eax + 0x12c]
lea ecx, [esp + 0x310]
mov dword [esp + 0x318], 0x100
push ecx
lea ecx, [esp + 0x320]
mov dword [esp + 0x318], 0x100
push ecx
mov dword [esp + 0x318], 0x100
lea ecx, [esp + 0x30c]
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x128]
mov eax, dword [edi]
lea ecx, [esp + 0x314]
push ecx
lea ecx, [esp + 0x720]
push ecx
lea ecx, [esp + 0x310]
push ecx
push edi
call dword [eax + 0x130]
mov eax, dword [edi]
lea ecx, [esp + 0xf28]
push ecx
push 1
push 0
push edi
call dword [eax + 0x120]
mov eax, dword [edi]
lea ecx, [esp + 0x318]
push ecx
lea ecx, [esp + 0xb20]
push ecx
lea ecx, [esp + 0x314]
push ecx
push edi
call dword [eax + 0x148]
mov eax, dword [edi]
lea ecx, [esp + 0xf1c]
push ecx
push edi
call dword [eax + 0x14c]
mov eax, dword [edi]
lea ecx, [esp + 0xf2c]
push ecx
lea ecx, [esp + 0xf3c]
push ecx
lea ecx, [esp + 0xf28]
push ecx
push edi
call dword [eax + 0x140]
mov eax, dword [edi]
lea ecx, [esp + 0xf34]
push ecx
lea ecx, [esp + 0xf34]
push ecx
lea ecx, [esp + 0xf2c]
push ecx
push 1
push 0
push edi
call dword [eax + 0x13c]
mov eax, dword [edi]
lea ecx, [esp + 0xf3c]
push ecx
push edi
call dword [eax + 0x138]
mov edx, edi
mov ecx, ebx
call fcn.00401f20
movss xmm0, dword [ebx + 0x14]
xor edx, edx
movss xmm4, dword [ebx + 0x18]
xor esi, esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], esi
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x14], xmm4
mov dword [esp + 0x2c], edx
cmp dword [ebx + 4], edx
jle 0x402794
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov eax, dword [ebx + 0x10]
xor ebx, ebx
mov eax, dword [ecx + eax]
mov dword [esp + 0x28], eax
mov ecx, dword [eax]
test ecx, ecx
jle 0x402765
mov dword [esp + 0x24], ebx
nop dword [eax + eax]
test ebx, ebx
js 0x402648
cmp ebx, ecx
jl 0x402670
push 0x6fc
push str.C:UsersmegawOneDrivePlochaTE_LoaderTE_Loader_SrcTE_Loader_SrcImGuiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [esp + 0x24]
add esp, 0xc
movss xmm4, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 8]
add esi, dword [esp + 0x24]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4026a2
cmp eax, 0xffffffff
jne 0x402693
mov ecx, dword [esp + 0x30]
mov edx, edi
call fcn.00401f20
jmp 0x40273d
push esi
push dword [esp + 0x2c]
call eax
add esp, 8
jmp 0x40273d
movss xmm3, dword [esi]
movss xmm2, dword [esi + 8]
subss xmm3, xmm0
movss xmm1, dword [esi + 4]
subss xmm2, xmm0
movss xmm0, dword [esi + 0xc]
subss xmm1, xmm4
subss xmm0, xmm4
comiss xmm3, xmm2
jae 0x402743
comiss xmm1, xmm0
jae 0x402743
cvttss2si eax, xmm3
lea ecx, [esp + 0xf44]
push ecx
push 1
push edi
mov dword [esp + 0xf50], eax
cvttss2si eax, xmm1
mov dword [esp + 0xf54], eax
cvttss2si eax, xmm2
mov dword [esp + 0xf58], eax
cvttss2si eax, xmm0
mov dword [esp + 0xf5c], eax
mov eax, dword [edi]
call dword [eax + 0xb4]
mov eax, dword [esi + 0x10]
lea ecx, [esp + 0x34]
push ecx
push 1
mov dword [esp + 0x3c], eax
mov eax, dword [edi]
push 0
push edi
call dword [eax + 0x20]
mov eax, dword [esi + 0x14]
add eax, dword [esp + 0x10]
mov ecx, dword [edi]
push eax
mov eax, dword [esi + 0x18]
add eax, dword [esp + 0x20]
push eax
push dword [esi + 0x1c]
push edi
call dword [ecx + 0x30]
movss xmm4, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
inc ebx
add dword [esp + 0x24], 0x28
movss xmm0, dword [esp + 0x18]
mov ecx, dword [eax]
cmp ebx, ecx
jl 0x402640
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
add edx, dword [eax + 0xc]
add esi, dword [eax + 0x18]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
inc eax
mov ecx, dword [esp + 0x20]
add ecx, 4
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
cmp eax, dword [ebx + 4]
jl 0x402621
mov eax, dword [edi]
lea ecx, [esp + 0x58]
push ecx
push dword [esp + 0x54]
push edi
call dword [eax + 0xb4]
mov eax, dword [edi]
lea ecx, [esp + 0x158]
push ecx
push dword [esp + 0x58]
push edi
call dword [eax + 0xb0]
push dword [esp + 0x2d8]
mov eax, dword [edi]
push edi
call dword [eax + 0xac]
mov ecx, dword [esp + 0x2d8]
test ecx, ecx
je 0x4027dc
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [esp + 0x2f0]
mov eax, dword [edi]
lea ecx, [esp + 0x2e4]
push ecx
push dword [esp + 0x2e4]
push edi
call dword [eax + 0x8c]
mov ecx, dword [esp + 0x2dc]
test ecx, ecx
je 0x40280c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [esp + 0x2f4]
mov eax, dword [edi]
push dword [esp + 0x2fc]
push edi
call dword [eax + 0x90]
mov ecx, dword [esp + 0x2f8]
test ecx, ecx
je 0x402834
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [esp + 0x2fc]
push ecx
push 1
push 0
push edi
call dword [eax + 0x20]
mov ecx, dword [esp + 0x2fc]
test ecx, ecx
je 0x402857
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [esp + 0x300]
push ecx
push 1
push 0
push edi
call dword [eax + 0x28]
mov ecx, dword [esp + 0x300]
test ecx, ecx
je 0x40287a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [esp + 0x310]
mov eax, dword [edi]
lea ecx, [esp + 0x320]
push ecx
push dword [esp + 0x30c]
push edi
call dword [eax + 0x24]
mov ecx, dword [esp + 0x304]
test ecx, ecx
je 0x4028a7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x310]
xor esi, esi
test eax, eax
je 0x4028d1
mov ecx, dword [esp + esi*4 + 0x31c]
test ecx, ecx
je 0x4028cc
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x310]
inc esi
cmp esi, eax
jb 0x4028b4
push dword [esp + 0x314]
mov eax, dword [edi]
lea ecx, [esp + 0x720]
push ecx
push dword [esp + 0x310]
push edi
call dword [eax + 0x2c]
mov ecx, dword [esp + 0x308]
test ecx, ecx
je 0x4028fe
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [esp + 0xf28]
push ecx
push 1
push 0
push edi
call dword [eax + 0x1c]
mov ecx, dword [esp + 0xf28]
test ecx, ecx
je 0x402921
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [esp + 0x318]
mov eax, dword [edi]
lea ecx, [esp + 0xb20]
push ecx
push dword [esp + 0x314]
push edi
call dword [eax + 0x5c]
mov ecx, dword [esp + 0x30c]
test ecx, ecx
je 0x40294e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x314]
xor esi, esi
test eax, eax
je 0x40297d
nop dword [eax + eax]
mov ecx, dword [esp + esi*4 + 0x71c]
test ecx, ecx
je 0x402978
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x314]
inc esi
cmp esi, eax
jb 0x402960
push dword [esp + 0xf1c]
mov eax, dword [edi]
push edi
call dword [eax + 0x60]
push dword [esp + 0xf2c]
mov eax, dword [edi]
push dword [esp + 0xf3c]
push dword [esp + 0xf28]
push edi
call dword [eax + 0x4c]
mov ecx, dword [esp + 0xf20]
test ecx, ecx
je 0x4029b6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi]
lea ecx, [esp + 0xf34]
push ecx
lea ecx, [esp + 0xf34]
push ecx
lea ecx, [esp + 0xf2c]
push ecx
push 1
push 0
push edi
call dword [eax + 0x48]
mov ecx, dword [esp + 0xf24]
test ecx, ecx
je 0x4029e9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push dword [esp + 0xf3c]
mov eax, dword [edi]
push edi
call dword [eax + 0x44]
mov ecx, dword [esp + 0xf3c]
test ecx, ecx
je 0x402a07
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0xf5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00461666
mov esp, ebp
pop ebp
ret