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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x148
mov dword [esp + 0x100], ecx
mov ecx, dword [0x4c9b64]
push esi
push edi
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 0x3f88]
mov dword [esp + 0x104], ecx
mov byte [eax + 0xb0], 1
mov eax, dword [ecx + 0x3f88]
mov dword [esp + 0x80], eax
cmp byte [eax + 0xb3], 0
je 0x4882e1
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x48b0], 1
mov eax, dword [eax + 0x26c]
mov edi, dword [ecx + 0x3f88]
mov dword [esp + 0x4c], eax
je 0x488304
movss xmm1, dword [ecx + 0x48b8]
jmp 0x48830c
movss xmm1, dword [edi + 0x1a8]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x48835f
mov esi, edi
cmp dword [esi + 0x198], 0
jne 0x48832d
cmp dword [ecx + 0x4c94], 0
mov edx, 0x230
je 0x488332
mov edx, 0x200
mov eax, dword [esi + edx]
mov dword [esp + 0x24], eax
movss xmm0, dword [esp + 0x24]
subss xmm0, dword [edi + 0xf8]
mov eax, dword [esi + edx + 4]
mov dword [esp + 0x28], eax
addss xmm0, xmm1
movss xmm1, dword [0x4c2afc]
maxss xmm1, xmm0
mov edx, dword [ecx + 0x48b4]
mov eax, dword [ecx + 0x48a8]
shr edx, 7
shr eax, 7
push ecx
push dword [esp + 0x10c]
or dl, al
mov dword [ecx + 0x48b0], 0
and edx, 0xffffff01
mov dword [ecx + 0x48b4], 0
mov ecx, edi
mov dword [esp + 0x78], edx
cvttss2si esi, xmm1
call fcn.00408ea0
mov dword [esp + 0x114], eax
lea ecx, [edi + 0xec]
lea eax, [esp + 0x114]
push eax
call fcn.00429d70
mov edi, dword [esp + 0x104]
mov eax, dword [edi + 0x5c34]
mov dword [esp + 0x120], eax
test eax, eax
jne 0x48841b
mov eax, dword [esp + 0x80]
cmp dword [eax + 0xec], 0
jg 0x488405
push 0x78c
push 0x4a02f8
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esp + 0x8c]
add esp, 0xc
mov ecx, dword [eax + 0xec]
mov eax, dword [eax + 0xf4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x5c34], eax
call fcn.00417940
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
mov eax, ecx
and eax, 0x100
cmovne edx, ecx
mov dword [esp + 0xc], edx
test dl, 8
jne 0x488448
mov ecx, dword [esp + 0x14]
call fcn.0048bb80
mov edx, dword [esp + 0xc]
mov ecx, 0xa900000
test edx, 0x6000000
jne 0x488474
mov eax, dword [edi + 0x5c30]
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or edx, ecx
mov ecx, 0xa900000
mov dword [esp + 0xc], edx
test edx, 0x18000000
jne 0x488496
mov eax, dword [edi + 0x5c30]
test eax, 0x18000000
cmovne ecx, eax
and ecx, 0x18000000
or edx, ecx
mov dword [esp + 0xc], edx
mov ecx, edx
and ecx, 0x6000000
je 0x4884a7
lea eax, [ecx - 1]
test ecx, eax
je 0x4884c3
push 0x1525
push 0x4bfd1c
push str.ImIsPowerOfTwo_flags__ImGuiColorEditFlags_PickerMask__
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [esp + 0x18]
add esp, 0xc
mov ecx, edx
and ecx, 0x18000000
je 0x4884d4
lea eax, [ecx - 1]
test ecx, eax
je 0x4884f0
push 0x1526
push 0x4bfd1c
push str.ImIsPowerOfTwo_flags__ImGuiColorEditFlags_InputMask__
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [esp + 0x18]
add esp, 0xc
test dl, 8
jne 0x488506
mov eax, dword [edi + 0x5c30]
and eax, 0x10000
or edx, eax
mov dword [esp + 0xc], edx
mov eax, edx
movss xmm3, dword [edi + 0x38fc]
and eax, 2
movaps xmm0, xmm3
mov dword [esp + 0xa8], eax
neg eax
sbb ecx, ecx
mov eax, dword [esp + 0x80]
and edx, 0x10002
mov dword [esp + 0xfc], edx
mov edx, dword [eax + 0xf8]
mov eax, dword [eax + 0xfc]
mov dword [esp + 0x118], eax
mov dword [esp + 0x54], eax
mov eax, dword [0x4c9b64]
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0xc0], edx
movss xmm2, dword [eax + 0x38e8]
addss xmm2, xmm2
addss xmm2, dword [eax + 0x3cf4]
xor eax, eax
cmp dword [esp + 0xfc], 0x10000
sete al
inc eax
addss xmm0, xmm2
movss dword [esp + 0x64], xmm2
movd xmm1, eax
lea eax, [ecx*4 + 0x10]
cvtdq2ps xmm1, xmm1
push eax
mov dword [esp + 0x118], eax
lea eax, [esp + 0x144]
push dword [esp + 0x18]
mulss xmm1, xmm0
push eax
movd xmm0, esi
cvtdq2ps xmm0, xmm0
subss xmm0, xmm1
movaps xmm1, xmm2
maxss xmm1, xmm0
movss xmm0, dword [esp + 0x5c]
addss xmm0, xmm1
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x78], xmm0
addss xmm0, xmm3
movss dword [esp + 0xfc], xmm0
addss xmm0, xmm2
addss xmm3, xmm0
movss dword [esp + 0xc8], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x4c2a90]
movss dword [esp + 0x8c], xmm3
cvttss2si esi, xmm0
mov dword [esp + 0xf8], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm2, dword [esp + 0x44]
add esp, 0xc
movaps xmm4, xmm2
movaps xmm1, xmm2
mulss xmm4, dword [0x4c2ab4]
mulss xmm1, dword [0x4c2a78]
movaps xmm0, xmm4
movss dword [esp + 0x84], xmm4
addss xmm0, dword [esp + 0x54]
movss dword [esp + 0x60], xmm1
movaps xmm3, xmm4
subss xmm3, xmm1
movaps xmm1, xmm2
addss xmm1, dword [esp + 0x64]
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0x94], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x4c2a68]
mulss xmm1, dword [0x4c2ab4]
cvttss2si eax, xmm0
addss xmm1, dword [esp + 0x50]
movss dword [esp + 0xcc], xmm3
movd xmm0, eax
movss dword [esp + 0xa4], xmm1
movss dword [esp + 0x90], xmm1
mov ecx, dword [esp + 0x14]
movaps xmm1, xmm3
movss xmm3, dword [ecx + 4]
lea eax, [ecx + 4]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xe0], eax
lea eax, [ecx + 8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0xb4], 0
movss xmm6, dword [0x4c2bcc]
subss xmm1, xmm0
movss dword [esp + 0x20], xmm3
movss dword [esp + 0xf4], xmm6
movaps xmm0, xmm1
movss dword [esp + 0xb0], xmm1
mulss xmm0, dword [0x4c2cdc]
movaps xmm2, xmm1
mulss xmm2, dword [0x4c2ce8]
movss dword [esp + 0xc8], xmm0
movss dword [esp + 0x24], xmm0
movss dword [esp + 0xd0], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x4c2ae4]
movss xmm1, dword [eax]
mov eax, dword [esp + 0xc]
movaps xmm5, xmm1
movss dword [esp + 0x68], xmm0
mov edx, eax
movss dword [esp + 0xd4], xmm0
and edx, 0x8000000
movss xmm0, dword [ecx]
movss dword [esp + 0xb8], xmm2
movaps xmm7, xmm0
movss dword [esp + 0x28], xmm2
movaps xmm2, xmm3
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x10c], xmm7
movss dword [esp + 0x100], xmm7
movss dword [esp + 0xe4], xmm2
movss dword [esp + 0xf8], xmm2
movss dword [esp + 0xe8], xmm5
movss dword [esp + 0x110], xmm5
mov dword [esp + 0x58], edx
je 0x48889c
movaps xmm0, xmm2
movaps xmm4, xmm7
comiss xmm1, xmm0
movss dword [esp + 0x48], xmm4
xorps xmm3, xmm3
jbe 0x4887eb
movss xmm3, dword [0x4c2cec]
movaps xmm2, xmm1
movaps xmm5, xmm0
comiss xmm2, xmm7
jbe 0x48880b
movss xmm0, dword [0x4c2cd8]
movaps xmm4, xmm2
subss xmm0, xmm3
movss dword [esp + 0x48], xmm4
movaps xmm2, xmm7
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x34], xmm4
minss xmm0, xmm5
movaps xmm1, xmm4
subss xmm2, xmm5
movss xmm5, dword [0x4c2a3c]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x24]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x44]
movaps xmm0, xmm1
mulss xmm0, xmm6
addss xmm0, xmm5
divss xmm2, xmm0
addss xmm2, xmm3
cvtps2pd xmm0, xmm2
andps xmm0, xmmword [0x4c35c0]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm4
addss xmm0, xmm5
divss xmm1, xmm0
movss dword [esp + 0x28], xmm1
call fcn.00486f60
movss xmm0, dword [esp + 0x44]
add esp, 8
mov eax, dword [0x4c9b64]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x20]
mov dword [esp + 0x34], eax
movss dword [esp + 0x20], xmm0
jmp 0x488901
test eax, 0x10000000
je 0x4888fd
lea eax, [esp + 0x110]
movaps xmm2, xmm1
push eax
lea edx, [esp + 0xfc]
movaps xmm1, xmm3
lea ecx, [esp + 0x104]
call fcn.00404de0
movss xmm0, dword [esp + 0x104]
add esp, 4
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [esp + 0xf8]
movss dword [esp + 0xe4], xmm0
movss xmm0, dword [esp + 0x110]
movss dword [esp + 0xe8], xmm0
mov eax, dword [esp + 0x34]
mov edx, dword [eax + 0x48a8]
add eax, 0x49b8
mov byte [esp + 0xb], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x11], 0
cmp dword [eax], 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x40], eax
jg 0x488948
push 0x78c
push 0x4a02f8
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
cmp edx, dword [eax + ecx*4 - 4]
je 0x48896f
push 0x1c8d
push str.....imgui.cpp
push str.item_flags__g.ItemFlagsStack.back__
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [esp + 0x34]
or edx, 8
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x1c], edx
mov dword [eax + 0x48a8], edx
lea eax, [esp + 0x1c]
push eax
call fcn.00429d70
mov eax, dword [esp + 0xc]
mov ecx, eax
and ecx, 0x4000000
mov dword [esp + 0xac], ecx
je 0x488f03
movss xmm1, dword [esp + 0x38]
lea edx, [esp + 0x88]
movss xmm0, dword [edi + 0x38fc]
mov ecx, 0x4c1750
addss xmm0, xmm1
movss dword [esp + 0x8c], xmm1
push 0
addss xmm0, dword [esp + 0x68]
movss dword [esp + 0x8c], xmm0
call fcn.0047a360
mov eax, dword [0x4c9b64]
add esp, 4
mov ecx, dword [eax + 0x3fd8]
test ecx, ecx
je 0x488e0b
cmp ecx, dword [eax + 0x48d0]
sete al
test al, al
je 0x488e0b
cmp byte [esp + 0x70], 0
jne 0x488e0b
movss xmm0, dword [edi + 0x37d4]
subss xmm0, dword [esp + 0xa0]
movss xmm1, dword [edi + 0x37d0]
movss xmm2, dword [esp + 0xa4]
movss xmm3, dword [edi + 0xe00]
subss xmm1, xmm2
movss xmm4, dword [edi + 0xe04]
subss xmm3, xmm2
subss xmm4, dword [esp + 0xa0]
movaps xmm2, xmm0
movss dword [esp + 0x70], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
movss dword [esp + 0x1c], xmm1
mulss xmm0, xmm1
movss xmm1, dword [0x4c2afc]
movss dword [esp + 0x3c], xmm3
addss xmm2, xmm0
movss dword [esp + 0x88], xmm4
movss xmm0, dword [esp + 0xcc]
subss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x488b1b
movss xmm0, dword [esp + 0x84]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x488b1b
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x40], xmm0
fld qword [esp + 0x40]
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x40], xmm0
fld qword [esp + 0x40]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
fstp qword [esp + 0x40]
movsd xmm1, qword [esp + 0x40]
xorps xmm0, xmm0
cvtpd2ps xmm1, xmm1
divss xmm1, dword [0x4c2ba0]
mulss xmm1, dword [0x4c2ab4]
comiss xmm0, xmm1
movss dword [esp + 0x18], xmm1
jbe 0x488b13
addss xmm1, dword [0x4c2afc]
movss dword [esp + 0x18], xmm1
mov dl, 1
mov byte [esp + 0xb], dl
jmp 0x488b25
mov dl, byte [esp + 0xb]
movss xmm1, dword [esp + 0x18]
movaps xmm0, xmm1
mov byte [esp + 0x12], dl
mulss xmm0, dword [0x4c2cf8]
mulss xmm0, dword [0x4c2ba0]
movss dword [esp + 0x40], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x40]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm4, dword [esp + 0x1c]
xorps xmm7, xmm7
movss xmm1, dword [esp + 0x70]
movaps xmm6, xmm4
movss xmm3, dword [esp + 0x34]
movss xmm5, dword [esp + 0xc8]
movss xmm2, dword [esp + 0xb8]
subss xmm2, dword [esp + 0x68]
cvtsd2ss xmm7, xmm0
movaps xmm0, xmm1
mulss xmm6, xmm3
mulss xmm0, xmm7
mulss xmm1, xmm3
subss xmm6, xmm0
mulss xmm4, xmm7
addss xmm4, xmm1
movaps xmm1, xmm5
movaps xmm0, xmm6
subss xmm1, xmm5
subss xmm0, xmm5
xorps xmm5, xmm5
mulss xmm2, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x68]
mulss xmm1, xmm0
movaps xmm0, xmm5
subss xmm0, dword [esp + 0xb8]
subss xmm2, xmm1
movaps xmm1, xmm4
subss xmm1, dword [esp + 0xb8]
comiss xmm5, xmm2
movaps xmm2, xmm6
subss xmm2, dword [esp + 0xc8]
seta cl
mulss xmm2, xmm0
movss xmm0, dword [esp + 0xb0]
subss xmm0, dword [esp + 0xc8]
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp al, cl
jne 0x488e03
movss xmm1, dword [esp + 0x68]
subss xmm4, xmm5
movss xmm0, dword [esp + 0xc8]
subss xmm1, xmm5
subss xmm0, dword [esp + 0xb0]
subss xmm6, dword [esp + 0xb0]
movss dword [esp + 0x40], xmm1
mulss xmm4, xmm0
mulss xmm6, xmm1
movss dword [esp + 0x1c], xmm0
subss xmm6, xmm4
comiss xmm5, xmm6
seta al
cmp cl, al
jne 0x488e03
movss xmm4, dword [esp + 0x88]
lea eax, [esp + 0x70]
movaps xmm1, xmm3
lea edx, [esp + 0x24]
mulss xmm1, dword [esp + 0x3c]
lea ecx, [esp + 0xb0]
push eax
movaps xmm0, xmm7
mulss xmm3, xmm4
lea eax, [esp + 0xd4]
mulss xmm7, dword [esp + 0x40]
push eax
mulss xmm0, xmm4
addss xmm3, xmm7
subss xmm1, xmm0
movss dword [esp + 0x3c], xmm3
movss dword [esp + 0x7c], xmm3
movss dword [esp + 0x90], xmm1
movss dword [esp + 0x78], xmm1
call fcn.00403e90
add esp, 8
test al, al
jne 0x488d26
lea eax, [esp + 0x70]
mov edx, ecx
push eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x94]
call fcn.00403f60
mov ecx, eax
add esp, 0xc
mov eax, dword [ecx]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 4]
movss xmm6, dword [esp + 0x70]
mov dword [esp + 0x74], eax
movss xmm5, dword [esp + 0x74]
jmp 0x488d35
movss xmm5, dword [esp + 0x34]
movss xmm6, dword [esp + 0x88]
movss xmm3, dword [esp + 0xb8]
xorps xmm0, xmm0
movss xmm1, dword [esp + 0xb0]
subss xmm3, xmm0
movss xmm4, dword [esp + 0xc8]
subss xmm5, xmm0
movss xmm7, dword [esp + 0x1c]
subss xmm4, xmm1
movss xmm2, dword [esp + 0x40]
subss xmm6, xmm1
movaps xmm0, xmm3
mulss xmm0, xmm7
mulss xmm2, xmm4
movaps xmm1, xmm6
mulss xmm1, dword [esp + 0x40]
subss xmm2, xmm0
mulss xmm6, xmm3
movaps xmm0, xmm5
movss xmm3, dword [0x4c2a50]
mulss xmm0, xmm7
mulss xmm5, xmm4
subss xmm1, xmm0
movss dword [esp + 0x20], xmm3
movss xmm0, dword [0x4c2afc]
subss xmm5, xmm6
movaps xmm7, xmm0
divss xmm1, xmm2
divss xmm5, xmm2
subss xmm7, xmm1
comiss xmm3, xmm7
movaps xmm1, xmm7
subss xmm1, xmm5
jbe 0x488dd4
movaps xmm2, xmm3
jmp 0x488ddb
movaps xmm2, xmm0
minss xmm2, xmm7
divss xmm1, xmm2
movss dword [esp + 0x48], xmm2
comiss xmm3, xmm1
ja 0x488df7
movaps xmm3, xmm0
minss xmm3, xmm1
movss dword [esp + 0x20], xmm3
mov byte [esp + 0x11], 1
mov byte [esp + 0xb], 1
jmp 0x488e0b
mov al, byte [esp + 0xb]
mov byte [esp + 0x12], al
test byte [esp + 0xc], 8
jne 0x488e1c
mov ecx, str.context
call fcn.00419530
movss xmm4, dword [esp + 0x38]
movss xmm3, dword [esp + 0x54]
cmp dword [esp + 0xfc], 0x10000
jne 0x48912d
mov ecx, dword [0x4c9b64]
lea edx, [esp + 0x24]
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x64]
mov eax, dword [ecx + 0x3f88]
movss dword [esp + 0x28], xmm3
push 0
mov byte [eax + 0xb0], 1
mov ecx, dword [ecx + 0x3f88]
mov eax, dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
mov dword [ecx + 0xf8], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0xfc], eax
mov byte [ecx + 0x139], 1
mov ecx, str.alpha
movss dword [esp + 0x2c], xmm4
call fcn.0047a360
mov eax, dword [0x4c9b64]
add esp, 4
mov ecx, dword [eax + 0x3fd8]
test ecx, ecx
je 0x48912d
cmp ecx, dword [eax + 0x48d0]
sete al
test al, al
je 0x48912d
movss xmm0, dword [esp + 0x38]
movss xmm2, dword [edi + 0xe04]
movss xmm1, dword [0x4c2afc]
subss xmm2, dword [esp + 0x54]
subss xmm0, xmm1
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x489111
movaps xmm3, xmm0
jmp 0x489118
test eax, 0x2000000
je 0x488e1c
movss xmm0, dword [esp + 0x38]
lea edx, [esp + 0x24]
push 0
mov ecx, 0x4c1754
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x2c], xmm0
call fcn.0047a360
mov eax, dword [0x4c9b64]
add esp, 4
mov ecx, dword [eax + 0x3fd8]
test ecx, ecx
je 0x488fec
cmp ecx, dword [eax + 0x48d0]
sete al
test al, al
je 0x488fec
cmp byte [esp + 0x70], 0
jne 0x488fec
movss xmm3, dword [esp + 0x38]
xorps xmm0, xmm0
movss xmm1, dword [0x4c2afc]
movss xmm2, dword [edi + 0xe00]
subss xmm3, xmm1
subss xmm2, dword [esp + 0x50]
divss xmm2, xmm3
comiss xmm0, xmm2
jbe 0x488f96
movss dword [esp + 0x20], xmm0
jmp 0x488fa3
movaps xmm4, xmm1
minss xmm4, xmm2
movss dword [esp + 0x20], xmm4
movss xmm2, dword [edi + 0xe04]
subss xmm2, dword [esp + 0x54]
divss xmm2, xmm3
comiss xmm0, xmm2
ja 0x488fc1
movaps xmm0, xmm1
minss xmm0, xmm2
mov ecx, dword [esp + 0x14]
subss xmm1, xmm0
lea edx, [esp + 0x3c]
movss dword [esp + 0x48], xmm1
call fcn.00486e80
movss xmm0, dword [esp + 0x3c]
mov dl, 1
mov byte [esp + 0xb], dl
movss dword [esp + 0x18], xmm0
jmp 0x488ff0
mov dl, byte [esp + 0xb]
test byte [esp + 0xc], 8
mov byte [esp + 0x13], dl
jne 0x489005
mov ecx, str.context
call fcn.00419530
mov ecx, dword [0x4c9b64]
lea edx, [esp + 0x24]
movss xmm0, dword [esp + 0xf0]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x54]
mov eax, dword [ecx + 0x3f88]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x64]
push 0
mov byte [eax + 0xb0], 1
mov ecx, dword [ecx + 0x3f88]
mov eax, dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x3c]
mov dword [ecx + 0xf8], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0xfc], eax
mov byte [ecx + 0x139], 1
mov ecx, 0x4c1758
movss dword [esp + 0x2c], xmm0
call fcn.0047a360
mov eax, dword [0x4c9b64]
add esp, 4
mov ecx, dword [eax + 0x3fd8]
test ecx, ecx
je 0x489099
cmp ecx, dword [eax + 0x48d0]
sete al
jmp 0x48909b
xor al, al
mov cl, byte [esp + 0xb]
mov byte [esp + 0x11], cl
test al, al
je 0x488e1c
cmp byte [esp + 0x70], 0
movss xmm3, dword [esp + 0x54]
movss xmm4, dword [esp + 0x38]
mov byte [esp + 0x11], cl
jne 0x488e28
movss xmm2, dword [edi + 0xe04]
movaps xmm0, xmm4
movss xmm1, dword [0x4c2afc]
subss xmm2, xmm3
subss xmm0, xmm1
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x4890f4
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0x13]
movss dword [esp + 0x18], xmm0
mov byte [esp + 0x12], 1
mov byte [esp + 0xb], 1
mov byte [esp + 0x11], al
jmp 0x488e28
movaps xmm3, xmm1
minss xmm3, xmm2
mov eax, dword [esp + 0x14]
movaps xmm0, xmm1
subss xmm0, xmm3
mov byte [esp + 0xb], 1
movss dword [eax + 0xc], xmm0
call fcn.00412c50
mov eax, dword [esp + 0xc]
mov edx, eax
and edx, 0x100
mov dword [esp + 0x1c], edx
jne 0x489161
movss xmm1, dword [edi + 0x38fc]
xorps xmm0, xmm0
call fcn.00417440
call fcn.00417940
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
and eax, 0x80
mov dword [esp + 0x70], eax
jne 0x4891ce
mov ecx, dword [esp + 0x108]
mov eax, ecx
cmp ecx, 0xffffffff
jae 0x4891ce
nop word [eax + eax]
mov cl, byte [eax]
test cl, cl
je 0x489196
cmp cl, 0x23
jne 0x489190
cmp byte [eax + 1], cl
je 0x489196
inc eax
cmp eax, 0xffffffff
jb 0x489180
mov dword [esp + 0x40], eax
cmp dword [esp + 0x108], eax
je 0x4891ce
test edx, edx
je 0x4891bb
movss xmm1, dword [edi + 0x38fc]
xorps xmm0, xmm0
call fcn.00417440
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x108]
mov edx, eax
push 0
call fcn.00478a70
add esp, 4
cmp dword [esp + 0x1c], 0
jne 0x4893e6
mov eax, dword [0x4c9b64]
mov dword [esp + 0x88], eax
mov edx, dword [eax + 0x48a8]
add eax, 0x49b8
mov dword [esp + 0x40], edx
mov dword [esp + 0x1c], eax
cmp dword [eax], 0
jg 0x48921d
push 0x78c
push 0x4a02f8
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
cmp edx, dword [eax + ecx*4 - 4]
je 0x489244
push 0x1c8d
push str.....imgui.cpp
push str.item_flags__g.ItemFlagsStack.back__
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov eax, dword [esp + 0x88]
or edx, 0x10
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], edx
mov dword [eax + 0x48a8], edx
lea eax, [esp + 0x40]
push eax
call fcn.00429d70
cmp dword [esp + 0xa8], 0
mov eax, dword [esp + 0x14]
je 0x48927e
movss xmm1, dword [0x4c2afc]
jmp 0x489283
movss xmm1, dword [eax + 0xc]
cmp dword [esp + 0x70], 0
movss xmm0, dword [eax]
mov eax, dword [esp + 0xe0]
movss dword [esp + 0xd0], xmm0
movss dword [esp + 0xdc], xmm1
movss xmm0, dword [eax]
mov eax, dword [esp + 0x5c]
movss dword [esp + 0xd4], xmm0
movss xmm0, dword [eax]
movss dword [esp + 0xd8], xmm0
je 0x4892d2
push str.Current
call fcn.00479080
add esp, 4
movss xmm1, dword [esp + 0x64]
lea ecx, [esp + 0x24]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0xd0]
movaps xmm0, xmm1
and eax, 0x180e0040
mulss xmm0, dword [0x4c2b9c]
push ecx
push eax
mov ecx, str.current
mov dword [esp + 0x24], eax
movss dword [esp + 0x90], xmm0
movss dword [esp + 0x2c], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x30], xmm0
call fcn.0048ac80
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x4893dc
push str.Original
call fcn.00479080
mov eax, dword [ebp + 0xc]
add esp, 4
cmp dword [esp + 0xa8], 0
je 0x48935a
movss xmm1, dword [0x4c2afc]
jmp 0x48935f
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x70]
movss dword [esp + 0x70], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x24]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x88]
push eax
push dword [esp + 0x20]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x84], xmm1
movss dword [esp + 0x30], xmm0
call fcn.0048ac80
add esp, 8
test al, al
je 0x4893dc
push dword [esp + 0x114]
push dword [ebp + 0xc]
push dword [esp + 0x1c]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xb], 1
call fcn.00412c50
call fcn.00417ad0
cmp byte [esp + 0x12], 0
jne 0x4893f8
cmp byte [esp + 0x11], 0
je 0x489498
cmp dword [esp + 0x58], 0
je 0x4894c1
push dword [esp + 0x5c]
mov edx, dword [esp + 0xe4]
mov ecx, dword [esp + 0x18]
movss xmm2, dword [esp + 0x4c]
movss xmm1, dword [esp + 0x24]
movss xmm0, dword [esp + 0x1c]
call fcn.00404de0
movss xmm0, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
mov eax, dword [edi + 0x5c34]
add esp, 4
mov dword [edi + 0x5c38], eax
mov eax, dword [esp + 0x14]
movss dword [edi + 0x5c3c], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [edi + 0x5c40], xmm0
movss xmm0, dword [eax]
mov eax, dword [esp + 0xe0]
movss dword [esp + 0x24], xmm0
mov dword [esp + 0x30], 0
movss xmm0, dword [eax]
mov eax, dword [esp + 0x5c]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax]
movss dword [esp + 0x2c], xmm0
call fcn.00404c70
mov dword [edi + 0x5c44], eax
mov eax, dword [esp + 0xc]
mov byte [esp + 0x13], 0
test al, 0x20
jne 0x489870
cmp dword [esp + 0xfc], 0x10000
jne 0x4894f2
movss xmm0, dword [esp + 0x80]
jmp 0x4894fb
mov eax, dword [esp + 0xc]
test eax, 0x10000000
je 0x48949c
mov ecx, dword [esp + 0x14]
movss xmm0, dword [esp + 0x18]
movss dword [ecx], xmm0
movss xmm0, dword [esp + 0x20]
movss dword [ecx + 4], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [ecx + 8], xmm0
jmp 0x48949c
movss xmm0, dword [esp + 0xf0]
mov eax, dword [0x4c9b64]
addss xmm0, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 0x3f88]
mov dword [esp + 0xa8], eax
subss xmm0, dword [esp + 0x50]
lea ecx, [eax + 0x1a8]
mov dword [esp + 0x40], ecx
push ecx
lea ecx, [eax + 0x1b0]
movss dword [esp + 0x8c], xmm0
call fcn.00429d70
movss xmm0, dword [esp + 0x88]
ucomiss xmm0, dword [0x4c2a2c]
lahf
test ah, 0x44
jp 0x489561
mov eax, dword [esp + 0xa8]
movss xmm0, dword [eax + 0x248]
mov eax, dword [esp + 0x40]
movss dword [eax], xmm0
mov eax, dword [esp + 0x1c]
and dword [eax + 0x48b0], 0xfffffffe
mov eax, dword [esp + 0xc]
mov ecx, eax
and ecx, 0x198e005a
or ecx, 4
mov dword [esp + 0x5c], ecx
test eax, 0x100000
jne 0x489595
test eax, 0x700000
jne 0x4895da
mov edx, dword [esp + 0x14]
or ecx, 0x100000
push ecx
mov ecx, str.rgb
call fcn.00487090
add esp, 4
test al, al
je 0x4895d2
cmp dword [edi + 0x3fd8], 0
je 0x4895c8
cmp byte [edi + 0x3fe5], 0
mov byte [esp + 0x13], 1
je 0x4895cd
mov byte [esp + 0x13], 0
mov byte [esp + 0xb], 1
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0xc]
test eax, 0x200000
jne 0x4895e8
test eax, 0x700000
jne 0x489608
mov edx, dword [esp + 0x14]
or ecx, 0x200000
push ecx
mov ecx, str.hsv
call fcn.00487090
add esp, 4
or byte [esp + 0xb], al
mov eax, dword [esp + 0xc]
test eax, 0x400000
jne 0x489616
test eax, 0x700000
jne 0x489635
mov eax, dword [esp + 0x5c]
mov ecx, str.hex
mov edx, dword [esp + 0x14]
or eax, 0x400000
push eax
call fcn.00487090
add esp, 4
or byte [esp + 0xb], al
call fcn.004176d0
cmp byte [esp + 0x13], 0
xorps xmm2, xmm2
mov ecx, dword [esp + 0x14]
je 0x48973b
cmp dword [esp + 0x58], 0
je 0x48973b
movss xmm3, dword [ecx + 4]
lea edx, [ecx + 4]
movss xmm5, dword [ecx + 8]
lea eax, [ecx + 8]
comiss xmm5, xmm3
movss xmm4, dword [ecx]
movaps xmm6, xmm2
jbe 0x489684
movss xmm6, dword [0x4c2cec]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x4896a1
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x4c2cd8]
subss xmm0, xmm6
movaps xmm6, xmm0
movaps xmm0, xmm3
movaps xmm1, xmm4
minss xmm0, xmm5
subss xmm3, xmm5
subss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x4c2a3c]
movaps xmm7, xmm1
mulss xmm1, dword [0x4c2bcc]
divss xmm7, xmm0
addss xmm1, dword [0x4c2a3c]
divss xmm3, xmm1
addss xmm3, xmm6
cvtps2pd xmm0, xmm3
andps xmm0, xmmword [0x4c35c0]
cvtpd2ps xmm0, xmm0
comiss xmm2, xmm0
jb 0x48973b
movss xmm0, dword [esp + 0x18]
comiss xmm0, xmm2
jbe 0x48973b
comiss xmm2, xmm4
jb 0x489850
movss xmm1, dword [esp + 0x48]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
lea eax, [ecx + 8]
jnp 0x489850
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x20]
mulss xmm2, dword [0x4c2ab4]
push eax
call fcn.00404de0
mov ecx, dword [esp + 0x18]
add esp, 4
xorps xmm2, xmm2
mov eax, dword [esp + 0xc]
mov dl, byte [esp + 0xb]
test dl, dl
je 0x4898fd
cmp dword [esp + 0x58], 0
je 0x48987c
movss xmm0, dword [ecx]
movss xmm1, dword [ecx + 4]
movaps xmm4, xmm0
movss xmm6, dword [ecx + 8]
movaps xmm3, xmm1
comiss xmm6, xmm1
movss dword [esp + 0x10c], xmm0
movaps xmm5, xmm6
movss dword [esp + 0xe4], xmm1
movss dword [esp + 0xe8], xmm6
movss dword [esp + 0x48], xmm4
jbe 0x4897a1
movss xmm2, dword [0x4c2cec]
movaps xmm3, xmm6
movaps xmm5, xmm1
comiss xmm3, xmm0
jbe 0x4897c1
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x4c2cd8]
subss xmm0, xmm2
movss dword [esp + 0x48], xmm4
movaps xmm2, xmm0
movaps xmm0, xmm3
movss dword [esp + 0x34], xmm4
minss xmm0, xmm5
movaps xmm1, xmm4
subss xmm3, xmm5
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x24]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x44]
movaps xmm0, xmm1
mulss xmm0, dword [0x4c2bcc]
addss xmm0, dword [0x4c2a3c]
divss xmm3, xmm0
addss xmm3, xmm2
cvtps2pd xmm0, xmm3
andps xmm0, xmmword [0x4c35c0]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x4c2a3c]
divss xmm1, xmm0
movss dword [esp + 0x28], xmm1
call fcn.00486f60
movss xmm3, dword [esp + 0x44]
add esp, 8
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x18], xmm3
movss dword [esp + 0x20], xmm0
jmp 0x489903
comiss xmm2, xmm7
jb 0x48973b
movss xmm1, dword [esp + 0x20]
movaps xmm2, xmm4
mulss xmm1, dword [0x4c2ab4]
push eax
jmp 0x48972c
mov ecx, dword [esp + 0x14]
xorps xmm2, xmm2
jmp 0x48973f
test eax, 0x10000000
je 0x4898fd
movss xmm1, dword [ecx + 8]
lea eax, [esp + 0x110]
movss xmm3, dword [ecx + 4]
lea edx, [esp + 0xf8]
movss xmm0, dword [ecx]
movaps xmm2, xmm1
movss dword [esp + 0x48], xmm1
lea ecx, [esp + 0x100]
push eax
movaps xmm1, xmm3
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x24], xmm3
call fcn.00404de0
movss xmm0, dword [esp + 0x104]
add esp, 4
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [esp + 0xf8]
movss dword [esp + 0xe4], xmm0
movss xmm0, dword [esp + 0x110]
movss dword [esp + 0xe8], xmm0
movss xmm3, dword [esp + 0x18]
movss xmm2, dword [edi + 0x38a8]
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x489920
movaps xmm1, xmm0
movss xmm0, dword [0x4c2afc]
jmp 0x48992f
movss xmm0, dword [0x4c2afc]
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x4c2c74]
mov dword [esp + 0x24], 0x3f800000
movss dword [esp + 0x30], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x28], 0x3f800000
addss xmm1, dword [0x4c2ab4]
mov dword [esp + 0x2c], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x1c], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x3c], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x124], ecx
or eax, 0x808080
mov dword [esp + 0x13c], ecx
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x24]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x128], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x12c], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x130], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x134], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x28]
mov dword [esp + 0x138], eax
lea eax, [esp + 0x2c]
push eax
call fcn.00404de0
movss xmm3, dword [esp + 0x28]
xorps xmm0, xmm0
movss xmm2, dword [0x4c2afc]
add esp, 4
comiss xmm0, xmm3
jbe 0x489a13
movaps xmm1, xmm0
jmp 0x489a1a
movaps xmm1, xmm2
minss xmm1, xmm3
movss xmm3, dword [0x4c2c74]
movss xmm4, dword [0x4c2ab4]
movss xmm5, dword [esp + 0x28]
comiss xmm0, xmm5
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si ecx, xmm1
jbe 0x489a46
movaps xmm1, xmm0
jmp 0x489a4d
movaps xmm1, xmm2
minss xmm1, xmm5
movss xmm5, dword [esp + 0x2c]
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x489a6e
movaps xmm1, xmm0
jmp 0x489a75
movaps xmm1, xmm2
minss xmm1, xmm5
movss xmm5, dword [esp + 0x30]
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm5
jbe 0x489a96
movaps xmm1, xmm0
jmp 0x489a9d
movaps xmm1, xmm2
minss xmm1, xmm5
movss xmm5, dword [esp + 0x10c]
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si edx, xmm1
shl edx, 0x18
or edx, ecx
comiss xmm0, xmm5
mov dword [esp + 0x40], edx
jbe 0x489ac5
movaps xmm1, xmm0
jmp 0x489acc
movaps xmm1, xmm2
minss xmm1, xmm5
movss xmm5, dword [esp + 0xe4]
comiss xmm0, xmm5
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si ecx, xmm1
jbe 0x489aeb
movaps xmm1, xmm0
jmp 0x489af2
movaps xmm1, xmm2
minss xmm1, xmm5
movss xmm5, dword [esp + 0xe8]
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x489b16
movaps xmm1, xmm0
jmp 0x489b1d
movaps xmm1, xmm2
minss xmm1, xmm5
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x38a8]
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm1
ja 0x489b42
movaps xmm0, xmm2
minss xmm0, xmm1
mulss xmm0, xmm3
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
cmp dword [esp + 0xac], 0
mov dword [esp + 0x5c], eax
je 0x48a31f
movss xmm1, dword [esp + 0x84]
movaps xmm3, xmm4
movss xmm0, dword [esp + 0xcc]
mov eax, 0x2aaaaaab
divss xmm3, xmm1
mov esi, dword [esp + 0x4c]
addss xmm0, xmm1
cvttss2si ecx, xmm1
movaps xmm5, xmm0
movss dword [esp + 0xac], xmm3
imul ecx
mulss xmm5, xmm4
movss dword [esp + 0xe0], xmm0
mov ecx, 4
movss dword [esp + 0x88], xmm5
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
cmovle eax, ecx
xor edx, edx
mov dword [esp + 0xbc], eax
mov dword [esp + 0x58], edx
movd xmm1, edx
lea ecx, [esi + 0x18]
cvtdq2ps xmm1, xmm1
mov edi, dword [ecx]
push eax
push ecx
lea eax, [esp + 0x98]
mov ecx, esi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x4c2bcc]
divss xmm1, dword [0x4c2bcc]
addss xmm0, xmm0
movaps xmm2, xmm5
addss xmm1, xmm1
mulss xmm0, dword [0x4c2ba0]
mulss xmm1, dword [0x4c2ba0]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x8c], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0xb4], xmm1
call fcn.00463ff0
movss xmm0, dword [esp + 0x60]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x44]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.00462a70
movss xmm0, dword [esp + 0x84]
cvtps2pd xmm0, xmm0
mov dword [esi + 0x54], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
mulss xmm1, dword [esp + 0xcc]
addss xmm1, dword [esp + 0xa4]
movss dword [esp + 0xd0], xmm1
movss xmm1, dword [esp + 0x84]
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xcc]
addss xmm0, dword [esp + 0xa0]
movss dword [esp + 0xd4], xmm0
movss xmm0, dword [esp + 0xa8]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
mulss xmm1, dword [esp + 0xcc]
addss xmm1, dword [esp + 0xa4]
movss dword [esp + 0x24], xmm1
movss xmm1, dword [esp + 0xa8]
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
mov eax, dword [esp + 0x58]
mov edx, edi
cvtsd2ss xmm0, xmm0
mov ecx, esi
mulss xmm0, dword [esp + 0xcc]
addss xmm0, dword [esp + 0xa0]
movss dword [esp + 0x28], xmm0
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0xdc]
push dword [esp + 0xdc]
push dword [esp + eax*4 + 0x138]
push dword [esp + eax*4 + 0x138]
push dword [esi + 0x18]
call fcn.00466420
mov edx, dword [esp + 0x74]
add esp, 0x1c
inc edx
mov dword [esp + 0x58], edx
cmp edx, 6
movss xmm2, dword [0x4c2afc]
movss xmm3, dword [esp + 0xac]
movss xmm5, dword [esp + 0x88]
mov eax, dword [esp + 0xbc]
jl 0x489be3
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [0x4c2b78]
mulss xmm0, dword [0x4c2ba0]
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x18]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x12], 0
xorps xmm2, xmm2
movss xmm1, dword [esp + 0xe0]
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x84]
mulss xmm1, xmm2
mulss xmm0, dword [0x4c2ab4]
mulss xmm1, dword [0x4c2ab4]
addss xmm0, dword [esp + 0xa4]
movss dword [esp + 0xac], xmm2
addss xmm1, dword [esp + 0xa0]
movss xmm2, dword [esp + 0x60]
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0xc4], xmm1
je 0x489e57
mulss xmm2, dword [0x4c2ac0]
jmp 0x489e5f
mulss xmm2, dword [0x4c2ab8]
mov eax, dword [esi + 0x2c]
movaps xmm0, xmm2
addss xmm0, dword [0x4c2af8]
movss dword [esp + 0x60], xmm2
cvttss2si ecx, xmm0
cmp ecx, 0x3f
ja 0x489e89
movzx edi, byte [eax + ecx + 0x1bc]
jmp 0x489f1c
movss xmm1, dword [eax + 0x14]
minss xmm1, xmm2
movss xmm0, dword [0x4c2afc]
divss xmm1, xmm2
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x4c2ba0]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x98], xmm0
fld qword [esp + 0x98]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
movss xmm2, dword [esp + 0x68]
add esp, 8
fstp qword [esp + 0x90]
movsd xmm0, qword [esp + 0x90]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
mov edi, eax
and edi, 0xfffffffe
cmp edi, 4
jge 0x489f0e
mov edi, 4
jmp 0x489f1c
cmp edi, 0x200
mov ecx, 0x200
cmovg edi, ecx
push edi
push dword [esp + 0x44]
lea eax, [esp + 0xc8]
mov ecx, esi
push eax
call fcn.004656d0
movss xmm2, dword [esp + 0x60]
lea eax, [esp + 0xc0]
addss xmm2, dword [0x4c2afc]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
push dword [esp + 0x3c]
push eax
call fcn.00465610
movss xmm2, dword [esp + 0x60]
lea eax, [esp + 0xc0]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
push dword [esp + 0x44]
push eax
call fcn.00465610
movss xmm5, dword [esp + 0xac]
xorps xmm1, xmm1
movss xmm4, dword [esp + 0x84]
movaps xmm0, xmm5
mulss xmm0, xmm1
movaps xmm2, xmm4
mov eax, dword [0x4c9b64]
mulss xmm2, dword [esp + 0xb0]
movaps xmm3, xmm5
mulss xmm3, dword [esp + 0xb0]
mov ecx, dword [eax + 0x3cfc]
movss xmm6, dword [esp + 0xa4]
subss xmm2, xmm0
movss xmm7, dword [esp + 0xa0]
movaps xmm0, xmm4
mulss xmm0, xmm1
movaps xmm1, xmm4
mov eax, dword [eax + 0x3d00]
mulss xmm1, dword [esp + 0xb8]
mov dword [esp + 0xac], ecx
addss xmm2, xmm6
addss xmm3, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xb8]
movss dword [esp + 0xb0], xmm2
movaps xmm2, xmm4
addss xmm3, xmm7
movss dword [esp + 0xb4], xmm3
movss xmm3, dword [esp + 0xc8]
mulss xmm2, xmm3
subss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm3
addss xmm1, xmm0
movaps xmm0, xmm6
addss xmm0, xmm2
movss dword [esp + 0x88], xmm0
movss dword [esp + 0xc0], xmm0
movaps xmm0, xmm7
addss xmm0, xmm1
movaps xmm1, xmm4
mulss xmm4, dword [esp + 0x68]
mulss xmm1, xmm3
movss dword [esp + 0xbc], xmm0
movss dword [esp + 0xc4], xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x68]
mulss xmm5, xmm3
subss xmm1, xmm0
addss xmm4, xmm5
addss xmm6, xmm1
addss xmm7, xmm4
movss dword [esp + 0xa4], xmm6
movss dword [esp + 0x118], xmm6
movss dword [esp + 0xa0], xmm7
movss dword [esp + 0x11c], xmm7
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x28]
mov esi, dword [esp + 0xec]
add eax, 3
cmp eax, 0x10000
jb 0x48a0e9
test byte [edi + 0x24], 8
je 0x48a0e9
mov eax, dword [edi + 0x18]
mov ecx, edi
mov dword [edi + 0x74], eax
call fcn.004625b0
mov eax, dword [edi]
lea ecx, [edi + 0x18]
lea edx, [eax + eax*4]
mov eax, dword [edi + 8]
add dword [eax + edx*8 - 0xc], 3
mov edi, dword [ecx]
lea eax, [edi + 3]
push eax
call fcn.0046be40
mov edx, dword [esp + 0x4c]
lea ecx, [edi + edi*4]
mov edi, dword [edx + 0xc]
mov eax, dword [edx + 0x20]
lea eax, [eax + ecx*4]
lea ecx, [edx + 0xc]
mov dword [edx + 0x34], eax
lea eax, [edi + 3]
push eax
call fcn.0042aba0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0xac]
mov eax, dword [ecx + 0x14]
lea ecx, [eax + edi*2]
mov edi, dword [esp + 0x4c]
movzx eax, word [edi + 0x28]
mov dword [edi + 0x38], ecx
mov word [ecx], ax
mov ecx, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov eax, dword [esp + 0xb0]
mov dword [ecx], eax
mov eax, dword [esp + 0xb4]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x10], ecx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x38]
movzx eax, word [edi + 0x28]
mov word [ecx], ax
mov ecx, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov eax, dword [esp + 0xc0]
mov dword [ecx], eax
mov eax, dword [esp + 0xc4]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x10], ecx
mov ecx, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
movzx eax, word [edi + 0x28]
mov word [ecx], ax
mov ecx, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov eax, dword [esp + 0x118]
mov dword [ecx], eax
mov eax, dword [esp + 0x11c]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x10], ecx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
test dword [esp + 0x34], 0xff000000
je 0x48a25a
lea eax, [esp + 0xb0]
push eax
lea ecx, [edi + 0x54]
call fcn.0042a840
lea eax, [esp + 0xc0]
push eax
lea ecx, [edi + 0x54]
call fcn.0042a840
lea eax, [esp + 0x118]
push eax
lea ecx, [edi + 0x54]
call fcn.0042a840
push ecx
mov dword [esp], 0x3fc00000
mov ecx, edi
push 1
push dword [esp + 0x3c]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.00462a70
mov dword [edi + 0x54], 0
movss xmm2, dword [0x4c2afc]
xorps xmm0, xmm0
movaps xmm1, xmm2
subss xmm1, dword [esp + 0x48]
comiss xmm0, xmm1
jbe 0x48a278
movaps xmm4, xmm0
jmp 0x48a27f
movaps xmm4, xmm2
minss xmm4, xmm1
movss xmm1, dword [esp + 0x20]
comiss xmm0, xmm1
jbe 0x48a28f
movaps xmm3, xmm0
jmp 0x48a296
movaps xmm3, xmm2
minss xmm3, xmm1
movss xmm0, dword [esp + 0xb0]
subss xmm0, dword [esp + 0xa4]
movss xmm1, dword [esp + 0xb4]
subss xmm1, dword [esp + 0xa0]
mulss xmm0, xmm3
mulss xmm1, xmm3
addss xmm0, dword [esp + 0xa4]
movss xmm3, dword [esp + 0x88]
addss xmm1, dword [esp + 0xa0]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0xbc]
subss xmm0, xmm1
movss dword [esp + 0x24], xmm3
mov eax, dword [esp + 0x24]
mulss xmm0, xmm4
mov dword [esp + 0x70], eax
addss xmm0, xmm1
movss dword [esp + 0x28], xmm0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x74], eax
jmp 0x48a691
test dword [esp + 0xc], 0x2000000
je 0x48a685
mov eax, dword [esp + 0x3c]
movss xmm0, dword [esp + 0x6c]
mov ecx, dword [esp + 0x4c]
push eax
push edx
push edx
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0x60]
addss xmm0, dword [esp + 0x44]
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x64]
push eax
movss dword [esp + 0x80], xmm0
movss dword [esp + 0xac], xmm0
call fcn.00465490
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x90]
movss xmm0, dword [esp + 0x6c]
push ecx
push ecx
mov ecx, dword [esp + 0x54]
push 0
push 0
push eax
movss dword [esp + 0xa4], xmm0
lea eax, [esp + 0x64]
movss xmm0, dword [esp + 0x7c]
push eax
movss dword [esp + 0xac], xmm0
call fcn.00465490
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x28], xmm0
xorps xmm0, xmm0
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x120]
push dword [esp + 0xcc]
call fcn.00407760
movss xmm3, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm1, dword [0x4c2afc]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x48a40a
movaps xmm2, xmm0
jmp 0x48a411
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm6, dword [esp + 0x38]
movss xmm5, dword [esp + 0x50]
movss xmm3, dword [0x4c2ab4]
mulss xmm2, xmm6
movss xmm4, dword [0x4c2b78]
movss xmm7, dword [esp + 0x6c]
addss xmm2, xmm5
addss xmm5, xmm4
subss xmm7, xmm4
addss xmm2, xmm3
cvttss2si eax, xmm2
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm5, xmm2
jbe 0x48a45f
movss dword [esp + 0x70], xmm5
jmp 0x48a472
comiss xmm2, xmm7
jbe 0x48a46c
movss dword [esp + 0x70], xmm7
jmp 0x48a472
movss dword [esp + 0x70], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x48]
comiss xmm0, xmm2
jbe 0x48a485
movaps xmm1, xmm0
jmp 0x48a489
minss xmm1, xmm2
movss xmm5, dword [esp + 0x54]
mulss xmm1, xmm6
movss xmm0, dword [esp + 0x68]
subss xmm0, xmm4
addss xmm1, xmm5
addss xmm1, xmm3
cvttss2si eax, xmm1
movaps xmm1, xmm5
addss xmm1, xmm4
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x48a4c4
movss dword [esp + 0x74], xmm1
jmp 0x48a4d7
comiss xmm2, xmm0
jbe 0x48a4d1
movss dword [esp + 0x74], xmm0
jmp 0x48a4d7
movss dword [esp + 0x74], xmm2
movss xmm0, dword [esp + 0xbc]
movaps xmm1, xmm6
divss xmm1, dword [0x4c2bcc]
mov esi, dword [esp + 0x4c]
xor ecx, ecx
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0xf0]
movss dword [esp + 0xc0], xmm1
movss dword [esp + 0x24], xmm0
mov eax, dword [esp + ecx*4 + 0x128]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0x98]
mulss xmm0, xmm1
addss xmm0, xmm5
movss dword [esp + 0x9c], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x12c]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x38]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm5
movss dword [esp + 0x40], xmm0
call fcn.00465490
movss xmm1, dword [esp + 0xc0]
mov ecx, edi
movss xmm5, dword [esp + 0x54]
cmp ecx, 6
jl 0x48a512
movss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0xf0]
push dword [esp + 0x28]
movss dword [esp + 0xd4], xmm0
movaps xmm0, xmm5
push dword [esp + 0x28]
movss dword [esp + 0xdc], xmm0
xorps xmm0, xmm0
push dword [esp + 0xdc]
push dword [esp + 0xdc]
call fcn.00407760
mov esi, dword [esp + 0xfc]
movss xmm1, dword [esp + 0x74]
addss xmm1, dword [0x4c2b78]
mov edi, dword [esp + 0x5c]
mov ecx, edi
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x38], xmm2
addss xmm0, dword [0x4c2afc]
push dword [esp + 0x38]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x104]
subss xmm0, dword [0x4c2afc]
push dword [esp + 0x38]
movss dword [esp + 0xe8], xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, dword [esp + 0x50]
addss xmm0, dword [esp + 0x6c]
addss xmm0, dword [0x4c2ab4]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x11c]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x38a8]
movss dword [esp + 0xec], xmm0
push dword [esp + 0xec]
push dword [esp + 0xec]
call fcn.00487fe0
add esp, 0x20
jmp 0x48a689
mov edi, dword [esp + 0x4c]
movss xmm2, dword [0x4c2afc]
cmp byte [esp + 0x11], 0
je 0x48a6ab
movss xmm4, dword [0x4c2be8]
movss dword [esp + 0xf4], xmm4
jmp 0x48a6b3
movss xmm4, dword [0x4c2bcc]
mov eax, dword [edi + 0x2c]
movaps xmm0, xmm4
addss xmm0, dword [0x4c2af8]
cvttss2si ecx, xmm0
cmp ecx, 0x3f
ja 0x48a6dc
movzx eax, byte [eax + ecx + 0x1bc]
mov edx, 0x200
jmp 0x48a76a
movss xmm1, dword [eax + 0x14]
movaps xmm0, xmm2
minss xmm1, xmm4
divss xmm1, xmm4
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x4c2ba0]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x98], xmm0
fld qword [esp + 0x98]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
movss xmm4, dword [esp + 0xfc]
add esp, 8
fstp qword [esp + 0x90]
movsd xmm0, qword [esp + 0x90]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
mov edx, 0x200
and eax, 0xfffffffe
cmp eax, 4
jge 0x48a762
mov eax, 4
jmp 0x48a76a
cmp eax, 0x200
cmovg eax, edx
test dword [esp + 0x5c], 0xff000000
movss xmm3, dword [0x4c2bd4]
movss xmm5, dword [0x4c2ab4]
mov dword [esp + 0x6c], eax
je 0x48a826
comiss xmm5, xmm4
ja 0x48a826
test eax, eax
jg 0x48a7b2
push ecx
push 0x30
push 0
lea eax, [esp + 0x7c]
movaps xmm2, xmm4
push eax
mov ecx, edi
call fcn.00463bd0
dec dword [edi + 0x54]
jmp 0x48a7fe
cmp eax, 3
jge 0x48a7be
mov ecx, 3
jmp 0x48a7c8
cmp eax, 0x200
mov ecx, eax
cmovg ecx, edx
movd xmm1, ecx
lea eax, [ecx - 1]
cvtdq2ps xmm1, xmm1
push eax
push ecx
lea eax, [esp + 0x78]
mov ecx, edi
movaps xmm2, xmm4
movaps xmm0, xmm1
subss xmm0, dword [0x4c2afc]
mulss xmm0, xmm3
xorps xmm3, xmm3
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.00463ff0
push dword [esp + 0x5c]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.004637e0
movss xmm3, dword [0x4c2bd4]
movss xmm5, dword [0x4c2ab4]
mov dword [edi + 0x54], 0
test dword [esp + 0x34], 0xff000000
movss xmm6, dword [esp + 0xf4]
movss xmm2, dword [0x4c2afc]
movaps xmm4, xmm6
addss xmm4, xmm2
je 0x48a8fe
comiss xmm5, xmm4
ja 0x48a8fe
mov eax, dword [esp + 0x6c]
test eax, eax
jg 0x48a87a
push ecx
subss xmm4, xmm5
mov ecx, edi
push 0x30
push 0
lea eax, [esp + 0x7c]
push eax
movaps xmm2, xmm4
call fcn.00463bd0
dec dword [edi + 0x54]
jmp 0x48a8cb
cmp eax, 3
jge 0x48a886
mov ecx, 3
jmp 0x48a895
mov ecx, eax
cmp eax, 0x200
mov eax, 0x200
cmovg ecx, eax
movd xmm1, ecx
lea eax, [ecx - 1]
cvtdq2ps xmm1, xmm1
push eax
push ecx
mov ecx, edi
lea eax, [esp + 0x78]
subss xmm4, xmm5
movaps xmm0, xmm1
subss xmm0, xmm2
movaps xmm2, xmm4
mulss xmm0, xmm3
xorps xmm3, xmm3
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.00463ff0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x3c]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.00462a70
movss xmm2, dword [0x4c2afc]
movss xmm6, dword [esp + 0xf4]
mov dword [edi + 0x54], 0
test dword [esp + 0x3c], 0xff000000
movss xmm3, dword [0x4c2ab4]
je 0x48a9bd
comiss xmm3, xmm6
ja 0x48a9bd
mov eax, dword [esp + 0x6c]
test eax, eax
jg 0x48a942
push ecx
subss xmm6, xmm3
mov ecx, edi
push 0x30
push 0
lea eax, [esp + 0x7c]
push eax
movaps xmm2, xmm6
call fcn.00463bd0
dec dword [edi + 0x54]
jmp 0x48a993
cmp eax, 3
jge 0x48a94e
mov eax, 3
jmp 0x48a95b
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
movd xmm1, eax
subss xmm6, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x74]
push ecx
xorps xmm3, xmm3
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, xmm2
movaps xmm2, xmm6
mulss xmm0, dword [0x4c2bd4]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.00463ff0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push dword [esp + 0x44]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.00462a70
movss xmm3, dword [0x4c2ab4]
mov dword [edi + 0x54], 0
cmp dword [esp + 0xfc], 0x10000
jne 0x48ab84
mov eax, dword [esp + 0x14]
xorps xmm1, xmm1
movss xmm2, dword [eax + 0xc]
comiss xmm1, xmm2
jbe 0x48a9ea
movss dword [esp + 0xec], xmm1
jmp 0x48a9ff
movss xmm0, dword [0x4c2afc]
minss xmm0, xmm2
movss dword [esp + 0xec], xmm0
movss xmm4, dword [esp + 0x80]
xor edx, edx
movss xmm0, dword [esp + 0x54]
movaps xmm2, xmm4
addss xmm2, dword [esp + 0x64]
mov ecx, dword [esp + 0x4c]
movss dword [esp + 0x94], xmm0
addss xmm0, dword [esp + 0x38]
mov dword [esp + 0x28], 0
push dword [esp + 0x28]
mov dword [esp + 0x28], 0
push dword [esp + 0x28]
movss dword [esp + 0xa0], xmm2
subss xmm2, xmm4
movss dword [esp + 0xa4], xmm0
push dword [esp + 0xa4]
movss dword [esp + 0x9c], xmm4
push dword [esp + 0xa4]
mov edi, dword [esp + 0xa0]
push dword [esp + 0xa4]
mulss xmm2, xmm3
movaps xmm3, xmm1
push edi
push 0
call fcn.0046b180
mov ecx, dword [esp + 0x78]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.00465490
push dword [esp + 0x9c]
xorps xmm0, xmm0
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push edi
call fcn.00407760
movss xmm1, dword [0x4c2afc]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov esi, dword [esp + 0x114]
mov ecx, dword [esp + 0x5c]
movaps xmm0, xmm2
movss dword [esp + 0x38], xmm2
addss xmm0, xmm1
movss xmm2, dword [esi + 0x38a8]
push dword [esp + 0x38]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x94]
subss xmm0, xmm1
subss xmm1, dword [esp + 0x100]
push dword [esp + 0x38]
movss dword [esp + 0xe8], xmm0
mulss xmm1, dword [esp + 0x50]
addss xmm1, dword [esp + 0x6c]
addss xmm1, dword [0x4c2ab4]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xec], xmm0
movss xmm0, dword [esp + 0x7c]
addss xmm0, dword [0x4c2b78]
push dword [esp + 0xec]
push dword [esp + 0xec]
movaps xmm1, xmm0
call fcn.00487fe0
add esp, 0x20
jmp 0x48ab8b
mov esi, dword [esp + 0x104]
call fcn.00417ad0
cmp byte [esp + 0xb], 0
je 0x48ac09
mov edi, dword [esp + 0x114]
lea ecx, [esp + 0x140]
mov edx, dword [esp + 0x14]
sub edi, 4
jb 0x48abc1
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x48abc6
add ecx, 4
add edx, 4
sub edi, 4
jae 0x48abb0
cmp edi, 0xfffffffc
je 0x48ac04
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x48abf3
cmp edi, 0xfffffffd
je 0x48ac04
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x48abf3
cmp edi, 0xfffffffe
je 0x48ac04
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x48abf3
cmp edi, 0xffffffff
je 0x48ac04
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x48ac04
mov ecx, dword [esi + 0x48d0]
test ecx, ecx
je 0x48ac09
call fcn.00409540
jmp 0x48ac09
mov byte [esp + 0xb], 0
cmp dword [esp + 0x120], 0
jne 0x48ac1d
mov dword [esi + 0x5c34], 0
mov eax, dword [0x4c9b64]
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov esi, dword [eax + 0x3f88]
cmp dword [esi + 0xec], 1
jg 0x48ac4b
push 0x1f24
push str.....imgui.cpp
push str.window__IDStack.Size___1
call edi
add esp, 0xc
cmp dword [esi + 0xec], 0
jg 0x48ac68
push 0x799
push 0x4a02f8
push str.Size___0
call edi
add esp, 0xc
dec dword [esi + 0xec]
mov al, byte [esp + 0xb]
pop edi
pop esi
mov esp, ebp
pop ebp
ret