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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov dword [esp + 8], ecx
mov ecx, dword [0x4dca24]
mov dword [esp + 0x1c], edx
push esi
push edi
mov eax, dword [ecx + 0x3f88]
mov byte [eax + 0xac], 1
mov edx, dword [ecx + 0x3f88]
cmp byte [edx + 0xaf], 0
jne 0x475a26
mov eax, dword [esp + 0x24]
mov edi, 0x4b2982
cmp dword [esp + 0x10], eax
mov esi, edi
cmovne esi, dword [esp + 0x10]
cmovne edi, eax
test edi, edi
jne 0x4753a2
mov ecx, esi
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x475390
sub ecx, edi
lea edi, [esi + ecx]
mov ecx, dword [0x4dca24]
movss xmm1, dword [edx + 0x1a4]
xorps xmm0, xmm0
movss xmm3, dword [edx + 0x128]
mov eax, edi
addss xmm3, dword [edx + 0xf4]
movss xmm5, dword [edx + 0xf0]
comiss xmm1, xmm0
movss dword [esp + 0x10], xmm5
movss dword [esp + 0x18], xmm3
setae byte [esp + 0xf]
sub eax, esi
cmp eax, 0x7d0
jle 0x4757b9
cmp byte [esp + 0xf], 0
jne 0x4757c0
cmp byte [ecx + 0x5d84], 0
movaps xmm1, xmm3
movss xmm4, dword [ecx + 0x3cf4]
movss dword [esp + 0x14], xmm4
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x38], xmm5
movss dword [esp + 0x3c], xmm1
jne 0x47552c
movss xmm0, dword [edx + 0x214]
subss xmm0, xmm3
divss xmm0, xmm4
cvttss2si edx, xmm0
mov dword [esp + 0x20], edx
test edx, edx
jle 0x47552c
xor eax, eax
mov dword [esp + 0x1c], eax
cmp esi, edi
jae 0x475517
cmp eax, edx
jge 0x4754ff
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
cmove eax, edi
test byte [ebp + 8], 1
mov dword [esp + 0x24], eax
jne 0x4754e7
cmp esi, eax
jne 0x475481
xorps xmm1, xmm1
jmp 0x4754d6
movss xmm3, dword [0x4d58e4]
push 0
push eax
push esi
push ecx
mov ecx, dword [0x4dca24]
lea eax, [esp + 0x38]
mov dword [esp], 0xbf800000
push eax
movss xmm2, dword [ecx + 0x3cf4]
mov ecx, dword [ecx + 0x3cf0]
call fcn.004661a0
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [0x4d56ec]
cvttss2si eax, xmm0
movd xmm1, eax
mov eax, dword [esp + 0x24]
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x28], xmm1
movss xmm0, dword [esp + 0x30]
comiss xmm0, xmm1
jae 0x4754e7
movss dword [esp + 0x30], xmm1
mov edx, dword [esp + 0x20]
lea esi, [eax + 1]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp esi, edi
jb 0x475451
movss xmm4, dword [esp + 0x14]
movss xmm5, dword [esp + 0x10]
movss xmm3, dword [esp + 0x18]
mov ecx, dword [0x4dca24]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm4
addss xmm1, xmm3
movss dword [esp + 0x3c], xmm1
cmp esi, edi
jae 0x475760
movaps xmm3, xmm5
movss dword [esp + 0x20], xmm1
addss xmm3, dword [0x4d58e4]
movaps xmm0, xmm1
movaps xmm2, xmm1
addss xmm0, xmm4
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x24], xmm0
nop dword [eax + eax]
mov eax, dword [ecx + 0x3f88]
comiss xmm0, dword [eax + 0x214]
jbe 0x475592
movss xmm0, dword [eax + 0x21c]
comiss xmm0, xmm2
jbe 0x475592
comiss xmm3, dword [eax + 0x210]
jbe 0x475592
movss xmm0, dword [eax + 0x218]
comiss xmm0, xmm5
ja 0x47559f
cmp byte [ecx + 0x5d84], 0
je 0x475693
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
cmove eax, edi
mov dword [esp + 0x1c], eax
cmp esi, eax
jne 0x4755c1
xorps xmm1, xmm1
jmp 0x475616
movss xmm3, dword [0x4d58e4]
push 0
push eax
push esi
push ecx
mov ecx, dword [0x4dca24]
lea eax, [esp + 0x50]
mov dword [esp], 0xbf800000
push eax
movss xmm2, dword [ecx + 0x3cf4]
mov ecx, dword [ecx + 0x3cf0]
call fcn.004661a0
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x4d56ec]
cvttss2si eax, xmm0
movd xmm1, eax
mov eax, dword [esp + 0x1c]
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x40], xmm1
movss xmm0, dword [esp + 0x30]
comiss xmm0, xmm1
jae 0x475627
movss dword [esp + 0x30], xmm1
push dword [esp + 0x3c]
mov edx, eax
mov ecx, esi
push dword [esp + 0x3c]
push 0
call fcn.00406790
movss xmm4, dword [esp + 0x20]
add esp, 0xc
movss xmm2, dword [esp + 0x20]
movss xmm0, dword [esp + 0x24]
addss xmm2, xmm4
movss xmm1, dword [esp + 0x3c]
addss xmm0, xmm4
mov esi, dword [esp + 0x1c]
addss xmm1, xmm4
inc esi
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x3c], xmm1
cmp esi, edi
jae 0x475693
movss xmm3, dword [esp + 0x28]
movss xmm5, dword [esp + 0x10]
mov ecx, dword [0x4dca24]
jmp 0x475560
xor eax, eax
mov dword [esp + 0x24], eax
cmp esi, edi
jae 0x475747
and dword [ebp + 8], 1
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
cmove eax, edi
cmp dword [ebp + 8], 0
mov dword [esp + 0x28], eax
jne 0x475733
cmp esi, eax
jne 0x4756cd
xorps xmm1, xmm1
jmp 0x475722
movss xmm3, dword [0x4d58e4]
push 0
push eax
push esi
push ecx
mov ecx, dword [0x4dca24]
lea eax, [esp + 0x50]
mov dword [esp], 0xbf800000
push eax
movss xmm2, dword [ecx + 0x3cf4]
mov ecx, dword [ecx + 0x3cf0]
call fcn.004661a0
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x4d56ec]
cvttss2si eax, xmm0
movd xmm1, eax
mov eax, dword [esp + 0x28]
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x40], xmm1
movss xmm0, dword [esp + 0x30]
comiss xmm0, xmm1
jae 0x475733
movss dword [esp + 0x30], xmm1
lea esi, [eax + 1]
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp esi, edi
jb 0x4756a5
movss xmm3, dword [esp + 0x18]
movd xmm0, eax
cvtdq2ps xmm1, xmm0
mulss xmm1, dword [esp + 0x14]
addss xmm1, dword [esp + 0x3c]
movss xmm2, dword [esp + 0x10]
subss xmm1, xmm3
movaps xmm0, xmm2
movss dword [esp + 0x40], xmm2
addss xmm0, dword [esp + 0x30]
lea ecx, [esp + 0x30]
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x34], xmm1
addss xmm1, xmm3
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x4c], xmm1
xorps xmm1, xmm1
call fcn.00417660
push 0
push 0
xor edx, edx
lea ecx, [esp + 0x48]
call fcn.004177c0
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0xf], 0
je 0x47580e
comiss xmm0, xmm1
ja 0x47580e
mov edx, dword [ecx + 0x3f88]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x4757ea
movss xmm1, dword [edx + 0x1f8]
subss xmm1, xmm5
maxss xmm1, dword [0x4d56f4]
jmp 0x475811
comiss xmm1, xmm0
jbe 0x475800
movss xmm0, dword [edx + 0x14]
subss xmm0, dword [edx + 0x78]
addss xmm1, xmm0
xorps xmm0, xmm0
subss xmm1, xmm5
maxss xmm1, dword [0x4d56f4]
jmp 0x475811
xorps xmm1, xmm1
movss xmm2, dword [ecx + 0x3cf4]
movss dword [esp + 0x14], xmm1
cmp esi, edi
je 0x475870
movss xmm3, dword [0x4d58e4]
lea eax, [esp + 0x40]
push 0
push edi
push esi
push ecx
mov ecx, dword [ecx + 0x3cf0]
movss dword [esp], xmm1
push eax
call fcn.004661a0
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x4d56ec]
movss xmm2, dword [esp + 0x44]
movss xmm5, dword [esp + 0x10]
movss xmm3, dword [esp + 0x18]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm5
movss dword [esp + 0x38], xmm0
addss xmm1, xmm0
movss dword [esp + 0x3c], xmm2
movaps xmm0, xmm3
movss dword [esp + 0x40], xmm5
addss xmm0, xmm2
movss dword [esp + 0x44], xmm3
lea ecx, [esp + 0x38]
movss dword [esp + 0x48], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x4c], xmm0
call fcn.00417660
push 0
push 0
xor edx, edx
lea ecx, [esp + 0x48]
call fcn.004177c0
add esp, 8
test al, al
je 0x475a26
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x3c], ecx
mov ecx, dword [0x4dca24]
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx + 0x3f88]
mov dword [esp + 0x28], eax
test edi, edi
jne 0x475909
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4758f5
mov eax, dword [esp + 0x28]
sub ecx, edx
lea edi, [ecx + esi]
mov ecx, dword [esp + 0x1c]
cmp esi, edi
je 0x475a26
mov edx, dword [eax + 0x264]
mov eax, dword [ecx + 0x3cf0]
movss xmm7, dword [ecx + 0x3cf4]
xor ecx, ecx
movss xmm1, dword [0x4d56f4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
movss dword [esp + 0x20], xmm7
call fcn.00405fc0
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], edi
test eax, 0xff000000
je 0x475a0a
test edi, edi
jne 0x47597c
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x475962
sub ecx, dword [esp + 0x28]
lea eax, [ecx + esi]
mov dword [esp + 0x24], eax
cmp esi, eax
je 0x475a0a
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x47598e
mov eax, dword [edx + 0x2c]
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
ucomiss xmm7, dword [0x4d5620]
lahf
test ah, 0x44
jp 0x4759a9
mov eax, dword [edx + 0x2c]
movss xmm0, dword [eax + 0xc]
movss dword [esp + 0x20], xmm0
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 4]
cmp eax, dword [edx + 0x70]
je 0x4759d4
push 0x65b
push str.C:UsersAdminDownloadsimgui_masterimgui_draw.cpp
push str.font__ContainerAtlas__TexID___CmdHeader.TextureId
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x18]
movups xmm0, xmmword [edx + 0x60]
lea eax, [esp + 0x40]
movss xmm2, dword [esp + 0x20]
push 0
push ecx
movups xmmword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp], xmm0
push dword [esp + 0x2c]
push esi
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x50]
push eax
push edx
call fcn.004664c0
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x5d84], 0
je 0x475a26
push edi
mov edx, esi
lea ecx, [esp + 0x3c]
call fcn.0041f840
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret