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

Disassembly:
sub esp, 0x148
mov eax, dword [0x10092c4c]
xor eax, esp
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x14c]
push esi
mov esi, dword [0x10093708]
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 0x1004b0d6
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.10074697
add esp, 0x148
ret
mov eax, dword [eax + 0x264]
mov dword [esp + 0xc8], eax
call fcn.1000d2d0
push dword [esp + 0xfc]
fstp dword [esp + 0x50]
mov dword [esi + 0x46c0], 0
mov dword [esi + 0x46c4], 0
call fcn.1001e140
mov eax, dword [esi + 0x5a14]
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1004b162
mov eax, dword [esp + 0xb0]
cmp dword [eax + 0xe4], 0
jg 0x1004b14c
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.1000c9a0
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 0x1004b193
push edx
push edi
call fcn.1004d3f0
mov edx, dword [esp + 0x6c]
add esp, 8
test edx, 0x6000000
jne 0x1004b1b8
mov eax, dword [esi + 0x5a10]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x1004b1ba
mov ecx, edx
mov dword [esp + 0x104], ecx
test ecx, 0x18000000
jne 0x1004b1eb
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 0x1004b1fc
lea eax, [edx - 1]
test edx, eax
je 0x1004b21b
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 0x1004b22c
lea eax, [edx - 1]
test edx, eax
je 0x1004b24b
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 0x1004b264
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.10012d50
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 [0x10079268]
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 [0x10079278]
movaps xmm0, xmm1
mulss xmm0, dword [0x10088c24]
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 [0x10079278]
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 [0x10088c20]
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 [0x10088c9c]
movaps xmm0, xmm2
mov eax, dword [esp + 0x104]
mov ecx, eax
mulss xmm0, dword [0x10088ca0]
and ecx, 0x8000000
mov dword [esp + 0xec], ecx
mulss xmm2, dword [0x10088c38]
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 0x1004b4f4
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.1000eb30
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x128]
push eax
push edi
call fcn.1004af70
add esp, 0x28
jmp 0x1004b526
test eax, 0x10000000
je 0x1004b526
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.1000e9a0
add esp, 0x18
push 1
push 8
mov byte [esp + 0x127], 0
mov byte [esp + 0x125], 0
mov byte [esp + 0x124], 0
call fcn.1001e250
mov eax, dword [esp + 0x10c]
add esp, 8
mov ecx, eax
and ecx, 0x4000000
mov dword [esp + 0xac], ecx
je 0x1004b981
movss xmm1, dword [esp + 0xf4]
lea eax, [esp + 0x114]
mov ecx, dword [esp + 0xf0]
movaps xmm0, xmm1
push 0
push eax
push 0x10088258
addss xmm0, dword [ecx + 0x37dc]
movss dword [esp + 0x124], xmm1
addss xmm0, dword [esp + 0xd8]
movss dword [esp + 0x120], xmm0
call fcn.10053680
add esp, 0xc
call fcn.100165b0
test al, al
je 0x1004b95f
mov eax, dword [esp + 0xf0]
movss xmm1, dword [0x10079280]
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 0x1004b6fd
movss xmm0, dword [esp + 0xb4]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm3
jb 0x1004b6fd
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 [0x100858c0]
xorps xmm1, xmm1
fstp qword [esp + 0x114]
movsd xmm0, qword [esp + 0x114]
cvtpd2ps xmm0, xmm0
divss xmm0, xmm2
mulss xmm0, dword [0x10079278]
comiss xmm1, xmm0
movss dword [esp + 0x108], xmm0
jbe 0x1004b6f2
addss xmm0, dword [0x10079280]
movss dword [esp + 0x108], xmm0
mov al, 1
mov byte [esp + 0x11f], al
jmp 0x1004b715
movss xmm0, dword [esp + 0x108]
movss xmm2, dword [0x100858c0]
mov al, byte [esp + 0x11f]
xorps xmm0, xmmword [0x10079300]
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.10015d40
add esp, 0x10
test al, al
je 0x1004b95f
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.10015d40
add esp, 0x10
test al, al
jne 0x1004b8b2
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.10015aa0
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.100159e0
movss xmm0, dword [0x10079280]
add esp, 0x1c
movss xmm1, dword [0x10088c1c]
movaps xmm3, xmm0
subss xmm3, dword [esp + 0xdc]
comiss xmm1, xmm3
jbe 0x1004b90f
movaps xmm2, xmm1
jmp 0x1004b916
movaps xmm2, xmm0
minss xmm2, xmm3
movss xmm3, dword [esp + 0xd8]
divss xmm3, xmm2
movss dword [esp + 0xe0], xmm2
comiss xmm1, xmm3
ja 0x1004b938
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 0x1004bbfa
push 1
push str.context
call fcn.1001d730
add esp, 8
jmp 0x1004bbfa
test eax, 0x2000000
je 0x1004bbfa
movss xmm0, dword [esp + 0xf4]
lea eax, [esp + 0x114]
push 0
push eax
push 0x1008825c
movss dword [esp + 0x120], xmm0
movss dword [esp + 0x124], xmm0
call fcn.10053680
movss xmm0, dword [esp + 0x100]
add esp, 0xc
subss xmm0, dword [0x10079280]
movss dword [esp + 0xc4], xmm0
call fcn.100165b0
test al, al
je 0x1004bafc
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.1004f890
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.1004f890
fld1
add esp, 4
mov ecx, dword [0x10093708]
fsubrp st(1)
mov dword [esp + 0xbc], ecx
fstp dword [esp + 0xe0]
cmp dword [ecx + 0x5a14], 0
jne 0x1004ba7f
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 0x1004baf1
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.1000e8e0
mov ecx, dword [esp + 0xc0]
add esp, 4
cmp dword [ecx + 0x5a24], eax
jne 0x1004baf1
movss xmm0, dword [ecx + 0x5a1c]
movss dword [esp + 0x108], xmm0
mov al, 1
mov byte [esp + 0x11f], al
jmp 0x1004bb03
mov al, byte [esp + 0x11f]
test byte [esp + 0x104], 8
mov byte [esp + 0x11e], al
jne 0x1004bb23
push 1
push str.context
call fcn.1001d730
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.10021de0
movss xmm0, dword [esp + 0xd0]
lea eax, [esp + 0x118]
push 0
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [esp + 0xfc]
push eax
push 0x10088260
movss dword [esp + 0x128], xmm0
call fcn.10053680
mov al, byte [esp + 0x12f]
add esp, 0x10
mov byte [esp + 0x11c], al
call fcn.100165b0
test al, al
je 0x1004bbfa
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.1004f890
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 0x1004bcd6
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.10021de0
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.10053680
add esp, 0x10
call fcn.100165b0
test al, al
je 0x1004bcd6
mov eax, dword [esp + 0xf0]
movss xmm0, dword [esp + 0xf4]
movss xmm1, dword [0x10079280]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xdc0]
subss xmm2, dword [esp + 0xe8]
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x1004bcbb
xorps xmm3, xmm3
jmp 0x1004bcc2
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov byte [esp + 0x11f], 1
subss xmm0, xmm3
movss dword [edi + 0xc], xmm0
call fcn.1001db90
mov eax, dword [esp + 0x104]
mov ecx, eax
and ecx, 0x100
mov dword [esp + 0xc4], ecx
jne 0x1004bd26
mov eax, dword [esp + 0xf0]
sub esp, 8
movss xmm0, dword [eax + 0x37dc]
movss dword [esp + 4], xmm0
mov dword [esp], 0
call fcn.10021380
add esp, 8
call fcn.1000c9a0
mov eax, dword [esp + 0x104]
and eax, 0x80
mov dword [esp + 0xd8], eax
jne 0x1004bd9f
push 0
push dword [esp + 0x100]
call fcn.10012250
add esp, 8
mov dword [esp + 0xdc], eax
cmp dword [esp + 0xfc], eax
je 0x1004bd9f
cmp dword [esp + 0xc4], 0
je 0x1004bd8d
mov eax, dword [esp + 0xf0]
sub esp, 8
movss xmm0, dword [eax + 0x37dc]
movss dword [esp + 4], xmm0
mov dword [esp], 0
call fcn.10021380
mov eax, dword [esp + 0xe4]
add esp, 8
push 0
push eax
push dword [esp + 0x104]
call fcn.10059900
add esp, 0xc
cmp dword [esp + 0xc4], 0
jne 0x1004bf5c
push 1
push 0x10
call fcn.1001e250
add esp, 8
cmp dword [esp + 0xd0], 0
je 0x1004bdcd
movss xmm1, dword [0x10079280]
jmp 0x1004bdd2
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 0x1004be0f
push str.Current
call fcn.100597b0
add esp, 4
movss xmm0, dword [esp + 0xcc]
lea ecx, [esp + 0x114]
mulss xmm0, dword [0x10079290]
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 [0x1007928c]
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.100496e0
add esp, 0x10
cmp dword [esp + 0xc0], 0
je 0x1004bf52
push str.Original
call fcn.100597b0
mov eax, dword [esp + 0xc4]
add esp, 4
cmp dword [esp + 0xd0], 0
je 0x1004beb9
movss xmm1, dword [0x10079280]
jmp 0x1004bebe
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.100496e0
add esp, 0x10
test al, al
je 0x1004bf52
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.1001db90
call fcn.10011020
cmp byte [esp + 0x11d], 0
jne 0x1004bf74
cmp byte [esp + 0x11c], 0
je 0x1004c045
cmp dword [esp + 0xec], 0
je 0x1004c071
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.1000e9a0
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.1000e8e0
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 0x1004c2cf
cmp dword [esp + 0x50], 0x10000
jne 0x1004c0aa
movss xmm0, dword [esp + 0xb0]
jmp 0x1004c0b3
mov eax, dword [esp + 0x104]
test eax, 0x10000000
je 0x1004c04c
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 0x1004c04c
movss xmm0, dword [esp + 0x94]
addss xmm0, dword [esp + 0xcc]
push ecx
subss xmm0, dword [esp + 0xe8]
movss dword [esp], xmm0
call fcn.1001e310
mov eax, dword [esp + 0x108]
add esp, 4
mov edx, eax
and edx, 0x198e001a
mov dword [esp + 0xd0], edx
test eax, 0x100000
jne 0x1004c10e
mov ecx, eax
and ecx, 0x700000
mov dword [esp + 0xfc], ecx
jne 0x1004c189
mov dword [esp + 0xfc], ecx
jmp 0x1004c11a
and eax, 0x700000
mov dword [esp + 0xfc], eax
or edx, 0x100004
push edx
push edi
push str.rgb
call fcn.10049ca0
add esp, 0xc
test al, al
je 0x1004c174
mov eax, dword [esp + 0xf0]
cmp dword [eax + 0x3eac], 0
je 0x1004c154
cmp byte [eax + 0x3eb9], 0
mov byte [esp + 0x11e], 1
je 0x1004c15c
mov byte [esp + 0x11e], 0
mov ecx, dword [esp + 0xfc]
mov byte [esp + 0x11f], 1
mov dword [esp + 0xfc], ecx
jmp 0x1004c17b
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0x104]
test eax, 0x200000
jne 0x1004c194
test ecx, ecx
jne 0x1004c1be
or edx, 0x200004
push edx
push edi
push str.hsv
call fcn.10049ca0
mov ecx, dword [esp + 0x108]
add esp, 0xc
or byte [esp + 0x11f], al
mov eax, dword [esp + 0x104]
test eax, 0x400000
jne 0x1004c1c9
test ecx, ecx
jne 0x1004c1eb
mov eax, dword [esp + 0xd0]
or eax, 0x400004
push eax
push edi
push str.hex
call fcn.10049ca0
add esp, 0xc
or byte [esp + 0x11f], al
call fcn.1001dc20
cmp byte [esp + 0x11e], 0
mov ecx, dword [esp + 0xec]
je 0x1004c3ad
test ecx, ecx
je 0x1004c3ad
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.1000eb30
xorps xmm0, xmm0
add esp, 0x18
comiss xmm0, dword [esp + 0xdc]
jb 0x1004c2c8
movss xmm3, dword [esp + 0x108]
comiss xmm3, xmm0
jbe 0x1004c2c8
movss xmm2, dword [esp + 0xd8]
comiss xmm0, xmm2
jb 0x1004c363
movss xmm1, dword [esp + 0xe0]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x1004c363
mulss xmm1, dword [0x10079278]
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.1000e9a0
add esp, 0x18
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0xec]
cmp byte [esp + 0x11f], 0
je 0x1004c414
test ecx, ecx
je 0x1004c3b9
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.1000eb30
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x128]
push eax
push edi
call fcn.1004af70
add esp, 0x28
jmp 0x1004c414
comiss xmm0, dword [esp + 0xd4]
jb 0x1004c2c8
movss xmm0, dword [esp + 0xf8]
lea eax, [edi + 8]
mulss xmm0, dword [0x10079278]
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 0x1004c2c0
mov eax, dword [esp + 0x104]
jmp 0x1004c2d6
test eax, 0x10000000
je 0x1004c414
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.1000e9a0
add esp, 0x18
mov edi, dword [esp + 0xf0]
xorps xmm0, xmm0
movss xmm1, dword [edi + 0x3788]
comiss xmm0, xmm1
ja 0x1004c437
movss xmm0, dword [0x10079280]
minss xmm0, xmm1
mulss xmm0, dword [0x10080454]
mov dword [esp + 8], 0x3f800000
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 0x10], 0x3f800000
addss xmm0, dword [0x10079278]
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.1000e9a0
lea eax, [esp + 0x20]
push eax
call fcn.1000e8e0
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.1000e8e0
movss xmm2, dword [0x10080448]
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 0x1004cc2b
movss xmm4, dword [esp + 0xb4]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x10079278]
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 [0x10079278]
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 [0x10079280]
divss xmm0, xmm2
divss xmm1, xmm2
addss xmm0, xmm0
addss xmm1, xmm1
mulss xmm0, dword [0x100858c0]
mulss xmm1, dword [0x100858c0]
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.1002fa10
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.1002a680
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.100316e0
mov ecx, dword [esp + 0xf4]
add esp, 0x24
movss xmm2, dword [0x10080448]
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 0x1004c635
movss xmm0, dword [esp + 0x108]
mulss xmm0, dword [0x1007928c]
mulss xmm0, dword [0x100858c0]
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 [0x10079278]
addss xmm0, dword [esp + 0x98]
movss dword [esp + 0x80], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x58]
mulss xmm0, dword [0x10079278]
addss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0xb8]
je 0x1004c8c3
mulss xmm0, dword [0x10080410]
jmp 0x1004c8cb
mulss xmm0, dword [0x10088c30]
push ecx
mov ecx, esi
movss dword [esp + 0xbc], xmm0
movss dword [esp], xmm0
call fcn.10032770
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.10029380
movss xmm0, dword [esp + 0xb8]
lea eax, [esp + 0x80]
addss xmm0, dword [0x10079280]
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.100292a0
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.100292a0
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.10012ce0
add esp, 4
mov ecx, edi
push 3
push 3
call fcn.100302e0
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.1002b9c0
movss xmm0, dword [0x10079280]
movaps xmm2, xmm0
xorps xmm1, xmm1
subss xmm2, dword [esp + 0xe0]
comiss xmm1, xmm2
jbe 0x1004cb96
xorps xmm4, xmm4
jmp 0x1004cb9d
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm2, dword [esp + 0xf8]
comiss xmm1, xmm2
ja 0x1004cbb2
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 [0x10080448]
addss xmm1, xmm3
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0xa0], xmm1
jmp 0x1004d056
test dword [esp + 0x104], 0x2000000
je 0x1004d04f
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.1002b660
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.1002b660
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.1001f380
movss xmm2, dword [esp + 0x10c]
xorps xmm1, xmm1
movss xmm0, dword [0x10079280]
add esp, 0x14
comiss xmm1, xmm2
jbe 0x1004cd7f
xorps xmm3, xmm3
jmp 0x1004cd86
movaps xmm3, xmm0
minss xmm3, xmm2
movss xmm2, dword [esp + 0xf4]
movss xmm4, dword [esp + 0xe4]
movss xmm7, dword [0x10079278]
mulss xmm3, xmm2
movss xmm6, dword [0x1007928c]
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 0x1004cdde
movss dword [esp + 0xa0], xmm3
jmp 0x1004cdf7
comiss xmm5, xmm4
jbe 0x1004cdee
movss dword [esp + 0xa0], xmm4
jmp 0x1004cdf7
movss dword [esp + 0xa0], xmm5
movaps xmm3, xmm0
subss xmm3, dword [esp + 0xe0]
comiss xmm1, xmm3
jbe 0x1004ce0d
xorps xmm0, xmm0
jmp 0x1004ce11
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 0x1004ce53
movss dword [esp + 0xa4], xmm3
jmp 0x1004ce6c
comiss xmm4, xmm0
jbe 0x1004ce63
movss dword [esp + 0xa4], xmm0
jmp 0x1004ce6c
movss dword [esp + 0xa4], xmm4
divss xmm2, dword [0x10080448]
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.1002b660
movss xmm1, dword [esp + 0xe8]
mov ecx, edi
cmp ecx, 6
jge 0x1004cf1e
movss xmm2, dword [esp + 0xac]
jmp 0x1004ce86
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 [0x10079278]
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.1001f380
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 [0x10079280]
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [esp + 0x9c]
subss xmm0, dword [0x10079280]
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 [0x1007928c]
movss dword [esp], xmm0
push dword [esp + 0x120]
push dword [esp + 0x120]
push dword [esp + 0x84]
push dword [esp + 0x84]
push edi
call fcn.10053d20
movss xmm2, dword [0x10080448]
add esp, 0x1c
jmp 0x1004d056
mov edi, dword [esp + 0xc8]
cmp byte [esp + 0x11c], 0
je 0x1004d071
movss xmm2, dword [0x100792b0]
movss dword [esp + 0xfc], xmm2
push ecx
mov ecx, edi
movss dword [esp], xmm2
call fcn.10032770
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.10029380
movss xmm0, dword [esp + 0xfc]
lea eax, [esp + 0xa0]
addss xmm0, dword [0x10079280]
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.100292a0
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.100292a0
cmp dword [esp + 0x50], 0x10000
jne 0x1004d31f
mov eax, dword [esp + 0x48]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0xc]
comiss xmm0, xmm1
ja 0x1004d14c
movss xmm0, dword [0x10079280]
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 [0x10079278]
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.10030be0
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.1002b660
movss xmm0, dword [0x10079280]
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 [0x10079278]
cvttss2si edi, xmm0
call fcn.1001f380
add esp, 0xc
movss xmm0, dword [esp + 0xb8]
subss xmm0, dword [0x10079280]
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 [0x10079280]
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [esi + 0x3788]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0xd4]
addss xmm0, dword [0x1007928c]
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.10053d20
add esp, 0x1c
jmp 0x1004d326
mov esi, dword [esp + 0xf0]
call fcn.10011020
cmp byte [esp + 0x11f], 0
je 0x1004d3b0
mov edi, dword [esp + 0x64]
lea edx, [esp + 0x120]
mov ecx, dword [esp + 0x48]
sub edi, 4
jb 0x1004d361
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x1004d366
add edx, 4
add ecx, 4
sub edi, 4
jae 0x1004d350
cmp edi, 0xfffffffc
je 0x1004d3a8
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x1004d393
cmp edi, 0xfffffffd
je 0x1004d3a8
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x1004d393
cmp edi, 0xfffffffe
je 0x1004d3a8
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x1004d393
cmp edi, 0xffffffff
je 0x1004d3a8
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x1004d3a8
mov eax, dword [esi + 0x46e0]
test eax, eax
je 0x1004d3b0
push eax
call fcn.100181a0
add esp, 4
jmp 0x1004d3b0
mov byte [esp + 0x11f], 0
cmp dword [esp + 0x18], 0
jne 0x1004d3c1
mov dword [esi + 0x5a14], 0
call fcn.1001db30
mov ecx, dword [esp + 0x14c]
mov al, byte [esp + 0x11f]
pop edi
pop esi
xor ecx, esp
call fcn.10074697
add esp, 0x148
ret