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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x138
mov eax, dword [0x100b60c0]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [0x10123f50]
mov dword [esp + 0xd0], eax
push edi
mov edi, edx
mov dword [esp + 0x44], ecx
mov eax, dword [esi + 0x199c]
mov dword [esp + 0xcc], edi
mov dword [esp + 0x20], esi
mov byte [eax + 0x7c], 1
mov eax, dword [esi + 0x199c]
mov dword [esp + 0x48], eax
cmp byte [eax + 0x7f], 0
je 0x10058abd
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.1006cde1
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 0x26c]
mov dword [esp + 0x40], eax
call fcn.10016eb0
call fcn.10016fd0
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
test ecx, 0x100
cmovne edx, ecx
mov dword [esp + 0x10], edx
test dl, 8
jne 0x10058af6
mov ecx, edi
call fcn.1005c340
mov edx, dword [esp + 0x10]
test edx, 0x6000000
jne 0x10058b1b
mov eax, dword [esi + 0x2c94]
mov ecx, 0xa900000
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x10058b1d
mov ecx, edx
mov dword [esp + 0x18], ecx
test ecx, 0x18000000
jne 0x10058b48
mov eax, dword [esi + 0x2c94]
mov edx, 0xa900000
test eax, 0x18000000
cmovne edx, eax
and edx, 0x18000000
or ecx, edx
mov dword [esp + 0x18], ecx
test cl, 8
jne 0x10058b5e
mov eax, dword [esi + 0x2c94]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x18], ecx
mov eax, ecx
mov edx, ecx
and eax, 2
and edx, 0x10002
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc4], edx
movss xmm0, dword [eax + 0xcc]
movss xmm5, dword [eax + 0xc8]
mov eax, dword [0x10123f50]
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x58], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x24], xmm5
movss xmm4, dword [eax + 0x1548]
addss xmm4, xmm4
movss dword [esp + 0x54], xmm5
addss xmm4, dword [eax + 0x18bc]
mov eax, dword [eax + 0x199c]
mov dword [esp + 0x48], eax
movss xmm2, dword [eax + 0x170]
comiss xmm0, xmm2
movss dword [esp + 0x5c], xmm4
jbe 0x10058c5c
mov ecx, dword [eax + 0x1c0]
movss xmm3, dword [eax + 0xc8]
movss xmm1, dword [eax + 0x218]
mov dword [esp + 0x10], ecx
subss xmm3, dword [eax + 0xc]
subss xmm1, dword [eax + 0xc]
test ecx, ecx
je 0x10058c48
mov edx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [esp + 0x10]
movss xmm1, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm1, xmm0
mov edx, dword [esp + 0xc4]
mulss xmm1, dword [eax + ecx*4]
mov eax, dword [esp + 0x48]
addss xmm1, xmm0
subss xmm1, dword [eax + 0x3c]
subss xmm1, xmm3
addss xmm1, xmm2
movss xmm2, dword [0x100a9bcc]
maxss xmm2, xmm1
movss xmm3, dword [esi + 0x155c]
cvttss2si eax, xmm2
movaps xmm0, xmm3
addss xmm0, xmm4
movd xmm2, eax
xor eax, eax
cmp edx, 0x10000
cvtdq2ps xmm2, xmm2
sete al
inc eax
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xe0], eax
sete al
mulss xmm1, xmm0
movaps xmm0, xmm4
lea eax, [eax*4 + 0xc]
push eax
lea eax, [esp + 0x130]
subss xmm2, xmm1
movaps xmm1, xmm5
push edi
push eax
maxss xmm0, xmm2
addss xmm1, xmm0
movss dword [esp + 0x28], xmm0
addss xmm1, xmm3
movaps xmm0, xmm1
movss dword [esp + 0xb4], xmm1
addss xmm0, xmm4
addss xmm0, xmm3
movss dword [esp + 0xd4], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x100a9b78]
cvttss2si esi, xmm0
mov dword [esp + 0xe4], esi
call fcn.1006ed50
movss xmm0, dword [esp + 0x28]
add esp, 0xc
movaps xmm4, xmm0
mov dword [esp + 0x3c], 0
mulss xmm4, dword [0x100a9b90]
movaps xmm3, xmm0
mulss xmm3, dword [0x100a9b5c]
movaps xmm2, xmm4
movss dword [esp + 0x48], xmm4
movaps xmm1, xmm4
addss xmm1, dword [esp + 0x28]
subss xmm2, xmm3
movss dword [esp + 0x6c], xmm3
movaps xmm3, xmm0
mulss xmm0, dword [0x100a9b50]
addss xmm3, dword [esp + 0x5c]
movss dword [esp + 0x8c], xmm1
cvttss2si eax, xmm0
movss dword [esp + 0x94], xmm1
movaps xmm1, xmm2
mulss xmm3, dword [0x100a9b90]
movss dword [esp + 0x68], xmm2
movd xmm0, eax
addss xmm3, dword [esp + 0x24]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x88], xmm3
subss xmm1, xmm0
movss dword [esp + 0x90], xmm3
movss xmm3, dword [edi]
movaps xmm0, xmm1
movss dword [esp + 0x38], xmm1
mulss xmm0, dword [0x100a9d28]
movaps xmm2, xmm1
mulss xmm2, dword [0x100a9d34]
movss dword [esp + 0xb4], xmm0
movss dword [esp + 0x108], xmm0
movss dword [esp + 0x11c], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100a9bbc]
movss dword [esp + 0xa4], xmm2
movss dword [esp + 0x10c], xmm2
movss dword [esp + 0xb0], xmm0
movss dword [esp + 0x120], xmm0
movss xmm1, dword [edi + 4]
movaps xmm0, xmm3
movss xmm4, dword [edi + 8]
mov eax, dword [esp + 0x18]
movss xmm7, dword [0x100a9b24]
movss dword [esp + 0x78], xmm0
movss dword [esp + 0xd0], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x74], xmm0
movaps xmm0, xmm4
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [0x100a9c64]
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x4c], xmm1
movss dword [esp + 0x50], xmm4
movss dword [esp + 0xc0], xmm0
test eax, 0x8000000
je 0x10058f09
comiss xmm4, xmm1
xorps xmm5, xmm5
movaps xmm2, xmm1
movaps xmm6, xmm4
jbe 0x10058e96
movss xmm5, dword [0x100a9d38]
movaps xmm2, xmm4
movaps xmm6, xmm1
comiss xmm2, xmm3
movaps xmm4, xmm3
movss dword [esp + 0x50], xmm4
jbe 0x10058ebf
movss xmm0, dword [0x100a9d24]
movaps xmm4, xmm2
subss xmm0, xmm5
movss dword [esp + 0x50], xmm4
movaps xmm2, xmm3
movaps xmm5, xmm0
movaps xmm0, xmm2
movaps xmm1, xmm4
minss xmm0, xmm6
subss xmm2, xmm6
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100a9c64]
addss xmm0, xmm7
divss xmm2, xmm0
addss xmm2, xmm5
movaps xmm0, xmm2
call fcn.1000a8b0
movss dword [esp + 0x2c], xmm0
movaps xmm0, xmm4
addss xmm0, xmm7
divss xmm1, xmm0
movss dword [esp + 0x4c], xmm1
jmp 0x10058f55
test eax, 0x10000000
je 0x10058f55
lea eax, [esp + 0x7c]
movaps xmm2, xmm4
push eax
lea edx, [esp + 0x78]
movaps xmm0, xmm3
lea ecx, [esp + 0xd4]
call fcn.1000c800
movss xmm0, dword [esp + 0xd4]
add esp, 4
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x64], xmm0
mov ecx, dword [0x10123f50]
mov byte [esp + 0xf], 0
mov byte [esp + 0x17], 0
mov byte [esp + 0x16], 0
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x199c]
mov dword [esp + 0x10], ecx
or dword [ecx + 0x16c], 8
add ecx, 0x178
mov dword [esp + 0x80], ecx
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x10058fcf
inc edx
mov dword [esp + 0xe4], edx
test eax, eax
je 0x10058fb8
cdq
sub eax, edx
mov edx, dword [esp + 0xe4]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10058fbd
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1001f340
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx]
mov eax, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
mov eax, dword [eax + 0x16c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x10]
inc dword [eax + 0x178]
mov eax, dword [esp + 0x18]
test eax, 0x4000000
je 0x100595de
movss xmm1, dword [esp + 0x1c]
lea edx, [esp + 0x30]
mov eax, dword [esp + 0x20]
movaps xmm0, xmm1
mov ecx, 0x100a7004
movss dword [esp + 0x34], xmm1
addss xmm0, dword [eax + 0x155c]
addss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x30], xmm0
call fcn.1004bca0
mov eax, dword [0x10123f50]
mov ecx, dword [eax + 0x19bc]
test ecx, ecx
je 0x100594ce
mov eax, dword [eax + 0x199c]
cmp ecx, dword [eax + 0x108]
jne 0x100594ce
mov eax, dword [esp + 0x20]
movss xmm0, dword [eax + 0x388]
subss xmm0, dword [esp + 0x8c]
movss xmm1, dword [eax + 0x384]
subss xmm1, dword [esp + 0x88]
movss xmm4, dword [eax + 0xe0]
movss xmm3, dword [eax + 0xe4]
subss xmm4, dword [esp + 0x88]
subss xmm3, dword [esp + 0x8c]
movaps xmm2, xmm0
movss dword [esp + 0xac], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0xe4], xmm1
movss xmm1, dword [0x100a9bcc]
addss xmm2, xmm0
movss dword [esp + 0x10], xmm4
movss xmm0, dword [esp + 0x68]
subss xmm0, xmm1
movss dword [esp + 0xb8], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x10059162
movss xmm0, dword [esp + 0x48]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x10059162
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
call fcn.10089b70
movss xmm3, dword [0x100a9c48]
xorps xmm0, xmm0
fstp qword [esp + 0x30]
movsd xmm1, qword [esp + 0x30]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm3
mulss xmm1, dword [0x100a9b90]
comiss xmm0, xmm1
movss dword [esp + 0x2c], xmm1
jbe 0x1005915a
addss xmm1, dword [0x100a9bcc]
movss dword [esp + 0x2c], xmm1
mov al, 1
mov byte [esp + 0xf], al
jmp 0x10059174
mov al, byte [esp + 0xf]
movss xmm3, dword [0x100a9c48]
movss xmm1, dword [esp + 0x2c]
movaps xmm0, xmm1
mov byte [esp + 0x17], al
xorps xmm0, xmmword [0x100aa510]
addss xmm0, xmm0
mulss xmm0, xmm3
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x30], xmm0
call fcn.1008a0c0
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x80], xmm0
movsd xmm0, qword [esp + 0x30]
call fcn.1008add0
movss xmm4, dword [esp + 0x80]
xorps xmm3, xmm3
cvtsd2ss xmm3, xmm0
movss xmm1, dword [esp + 0xb4]
movaps xmm5, xmm4
mulss xmm5, dword [esp + 0xe4]
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xac]
movaps xmm7, xmm4
mulss xmm7, dword [esp + 0xac]
subss xmm5, xmm0
movss dword [esp + 0xdc], xmm3
movaps xmm0, xmm3
movss xmm6, dword [esp + 0x38]
mulss xmm0, dword [esp + 0xe4]
movaps xmm3, xmm1
subss xmm3, xmm1
movaps xmm2, xmm5
addss xmm7, xmm0
movss xmm0, dword [esp + 0xa4]
subss xmm0, dword [esp + 0xb0]
subss xmm2, xmm1
subss xmm6, dword [esp + 0xb4]
movss dword [esp + 0x80], xmm3
movss dword [esp + 0xac], xmm0
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm7
subss xmm0, dword [esp + 0xb0]
movss dword [esp + 0xa0], xmm6
mulss xmm0, xmm3
xorps xmm3, xmm3
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0xa4]
comiss xmm3, xmm1
movaps xmm1, xmm0
movss dword [esp + 0xe4], xmm0
movaps xmm0, xmm7
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0xa4]
mulss xmm0, xmm6
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x100594c6
movss xmm6, dword [esp + 0xb0]
subss xmm7, xmm3
movss xmm2, dword [esp + 0xb4]
subss xmm6, xmm3
subss xmm2, dword [esp + 0x38]
subss xmm5, dword [esp + 0x38]
movss dword [esp + 0x60], xmm6
mulss xmm7, xmm2
mulss xmm5, xmm6
movss dword [esp + 0x30], xmm2
subss xmm5, xmm7
comiss xmm3, xmm5
seta al
cmp cl, al
jne 0x100594c6
movss xmm1, dword [esp + 0xdc]
movaps xmm5, xmm4
movss xmm7, dword [esp + 0xb8]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x10]
mulss xmm5, dword [esp + 0x10]
mulss xmm0, xmm7
mulss xmm4, xmm7
subss xmm5, xmm0
addss xmm4, xmm1
movaps xmm1, xmm5
movss dword [esp + 0xb8], xmm5
subss xmm1, dword [esp + 0xb4]
movaps xmm0, xmm4
movss dword [esp + 0xbc], xmm4
subss xmm0, dword [esp + 0xb0]
mulss xmm1, dword [esp + 0xac]
mulss xmm0, dword [esp + 0x80]
subss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xa4]
comiss xmm3, xmm1
mulss xmm0, dword [esp + 0xa0]
movaps xmm1, xmm5
subss xmm1, dword [esp + 0xb4]
seta cl
mulss xmm1, dword [esp + 0xe4]
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp al, cl
jne 0x100593db
movaps xmm1, xmm5
movaps xmm0, xmm4
subss xmm1, dword [esp + 0x38]
subss xmm0, xmm3
mulss xmm1, xmm6
mulss xmm0, xmm2
subss xmm1, xmm0
comiss xmm3, xmm1
seta al
cmp cl, al
je 0x10059418
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x110]
push eax
lea edx, [esp + 0x44]
lea ecx, [esp + 0xf0]
call fcn.1000be00
movss xmm6, dword [esp + 0x6c]
add esp, 0xc
xorps xmm3, xmm3
movss xmm5, dword [eax]
movss xmm4, dword [eax + 4]
movss xmm2, dword [esp + 0xa4]
subss xmm4, xmm3
movss xmm7, dword [esp + 0x30]
subss xmm2, xmm3
subss xmm5, dword [esp + 0x38]
movaps xmm1, xmm7
movaps xmm0, xmm7
mulss xmm1, xmm6
mulss xmm4, xmm7
mulss xmm6, xmm5
mulss xmm0, xmm2
subss xmm6, xmm4
mulss xmm5, xmm2
subss xmm1, xmm0
movss xmm0, dword [0x100a9bcc]
movaps xmm7, xmm0
subss xmm4, xmm5
divss xmm6, xmm1
divss xmm4, xmm1
movss xmm1, dword [0x100a9b38]
subss xmm7, xmm6
movss dword [esp + 0x4c], xmm1
comiss xmm1, xmm7
movaps xmm3, xmm7
subss xmm3, xmm4
jbe 0x10059497
movaps xmm2, xmm1
movss dword [esp + 0x50], xmm1
jmp 0x100594a4
movaps xmm2, xmm0
minss xmm2, xmm7
movss dword [esp + 0x50], xmm2
divss xmm3, xmm2
comiss xmm1, xmm3
ja 0x100594ba
movaps xmm1, xmm0
minss xmm1, xmm3
movss dword [esp + 0x4c], xmm1
mov byte [esp + 0x16], 1
mov byte [esp + 0xf], 1
jmp 0x100594ce
mov al, byte [esp + 0xf]
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x18]
test al, 8
jne 0x100594e0
mov ecx, str.context
call fcn.10017760
movss xmm2, dword [esp + 0x28]
movss xmm4, dword [esp + 0x1c]
cmp dword [esp + 0xc4], 0x10000
jne 0x100597fd
mov ecx, dword [0x10123f50]
lea edx, [esp + 0x108]
movss xmm0, dword [esp + 0xc8]
movss dword [esp + 0x10c], xmm4
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x199c]
mov ecx, str.alpha
movss dword [eax + 0xc8], xmm0
movss dword [eax + 0xcc], xmm2
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe4]
maxss xmm0, xmm2
movss dword [eax + 0xe0], xmm1
movss dword [eax + 0xe4], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x108], xmm0
call fcn.1004bca0
mov eax, dword [0x10123f50]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + 0x19bc]
test ecx, ecx
je 0x10059801
mov eax, dword [eax + 0x199c]
cmp ecx, dword [eax + 0x108]
jne 0x10059801
movss xmm3, dword [edx + 0xe4]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x1c]
movss xmm1, dword [0x100a9bcc]
subss xmm3, dword [esp + 0x28]
subss xmm0, xmm1
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x100597e3
xorps xmm4, xmm4
jmp 0x100597ea
test eax, 0x2000000
je 0x100594e0
movss xmm0, dword [esp + 0x1c]
lea edx, [esp + 0x108]
mov ecx, 0x100a7008
movss dword [esp + 0x108], xmm0
movss dword [esp + 0x10c], xmm0
call fcn.1004bca0
mov ecx, dword [0x10123f50]
mov edx, dword [ecx + 0x19bc]
test edx, edx
je 0x100596b1
mov eax, dword [ecx + 0x199c]
cmp edx, dword [eax + 0x108]
jne 0x100596b1
mov eax, dword [esp + 0x20]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x1c]
movss xmm1, dword [0x100a9bcc]
subss xmm4, xmm1
movss xmm3, dword [eax + 0xe0]
subss xmm3, dword [esp + 0x24]
divss xmm3, xmm4
comiss xmm0, xmm3
jbe 0x1005966c
movss dword [esp + 0x4c], xmm0
jmp 0x10059679
movaps xmm2, xmm1
minss xmm2, xmm3
movss dword [esp + 0x4c], xmm2
movss xmm2, dword [eax + 0xe4]
subss xmm2, dword [esp + 0x28]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x10059695
xorps xmm3, xmm3
jmp 0x1005969c
movaps xmm3, xmm1
minss xmm3, xmm2
movaps xmm0, xmm1
mov al, 1
subss xmm0, xmm3
mov byte [esp + 0xf], al
movss dword [esp + 0x50], xmm0
jmp 0x100596b5
mov al, byte [esp + 0xf]
mov byte [esp + 0x16], al
mov byte [esp + 0x15], al
mov eax, dword [esp + 0x18]
test al, 8
jne 0x100596d5
mov ecx, str.context
call fcn.10017760
mov ecx, dword [0x10123f50]
mov eax, dword [ecx + 0x199c]
lea edx, [esp + 0x108]
movss xmm0, dword [esp + 0xa8]
movss xmm2, dword [esp + 0x28]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x199c]
mov ecx, 0x100a700c
movss dword [eax + 0xc8], xmm0
movss dword [eax + 0xcc], xmm2
movss xmm1, dword [eax + 0xe0]
maxss xmm1, xmm0
movss xmm0, dword [eax + 0xe4]
maxss xmm0, xmm2
movss dword [eax + 0xe0], xmm1
movss dword [eax + 0xe4], xmm0
movss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x108], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x10c], xmm0
call fcn.1004bca0
mov eax, dword [0x10123f50]
mov ecx, dword [eax + 0x19bc]
test ecx, ecx
je 0x100594e0
mov eax, dword [eax + 0x199c]
mov dl, byte [esp + 0xf]
mov byte [esp + 0x16], dl
cmp ecx, dword [eax + 0x108]
jne 0x100594e0
mov eax, dword [esp + 0x20]
movss xmm4, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x28]
movaps xmm0, xmm4
movss xmm1, dword [0x100a9bcc]
movss xmm3, dword [eax + 0xe4]
subss xmm0, xmm1
subss xmm3, xmm2
divss xmm3, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm3
ja 0x100597c6
movaps xmm0, xmm1
minss xmm0, xmm3
mov al, byte [esp + 0x15]
movss dword [esp + 0x2c], xmm0
mov byte [esp + 0x17], 1
mov byte [esp + 0xf], 1
mov byte [esp + 0x16], al
jmp 0x100594ec
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 0xf], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
jmp 0x10059801
mov edx, dword [esp + 0x20]
mov ecx, dword [0x10123f50]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x199c]
mov eax, dword [ecx + 0x178]
add eax, 0xffffffff
mov dword [esp + 0x30], eax
mov dword [ecx + 0x178], eax
jne 0x10059830
xor eax, eax
jmp 0x10059845
mov esi, dword [esp + 0x30]
mov eax, dword [ecx + 0x180]
mov eax, dword [eax + esi*4 - 4]
mov esi, dword [esp + 0xd8]
mov dword [ecx + 0x16c], eax
mov eax, dword [esp + 0x18]
test eax, 0x100
jne 0x1005986f
movss xmm1, dword [edx + 0x155c]
xorps xmm0, xmm0
call fcn.100172a0
call fcn.10016fd0
mov eax, dword [esp + 0x18]
test al, al
js 0x100598d5
mov edx, dword [esp + 0x44]
cmp edx, 0xffffffff
jae 0x100598d5
nop dword [eax]
mov cl, byte [edx]
mov byte [esp + 0x15], cl
test cl, cl
je 0x1005989a
cmp cl, 0x23
jne 0x10059894
cmp byte [edx + 1], cl
je 0x1005989a
inc edx
cmp edx, 0xffffffff
jb 0x10059880
mov dword [esp + 0x10], edx
cmp dword [esp + 0x44], edx
je 0x100598d5
test eax, 0x100
je 0x100598c3
mov eax, dword [esp + 0x20]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x155c]
call fcn.100172a0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
push 0
call fcn.1004a260
mov eax, dword [esp + 0x1c]
add esp, 4
test eax, 0x100
jne 0x10059b35
mov ecx, dword [0x10123f50]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x199c]
mov dword [esp + 0x10], ecx
or dword [ecx + 0x16c], 0x10
add ecx, 0x178
mov dword [esp + 0x60], ecx
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x1005993f
inc edx
mov dword [esp + 0x30], edx
test eax, eax
je 0x1005992b
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10059930
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1001f340
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx]
mov eax, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
mov eax, dword [eax + 0x16c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x10]
inc dword [eax + 0x178]
mov eax, dword [esp + 0x18]
test al, 2
je 0x1005996d
movss xmm1, dword [0x100a9bcc]
jmp 0x10059972
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi]
movss dword [esp + 0x11c], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0x120], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0x124], xmm0
movss dword [esp + 0x128], xmm1
test al, al
jns 0x100599b9
push str.Current
call fcn.1004a9c0
mov eax, dword [esp + 0x1c]
add esp, 4
movss xmm1, dword [esp + 0x5c]
lea edx, [esp + 0x11c]
movaps xmm0, xmm1
and eax, 0x180e0040
mulss xmm0, dword [0x100a9c44]
mov ecx, str.current
mov dword [esp + 0xa0], eax
movss dword [esp + 0xb8], xmm0
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0xbc], xmm0
push dword [esp + 0xbc]
movss dword [esp + 0x64], xmm0
push dword [esp + 0xbc]
push eax
call fcn.1005b1b0
add esp, 0xc
cmp dword [esp + 0xd4], 0
je 0x10059af1
push str.Original
call fcn.1004a9c0
mov eax, dword [esp + 0x1c]
add esp, 4
test al, 2
mov eax, dword [esp + 0xd4]
je 0x10059a52
movss xmm1, dword [0x100a9bcc]
jmp 0x10059a57
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0x108]
movss dword [esp + 0x108], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x10c], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x110], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
movss dword [esp + 0x118], xmm1
push dword [esp + 0x34]
push dword [esp + 0xa8]
call fcn.1005b1b0
add esp, 0xc
test al, al
je 0x10059af1
xor eax, eax
cmp dword [esp + 0xe0], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0xd8]
push edi
call fcn.1006ed50
add esp, 0xc
mov byte [esp + 0xf], 1
mov ecx, dword [0x10123f50]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x199c]
mov edx, dword [ecx + 0x178]
sub edx, 1
mov dword [ecx + 0x178], edx
jne 0x10059b1c
xor eax, eax
jmp 0x10059b26
mov eax, dword [ecx + 0x180]
mov eax, dword [eax + edx*4 - 4]
mov dword [ecx + 0x16c], eax
call fcn.10017100
mov eax, dword [esp + 0x18]
cmp byte [esp + 0x17], 0
jne 0x10059b47
cmp byte [esp + 0x16], 0
je 0x10059bcf
test eax, 0x8000000
je 0x10059ba8
movss xmm1, dword [esp + 0x50]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10059b61
movaps xmm3, xmm1
jmp 0x10059b69
movss xmm3, dword [0x100a9b28]
movss xmm1, dword [esp + 0x4c]
comiss xmm1, xmm0
movss xmm2, dword [0x100a9b2c]
ja 0x10059b7f
movaps xmm1, xmm2
movss xmm0, dword [esp + 0x2c]
comiss xmm0, dword [0x100a9bcc]
jb 0x10059b92
subss xmm0, xmm2
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
movaps xmm2, xmm3
call fcn.1000c800
add esp, 4
jmp 0x10059bcf
test eax, 0x10000000
je 0x10059bcf
movss xmm0, dword [esp + 0x4c]
movss xmm1, dword [esp + 0x2c]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [edi], xmm1
movss dword [edi + 8], xmm0
mov edx, dword [esp + 0x18]
mov byte [esp + 0x15], 0
test dl, 0x20
jne 0x10059eba
cmp dword [esp + 0xc4], 0x10000
jne 0x10059bf9
movss xmm0, dword [esp + 0xc8]
jmp 0x10059c02
movss xmm0, dword [esp + 0xa8]
addss xmm0, dword [esp + 0x5c]
mov ecx, dword [0x10123f50]
subss xmm0, dword [esp + 0x24]
mov eax, dword [ecx + 0x199c]
ucomiss xmm0, dword [0x100a9b10]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x199c]
mov dword [esp + 0x10], ecx
lahf
test ah, 0x44
jp 0x10059c3d
movss xmm0, dword [ecx + 0x224]
movss dword [ecx + 0x170], xmm0
add ecx, 0x184
mov dword [esp + 0x60], ecx
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
cmp edx, eax
jne 0x10059c83
inc edx
mov dword [esp + 0x30], edx
test eax, eax
je 0x10059c6f
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10059c74
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1001f340
mov ecx, dword [esp + 0x60]
mov edx, dword [ecx]
mov eax, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
mov eax, dword [eax + 0x170]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
inc dword [eax + 0x184]
mov eax, edx
and eax, 0x198e001a
mov dword [esp + 0x44], eax
test edx, 0x100000
jne 0x10059cbe
test edx, 0x700000
jne 0x10059d04
or eax, 0x100004
mov edx, edi
push eax
mov ecx, str.rgb
call fcn.10057480
add esp, 4
test al, al
je 0x10059cfc
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x19bc], 0
je 0x10059cf2
cmp byte [eax + 0x19cd], 0
mov byte [esp + 0x15], 1
je 0x10059cf7
mov byte [esp + 0x15], 0
mov byte [esp + 0xf], 1
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x18]
test edx, 0x200000
jne 0x10059d14
test edx, 0x700000
jne 0x10059d31
or eax, 0x200004
mov edx, edi
push eax
mov ecx, str.hsv
call fcn.10057480
mov edx, dword [esp + 0x1c]
add esp, 4
or byte [esp + 0xf], al
test edx, 0x400000
jne 0x10059d41
test edx, 0x700000
jne 0x10059d62
mov eax, dword [esp + 0x44]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.10057480
mov edx, dword [esp + 0x1c]
add esp, 4
or byte [esp + 0xf], al
mov ecx, dword [0x10123f50]
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x7c], 1
mov ecx, dword [ecx + 0x199c]
mov eax, dword [ecx + 0x184]
add eax, 0xffffffff
mov dword [esp + 0x30], eax
mov dword [ecx + 0x184], eax
jne 0x10059d97
movss xmm0, dword [ecx + 0x224]
jmp 0x10059dae
mov esi, dword [esp + 0x30]
mov eax, dword [ecx + 0x18c]
movss xmm0, dword [eax + esi*4 - 4]
mov esi, dword [esp + 0xd8]
cmp byte [esp + 0x15], 0
movss dword [ecx + 0x170], xmm0
je 0x10059eba
test edx, 0x8000000
je 0x10059eba
movss xmm3, dword [edi + 4]
xorps xmm2, xmm2
movss xmm5, dword [edi + 8]
xorps xmm6, xmm6
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x10059df7
movss xmm6, dword [0x100a9d38]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x10059e14
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100a9d24]
subss xmm0, xmm6
movaps xmm6, xmm0
movaps xmm0, xmm3
movaps xmm1, xmm4
minss xmm0, xmm5
subss xmm3, xmm5
subss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x100a9b24]
movaps xmm7, xmm1
mulss xmm1, dword [0x100a9c64]
divss xmm7, xmm0
addss xmm1, dword [0x100a9b24]
divss xmm3, xmm1
addss xmm3, xmm6
movaps xmm0, xmm3
call fcn.1000a8b0
comiss xmm2, xmm0
jb 0x10059eba
movss xmm0, dword [esp + 0x2c]
comiss xmm0, xmm2
jbe 0x10059eba
comiss xmm2, xmm4
jb 0x10059e8f
movss xmm1, dword [esp + 0x50]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10059e8f
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x4c]
mulss xmm2, dword [0x100a9b90]
jmp 0x10059ea5
comiss xmm2, xmm7
jb 0x10059eba
movss xmm1, dword [esp + 0x4c]
movaps xmm2, xmm4
mulss xmm1, dword [0x100a9b90]
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
call fcn.1000c800
mov edx, dword [esp + 0x1c]
add esp, 4
cmp byte [esp + 0xf], 0
je 0x10059fef
test edx, 0x8000000
je 0x10059f88
movss xmm1, dword [edi + 4]
xorps xmm4, xmm4
movss xmm3, dword [edi + 8]
movaps xmm2, xmm1
comiss xmm3, xmm1
movss xmm0, dword [edi]
movaps xmm5, xmm3
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x70], xmm1
movss dword [esp + 0x64], xmm3
jbe 0x10059f0d
movss xmm4, dword [0x100a9d38]
movaps xmm2, xmm3
movaps xmm5, xmm1
comiss xmm2, xmm0
movaps xmm3, xmm0
movss dword [esp + 0x50], xmm3
jbe 0x10059f36
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x100a9d24]
subss xmm0, xmm4
movss dword [esp + 0x50], xmm3
movaps xmm4, xmm0
movaps xmm0, xmm2
movaps xmm1, xmm3
minss xmm0, xmm5
subss xmm2, xmm5
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100a9c64]
addss xmm0, dword [0x100a9b24]
divss xmm2, xmm0
addss xmm2, xmm4
movaps xmm0, xmm2
call fcn.1000a8b0
movss dword [esp + 0x2c], xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x100a9b24]
divss xmm1, xmm0
movss dword [esp + 0x4c], xmm1
jmp 0x10059fef
test edx, 0x10000000
je 0x10059fef
movss xmm0, dword [edi]
lea eax, [esp + 0x7c]
movss xmm1, dword [edi + 4]
lea edx, [esp + 0x74]
movss xmm2, dword [edi + 8]
lea ecx, [esp + 0xd0]
push eax
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x54], xmm2
call fcn.1000c800
movss xmm0, dword [esp + 0xd4]
add esp, 4
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x2c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x108], xmm0
fld qword [esp + 0x108]
fld1
call fcn.10089b80
fstp qword [esp + 0x108]
movsd xmm1, qword [esp + 0x108]
xorps xmm0, xmm0
cvtpd2ps xmm1, xmm1
movss xmm2, dword [0x100a9bcc]
divss xmm1, dword [0x100a9b70]
movaps xmm3, xmm2
cvttss2si eax, xmm1
cvtsi2ss xmm0, eax
subss xmm1, xmm0
movaps xmm0, xmm2
subss xmm3, xmm1
subss xmm0, xmm3
cmp eax, 5
ja case.0x1005a055.5
jmp dword [eax*4 + 0x1005b194]
movaps xmm5, xmm0
xorps xmm0, xmm0
jmp 0x1005a093
movaps xmm4, xmm3
movaps xmm5, xmm2
xorps xmm0, xmm0
jmp 0x1005a096
xorps xmm4, xmm4
movaps xmm5, xmm2
jmp 0x1005a096
xorps xmm4, xmm4
movaps xmm5, xmm3
movaps xmm0, xmm2
jmp 0x1005a096
movaps xmm4, xmm0
xorps xmm5, xmm5
movaps xmm0, xmm2
jmp 0x1005a096
xorps xmm5, xmm5
movaps xmm0, xmm3
movaps xmm4, xmm2
xorps xmm1, xmm1
comiss xmm1, xmm4
jbe 0x1005a0a3
xorps xmm3, xmm3
jmp 0x1005a0aa
movaps xmm3, xmm2
minss xmm3, xmm4
comiss xmm1, xmm5
movss xmm4, dword [0x100a9cd8]
movss xmm6, dword [0x100a9b90]
mulss xmm3, xmm4
addss xmm3, xmm6
cvttss2si ecx, xmm3
jbe 0x1005a0d0
xorps xmm3, xmm3
jmp 0x1005a0d7
movaps xmm3, xmm2
minss xmm3, xmm5
mulss xmm3, xmm4
addss xmm3, xmm6
cvttss2si eax, xmm3
shl eax, 8
or ecx, eax
comiss xmm1, xmm0
jbe 0x1005a0f2
xorps xmm3, xmm3
jmp 0x1005a0f9
movaps xmm3, xmm2
minss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm6
cvttss2si eax, xmm3
movss xmm3, dword [esp + 0x78]
shl eax, 0x10
or ecx, eax
or ecx, 0xff000000
comiss xmm1, xmm3
mov dword [esp + 0x7c], ecx
jbe 0x1005a124
xorps xmm0, xmm0
jmp 0x1005a12b
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm3, dword [esp + 0x70]
comiss xmm1, xmm3
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si edx, xmm0
jbe 0x1005a147
xorps xmm0, xmm0
jmp 0x1005a14e
movaps xmm0, xmm2
minss xmm0, xmm3
movss xmm3, dword [esp + 0x64]
mulss xmm0, xmm4
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or edx, eax
comiss xmm1, xmm3
jbe 0x1005a16f
xorps xmm0, xmm0
jmp 0x1005a176
movaps xmm0, xmm2
minss xmm0, xmm3
mulss xmm0, xmm4
mov dword [esp + 0xec], 0xff0000ff
mov dword [esp + 0xf0], 0xff00ffff
mov dword [esp + 0xf4], 0xff00ff00
addss xmm0, xmm6
mov dword [esp + 0xf8], 0xffffff00
mov dword [esp + 0xfc], 0xffff0000
mov dword [esp + 0x100], 0xffff00ff
mov dword [esp + 0x104], 0xff0000ff
mov dword [esp + 0x84], 0
cvttss2si eax, xmm0
mov dword [esp + 0x80], 0
shl eax, 0x10
or edx, eax
mov eax, dword [esp + 0x18]
or edx, 0xff000000
mov dword [esp + 0x74], edx
test eax, 0x4000000
je 0x1005aaeb
movss xmm0, dword [esp + 0x48]
mov eax, 0x2aaaaaab
movss xmm3, dword [0x100a9bf8]
movss xmm4, dword [esp + 0x68]
divss xmm3, xmm0
mov edi, dword [esp + 0x40]
addss xmm4, xmm0
cvttss2si ecx, xmm0
mulss xmm4, xmm6
imul ecx
movss dword [esp + 0xdc], xmm3
movss dword [esp + 0xb8], xmm4
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, eax
cmovle ecx, eax
xor eax, eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0x44], eax
nop dword [eax]
nop dword [eax + eax]
movd xmm1, eax
lea eax, [esp + 0x90]
cvtdq2ps xmm1, xmm1
mov esi, dword [edi + 0x18]
push ecx
push ecx
mov ecx, edi
movaps xmm0, xmm1
addss xmm1, xmm2
divss xmm0, dword [0x100a9c64]
divss xmm1, dword [0x100a9c64]
addss xmm0, xmm0
movaps xmm2, xmm4
addss xmm1, xmm1
mulss xmm0, dword [0x100a9c48]
mulss xmm1, dword [0x100a9c48]
subss xmm0, xmm3
addss xmm1, xmm3
movaps xmm3, xmm0
movss dword [esp + 0x18], xmm0
movss dword [esp], xmm1
push eax
movss dword [esp + 0x70], xmm1
call fcn.100442a0
movss xmm0, dword [esp + 0x6c]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 0
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100431a0
movss xmm0, dword [esp + 0x10]
cvtps2pd xmm0, xmm0
mov dword [edi + 0x54], 0
call fcn.1008a0c0
movss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x68]
addss xmm0, dword [esp + 0x88]
movss dword [esp + 0x60], xmm0
cvtps2pd xmm0, xmm1
call fcn.1008add0
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x68]
addss xmm0, dword [esp + 0x8c]
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [esp + 0x64]
cvtps2pd xmm0, xmm0
call fcn.1008a0c0
movss xmm1, dword [esp + 0x64]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x68]
addss xmm0, dword [esp + 0x88]
movss dword [esp + 0x30], xmm0
cvtps2pd xmm0, xmm1
call fcn.1008add0
movss xmm3, dword [esp + 0x30]
xorps xmm4, xmm4
movss xmm5, dword [esp + 0x60]
movss xmm6, dword [esp + 0xa0]
subss xmm3, xmm5
cvtsd2ss xmm4, xmm0
mov edx, dword [esp + 0x44]
mov ecx, dword [edi + 0x20]
movss xmm2, dword [0x100a9bcc]
movaps xmm0, xmm3
mulss xmm4, dword [esp + 0x68]
movaps xmm7, xmm2
mov eax, dword [esp + edx*4 + 0xf0]
mov edx, dword [esp + edx*4 + 0xec]
mulss xmm0, xmm3
mov dword [esp + 0x10], eax
addss xmm4, dword [esp + 0x8c]
mov eax, dword [edi + 0x18]
subss xmm4, xmm6
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm1, xmm0
divss xmm7, xmm1
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x70], eax
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x70]
jae 0x1005a536
movzx eax, dl
mov dword [esp + 0x64], eax
mov eax, edx
shr eax, 8
movzx esi, al
mov eax, dword [esp + 0x10]
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x10]
shr edx, 0x10
movzx edx, dl
shr eax, 8
sub ecx, edx
mov dword [esp + 0x78], edx
movzx edx, al
mov eax, dword [esp + 0x10]
sub edx, esi
movzx edi, al
sub edi, dword [esp + 0x64]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x78]
nop dword [eax]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
subss xmm0, xmm5
subss xmm1, xmm6
mulss xmm0, xmm3
mulss xmm1, xmm4
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, xmm7
comiss xmm0, xmm1
jbe 0x1005a48e
xorps xmm2, xmm2
jmp 0x1005a492
minss xmm2, xmm1
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movd xmm1, esi
mulss xmm0, xmm2
mov esi, dword [esp + 0x24]
cvtdq2ps xmm1, xmm1
addss xmm0, xmm1
movd xmm1, dword [esp + 0x30]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
shl eax, 8
mov dword [esp + 0x20], eax
mulss xmm0, xmm2
addss xmm0, xmm1
movd xmm1, dword [esp + 0x64]
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, edi
or dword [esp + 0x20], eax
shl dword [esp + 0x20], 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
movss xmm2, dword [0x100a9bcc]
addss xmm0, xmm1
cvttss2si eax, xmm0
or dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x10]
and eax, 0xff000000
or dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x10], eax
mov eax, esi
mov esi, dword [esp + 0x78]
add eax, 0x14
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x70]
jb 0x1005a460
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
movss xmm4, dword [esp + 0xb8]
inc eax
movss xmm3, dword [esp + 0xdc]
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x44], eax
cmp eax, 6
jl 0x1005a270
movss xmm0, dword [esp + 0x2c]
addss xmm0, xmm0
mulss xmm0, dword [0x100a9c48]
movss dword [esp + 0x2c], xmm0
cvtps2pd xmm0, xmm0
call fcn.1008a0c0
movss xmm1, dword [esp + 0x2c]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x24], xmm0
cvtps2pd xmm0, xmm1
call fcn.1008add0
cmp byte [esp + 0x17], 0
xorps xmm5, xmm5
movss xmm2, dword [esp + 0x68]
addss xmm2, dword [esp + 0x48]
movss xmm3, dword [esp + 0x24]
movss xmm6, dword [esp + 0x88]
movss xmm4, dword [esp + 0x6c]
cvtsd2ss xmm5, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm3
mulss xmm2, xmm5
mulss xmm0, dword [0x100a9b90]
mulss xmm2, dword [0x100a9b90]
addss xmm0, xmm6
movss dword [esp + 0x10], xmm5
addss xmm2, dword [esp + 0x8c]
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x58], xmm2
je 0x1005a60c
mulss xmm4, dword [0x100a9b9c]
jmp 0x1005a614
mulss xmm4, dword [0x100a9b94]
movaps xmm0, xmm4
movss dword [esp + 0x6c], xmm4
divss xmm0, dword [0x100a9bf4]
cvttss2si esi, xmm0
cmp esi, 9
jge 0x1005a635
mov esi, 9
jmp 0x1005a648
mov eax, 0x20
cmp esi, eax
cmovg esi, eax
cmp esi, 2
jle 0x1005a789
movd xmm1, esi
lea eax, [esi - 1]
cvtdq2ps xmm1, xmm1
push eax
push ecx
lea eax, [esp + 0x5c]
mov ecx, edi
xorps xmm3, xmm3
movaps xmm2, xmm4
movaps xmm0, xmm1
subss xmm0, dword [0x100a9bcc]
mulss xmm0, dword [0x100a9c6c]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.100442a0
push dword [esp + 0x7c]
mov ecx, edi
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.10043d60
movd xmm1, esi
lea eax, [esi - 1]
cvtdq2ps xmm1, xmm1
push eax
lea eax, [esp + 0x58]
mov dword [edi + 0x54], 0
push ecx
mov ecx, edi
movss xmm2, dword [esp + 0x74]
xorps xmm3, xmm3
movaps xmm0, xmm1
subss xmm0, dword [0x100a9bcc]
addss xmm2, dword [0x100a9bcc]
mulss xmm0, dword [0x100a9c6c]
subss xmm2, dword [0x100a9b90]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.100442a0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xff808080
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100431a0
mov dword [edi + 0x54], 0
cmp esi, 2
jle 0x1005a774
movd xmm1, esi
lea eax, [esi - 1]
cvtdq2ps xmm1, xmm1
push eax
lea eax, [esp + 0x58]
push ecx
mov ecx, edi
movss xmm2, dword [esp + 0x74]
xorps xmm3, xmm3
movaps xmm0, xmm1
subss xmm0, dword [0x100a9bcc]
subss xmm2, dword [0x100a9b90]
mulss xmm0, dword [0x100a9c6c]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.100442a0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100431a0
mov dword [edi + 0x54], 0
movss xmm6, dword [esp + 0x88]
movss xmm5, dword [esp + 0x10]
movss xmm3, dword [esp + 0x24]
movaps xmm2, xmm3
mov eax, dword [0x10123f50]
mulss xmm2, dword [esp + 0x38]
xorps xmm1, xmm1
push 6
movaps xmm0, xmm5
movaps xmm4, xmm3
mulss xmm0, xmm1
mov ecx, edi
push 6
mulss xmm4, dword [esp + 0xbc]
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xbc]
addss xmm2, xmm6
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x110], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x40]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0xac]
mulss xmm5, dword [esp + 0xb8]
addss xmm2, dword [esp + 0x94]
movss dword [esp + 0x4c], xmm2
movss dword [esp + 0x114], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0xac]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xb8]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, dword [esp + 0x94]
movss dword [esp + 0x50], xmm4
addss xmm3, dword [esp + 0x94]
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x98], xmm4
movss dword [esp + 0x44], xmm0
movss xmm0, dword [eax + 0x18c4]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [eax + 0x18c8]
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x9c], xmm3
movss dword [esp + 0x68], xmm0
call fcn.10042ff0
mov ecx, dword [edi + 0x38]
mov ax, word [edi + 0x30]
movss xmm2, dword [esp + 0x10]
movss xmm3, dword [esp + 0x44]
movss xmm0, dword [esp + 0x30]
movss xmm1, dword [esp + 0x60]
mov word [ecx], ax
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
mov edx, dword [esp + 0x7c]
movss xmm5, dword [esp + 0x38]
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss xmm4, dword [esp + 0x3c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], edx
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
movss xmm7, dword [esp + 0x48]
movss xmm6, dword [esp + 0x24]
mov dword [eax + 0x10], edx
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0xffffffff
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x30]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
add dword [edi + 0x34], 0x14
mov eax, dword [edi + 0x38]
inc dword [edi + 0x30]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
movss dword [eax], xmm5
movss dword [eax + 4], xmm4
mov eax, dword [edi + 0x34]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0xff000000
mov eax, dword [edi + 0x38]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
mov ecx, dword [edi + 0x30]
mov word [eax], cx
mov eax, dword [edi + 0x34]
add dword [edi + 0x38], 2
push ecx
mov dword [esp], 0x3fc00000
mov ecx, edi
movss dword [eax], xmm7
movss dword [eax + 4], xmm6
mov eax, dword [edi + 0x34]
push 0xff808080
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [edi + 0x34]
mov dword [eax + 0x10], 0
lea eax, [esp + 0x98]
add dword [edi + 0x34], 0x14
inc dword [edi + 0x30]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x118]
push eax
call fcn.10044ea0
movss xmm2, dword [0x100a9bcc]
xorps xmm1, xmm1
movaps xmm0, xmm2
subss xmm0, dword [esp + 0x50]
comiss xmm1, xmm0
jbe 0x1005aa62
xorps xmm4, xmm4
jmp 0x1005aa69
movaps xmm4, xmm2
minss xmm4, xmm0
movss xmm0, dword [esp + 0x4c]
comiss xmm1, xmm0
jbe 0x1005aa79
xorps xmm2, xmm2
jmp 0x1005aa7d
minss xmm2, xmm0
movss xmm0, dword [esp + 0x10]
subss xmm0, dword [esp + 0x48]
movss xmm3, dword [esp + 0x38]
mov esi, dword [esp + 0xd8]
mulss xmm0, xmm2
addss xmm0, dword [esp + 0x48]
subss xmm3, xmm0
mulss xmm3, xmm4
addss xmm3, xmm0
movss xmm0, dword [esp + 0x44]
subss xmm0, dword [esp + 0x24]
movss dword [esp + 0x80], xmm3
mulss xmm0, xmm2
movss xmm2, dword [esp + 0x3c]
addss xmm0, dword [esp + 0x24]
subss xmm2, xmm0
mulss xmm2, xmm4
addss xmm2, xmm0
movss dword [esp + 0x84], xmm2
jmp 0x1005ae1b
test eax, 0x2000000
je 0x1005ae22
movss xmm0, dword [esp + 0x24]
lea eax, [esp + 0x90]
addss xmm0, dword [esp + 0x1c]
push 0xffffffffffffffff
push ecx
push ecx
mov ecx, dword [esp + 0x4c]
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [esp + 0x28]
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x68]
push eax
movss dword [esp + 0x60], xmm0
movss dword [esp + 0xac], xmm0
call fcn.10044d20
movss xmm0, dword [esp + 0x24]
lea eax, [esp + 0x90]
addss xmm0, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
push 0xff000000
push 0xff000000
push 0
push 0
push eax
movss dword [esp + 0xa4], xmm0
lea eax, [esp + 0x68]
movss xmm0, dword [esp + 0x5c]
push eax
movss dword [esp + 0xac], xmm0
call fcn.10044d20
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 0x3c], xmm0
xorps xmm0, xmm0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x60]
push dword [esp + 0x60]
call fcn.1000d930
movss xmm2, dword [esp + 0x5c]
xorps xmm0, xmm0
movss xmm1, dword [0x100a9bcc]
add esp, 0x10
comiss xmm0, xmm2
jbe 0x1005abde
xorps xmm3, xmm3
jmp 0x1005abe5
movaps xmm3, xmm1
minss xmm3, xmm2
movss xmm4, dword [esp + 0x1c]
movss xmm7, dword [esp + 0x24]
movss xmm5, dword [0x100a9b90]
movaps xmm2, xmm7
mulss xmm3, xmm4
movss xmm6, dword [0x100a9c24]
addss xmm2, xmm6
addss xmm3, xmm7
addss xmm3, xmm5
cvttss2si eax, xmm3
movd xmm3, eax
cvtdq2ps xmm3, xmm3
comiss xmm2, xmm3
ja 0x1005ac33
movaps xmm2, xmm7
addss xmm2, xmm4
subss xmm2, xmm6
minss xmm2, xmm3
movss dword [esp + 0x80], xmm2
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x50]
comiss xmm0, xmm2
jbe 0x1005ac4f
xorps xmm1, xmm1
jmp 0x1005ac53
minss xmm1, xmm2
movss xmm2, dword [esp + 0x28]
mulss xmm1, xmm4
movaps xmm0, xmm2
addss xmm0, xmm6
addss xmm1, xmm2
addss xmm1, xmm5
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1005ac8a
movss xmm0, dword [esp + 0x48]
subss xmm0, xmm6
minss xmm0, xmm1
movaps xmm1, xmm4
mov esi, dword [esp + 0x40]
divss xmm1, dword [0x100a9c64]
xor ecx, ecx
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0xa8]
movss dword [esp + 0x108], xmm0
addss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x90], xmm0
nop dword [eax + eax]
mov eax, dword [esp + ecx*4 + 0xf0]
lea edi, [ecx + 1]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov ecx, dword [esp + ecx*4 + 0xec]
push eax
push eax
push ecx
push ecx
mulss xmm0, xmm1
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x11c]
mov ecx, esi
push eax
addss xmm0, xmm2
movss dword [esp + 0x124], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0xac], xmm0
call fcn.10044d20
movss xmm1, dword [esp + 0x30]
mov ecx, edi
movss xmm2, dword [esp + 0x28]
cmp ecx, 6
jl 0x1005acd0
movss xmm0, dword [esp + 0xa8]
movaps xmm1, xmm2
movss dword [esp + 0x38], xmm0
addss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x3c], xmm1
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x58], xmm0
xorps xmm0, xmm0
push dword [esp + 0x58]
push dword [esp + 0x58]
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.1000d930
movss xmm0, dword [esp + 0xb8]
subss xmm0, dword [0x100a9bcc]
mov esi, dword [esp + 0xe8]
movss xmm1, dword [esp + 0x6c]
addss xmm1, dword [0x100a9c24]
mov ecx, dword [esp + 0x50]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x3c]
mulss xmm0, dword [esp + 0x2c]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
addss xmm0, dword [esp + 0x38]
movss dword [esp + 0x68], xmm2
push dword [esp + 0x68]
addss xmm0, dword [0x100a9b90]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x100a9bcc]
movss dword [esp + 0x68], xmm0
push dword [esp + 0x68]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.10058880
add esp, 0x20
mov edi, dword [esp + 0xcc]
cmp byte [esp + 0x16], 0
je 0x1005ae3a
movss xmm0, dword [0x100a9c80]
movss dword [esp + 0xc0], xmm0
movss xmm2, dword [esp + 0xc0]
lea eax, [esp + 0x80]
push 0xb
push ecx
mov ecx, dword [esp + 0x48]
xorps xmm3, xmm3
mov dword [esp], 0x40b84e89
push eax
call fcn.100442a0
mov eax, dword [esp + 0x40]
mov ecx, eax
push dword [esp + 0x74]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10043d60
movss xmm2, dword [esp + 0xc0]
xorps xmm3, xmm3
addss xmm2, dword [0x100a9bcc]
mov eax, dword [esp + 0x40]
push 0xb
push ecx
lea ecx, [esp + 0x88]
mov dword [esp], 0x40b84e89
subss xmm2, dword [0x100a9b90]
push ecx
mov ecx, eax
mov dword [eax + 0x54], 0
call fcn.100442a0
mov eax, dword [esp + 0x40]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push 0xff808080
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.100431a0
movss xmm2, dword [esp + 0xc0]
xorps xmm3, xmm3
mov eax, dword [esp + 0x40]
subss xmm2, dword [0x100a9b90]
push 0xb
push ecx
lea ecx, [esp + 0x88]
mov dword [esp], 0x40b84e89
push ecx
mov ecx, eax
mov dword [eax + 0x54], 0
call fcn.100442a0
mov eax, dword [esp + 0x40]
push ecx
mov dword [esp], 0x3f800000
mov ecx, eax
push 1
push 0xffffffffffffffff
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.100431a0
cmp dword [esp + 0xc4], 0x10000
mov eax, dword [esp + 0x40]
mov dword [eax + 0x54], 0
jne 0x1005b0d4
movss xmm1, dword [edi + 0xc]
xorps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x1005af5c
movss dword [esp + 0x10], xmm2
jmp 0x1005af6e
movss xmm0, dword [0x100a9bcc]
minss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm3, dword [esp + 0xc8]
or edx, 0xffffffff
movss xmm0, dword [esp + 0x28]
movaps xmm1, xmm3
addss xmm1, dword [esp + 0x5c]
movss dword [esp + 0x94], xmm0
xor ecx, ecx
addss xmm0, dword [esp + 0x1c]
mov dword [esp + 0x58], 0
push dword [esp + 0x58]
movss dword [esp + 0x9c], xmm1
subss xmm1, xmm3
mov dword [esp + 0x58], 0
push dword [esp + 0x58]
movss dword [esp + 0xa4], xmm0
push dword [esp + 0xa4]
mulss xmm1, dword [0x100a9b90]
push dword [esp + 0xa4]
movss dword [esp + 0xa0], xmm3
push dword [esp + 0xa4]
mov edi, dword [esp + 0xa4]
push edi
call fcn.100585b0
mov ecx, dword [esp + 0x8c]
add esp, 0x18
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.10044d20
push dword [esp + 0x9c]
xorps xmm0, xmm0
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push edi
call fcn.1000d930
movss xmm1, dword [0x100a9bcc]
movss xmm0, dword [esp + 0xd8]
subss xmm0, xmm1
mov ecx, dword [esp + 0x50]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm1
subss xmm0, dword [esp + 0x20]
movss dword [esp + 0x68], xmm2
push dword [esp + 0x68]
mulss xmm0, dword [esp + 0x30]
addss xmm0, dword [esp + 0x3c]
addss xmm0, dword [0x100a9b90]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm2
addss xmm0, xmm1
movss xmm1, dword [esp + 0x70]
addss xmm1, dword [0x100a9c24]
movss dword [esp + 0x68], xmm0
push dword [esp + 0x68]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.10058880
add esp, 0x20
call fcn.10017100
cmp byte [esp + 0xf], 0
mov edi, dword [0x10123f50]
je 0x1005b16e
mov ecx, dword [esp + 0xcc]
lea esi, [esp + 0x12c]
xor edx, edx
cmp dword [esp + 0xe0], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x1005b121
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x1005b126
add esi, 4
add ecx, 4
sub edx, 4
jae 0x1005b110
cmp edx, 0xfffffffc
je 0x1005b169
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x1005b153
cmp edx, 0xfffffffd
je 0x1005b169
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x1005b153
cmp edx, 0xfffffffe
je 0x1005b169
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x1005b153
cmp edx, 0xffffffff
je 0x1005b169
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x1005b169
mov eax, dword [edi + 0x199c]
mov byte [edi + 0x19cf], 1
or dword [eax + 0x10c], 4
jmp 0x1005b16e
mov byte [esp + 0xf], 0
mov ecx, dword [edi + 0x199c]
mov al, byte [esp + 0xf]
pop edi
pop esi
dec dword [ecx + 0x1c4]
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.1006cde1
mov esp, ebp
pop ebp
ret