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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
push esi
push edi
mov edi, dword [0x4c9b64]
mov dword [esp + 0x30], edx
mov edx, ecx
mov dword [esp + 0x5c], edx
mov eax, dword [edi + 0x3f88]
mov byte [eax + 0xb0], 1
mov eax, dword [edi + 0x3f88]
mov dword [esp + 0x40], eax
cmp byte [eax + 0xb3], 0
je 0x4870d6
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movss xmm0, dword [edi + 0x38e8]
mov dword [esp + 0x3c], edx
addss xmm0, xmm0
addss xmm0, dword [edi + 0x3cf4]
movss dword [esp + 0x90], xmm0
cmp edx, 0xffffffff
jae 0x487119
nop dword [eax]
mov al, byte [ecx]
test al, al
je 0x487115
cmp al, 0x23
jne 0x48710f
cmp byte [ecx + 1], al
je 0x487115
inc ecx
cmp ecx, 0xffffffff
jb 0x487100
mov dword [esp + 0x3c], ecx
test byte [edi + 0x48b0], 1
mov esi, dword [edi + 0x3f88]
je 0x487132
movss xmm1, dword [edi + 0x48b8]
jmp 0x48713a
movss xmm1, dword [esi + 0x1a8]
movss xmm2, dword [0x4c2afc]
xorps xmm0, xmm0
comiss xmm0, xmm1
movss dword [esp + 0x8c], xmm2
jbe 0x487199
mov edx, esi
cmp dword [edx + 0x198], 0
jne 0x48716c
cmp dword [edi + 0x4c94], 0
mov ecx, 0x230
je 0x487171
mov ecx, 0x200
mov eax, dword [edx + ecx]
mov dword [esp + 0x78], eax
movss xmm0, dword [esp + 0x78]
subss xmm0, dword [esi + 0xf8]
mov eax, dword [edx + ecx + 4]
mov dword [esp + 0x7c], eax
addss xmm0, xmm1
movaps xmm1, xmm2
maxss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [edi + 0x48b0], 0
mov dword [edi + 0x48b4], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x48], xmm0
call fcn.00417940
mov eax, dword [0x4c9b64]
push ecx
push dword [esp + 0x60]
mov esi, dword [eax + 0x3f88]
mov ecx, esi
call fcn.00408ea0
mov dword [esp + 0x60], eax
lea ecx, [esi + 0xec]
lea eax, [esp + 0x60]
push eax
call fcn.00429d70
mov eax, dword [edi + 0x5c34]
mov dword [esp + 0xac], eax
test eax, eax
jne 0x487239
mov esi, dword [esp + 0x40]
cmp dword [esi + 0xec], eax
jg 0x487223
push 0x78c
push 0x4a02f8
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ecx, dword [esi + 0xec]
mov eax, dword [esi + 0xf4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x5c34], eax
mov ecx, dword [ebp + 8]
mov dword [esp + 0xa0], ecx
test cl, 0x20
je 0x487257
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [ebp + 8], ecx
mov esi, dword [esp + 0x30]
test cl, 8
jne 0x48726c
mov edx, ecx
mov ecx, esi
call fcn.0048b6d0
mov ecx, dword [ebp + 8]
test ecx, 0x700000
jne 0x487281
mov eax, dword [edi + 0x5c30]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x487296
mov eax, dword [edi + 0x5c30]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x4872ab
mov eax, dword [edi + 0x5c30]
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x4872c0
mov eax, dword [edi + 0x5c30]
and eax, 0x18000000
or ecx, eax
mov eax, dword [edi + 0x5c30]
and eax, 0xe00fffff
or ecx, eax
mov edx, ecx
mov dword [ebp + 8], ecx
and edx, 0x700000
je 0x4872e1
lea eax, [edx - 1]
test edx, eax
je 0x4872fc
push 0x141b
push 0x4bfd1c
push str.ImIsPowerOfTwo_flags__ImGuiColorEditFlags_DisplayMask__
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [ebp + 8]
add esp, 0xc
mov edx, ecx
and edx, 0x18000000
je 0x48730d
lea eax, [edx - 1]
test edx, eax
je 0x487328
push 0x141c
push 0x4bfd1c
push str.ImIsPowerOfTwo_flags__ImGuiColorEditFlags_InputMask__
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [ebp + 8]
add esp, 0xc
mov eax, ecx
mov dword [esp + 0x6c], ecx
shr eax, 1
xor edx, edx
not al
and eax, 0xffffff01
mov dword [esp + 0x44], eax
mov eax, ecx
shr eax, 0x13
and eax, 0xffffff01
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x44]
test al, al
setne dl
add edx, 3
and dword [esp + 0x6c], 0x10
mov dword [esp + 0x34], edx
je 0x48736a
xorps xmm0, xmm0
jmp 0x48737b
movss xmm0, dword [edi + 0x38fc]
addss xmm0, dword [esp + 0x90]
movss xmm1, dword [esp + 0x48]
movss xmm4, dword [0x4c2afc]
subss xmm1, xmm0
movss xmm3, dword [esi]
movss xmm2, dword [esi + 8]
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x28], xmm2
maxss xmm1, xmm4
movss dword [esp + 0x48], xmm1
addss xmm1, xmm0
movss dword [esp + 0xa4], xmm1
movss xmm1, dword [esi + 4]
movss dword [esp + 0x24], xmm1
test al, al
je 0x4873d5
movss xmm0, dword [esi + 0xc]
jmp 0x4873d8
movaps xmm0, xmm4
mov edx, dword [esp + 0x34]
mov eax, ecx
and eax, 0x10100000
movss dword [esp + 0x2c], xmm0
mov dword [esp + 0xa8], eax
cmp eax, 0x10100000
jne 0x487411
lea eax, [esp + 0x28]
movaps xmm0, xmm3
push eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x24]
call fcn.00404de0
add esp, 4
jmp 0x48744b
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x48746a
lea eax, [esp + 0x28]
movaps xmm0, xmm3
push eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x24]
call fcn.00404d20
add esp, 4
lea eax, [esp + 0x28]
push eax
mov eax, edx
mov edx, ecx
push eax
mov ecx, esi
call fcn.00486f60
add esp, 8
mov edx, dword [esp + 0x34]
mov ecx, dword [ebp + 8]
movss xmm3, dword [esp + 0x20]
movss xmm1, dword [esp + 0x24]
movss xmm2, dword [esp + 0x28]
movss xmm0, dword [esp + 0x2c]
comiss xmm3, dword [0x4c2a2c]
movss xmm5, dword [0x4c2cdc]
movss xmm4, dword [0x4c2ab4]
jb 0x487488
movaps xmm7, xmm4
jmp 0x48748b
movaps xmm7, xmm5
movss xmm6, dword [0x4c2c74]
mulss xmm3, xmm6
addss xmm3, xmm7
xorps xmm7, xmm7
comiss xmm1, xmm7
cvttss2si eax, xmm3
mov dword [esp + 0x4c], eax
jb 0x4874b0
movaps xmm3, xmm4
jmp 0x4874b3
movaps xmm3, xmm5
comiss xmm2, xmm7
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [esp + 0x50], eax
jb 0x4874cd
movaps xmm1, xmm4
jmp 0x4874d0
movaps xmm1, xmm5
comiss xmm0, xmm7
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [esp + 0x54], eax
jae 0x4874e8
movaps xmm4, xmm5
cmp dword [edi + 0x3944], 0
mulss xmm0, xmm6
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
addss xmm0, xmm4
cvttss2si eax, xmm0
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0xf8]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0xfc]
mov dword [esp + 0x7c], eax
jne 0x48752f
movss xmm1, dword [esp + 0x70]
jmp 0x487532
movaps xmm1, xmm7
movss xmm2, dword [esp + 0x78]
mov eax, dword [esp + 0x40]
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xf8], xmm0
test ecx, 0x300000
je 0x4877ed
test cl, 0x20
jne 0x4877ed
movss xmm4, dword [esp + 0x48]
lea eax, [edx - 1]
movd xmm0, eax
mov edx, str.M:000
cvtdq2ps xmm0, xmm0
mov eax, ecx
and eax, 0x1000000
mov dword [esp + 0x94], eax
mov eax, str.M:0.000
cmove eax, edx
mov edx, dword [0x4c9b64]
mulss xmm0, dword [edi + 0x38fc]
subss xmm4, xmm0
movss dword [esp + 0x60], xmm4
test eax, eax
jne 0x4875ac
movaps xmm1, xmm7
jmp 0x48761a
movss xmm3, dword [0x4c2cb8]
movss xmm2, dword [edx + 0x3cf4]
push 0
push 0
push eax
push ecx
mov ecx, dword [edx + 0x3cf0]
lea eax, [esp + 0x28]
mov dword [esp], 0xbf800000
push eax
call fcn.00469f10
movss xmm0, dword [esp + 0x18]
xorps xmm7, xmm7
addss xmm0, dword [0x4c2af4]
movss xmm4, dword [esp + 0x60]
mov ecx, dword [ebp + 8]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x18], xmm0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x64]
mov dword [esp + 0x68], eax
movd xmm5, dword [esp + 0x34]
movaps xmm0, xmm4
cvtdq2ps xmm5, xmm5
divss xmm0, xmm5
movss dword [esp + 0x64], xmm5
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jb 0x487644
xor esi, esi
jmp 0x487653
mov esi, ecx
and esi, 0x200000
neg esi
sbb esi, esi
neg esi
inc esi
and ecx, 8
shl esi, 4
mov dword [esp + 0x98], ecx
movaps xmm6, xmm7
mov dword [esp + 0x38], 0
mov edx, 0xff
xor ecx, ecx
test ecx, ecx
jle 0x48768f
movss xmm1, dword [edi + 0x38fc]
movaps xmm0, xmm7
call fcn.00417440
mov ecx, dword [esp + 0x38]
mov edx, 0xff
lea eax, [ecx + 1]
movss xmm2, dword [0x4c2afc]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x9c], eax
mulss xmm0, xmm4
divss xmm0, xmm5
cvttss2si eax, xmm0
movd xmm1, eax
mov eax, dword [0x4c9b64]
cvtdq2ps xmm1, xmm1
or dword [eax + 0x48b0], 1
cmp dword [esp + 0x94], 0
movaps xmm0, xmm1
movss dword [esp + 0x18], xmm1
subss xmm0, xmm6
maxss xmm0, xmm2
movss dword [eax + 0x48b8], xmm0
je 0x487755
cmp byte [esp + 0x88], 0
mov dword [esp + 0x38], 0
jne 0x487704
mov dword [esp + 0x38], 0x3f800000
movss xmm3, dword [0x4c2a58]
lea eax, [esp + 0x38]
push 0
push dword [esi + 0x4c23dc]
mov edx, 8
mov dword [esp + 0x7c], 0
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x30]
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x4c23cc]
push eax
call fcn.0047eb50
mov cl, byte [esp + 0x2a]
add esp, 0x14
or cl, al
or byte [esp + 0x17], cl
mov byte [esp + 0x16], cl
jmp 0x48779f
mov eax, edx
movaps xmm3, xmm2
xor edx, edx
cmp byte [esp + 0x88], dl
push edx
push dword [esi + 0x4c2434]
cmovne eax, edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x7c], eax
mov edx, 4
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x5c]
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x4c23cc]
push eax
call fcn.0047eb50
add esp, 0x14
or byte [esp + 0x16], al
cmp dword [esp + 0x98], 0
jne 0x4877b3
mov ecx, str.context
call fcn.00419530
mov ecx, dword [esp + 0x9c]
add esi, 4
xorps xmm7, xmm7
movss xmm4, dword [esp + 0x60]
mov edx, 0xff
movss xmm5, dword [esp + 0x64]
movss xmm6, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
cmp ecx, dword [esp + 0x34]
jl 0x487672
mov ecx, dword [ebp + 8]
jmp 0x4879c1
mov eax, ecx
and eax, 0x400020
cmp eax, 0x400000
jne 0x4879cb
cmp byte [esp + 0x44], 0
je 0x487875
mov esi, dword [esp + 0x58]
mov eax, 0xff
mov dword [esp + 0x18], eax
test esi, esi
jns 0x48781b
xor esi, esi
jmp 0x487820
cmp esi, eax
cmovg esi, eax
mov edx, dword [esp + 0x54]
test edx, edx
jns 0x48782c
xor edx, edx
jmp 0x487831
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x50]
test ecx, ecx
jns 0x48783d
xor ecx, ecx
jmp 0x487842
cmp ecx, eax
cmovg ecx, eax
mov eax, dword [esp + 0x4c]
test eax, eax
jns 0x48784e
xor eax, eax
jmp 0x487858
cmp eax, 0xff
cmovg eax, dword [esp + 0x18]
push esi
push edx
push ecx
push eax
push 0x4c1680
lea eax, [esp + 0xd4]
push 0x40
push eax
call fcn.00404370
add esp, 0x1c
jmp 0x4878ca
mov edx, dword [esp + 0x54]
mov esi, 0xff
test edx, edx
jns 0x487886
xor edx, edx
jmp 0x48788b
cmp edx, esi
cmovg edx, esi
mov ecx, dword [esp + 0x50]
test ecx, ecx
jns 0x487897
xor ecx, ecx
jmp 0x48789c
cmp ecx, esi
cmovg ecx, esi
mov eax, dword [esp + 0x4c]
test eax, eax
jns 0x4878a8
xor eax, eax
jmp 0x4878b0
cmp eax, 0xff
cmovg eax, esi
push edx
push ecx
push eax
push 0x4c1694
lea eax, [esp + 0xd0]
push 0x40
push eax
call fcn.00404370
add esp, 0x18
mov eax, dword [0x4c9b64]
xor edx, edx
movss xmm0, dword [esp + 0x48]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x48b0], 1
movss dword [eax + 0x48b8], xmm0
lea eax, [esp + 0x20]
push 4
push eax
lea eax, [esp + 0xd0]
mov dword [esp + 0x28], 0
push 0x40
push eax
mov dword [esp + 0x34], 0
call fcn.00483ca0
add esp, 0x18
test al, al
je 0x4879a9
mov byte [esp + 0x16], 1
lea ecx, [esp + 0xc0]
nop dword [eax]
mov al, byte [ecx]
cmp al, 0x23
je 0x48793e
cmp al, 0x20
je 0x48793e
cmp al, 9
jne 0x487941
inc ecx
jmp 0x487930
cmp byte [esp + 0x44], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x58], 0xff
je 0x48798c
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x58]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.00401380
add esp, 0x18
jmp 0x4879a9
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x54]
push eax
push str._02X_02X_02X
push ecx
call fcn.00401380
add esp, 0x14
mov ecx, dword [ebp + 8]
test cl, 8
jne 0x4879be
mov ecx, str.context
call fcn.00419530
mov ecx, dword [ebp + 8]
xorps xmm7, xmm7
movss xmm2, dword [esp + 0x78]
mov esi, dword [esp + 0x30]
cmp dword [esp + 0x6c], 0
mov dword [esp + 0x34], 0
jne 0x487b7d
test cl, 0x20
jne 0x4879fc
cmp dword [edi + 0x3944], 0
je 0x4879fc
movss xmm0, dword [edi + 0x38fc]
addss xmm0, dword [esp + 0x48]
jmp 0x4879ff
movaps xmm0, xmm7
cmp byte [esp + 0x44], 0
addss xmm0, xmm2
mov edx, dword [esp + 0x40]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x7c]
mov eax, dword [esp + 0x18]
movss dword [esp + 0x1c], xmm0
mov dword [edx + 0xf8], eax
mov eax, dword [esp + 0x1c]
mov dword [edx + 0xfc], eax
je 0x487a42
movss xmm0, dword [esi + 0xc]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esi]
lea eax, [esp + 0x18]
movss dword [esp + 0xb0], xmm0
lea edx, [esp + 0xb0]
movss xmm0, dword [esi + 4]
movss dword [esp + 0xb4], xmm0
movss xmm0, dword [esi + 8]
push eax
movss dword [esp + 0xbc], xmm0
movss xmm0, dword [esp + 0x90]
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0xc4], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.0048ac80
add esp, 8
test al, al
mov eax, dword [ebp + 8]
je 0x487b51
test al, 4
jne 0x487b51
movups xmm0, xmmword [esp + 0xb0]
mov ecx, str.picker
movups xmmword [edi + 0x5c48], xmm0
call fcn.00418c30
movss xmm0, dword [edi + 0x48dc]
movss xmm1, dword [edi + 0x48e8]
addss xmm1, dword [edi + 0x38f8]
mov edx, dword [0x4c9b64]
addss xmm0, dword [0x4c2a2c]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
or dword [edx + 0x491c], 1
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x18], xmm0
mov eax, dword [esp + 0x18]
mov dword [edx + 0x492c], eax
mov eax, dword [esp + 0x1c]
mov dword [edx + 0x4930], eax
mov eax, dword [esp + 0x64]
mov dword [edx + 0x4934], eax
mov eax, dword [esp + 0x68]
mov dword [edx + 0x4938], eax
mov eax, dword [ebp + 8]
mov dword [edx + 0x4920], 1
test al, 8
jne 0x487b5f
mov ecx, str.context
call fcn.00419530
mov ecx, dword [0x4c9b64]
mov eax, dword [ecx + 0x49d0]
cmp eax, dword [ecx + 0x49dc]
jg 0x487bbb
mov dword [ecx + 0x491c], 0
mov esi, dword [esp + 0x3c]
mov eax, dword [ebp + 8]
cmp dword [esp + 0x5c], esi
je 0x487ca2
test al, al
js 0x487ca2
movss xmm1, dword [edi + 0x38fc]
xorps xmm0, xmm0
call fcn.00417440
test byte [ebp + 8], 0x20
je 0x487c6c
movss xmm0, dword [esp + 0x70]
jmp 0x487c7d
push ecx
mov ecx, dword [ecx + 0x3f88]
push str.picker
call fcn.00408ea0
mov edx, 0x141
mov ecx, eax
call fcn.00419280
test al, al
je 0x487b7d
mov eax, dword [edi + 0x3f88]
mov esi, dword [esp + 0x3c]
cmp word [eax + 0xbc], 1
jne 0x487c62
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x487c0f
push 0
mov edx, esi
mov ecx, eax
call fcn.00478a70
add esp, 4
call fcn.0047c420
mov eax, dword [0x4c9b64]
mov ecx, 0x4b10fc
movss xmm0, dword [esp + 0x90]
mulss xmm0, dword [0x4c2bf0]
mov edx, dword [esp + 0x30]
or dword [eax + 0x48b0], 1
movss dword [eax + 0x48b8], xmm0
lea eax, [edi + 0x5c48]
push eax
mov eax, dword [esp + 0xa4]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.00488290
add esp, 8
or byte [esp + 0x16], al
call fcn.00419460
jmp 0x487b81
movss xmm0, dword [edi + 0x38fc]
addss xmm0, dword [esp + 0xa4]
addss xmm0, dword [esp + 0x78]
mov eax, dword [esp + 0x40]
mov edx, esi
mov ecx, dword [esp + 0x5c]
push 0
movss dword [eax + 0xf8], xmm0
call fcn.00478a70
mov eax, dword [ebp + 8]
add esp, 4
cmp byte [esp + 0x16], 0
je 0x487e5a
cmp dword [esp + 0x34], 0
jne 0x487e5a
cmp byte [esp + 0x17], 0
jne 0x487ce0
movups xmm0, xmmword [esp + 0x4c]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x4c3590]
movups xmmword [esp + 0x20], xmm0
nop dword [eax]
nop word [eax + eax]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x487d76
movss xmm0, dword [esp + 0x20]
lea eax, [esp + 0x28]
movss xmm1, dword [esp + 0x24]
lea edx, [esp + 0x24]
movss xmm2, dword [esp + 0x28]
lea ecx, [esp + 0x20]
push eax
movss dword [edi + 0x5c3c], xmm0
movss dword [edi + 0x5c40], xmm1
call fcn.00404de0
movss xmm0, dword [esp + 0x24]
lea ecx, [esp + 0x7c]
mov eax, dword [edi + 0x5c34]
add esp, 4
movss xmm6, dword [esp + 0x24]
movss xmm7, dword [esp + 0x28]
mov dword [edi + 0x5c38], eax
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x7c], xmm6
movss dword [esp + 0x80], xmm7
mov dword [esp + 0x84], 0
call fcn.00404c70
mov dword [edi + 0x5c44], eax
jmp 0x487d82
movss xmm7, dword [esp + 0x28]
movss xmm6, dword [esp + 0x24]
cmp dword [esp + 0xa8], 0x10100000
jne 0x487e30
comiss xmm7, xmm6
movss xmm0, dword [esp + 0x20]
movaps xmm2, xmm6
movaps xmm3, xmm0
jbe 0x487db4
movss xmm4, dword [0x4c2cec]
movaps xmm2, xmm7
movaps xmm7, xmm6
jmp 0x487db7
xorps xmm4, xmm4
comiss xmm2, xmm0
jbe 0x487dd1
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x4c2cd8]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm2
movaps xmm6, xmm3
minss xmm0, xmm7
subss xmm2, xmm7
movaps xmm7, xmm3
movss dword [esp + 0x28], xmm7
subss xmm6, xmm0
movaps xmm0, xmm6
mulss xmm0, dword [0x4c2bcc]
addss xmm0, dword [0x4c2a3c]
divss xmm2, xmm0
addss xmm2, xmm4
cvtps2pd xmm0, xmm2
andps xmm0, xmmword [0x4c35c0]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x20], xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x4c2a3c]
divss xmm6, xmm0
movss dword [esp + 0x24], xmm6
cmp byte [esp + 0x44], 0
mov eax, dword [esp + 0x30]
movss xmm0, dword [esp + 0x20]
movss dword [eax], xmm0
movss dword [eax + 4], xmm6
movss dword [eax + 8], xmm7
je 0x487e5a
movss xmm0, dword [esp + 0x2c]
movss dword [eax + 0xc], xmm0
cmp dword [esp + 0xac], 0
jne 0x487e6e
mov dword [edi + 0x5c34], 0
mov eax, dword [0x4c9b64]
mov esi, dword [eax + 0x3f88]
cmp dword [esi + 0xec], 1
jg 0x487e9a
push 0x1f24
push str.....imgui.cpp
push str.window__IDStack.Size___1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
cmp dword [esi + 0xec], 0
jg 0x487ebb
push 0x799
push 0x4a02f8
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
dec dword [esi + 0xec]
call fcn.00417ad0
test byte [edi + 0x48d8], 1
je 0x487f96
test byte [edi + 0x48d4], 0x80
jne 0x487f96
test dword [ebp + 8], 0x200
jne 0x487f96
call fcn.0041ea40
test al, al
je 0x487f96
xor edx, edx
mov byte [esp + 0x17], 0
mov ecx, str._COL3F
call fcn.0041eb50
mov esi, dword [esp + 0x30]
test eax, eax
je 0x487f2d
mov eax, dword [eax]
mov byte [esp + 0x17], 1
mov byte [esp + 0x16], 1
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
xor edx, edx
mov ecx, str._COL4F
call fcn.0041eb50
test eax, eax
je 0x487f60
xor ecx, ecx
cmp byte [esp + 0x44], cl
setne cl
lea ecx, [ecx*4 + 0xc]
push ecx
push dword [eax]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0x16], 1
jmp 0x487f67
cmp byte [esp + 0x17], 0
je 0x487f91
test dword [ebp + 8], 0x10000000
je 0x487f91
movss xmm2, dword [esi + 8]
lea eax, [esi + 8]
movss xmm1, dword [esi + 4]
mov ecx, esi
movss xmm0, dword [esi]
push eax
lea eax, [esi + 4]
mov edx, eax
call fcn.00404d20
add esp, 4
call fcn.0041ef00
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x487fb6
mov eax, dword [edi + 0x3fd8]
test eax, eax
je 0x487fb6
cmp dword [edi + 0x3ff4], ecx
jne 0x487fb6
mov dword [edi + 0x48d0], eax
mov al, byte [esp + 0x16]
test al, al
je 0x487fd1
mov ecx, dword [edi + 0x48d0]
test ecx, ecx
je 0x487fd1
call fcn.00409540
mov al, byte [esp + 0x16]
pop edi
pop esi
mov esp, ebp
pop ebp
ret