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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x168
mov eax, dword [0x10125474]
xor eax, esp
mov dword [esp + 0x164], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x10125f20]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x3e48]
mov dword [esp + 0x18], esi
mov dword [esp + 0xf0], edi
mov byte [eax + 0xac], 1
mov eax, dword [edi + 0x3e48]
mov dword [esp + 0x78], eax
cmp byte [eax + 0xaf], 0
je 0x1005c487
xor al, al
jmp 0x1005e20a
mov eax, dword [eax + 0x264]
mov dword [esp + 0x70], eax
call fcn.1000af3a
push dword [esp + 0x38]
and dword [edi + 0x46a8], 0
fstp dword [esp + 0xd4]
call fcn.1000b7f6
mov eax, dword [edi + 0x5994]
mov dword [esp + 0x130], eax
pop ecx
test eax, eax
jne 0x1005c4d6
mov ecx, dword [esp + 0x78]
add ecx, 0xe4
call fcn.10025a29
mov eax, dword [eax]
mov dword [edi + 0x5994], eax
call fcn.1000b2ab
mov ecx, dword [ebp + 0x10]
or ecx, 0x10
test dword [ebp + 0x10], 0x100
cmovne ecx, dword [ebp + 0x10]
mov dword [esp + 0xd4], ecx
test cl, 8
jne 0x1005c508
push ecx
push esi
call fcn.1006ab48
pop ecx
pop ecx
mov ecx, dword [esp + 0xd4]
mov edx, 0x6000000
mov esi, 0xa900000
test edx, ecx
jne 0x1005c52d
mov eax, dword [edi + 0x5990]
test edx, eax
mov edx, esi
cmovne edx, eax
and edx, 0x6000000
or edx, ecx
jmp 0x1005c52f
mov edx, ecx
mov ecx, 0x18000000
mov dword [esp + 0x30], edx
test ecx, edx
jne 0x1005c54f
mov eax, dword [edi + 0x5990]
test ecx, eax
cmovne esi, eax
and esi, ecx
or edx, esi
mov dword [esp + 0x30], edx
mov eax, edx
and eax, 0x6000000
push eax
call fcn.1001f2c9
mov esi, str.C:UsersdimonDesktopSAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_widgets.cpp
pop ecx
test al, al
jne 0x1005c57d
push 0x150e
push esi
push str.ImIsPowerOfTwo_flags__ImGuiColorEditFlags_PickerMask__
call fcn.100a20b1
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov eax, edx
and eax, 0x18000000
push eax
call fcn.1001f2c9
pop ecx
test al, al
jne 0x1005c5a6
push 0x150f
push esi
push str.ImIsPowerOfTwo_flags__ImGuiColorEditFlags_InputMask__
call fcn.100a20b1
mov edx, dword [esp + 0x3c]
add esp, 0xc
test dl, 8
jne 0x1005c5bc
mov eax, dword [edi + 0x5990]
and eax, 0x10000
or edx, eax
mov dword [esp + 0x30], edx
mov eax, edx
mov esi, edx
and eax, 2
and esi, 0x10002
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xf4], esi
movss xmm0, dword [eax + 0xf0]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [eax + 0xf4]
movss dword [esp + 0x50], xmm0
call fcn.1000b7c4
movss xmm2, dword [edi + 0x37dc]
xor eax, eax
cmp esi, 0x10000
movaps xmm0, xmm2
fstp dword [esp + 0x6c]
movss xmm3, dword [esp + 0x6c]
sete al
inc eax
addss xmm0, xmm3
cmp dword [esp + 0x60], 0
push 0x10
movd xmm1, eax
cvtdq2ps xmm1, xmm1
pop eax
push 0xc
pop ecx
cmovne eax, ecx
mov ecx, dword [esp + 0x18]
push eax
mulss xmm1, xmm0
mov dword [esp + 0xd8], eax
lea eax, [esp + 0x160]
movss xmm0, dword [esp + 0xd4]
push ecx
subss xmm0, xmm1
movss xmm1, dword [esp + 0x54]
push eax
maxss xmm0, xmm3
addss xmm1, xmm0
movss dword [esp + 0x4c], xmm0
addss xmm1, xmm2
movaps xmm0, xmm1
movss dword [esp + 0xd4], xmm1
addss xmm0, xmm3
movss dword [esp + 0xf4], xmm0
addss xmm0, xmm2
movss dword [esp + 0xe8], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x100cca7c]
cvttss2si esi, xmm0
mov dword [esp + 0xdc], esi
call fcn.1009db70
movss xmm1, dword [esp + 0x4c]
add esp, 0xc
movaps xmm4, xmm1
movaps xmm0, xmm1
mulss xmm0, dword [0x100e7ec4]
mulss xmm4, dword [0x100c34b0]
movss dword [esp + 0x88], xmm0
movaps xmm3, xmm4
movss dword [esp + 0x78], xmm4
subss xmm3, xmm0
movss xmm0, dword [esp + 0x6c]
mulss xmm0, dword [0x100c34b0]
addss xmm0, xmm4
movss dword [esp + 0x7c], xmm3
movaps xmm2, xmm3
addss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x80], xmm0
movaps xmm0, xmm4
addss xmm0, dword [esp + 0x50]
movss dword [esp + 0x84], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100e7ebc]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
movss dword [esp + 0xf8], xmm2
mov eax, dword [esp + 0x18]
movaps xmm0, xmm2
mulss xmm0, dword [0x100e7f44]
movaps xmm1, xmm2
and dword [esp + 0xfc], 0
mulss xmm1, dword [0x100da9c4]
lea ecx, [eax + 4]
mulss xmm2, dword [0x100e7ee8]
mov dword [esp + 0x5c], ecx
movss dword [esp + 0x104], xmm0
movss xmm0, dword [eax]
add eax, 8
movss dword [esp + 0x10c], xmm2
movss dword [esp + 0x100], xmm1
movss dword [esp + 0x108], xmm1
movss xmm1, dword [ecx]
movss xmm2, dword [eax]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x30]
mov ecx, eax
and ecx, 0x8000000
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x54], xmm2
movss dword [esp + 0xe0], xmm0
movss dword [esp + 0xe4], xmm1
movss dword [esp + 0xd8], xmm2
mov dword [esp + 0xa8], ecx
je 0x1005c835
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x40]
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.1000d5a9
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x3c]
call fcn.1007383d
add esp, 0x28
jmp 0x1005c870
test eax, 0x10000000
je 0x1005c870
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0xe8]
push eax
sub esp, 0xc
movss dword [esp + 8], xmm2
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.1000d64f
add esp, 0x18
xor eax, eax
push 1
push 8
mov byte [esp + 0x1c], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
call fcn.10014259
mov eax, dword [esp + 0x38]
pop ecx
pop ecx
mov ecx, eax
and ecx, 0x4000000
mov dword [esp + 0x68], ecx
je 0x1005cbf9
movss xmm1, dword [esp + 0x40]
lea eax, [esp + 0x20]
movaps xmm0, xmm1
movss dword [esp + 0x24], xmm1
addss xmm0, dword [edi + 0x37dc]
push 0
push eax
push 0x100e72a0
addss xmm0, dword [esp + 0x78]
movss dword [esp + 0x2c], xmm0
call fcn.100581b5
add esp, 0xc
call fcn.1000cd69
test al, al
je 0x1005cbdb
movss xmm0, dword [edi + 0x36b4]
subss xmm0, dword [esp + 0x84]
movss xmm2, dword [edi + 0xdc0]
subss xmm2, dword [esp + 0x80]
movss xmm1, dword [edi + 0x36b0]
subss xmm1, dword [esp + 0x80]
movaps xmm3, xmm0
movss dword [esp + 0x8c], xmm0
mulss xmm3, xmm0
movss dword [esp + 0x64], xmm2
movss dword [esp + 0x44], xmm2
movaps xmm0, xmm1
movss xmm2, dword [edi + 0xdc4]
subss xmm2, dword [esp + 0x84]
mulss xmm0, xmm1
movss dword [esp + 0x90], xmm1
addss xmm3, xmm0
movss dword [esp + 0x48], xmm2
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x110], xmm2
movss xmm2, dword [0x100c34b4]
subss xmm0, xmm2
mulss xmm0, xmm0
comiss xmm3, xmm0
jb 0x1005c9d9
movss xmm0, dword [esp + 0x78]
addss xmm0, xmm2
mulss xmm0, xmm0
comiss xmm0, xmm3
jb 0x1005c9d9
fld dword [esp + 0x110]
xorps xmm0, xmm0
fld dword [esp + 0x44]
fpatan
fstp dword [esp + 0x110]
movss xmm1, dword [esp + 0x110]
mulss xmm1, dword [0x100e29e8]
comiss xmm0, xmm1
movss dword [esp + 0x1c], xmm1
jbe 0x1005c9d1
addss xmm1, xmm2
movss dword [esp + 0x1c], xmm1
mov al, 1
mov byte [esp + 0x14], al
jmp 0x1005c9e3
movss xmm1, dword [esp + 0x1c]
mov al, byte [esp + 0x14]
mulss xmm1, dword [0x100e7f50]
mov byte [esp + 0x15], al
mulss xmm1, dword [0x100e2a0c]
movaps xmm0, xmm1
call fcn.1009b430
movss xmm4, dword [esp + 0x8c]
movaps xmm2, xmm0
movss xmm5, dword [esp + 0x90]
movaps xmm3, xmm2
mov al, byte [esp + 0x14]
movaps xmm0, xmm4
shufps xmm3, xmm2, 1
mov byte [esp + 0x16], al
movaps xmm1, xmm3
mulss xmm1, xmm5
lea eax, [esp + 0x20]
push eax
mulss xmm0, xmm2
lea eax, [esp + 0x10c]
push eax
mulss xmm4, xmm3
lea eax, [esp + 0x108]
push eax
mulss xmm5, xmm2
subss xmm1, xmm0
lea eax, [esp + 0x104]
movaps xmmword [esp + 0x11c], xmm2
push eax
addss xmm4, xmm5
movups xmmword [esp + 0xc0], xmm3
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x34], xmm4
call fcn.10010bcb
add esp, 0x10
test al, al
je 0x1005cbdb
movups xmm3, xmmword [esp + 0xb0]
lea eax, [esp + 0x90]
movaps xmm2, xmmword [esp + 0x110]
movaps xmm0, xmm2
movaps xmm1, xmm3
mulss xmm1, dword [esp + 0x64]
push eax
mulss xmm0, dword [esp + 0x4c]
lea eax, [esp + 0x10c]
push eax
mulss xmm2, dword [esp + 0x6c]
lea eax, [esp + 0x108]
push eax
mulss xmm3, dword [esp + 0x54]
subss xmm1, xmm0
lea eax, [esp + 0x104]
push eax
addss xmm2, xmm3
movss dword [esp + 0xa0], xmm1
movss dword [esp + 0xa4], xmm2
call fcn.10010bcb
add esp, 0x10
test al, al
jne 0x1005cb46
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x10c]
push eax
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0x104]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.10010c89
add esp, 0x14
movss xmm0, dword [eax]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x94], xmm0
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x110]
push eax
call fcn.10010d74
movss xmm0, dword [0x100c34b4]
add esp, 0x1c
movss xmm2, dword [0x100e7eb4]
movaps xmm1, xmm0
subss xmm1, dword [esp + 0x48]
comiss xmm2, xmm1
jbe 0x1005cba3
movaps xmm1, xmm2
jmp 0x1005cba7
minss xmm1, xmm0
movss xmm3, dword [esp + 0x64]
divss xmm3, xmm1
movss dword [esp + 0x54], xmm1
comiss xmm2, xmm3
ja 0x1005cbc3
movaps xmm2, xmm3
minss xmm2, xmm0
mov al, byte [esp + 0x15]
movss dword [esp + 0x3c], xmm2
mov byte [esp + 0x17], 1
mov byte [esp + 0x14], 1
mov byte [esp + 0x16], al
test byte [esp + 0x30], 8
jne 0x1005cd6a
push 1
push str.context
call fcn.1000bbaa
pop ecx
pop ecx
jmp 0x1005cd6a
test eax, 0x2000000
je 0x1005cd6a
movss xmm0, dword [esp + 0x40]
lea eax, [esp + 0x20]
push 0
push eax
push 0x100e72a4
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm0
call fcn.100581b5
movss xmm0, dword [esp + 0x4c]
add esp, 0xc
subss xmm0, dword [0x100c34b4]
movss dword [esp + 0x44], xmm0
call fcn.1000cd69
test al, al
je 0x1005ccb3
movss xmm2, dword [0x100c34b4]
divss xmm2, dword [esp + 0x44]
push ecx
movss xmm0, dword [edi + 0xdc0]
subss xmm0, dword [esp + 0x50]
mulss xmm0, xmm2
movss dword [esp], xmm0
call fcn.10073ae7
fstp dword [esp + 0x40]
movss xmm0, dword [edi + 0xdc4]
subss xmm0, dword [esp + 0x54]
mulss xmm0, xmm2
movss dword [esp], xmm0
call fcn.10073ae7
fld1
lea eax, [esp + 0x20]
fsubrp st(1)
push eax
push dword [esp + 0x20]
fstp dword [esp + 0x60]
call fcn.100737be
mov al, 1
add esp, 0xc
mov byte [esp + 0x14], al
jmp 0x1005ccb7
mov al, byte [esp + 0x14]
test byte [esp + 0x30], 8
mov byte [esp + 0x15], al
jne 0x1005ccd0
push 1
push str.context
call fcn.1000bbaa
pop ecx
pop ecx
movss xmm0, dword [esp + 0xc8]
lea eax, [esp + 0x20]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x50]
push eax
movss dword [esp + 0x28], xmm0
call fcn.1000b770
movss xmm0, dword [esp + 0x70]
lea eax, [esp + 0x24]
push 0
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x48]
push eax
push 0x100e72a8
movss dword [esp + 0x34], xmm0
call fcn.100581b5
mov al, byte [esp + 0x24]
add esp, 0x10
mov byte [esp + 0x17], al
call fcn.1000cd69
test al, al
je 0x1005cd6a
movss xmm0, dword [edi + 0xdc4]
subss xmm0, dword [esp + 0x50]
push ecx
divss xmm0, dword [esp + 0x48]
movss dword [esp], xmm0
call fcn.10073ae7
mov al, byte [esp + 0x19]
add esp, 4
fstp dword [esp + 0x1c]
mov byte [esp + 0x16], 1
mov byte [esp + 0x14], 1
mov byte [esp + 0x17], al
cmp dword [esp + 0xf4], 0x10000
jne 0x1005ce13
movss xmm0, dword [esp + 0xdc]
lea eax, [esp + 0x20]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x50]
push eax
movss dword [esp + 0x28], xmm0
call fcn.1000b770
movss xmm0, dword [esp + 0x70]
lea eax, [esp + 0x24]
push 0
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x48]
push eax
push str.alpha
movss dword [esp + 0x34], xmm0
call fcn.100581b5
add esp, 0x10
call fcn.1000cd69
test al, al
je 0x1005ce13
movss xmm1, dword [esp + 0x40]
movss xmm0, dword [edi + 0xdc4]
subss xmm1, dword [0x100c34b4]
subss xmm0, dword [esp + 0x50]
push ecx
divss xmm0, xmm1
movss dword [esp], xmm0
call fcn.10073ae7
fld1
add esp, 4
mov eax, dword [esp + 0x18]
fsubrp st(1)
mov byte [esp + 0x14], 1
fstp dword [eax + 0xc]
call fcn.100142be
mov eax, dword [esp + 0x30]
mov ecx, eax
and ecx, 0x100
mov dword [esp + 0x44], ecx
jne 0x1005ce4e
movss xmm0, dword [edi + 0x37dc]
push ecx
push ecx
movss dword [esp + 4], xmm0
and dword [esp], 0
call fcn.1000b137
pop ecx
pop ecx
call fcn.1000b2ab
mov eax, dword [esp + 0x30]
and eax, 0x80
mov dword [esp + 0x64], eax
jne 0x1005cea5
push 0
push dword [esp + 0x3c]
call fcn.1001761a
pop ecx
pop ecx
mov dword [esp + 0x48], eax
cmp dword [esp + 0x38], eax
je 0x1005cea5
cmp dword [esp + 0x44], 0
je 0x1005ce96
movss xmm0, dword [edi + 0x37dc]
push ecx
push ecx
movss dword [esp + 4], xmm0
and dword [esp], 0
call fcn.1000b137
mov eax, dword [esp + 0x50]
pop ecx
pop ecx
push 0
push eax
push dword [esp + 0x40]
call fcn.100633cf
add esp, 0xc
cmp dword [esp + 0x44], 0
jne 0x1005d03f
push 1
push 0x10
call fcn.10014259
cmp dword [esp + 0x68], 0
mov eax, dword [esp + 0x20]
pop ecx
pop ecx
je 0x1005ced0
movss xmm1, dword [0x100c34b4]
jmp 0x1005ced5
movss xmm1, dword [eax + 0xc]
cmp dword [esp + 0x64], 0
movss xmm0, dword [eax]
mov eax, dword [esp + 0x5c]
movss dword [esp + 0xb0], xmm0
movss dword [esp + 0xbc], xmm1
movss xmm0, dword [eax]
mov eax, dword [esp + 0x58]
movss dword [esp + 0xb4], xmm0
movss xmm0, dword [eax]
movss dword [esp + 0xb8], xmm0
je 0x1005cf1f
push str.Current
call fcn.10057c0e
pop ecx
movss xmm1, dword [esp + 0x6c]
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x30]
movaps xmm0, xmm1
mulss xmm0, dword [0x100c34bc]
and eax, 0x180e0040
push ecx
push eax
mov dword [esp + 0x94], eax
lea eax, [esp + 0xb8]
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x28], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
push eax
push str.current
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x34], xmm0
call fcn.1005e21e
add esp, 0x10
cmp dword [esp + 0x74], 0
je 0x1005d035
push str.Original
call fcn.10057c0e
cmp dword [esp + 0x64], 0
mov eax, dword [esp + 0x78]
pop ecx
je 0x1005cfa5
movss xmm1, dword [0x100c34b4]
jmp 0x1005cfaa
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x90]
movss dword [esp + 0xa0], xmm0
lea eax, [esp + 0x98]
movss xmm0, dword [esp + 0x50]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x6c]
push eax
push str.original
movss dword [esp + 0xac], xmm1
movss dword [esp + 0x34], xmm0
call fcn.1005e21e
add esp, 0x10
test al, al
je 0x1005d035
push dword [esp + 0xd4]
push dword [esp + 0x78]
push dword [esp + 0x20]
call fcn.1009db70
add esp, 0xc
mov byte [esp + 0x14], 1
call fcn.100142be
call fcn.1000b3b8
cmp byte [esp + 0x16], 0
jne 0x1005d051
cmp byte [esp + 0x17], 0
je 0x1005d100
cmp dword [esp + 0xa8], 0
je 0x1005d129
push dword [esp + 0x58]
movss xmm0, dword [esp + 0x58]
push dword [esp + 0x60]
push dword [esp + 0x20]
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp], xmm0
call fcn.1000d64f
movss xmm0, dword [esp + 0x34]
mov eax, dword [edi + 0x5994]
and dword [esp + 0x44], 0
movss dword [edi + 0x599c], xmm0
movss xmm0, dword [esp + 0x54]
mov dword [edi + 0x5998], eax
mov eax, dword [esp + 0x30]
movss dword [edi + 0x59a0], xmm0
movss xmm0, dword [eax]
mov eax, dword [esp + 0x74]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [eax]
mov eax, dword [esp + 0x70]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax]
lea eax, [esp + 0x38]
push eax
movss dword [esp + 0x44], xmm0
call fcn.1000d501
add esp, 0x1c
mov dword [edi + 0x59a4], eax
mov eax, dword [esp + 0x30]
mov byte [esp + 0x15], 0
test al, 0x20
jne 0x1005d331
cmp dword [esp + 0xf4], 0x10000
jne 0x1005d15a
movss xmm0, dword [esp + 0xdc]
jmp 0x1005d163
mov eax, dword [esp + 0x30]
test eax, 0x10000000
je 0x1005d104
mov ecx, dword [esp + 0x18]
movss xmm0, dword [esp + 0x1c]
movss dword [ecx], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [ecx + 4], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [ecx + 8], xmm0
jmp 0x1005d104
movss xmm0, dword [esp + 0xc8]
addss xmm0, dword [esp + 0x6c]
push ecx
subss xmm0, dword [esp + 0x50]
movss dword [esp], xmm0
call fcn.1000ae9b
mov eax, dword [esp + 0x34]
mov edx, eax
and edx, 0x198e001a
mov dword [esp + 0x64], edx
pop ecx
test eax, 0x100000
jne 0x1005d1a6
mov ecx, eax
and ecx, 0x700000
mov dword [esp + 0x38], ecx
jne 0x1005d202
mov dword [esp + 0x38], ecx
jmp 0x1005d1af
and eax, 0x700000
mov dword [esp + 0x38], eax
or edx, 0x100004
push edx
push dword [esp + 0x1c]
push str.rgb
call fcn.1005b5c7
add esp, 0xc
test al, al
je 0x1005d1f6
cmp dword [edi + 0x3e94], 0
je 0x1005d1e2
cmp byte [edi + 0x3ea1], 0
mov byte [esp + 0x15], 1
je 0x1005d1e7
mov byte [esp + 0x15], 0
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x14], 1
mov dword [esp + 0x38], ecx
jmp 0x1005d1fa
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x30]
test eax, 0x200000
jne 0x1005d20d
test ecx, ecx
jne 0x1005d231
or edx, 0x200004
push edx
push dword [esp + 0x1c]
push str.hsv
call fcn.1005b5c7
mov ecx, dword [esp + 0x44]
add esp, 0xc
or byte [esp + 0x14], al
mov eax, dword [esp + 0x30]
test eax, 0x400000
jne 0x1005d23c
test ecx, ecx
jne 0x1005d25b
mov eax, dword [esp + 0x60]
or eax, 0x400004
push eax
push dword [esp + 0x1c]
push str.hex
call fcn.1005b5c7
add esp, 0xc
or byte [esp + 0x14], al
call fcn.1000aee6
cmp byte [esp + 0x15], 0
mov edx, dword [esp + 0xa8]
je 0x1005d412
test edx, edx
je 0x1005d412
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x64]
sub esp, 0xc
movss xmm0, dword [eax]
mov eax, dword [esp + 0x74]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax]
mov eax, dword [esp + 0x30]
movss dword [esp + 4], xmm0
movss xmm0, dword [eax]
movss dword [esp], xmm0
call fcn.1000d5a9
xorps xmm3, xmm3
add esp, 0x18
comiss xmm3, dword [esp + 0x48]
jb 0x1005d32d
movss xmm2, dword [esp + 0x1c]
comiss xmm2, xmm3
jbe 0x1005d32d
movss xmm1, dword [esp + 0x64]
comiss xmm3, xmm1
jb 0x1005d3cb
movss xmm0, dword [esp + 0x54]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1005d3cb
push dword [esp + 0x58]
mulss xmm0, dword [0x100c34b0]
push dword [esp + 0x60]
push dword [esp + 0x20]
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.1000d64f
add esp, 0x18
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0xa8]
mov cl, byte [esp + 0x14]
mov byte [esp + 0x15], cl
test cl, cl
je 0x1005d480
test edx, edx
je 0x1005d41b
mov eax, dword [esp + 0x18]
movss xmm2, dword [eax]
mov eax, dword [esp + 0x5c]
movss dword [esp + 0xe0], xmm2
movss xmm1, dword [eax]
mov eax, dword [esp + 0x58]
movss dword [esp + 0xe4], xmm1
movss xmm0, dword [eax]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x40]
movss dword [esp + 0xdc], xmm0
push eax
lea eax, [esp + 0x24]
push eax
sub esp, 0xc
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call fcn.1000d5a9
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x3c]
call fcn.1007383d
add esp, 0x28
jmp 0x1005d480
comiss xmm3, dword [esp + 0x8c]
jb 0x1005d32d
push dword [esp + 0x58]
movss xmm0, dword [esp + 0x40]
push dword [esp + 0x60]
mulss xmm0, dword [0x100c34b0]
push dword [esp + 0x20]
sub esp, 0xc
movss dword [esp + 8], xmm1
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp], xmm0
jmp 0x1005d325
mov eax, dword [esp + 0x30]
jmp 0x1005d338
test eax, 0x10000000
je 0x1005d480
mov eax, dword [esp + 0x18]
movss xmm2, dword [eax]
mov eax, dword [esp + 0x5c]
movss dword [esp + 0x1c], xmm2
movss xmm1, dword [eax]
mov eax, dword [esp + 0x58]
movss dword [esp + 0x3c], xmm1
movss xmm0, dword [eax]
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0xe8]
movss dword [esp + 0x58], xmm0
push eax
lea eax, [esp + 0xe8]
push eax
sub esp, 0xc
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm1
movss dword [esp], xmm2
call fcn.1000d64f
add esp, 0x18
movss xmm2, dword [edi + 0x3788]
push ecx
movss dword [esp], xmm2
call fcn.10073ae7
fmul dword [0x100ccae4]
add esp, 4
movss xmm0, dword [esp + 0x1c]
mov dword [esp + 0x130], 0x3f800000
mov dword [esp + 0x134], 0x3f800000
mov dword [esp + 0x138], 0x3f800000
fadd dword [0x100c34b0]
movss dword [esp + 0x13c], xmm2
fstp dword [esp + 0x48]
cvttss2si edx, dword [esp + 0x48]
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x44], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x74], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x140], ecx
or eax, 0x808080
mov dword [esp + 0x158], ecx
mov dword [esp + 0x58], eax
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x144], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x148], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x14c], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x150], eax
mov eax, edx
or eax, 0xff00ff
mov dword [esp + 0x154], eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
lea eax, [esp + 0x138]
push eax
sub esp, 0xc
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
movss dword [esp], xmm0
call fcn.1000d64f
lea eax, [esp + 0x148]
push eax
call fcn.1000d501
movss xmm0, dword [esp + 0xfc]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x100]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0xf4]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x3c]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [edi + 0x3788]
push eax
movss dword [esp + 0x4c], xmm0
call fcn.1000d501
and dword [esp + 0xe0], 0
add esp, 0x20
and dword [esp + 0xc4], 0
cmp dword [esp + 0x68], 0
mov dword [esp + 0x5c], eax
je 0x1005db74
movss xmm1, dword [esp + 0x78]
cvttss2si eax, xmm1
push 0xc
pop ecx
mov esi, dword [esp + 0x70]
push 4
movss xmm3, dword [0x100c34b0]
movaps xmm2, xmm1
cdq
idiv ecx
addss xmm2, dword [esp + 0x80]
divss xmm3, xmm1
mov ecx, eax
pop eax
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x60], eax
mulss xmm2, dword [0x100c34b0]
movss dword [esp + 0x8c], xmm3
movss dword [esp + 0x64], xmm2
movd xmm1, eax
lea eax, [esp + 0x80]
cvtdq2ps xmm1, xmm1
mov edi, dword [esi + 0x18]
push ecx
sub esp, 0xc
mov ecx, esi
mulss xmm1, dword [0x100e7ef0]
movaps xmm0, xmm1
addss xmm1, dword [0x100e7ef0]
subss xmm0, xmm3
addss xmm1, xmm3
movss dword [esp + 0x78], xmm0
movss dword [esp + 8], xmm1
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
push eax
movss dword [esp + 0x5c], xmm1
call fcn.1003fe2f
movss xmm0, dword [esp + 0x88]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push 0
push dword [esp + 0x7c]
push dword [esi + 0x54]
push dword [esi + 0x5c]
call fcn.1003eb15
movss xmm0, dword [esp + 0x68]
movss xmm1, dword [esp + 0x48]
and dword [esi + 0x54], 0
call fcn.1009b480
movss xmm3, dword [esp + 0x7c]
movaps xmm2, xmm0
mov eax, dword [esp + 0x60]
movaps xmm1, xmm0
shufps xmm2, xmm0, 0xe
shufps xmm1, xmm0, 1
mulss xmm0, xmm3
push dword [esp + eax*4 + 0x144]
mulss xmm1, xmm3
addss xmm0, dword [esp + 0x88]
push dword [esp + eax*4 + 0x144]
addss xmm1, dword [esp + 0x88]
movss dword [esp + 0xbc], xmm0
movaps xmm0, xmm2
shufps xmm0, xmm2, 1
mulss xmm2, xmm3
mulss xmm0, xmm3
addss xmm2, dword [esp + 0x8c]
movss dword [esp + 0xb8], xmm1
addss xmm0, dword [esp + 0x88]
movss dword [esp + 0x3c], xmm2
push dword [esp + 0x3c]
movss dword [esp + 0x3c], xmm0
push dword [esp + 0x3c]
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push dword [esi + 0x18]
push edi
push esi
call fcn.1004478e
mov eax, dword [esp + 0x84]
add esp, 0x24
movss xmm2, dword [esp + 0x64]
inc eax
movss xmm3, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x60], eax
cmp eax, 6
jl 0x1005d65c
movss xmm1, dword [esp + 0x1c]
mulss xmm1, dword [0x100c34b8]
mulss xmm1, dword [0x100e2a0c]
movaps xmm0, xmm1
call fcn.1009b430
cmp byte [esp + 0x16], 0
movaps xmm1, xmm0
movss xmm3, dword [esp + 0x7c]
addss xmm3, dword [esp + 0x78]
shufps xmm0, xmm1, 1
movups xmmword [esp + 0xb0], xmm0
movups xmmword [esp + 0x90], xmm1
mulss xmm0, xmm3
mulss xmm0, dword [0x100c34b0]
addss xmm0, dword [esp + 0x80]
movss dword [esp + 0xa8], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm3
mulss xmm0, dword [0x100c34b0]
addss xmm0, dword [esp + 0x84]
movss dword [esp + 0xac], xmm0
movss xmm0, dword [esp + 0x88]
je 0x1005d84f
mulss xmm0, dword [0x100cca90]
jmp 0x1005d857
mulss xmm0, dword [0x100e7ee4]
push ecx
mov ecx, esi
movss dword [esp + 0x8c], xmm0
movss dword [esp], xmm0
call fcn.10040f4f
movss xmm0, dword [esp + 0x88]
mov edi, eax
push edi
push dword [esp + 0x3c]
lea eax, [esp + 0xb0]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push eax
call fcn.1003e807
movss xmm0, dword [esp + 0x88]
lea eax, [esp + 0xa8]
addss xmm0, dword [0x100c34b4]
push ecx
mov dword [esp], 0x3f800000
push edi
push dword [esp + 0x60]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push eax
call fcn.1003e741
mov esi, dword [esp + 0x74]
lea eax, [esp + 0xa8]
movss xmm0, dword [esp + 0x88]
push ecx
mov dword [esp], 0x3f800000
push edi
mov edi, dword [esp + 0x78]
push esi
push ecx
movss dword [esp], xmm0
mov ecx, edi
push eax
call fcn.1003e741
movups xmm4, xmmword [esp + 0xb0]
movups xmm5, xmmword [esp + 0x90]
movss xmm3, dword [esp + 0xf8]
movss xmm2, dword [esp + 0xfc]
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 + 0x104]
subss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm2, xmm4
addss xmm3, dword [esp + 0x84]
mulss xmm0, xmm5
addss xmm1, dword [esp + 0x80]
movss dword [esp + 0xec], xmm3
movss xmm3, dword [esp + 0x100]
movss dword [esp + 0xe8], xmm1
movaps xmm1, xmm3
mulss xmm1, xmm4
mulss xmm3, xmm5
subss xmm1, xmm0
addss xmm3, xmm2
movss xmm2, dword [esp + 0x10c]
movaps xmm0, xmm2
mulss xmm2, xmm4
addss xmm1, dword [esp + 0x80]
mulss xmm0, xmm5
addss xmm3, dword [esp + 0x84]
movss dword [esp + 0xc8], xmm1
movss dword [esp + 0xcc], xmm3
movss xmm3, dword [esp + 0x108]
movaps xmm1, xmm3
mulss xmm3, xmm5
mulss xmm1, xmm4
subss xmm1, xmm0
addss xmm1, dword [esp + 0x80]
movss dword [esp + 0x110], xmm1
addss xmm3, xmm2
lea eax, [esp + 0x20]
push eax
addss xmm3, dword [esp + 0x88]
movss dword [esp + 0x118], xmm3
call fcn.1000b036
pop ecx
push 3
push 3
mov ecx, edi
call fcn.1004086e
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
push dword [esp + 0x38]
mov word [ecx], ax
lea eax, [esp + 0x24]
add dword [edi + 0x38], 2
mov ecx, edi
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.10046b3d
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x28]
mov word [ecx], ax
mov ecx, edi
mov eax, dword [esp + 0x44]
add dword [edi + 0x38], 2
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0xd0]
push eax
call fcn.10046b3d
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 + 0x118]
push eax
call fcn.10046b3d
push ecx
mov dword [esp], 0x3fc00000
lea eax, [esp + 0x114]
push dword [esp + 0x5c]
mov ecx, edi
push eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.1003e6a2
movss xmm0, dword [0x100c34b4]
subss xmm0, dword [esp + 0x54]
push ecx
movss dword [esp], xmm0
call fcn.10073ae7
movss xmm0, dword [esp + 0x40]
fstp dword [esp + 0x7c]
movss dword [esp], xmm0
call fcn.10073ae7
movss xmm0, dword [esp + 0xec]
add esp, 4
subss xmm0, dword [esp + 0x110]
movss xmm2, dword [esp + 0xec]
subss xmm2, dword [esp + 0x114]
movss xmm1, dword [esp + 0xc8]
fstp dword [esp + 0x44]
mulss xmm0, dword [esp + 0x44]
mulss xmm2, dword [esp + 0x44]
addss xmm0, dword [esp + 0x110]
addss xmm2, dword [esp + 0x114]
subss xmm1, xmm0
mulss xmm1, dword [esp + 0x78]
addss xmm1, xmm0
movss xmm0, dword [esp + 0xcc]
subss xmm0, xmm2
mulss xmm0, dword [esp + 0x78]
mov esi, dword [esp + 0xd0]
movss dword [esp + 0xc0], xmm1
addss xmm0, xmm2
movss dword [esp + 0xc4], xmm0
jmp 0x1005df12
test dword [esp + 0x30], 0x2000000
je 0x1005df0e
movss xmm0, dword [esp + 0x4c]
addss xmm0, dword [esp + 0x40]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x38]
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x7c]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x5c]
addss xmm0, dword [esp + 0x4c]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x60]
push eax
movss dword [esp + 0x3c], xmm0
call fcn.1003e4e2
movss xmm0, dword [esp + 0x4c]
addss xmm0, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x70]
push eax
push eax
movss dword [esp + 0x28], xmm0
lea eax, [esp + 0x28]
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [esp + 0x48]
push 0
push 0
push eax
lea eax, [esp + 0x60]
push eax
movss dword [esp + 0x3c], xmm0
call fcn.1003e4e2
movss xmm0, dword [esp + 0x4c]
addss xmm0, dword [esp + 0x40]
push ecx
and dword [esp], 0
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x54]
addss xmm0, dword [esp + 0x44]
movss dword [esp + 0x28], xmm0
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
call fcn.100172bc
movss xmm0, dword [esp + 0x50]
add esp, 0x10
movss dword [esp], xmm0
call fcn.10073ae7
movss xmm2, dword [esp + 0x44]
add esp, 4
movss xmm1, dword [esp + 0x4c]
movss xmm5, dword [0x100c34b0]
fstp dword [esp + 0x68]
movss xmm0, dword [esp + 0x68]
mulss xmm0, xmm2
movss xmm3, dword [0x100c34b8]
addss xmm0, xmm1
addss xmm0, xmm5
cvttss2si eax, xmm0
movaps xmm0, xmm1
addss xmm1, xmm2
addss xmm0, xmm3
movd xmm4, eax
cvtdq2ps xmm4, xmm4
subss xmm1, xmm3
comiss xmm0, xmm4
jbe 0x1005dcb6
movss dword [esp + 0xc0], xmm0
jmp 0x1005dccf
comiss xmm4, xmm1
jbe 0x1005dcc6
movss dword [esp + 0xc0], xmm1
jmp 0x1005dccf
movss dword [esp + 0xc0], xmm4
movss xmm0, dword [0x100c34b4]
subss xmm0, dword [esp + 0x54]
push ecx
movss dword [esp], xmm0
call fcn.10073ae7
movss xmm1, dword [esp + 0x54]
add esp, 4
fstp dword [esp + 0x68]
movss xmm0, dword [esp + 0x68]
movaps xmm4, xmm1
mulss xmm0, xmm2
addss xmm4, xmm3
addss xmm0, xmm1
addss xmm0, xmm5
xorps xmm5, xmm5
cvttss2si eax, xmm0
movaps xmm0, xmm1
addss xmm0, xmm2
cvtsi2ss xmm5, eax
subss xmm0, xmm3
comiss xmm4, xmm5
jbe 0x1005dd34
movss dword [esp + 0xc4], xmm4
jmp 0x1005dd4d
comiss xmm5, xmm0
jbe 0x1005dd44
movss dword [esp + 0xc4], xmm0
jmp 0x1005dd4d
movss dword [esp + 0xc4], xmm5
mulss xmm2, dword [0x100e7ec8]
xor eax, eax
mov esi, dword [esp + 0x70]
movss dword [esp + 0x68], xmm2
movss xmm0, dword [esp + 0xe8]
lea edi, [eax + 1]
push dword [esp + eax*4 + 0x144]
movss dword [esp + 0x24], xmm0
mov ecx, esi
push dword [esp + eax*4 + 0x148]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push dword [esp + eax*4 + 0x148]
mulss xmm0, xmm2
push dword [esp + eax*4 + 0x14c]
addss xmm0, xmm1
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0xd8]
movss dword [esp + 0xc0], xmm0
movd xmm0, eax
lea eax, [esp + 0x30]
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0xc4]
push eax
mulss xmm0, xmm2
addss xmm0, xmm1
movss dword [esp + 0xcc], xmm0
call fcn.1003e4e2
movss xmm1, dword [esp + 0x50]
mov eax, edi
cmp eax, 6
jge 0x1005ddfa
movss xmm2, dword [esp + 0x68]
jmp 0x1005dd61
movss xmm0, dword [esp + 0x1c]
mulss xmm0, dword [esp + 0x40]
push ecx
and dword [esp], 0
movss dword [esp + 0xb8], xmm1
addss xmm0, xmm1
addss xmm0, dword [0x100c34b0]
cvttss2si edi, xmm0
movss xmm0, dword [esp + 0xec]
movss dword [esp + 0x24], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x44]
movss dword [esp + 0x28], xmm0
push dword [esp + 0x28]
movss xmm0, dword [esp + 0xd0]
push dword [esp + 0x28]
movss dword [esp + 0xbc], xmm0
push dword [esp + 0xc0]
push dword [esp + 0xc0]
call fcn.100172bc
mov esi, dword [esp + 0xe4]
add esp, 0xc
mov eax, dword [esp + 0xf8]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x2c], xmm2
addss xmm0, dword [0x100c34b4]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0xd0]
subss xmm0, dword [0x100c34b4]
movss dword [esp + 0xb8], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov edi, dword [esp + 0x78]
movss dword [esp + 0xbc], xmm0
movss xmm0, dword [eax + 0x3788]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x74]
addss xmm0, dword [0x100c34b8]
movss dword [esp], xmm0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push edi
call fcn.10073fb5
add esp, 0x1c
jmp 0x1005df12
mov edi, dword [esp + 0x70]
cmp byte [esp + 0x17], 0
je 0x1005df23
movss xmm0, dword [0x100c34d8]
jmp 0x1005df2b
movss xmm0, dword [0x100c34c8]
push ecx
mov ecx, edi
movss dword [esp + 0x80], xmm0
movss dword [esp], xmm0
call fcn.10040f4f
movss xmm0, dword [esp + 0x7c]
mov edi, eax
push edi
push dword [esp + 0x60]
lea eax, [esp + 0xc8]
push ecx
mov ecx, dword [esp + 0x7c]
movss dword [esp], xmm0
push eax
call fcn.1003e807
movss xmm0, dword [esp + 0x7c]
lea eax, [esp + 0xc0]
addss xmm0, dword [0x100c34b4]
push ecx
mov dword [esp], 0x3f800000
push edi
push dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x80]
movss dword [esp], xmm0
push eax
call fcn.1003e741
movss xmm0, dword [esp + 0x7c]
lea eax, [esp + 0xc0]
push ecx
mov dword [esp], 0x3f800000
push edi
push dword [esp + 0x7c]
mov edi, dword [esp + 0x7c]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push eax
call fcn.1003e741
cmp dword [esp + 0xf4], 0x10000
jne 0x1005e197
mov eax, dword [esp + 0x18]
push ecx
movss xmm0, dword [eax + 0xc]
movss dword [esp], xmm0
call fcn.10073ae7
movss xmm0, dword [esp + 0xe0]
add esp, 4
movss 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 + 0x9c], xmm0
addss xmm0, dword [esp + 0x78]
push dword [esp + 0x2c]
movss dword [esp + 0xa4], xmm1
addss xmm1, dword [esp + 0x50]
push ecx
movss dword [esp + 0xac], xmm0
movss xmm0, dword [esp + 0x80]
mulss xmm0, dword [0x100c34b0]
movss dword [esp + 0xb0], xmm1
fstp dword [esp + 0x7c]
movss dword [esp], xmm0
push 0
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push edi
call fcn.10043843
mov ecx, dword [esp + 0x88]
add esp, 0x2c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
lea eax, [esp + 0xa8]
mov ecx, edi
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.1003e4e2
movss xmm0, dword [0x100c34b4]
subss xmm0, dword [esp + 0x68]
push ecx
and dword [esp], 0
push dword [esp + 0xa0]
mulss xmm0, dword [esp + 0x48]
push dword [esp + 0xa0]
addss xmm0, dword [esp + 0x5c]
push dword [esp + 0xa0]
push dword [esp + 0xa0]
addss xmm0, dword [0x100c34b0]
cvttss2si edi, xmm0
call fcn.100172bc
add esp, 0xc
movd xmm2, esi
mov esi, dword [esp + 0xf8]
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x2c], xmm2
addss xmm0, dword [0x100c34b4]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0xe4]
subss xmm0, dword [0x100c34b4]
movss dword [esp + 0xb8], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xbc], xmm0
movss xmm0, dword [esi + 0x3788]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x74]
addss xmm0, dword [0x100c34b8]
movss dword [esp], xmm0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push dword [esp + 0x88]
call fcn.10073fb5
add esp, 0x1c
jmp 0x1005e19e
mov esi, dword [esp + 0xf0]
call fcn.1000b3b8
cmp byte [esp + 0x14], 0
je 0x1005e1f0
push dword [esp + 0xd4]
lea eax, [esp + 0x160]
push dword [esp + 0x1c]
push eax
call fcn.1009e85b
add esp, 0xc
test eax, eax
jne 0x1005e1cf
mov byte [esp + 0x14], al
jmp 0x1005e1f0
mov eax, dword [esi + 0x46bc]
mov cl, byte [esp + 0x15]
mov byte [esp + 0x14], cl
test eax, eax
je 0x1005e1f0
push eax
call fcn.100139d6
mov al, byte [esp + 0x19]
pop ecx
mov byte [esp + 0x14], al
cmp dword [esp + 0x12c], 0
jne 0x1005e201
and dword [esi + 0x5994], 0
call fcn.1000b8b7
mov al, byte [esp + 0x14]
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
xor ecx, esp
call fcn.1009b3f5
mov esp, ebp
pop ebp
ret