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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x138
mov eax, dword [0x1006e040]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x60], ecx
mov ecx, dword [0x10128c20]
mov dword [esp + 0x64], eax
push esi
push edi
mov eax, dword [ecx + 0x3e48]
mov edi, edx
mov dword [esp + 0xa8], edi
mov dword [esp + 0x30], ecx
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
mov dword [esp + 0xac], eax
cmp byte [eax + 0xaf], 0
je 0x100508c3
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.1005e254
mov esp, ebp
pop ebp
ret
test byte [ecx + 0x46a8], 1
mov edx, dword [eax + 0x26c]
mov dword [esp + 0x40], edx
je 0x100508e0
movss xmm1, dword [ecx + 0x46ac]
jmp 0x100508e8
movss xmm1, dword [eax + 0x1a8]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1005092a
cmp dword [eax + 0x198], 0
movss xmm0, dword [eax + 0x230]
jne 0x1005090a
cmp dword [ecx + 0x4a04], 0
je 0x10050912
movss xmm0, dword [eax + 0x200]
subss xmm0, dword [eax + 0xf0]
addss xmm0, xmm1
movss xmm1, dword [0x10068da4]
maxss xmm1, xmm0
mov dword [ecx + 0x46a8], 0
mov ecx, dword [esp + 0x68]
cvttss2si esi, xmm1
call fcn.10025f20
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x5994]
mov dword [esp + 0x10c], eax
test eax, eax
jne 0x10050973
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0xe4]
mov eax, dword [eax + 0xec]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x5994], eax
call fcn.10029590
mov ecx, dword [ebp + 8]
mov edx, ecx
or edx, 0x10
test ecx, 0x100
cmovne edx, ecx
mov dword [esp + 0x34], edx
test dl, 8
jne 0x1005099d
mov ecx, edi
call fcn.10053de0
mov edx, dword [esp + 0x34]
test edx, 0x6000000
jne 0x100509c6
mov eax, dword [esp + 0x30]
mov ecx, 0xa900000
mov eax, dword [eax + 0x5990]
test eax, 0x6000000
cmovne ecx, eax
and ecx, 0x6000000
or ecx, edx
jmp 0x100509c8
mov ecx, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
test ecx, 0x18000000
jne 0x100509ff
mov eax, dword [edx + 0x5990]
mov edi, 0xa900000
test eax, 0x18000000
cmovne edi, eax
mov eax, edi
mov edi, dword [esp + 0xa8]
and eax, 0x18000000
or ecx, eax
mov dword [esp + 0x10], ecx
test cl, 8
jne 0x10050a15
mov eax, dword [edx + 0x5990]
and eax, 0x10000
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, ecx
movss xmm2, dword [edx + 0x37dc]
and eax, 2
and ecx, 0x10002
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0xf0], ecx
movss xmm0, dword [eax + 0xf4]
movss xmm3, dword [eax + 0xf0]
mov eax, dword [0x10128c20]
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x4c], xmm0
movaps xmm0, xmm2
movss dword [esp + 0x48], xmm3
movss xmm4, dword [eax + 0x37c8]
addss xmm4, xmm4
addss xmm4, dword [eax + 0x3bb8]
xor eax, eax
cmp ecx, 0x10000
sete al
inc eax
addss xmm0, xmm4
movss dword [esp + 0x64], xmm4
movd xmm1, eax
xor eax, eax
cvtdq2ps xmm1, xmm1
cmp dword [esp + 0xf4], eax
sete al
mulss xmm1, xmm0
lea eax, [eax*4 + 0xc]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0x130]
push edi
push eax
subss xmm0, xmm1
movaps xmm1, xmm4
maxss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0x38], xmm1
addss xmm0, xmm2
movss dword [esp + 0x98], xmm0
addss xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0xec], xmm0
movaps xmm0, xmm4
mulss xmm0, dword [0x10068d50]
cvttss2si esi, xmm0
mov dword [esp + 0xf8], esi
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [esp + 0x38]
add esp, 0xc
movaps xmm4, xmm1
movaps xmm2, xmm1
mulss xmm4, dword [0x10068d68]
mulss xmm2, dword [0x10068d40]
movaps xmm0, xmm4
movss dword [esp + 0xf8], xmm4
addss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x84], xmm2
movaps xmm3, xmm4
subss xmm3, xmm2
movaps xmm2, xmm1
addss xmm2, dword [esp + 0x64]
movss dword [esp + 0xbc], xmm0
movss dword [esp + 0xc4], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x10068d34]
movaps xmm1, xmm3
mulss xmm2, dword [0x10068d68]
cvttss2si eax, xmm0
addss xmm2, dword [esp + 0x48]
movss dword [esp + 0x94], xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xb8], xmm2
subss xmm1, xmm0
movss dword [esp + 0xc0], xmm2
movss dword [esp + 0x20], xmm1
movss xmm7, dword [edi + 8]
movaps xmm0, xmm1
mulss xmm0, dword [0x10068f44]
movaps xmm2, xmm1
mov eax, dword [esp + 0x10]
mulss xmm2, dword [0x10068f50]
mov dword [esp + 0x24], 0
movss xmm6, dword [0x10068e2c]
movss xmm5, dword [0x10068d0c]
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0xfc], xmm0
movss dword [esp + 0xd0], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x10068d94]
movss xmm1, dword [edi + 4]
movss dword [esp + 0x98], xmm2
movss dword [esp + 0x100], xmm2
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0xd4], xmm0
movss xmm0, dword [edi]
movss dword [esp + 0x14], xmm0
movaps xmm2, xmm0
movss dword [esp + 0x70], xmm2
movss dword [esp + 0x9c], xmm2
movaps xmm2, xmm1
movss dword [esp + 0x90], xmm2
movss dword [esp + 0x88], xmm2
movaps xmm2, xmm7
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x60], xmm7
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x74], xmm2
movss dword [esp + 0xac], xmm6
test eax, 0x8000000
je 0x10050d5f
comiss xmm7, xmm1
xorps xmm3, xmm3
movaps xmm2, xmm1
movaps xmm4, xmm7
jbe 0x10050cbb
movss xmm3, dword [0x10068f54]
movaps xmm2, xmm7
movaps xmm4, xmm1
comiss xmm2, xmm0
movaps xmm7, xmm0
movss dword [esp + 0x60], xmm7
jbe 0x10050ce4
movaps xmm7, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x10068f40]
subss xmm0, xmm3
movss dword [esp + 0x60], xmm7
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x14], xmm7
minss xmm0, xmm4
movaps xmm1, xmm7
subss xmm2, xmm4
mov ecx, edi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x24]
movaps xmm0, xmm1
mulss xmm0, xmm6
addss xmm0, xmm5
divss xmm2, xmm0
movaps xmm0, xmm7
addss xmm0, xmm5
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x10069a50]
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x40], xmm1
call fcn.1004f4c0
movss xmm0, dword [esp + 0x24]
add esp, 8
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x1c], xmm0
jmp 0x10050db1
test eax, 0x10000000
je 0x10050db1
lea eax, [esp + 0x74]
movaps xmm2, xmm7
push eax
lea edx, [esp + 0x8c]
lea ecx, [esp + 0xa0]
call fcn.1001b680
movss xmm0, dword [esp + 0xa0]
add esp, 4
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x88]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x44], xmm0
mov ecx, dword [0x10128c20]
lea edx, [ecx + 0x4788]
mov byte [esp + 0xd], 0
mov byte [esp + 0x1b], 0
mov byte [esp + 0xf], 0
mov eax, dword [ecx + 0x46a0]
or eax, 8
mov dword [esp + 0x38], edx
mov dword [ecx + 0x46a0], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x34], eax
cmp dword [edx], ecx
jne 0x10050e1d
test ecx, ecx
je 0x10050dfd
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
sar eax, 1
add eax, ecx
jmp 0x10050e02
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10031180
mov edi, dword [esp + 0xa8]
mov edx, dword [esp + 0x38]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], esi
inc dword [edx]
mov eax, dword [esp + 0x10]
test eax, 0x4000000
je 0x100513df
movss xmm1, dword [esp + 0x2c]
lea edx, [esp + 0x50]
mov eax, dword [esp + 0x30]
movaps xmm0, xmm1
push ecx
mov ecx, 0x10068ac8
movss dword [esp + 0x58], xmm1
addss xmm0, dword [eax + 0x37dc]
addss xmm0, dword [esp + 0x68]
movss dword [esp + 0x54], xmm0
call fcn.10045b60
mov eax, dword [0x10128c20]
add esp, 4
mov ecx, dword [eax + 0x3e94]
test ecx, ecx
je 0x100512f6
cmp ecx, dword [eax + 0x46bc]
jne 0x100512f6
mov eax, dword [esp + 0x30]
movss xmm0, dword [eax + 0x36b4]
subss xmm0, dword [esp + 0xbc]
movss xmm1, dword [eax + 0x36b0]
subss xmm1, dword [esp + 0xb8]
movss xmm4, dword [eax + 0xdc0]
movss xmm3, dword [eax + 0xdc4]
subss xmm4, dword [esp + 0xb8]
subss xmm3, dword [esp + 0xbc]
movaps xmm2, xmm0
movss dword [esp + 0x38], xmm0
mulss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movss dword [esp + 0x78], xmm1
movss xmm1, dword [0x10068da4]
addss xmm2, xmm0
movss dword [esp + 0xe4], xmm4
movss xmm0, dword [esp + 0x94]
subss xmm0, xmm1
movss dword [esp + 0x7c], xmm3
mulss xmm0, xmm0
comiss xmm2, xmm0
jb 0x10050fa0
movss xmm0, dword [esp + 0xf8]
addss xmm0, xmm1
mulss xmm0, xmm0
comiss xmm0, xmm2
jb 0x10050fa0
cvtps2pd xmm0, xmm3
movsd qword [esp + 0x50], xmm0
fld qword [esp + 0x50]
cvtps2pd xmm0, xmm4
movsd qword [esp + 0x50], xmm0
fld qword [esp + 0x50]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIatan2
movss xmm2, dword [0x10068e08]
xorps xmm0, xmm0
fstp qword [esp + 0x50]
movsd xmm1, qword [esp + 0x50]
cvtpd2ps xmm1, xmm1
divss xmm1, xmm2
mulss xmm1, dword [0x10068d68]
comiss xmm0, xmm1
movss dword [esp + 0x14], xmm1
jbe 0x10050f98
addss xmm1, dword [0x10068da4]
movss dword [esp + 0x14], xmm1
mov al, 1
mov byte [esp + 0xd], al
jmp 0x10050fb2
mov al, byte [esp + 0xd]
movss xmm2, dword [0x10068e08]
movss xmm1, dword [esp + 0x14]
movaps xmm0, xmm1
mov byte [esp + 0x1b], al
xorps xmm0, xmmword [0x10069a80]
addss xmm0, xmm0
mulss xmm0, xmm2
cvtss2sd xmm0, xmm0
movsd qword [esp + 0x50], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x34], xmm0
movsd xmm0, qword [esp + 0x50]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm6, dword [esp + 0x34]
xorps xmm5, xmm5
cvtsd2ss xmm5, xmm0
movss xmm1, dword [esp + 0xa0]
movaps xmm3, xmm6
mulss xmm3, dword [esp + 0x78]
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x38]
movaps xmm4, xmm6
mulss xmm4, dword [esp + 0x38]
subss xmm3, xmm0
movss dword [esp + 0xb0], xmm5
movaps xmm0, xmm5
movss xmm7, dword [esp + 0x20]
mulss xmm0, dword [esp + 0x78]
movaps xmm5, xmm1
subss xmm5, xmm1
movaps xmm2, xmm3
addss xmm4, xmm0
movss xmm0, dword [esp + 0x98]
subss xmm0, dword [esp + 0xa4]
subss xmm2, xmm1
subss xmm7, dword [esp + 0xa0]
movss dword [esp + 0x78], xmm5
movss dword [esp + 0x34], xmm0
movaps xmm1, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x80], xmm7
mulss xmm0, xmm5
xorps xmm5, xmm5
subss xmm1, xmm0
xorps xmm0, xmm0
subss xmm0, dword [esp + 0x98]
comiss xmm5, xmm1
movaps xmm1, xmm0
movss dword [esp + 0x38], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm2
seta cl
subss xmm0, dword [esp + 0x98]
mulss xmm0, xmm7
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x100512ee
movss xmm0, dword [esp + 0xa4]
subss xmm4, xmm5
subss xmm3, dword [esp + 0x20]
subss xmm0, xmm5
mulss xmm3, xmm0
movss xmm0, dword [esp + 0xa0]
subss xmm0, dword [esp + 0x20]
mulss xmm0, xmm4
subss xmm3, xmm0
comiss xmm5, xmm3
seta al
cmp cl, al
jne 0x100512ee
movss xmm1, dword [esp + 0xb0]
movaps xmm7, xmm6
mulss xmm7, dword [esp + 0xe4]
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0xe4]
mulss xmm0, dword [esp + 0x7c]
mulss xmm6, dword [esp + 0x7c]
movss xmm4, dword [esp + 0xa0]
subss xmm7, xmm0
addss xmm6, xmm1
movaps xmm1, xmm7
movss dword [esp + 0x50], xmm7
subss xmm1, xmm4
movaps xmm0, xmm6
movss dword [esp + 0x54], xmm6
subss xmm0, dword [esp + 0xa4]
mulss xmm1, dword [esp + 0x34]
mulss xmm0, dword [esp + 0x78]
subss xmm1, xmm0
movaps xmm0, xmm6
subss xmm0, dword [esp + 0x98]
comiss xmm5, xmm1
mulss xmm0, dword [esp + 0x80]
movaps xmm1, xmm7
subss xmm1, xmm4
seta cl
mulss xmm1, dword [esp + 0x38]
subss xmm1, xmm0
comiss xmm5, xmm1
seta al
cmp al, cl
jne 0x100511f9
movss xmm0, dword [esp + 0xa4]
movaps xmm2, xmm7
subss xmm2, dword [esp + 0x20]
subss xmm0, xmm5
movaps xmm1, xmm4
subss xmm1, dword [esp + 0x20]
mulss xmm2, xmm0
movaps xmm0, xmm6
subss xmm0, xmm5
mulss xmm1, xmm0
subss xmm2, xmm1
comiss xmm5, xmm2
seta al
cmp cl, al
je 0x10051236
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x104]
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0xf0]
call fcn.1001acb0
movss xmm4, dword [esp + 0xac]
add esp, 0xc
xorps xmm5, xmm5
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
movss xmm3, dword [esp + 0xa4]
subss xmm6, xmm5
subss xmm7, dword [esp + 0x20]
subss xmm3, xmm5
movaps xmm1, xmm4
movss xmm4, dword [esp + 0x98]
subss xmm1, dword [esp + 0x20]
subss xmm4, xmm5
movaps xmm2, xmm3
mulss xmm3, xmm7
mulss xmm2, xmm1
movaps xmm0, xmm4
mulss xmm6, xmm1
mulss xmm0, xmm1
subss xmm3, xmm6
mulss xmm7, xmm4
subss xmm2, xmm0
movss xmm0, dword [0x10068da4]
movaps xmm5, xmm0
subss xmm6, xmm7
divss xmm3, xmm2
divss xmm6, xmm2
subss xmm5, xmm3
movss xmm3, dword [0x10068d20]
movss dword [esp + 0x1c], xmm3
comiss xmm3, xmm5
movaps xmm2, xmm5
subss xmm2, xmm6
jbe 0x100512bf
movaps xmm1, xmm3
jmp 0x100512c6
movaps xmm1, xmm0
minss xmm1, xmm5
divss xmm2, xmm1
movss dword [esp + 0x60], xmm1
comiss xmm3, xmm2
ja 0x100512e2
movaps xmm3, xmm0
minss xmm3, xmm2
movss dword [esp + 0x1c], xmm3
mov byte [esp + 0xf], 1
mov byte [esp + 0xd], 1
jmp 0x100512f6
mov al, byte [esp + 0xd]
mov byte [esp + 0x1b], al
mov eax, dword [esp + 0x10]
test al, 8
jne 0x10051303
call fcn.1002a650
movss xmm3, dword [esp + 0x3c]
movss xmm4, dword [esp + 0x2c]
cmp dword [esp + 0xf0], 0x10000
mov esi, dword [esp + 0xec]
jne 0x1005166b
mov ecx, dword [0x10128c20]
lea edx, [esp + 0x50]
movss xmm0, dword [esp + 0xe0]
push ecx
movss dword [esp + 0x58], xmm4
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
mov ecx, str.alpha
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [eax + 0xf4], xmm3
mov byte [eax + 0x135], 1
movss dword [esp + 0x54], xmm0
call fcn.10045b60
mov eax, dword [0x10128c20]
add esp, 4
mov ecx, dword [eax + 0x3e94]
test ecx, ecx
je 0x1005166b
cmp ecx, dword [eax + 0x46bc]
jne 0x1005166b
mov eax, dword [esp + 0x30]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0x2c]
movss xmm1, dword [0x10068da4]
subss xmm0, xmm1
movss xmm3, dword [eax + 0xdc4]
subss xmm3, dword [esp + 0x3c]
divss xmm3, xmm0
comiss xmm2, xmm3
jbe 0x10051653
xorps xmm4, xmm4
jmp 0x1005165a
test eax, 0x2000000
je 0x10051303
movss xmm0, dword [esp + 0x2c]
lea edx, [esp + 0x50]
push ecx
mov ecx, 0x10068acc
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x58], xmm0
call fcn.10045b60
mov ecx, dword [0x10128c20]
add esp, 4
mov eax, dword [ecx + 0x3e94]
test eax, eax
je 0x1005154f
cmp eax, dword [ecx + 0x46bc]
jne 0x1005154f
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm4, dword [esp + 0x2c]
movss xmm1, dword [0x10068da4]
subss xmm4, xmm1
movss xmm2, dword [eax + 0xdc0]
subss xmm2, dword [esp + 0x48]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x10051466
movss dword [esp + 0x1c], xmm0
jmp 0x10051473
movaps xmm3, xmm1
minss xmm3, xmm2
movss dword [esp + 0x1c], xmm3
movss xmm2, dword [eax + 0xdc4]
subss xmm2, dword [esp + 0x3c]
divss xmm2, xmm4
comiss xmm0, xmm2
jbe 0x1005148f
xorps xmm3, xmm3
jmp 0x10051496
movaps xmm3, xmm1
minss xmm3, xmm2
mov eax, dword [ecx + 0x5998]
movaps xmm2, xmm1
subss xmm2, xmm3
movss dword [esp + 0x60], xmm2
cmp eax, dword [ecx + 0x5994]
jne 0x10051547
movss xmm3, dword [edi]
comiss xmm0, xmm3
movss xmm4, dword [edi + 4]
movss xmm5, dword [edi + 8]
jbe 0x100514cd
xorps xmm2, xmm2
jmp 0x100514d4
movaps xmm2, xmm1
minss xmm2, xmm3
comiss xmm0, xmm4
movss xmm6, dword [0x10068ec4]
movss xmm3, dword [0x10068d68]
mulss xmm2, xmm6
addss xmm2, xmm3
cvttss2si edx, xmm2
jbe 0x100514fa
xorps xmm2, xmm2
jmp 0x10051501
movaps xmm2, xmm1
minss xmm2, xmm4
mulss xmm2, xmm6
addss xmm2, xmm3
cvttss2si eax, xmm2
shl eax, 8
or edx, eax
comiss xmm0, xmm5
jbe 0x1005151c
xorps xmm1, xmm1
jmp 0x10051520
minss xmm1, xmm5
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
cmp dword [ecx + 0x59a4], eax
jne 0x10051547
movss xmm0, dword [ecx + 0x599c]
movss dword [esp + 0x14], xmm0
mov al, 1
mov byte [esp + 0xd], al
jmp 0x10051553
mov al, byte [esp + 0xd]
mov byte [esp + 0xf], al
mov byte [esp + 0xe], al
mov eax, dword [esp + 0x10]
test al, 8
jne 0x1005156e
call fcn.1002a650
mov ecx, dword [0x10128c20]
mov eax, dword [ecx + 0x3e48]
lea edx, [esp + 0x50]
movss xmm0, dword [esp + 0x8c]
push ecx
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
mov ecx, 0x10068ad0
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [eax + 0xf4], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x30]
mov byte [eax + 0x135], 1
movss dword [esp + 0x58], xmm0
call fcn.10045b60
mov eax, dword [0x10128c20]
add esp, 4
mov ecx, dword [eax + 0x3e94]
test ecx, ecx
je 0x10051303
mov dl, byte [esp + 0xd]
mov byte [esp + 0xf], dl
cmp ecx, dword [eax + 0x46bc]
jne 0x10051303
mov eax, dword [esp + 0x30]
movss xmm4, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x3c]
movaps xmm0, xmm4
movss xmm1, dword [0x10068da4]
movss xmm2, dword [eax + 0xdc4]
subss xmm0, xmm1
subss xmm2, xmm3
divss xmm2, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
ja 0x10051636
movaps xmm0, xmm1
minss xmm0, xmm2
mov al, byte [esp + 0xe]
movss dword [esp + 0x14], xmm0
mov byte [esp + 0x1b], 1
mov byte [esp + 0xd], 1
mov byte [esp + 0xf], al
jmp 0x1005130f
movaps xmm4, xmm1
minss xmm4, xmm3
movaps xmm0, xmm1
mov byte [esp + 0xd], 1
subss xmm0, xmm4
movss dword [edi + 0xc], xmm0
mov edx, dword [0x10128c20]
dec dword [edx + 0x4788]
mov eax, dword [edx + 0x4790]
mov ecx, dword [edx + 0x4788]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x46a0], eax
mov edx, dword [esp + 0x10]
test edx, 0x100
jne 0x100516b6
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x37dc]
call fcn.10029360
call fcn.10029590
mov edx, dword [esp + 0x10]
test dl, dl
js 0x1005171e
mov ecx, dword [esp + 0x68]
cmp ecx, 0xffffffff
jae 0x1005171e
mov al, byte [ecx]
mov byte [esp + 0xe], al
test al, al
je 0x100516dc
cmp al, 0x23
jne 0x100516d6
cmp byte [ecx + 1], al
je 0x100516dc
inc ecx
cmp ecx, 0xffffffff
jb 0x100516c3
mov eax, dword [esp + 0x68]
mov dword [esp + 0x38], ecx
cmp eax, ecx
je 0x1005171e
test edx, 0x100
je 0x1005170c
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x37dc]
call fcn.10029360
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x68]
mov edx, ecx
mov ecx, eax
push 0
call fcn.100447c0
mov edx, dword [esp + 0x14]
add esp, 4
test edx, 0x100
jne 0x10051967
mov eax, dword [0x10128c20]
mov ecx, dword [eax + 0x46a0]
or ecx, 0x10
mov dword [eax + 0x46a0], ecx
add eax, 0x4788
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x68], eax
mov ecx, dword [eax + 4]
mov dword [esp + 0x80], ecx
cmp dword [eax], ecx
jne 0x1005179b
mov edx, dword [eax]
inc edx
mov dword [esp + 0x7c], edx
test ecx, ecx
je 0x10051781
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x7c]
mov ecx, eax
mov eax, dword [esp + 0x68]
sar ecx, 1
add ecx, dword [esp + 0x80]
jmp 0x10051786
mov ecx, 8
cmp ecx, edx
cmovg edx, ecx
mov ecx, eax
push edx
call fcn.10031180
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov esi, dword [esp + 0xb0]
mov dword [eax + ecx*4], esi
mov eax, dword [esp + 0x68]
inc dword [eax]
test dl, 2
je 0x100517bf
movss xmm1, dword [0x10068da4]
jmp 0x100517c4
movss xmm1, dword [edi + 0xc]
movss xmm0, dword [edi]
mov esi, dword [esp + 0xec]
movss dword [esp + 0xd0], xmm0
movss xmm0, dword [edi + 4]
movss dword [esp + 0xd4], xmm0
movss xmm0, dword [edi + 8]
movss dword [esp + 0xd8], xmm0
movss dword [esp + 0xdc], xmm1
test dl, dl
jns 0x10051812
push str.Current
call fcn.10044e80
mov edx, dword [esp + 0x14]
add esp, 4
movss xmm1, dword [esp + 0x64]
lea ecx, [esp + 0x50]
movaps xmm0, xmm1
and edx, 0x180e0040
mulss xmm0, dword [0x10068e04]
push ecx
mov dword [esp + 0xb4], edx
mov ecx, str.current
push edx
movss dword [esp + 0x88], xmm0
lea edx, [esp + 0xd8]
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm1
addss xmm0, xmm1
movss dword [esp + 0x84], xmm0
movss dword [esp + 0x5c], xmm0
call fcn.10052fd0
add esp, 8
cmp dword [esp + 0x6c], 0
je 0x1005193c
push str.Original
call fcn.10044e80
mov eax, dword [esp + 0x14]
add esp, 4
test al, 2
mov eax, dword [esp + 0x6c]
je 0x1005189d
movss xmm1, dword [0x10068da4]
jmp 0x100518a2
movss xmm1, dword [eax + 0xc]
movss xmm0, dword [eax]
lea edx, [esp + 0xfc]
movss dword [esp + 0xfc], xmm0
mov ecx, str.original
movss xmm0, dword [eax + 4]
movss dword [esp + 0x100], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x50]
movss dword [esp + 0x104], xmm0
movss xmm0, dword [esp + 0x80]
push eax
push dword [esp + 0xb4]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x84]
movss dword [esp + 0x110], xmm1
movss dword [esp + 0x5c], xmm0
call fcn.10052fd0
add esp, 8
test al, al
je 0x1005193c
xor eax, eax
cmp dword [esp + 0xf4], eax
sete al
lea eax, [eax*4 + 0xc]
push eax
push dword [esp + 0x70]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xd], 1
mov edx, dword [0x10128c20]
dec dword [edx + 0x4788]
mov eax, dword [edx + 0x4790]
mov ecx, dword [edx + 0x4788]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x46a0], eax
call fcn.100296c0
mov edx, dword [esp + 0x10]
cmp byte [esp + 0x1b], 0
jne 0x10051979
cmp byte [esp + 0xf], 0
je 0x10051a8b
test edx, 0x8000000
je 0x10051a63
movss xmm2, dword [esp + 0x60]
lea eax, [edi + 8]
movss xmm1, dword [esp + 0x1c]
lea edx, [edi + 4]
movss xmm0, dword [esp + 0x14]
mov ecx, edi
push eax
call fcn.1001b680
mov ecx, dword [esp + 0x34]
add esp, 4
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [0x10068da4]
mov eax, dword [ecx + 0x5994]
movss dword [ecx + 0x599c], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [ecx + 0x59a0], xmm0
xorps xmm0, xmm0
mov dword [ecx + 0x5998], eax
movss xmm3, dword [edi]
comiss xmm0, xmm3
movss xmm4, dword [edi + 4]
movss xmm5, dword [edi + 8]
jbe 0x100519f7
xorps xmm2, xmm2
jmp 0x100519fe
movaps xmm2, xmm1
minss xmm2, xmm3
comiss xmm0, xmm4
movss xmm6, dword [0x10068ec4]
movss xmm3, dword [0x10068d68]
mulss xmm2, xmm6
addss xmm2, xmm3
cvttss2si edx, xmm2
jbe 0x10051a24
xorps xmm2, xmm2
jmp 0x10051a2b
movaps xmm2, xmm1
minss xmm2, xmm4
mulss xmm2, xmm6
addss xmm2, xmm3
cvttss2si eax, xmm2
shl eax, 8
or edx, eax
comiss xmm0, xmm5
jbe 0x10051a46
xorps xmm1, xmm1
jmp 0x10051a4a
minss xmm1, xmm5
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 0x10
or eax, edx
mov dword [ecx + 0x59a4], eax
jmp 0x10051a8b
test edx, 0x10000000
je 0x10051a8b
movss xmm0, dword [esp + 0x14]
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [edi + 4], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [edi + 8], xmm0
mov eax, dword [esp + 0x10]
mov byte [esp + 0xe], 0
test al, 0x20
jne 0x10051cd0
cmp dword [esp + 0xf0], 0x10000
jne 0x10051ab4
movss xmm0, dword [esp + 0xe0]
jmp 0x10051abd
movss xmm0, dword [esp + 0x8c]
addss xmm0, dword [esp + 0x64]
subss xmm0, dword [esp + 0x48]
call fcn.10029410
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x198e001a
mov dword [esp + 0x6c], ecx
test eax, 0x100000
jne 0x10051aec
test eax, 0x700000
jne 0x10051b33
or ecx, 0x100004
mov edx, edi
push ecx
mov ecx, str.rgb
call fcn.1004f5c0
add esp, 4
test al, al
je 0x10051b2b
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x3e94], 0
je 0x10051b21
cmp byte [eax + 0x3ea1], 0
mov byte [esp + 0xe], 1
je 0x10051b26
mov byte [esp + 0xe], 0
mov byte [esp + 0xd], 1
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x10]
test eax, 0x200000
jne 0x10051b41
test eax, 0x700000
jne 0x10051b5f
or ecx, 0x200004
mov edx, edi
push ecx
mov ecx, str.hsv
call fcn.1004f5c0
add esp, 4
or byte [esp + 0xd], al
mov eax, dword [esp + 0x10]
test eax, 0x400000
jne 0x10051b6d
test eax, 0x700000
jne 0x10051b8a
mov eax, dword [esp + 0x6c]
mov edx, edi
or eax, 0x400004
mov ecx, str.hex
push eax
call fcn.1004f5c0
add esp, 4
or byte [esp + 0xd], al
cmp byte [esp + 0xe], 0
mov ecx, dword [0x10128c20]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov edx, dword [ecx + 0x3e48]
mov ecx, dword [edx + 0x1b0]
mov eax, dword [edx + 0x1b8]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1a8], eax
lea eax, [ecx - 1]
mov dword [edx + 0x1b0], eax
mov eax, dword [esp + 0x10]
je 0x10051cd0
test eax, 0x8000000
je 0x10051cd0
movss xmm3, dword [edi + 4]
xorps xmm2, xmm2
movss xmm5, dword [edi + 8]
xorps xmm6, xmm6
comiss xmm5, xmm3
movss xmm4, dword [edi]
jbe 0x10051c06
movss xmm6, dword [0x10068f54]
movaps xmm0, xmm3
movaps xmm3, xmm5
movaps xmm5, xmm0
comiss xmm3, xmm4
jbe 0x10051c23
movaps xmm0, xmm4
movaps xmm4, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x10068f40]
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 [0x10068d0c]
movaps xmm7, xmm1
mulss xmm1, dword [0x10068e2c]
divss xmm7, xmm0
addss xmm1, dword [0x10068d0c]
divss xmm3, xmm1
addss xmm3, xmm6
movss xmm6, dword [0x10069a50]
andps xmm3, xmm6
comiss xmm2, xmm3
jb 0x10051cd8
movss xmm0, dword [esp + 0x14]
comiss xmm0, xmm2
jbe 0x10051cd8
comiss xmm2, xmm4
jb 0x10051ca5
movss xmm1, dword [esp + 0x60]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x10051ca1
movaps xmm2, xmm1
movss xmm1, dword [esp + 0x1c]
mulss xmm2, dword [0x10068d68]
jmp 0x10051cbb
mov eax, dword [esp + 0x10]
comiss xmm2, xmm7
jb 0x10051cd8
movss xmm1, dword [esp + 0x1c]
movaps xmm2, xmm4
mulss xmm1, dword [0x10068d68]
lea eax, [edi + 8]
mov ecx, edi
push eax
lea edx, [edi + 4]
call fcn.1001b680
mov eax, dword [esp + 0x14]
add esp, 4
movss xmm6, dword [0x10069a50]
cmp byte [esp + 0xd], 0
je 0x10051e4e
test eax, 0x8000000
je 0x10051dd9
movss xmm0, dword [edi + 4]
xorps xmm4, xmm4
movss xmm1, dword [edi + 8]
movaps xmm2, xmm0
comiss xmm1, xmm0
movss xmm7, dword [edi]
movaps xmm5, xmm1
movss dword [esp + 0x70], xmm7
movss dword [esp + 0x90], xmm0
movss dword [esp + 0x44], xmm1
jbe 0x10051d2d
movss xmm4, dword [0x10068f54]
movaps xmm2, xmm1
movaps xmm5, xmm0
comiss xmm2, xmm7
movaps xmm3, xmm7
movss dword [esp + 0x60], xmm3
jbe 0x10051d56
movss xmm0, dword [0x10068f40]
movaps xmm3, xmm2
subss xmm0, xmm4
movss dword [esp + 0x60], xmm3
movaps xmm2, xmm7
movaps xmm4, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x14], xmm3
minss xmm0, xmm5
movaps xmm1, xmm3
subss xmm2, xmm5
mov ecx, edi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x24]
movaps xmm0, xmm1
mulss xmm0, dword [0x10068e2c]
addss xmm0, dword [0x10068d0c]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x10068d0c]
addss xmm2, xmm4
divss xmm1, xmm0
andps xmm2, xmm6
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x40], xmm1
call fcn.1004f4c0
movss xmm3, dword [esp + 0x24]
add esp, 8
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x14], xmm3
movss dword [esp + 0x1c], xmm0
jmp 0x10051e54
test eax, 0x10000000
je 0x10051e4e
movss xmm1, dword [edi + 8]
lea eax, [esp + 0x74]
movss xmm3, dword [edi + 4]
lea edx, [esp + 0x88]
movss xmm0, dword [edi]
lea ecx, [esp + 0x9c]
movss dword [esp + 0x60], xmm1
movaps xmm2, xmm1
push eax
movaps xmm1, xmm3
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x20], xmm3
call fcn.1001b680
movss xmm0, dword [esp + 0xa0]
add esp, 4
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x88]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x74]
movss dword [esp + 0x44], xmm0
movss xmm3, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm2, dword [eax + 0x3788]
comiss xmm0, xmm2
movss xmm0, dword [0x10068da4]
jbe 0x10051e75
xorps xmm1, xmm1
jmp 0x10051e7c
movaps xmm1, xmm0
minss xmm1, xmm2
mulss xmm1, dword [0x10068ec4]
mov dword [esp + 0x50], 0x3f800000
movss dword [esp + 0x5c], xmm2
movaps xmm2, xmm0
mov dword [esp + 0x54], 0x3f800000
addss xmm1, dword [0x10068d68]
mov dword [esp + 0x58], 0x3f800000
cvttss2si edx, xmm1
movaps xmm1, xmm0
movaps xmm0, xmm3
shl edx, 0x18
mov eax, edx
mov dword [esp + 0x34], edx
or eax, 0xffffff
mov ecx, edx
mov dword [esp + 0x74], eax
or ecx, 0xff
mov eax, edx
mov dword [esp + 0x110], ecx
or eax, 0x808080
mov dword [esp + 0x128], ecx
mov dword [esp + 0x88], eax
lea ecx, [esp + 0x50]
mov eax, edx
or eax, 0xffff
mov dword [esp + 0x114], eax
mov eax, edx
or eax, 0xff00
mov dword [esp + 0x118], eax
mov eax, edx
or eax, 0xffff00
mov dword [esp + 0x11c], eax
mov eax, edx
or eax, 0xff0000
mov dword [esp + 0x120], eax
mov eax, edx
or eax, 0xff00ff
lea edx, [esp + 0x54]
mov dword [esp + 0x124], eax
lea eax, [esp + 0x58]
push eax
call fcn.1001b680
movss xmm1, dword [esp + 0x54]
xorps xmm2, xmm2
movss xmm3, dword [0x10068da4]
add esp, 4
comiss xmm2, xmm1
jbe 0x10051f63
xorps xmm0, xmm0
jmp 0x10051f6a
movaps xmm0, xmm3
minss xmm0, xmm1
movss xmm5, dword [0x10068ec4]
movss xmm4, dword [0x10068d68]
movss xmm1, dword [esp + 0x54]
comiss xmm2, xmm1
mulss xmm0, xmm5
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x10051f96
xorps xmm0, xmm0
jmp 0x10051f9d
movaps xmm0, xmm3
minss xmm0, xmm1
movss xmm1, dword [esp + 0x58]
mulss xmm0, xmm5
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm2, xmm1
jbe 0x10051fbe
xorps xmm0, xmm0
jmp 0x10051fc5
movaps xmm0, xmm3
minss xmm0, xmm1
movss xmm1, dword [esp + 0x5c]
mulss xmm0, xmm5
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm2, xmm1
jbe 0x10051fe6
xorps xmm0, xmm0
jmp 0x10051fed
movaps xmm0, xmm3
minss xmm0, xmm1
movss xmm1, dword [esp + 0x70]
mulss xmm0, xmm5
addss xmm0, xmm4
cvttss2si edx, xmm0
shl edx, 0x18
or edx, ecx
comiss xmm2, xmm1
mov dword [esp + 0x78], edx
jbe 0x10052012
xorps xmm0, xmm0
jmp 0x10052019
movaps xmm0, xmm3
minss xmm0, xmm1
movss xmm1, dword [esp + 0x90]
comiss xmm2, xmm1
mulss xmm0, xmm5
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x10052038
xorps xmm0, xmm0
jmp 0x1005203f
movaps xmm0, xmm3
minss xmm0, xmm1
movss xmm1, dword [esp + 0x44]
mulss xmm0, xmm5
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm2, xmm1
jbe 0x10052060
xorps xmm0, xmm0
jmp 0x10052067
movaps xmm0, xmm3
minss xmm0, xmm1
mulss xmm0, xmm5
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x30]
movss xmm1, dword [eax + 0x3788]
comiss xmm2, xmm1
jbe 0x1005208e
xorps xmm0, xmm0
jmp 0x10052095
movaps xmm0, xmm3
minss xmm0, xmm1
mulss xmm0, xmm5
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x10]
test eax, 0x4000000
je 0x1005286e
movss xmm0, dword [esp + 0xf8]
movaps xmm5, xmm4
movss xmm2, dword [esp + 0x94]
mov eax, 0x2aaaaaab
divss xmm5, xmm0
cvttss2si ecx, xmm0
addss xmm2, xmm0
movss dword [esp + 0xd0], xmm5
imul ecx
mulss xmm2, xmm4
mov eax, 4
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movss dword [esp + 0xfc], xmm2
cmp ecx, eax
cmovle ecx, eax
xor esi, esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x38], esi
nop word [eax + eax]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov eax, dword [esp + 0x40]
push ecx
push ecx
lea ecx, [esp + 0xc8]
mov edi, dword [eax + 0x18]
movaps xmm0, xmm1
addss xmm1, xmm3
divss xmm0, dword [0x10068e2c]
divss xmm1, dword [0x10068e2c]
addss xmm0, xmm0
addss xmm1, xmm1
mulss xmm0, dword [0x10068e08]
mulss xmm1, dword [0x10068e08]
subss xmm0, xmm5
addss xmm1, xmm5
movaps xmm3, xmm0
movss dword [esp + 0x4c], xmm0
movss dword [esp], xmm1
push ecx
mov ecx, eax
movss dword [esp + 0x7c], xmm1
call fcn.1003b430
movss xmm0, dword [esp + 0x84]
mov eax, dword [esp + 0x40]
push ecx
movss dword [esp], xmm0
mov ecx, eax
push 0
push dword [esp + 0x7c]
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.10039f30
movss xmm0, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
cvtps2pd xmm0, xmm0
mov dword [eax + 0x54], 0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x44]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x94]
addss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x68], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x94]
addss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0x70]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [esp + 0x70]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0x94]
addss xmm0, dword [esp + 0xb8]
movss dword [esp + 0x44], xmm0
cvtps2pd xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm2, dword [esp + 0x44]
subss xmm2, dword [esp + 0x68]
cvtsd2ss xmm0, xmm0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + esi*4 + 0x110]
movss xmm3, dword [0x10068da4]
mulss xmm0, dword [esp + 0x94]
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
movss dword [esp + 0x44], xmm2
addss xmm0, dword [esp + 0xbc]
subss xmm0, dword [esp + 0x6c]
movaps xmm1, xmm0
movss dword [esp + 0xe4], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
movaps xmm0, xmm3
divss xmm0, xmm1
movss dword [esp + 0x10], xmm0
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [esp + 0x80], eax
movzx eax, cl
mov dword [esp + 0x8c], eax
mov eax, ecx
shr eax, 8
movzx eax, al
mov dword [esp + 0x9c], eax
shr ecx, 0x10
movzx eax, cl
mov ecx, dword [esp + esi*4 + 0x114]
mov dword [esp + 0x70], eax
movzx eax, cl
sub eax, dword [esp + 0x8c]
mov dword [esp + 0xb0], eax
mov eax, ecx
shr eax, 8
movzx eax, al
sub eax, dword [esp + 0x9c]
shr ecx, 0x10
mov dword [esp + 0x7c], eax
lea eax, [edi + edi*4]
mov edi, dword [esp + 0x80]
lea edx, [edx + eax*4]
movzx ecx, cl
sub ecx, dword [esp + 0x70]
cmp edx, edi
jae 0x10052419
movd xmm5, dword [esp + 0x70]
movd xmm6, dword [esp + 0x7c]
movd xmm7, dword [esp + 0x9c]
mov esi, dword [esp + 0xb0]
movd xmm4, ecx
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm5, xmm5
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm7, xmm7
nop dword [eax]
movss xmm0, dword [edx]
movss xmm1, dword [edx + 4]
subss xmm1, dword [esp + 0x6c]
subss xmm0, dword [esp + 0x68]
mulss xmm1, dword [esp + 0xe4]
mulss xmm0, xmm2
addss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [esp + 0x10]
comiss xmm0, xmm1
jbe 0x100523a9
xorps xmm2, xmm2
jmp 0x100523b0
movaps xmm2, xmm3
minss xmm2, xmm1
movaps xmm0, xmm2
mulss xmm0, xmm4
addss xmm0, xmm5
cvttss2si ecx, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm6
shl ecx, 8
addss xmm0, xmm7
cvttss2si eax, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
or ecx, eax
shl ecx, 8
mulss xmm2, xmm0
movd xmm0, dword [esp + 0x8c]
cvtdq2ps xmm0, xmm0
addss xmm2, xmm0
cvttss2si eax, xmm2
movss xmm2, dword [esp + 0x44]
or ecx, eax
mov eax, dword [edx + 0x10]
and eax, 0xff000000
or ecx, eax
mov dword [edx + 0x10], ecx
add edx, 0x14
cmp edx, edi
jb 0x10052370
mov esi, dword [esp + 0x38]
movss xmm2, dword [esp + 0xfc]
inc esi
movss xmm5, dword [esp + 0xd0]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x38], esi
cmp esi, 6
jl 0x10052130
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x10068de0]
mulss xmm0, dword [0x10068e08]
movss dword [esp + 0x14], xmm0
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm3, dword [esp + 0x14]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x44], xmm0
cvtps2pd xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cmp byte [esp + 0x1b], 0
xorps xmm2, xmm2
movss xmm3, dword [esp + 0x94]
addss xmm3, dword [esp + 0xf8]
cvtsd2ss xmm2, xmm0
movss xmm0, dword [esp + 0x44]
mulss xmm0, xmm3
movss dword [esp + 0x48], xmm2
mulss xmm0, dword [0x10068d68]
addss xmm0, dword [esp + 0xb8]
movss dword [esp + 0xd0], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm3
mulss xmm0, dword [0x10068d68]
addss xmm0, dword [esp + 0xbc]
movss dword [esp + 0xd4], xmm0
movss xmm0, dword [esp + 0x84]
je 0x100524f7
mulss xmm0, dword [0x10068d74]
jmp 0x100524ff
mulss xmm0, dword [0x10068d6c]
mov esi, dword [esp + 0x40]
movaps xmm1, xmm0
mov ecx, esi
movss dword [esp + 0x84], xmm0
call fcn.10039c60
movss xmm2, dword [esp + 0x84]
mov edi, eax
push edi
push dword [esp + 0x7c]
lea eax, [esp + 0xd8]
mov ecx, esi
push eax
call fcn.1003c4c0
movss xmm2, dword [esp + 0x84]
lea eax, [esp + 0xd0]
addss xmm2, dword [0x10068da4]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
push dword [esp + 0x90]
push eax
call fcn.1003c400
movss xmm2, dword [esp + 0x84]
lea eax, [esp + 0xd0]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
mov edi, dword [esp + 0x7c]
push edi
push eax
call fcn.1003c400
movss xmm3, dword [esp + 0x44]
xorps xmm1, xmm1
movss xmm5, dword [esp + 0x48]
movaps xmm2, xmm3
mulss xmm2, dword [esp + 0x20]
movaps xmm0, xmm5
mov eax, dword [0x10128c20]
movss xmm6, dword [esp + 0xb8]
movaps xmm4, xmm3
mulss xmm0, xmm1
movss xmm7, dword [esp + 0xbc]
mulss xmm4, dword [esp + 0xa0]
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, dword [esp + 0xa0]
addss xmm2, xmm6
movss dword [esp + 0xfc], xmm2
movss dword [esp + 0xe4], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x20]
addss xmm2, xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x98]
mulss xmm5, dword [esp + 0xa4]
addss xmm2, xmm7
movss dword [esp + 0x7c], xmm2
movss dword [esp + 0xe8], xmm2
movaps xmm2, xmm4
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [esp + 0x98]
subss xmm4, xmm5
mulss xmm3, dword [esp + 0xa4]
addss xmm0, xmm1
addss xmm4, xmm6
addss xmm3, xmm1
addss xmm2, xmm6
addss xmm0, xmm7
movss dword [esp + 0x80], xmm4
addss xmm3, xmm7
movss dword [esp + 0xb0], xmm4
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x24], xmm0
movss xmm0, dword [eax + 0x3bc0]
movss dword [esp + 0x44], xmm3
movss dword [esp + 0xb4], xmm3
movss dword [esp + 0x48], xmm0
mov ecx, esi
movss xmm0, dword [eax + 0x3bc4]
push 3
push 3
movss dword [esp + 0xd8], xmm0
call fcn.10039d10
mov ecx, dword [esi + 0x38]
mov ax, word [esi + 0x28]
mov edx, dword [esp + 0xe8]
movss xmm0, dword [esp + 0x48]
mov word [ecx], ax
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
mov ecx, dword [esp + 0xe4]
movss xmm1, dword [esp + 0xd0]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x24]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], ecx
add dword [esi + 0x34], 0x14
mov eax, dword [esi + 0x38]
inc dword [esi + 0x28]
mov ecx, dword [esi + 0x28]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0xb4]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], ecx
mov eax, dword [esi + 0x38]
add dword [esi + 0x34], 0x14
inc dword [esi + 0x28]
mov ecx, dword [esi + 0x28]
mov word [eax], cx
mov eax, dword [esi + 0x34]
add dword [esi + 0x38], 2
mov ecx, dword [esp + 0xb0]
push ecx
mov dword [eax], ecx
mov ecx, esi
mov dword [eax + 4], edx
mov eax, dword [esi + 0x34]
mov dword [esp], 0x3fc00000
push dword [esp + 0x8c]
movss dword [eax + 8], xmm0
movss dword [eax + 0xc], xmm1
mov eax, dword [esi + 0x34]
mov dword [eax + 0x10], edi
lea eax, [esp + 0xb8]
add dword [esi + 0x34], 0x14
inc dword [esi + 0x28]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0xf4]
push eax
call fcn.1003c1d0
movss xmm3, dword [0x10068da4]
xorps xmm2, xmm2
movaps xmm0, xmm3
subss xmm0, dword [esp + 0x60]
comiss xmm2, xmm0
jbe 0x100527d0
xorps xmm5, xmm5
jmp 0x100527d7
movaps xmm5, xmm3
minss xmm5, xmm0
movss xmm0, dword [esp + 0x1c]
comiss xmm2, xmm0
jbe 0x100527e7
xorps xmm1, xmm1
jmp 0x100527ee
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm0, dword [esp + 0xfc]
subss xmm0, dword [esp + 0x80]
movss xmm4, dword [esp + 0x20]
mov esi, dword [esp + 0xec]
mov edi, dword [esp + 0xa8]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x80]
subss xmm4, xmm0
mulss xmm4, xmm5
addss xmm4, xmm0
movss xmm0, dword [esp + 0x7c]
subss xmm0, dword [esp + 0x44]
movss dword [esp + 0x50], xmm4
mulss xmm0, xmm1
movss xmm1, dword [esp + 0x24]
movss xmm4, dword [0x10068d68]
addss xmm0, dword [esp + 0x44]
subss xmm1, xmm0
mulss xmm1, xmm5
addss xmm1, xmm0
movss dword [esp + 0x54], xmm1
jmp 0x10052bde
test eax, 0x2000000
je 0x10052bd6
movss xmm1, dword [esp + 0x48]
movss xmm2, dword [esp + 0x2c]
movaps xmm0, xmm1
mov eax, dword [esp + 0x74]
addss xmm0, xmm2
mov ecx, dword [esp + 0x40]
addss xmm1, xmm2
push eax
push edx
push edx
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x48]
push eax
addss xmm0, xmm2
movss dword [esp + 0x88], xmm1
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x5c]
push eax
movss dword [esp + 0x3c], xmm0
call fcn.1003c050
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0xc0]
movss xmm0, dword [esp + 0x78]
push ecx
push ecx
mov ecx, dword [esp + 0x48]
push 0
push 0
push eax
movss dword [esp + 0xd4], xmm0
lea eax, [esp + 0x5c]
movss xmm0, dword [esp + 0x38]
push eax
movss dword [esp + 0xdc], xmm0
call fcn.1003c050
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0xd0], xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0xd4], xmm0
xorps xmm0, xmm0
push dword [esp + 0xd4]
push dword [esp + 0xd4]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.1001c010
movss xmm3, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm1, dword [0x10068da4]
add esp, 0x10
comiss xmm0, xmm3
jbe 0x10052962
xorps xmm2, xmm2
jmp 0x10052969
movaps xmm2, xmm1
minss xmm2, xmm3
movss xmm7, dword [esp + 0x2c]
movss xmm5, dword [esp + 0x48]
movss xmm4, dword [0x10068d68]
mulss xmm2, xmm7
movss xmm6, dword [0x10068de0]
addss xmm2, xmm5
addss xmm2, xmm4
cvttss2si eax, xmm2
movaps xmm2, xmm5
addss xmm5, xmm7
addss xmm2, xmm6
movd xmm3, eax
cvtdq2ps xmm3, xmm3
subss xmm5, xmm6
comiss xmm2, xmm3
jbe 0x100529b8
movss dword [esp + 0x50], xmm2
jmp 0x100529cb
comiss xmm3, xmm5
jbe 0x100529c5
movss dword [esp + 0x50], xmm5
jmp 0x100529cb
movss dword [esp + 0x50], xmm3
movaps xmm2, xmm1
subss xmm2, dword [esp + 0x60]
comiss xmm0, xmm2
jbe 0x100529de
xorps xmm1, xmm1
jmp 0x100529e2
minss xmm1, xmm2
movss xmm3, dword [esp + 0x3c]
mulss xmm1, xmm7
movss xmm0, dword [esp + 0x24]
subss xmm0, xmm6
addss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
movaps xmm1, xmm3
addss xmm1, xmm6
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm1, xmm2
jbe 0x10052a1d
movss dword [esp + 0x54], xmm1
jmp 0x10052a30
comiss xmm2, xmm0
jbe 0x10052a2a
movss dword [esp + 0x54], xmm0
jmp 0x10052a30
movss dword [esp + 0x54], xmm2
movss xmm2, dword [esp + 0x8c]
movaps xmm1, xmm7
divss xmm1, dword [0x10068e2c]
mov esi, dword [esp + 0x40]
xor ecx, ecx
movaps xmm0, xmm2
movss dword [esp + 0x20], xmm2
addss xmm0, dword [esp + 0x64]
movss dword [esp + 0x48], xmm1
movss dword [esp + 0xc0], xmm0
nop dword [eax + eax]
mov eax, dword [esp + ecx*4 + 0x114]
lea edi, [ecx + 1]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push eax
push eax
lea eax, [esp + 0xc8]
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0xcc], xmm0
movd xmm0, ecx
mov ecx, dword [esp + ecx*4 + 0x118]
cvtdq2ps xmm0, xmm0
push ecx
push ecx
push eax
lea eax, [esp + 0x34]
mov ecx, esi
push eax
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0x3c], xmm0
call fcn.1003c050
movss xmm1, dword [esp + 0x48]
mov ecx, edi
movss xmm3, dword [esp + 0x3c]
cmp ecx, 6
jl 0x10052a70
movss xmm2, dword [esp + 0x3c]
movss xmm3, dword [esp + 0x8c]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x2c]
movaps xmm1, xmm3
movss dword [esp + 0x4c], xmm2
addss xmm1, dword [esp + 0x64]
movss dword [esp + 0x48], xmm3
movss dword [esp + 0x24], xmm0
xorps xmm0, xmm0
push dword [esp + 0x24]
movss dword [esp + 0x24], xmm1
push dword [esp + 0x24]
push dword [esp + 0x54]
push dword [esp + 0x54]
call fcn.1001c010
mov esi, dword [esp + 0xfc]
movss xmm1, dword [esp + 0x74]
addss xmm1, dword [0x10068de0]
mov ecx, dword [esp + 0x50]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movaps xmm0, xmm2
movss dword [esp + 0x34], xmm2
addss xmm0, dword [0x10068da4]
movss xmm2, dword [esp + 0x9c]
push dword [esp + 0x34]
subss xmm2, dword [0x10068da4]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x28]
mulss xmm0, dword [esp + 0x40]
push dword [esp + 0x34]
movss dword [esp + 0x60], xmm2
addss xmm0, dword [esp + 0x54]
addss xmm0, dword [0x10068d68]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x48]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x3788]
movss dword [esp + 0x64], xmm0
push dword [esp + 0x64]
push dword [esp + 0x64]
call fcn.10050650
movss xmm4, dword [0x10068d68]
add esp, 0x20
mov edi, dword [esp + 0xa8]
movss xmm3, dword [0x10068da4]
cmp byte [esp + 0xf], 0
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + 0x2c]
je 0x10052c04
movss xmm5, dword [0x10068e3c]
mov eax, 0xa
movss dword [esp + 0xac], xmm5
jmp 0x10052c11
movss xmm5, dword [0x10068e2c]
mov eax, 6
test dword [esp + 0x90], 0xff000000
movzx eax, byte [ecx + eax + 0x1bc]
mov dword [esp + 0x34], eax
je 0x10052cd5
comiss xmm4, xmm5
ja 0x10052cd5
test eax, eax
jg 0x10052c58
push ecx
push 0x30
push 0
lea eax, [esp + 0x5c]
movaps xmm2, xmm5
push eax
mov ecx, edx
call fcn.1003b050
mov eax, dword [esp + 0x40]
dec dword [eax + 0x54]
jmp 0x10052cb2
cmp eax, 3
jge 0x10052c64
mov ecx, 3
jmp 0x10052c78
cmp eax, 0x200
mov dword [esp + 0x48], 0x200
mov ecx, eax
cmovg ecx, dword [esp + 0x48]
movd xmm1, ecx
lea eax, [ecx - 1]
cvtdq2ps xmm1, xmm1
push eax
push ecx
lea eax, [esp + 0x58]
mov ecx, edx
movaps xmm2, xmm5
movaps xmm0, xmm1
subss xmm0, xmm3
xorps xmm3, xmm3
mulss xmm0, dword [0x10068e30]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1003b430
mov eax, dword [esp + 0x40]
push dword [esp + 0x90]
mov ecx, eax
push dword [eax + 0x54]
push dword [eax + 0x5c]
call fcn.1003ac40
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
mov dword [edx + 0x54], 0
movss xmm2, dword [esp + 0xac]
addss xmm2, dword [0x10068da4]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edx
push eax
push dword [esp + 0x90]
lea eax, [esp + 0x5c]
push eax
call fcn.1003c400
movss xmm2, dword [esp + 0xac]
lea eax, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x44]
mov dword [esp], 0x3f800000
push dword [esp + 0x38]
push dword [esp + 0x7c]
push eax
call fcn.1003c400
cmp dword [esp + 0xf0], 0x10000
jne 0x10052ed8
movss xmm2, dword [edi + 0xc]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x10052d4f
movss dword [esp + 0x34], xmm1
jmp 0x10052d61
movss xmm0, dword [0x10068da4]
minss xmm0, xmm2
movss dword [esp + 0x34], xmm0
movss xmm3, dword [esp + 0xe0]
xor edx, edx
movss xmm0, dword [esp + 0x3c]
movaps xmm2, xmm3
addss xmm2, dword [esp + 0x64]
mov ecx, dword [esp + 0x40]
movss dword [esp + 0xc4], xmm0
addss xmm0, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
push dword [esp + 0x24]
mov dword [esp + 0x24], 0
push dword [esp + 0x24]
movss dword [esp + 0xd0], xmm2
subss xmm2, xmm3
movss dword [esp + 0xd4], xmm0
push dword [esp + 0xd4]
movss dword [esp + 0xcc], xmm3
xorps xmm3, xmm3
push dword [esp + 0xd4]
mov edi, dword [esp + 0xd0]
push dword [esp + 0xd4]
mulss xmm2, dword [0x10068d68]
push edi
push 0
call fcn.10040a00
mov ecx, dword [esp + 0xac]
add esp, 0x1c
mov eax, ecx
and eax, 0xffffff
push eax
push eax
push ecx
push ecx
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.1003c050
push dword [esp + 0xcc]
xorps xmm0, xmm0
push dword [esp + 0xcc]
push dword [esp + 0xcc]
push edi
call fcn.1001c010
movss xmm1, dword [0x10068da4]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
mov edi, dword [esp + 0x40]
mov ecx, dword [esp + 0x50]
movaps xmm0, xmm2
movss dword [esp + 0x34], xmm2
movss xmm2, dword [esp + 0xf0]
addss xmm0, xmm1
subss xmm2, xmm1
subss xmm1, dword [esp + 0x44]
push dword [esp + 0x34]
movss dword [esp + 0x34], xmm0
push dword [esp + 0x34]
mulss xmm1, dword [esp + 0x44]
movss dword [esp + 0x68], xmm2
movss xmm2, dword [edi + 0x3788]
addss xmm1, dword [esp + 0x54]
addss xmm1, dword [0x10068d68]
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x7c]
addss xmm1, dword [0x10068de0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x6c], xmm0
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.10050650
add esp, 0x20
jmp 0x10052edc
mov edi, dword [esp + 0x30]
call fcn.100296c0
mov dl, byte [esp + 0xd]
test dl, dl
je 0x10052fc7
mov ecx, dword [esp + 0xa8]
lea esi, [esp + 0x12c]
xor edx, edx
cmp dword [esp + 0xf4], edx
sete dl
lea edx, [edx*4 + 0xc]
sub edx, 4
jb 0x10052f24
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x10052f2d
add esi, 4
add ecx, 4
sub edx, 4
jae 0x10052f13
cmp edx, 0xfffffffc
je 0x10052fc5
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x10052f5e
cmp edx, 0xfffffffd
je 0x10052fc5
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x10052f5e
cmp edx, 0xfffffffe
je 0x10052fc5
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x10052f5e
cmp edx, 0xffffffff
je 0x10052fc5
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x10052fc5
mov ecx, dword [edi + 0x46bc]
mov eax, dword [0x10128c20]
test ecx, ecx
je 0x10052f8b
mov edx, dword [eax + 0x3e94]
cmp edx, ecx
je 0x10052f7b
test edx, edx
jne 0x10052f84
mov word [eax + 0x3ea4], 0x101
or dword [eax + 0x46c4], 4
mov dl, byte [esp + 0xd]
cmp dword [esp + 0x10c], 0
jne 0x10052fa3
mov dword [edi + 0x5994], 0
mov ecx, dword [eax + 0x3e48]
mov al, dl
pop edi
pop esi
dec dword [ecx + 0xe4]
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.1005e254
mov esp, ebp
pop ebp
ret
xor dl, dl
mov eax, dword [0x10128c20]
jmp 0x10052f8f