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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x148
mov eax, dword [0x10124480]
xor eax, esp
mov dword [esp + 0x144], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x10124fa4]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x3e48]
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0xf0], edi
mov byte [eax + 0xac], 1
mov eax, dword [esi + 0x3e48]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x7c], eax
cmp byte [eax + 0xaf], 0
je 0x1005bedd
xor al, al
jmp 0x1005db9a
mov eax, dword [eax + 0x264]
mov dword [esp + 0x5c], eax
call fcn.1000ae04
push dword [esp + 0x78]
and dword [esi + 0x46a8], 0
fstp dword [esp + 0xc4]
call fcn.1000b6c3
mov eax, dword [esi + 0x5994]
mov dword [esp + 0x110], eax
pop ecx
test eax, eax
jne 0x1005bf2c
mov ecx, dword [esp + 0x7c]
add ecx, 0xe4
call fcn.10025703
mov eax, dword [eax]
mov dword [esi + 0x5994], eax
call fcn.1000b175
mov ecx, dword [ebp + 0x10]
or ecx, 0x10
test dword [ebp + 0x10], 0x100
cmovne ecx, dword [ebp + 0x10]
mov dword [esp + 0x54], ecx
test cl, 8
jne 0x1005bf58
push ecx
push edi
call fcn.1006a402
pop ecx
pop ecx
mov ecx, dword [esp + 0x54]
mov edx, 0x6000000
test edx, ecx
jne 0x1005bf7b
mov eax, dword [esi + 0x5990]
test edx, eax
mov edx, 0xa900000
cmovne edx, eax
and edx, 0x6000000
or edx, ecx
jmp 0x1005bf7d
mov edx, ecx
mov ecx, 0x18000000
mov dword [esp + 0x14], edx
test ecx, edx
jne 0x1005bfa6
mov eax, dword [esi + 0x5990]
test ecx, eax
mov ecx, 0xa900000
cmovne ecx, eax
and ecx, 0x18000000
or edx, ecx
mov dword [esp + 0x14], edx
mov eax, edx
and eax, 0x6000000
push eax
call fcn.1001f0e3
pop ecx
test al, al
jne 0x1005bfd3
push 0x150e
push str.E:SAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_widgets.cpp
push str.ImIsPowerOfTwo_flags__ImGuiColorEditFlags_PickerMask__
call fcn.100a16e1
mov edx, dword [esp + 0x20]
add esp, 0xc
mov eax, edx
and eax, 0x18000000
push eax
call fcn.1001f0e3
pop ecx
test al, al
jne 0x1005c000
push 0x150f
push str.E:SAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_widgets.cpp
push str.ImIsPowerOfTwo_flags__ImGuiColorEditFlags_InputMask__
call fcn.100a16e1
mov edx, dword [esp + 0x20]
add esp, 0xc
test dl, 8
jne 0x1005c016
mov eax, dword [esi + 0x5990]
and eax, 0x10000
or edx, eax
mov dword [esp + 0x14], edx
mov eax, edx
and edx, 0x10002
and eax, 2
mov dword [esp + 0xc8], edx
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x7c]
movss xmm0, dword [eax + 0xf0]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [eax + 0xf4]
movss dword [esp + 0x44], xmm0
call fcn.1000b691
movss xmm3, dword [esi + 0x37dc]
xor eax, eax
cmp dword [esp + 0xc8], 0x10000
movaps xmm0, xmm3
fstp dword [esp + 0x50]
movss xmm2, dword [esp + 0x50]
sete al
inc eax
addss xmm0, xmm2
cmp dword [esp + 0xd4], 0
push 0x10
movd xmm1, eax
cvtdq2ps xmm1, xmm1
pop eax
push 0xc
pop ecx
cmovne eax, ecx
push eax
mulss xmm1, xmm0
lea eax, [esp + 0x140]
push edi
movss xmm0, dword [esp + 0xc8]
push eax
subss xmm0, xmm1
movss xmm1, dword [esp + 0x4c]
maxss xmm0, xmm2
addss xmm1, xmm0
movss dword [esp + 0x3c], xmm0
addss xmm1, xmm3
movaps xmm0, xmm1
movss dword [esp + 0x80], xmm1
addss xmm0, xmm2
addss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100cb9f4]
cvttss2si esi, xmm0
movss dword [esp + 0xd0], xmm3
mov dword [esp + 0xcc], esi
call fcn.1009d190
movss xmm1, dword [esp + 0x3c]
add esp, 0xc
movaps xmm4, xmm1
and dword [esp + 0xdc], 0
mulss xmm4, dword [0x100c24a0]
movaps xmm0, xmm1
mulss xmm0, dword [0x100e72d4]
movaps xmm3, xmm4
movss dword [esp + 0x8c], xmm4
subss xmm3, xmm0
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x50]
mulss xmm0, dword [0x100c24a0]
movaps xmm2, xmm3
movss dword [esp + 0x64], xmm3
addss xmm0, xmm4
addss xmm0, dword [esp + 0x40]
movss dword [esp + 0x68], xmm0
movaps xmm0, xmm4
addss xmm0, dword [esp + 0x44]
movss dword [esp + 0x6c], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100e72cc]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
movaps xmm1, xmm2
movss dword [esp + 0xd8], xmm2
mulss xmm1, dword [0x100d9904]
movss dword [esp + 0xe0], xmm1
mov eax, dword [esp + 0x14]
movaps xmm0, xmm2
mulss xmm0, dword [0x100e734c]
mulss xmm2, dword [0x100e72f8]
movss dword [esp + 0xe8], xmm1
movss xmm1, dword [edi + 4]
movss dword [esp + 0xe4], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0xec], xmm2
movss xmm2, dword [edi + 8]
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x4c], xmm2
movss dword [esp + 0xb0], xmm0
movss dword [esp + 0xb4], xmm1
movss dword [esp + 0xb8], xmm2
test eax, 0x8000000
je 0x1005c261
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x24]
push eax
sub esp, 0xc
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.1000d468
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x3c]
push eax
push edi
call fcn.10073054
add esp, 0x28
jmp 0x1005c29c
test eax, 0x10000000
je 0x1005c29c
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0xb8]
push eax
sub esp, 0xc
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.1000d50e
add esp, 0x18
xor eax, eax
push 1
push 8
mov byte [esp + 0x1a], al
mov byte [esp + 0x22], al
mov byte [esp + 0x23], al
call fcn.1001411b
mov eax, dword [esp + 0x1c]
pop ecx
pop ecx
test eax, 0x4000000
je 0x1005c61b
movss xmm1, dword [esp + 0x30]
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x3c]
movaps xmm0, xmm1
push 0
push eax
push 0x100e66b0
addss xmm0, dword [ecx + 0x37dc]
movss dword [esp + 0x30], xmm1
addss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x2c], xmm0
call fcn.10057c06
add esp, 0xc
call fcn.1000cc2a
test al, al
je 0x1005c5fc
mov eax, dword [esp + 0x3c]
movss xmm0, dword [eax + 0xdc0]
subss xmm0, dword [esp + 0x68]
movss xmm2, dword [eax + 0x36b0]
subss xmm2, dword [esp + 0x68]
movss xmm3, dword [eax + 0x36b4]
subss xmm3, dword [esp + 0x6c]
movss dword [esp + 0x58], xmm0
movss dword [esp + 0x54], xmm0
movss xmm0, dword [eax + 0xdc4]
subss xmm0, dword [esp + 0x6c]
movaps xmm1, xmm3
movss dword [esp + 0x7c], xmm2
mulss xmm1, xmm3
movss dword [esp + 0x80], xmm3
movss dword [esp + 0x34], xmm0
movss dword [esp + 0xbc], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
movss xmm2, dword [0x100c24a4]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x64]
subss xmm0, xmm2
mulss xmm0, xmm0
comiss xmm1, xmm0
jb 0x1005c3f4
movss xmm0, dword [esp + 0x8c]
addss xmm0, xmm2
mulss xmm0, xmm0
comiss xmm0, xmm1
jb 0x1005c3f4
fld dword [esp + 0xbc]
xorps xmm0, xmm0
fld dword [esp + 0x54]
fpatan
fstp dword [esp + 0x54]
movss xmm1, dword [esp + 0x54]
mulss xmm1, dword [0x100e18b0]
comiss xmm0, xmm1
movss dword [esp + 0x1c], xmm1
jbe 0x1005c3ec
addss xmm1, xmm2
movss dword [esp + 0x1c], xmm1
mov al, 1
mov byte [esp + 0x12], al
jmp 0x1005c3fe
movss xmm1, dword [esp + 0x1c]
mov al, byte [esp + 0x12]
mulss xmm1, dword [0x100e7358]
mov byte [esp + 0x13], al
mulss xmm1, dword [0x100e18d4]
movaps xmm0, xmm1
call fcn.1009a690
mov al, byte [esp + 0x12]
movaps xmm2, xmm0
movaps xmm3, xmm2
mov byte [esp + 0x1a], al
shufps xmm3, xmm2, 1
lea eax, [esp + 0x20]
movaps xmm1, xmm3
movaps xmmword [esp + 0xa0], xmm2
mulss xmm1, dword [esp + 0x7c]
movaps xmm0, xmm2
push eax
mulss xmm0, dword [esp + 0x84]
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0xe8]
push eax
subss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x88]
lea eax, [esp + 0xe4]
push eax
movups xmmword [esp + 0xa0], xmm3
movss dword [esp + 0x30], xmm1
movaps xmm1, xmm3
mulss xmm1, dword [esp + 0x90]
addss xmm1, xmm0
movss dword [esp + 0x34], xmm1
call fcn.10010aa3
add esp, 0x10
test al, al
je 0x1005c5fc
movss xmm2, dword [esp + 0x58]
lea eax, [esp + 0x84]
movups xmm5, xmmword [esp + 0x90]
push eax
movss xmm3, dword [esp + 0x38]
movaps xmm1, xmm2
movaps xmm4, xmmword [esp + 0xa4]
lea eax, [esp + 0xec]
movaps xmm0, xmm3
mulss xmm1, xmm5
push eax
mulss xmm0, xmm4
lea eax, [esp + 0xe8]
push eax
mulss xmm2, xmm4
lea eax, [esp + 0xe4]
push eax
mulss xmm3, xmm5
subss xmm1, xmm0
addss xmm2, xmm3
movss dword [esp + 0x94], xmm1
movss dword [esp + 0x98], xmm2
call fcn.10010aa3
add esp, 0x10
test al, al
jne 0x1005c56a
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.10010b61
add esp, 0x14
movss xmm0, dword [eax]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x88], xmm0
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.10010c4c
movss xmm0, dword [0x100c24a4]
add esp, 0x1c
movss xmm2, dword [0x100e72c4]
movaps xmm1, xmm0
subss xmm1, dword [esp + 0x34]
comiss xmm2, xmm1
jbe 0x1005c5c4
movaps xmm1, xmm2
jmp 0x1005c5c8
minss xmm1, xmm0
movss xmm3, dword [esp + 0x58]
divss xmm3, xmm1
movss dword [esp + 0x4c], xmm1
comiss xmm2, xmm3
ja 0x1005c5e4
movaps xmm2, xmm3
minss xmm2, xmm0
mov al, byte [esp + 0x13]
movss dword [esp + 0x38], xmm2
mov byte [esp + 0x1b], 1
mov byte [esp + 0x12], 1
mov byte [esp + 0x1a], al
mov eax, dword [esp + 0x14]
test al, 8
jne 0x1005c793
push 1
push str.context
call fcn.1000ba77
pop ecx
pop ecx
jmp 0x1005c793
test eax, 0x2000000
je 0x1005c793
movss xmm0, dword [esp + 0x30]
lea eax, [esp + 0x20]
push 0
push eax
push 0x100e66b4
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm0
call fcn.10057c06
add esp, 0xc
call fcn.1000cc2a
test al, al
je 0x1005c6ce
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [0x100c24a4]
movss xmm2, dword [0x100c24a4]
mov eax, dword [esp + 0x3c]
push ecx
divss xmm2, xmm0
movss xmm0, dword [eax + 0xdc0]
subss xmm0, dword [esp + 0x44]
mulss xmm0, xmm2
movss dword [esp], xmm0
call fcn.100732fe
fstp dword [esp + 0x3c]
movss xmm0, dword [eax + 0xdc4]
subss xmm0, dword [esp + 0x48]
mulss xmm0, xmm2
movss dword [esp], xmm0
call fcn.100732fe
fld1
lea eax, [esp + 0x20]
fsubrp st(1)
push eax
push edi
fstp dword [esp + 0x58]
call fcn.10072fd5
mov al, 1
add esp, 0xc
mov byte [esp + 0x12], al
jmp 0x1005c6d2
mov al, byte [esp + 0x12]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x14]
test al, 8
jne 0x1005c6ec
push 1
push str.context
call fcn.1000ba77
pop ecx
pop ecx
movss xmm0, dword [esp + 0x74]
lea eax, [esp + 0x20]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x44]
push eax
movss dword [esp + 0x28], xmm0
call fcn.1000b63d
movss xmm0, dword [esp + 0x54]
lea eax, [esp + 0x24]
push 0
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x38]
push eax
push 0x100e66b8
movss dword [esp + 0x34], xmm0
call fcn.10057c06
mov al, byte [esp + 0x22]
add esp, 0x10
mov byte [esp + 0x1b], al
call fcn.1000cc2a
test al, al
je 0x1005c793
mov ecx, dword [esp + 0x3c]
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [0x100c24a4]
push ecx
movss xmm1, dword [ecx + 0xdc4]
subss xmm1, dword [esp + 0x48]
divss xmm1, xmm0
movss dword [esp], xmm1
call fcn.100732fe
mov al, byte [esp + 0x17]
add esp, 4
fstp dword [esp + 0x1c]
mov byte [esp + 0x1a], 1
mov byte [esp + 0x12], 1
mov byte [esp + 0x1b], al
cmp dword [esp + 0xc8], 0x10000
jne 0x1005c83c
movss xmm0, dword [esp + 0xc4]
lea eax, [esp + 0x20]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x44]
push eax
movss dword [esp + 0x28], xmm0
call fcn.1000b63d
movss xmm0, dword [esp + 0x54]
lea eax, [esp + 0x24]
push 0
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x38]
push eax
push str.alpha
movss dword [esp + 0x34], xmm0
call fcn.10057c06
add esp, 0x10
call fcn.1000cc2a
test al, al
je 0x1005c83c
mov eax, dword [esp + 0x3c]
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [0x100c24a4]
push ecx
movss xmm1, dword [eax + 0xdc4]
subss xmm1, dword [esp + 0x48]
divss xmm1, xmm0
movss dword [esp], xmm1
call fcn.100732fe
fld1
add esp, 4
fsubrp st(1)
mov byte [esp + 0x12], 1
fstp dword [edi + 0xc]
call fcn.10014180
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 0x100
mov dword [esp + 0x34], ecx
jne 0x1005c87b
mov eax, dword [esp + 0x3c]
push ecx
push ecx
movss xmm0, dword [eax + 0x37dc]
movss dword [esp + 4], xmm0
and dword [esp], 0
call fcn.1000b001
pop ecx
pop ecx
call fcn.1000b175
mov eax, dword [esp + 0x14]
test al, al
js 0x1005c8d6
push 0
push dword [esp + 0x7c]
call fcn.10017495
pop ecx
pop ecx
mov dword [esp + 0x58], eax
cmp dword [esp + 0x78], eax
je 0x1005c8d2
cmp dword [esp + 0x34], 0
je 0x1005c8c0
mov eax, dword [esp + 0x3c]
push ecx
push ecx
movss xmm0, dword [eax + 0x37dc]
movss dword [esp + 4], xmm0
and dword [esp], 0
call fcn.1000b001
mov eax, dword [esp + 0x60]
pop ecx
pop ecx
push 0
push eax
push dword [esp + 0x80]
call fcn.10062cdf
add esp, 0xc
mov eax, dword [esp + 0x14]
test eax, 0x100
jne 0x1005ca6b
push 1
push 0x10
call fcn.1001411b
mov eax, dword [esp + 0x1c]
pop ecx
pop ecx
test al, 2
je 0x1005c8fe
movss xmm1, dword [0x100c24a4]
jmp 0x1005c903
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x9c], xmm1
test al, al
jns 0x1005c948
push str.Current
call fcn.10057659
mov eax, dword [esp + 0x18]
pop ecx
movss xmm0, dword [esp + 0x50]
lea ecx, [esp + 0x20]
movaps xmm1, xmm0
and eax, 0x180e0040
mulss xmm1, dword [0x100c24ac]
push ecx
push eax
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x98]
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x28], xmm1
movaps xmm1, xmm0
addss xmm1, xmm0
push eax
push str.current
movss dword [esp + 0x68], xmm1
movss dword [esp + 0x34], xmm1
call fcn.1005dbae
add esp, 0x10
cmp dword [esp + 0x48], 0
je 0x1005ca5d
push str.Original
call fcn.10057659
mov eax, dword [esp + 0x18]
test al, 2
mov eax, dword [esp + 0x4c]
pop ecx
je 0x1005c9c8
movss xmm1, dword [0x100c24a4]
jmp 0x1005c9cd
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x58]
movss dword [esp + 0xb0], xmm0
lea eax, [esp + 0xa8]
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x60]
push eax
push str.original
movss dword [esp + 0xbc], xmm1
movss dword [esp + 0x34], xmm0
call fcn.1005dbae
add esp, 0x10
test al, al
je 0x1005ca5d
cmp dword [esp + 0xd4], 0
push 0x10
pop eax
push 0xc
pop ecx
cmovne eax, ecx
push eax
push dword [esp + 0x4c]
push edi
call fcn.1009d190
add esp, 0xc
mov byte [esp + 0x12], 1
call fcn.10014180
call fcn.1000b282
mov eax, dword [esp + 0x14]
cmp byte [esp + 0x1a], 0
jne 0x1005ca7d
cmp byte [esp + 0x1b], 0
je 0x1005cb4d
test eax, 0x8000000
je 0x1005cb26
movss xmm0, dword [esp + 0x4c]
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 + 0x50]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp], xmm0
call fcn.1000d50e
mov ecx, dword [esp + 0x54]
movss xmm0, dword [esp + 0x34]
and dword [esp + 0x44], 0
mov eax, dword [ecx + 0x5994]
movss dword [ecx + 0x599c], xmm0
movss xmm0, dword [esp + 0x50]
mov dword [ecx + 0x5998], eax
lea eax, [esp + 0x38]
movss dword [ecx + 0x59a0], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [edi + 8]
push eax
movss dword [esp + 0x44], xmm0
call fcn.1000d3c2
mov ecx, dword [esp + 0x58]
add esp, 0x1c
mov dword [ecx + 0x59a4], eax
jmp 0x1005cb4d
test eax, 0x10000000
je 0x1005cb4d
movss xmm0, dword [esp + 0x1c]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [edi + 8], xmm0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x13], 0
test al, 0x20
jne 0x1005cd14
cmp dword [esp + 0xc8], 0x10000
jne 0x1005cb76
movss xmm0, dword [esp + 0xc4]
jmp 0x1005cb7c
movss xmm0, dword [esp + 0x74]
addss xmm0, dword [esp + 0x50]
push ecx
subss xmm0, dword [esp + 0x44]
movss dword [esp], xmm0
call fcn.1000ad65
mov eax, dword [esp + 0x18]
pop ecx
mov ecx, eax
and ecx, 0x198e001a
mov dword [esp + 0x48], ecx
test eax, 0x100000
jne 0x1005cbb2
test eax, 0x700000
jne 0x1005cbf8
or ecx, 0x100004
push ecx
push edi
push str.rgb
call fcn.1005b048
add esp, 0xc
test al, al
je 0x1005cbf0
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0x3e94], 0
je 0x1005cbe6
cmp byte [eax + 0x3ea1], 0
mov byte [esp + 0x13], 1
je 0x1005cbeb
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 1
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
test eax, 0x200000
jne 0x1005cc06
test eax, 0x700000
jne 0x1005cc24
mov eax, ecx
or eax, 0x200004
push eax
push edi
push str.hsv
call fcn.1005b048
add esp, 0xc
or byte [esp + 0x12], al
mov eax, dword [esp + 0x14]
test eax, 0x400000
jne 0x1005cc32
test eax, 0x700000
jne 0x1005cc4e
mov eax, dword [esp + 0x48]
or eax, 0x400004
push eax
push edi
push str.hex
call fcn.1005b048
add esp, 0xc
or byte [esp + 0x12], al
call fcn.1000adb0
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x14]
je 0x1005cd14
test eax, 0x8000000
je 0x1005cd14
movss xmm0, dword [edi + 8]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x3c]
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.1000d468
xorps xmm3, xmm3
add esp, 0x18
comiss xmm3, dword [esp + 0x34]
jb 0x1005cd10
movss xmm2, dword [esp + 0x1c]
comiss xmm2, xmm3
jbe 0x1005cd10
movss xmm1, dword [esp + 0x58]
comiss xmm3, xmm1
jb 0x1005cd9d
movss xmm0, dword [esp + 0x4c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1005cd9d
mulss xmm0, dword [0x100c24a0]
lea ecx, [edi + 8]
push ecx
lea eax, [edi + 4]
push eax
push edi
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.1000d50e
add esp, 0x18
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x12]
mov byte [esp + 0x13], cl
test cl, cl
je 0x1005ce39
test eax, 0x8000000
je 0x1005cdde
movss xmm0, dword [edi + 8]
lea eax, [esp + 0x4c]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
push eax
lea eax, [esp + 0x3c]
movss dword [esp + 0xb4], xmm2
push eax
lea eax, [esp + 0x24]
movss dword [esp + 0xbc], xmm1
push eax
sub esp, 0xc
movss dword [esp + 0xd0], xmm0
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call fcn.1000d468
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x3c]
push eax
push edi
call fcn.10073054
add esp, 0x28
jmp 0x1005ce39
comiss xmm3, dword [esp + 0x54]
jb 0x1005cd10
movss xmm0, dword [esp + 0x38]
lea ecx, [edi + 8]
mulss xmm0, dword [0x100c24a0]
lea eax, [edi + 4]
push ecx
push eax
push edi
sub esp, 0xc
movss dword [esp + 8], xmm1
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp], xmm0
jmp 0x1005cd08
test eax, 0x10000000
je 0x1005ce39
movss xmm0, dword [edi + 8]
lea eax, [esp + 0xb8]
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
push eax
lea eax, [esp + 0xb8]
movss dword [esp + 0x20], xmm2
push eax
lea eax, [esp + 0xb8]
movss dword [esp + 0x40], xmm1
push eax
sub esp, 0xc
movss dword [esp + 0x64], xmm0
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call fcn.1000d50e
add esp, 0x18
mov edi, dword [esp + 0x3c]
push ecx
movss xmm2, dword [edi + 0x3788]
movss dword [esp], xmm2
call fcn.100732fe
fmul dword [0x100cba5c]
add esp, 4
movss xmm0, dword [esp + 0x1c]
mov dword [esp + 0x110], 0x3f800000
mov dword [esp + 0x114], 0x3f800000
mov dword [esp + 0x118], 0x3f800000
fadd dword [0x100c24a0]
movss dword [esp + 0x11c], xmm2
fstp dword [esp + 0x34]
cvttss2si edx, dword [esp + 0x34]
shl edx, 0x18
mov eax, edx
mov dword [esp + 0xbc], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x48], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x120], ecx
or eax, 0x808080
mov dword [esp + 0x138], ecx
mov dword [esp + 0x7c], eax
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x124], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x128], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x12c], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x130], eax
mov eax, edx
or eax, 0xff00ff
mov dword [esp + 0x134], eax
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x118]
push eax
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
movss dword [esp], xmm0
call fcn.1000d50e
lea eax, [esp + 0x128]
push eax
call fcn.1000d3c2
movss xmm0, dword [esp + 0xcc]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0xd0]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0xd4]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x3c]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [edi + 0x3788]
push eax
movss dword [esp + 0x4c], xmm0
call fcn.1000d3c2
and dword [esp + 0xec], 0
add esp, 0x20
and dword [esp + 0xd0], 0
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x14]
test eax, 0x4000000
je 0x1005d527
movss xmm1, dword [esp + 0x8c]
cvttss2si eax, xmm1
push 0xc
pop ecx
mov esi, dword [esp + 0x5c]
push 4
movss xmm3, dword [0x100c24a0]
cdq
idiv ecx
movss xmm2, dword [esp + 0x68]
divss xmm3, xmm1
mov ecx, eax
pop eax
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x78], eax
addss xmm2, xmm1
movss dword [esp + 0x14], xmm3
mulss xmm2, dword [0x100c24a0]
movss dword [esp + 0x74], xmm2
movd xmm1, eax
lea eax, [esp + 0x68]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
sub esp, 0xc
mov ecx, esi
mulss xmm1, dword [0x100e7300]
movaps xmm0, xmm1
addss xmm1, dword [0x100e7300]
subss xmm0, xmm3
addss xmm1, xmm3
movss dword [esp + 0x44], xmm0
movss dword [esp + 8], xmm1
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
push eax
movss dword [esp + 0x6c], xmm1
call fcn.1003f791
movss xmm0, dword [esp + 0x70]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x50]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.1003e445
movss xmm0, dword [esp + 0x34]
movss xmm1, dword [esp + 0x58]
and dword [esi + 0x54], 0
call fcn.1009a6e0
movss xmm3, dword [esp + 0x64]
movaps xmm2, xmm0
mov eax, dword [esp + 0x78]
movaps xmm1, xmm0
shufps xmm2, xmm0, 0xe
shufps xmm1, xmm0, 1
mulss xmm0, xmm3
push dword [esp + eax*4 + 0x124]
mulss xmm1, xmm3
addss xmm0, dword [esp + 0x70]
push dword [esp + eax*4 + 0x124]
addss xmm1, dword [esp + 0x70]
movss dword [esp + 0x9c], xmm0
movaps xmm0, xmm2
shufps xmm0, xmm2, 1
mulss xmm2, xmm3
mulss xmm0, xmm3
addss xmm2, dword [esp + 0x74]
movss dword [esp + 0x98], xmm1
addss xmm0, dword [esp + 0x70]
movss dword [esp + 0xac], xmm2
push dword [esp + 0xac]
movss dword [esp + 0xac], xmm0
push dword [esp + 0xac]
push dword [esp + 0xa4]
push dword [esp + 0xa4]
push dword [esi + 0x18]
push edi
push esi
call fcn.10044179
mov eax, dword [esp + 0x9c]
add esp, 0x24
movss xmm2, dword [esp + 0x74]
inc eax
movss xmm3, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x78], eax
cmp eax, 6
jl 0x1005d01e
movss xmm1, dword [esp + 0x1c]
mulss xmm1, dword [0x100c24a8]
mulss xmm1, dword [0x100e18d4]
movaps xmm0, xmm1
call fcn.1009a690
cmp byte [esp + 0x1a], 0
movaps xmm2, xmm0
movss xmm3, dword [esp + 0x64]
addss xmm3, dword [esp + 0x8c]
shufps xmm0, xmm2, 1
movups xmmword [esp + 0x90], xmm0
movups xmmword [esp + 0xa0], xmm2
mulss xmm0, xmm3
mulss xmm0, dword [0x100c24a0]
addss xmm0, dword [esp + 0x68]
movss dword [esp + 0x104], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm3
mulss xmm0, dword [0x100c24a0]
addss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x108], xmm0
movss xmm0, dword [esp + 0x70]
je 0x1005d1ff
mulss xmm0, dword [0x100cba08]
jmp 0x1005d207
mulss xmm0, dword [0x100e72f4]
push ecx
mov ecx, esi
movss dword [esp + 0x74], xmm0
movss dword [esp], xmm0
call fcn.100408a9
movss xmm0, dword [esp + 0x70]
mov edi, eax
push edi
push dword [esp + 0x84]
lea eax, [esp + 0x10c]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push eax
call fcn.1003e145
movss xmm0, dword [esp + 0x70]
lea eax, [esp + 0x104]
addss xmm0, dword [0x100c24a4]
push ecx
mov dword [esp], 0x3f800000
push edi
push dword [esp + 0x84]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push eax
call fcn.1003e07f
mov esi, dword [esp + 0x48]
lea eax, [esp + 0x104]
movss xmm0, dword [esp + 0x70]
push ecx
mov dword [esp], 0x3f800000
push edi
mov edi, dword [esp + 0x64]
push esi
push ecx
movss dword [esp], xmm0
mov ecx, edi
push eax
call fcn.1003e07f
movups xmm4, xmmword [esp + 0x90]
movups xmm5, xmmword [esp + 0xa0]
movss xmm3, dword [esp + 0xd8]
movss xmm2, dword [esp + 0xdc]
movaps xmm1, xmm3
mulss xmm1, xmm4
movaps xmm0, xmm2
mulss xmm3, xmm5
mulss xmm2, xmm4
mulss xmm0, xmm5
addss xmm3, xmm2
movss xmm2, dword [esp + 0xe4]
subss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm2, xmm4
addss xmm3, dword [esp + 0x6c]
mulss xmm0, xmm5
addss xmm1, dword [esp + 0x68]
movss dword [esp + 0xf8], xmm3
movss xmm3, dword [esp + 0xe0]
movss dword [esp + 0xf4], xmm1
movaps xmm1, xmm3
mulss xmm1, xmm4
mulss xmm3, xmm5
subss xmm1, xmm0
addss xmm3, xmm2
movss xmm2, dword [esp + 0xec]
movaps xmm0, xmm2
mulss xmm2, xmm4
addss xmm1, dword [esp + 0x68]
mulss xmm0, xmm5
addss xmm3, dword [esp + 0x6c]
movss dword [esp + 0xfc], xmm1
movss dword [esp + 0x100], xmm3
movss xmm3, dword [esp + 0xe8]
movaps xmm1, xmm3
mulss xmm3, xmm5
mulss xmm1, xmm4
subss xmm1, xmm0
addss xmm1, dword [esp + 0x68]
movss dword [esp + 0x84], xmm1
addss xmm3, xmm2
lea eax, [esp + 0x20]
push eax
addss xmm3, dword [esp + 0x70]
movss dword [esp + 0x8c], xmm3
call fcn.1000af00
pop ecx
push 3
push 3
mov ecx, edi
call fcn.100401c8
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
push dword [esp + 0x80]
mov word [ecx], ax
lea eax, [esp + 0x24]
add dword [edi + 0x38], 2
mov ecx, edi
push eax
lea eax, [esp + 0xfc]
push eax
call fcn.10046531
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
mov word [ecx], ax
mov ecx, edi
mov eax, dword [esp + 0xbc]
add dword [edi + 0x38], 2
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x104]
push eax
call fcn.10046531
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
push esi
mov word [ecx], ax
lea eax, [esp + 0x24]
add dword [edi + 0x38], 2
mov ecx, edi
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.10046531
push ecx
mov dword [esp], 0x3fc00000
lea eax, [esp + 0x88]
push dword [esp + 0x80]
mov ecx, edi
push eax
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0x104]
push eax
call fcn.1003dfe0
movss xmm0, dword [0x100c24a4]
subss xmm0, dword [esp + 0x4c]
push ecx
movss dword [esp], xmm0
call fcn.100732fe
movss xmm0, dword [esp + 0x3c]
fstp dword [esp + 0x90]
movss dword [esp], xmm0
call fcn.100732fe
movss xmm0, dword [esp + 0xf8]
add esp, 4
subss xmm0, dword [esp + 0x84]
movss xmm2, dword [esp + 0xf8]
subss xmm2, dword [esp + 0x88]
movss xmm1, dword [esp + 0xfc]
fstp dword [esp + 0x80]
mulss xmm0, dword [esp + 0x80]
mulss xmm2, dword [esp + 0x80]
addss xmm0, dword [esp + 0x84]
addss xmm2, dword [esp + 0x88]
subss xmm1, xmm0
mulss xmm1, dword [esp + 0x8c]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x100]
subss xmm0, xmm2
mulss xmm0, dword [esp + 0x8c]
mov esi, dword [esp + 0xc0]
movss dword [esp + 0xcc], xmm1
addss xmm0, xmm2
movss dword [esp + 0xd0], xmm0
jmp 0x1005d89f
test eax, 0x2000000
je 0x1005d89b
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [esp + 0x30]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x80]
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x68]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x50]
addss xmm0, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x54]
push eax
movss dword [esp + 0x3c], xmm0
call fcn.1003de20
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [esp + 0x30]
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x5c]
push eax
push eax
movss dword [esp + 0x28], xmm0
lea eax, [esp + 0x28]
movss xmm0, dword [esp + 0x4c]
addss xmm0, dword [esp + 0x38]
push 0
push 0
push eax
lea eax, [esp + 0x54]
push eax
movss dword [esp + 0x3c], xmm0
call fcn.1003de20
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [esp + 0x30]
push ecx
and dword [esp], 0
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x48]
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0x28], xmm0
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x50]
push dword [esp + 0x50]
call fcn.10017137
movss xmm0, dword [esp + 0x4c]
add esp, 0x10
movss dword [esp], xmm0
call fcn.100732fe
movss xmm2, dword [esp + 0x34]
add esp, 4
movss xmm4, dword [0x100c24a0]
fstp dword [esp + 0x60]
movss xmm0, dword [esp + 0x60]
mulss xmm0, xmm2
movss xmm3, dword [0x100c24a8]
addss xmm0, dword [esp + 0x40]
addss xmm0, xmm4
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x40]
addss xmm0, xmm3
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1005d66a
movss xmm0, dword [esp + 0x40]
addss xmm0, xmm2
subss xmm0, xmm3
minss xmm0, xmm1
movss dword [esp + 0xcc], xmm0
movss xmm0, dword [0x100c24a4]
subss xmm0, dword [esp + 0x4c]
push ecx
movss dword [esp], xmm0
call fcn.100732fe
movss xmm1, dword [esp + 0x48]
add esp, 4
fstp dword [esp + 0x60]
movss xmm0, dword [esp + 0x60]
mulss xmm0, xmm2
addss xmm0, xmm1
addss xmm0, xmm4
cvttss2si eax, xmm0
movaps xmm0, xmm1
addss xmm0, xmm3
movd xmm4, eax
cvtdq2ps xmm4, xmm4
comiss xmm0, xmm4
ja 0x1005d6d1
movaps xmm0, xmm1
addss xmm0, xmm2
subss xmm0, xmm3
minss xmm0, xmm4
movss xmm3, dword [esp + 0x74]
xor eax, eax
mulss xmm2, dword [0x100e72d8]
mov esi, dword [esp + 0x5c]
movss dword [esp + 0xd0], xmm0
movaps xmm0, xmm3
addss xmm0, dword [esp + 0x50]
movss dword [esp + 0x60], xmm2
movss dword [esp + 0x34], xmm0
push dword [esp + eax*4 + 0x124]
movss dword [esp + 0x24], xmm0
lea edi, [eax + 1]
push dword [esp + eax*4 + 0x128]
movd xmm0, edi
mov ecx, esi
push dword [esp + eax*4 + 0x128]
cvtdq2ps xmm0, xmm0
push dword [esp + eax*4 + 0x12c]
mulss xmm0, xmm2
movss dword [esp + 0xa0], xmm3
addss xmm0, xmm1
movss dword [esp + 0x34], xmm0
movd xmm0, eax
lea eax, [esp + 0x30]
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0xa4]
push eax
mulss xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0xac], xmm0
call fcn.1003de20
movss xmm1, dword [esp + 0x44]
mov eax, edi
movss xmm3, dword [esp + 0x74]
cmp eax, 6
jge 0x1005d796
movss xmm2, dword [esp + 0x60]
movss xmm0, dword [esp + 0x34]
jmp 0x1005d703
movss xmm0, dword [esp + 0x1c]
mulss xmm0, dword [esp + 0x30]
push ecx
and dword [esp], 0
movss dword [esp + 0x98], xmm1
addss xmm0, xmm1
movss dword [esp + 0x94], xmm3
addss xmm0, dword [0x100c24a0]
cvttss2si edi, xmm0
movaps xmm0, xmm3
addss xmm0, dword [esp + 0x54]
movss dword [esp + 0x24], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0x28], xmm0
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0xa0]
push dword [esp + 0xa0]
call fcn.10017137
mov esi, dword [esp + 0xd4]
add esp, 0xc
mov eax, dword [esp + 0x44]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x2c], xmm2
addss xmm0, dword [0x100c24a4]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x7c]
subss xmm0, dword [0x100c24a4]
movss dword [esp + 0x98], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov edi, dword [esp + 0x64]
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [eax + 0x3788]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [0x100c24a8]
movss dword [esp], xmm0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0xa4]
push dword [esp + 0xa4]
push edi
call fcn.100737c2
add esp, 0x1c
jmp 0x1005d89f
mov edi, dword [esp + 0x5c]
cmp byte [esp + 0x1b], 0
je 0x1005d8b0
movss xmm0, dword [0x100c24c8]
jmp 0x1005d8b8
movss xmm0, dword [0x100c24b8]
push ecx
mov ecx, edi
movss dword [esp + 0x68], xmm0
movss dword [esp], xmm0
call fcn.100408a9
movss xmm0, dword [esp + 0x64]
mov edi, eax
push edi
push dword [esp + 0x58]
lea eax, [esp + 0xd4]
push ecx
mov ecx, dword [esp + 0x68]
movss dword [esp], xmm0
push eax
call fcn.1003e145
movss xmm0, dword [esp + 0x64]
lea eax, [esp + 0xcc]
addss xmm0, dword [0x100c24a4]
push ecx
mov dword [esp], 0x3f800000
push edi
push dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x6c]
movss dword [esp], xmm0
push eax
call fcn.1003e07f
movss xmm0, dword [esp + 0x64]
lea eax, [esp + 0xcc]
push ecx
mov dword [esp], 0x3f800000
push edi
push dword [esp + 0x50]
mov edi, dword [esp + 0x68]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push eax
call fcn.1003e07f
cmp dword [esp + 0xc8], 0x10000
jne 0x1005db1c
mov eax, dword [esp + 0xf0]
push ecx
movss xmm0, dword [eax + 0xc]
movss dword [esp], xmm0
call fcn.100732fe
movss xmm2, dword [esp + 0xc8]
add esp, 4
movss xmm0, dword [esp + 0x44]
movaps xmm1, xmm2
addss xmm1, dword [esp + 0x50]
and dword [esp + 0x24], 0
and dword [esp + 0x20], 0
push 0
push ecx
and dword [esp], 0
push dword [esp + 0x2c]
movss dword [esp + 0xb4], xmm1
subss xmm1, xmm2
push dword [esp + 0x2c]
movss dword [esp + 0xb4], xmm0
addss xmm0, dword [esp + 0x40]
push ecx
mulss xmm1, dword [0x100c24a0]
movss dword [esp + 0xb4], xmm2
movss dword [esp + 0xc0], xmm0
movss dword [esp], xmm1
push 0
push dword [esp + 0xc4]
fstp dword [esp + 0x7c]
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push edi
call fcn.100431ca
mov ecx, dword [esp + 0x80]
add esp, 0x2c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
lea eax, [esp + 0xb8]
mov ecx, edi
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.1003de20
movss xmm0, dword [0x100c24a4]
subss xmm0, dword [esp + 0x60]
push ecx
and dword [esp], 0
push dword [esp + 0xb0]
mulss xmm0, dword [esp + 0x38]
push dword [esp + 0xb0]
addss xmm0, dword [esp + 0x50]
push dword [esp + 0xb0]
push dword [esp + 0xb0]
addss xmm0, dword [0x100c24a0]
cvttss2si edi, xmm0
call fcn.10017137
add esp, 0xc
movd xmm2, esi
mov esi, dword [esp + 0x44]
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x2c], xmm2
addss xmm0, dword [0x100c24a4]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0xcc]
subss xmm0, dword [0x100c24a4]
movss dword [esp + 0x98], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esi + 0x3788]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [0x100c24a8]
movss dword [esp], xmm0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0xa4]
push dword [esp + 0xa4]
push dword [esp + 0x74]
call fcn.100737c2
add esp, 0x1c
jmp 0x1005db20
mov esi, dword [esp + 0x3c]
call fcn.1000b282
cmp byte [esp + 0x12], 0
je 0x1005db80
cmp dword [esp + 0xd4], 0
push 0x10
pop eax
push 0xc
pop ecx
cmovne eax, ecx
push eax
push dword [esp + 0xf4]
lea eax, [esp + 0x144]
push eax
call fcn.1009de7b
add esp, 0xc
test eax, eax
jne 0x1005db5f
mov byte [esp + 0x12], al
jmp 0x1005db80
mov eax, dword [esi + 0x46bc]
mov cl, byte [esp + 0x13]
mov byte [esp + 0x12], cl
test eax, eax
je 0x1005db80
push eax
call fcn.10013897
mov al, byte [esp + 0x17]
pop ecx
mov byte [esp + 0x12], al
cmp dword [esp + 0x10c], 0
jne 0x1005db91
and dword [esi + 0x5994], 0
call fcn.1000b784
mov al, byte [esp + 0x12]
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
xor ecx, esp
call fcn.1009a659
mov esp, ebp
pop ebp
ret