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

Disassembly:
sub esp, 0x148
mov eax, dword [0x1008d470]
xor eax, esp
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x14c]
push esi
mov esi, dword [0x1008df28]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x15c]
mov dword [esp + 0xbc], eax
mov eax, dword [esi + 0x3e60]
push edi
mov edi, dword [esp + 0x158]
mov dword [esp + 0x48], edi
mov byte [eax + 0xac], 1
mov eax, dword [esi + 0x3e60]
mov dword [esp + 0xf0], esi
mov dword [esp + 0xb0], eax
cmp byte [eax + 0xaf], 0
je 0x100486f6
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.10071a96
add esp, 0x148
ret
mov eax, dword [eax + 0x264]
mov dword [esp + 0xc8], eax
call fcn.1000acc0
push dword [esp + 0xfc]
fstp dword [esp + 0x50]
mov dword [esi + 0x46c0], 0
mov dword [esi + 0x46c4], 0
call fcn.1001ba30
mov eax, dword [esi + 0x5a14]
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x10048782
mov eax, dword [esp + 0xb0]
cmp dword [eax + 0xe4], 0
jg 0x1004876c
push 0x737
push str.D:Projectm2extLibrariesimguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esp + 0xbc]
add esp, 0xc
mov ecx, dword [eax + 0xe4]
mov eax, dword [eax + 0xec]
mov eax, dword [eax + ecx*4 - 4]
mov dword [esi + 0x5a14], eax
call fcn.1000a390
mov ecx, dword [esp + 0x15c]
mov edx, ecx
or edx, 0x10
test ecx, 0x100
cmovne edx, ecx
mov dword [esp + 0x64], edx
test dl, 8
jne 0x100487b3
push edx
push edi
call fcn.1004aa10
mov edx, dword [esp + 0x6c]
add esp, 8
test edx, 0x6000000
jne 0x100487d8
mov eax, dword [esi + 0x5a10]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x100487da
mov ecx, edx
mov dword [esp + 0x104], ecx
test ecx, 0x18000000
jne 0x1004880b
mov eax, dword [esi + 0x5a10]
mov edx, 0xa900000
test eax, 0x18000000
cmovne edx, eax
and edx, 0x18000000
or ecx, edx
mov dword [esp + 0x104], ecx
mov edx, ecx
and edx, 0x6000000
je 0x1004881c
lea eax, [edx - 1]
test edx, eax
je 0x1004883b
push 0x1523
push str.D:Projectm2extLibrariesimguiimgui_widgets.cpp
push str.ImIsPowerOfTwo_flags__ImGuiColorEditFlags_PickerMask__
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [esp + 0x110]
add esp, 0xc
mov edx, ecx
and edx, 0x18000000
je 0x1004884c
lea eax, [edx - 1]
test edx, eax
je 0x1004886b
push 0x1524
push str.D:Projectm2extLibrariesimguiimgui_widgets.cpp
push str.ImIsPowerOfTwo_flags__ImGuiColorEditFlags_InputMask__
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [esp + 0x110]
add esp, 0xc
test cl, 8
jne 0x10048884
mov eax, dword [esi + 0x5a10]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x104], ecx
mov eax, ecx
and ecx, 0x10002
and eax, 2
mov dword [esp + 0x50], ecx
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xb0]
movss xmm0, dword [eax + 0xf0]
movss dword [esp + 0xe4], xmm0
movss xmm0, dword [eax + 0xf4]
movss dword [esp + 0xe8], xmm0
call fcn.10010720
movss xmm2, dword [esi + 0x37dc]
xor eax, eax
cmp dword [esp + 0x50], 0x10000
movaps xmm0, xmm2
fstp dword [esp + 0xcc]
movss xmm3, dword [esp + 0xcc]
sete al
inc eax
addss xmm0, xmm3
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xd0], eax
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movss xmm0, dword [esp + 0x4c]
push eax
subss xmm0, xmm1
mov dword [esp + 0x68], eax
movaps xmm1, xmm3
lea eax, [esp + 0x124]
push edi
push eax
maxss xmm1, xmm0
movss xmm0, dword [esp + 0xf0]
addss xmm0, xmm1
movss dword [esp + 0x100], xmm1
addss xmm0, xmm2
movss dword [esp + 0xa0], xmm0
addss xmm0, xmm3
movss dword [esp + 0x64], xmm0
addss xmm0, xmm2
movss dword [esp + 0xbc], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x10076228]
cvttss2si esi, xmm0
mov dword [esp + 0x28], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [esp + 0x100]
add esp, 0xc
movaps xmm4, xmm1
mov dword [esp + 0x44], 0
mulss xmm4, dword [0x10076238]
movaps xmm0, xmm1
mulss xmm0, dword [0x10085ac4]
movaps xmm3, xmm4
movss dword [esp + 0xb4], xmm4
subss xmm3, xmm0
movss dword [esp + 0xb8], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0xcc]
movaps xmm2, xmm3
movss dword [esp + 0xa8], xmm3
mulss xmm0, dword [0x10076238]
addss xmm0, dword [esp + 0xe4]
movss dword [esp + 0x98], xmm0
movaps xmm0, xmm4
addss xmm0, dword [esp + 0xe8]
movss dword [esp + 0x9c], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x10085ac0]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
xorps xmm0, xmm0
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x40], xmm2
movaps xmm1, xmm2
mulss xmm1, dword [0x10085b3c]
movaps xmm0, xmm2
mov eax, dword [esp + 0x104]
mov ecx, eax
mulss xmm0, dword [0x10085b40]
and ecx, 0x8000000
mov dword [esp + 0xec], ecx
mulss xmm2, dword [0x10085ad8]
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x30], xmm1
movss xmm1, dword [edi + 4]
movss dword [esp + 0x34], xmm2
movss xmm2, dword [edi + 8]
movss dword [esp + 0x108], xmm0
movss dword [esp + 0xf8], xmm1
movss dword [esp + 0xe0], xmm2
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x60], xmm1
movss dword [esp + 0x54], xmm2
je 0x10048b14
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0x110]
push eax
sub esp, 0xc
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.1000c520
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x128]
push eax
push edi
call fcn.10048590
add esp, 0x28
jmp 0x10048b46
test eax, 0x10000000
je 0x10048b46
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x64]
push eax
sub esp, 0xc
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.1000c390
add esp, 0x18
push 1
push 8
mov byte [esp + 0x127], 0
mov byte [esp + 0x125], 0
mov byte [esp + 0x124], 0
call fcn.1001bb40
mov eax, dword [esp + 0x10c]
add esp, 8
mov ecx, eax
and ecx, 0x4000000
mov dword [esp + 0xac], ecx
je 0x10048fa1
movss xmm1, dword [esp + 0xf4]
lea eax, [esp + 0x114]
mov ecx, dword [esp + 0xf0]
movaps xmm0, xmm1
push 0
push eax
push 0x10085218
addss xmm0, dword [ecx + 0x37dc]
movss dword [esp + 0x124], xmm1
addss xmm0, dword [esp + 0xd8]
movss dword [esp + 0x120], xmm0
call fcn.10050c60
add esp, 0xc
call fcn.10013f00
test al, al
je 0x10048f7f
mov eax, dword [esp + 0xf0]
movss xmm1, dword [0x10076240]
movss xmm5, dword [eax + 0x36ac]
movss xmm6, dword [eax + 0x36b0]
subss xmm5, dword [esp + 0x98]
subss xmm6, dword [esp + 0x9c]
movss xmm4, dword [eax + 0xdbc]
movss xmm2, dword [eax + 0xdc0]
subss xmm4, dword [esp + 0x98]
subss xmm2, dword [esp + 0x9c]
movaps xmm0, xmm5
movss dword [esp + 0x8c], xmm5
mulss xmm0, xmm5
movaps xmm3, xmm6
mulss xmm3, xmm6
movss dword [esp + 0xc4], xmm6
movss dword [esp + 0xd8], xmm4
addss xmm3, xmm0
movss dword [esp + 0xdc], xmm2
movss xmm0, dword [esp + 0xa8]
subss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm3, xmm0
jb 0x10048d1d
movss xmm0, dword [esp + 0xb4]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm3
jb 0x10048d1d
cvtps2pd xmm0, xmm2
movsd qword [esp + 0x114], xmm0
fld qword [esp + 0x114]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x114], xmm0
fld qword [esp + 0x114]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x10082880]
xorps xmm1, xmm1
fstp qword [esp + 0x114]
movsd xmm0, qword [esp + 0x114]
cvtpd2ps xmm0, xmm0
divss xmm0, xmm2
mulss xmm0, dword [0x10076238]
comiss xmm1, xmm0
movss dword [esp + 0x108], xmm0
jbe 0x10048d12
addss xmm0, dword [0x10076240]
movss dword [esp + 0x108], xmm0
mov al, 1
mov byte [esp + 0x11f], al
jmp 0x10048d35
movss xmm0, dword [esp + 0x108]
movss xmm2, dword [0x10082880]
mov al, byte [esp + 0x11f]
xorps xmm0, xmmword [0x100762c0]
addss xmm0, xmm0
mov byte [esp + 0x11e], al
mulss xmm0, xmm2
movss dword [esp + 0xd4], xmm0
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0xd4]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0xbc], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm1, dword [esp + 0xbc]
xorps xmm2, xmm2
mulss xmm1, dword [esp + 0x8c]
mov al, byte [esp + 0x11f]
cvtsd2ss xmm2, xmm0
mov byte [esp + 0x11d], al
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x40]
movaps xmm0, xmm2
movss dword [esp + 0xdc], xmm2
mulss xmm0, dword [esp + 0xcc]
push eax
lea eax, [esp + 0x4c]
push eax
subss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x124], xmm1
movss xmm1, dword [esp + 0xcc]
mulss xmm1, dword [esp + 0xd4]
addss xmm1, xmm0
movss dword [esp + 0x128], xmm1
call fcn.100136a0
add esp, 0x10
test al, al
je 0x10048f7f
movss xmm2, dword [esp + 0xdc]
lea eax, [esp + 0x88]
movss xmm3, dword [esp + 0xd4]
movaps xmm0, xmm2
movss xmm1, dword [esp + 0xbc]
mulss xmm1, dword [esp + 0xd8]
push eax
mulss xmm2, dword [esp + 0xc0]
lea eax, [esp + 0x34]
push eax
mulss xmm0, xmm3
lea eax, [esp + 0x40]
push eax
mulss xmm3, dword [esp + 0xe4]
lea eax, [esp + 0x4c]
push eax
subss xmm1, xmm0
addss xmm2, xmm3
movss dword [esp + 0x98], xmm1
movss dword [esp + 0x9c], xmm2
call fcn.100136a0
add esp, 0x10
test al, al
jne 0x10048ed2
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x124]
push eax
call fcn.10013400
add esp, 0x14
movss xmm0, dword [eax]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x8c], xmm0
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.10013340
movss xmm0, dword [0x10076240]
add esp, 0x1c
movss xmm1, dword [0x10085abc]
movaps xmm3, xmm0
subss xmm3, dword [esp + 0xdc]
comiss xmm1, xmm3
jbe 0x10048f2f
movaps xmm2, xmm1
jmp 0x10048f36
movaps xmm2, xmm0
minss xmm2, xmm3
movss xmm3, dword [esp + 0xd8]
divss xmm3, xmm2
movss dword [esp + 0xe0], xmm2
comiss xmm1, xmm3
ja 0x10048f58
movaps xmm1, xmm0
minss xmm1, xmm3
mov al, byte [esp + 0x11e]
movss dword [esp + 0xf8], xmm1
mov byte [esp + 0x11c], 1
mov byte [esp + 0x11f], 1
mov byte [esp + 0x11d], al
test byte [esp + 0x104], 8
jne 0x1004921a
push 1
push str.context
call fcn.1001b020
add esp, 8
jmp 0x1004921a
test eax, 0x2000000
je 0x1004921a
movss xmm0, dword [esp + 0xf4]
lea eax, [esp + 0x114]
push 0
push eax
push 0x1008521c
movss dword [esp + 0x120], xmm0
movss dword [esp + 0x124], xmm0
call fcn.10050c60
movss xmm0, dword [esp + 0x100]
add esp, 0xc
subss xmm0, dword [0x10076240]
movss dword [esp + 0xc4], xmm0
call fcn.10013f00
test al, al
je 0x1004911c
mov eax, dword [esp + 0xf0]
push ecx
movss xmm0, dword [eax + 0xdbc]
subss xmm0, dword [esp + 0xe8]
divss xmm0, dword [esp + 0xc8]
movss dword [esp], xmm0
call fcn.1004ce70
fstp dword [esp + 0xfc]
movss xmm0, dword [eax + 0xdc0]
subss xmm0, dword [esp + 0xec]
divss xmm0, dword [esp + 0xc8]
movss dword [esp], xmm0
call fcn.1004ce70
fld1
add esp, 4
mov ecx, dword [0x1008df28]
fsubrp st(1)
mov dword [esp + 0xbc], ecx
fstp dword [esp + 0xe0]
cmp dword [ecx + 0x5a14], 0
jne 0x1004909f
push 0x13db
push str.D:Projectm2extLibrariesimguiimgui_widgets.cpp
push str.g.ColorEditCurrentID___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [esp + 0xc8]
add esp, 0xc
mov eax, dword [ecx + 0x5a18]
cmp eax, dword [ecx + 0x5a14]
jne 0x10049111
movss xmm0, dword [edi]
lea eax, [esp + 0x10c]
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x110], xmm0
movss xmm0, dword [edi + 8]
push eax
movss dword [esp + 0x118], xmm0
mov dword [esp + 0x11c], 0
call fcn.1000c2d0
mov ecx, dword [esp + 0xc0]
add esp, 4
cmp dword [ecx + 0x5a24], eax
jne 0x10049111
movss xmm0, dword [ecx + 0x5a1c]
movss dword [esp + 0x108], xmm0
mov al, 1
mov byte [esp + 0x11f], al
jmp 0x10049123
mov al, byte [esp + 0x11f]
test byte [esp + 0x104], 8
mov byte [esp + 0x11e], al
jne 0x10049143
push 1
push str.context
call fcn.1001b020
add esp, 8
movss xmm0, dword [esp + 0x94]
lea eax, [esp + 0x114]
movss dword [esp + 0x114], xmm0
movss xmm0, dword [esp + 0xe8]
push eax
movss dword [esp + 0x11c], xmm0
call fcn.1001f6d0
movss xmm0, dword [esp + 0xd0]
lea eax, [esp + 0x118]
push 0
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [esp + 0xfc]
push eax
push 0x10085220
movss dword [esp + 0x128], xmm0
call fcn.10050c60
mov al, byte [esp + 0x12f]
add esp, 0x10
mov byte [esp + 0x11c], al
call fcn.10013f00
test al, al
je 0x1004921a
mov ecx, dword [esp + 0xf0]
push ecx
movss xmm0, dword [ecx + 0xdc0]
subss xmm0, dword [esp + 0xec]
divss xmm0, dword [esp + 0xc8]
movss dword [esp], xmm0
call fcn.1004ce70
mov al, byte [esp + 0x122]
add esp, 4
fstp dword [esp + 0x108]
mov byte [esp + 0x11d], 1
mov byte [esp + 0x11f], 1
mov byte [esp + 0x11c], al
cmp dword [esp + 0x50], 0x10000
jne 0x100492f6
movss xmm0, dword [esp + 0xb0]
lea eax, [esp + 0x114]
movss dword [esp + 0x114], xmm0
movss xmm0, dword [esp + 0xe8]
push eax
movss dword [esp + 0x11c], xmm0
call fcn.1001f6d0
movss xmm0, dword [esp + 0xd0]
lea eax, [esp + 0x118]
push 0
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [esp + 0xfc]
push eax
push str.alpha
movss dword [esp + 0x128], xmm0
call fcn.10050c60
add esp, 0x10
call fcn.10013f00
test al, al
je 0x100492f6
mov eax, dword [esp + 0xf0]
movss xmm0, dword [esp + 0xf4]
movss xmm1, dword [0x10076240]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xdc0]
subss xmm2, dword [esp + 0xe8]
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x100492db
xorps xmm3, xmm3
jmp 0x100492e2
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov byte [esp + 0x11f], 1
subss xmm0, xmm3
movss dword [edi + 0xc], xmm0
call fcn.1001b480
mov eax, dword [esp + 0x104]
mov ecx, eax
and ecx, 0x100
mov dword [esp + 0xc4], ecx
jne 0x10049346
mov eax, dword [esp + 0xf0]
sub esp, 8
movss xmm0, dword [eax + 0x37dc]
movss dword [esp + 4], xmm0
mov dword [esp], 0
call fcn.1001ec70
add esp, 8
call fcn.1000a390
mov eax, dword [esp + 0x104]
and eax, 0x80
mov dword [esp + 0xd8], eax
jne 0x100493bf
push 0
push dword [esp + 0x100]
call fcn.1000fc20
add esp, 8
mov dword [esp + 0xdc], eax
cmp dword [esp + 0xfc], eax
je 0x100493bf
cmp dword [esp + 0xc4], 0
je 0x100493ad
mov eax, dword [esp + 0xf0]
sub esp, 8
movss xmm0, dword [eax + 0x37dc]
movss dword [esp + 4], xmm0
mov dword [esp], 0
call fcn.1001ec70
mov eax, dword [esp + 0xe4]
add esp, 8
push 0
push eax
push dword [esp + 0x104]
call fcn.10056ee0
add esp, 0xc
cmp dword [esp + 0xc4], 0
jne 0x1004957c
push 1
push 0x10
call fcn.1001bb40
add esp, 8
cmp dword [esp + 0xd0], 0
je 0x100493ed
movss xmm1, dword [0x10076240]
jmp 0x100493f2
movss xmm1, dword [edi + 0xc]
cmp dword [esp + 0xd8], 0
movss xmm0, dword [edi]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x74], xmm1
je 0x1004942f
push str.Current
call fcn.10056d90
add esp, 4
movss xmm0, dword [esp + 0xcc]
lea ecx, [esp + 0x114]
mulss xmm0, dword [0x10076250]
mov eax, dword [esp + 0x104]
and eax, 0x180e0040
push ecx
movss dword [esp + 0xe0], xmm0
movss dword [esp + 0x118], xmm0
movss xmm0, dword [esp + 0xd0]
mulss xmm0, dword [0x1007624c]
push eax
mov dword [esp + 0xdc], eax
lea eax, [esp + 0x70]
push eax
push str.current
movss dword [esp + 0xe8], xmm0
movss dword [esp + 0x128], xmm0
call fcn.10046d10
add esp, 0x10
cmp dword [esp + 0xc0], 0
je 0x10049572
push str.Original
call fcn.10056d90
mov eax, dword [esp + 0xc4]
add esp, 4
cmp dword [esp + 0xd0], 0
je 0x100494d9
movss xmm1, dword [0x10076240]
jmp 0x100494de
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x114]
push eax
push dword [esp + 0xd8]
movss dword [esp + 0x88], xmm0
lea eax, [esp + 0x80]
movss xmm0, dword [esp + 0xe4]
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [esp + 0xe0]
push eax
push str.original
movss dword [esp + 0x94], xmm1
movss dword [esp + 0x128], xmm0
call fcn.10046d10
add esp, 0x10
test al, al
je 0x10049572
push dword [esp + 0x64]
push dword [esp + 0xc4]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0x11f], 1
call fcn.1001b480
call fcn.1000ea00
cmp byte [esp + 0x11d], 0
jne 0x10049594
cmp byte [esp + 0x11c], 0
je 0x10049665
cmp dword [esp + 0xec], 0
je 0x10049691
movss xmm0, dword [esp + 0xe0]
lea eax, [edi + 8]
push eax
lea eax, [edi + 4]
push eax
push edi
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x110]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x120]
movss dword [esp], xmm0
call fcn.1000c390
mov ecx, dword [esp + 0x108]
movss xmm0, dword [esp + 0x120]
mov dword [esp + 0x130], 0
mov eax, dword [ecx + 0x5a14]
movss dword [ecx + 0x5a1c], xmm0
movss xmm0, dword [esp + 0x110]
mov dword [ecx + 0x5a18], eax
lea eax, [esp + 0x124]
movss dword [ecx + 0x5a20], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x124], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x128], xmm0
movss xmm0, dword [edi + 8]
push eax
movss dword [esp + 0x130], xmm0
call fcn.1000c2d0
mov ecx, dword [esp + 0x10c]
add esp, 0x1c
mov dword [ecx + 0x5a24], eax
mov eax, dword [esp + 0x104]
mov byte [esp + 0x11e], 0
test al, 0x20
jne 0x100498ef
cmp dword [esp + 0x50], 0x10000
jne 0x100496ca
movss xmm0, dword [esp + 0xb0]
jmp 0x100496d3
mov eax, dword [esp + 0x104]
test eax, 0x10000000
je 0x1004966c
movss xmm0, dword [esp + 0x108]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0xf8]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0xe0]
movss dword [edi + 8], xmm0
jmp 0x1004966c
movss xmm0, dword [esp + 0x94]
addss xmm0, dword [esp + 0xcc]
push ecx
subss xmm0, dword [esp + 0xe8]
movss dword [esp], xmm0
call fcn.1001bc00
mov eax, dword [esp + 0x108]
add esp, 4
mov edx, eax
and edx, 0x198e001a
mov dword [esp + 0xd0], edx
test eax, 0x100000
jne 0x1004972e
mov ecx, eax
and ecx, 0x700000
mov dword [esp + 0xfc], ecx
jne 0x100497a9
mov dword [esp + 0xfc], ecx
jmp 0x1004973a
and eax, 0x700000
mov dword [esp + 0xfc], eax
or edx, 0x100004
push edx
push edi
push str.rgb
call fcn.100472c0
add esp, 0xc
test al, al
je 0x10049794
mov eax, dword [esp + 0xf0]
cmp dword [eax + 0x3eac], 0
je 0x10049774
cmp byte [eax + 0x3eb9], 0
mov byte [esp + 0x11e], 1
je 0x1004977c
mov byte [esp + 0x11e], 0
mov ecx, dword [esp + 0xfc]
mov byte [esp + 0x11f], 1
mov dword [esp + 0xfc], ecx
jmp 0x1004979b
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0x104]
test eax, 0x200000
jne 0x100497b4
test ecx, ecx
jne 0x100497de
or edx, 0x200004
push edx
push edi
push str.hsv
call fcn.100472c0
mov ecx, dword [esp + 0x108]
add esp, 0xc
or byte [esp + 0x11f], al
mov eax, dword [esp + 0x104]
test eax, 0x400000
jne 0x100497e9
test ecx, ecx
jne 0x1004980b
mov eax, dword [esp + 0xd0]
or eax, 0x400004
push eax
push edi
push str.hex
call fcn.100472c0
add esp, 0xc
or byte [esp + 0x11f], al
call fcn.1001b510
cmp byte [esp + 0x11e], 0
mov ecx, dword [esp + 0xec]
je 0x100499cd
test ecx, ecx
je 0x100499cd
movss xmm0, dword [edi + 8]
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0xe4]
push eax
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [edi]
movss dword [esp], xmm0
call fcn.1000c520
xorps xmm0, xmm0
add esp, 0x18
comiss xmm0, dword [esp + 0xdc]
jb 0x100498e8
movss xmm3, dword [esp + 0x108]
comiss xmm3, xmm0
jbe 0x100498e8
movss xmm2, dword [esp + 0xd8]
comiss xmm0, xmm2
jb 0x10049983
movss xmm1, dword [esp + 0xe0]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x10049983
mulss xmm1, dword [0x10076238]
lea eax, [edi + 8]
push eax
movss xmm0, dword [esp + 0xfc]
lea eax, [edi + 4]
push eax
push edi
sub esp, 0xc
movss dword [esp + 8], xmm1
movss dword [esp + 4], xmm0
movss dword [esp], xmm3
call fcn.1000c390
add esp, 0x18
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0xec]
cmp byte [esp + 0x11f], 0
je 0x10049a34
test ecx, ecx
je 0x100499d9
movss xmm0, dword [edi + 8]
lea eax, [esp + 0xe0]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
push eax
lea eax, [esp + 0xfc]
movss dword [esp + 0x60], xmm2
push eax
lea eax, [esp + 0x110]
movss dword [esp + 0x68], xmm1
push eax
sub esp, 0xc
movss dword [esp + 0x6c], xmm0
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call fcn.1000c520
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x128]
push eax
push edi
call fcn.10048590
add esp, 0x28
jmp 0x10049a34
comiss xmm0, dword [esp + 0xd4]
jb 0x100498e8
movss xmm0, dword [esp + 0xf8]
lea eax, [edi + 8]
mulss xmm0, dword [0x10076238]
push eax
lea eax, [edi + 4]
push eax
push edi
sub esp, 0xc
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x120]
movss dword [esp], xmm0
jmp 0x100498e0
mov eax, dword [esp + 0x104]
jmp 0x100498f6
test eax, 0x10000000
je 0x10049a34
movss xmm0, dword [edi + 8]
lea eax, [esp + 0x54]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
push eax
lea eax, [esp + 0x64]
movss dword [esp + 0x10c], xmm2
push eax
lea eax, [esp + 0x64]
movss dword [esp + 0x100], xmm1
push eax
sub esp, 0xc
movss dword [esp + 0xf8], xmm0
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call fcn.1000c390
add esp, 0x18
mov edi, dword [esp + 0xf0]
xorps xmm0, xmm0
movss xmm1, dword [edi + 0x3788]
comiss xmm0, xmm1
ja 0x10049a57
movss xmm0, dword [0x10076240]
minss xmm0, xmm1
mulss xmm0, dword [0x1007d414]
mov dword [esp + 8], 0x3f800000
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 0x10], 0x3f800000
addss xmm0, dword [0x10076238]
movss dword [esp + 0x14], xmm1
cvttss2si edx, xmm0
movss xmm0, dword [esp + 0x108]
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x8c], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0xc0], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x130], ecx
or eax, 0x808080
mov dword [esp + 0x148], ecx
mov dword [esp + 0xbc], eax
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x134], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x138], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x13c], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x140], eax
mov eax, edx
or eax, 0xff00ff
mov dword [esp + 0x144], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
movss dword [esp], xmm0
call fcn.1000c390
lea eax, [esp + 0x20]
push eax
call fcn.1000c2d0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x128], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x12c], xmm0
movss xmm0, dword [esp + 0x70]
mov dword [esp + 0x108], eax
lea eax, [esp + 0x128]
movss dword [esp + 0x130], xmm0
movss xmm0, dword [edi + 0x3788]
push eax
movss dword [esp + 0x138], xmm0
call fcn.1000c2d0
movss xmm2, dword [0x1007d408]
add esp, 0x20
cmp dword [esp + 0xac], 0
mov dword [esp + 0xd4], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
movss dword [esp + 0xfc], xmm2
je 0x1004a24b
movss xmm4, dword [esp + 0xb4]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x10076238]
movss xmm0, dword [esp + 0xa8]
divss xmm3, xmm4
mov esi, dword [esp + 0xc8]
cvttss2si ecx, xmm4
addss xmm0, xmm4
movss dword [esp + 0xac], xmm3
imul ecx
movss dword [esp + 0x58], xmm0
movaps xmm4, xmm0
mulss xmm4, dword [0x10076238]
mov ecx, 4
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
movss dword [esp + 0xdc], xmm4
cmp eax, ecx
cmovle eax, ecx
xor ecx, ecx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xd0], ecx
movd xmm1, ecx
mov ecx, esi
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push eax
sub esp, 0xc
lea eax, [esp + 0xa8]
movaps xmm0, xmm1
addss xmm1, dword [0x10076240]
divss xmm0, xmm2
divss xmm1, xmm2
addss xmm0, xmm0
addss xmm1, xmm1
mulss xmm0, dword [0x10082880]
mulss xmm1, dword [0x10082880]
subss xmm0, xmm3
addss xmm1, xmm3
movss dword [esp + 0xc4], xmm0
movss dword [esp + 8], xmm1
movss dword [esp + 4], xmm0
movss dword [esp], xmm4
push eax
movss dword [esp + 0xd8], xmm1
call fcn.1002d300
movss xmm0, dword [esp + 0xb8]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0xc8]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.10027f70
movss xmm0, dword [esp + 0xb4]
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 + 0xa8]
addss xmm1, dword [esp + 0x98]
movss dword [esp + 0x114], xmm1
movss xmm1, dword [esp + 0xb4]
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 + 0xa8]
addss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x118], xmm0
movss xmm0, dword [esp + 0xc4]
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 + 0xa8]
addss xmm1, dword [esp + 0x98]
movss dword [esp + 0x70], xmm1
movss xmm1, dword [esp + 0xc4]
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
mov eax, dword [esp + 0xd0]
cvtsd2ss xmm0, xmm0
push dword [esp + eax*4 + 0x134]
mulss xmm0, dword [esp + 0xac]
push dword [esp + eax*4 + 0x134]
addss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x7c], xmm0
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x128]
push dword [esp + 0x128]
push dword [esi + 0x18]
push edi
push esi
call fcn.1002efd0
mov ecx, dword [esp + 0xf4]
add esp, 0x24
movss xmm2, dword [0x1007d408]
inc ecx
mov dword [esp + 0xd0], ecx
cmp ecx, 6
movss xmm3, dword [esp + 0xac]
movss xmm4, dword [esp + 0xdc]
mov eax, dword [esp + 0xd8]
jl 0x10049c55
movss xmm0, dword [esp + 0x108]
mulss xmm0, dword [0x1007624c]
mulss xmm0, dword [0x10082880]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x114], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0xb4], xmm0
movsd xmm0, qword [esp + 0x114]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x11d], 0
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
movss xmm0, dword [esp + 0xb4]
mulss xmm0, dword [esp + 0x58]
movss dword [esp + 0xac], xmm3
mulss xmm0, dword [0x10076238]
addss xmm0, dword [esp + 0x98]
movss dword [esp + 0x80], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x58]
mulss xmm0, dword [0x10076238]
addss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0xb8]
je 0x10049ee3
mulss xmm0, dword [0x1007d3d0]
jmp 0x10049eeb
mulss xmm0, dword [0x10085ad0]
push ecx
mov ecx, esi
movss dword [esp + 0xbc], xmm0
movss dword [esp], xmm0
call fcn.10030060
movss xmm0, dword [esp + 0xb8]
mov edi, eax
push edi
push dword [esp + 0xf0]
lea eax, [esp + 0x88]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push eax
call fcn.10026c70
movss xmm0, dword [esp + 0xb8]
lea eax, [esp + 0x80]
addss xmm0, dword [0x10076240]
push ecx
mov dword [esp], 0x3f800000
push edi
push dword [esp + 0xc4]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push eax
call fcn.10026b90
mov esi, dword [esp + 0xc0]
lea eax, [esp + 0x80]
movss xmm0, dword [esp + 0xb8]
push ecx
mov dword [esp], 0x3f800000
push edi
mov edi, dword [esp + 0xd0]
push esi
push ecx
movss dword [esp], xmm0
mov ecx, edi
push eax
call fcn.10026b90
movss xmm6, dword [esp + 0xb4]
movss xmm3, dword [esp + 0x44]
movaps xmm1, xmm6
mulss xmm1, dword [esp + 0x40]
movaps xmm0, xmm3
movss xmm7, dword [esp + 0xac]
movss xmm5, dword [esp + 0x98]
movss xmm4, dword [esp + 0x9c]
movss xmm2, dword [esp + 0x3c]
mulss xmm0, xmm7
mulss xmm3, xmm6
subss xmm1, xmm0
movaps xmm0, xmm7
mulss xmm0, dword [esp + 0x40]
addss xmm0, xmm3
movss xmm3, dword [esp + 0x38]
addss xmm1, xmm5
addss xmm0, xmm4
movss dword [esp + 0x100], xmm1
movaps xmm1, xmm3
mulss xmm1, xmm6
mulss xmm3, xmm7
movss dword [esp + 0x104], xmm0
movaps xmm0, xmm2
mulss xmm2, xmm6
mulss xmm0, xmm7
addss xmm3, xmm2
movss xmm2, dword [esp + 0x34]
subss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm7
addss xmm3, xmm4
addss xmm1, xmm5
movss dword [esp + 0x24], xmm3
movss xmm3, dword [esp + 0x30]
movss dword [esp + 0x20], xmm1
movaps xmm1, xmm3
mulss xmm1, xmm6
subss xmm1, xmm0
addss xmm1, xmm5
movss dword [esp + 0x28], xmm1
mulss xmm3, xmm7
lea eax, [esp + 0x90]
push eax
mulss xmm2, xmm6
addss xmm3, xmm2
addss xmm3, xmm4
movss dword [esp + 0x30], xmm3
call fcn.100106b0
add esp, 4
mov ecx, edi
push 3
push 3
call fcn.1002dbd0
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0x104]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0xec]
mov dword [eax + 0x10], ecx
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0xc], edx
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], ecx
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
mov ecx, dword [edi + 0x28]
mov word [eax], cx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
add dword [edi + 0x38], 2
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [edi + 0x34]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
push ecx
mov dword [eax + 8], ecx
mov ecx, edi
mov dword [eax + 0xc], edx
mov eax, dword [edi + 0x34]
mov dword [esp], 0x3fc00000
push dword [esp + 0xc0]
mov dword [eax + 0x10], esi
lea eax, [esp + 0x30]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x28]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x110]
push eax
call fcn.100292b0
movss xmm0, dword [0x10076240]
movaps xmm2, xmm0
xorps xmm1, xmm1
subss xmm2, dword [esp + 0xe0]
comiss xmm1, xmm2
jbe 0x1004a1b6
xorps xmm4, xmm4
jmp 0x1004a1bd
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm2, dword [esp + 0xf8]
comiss xmm1, xmm2
ja 0x1004a1d2
movaps xmm1, xmm0
minss xmm1, xmm2
movss xmm2, dword [esp + 0x104]
movss xmm3, dword [esp + 0x100]
subss xmm2, dword [esp + 0x2c]
subss xmm3, dword [esp + 0x28]
movss xmm0, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
mulss xmm2, xmm1
mulss xmm3, xmm1
addss xmm2, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x20]
addss xmm3, dword [esp + 0x28]
subss xmm0, xmm2
subss xmm1, xmm3
mulss xmm0, xmm4
mulss xmm1, xmm4
addss xmm0, xmm2
movss xmm2, dword [0x1007d408]
addss xmm1, xmm3
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0xa0], xmm1
jmp 0x1004a676
test dword [esp + 0x104], 0x2000000
je 0x1004a66f
movss xmm0, dword [esp + 0xe4]
addss xmm0, dword [esp + 0xf4]
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xec]
push eax
push ecx
push ecx
mov ecx, dword [esp + 0xd4]
movss dword [esp + 0x120], xmm0
movss xmm0, dword [esp + 0xf4]
addss xmm0, dword [esp + 0x100]
push eax
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0xf8]
push eax
movss dword [esp + 0x130], xmm0
call fcn.10028f50
movss xmm0, dword [esp + 0xe4]
lea eax, [esp + 0x114]
addss xmm0, dword [esp + 0xf4]
mov ecx, dword [esp + 0x8c]
push ecx
push ecx
mov ecx, dword [esp + 0xd0]
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [esp + 0xf0]
addss xmm0, dword [esp + 0xfc]
push 0
push 0
push eax
lea eax, [esp + 0xf8]
push eax
movss dword [esp + 0x130], xmm0
call fcn.10028f50
movss xmm0, dword [esp + 0xe4]
addss xmm0, dword [esp + 0xf4]
push ecx
mov dword [esp], 0
movss dword [esp + 0x118], xmm0
movss xmm0, dword [esp + 0xec]
addss xmm0, dword [esp + 0xf8]
movss dword [esp + 0x11c], xmm0
push dword [esp + 0x11c]
push dword [esp + 0x11c]
push dword [esp + 0xf4]
push dword [esp + 0xf4]
call fcn.1001cc70
movss xmm2, dword [esp + 0x10c]
xorps xmm1, xmm1
movss xmm0, dword [0x10076240]
add esp, 0x14
comiss xmm1, xmm2
jbe 0x1004a39f
xorps xmm3, xmm3
jmp 0x1004a3a6
movaps xmm3, xmm0
minss xmm3, xmm2
movss xmm2, dword [esp + 0xf4]
movss xmm4, dword [esp + 0xe4]
movss xmm7, dword [0x10076238]
mulss xmm3, xmm2
movss xmm6, dword [0x1007624c]
addss xmm3, xmm4
addss xmm3, xmm7
cvttss2si eax, xmm3
movaps xmm3, xmm4
addss xmm4, xmm2
addss xmm3, xmm6
movd xmm5, eax
cvtdq2ps xmm5, xmm5
subss xmm4, xmm6
comiss xmm3, xmm5
jbe 0x1004a3fe
movss dword [esp + 0xa0], xmm3
jmp 0x1004a417
comiss xmm5, xmm4
jbe 0x1004a40e
movss dword [esp + 0xa0], xmm4
jmp 0x1004a417
movss dword [esp + 0xa0], xmm5
movaps xmm3, xmm0
subss xmm3, dword [esp + 0xe0]
comiss xmm1, xmm3
jbe 0x1004a42d
xorps xmm0, xmm0
jmp 0x1004a431
minss xmm0, xmm3
movss xmm1, dword [esp + 0xe8]
mulss xmm0, xmm2
movaps xmm3, xmm1
addss xmm3, xmm6
addss xmm0, xmm1
addss xmm0, xmm7
cvttss2si eax, xmm0
movaps xmm0, xmm1
addss xmm0, xmm2
movd xmm4, eax
cvtdq2ps xmm4, xmm4
subss xmm0, xmm6
comiss xmm3, xmm4
jbe 0x1004a473
movss dword [esp + 0xa4], xmm3
jmp 0x1004a48c
comiss xmm4, xmm0
jbe 0x1004a483
movss dword [esp + 0xa4], xmm0
jmp 0x1004a48c
movss dword [esp + 0xa4], xmm4
divss xmm2, dword [0x1007d408]
mov esi, dword [esp + 0xc8]
xor ecx, ecx
movss dword [esp + 0xac], xmm2
movss xmm0, dword [esp + 0x58]
lea edi, [ecx + 1]
movss dword [esp + 0x114], xmm0
mov eax, dword [esp + ecx*4 + 0x134]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0x11c]
mulss xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0x120], xmm0
movss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x78], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x138]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x84]
mov ecx, esi
push eax
mulss xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0x8c], xmm0
call fcn.10028f50
movss xmm1, dword [esp + 0xe8]
mov ecx, edi
cmp ecx, 6
jge 0x1004a53e
movss xmm2, dword [esp + 0xac]
jmp 0x1004a4a6
movss xmm0, dword [esp + 0x108]
mulss xmm0, dword [esp + 0xf4]
push ecx
movss dword [esp + 0x78], xmm1
mov dword [esp], 0
addss xmm0, xmm1
addss xmm1, dword [esp + 0xf8]
addss xmm0, dword [0x10076238]
movss dword [esp + 0x11c], xmm1
push dword [esp + 0x11c]
cvttss2si edi, xmm0
movss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x11c], xmm0
push dword [esp + 0x11c]
push dword [esp + 0x80]
push dword [esp + 0x80]
call fcn.1001cc70
mov esi, dword [esp + 0x30]
add esp, 0xc
mov eax, dword [esp + 0xf8]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x120], xmm2
addss xmm0, dword [0x10076240]
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [esp + 0x9c]
subss xmm0, dword [0x10076240]
movss dword [esp + 0x78], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov edi, dword [esp + 0xd0]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [eax + 0x3788]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0xd4]
addss xmm0, dword [0x1007624c]
movss dword [esp], xmm0
push dword [esp + 0x120]
push dword [esp + 0x120]
push dword [esp + 0x84]
push dword [esp + 0x84]
push edi
call fcn.10051300
movss xmm2, dword [0x1007d408]
add esp, 0x1c
jmp 0x1004a676
mov edi, dword [esp + 0xc8]
cmp byte [esp + 0x11c], 0
je 0x1004a691
movss xmm2, dword [0x10076270]
movss dword [esp + 0xfc], xmm2
push ecx
mov ecx, edi
movss dword [esp], xmm2
call fcn.10030060
movss xmm0, dword [esp + 0xfc]
mov edi, eax
push edi
push dword [esp + 0xd8]
lea eax, [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0xd4]
movss dword [esp], xmm0
push eax
call fcn.10026c70
movss xmm0, dword [esp + 0xfc]
lea eax, [esp + 0xa0]
addss xmm0, dword [0x10076240]
push ecx
mov dword [esp], 0x3f800000
push edi
push dword [esp + 0xc4]
push ecx
mov ecx, dword [esp + 0xd8]
movss dword [esp], xmm0
push eax
call fcn.10026b90
movss xmm0, dword [esp + 0xfc]
lea eax, [esp + 0xa0]
push ecx
mov dword [esp], 0x3f800000
push edi
push dword [esp + 0xc8]
mov edi, dword [esp + 0xd4]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push eax
call fcn.10026b90
cmp dword [esp + 0x50], 0x10000
jne 0x1004a93f
mov eax, dword [esp + 0x48]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0xc]
comiss xmm0, xmm1
ja 0x1004a76c
movss xmm0, dword [0x10076240]
minss xmm0, xmm1
movss dword [esp + 0x4c], xmm0
movss xmm2, dword [esp + 0xb0]
movss xmm0, dword [esp + 0xe8]
movaps xmm1, xmm2
addss xmm1, dword [esp + 0xcc]
push 0
push ecx
mov dword [esp], 0
mov dword [esp + 0x120], 0
push dword [esp + 0x120]
movss dword [esp + 0x8c], xmm1
subss xmm1, xmm2
movss dword [esp + 0x88], xmm0
addss xmm0, dword [esp + 0x100]
mov dword [esp + 0x120], 0
push dword [esp + 0x120]
mulss xmm1, dword [0x10076238]
push ecx
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x8c], xmm2
movss dword [esp], xmm1
push 0
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push edi
call fcn.1002e4d0
mov ecx, dword [esp + 0x100]
add esp, 0x2c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
lea eax, [esp + 0x90]
mov ecx, edi
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.10028f50
movss xmm0, dword [0x10076240]
subss xmm0, dword [esp + 0x4c]
push ecx
mov dword [esp], 0
push dword [esp + 0x88]
mulss xmm0, dword [esp + 0xfc]
push dword [esp + 0x88]
addss xmm0, dword [esp + 0xf4]
push dword [esp + 0x88]
push dword [esp + 0x88]
addss xmm0, dword [0x10076238]
cvttss2si edi, xmm0
call fcn.1001cc70
add esp, 0xc
movss xmm0, dword [esp + 0xb8]
subss xmm0, dword [0x10076240]
movd xmm2, esi
mov esi, dword [esp + 0xf8]
cvtdq2ps xmm2, xmm2
movss dword [esp + 0x78], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x120], xmm2
movss dword [esp + 0x7c], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x10076240]
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [esi + 0x3788]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0xd4]
addss xmm0, dword [0x1007624c]
movss dword [esp], xmm0
push dword [esp + 0x120]
push dword [esp + 0x120]
push dword [esp + 0x84]
push dword [esp + 0x84]
push dword [esp + 0xe0]
call fcn.10051300
add esp, 0x1c
jmp 0x1004a946
mov esi, dword [esp + 0xf0]
call fcn.1000ea00
cmp byte [esp + 0x11f], 0
je 0x1004a9d0
mov edi, dword [esp + 0x64]
lea edx, [esp + 0x120]
mov ecx, dword [esp + 0x48]
sub edi, 4
jb 0x1004a981
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x1004a986
add edx, 4
add ecx, 4
sub edi, 4
jae 0x1004a970
cmp edi, 0xfffffffc
je 0x1004a9c8
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x1004a9b3
cmp edi, 0xfffffffd
je 0x1004a9c8
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x1004a9b3
cmp edi, 0xfffffffe
je 0x1004a9c8
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x1004a9b3
cmp edi, 0xffffffff
je 0x1004a9c8
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x1004a9c8
mov eax, dword [esi + 0x46e0]
test eax, eax
je 0x1004a9d0
push eax
call fcn.10015a80
add esp, 4
jmp 0x1004a9d0
mov byte [esp + 0x11f], 0
cmp dword [esp + 0x18], 0
jne 0x1004a9e1
mov dword [esi + 0x5a14], 0
call fcn.1001b420
mov ecx, dword [esp + 0x14c]
mov al, byte [esp + 0x11f]
pop edi
pop esi
xor ecx, esp
call fcn.10071a96
add esp, 0x148
ret