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

Disassembly:
sub esp, 0x148
mov eax, dword [0x10091c88]
xor eax, esp
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0x14c]
push esi
mov esi, dword [0x10092748]
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 0x1004a106
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.10073896
add esp, 0x148
ret
mov eax, dword [eax + 0x264]
mov dword [esp + 0xc8], eax
call fcn.1000c690
push dword [esp + 0xfc]
fstp dword [esp + 0x50]
mov dword [esi + 0x46c0], 0
mov dword [esi + 0x46c4], 0
call fcn.1001d410
mov eax, dword [esi + 0x5a14]
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1004a192
mov eax, dword [esp + 0xb0]
cmp dword [eax + 0xe4], 0
jg 0x1004a17c
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.1000bd60
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 0x1004a1c3
push edx
push edi
call fcn.1004c420
mov edx, dword [esp + 0x6c]
add esp, 8
test edx, 0x6000000
jne 0x1004a1e8
mov eax, dword [esi + 0x5a10]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x1004a1ea
mov ecx, edx
mov dword [esp + 0x104], ecx
test ecx, 0x18000000
jne 0x1004a21b
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 0x1004a22c
lea eax, [edx - 1]
test edx, eax
je 0x1004a24b
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 0x1004a25c
lea eax, [edx - 1]
test edx, eax
je 0x1004a27b
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 0x1004a294
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.100120f0
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 [0x10078240]
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 [0x10078250]
movaps xmm0, xmm1
mulss xmm0, dword [0x10087ae4]
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 [0x10078250]
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 [0x10087ae0]
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 [0x10087b5c]
movaps xmm0, xmm2
mov eax, dword [esp + 0x104]
mov ecx, eax
mulss xmm0, dword [0x10087b60]
and ecx, 0x8000000
mov dword [esp + 0xec], ecx
mulss xmm2, dword [0x10087af8]
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 0x1004a524
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.1000def0
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x128]
push eax
push edi
call fcn.10049f90
add esp, 0x28
jmp 0x1004a556
test eax, 0x10000000
je 0x1004a556
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.1000dd60
add esp, 0x18
push 1
push 8
mov byte [esp + 0x127], 0
mov byte [esp + 0x125], 0
mov byte [esp + 0x124], 0
call fcn.1001d520
mov eax, dword [esp + 0x10c]
add esp, 8
mov ecx, eax
and ecx, 0x4000000
mov dword [esp + 0xac], ecx
je 0x1004a9b1
movss xmm1, dword [esp + 0xf4]
lea eax, [esp + 0x114]
mov ecx, dword [esp + 0xf0]
movaps xmm0, xmm1
push 0
push eax
push 0x10087238
addss xmm0, dword [ecx + 0x37dc]
movss dword [esp + 0x124], xmm1
addss xmm0, dword [esp + 0xd8]
movss dword [esp + 0x120], xmm0
call fcn.10052670
add esp, 0xc
call fcn.100158d0
test al, al
je 0x1004a98f
mov eax, dword [esp + 0xf0]
movss xmm1, dword [0x10078258]
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 0x1004a72d
movss xmm0, dword [esp + 0xb4]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm3
jb 0x1004a72d
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 [0x100848a0]
xorps xmm1, xmm1
fstp qword [esp + 0x114]
movsd xmm0, qword [esp + 0x114]
cvtpd2ps xmm0, xmm0
divss xmm0, xmm2
mulss xmm0, dword [0x10078250]
comiss xmm1, xmm0
movss dword [esp + 0x108], xmm0
jbe 0x1004a722
addss xmm0, dword [0x10078258]
movss dword [esp + 0x108], xmm0
mov al, 1
mov byte [esp + 0x11f], al
jmp 0x1004a745
movss xmm0, dword [esp + 0x108]
movss xmm2, dword [0x100848a0]
mov al, byte [esp + 0x11f]
xorps xmm0, xmmword [0x100782e0]
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.10015070
add esp, 0x10
test al, al
je 0x1004a98f
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.10015070
add esp, 0x10
test al, al
jne 0x1004a8e2
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.10014dd0
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.10014d10
movss xmm0, dword [0x10078258]
add esp, 0x1c
movss xmm1, dword [0x10087adc]
movaps xmm3, xmm0
subss xmm3, dword [esp + 0xdc]
comiss xmm1, xmm3
jbe 0x1004a93f
movaps xmm2, xmm1
jmp 0x1004a946
movaps xmm2, xmm0
minss xmm2, xmm3
movss xmm3, dword [esp + 0xd8]
divss xmm3, xmm2
movss dword [esp + 0xe0], xmm2
comiss xmm1, xmm3
ja 0x1004a968
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 0x1004ac2a
push 1
push str.context
call fcn.1001ca00
add esp, 8
jmp 0x1004ac2a
test eax, 0x2000000
je 0x1004ac2a
movss xmm0, dword [esp + 0xf4]
lea eax, [esp + 0x114]
push 0
push eax
push 0x1008723c
movss dword [esp + 0x120], xmm0
movss dword [esp + 0x124], xmm0
call fcn.10052670
movss xmm0, dword [esp + 0x100]
add esp, 0xc
subss xmm0, dword [0x10078258]
movss dword [esp + 0xc4], xmm0
call fcn.100158d0
test al, al
je 0x1004ab2c
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.1004e880
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.1004e880
fld1
add esp, 4
mov ecx, dword [0x10092748]
fsubrp st(1)
mov dword [esp + 0xbc], ecx
fstp dword [esp + 0xe0]
cmp dword [ecx + 0x5a14], 0
jne 0x1004aaaf
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 0x1004ab21
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.1000dca0
mov ecx, dword [esp + 0xc0]
add esp, 4
cmp dword [ecx + 0x5a24], eax
jne 0x1004ab21
movss xmm0, dword [ecx + 0x5a1c]
movss dword [esp + 0x108], xmm0
mov al, 1
mov byte [esp + 0x11f], al
jmp 0x1004ab33
mov al, byte [esp + 0x11f]
test byte [esp + 0x104], 8
mov byte [esp + 0x11e], al
jne 0x1004ab53
push 1
push str.context
call fcn.1001ca00
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.100210b0
movss xmm0, dword [esp + 0xd0]
lea eax, [esp + 0x118]
push 0
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [esp + 0xfc]
push eax
push 0x10087240
movss dword [esp + 0x128], xmm0
call fcn.10052670
mov al, byte [esp + 0x12f]
add esp, 0x10
mov byte [esp + 0x11c], al
call fcn.100158d0
test al, al
je 0x1004ac2a
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.1004e880
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 0x1004ad06
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.100210b0
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.10052670
add esp, 0x10
call fcn.100158d0
test al, al
je 0x1004ad06
mov eax, dword [esp + 0xf0]
movss xmm0, dword [esp + 0xf4]
movss xmm1, dword [0x10078258]
subss xmm0, xmm1
movss xmm2, dword [eax + 0xdc0]
subss xmm2, dword [esp + 0xe8]
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x1004aceb
xorps xmm3, xmm3
jmp 0x1004acf2
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov byte [esp + 0x11f], 1
subss xmm0, xmm3
movss dword [edi + 0xc], xmm0
call fcn.1001ce60
mov eax, dword [esp + 0x104]
mov ecx, eax
and ecx, 0x100
mov dword [esp + 0xc4], ecx
jne 0x1004ad56
mov eax, dword [esp + 0xf0]
sub esp, 8
movss xmm0, dword [eax + 0x37dc]
movss dword [esp + 4], xmm0
mov dword [esp], 0
call fcn.10020650
add esp, 8
call fcn.1000bd60
mov eax, dword [esp + 0x104]
and eax, 0x80
mov dword [esp + 0xd8], eax
jne 0x1004adcf
push 0
push dword [esp + 0x100]
call fcn.100115f0
add esp, 8
mov dword [esp + 0xdc], eax
cmp dword [esp + 0xfc], eax
je 0x1004adcf
cmp dword [esp + 0xc4], 0
je 0x1004adbd
mov eax, dword [esp + 0xf0]
sub esp, 8
movss xmm0, dword [eax + 0x37dc]
movss dword [esp + 4], xmm0
mov dword [esp], 0
call fcn.10020650
mov eax, dword [esp + 0xe4]
add esp, 8
push 0
push eax
push dword [esp + 0x104]
call fcn.100588f0
add esp, 0xc
cmp dword [esp + 0xc4], 0
jne 0x1004af8c
push 1
push 0x10
call fcn.1001d520
add esp, 8
cmp dword [esp + 0xd0], 0
je 0x1004adfd
movss xmm1, dword [0x10078258]
jmp 0x1004ae02
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 0x1004ae3f
push str.Current
call fcn.100587a0
add esp, 4
movss xmm0, dword [esp + 0xcc]
lea ecx, [esp + 0x114]
mulss xmm0, dword [0x10078268]
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 [0x10078264]
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.10048710
add esp, 0x10
cmp dword [esp + 0xc0], 0
je 0x1004af82
push str.Original
call fcn.100587a0
mov eax, dword [esp + 0xc4]
add esp, 4
cmp dword [esp + 0xd0], 0
je 0x1004aee9
movss xmm1, dword [0x10078258]
jmp 0x1004aeee
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.10048710
add esp, 0x10
test al, al
je 0x1004af82
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.1001ce60
call fcn.100103d0
cmp byte [esp + 0x11d], 0
jne 0x1004afa4
cmp byte [esp + 0x11c], 0
je 0x1004b075
cmp dword [esp + 0xec], 0
je 0x1004b0a1
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.1000dd60
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.1000dca0
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 0x1004b2ff
cmp dword [esp + 0x50], 0x10000
jne 0x1004b0da
movss xmm0, dword [esp + 0xb0]
jmp 0x1004b0e3
mov eax, dword [esp + 0x104]
test eax, 0x10000000
je 0x1004b07c
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 0x1004b07c
movss xmm0, dword [esp + 0x94]
addss xmm0, dword [esp + 0xcc]
push ecx
subss xmm0, dword [esp + 0xe8]
movss dword [esp], xmm0
call fcn.1001d5e0
mov eax, dword [esp + 0x108]
add esp, 4
mov edx, eax
and edx, 0x198e001a
mov dword [esp + 0xd0], edx
test eax, 0x100000
jne 0x1004b13e
mov ecx, eax
and ecx, 0x700000
mov dword [esp + 0xfc], ecx
jne 0x1004b1b9
mov dword [esp + 0xfc], ecx
jmp 0x1004b14a
and eax, 0x700000
mov dword [esp + 0xfc], eax
or edx, 0x100004
push edx
push edi
push str.rgb
call fcn.10048cc0
add esp, 0xc
test al, al
je 0x1004b1a4
mov eax, dword [esp + 0xf0]
cmp dword [eax + 0x3eac], 0
je 0x1004b184
cmp byte [eax + 0x3eb9], 0
mov byte [esp + 0x11e], 1
je 0x1004b18c
mov byte [esp + 0x11e], 0
mov ecx, dword [esp + 0xfc]
mov byte [esp + 0x11f], 1
mov dword [esp + 0xfc], ecx
jmp 0x1004b1ab
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0x104]
test eax, 0x200000
jne 0x1004b1c4
test ecx, ecx
jne 0x1004b1ee
or edx, 0x200004
push edx
push edi
push str.hsv
call fcn.10048cc0
mov ecx, dword [esp + 0x108]
add esp, 0xc
or byte [esp + 0x11f], al
mov eax, dword [esp + 0x104]
test eax, 0x400000
jne 0x1004b1f9
test ecx, ecx
jne 0x1004b21b
mov eax, dword [esp + 0xd0]
or eax, 0x400004
push eax
push edi
push str.hex
call fcn.10048cc0
add esp, 0xc
or byte [esp + 0x11f], al
call fcn.1001cef0
cmp byte [esp + 0x11e], 0
mov ecx, dword [esp + 0xec]
je 0x1004b3dd
test ecx, ecx
je 0x1004b3dd
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.1000def0
xorps xmm0, xmm0
add esp, 0x18
comiss xmm0, dword [esp + 0xdc]
jb 0x1004b2f8
movss xmm3, dword [esp + 0x108]
comiss xmm3, xmm0
jbe 0x1004b2f8
movss xmm2, dword [esp + 0xd8]
comiss xmm0, xmm2
jb 0x1004b393
movss xmm1, dword [esp + 0xe0]
ucomiss xmm1, xmm2
lahf
test ah, 0x44
jnp 0x1004b393
mulss xmm1, dword [0x10078250]
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.1000dd60
add esp, 0x18
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0xec]
cmp byte [esp + 0x11f], 0
je 0x1004b444
test ecx, ecx
je 0x1004b3e9
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.1000def0
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x128]
push eax
push edi
call fcn.10049f90
add esp, 0x28
jmp 0x1004b444
comiss xmm0, dword [esp + 0xd4]
jb 0x1004b2f8
movss xmm0, dword [esp + 0xf8]
lea eax, [edi + 8]
mulss xmm0, dword [0x10078250]
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 0x1004b2f0
mov eax, dword [esp + 0x104]
jmp 0x1004b306
test eax, 0x10000000
je 0x1004b444
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.1000dd60
add esp, 0x18
mov edi, dword [esp + 0xf0]
xorps xmm0, xmm0
movss xmm1, dword [edi + 0x3788]
comiss xmm0, xmm1
ja 0x1004b467
movss xmm0, dword [0x10078258]
minss xmm0, xmm1
mulss xmm0, dword [0x1007f434]
mov dword [esp + 8], 0x3f800000
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 0x10], 0x3f800000
addss xmm0, dword [0x10078250]
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.1000dd60
lea eax, [esp + 0x20]
push eax
call fcn.1000dca0
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.1000dca0
movss xmm2, dword [0x1007f428]
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 0x1004bc5b
movss xmm4, dword [esp + 0xb4]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x10078250]
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 [0x10078250]
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 [0x10078258]
divss xmm0, xmm2
divss xmm1, xmm2
addss xmm0, xmm0
addss xmm1, xmm1
mulss xmm0, dword [0x100848a0]
mulss xmm1, dword [0x100848a0]
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.1002ed00
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.10029940
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.100309d0
mov ecx, dword [esp + 0xf4]
add esp, 0x24
movss xmm2, dword [0x1007f428]
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 0x1004b665
movss xmm0, dword [esp + 0x108]
mulss xmm0, dword [0x10078264]
mulss xmm0, dword [0x100848a0]
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 [0x10078250]
addss xmm0, dword [esp + 0x98]
movss dword [esp + 0x80], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x58]
mulss xmm0, dword [0x10078250]
addss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0xb8]
je 0x1004b8f3
mulss xmm0, dword [0x1007f3f0]
jmp 0x1004b8fb
mulss xmm0, dword [0x10087af0]
push ecx
mov ecx, esi
movss dword [esp + 0xbc], xmm0
movss dword [esp], xmm0
call fcn.10031a60
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.10028640
movss xmm0, dword [esp + 0xb8]
lea eax, [esp + 0x80]
addss xmm0, dword [0x10078258]
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.10028560
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.10028560
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.10012080
add esp, 4
mov ecx, edi
push 3
push 3
call fcn.1002f5d0
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.1002ac80
movss xmm0, dword [0x10078258]
movaps xmm2, xmm0
xorps xmm1, xmm1
subss xmm2, dword [esp + 0xe0]
comiss xmm1, xmm2
jbe 0x1004bbc6
xorps xmm4, xmm4
jmp 0x1004bbcd
movaps xmm4, xmm0
minss xmm4, xmm2
movss xmm2, dword [esp + 0xf8]
comiss xmm1, xmm2
ja 0x1004bbe2
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 [0x1007f428]
addss xmm1, xmm3
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0xa0], xmm1
jmp 0x1004c086
test dword [esp + 0x104], 0x2000000
je 0x1004c07f
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.1002a920
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.1002a920
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.1001e650
movss xmm2, dword [esp + 0x10c]
xorps xmm1, xmm1
movss xmm0, dword [0x10078258]
add esp, 0x14
comiss xmm1, xmm2
jbe 0x1004bdaf
xorps xmm3, xmm3
jmp 0x1004bdb6
movaps xmm3, xmm0
minss xmm3, xmm2
movss xmm2, dword [esp + 0xf4]
movss xmm4, dword [esp + 0xe4]
movss xmm7, dword [0x10078250]
mulss xmm3, xmm2
movss xmm6, dword [0x10078264]
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 0x1004be0e
movss dword [esp + 0xa0], xmm3
jmp 0x1004be27
comiss xmm5, xmm4
jbe 0x1004be1e
movss dword [esp + 0xa0], xmm4
jmp 0x1004be27
movss dword [esp + 0xa0], xmm5
movaps xmm3, xmm0
subss xmm3, dword [esp + 0xe0]
comiss xmm1, xmm3
jbe 0x1004be3d
xorps xmm0, xmm0
jmp 0x1004be41
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 0x1004be83
movss dword [esp + 0xa4], xmm3
jmp 0x1004be9c
comiss xmm4, xmm0
jbe 0x1004be93
movss dword [esp + 0xa4], xmm0
jmp 0x1004be9c
movss dword [esp + 0xa4], xmm4
divss xmm2, dword [0x1007f428]
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.1002a920
movss xmm1, dword [esp + 0xe8]
mov ecx, edi
cmp ecx, 6
jge 0x1004bf4e
movss xmm2, dword [esp + 0xac]
jmp 0x1004beb6
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 [0x10078250]
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.1001e650
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 [0x10078258]
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [esp + 0x9c]
subss xmm0, dword [0x10078258]
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 [0x10078264]
movss dword [esp], xmm0
push dword [esp + 0x120]
push dword [esp + 0x120]
push dword [esp + 0x84]
push dword [esp + 0x84]
push edi
call fcn.10052d10
movss xmm2, dword [0x1007f428]
add esp, 0x1c
jmp 0x1004c086
mov edi, dword [esp + 0xc8]
cmp byte [esp + 0x11c], 0
je 0x1004c0a1
movss xmm2, dword [0x10078288]
movss dword [esp + 0xfc], xmm2
push ecx
mov ecx, edi
movss dword [esp], xmm2
call fcn.10031a60
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.10028640
movss xmm0, dword [esp + 0xfc]
lea eax, [esp + 0xa0]
addss xmm0, dword [0x10078258]
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.10028560
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.10028560
cmp dword [esp + 0x50], 0x10000
jne 0x1004c34f
mov eax, dword [esp + 0x48]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0xc]
comiss xmm0, xmm1
ja 0x1004c17c
movss xmm0, dword [0x10078258]
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 [0x10078250]
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.1002fed0
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.1002a920
movss xmm0, dword [0x10078258]
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 [0x10078250]
cvttss2si edi, xmm0
call fcn.1001e650
add esp, 0xc
movss xmm0, dword [esp + 0xb8]
subss xmm0, dword [0x10078258]
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 [0x10078258]
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [esi + 0x3788]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0xd4]
addss xmm0, dword [0x10078264]
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.10052d10
add esp, 0x1c
jmp 0x1004c356
mov esi, dword [esp + 0xf0]
call fcn.100103d0
cmp byte [esp + 0x11f], 0
je 0x1004c3e0
mov edi, dword [esp + 0x64]
lea edx, [esp + 0x120]
mov ecx, dword [esp + 0x48]
sub edi, 4
jb 0x1004c391
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x1004c396
add edx, 4
add ecx, 4
sub edi, 4
jae 0x1004c380
cmp edi, 0xfffffffc
je 0x1004c3d8
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x1004c3c3
cmp edi, 0xfffffffd
je 0x1004c3d8
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x1004c3c3
cmp edi, 0xfffffffe
je 0x1004c3d8
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x1004c3c3
cmp edi, 0xffffffff
je 0x1004c3d8
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x1004c3d8
mov eax, dword [esi + 0x46e0]
test eax, eax
je 0x1004c3e0
push eax
call fcn.10017460
add esp, 4
jmp 0x1004c3e0
mov byte [esp + 0x11f], 0
cmp dword [esp + 0x18], 0
jne 0x1004c3f1
mov dword [esi + 0x5a14], 0
call fcn.1001ce00
mov ecx, dword [esp + 0x14c]
mov al, byte [esp + 0x11f]
pop edi
pop esi
xor ecx, esp
call fcn.10073896
add esp, 0x148
ret