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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x154]
mov ecx, dword [esi + 0x158]
movss xmm0, dword [eax + 0x21c]
comiss xmm0, dword [esi + 0xc8]
jbe 0x46ef48
movss xmm0, dword [esi + 0xd0]
comiss xmm0, dword [eax + 0x214]
jbe 0x46ef48
movss xmm0, dword [eax + 0x218]
comiss xmm0, dword [esi + 0xc4]
jbe 0x46ef48
movss xmm0, dword [esi + 0xcc]
comiss xmm0, dword [eax + 0x210]
jbe 0x46ef48
mov ebx, dword [ecx + 0x264]
mov ecx, dword [esi + 0x168]
push 0
push ebx
mov dword [ebp - 8], ebx
call fcn.00462390
movss xmm2, dword [esi + 0x114]
movss xmm0, dword [esi + 0x11c]
comiss xmm2, xmm0
movss xmm1, dword [esi + 0x118]
movss xmm3, dword [esi + 0x120]
movss dword [ebp - 0x38], xmm2
movss dword [ebp - 0x34], xmm1
movss dword [ebp - 0x30], xmm0
movss dword [ebp - 0x2c], xmm3
jb 0x46e9e0
movss dword [ebp - 0x30], xmm2
comiss xmm1, xmm3
jb 0x46e9ea
movss dword [ebp - 0x2c], xmm1
mov edi, dword [ebx + 0x3c]
lea edx, [ebx + 0x3c]
mov ecx, dword [edx + 4]
cmp edi, ecx
jne 0x46ea1f
inc edi
test ecx, ecx
je 0x46ea0a
mov eax, ecx
cdq
sub eax, edx
lea edx, [ebx + 0x3c]
sar eax, 1
add eax, ecx
jmp 0x46ea0f
mov eax, 8
cmp eax, edi
mov ecx, edx
cmovg edi, eax
push edi
call fcn.0042b9a0
lea edx, [ebx + 0x3c]
mov eax, dword [edx]
mov ecx, dword [edx + 8]
add eax, eax
movups xmm0, xmmword [ebp - 0x38]
movups xmmword [ecx + eax*8], xmm0
inc dword [edx]
mov ecx, ebx
movups xmmword [ebx + 0x60], xmm0
call fcn.0045e480
movsx edi, word [esi + 0x4c]
test edi, edi
jne 0x46ea4b
lea ecx, [esi + 0x174]
jmp 0x46ea7f
cmp edi, 1
jl 0x46ea58
cmp edi, dword [esi + 0x184]
jle 0x46ea70
push 0x73e
push 0x4b2350
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [esi + 0x18c]
lea ecx, [edi - 1]
lea ecx, [edi + ecx*2]
lea ecx, [eax + ecx*8]
movzx eax, word [esi + 0x1dc]
cmp ax, 1
jl 0x46ea96
movss xmm1, dword [esi + 0xd8]
jmp 0x46ea9e
movss xmm1, dword [esi + 0xe8]
mov edx, dword [esi + 4]
movss xmm4, dword [0x4d56f4]
test edx, 0x100
je 0x46eab6
movaps xmm2, xmm4
jmp 0x46eab9
xorps xmm2, xmm2
cmp byte [esi + 0x1ee], 0
addss xmm1, dword [esi + 0xbc]
movss xmm0, dword [esi + 0xd8]
movaps xmm3, xmm0
maxss xmm3, xmm1
movss xmm1, dword [esi + 0xe0]
movss dword [ebp - 0x14], xmm1
addss xmm3, xmm2
movss dword [ebp - 0x10], xmm3
je 0x46eb0c
cmp ax, 1
jge 0x46eafd
movss xmm0, dword [esi + 0xe8]
addss xmm0, dword [ecx]
minss xmm1, xmm0
movss dword [ebp - 0xc], xmm1
jmp 0x46eb11
movss dword [ebp - 0xc], xmm3
test edx, 0x200
je 0x46ecd7
xor ebx, ebx
cmp dword [esi + 0x40], ebx
jle 0x46ecd4
mov eax, dword [esi + 0x28]
mov ecx, ebx
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, ebx
sar ecx, 5
test dword [eax + ecx*4], edx
je 0x46ecc2
mov eax, dword [esi + 0x18]
lea edi, [eax + ebx*2]
cmp edi, eax
jb 0x46eb54
cmp edi, dword [esi + 0x1c]
jb 0x46eb6c
push 0x273
push str.C:UsersAdminDownloadsimgui_masterimgui_internal.h
push str.p___Data__p___DataEnd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
movsx ecx, word [edi]
imul edi, ecx, 0x70
mov dword [ebp - 4], ecx
add edi, dword [esi + 0x10]
cmp edi, dword [esi + 0x10]
jb 0x46eb82
cmp edi, dword [esi + 0x14]
jb 0x46eb9d
push 0x273
push str.C:UsersAdminDownloadsimgui_masterimgui_internal.h
push str.p___Data__p___DataEnd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [ebp - 4]
add esp, 0xc
movsx eax, word [esi + 0x1c6]
cmp eax, ecx
jne 0x46ebb6
mov ax, word [esi + 0x4e]
cmp ax, word [esi + 0x4c]
jne 0x46ebb6
mov dl, 1
jmp 0x46ebb8
xor dl, dl
mov eax, dword [edi]
movss xmm1, dword [edi + 0xc]
and eax, 0x40000020
comiss xmm1, dword [esi + 0xfc]
mov ecx, dword [ebp - 4]
movss dword [ebp - 0x18], xmm1
jbe 0x46ebdd
test dl, dl
je 0x46ecc2
cmp word [edi + 0x58], 0xffff
jne 0x46ec0c
test eax, eax
je 0x46ec0c
mov ecx, dword [esi + 4]
mov eax, ecx
and eax, 0xe000
cmp eax, 0x4000
jne 0x46ecc2
test ecx, 0x10000
jne 0x46ecc2
mov ecx, dword [ebp - 4]
movss xmm0, dword [edi + 0x20]
comiss xmm0, xmm1
jae 0x46ecc2
movsx eax, word [esi + 0x1c0]
movsx edi, word [esi + 0x1e0]
cmp eax, ecx
je 0x46ec47
test dl, dl
jne 0x46ec47
lea edx, [ebx + 1]
cmp edi, edx
je 0x46ec47
test dword [esi + 4], 0x1800
je 0x46ec47
movss xmm7, dword [ebp - 0xc]
jmp 0x46ec4f
movss xmm7, dword [ebp - 0x14]
lea edx, [ebx + 1]
movss xmm3, dword [ebp - 0x10]
comiss xmm7, xmm3
jbe 0x46ecc2
movsx eax, word [esi + 0x1c6]
cmp eax, ecx
jne 0x46ed5b
mov ax, word [esi + 0x4e]
cmp ax, word [esi + 0x4c]
jne 0x46ed5b
mov ecx, 1
movss xmm1, dword [0x4d56f4]
add ecx, 0x1c
call fcn.00405fc0
movss xmm1, dword [ebp - 0x18]
movss xmm3, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 8]
mov dword [esp], 0x3f800000
push eax
lea eax, [ebp - 0x20]
movss dword [ebp - 0x20], xmm1
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0x1c], xmm7
push eax
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x24], xmm3
call fcn.00461260
inc ebx
cmp ebx, dword [esi + 0x40]
jl 0x46eb28
movss xmm4, dword [0x4d56f4]
mov ebx, dword [ebp - 8]
mov eax, dword [esi + 4]
mov ecx, eax
and ecx, 0x500
je 0x46ee92
mov edi, dword [esi + 0x78]
movups xmm0, xmmword [esi + 0xc4]
movups xmmword [ebp - 0x38], xmm0
cmp ecx, 0x500
jne 0x46edef
movss xmm2, dword [ebp - 0x30]
movss xmm3, dword [ebp - 0x2c]
addss xmm2, xmm4
addss xmm3, xmm4
test edi, 0xff000000
je 0x46ee92
test byte [ebx + 0x24], 1
lea eax, [ebp - 0x28]
movss xmm0, dword [ebp - 0x38]
mov ecx, ebx
push 0
push eax
lea eax, [ebp - 0x20]
push eax
je 0x46ed8a
movss xmm1, dword [0x4d56ac]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm3, xmm1
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x34]
addss xmm0, xmm1
jmp 0x46edb4
movsx eax, word [esi + 0x1c0]
xor ecx, ecx
cmp eax, dword [ebp - 4]
je 0x46ec7b
cmp edi, edx
je 0x46ed82
test dword [esi + 4], 0x1800
jne 0x46ed82
mov eax, dword [esi + 0x7c]
jmp 0x46ec95
mov eax, dword [esi + 0x78]
jmp 0x46ec95
addss xmm0, dword [0x4d56ac]
subss xmm2, dword [0x4d56a8]
subss xmm3, dword [0x4d56a8]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x34]
addss xmm0, dword [0x4d56ac]
movss dword [ebp - 0x24], xmm3
xorps xmm3, xmm3
movss dword [ebp - 0x28], xmm2
movss dword [ebp - 0x1c], xmm0
call fcn.00460da0
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebx
push 1
push edi
push dword [ebx + 0x54]
push dword [ebx + 0x5c]
call fcn.0045e940
mov dword [ebx + 0x54], 0
jmp 0x46ee92
test eax, 0x400
je 0x46ee33
movss xmm0, dword [ebp - 0x38]
lea eax, [ebp - 0x28]
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebx
push edi
push eax
movss dword [ebp - 0x28], xmm0
lea eax, [ebp - 0x38]
movss xmm0, dword [ebp - 0x2c]
push eax
movss dword [ebp - 0x24], xmm0
call fcn.00461260
movss xmm0, dword [ebp - 0x30]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x34]
jmp 0x46ee75
test eax, 0x100
je 0x46ee92
movss xmm0, dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebx
push edi
push eax
movss dword [ebp - 0x28], xmm0
lea eax, [ebp - 0x38]
movss xmm0, dword [ebp - 0x34]
push eax
movss dword [ebp - 0x24], xmm0
call fcn.00461260
movss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x2c]
push ecx
mov dword [esp], 0x3f800000
lea eax, [ebp - 0x30]
push edi
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0x24], xmm0
push eax
mov ecx, ebx
call fcn.00461260
test byte [esi + 4], 0x80
je 0x46eefe
movss xmm1, dword [esi + 0x54]
movss xmm0, dword [esi + 0xd0]
comiss xmm0, xmm1
jbe 0x46eefe
comiss xmm1, dword [esi + 0x108]
jb 0x46eefe
movss xmm0, dword [esi + 0x110]
comiss xmm0, xmm1
jbe 0x46eefe
movss xmm0, dword [esi + 0x84]
lea eax, [ebp - 0x28]
push ecx
mov dword [esp], 0x3f800000
mov ecx, ebx
push dword [esi + 0x7c]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [esi + 0x80]
push eax
lea eax, [ebp - 0x20]
movss dword [ebp - 0x24], xmm1
push eax
movss dword [ebp - 0x20], xmm0
movss dword [ebp - 0x1c], xmm1
call fcn.00461260
cmp dword [ebx + 0x3c], 0
jg 0x46ef1c
push 0x754
push 0x4b2350
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ecx, dword [ebx + 0x3c]
sub ecx, 1
mov dword [ebx + 0x3c], ecx
jne 0x46ef2f
mov eax, dword [ebx + 0x2c]
add eax, 0x18
jmp 0x46ef3a
mov eax, dword [ebx + 0x44]
shl ecx, 4
add eax, 0xfffffff0
add eax, ecx
movups xmm0, xmmword [eax]
mov ecx, ebx
movups xmmword [ebx + 0x60], xmm0
call fcn.0045e480
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret