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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
mov eax, dword [0x10242040]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x10335910]
push edi
mov dword [esp + 0x70], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], esi
call fcn.1005ac50
test eax, eax
mov dword [esp + 0x48], eax
mov edi, eax
sete cl
mov dword [esp + 0x2c], edi
mov byte [esp + 0x11], cl
test eax, eax
jne 0x1005ce0c
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
call fcn.1005adc0
mov edi, eax
mov dword [esp + 0x2c], edi
mov edx, edi
mov dword [esp + 0x1c], edi
jmp 0x1005ce24
push dword [esp + 0x14]
mov dl, cl
mov ecx, edi
call fcn.1005ace0
mov eax, edi
add esp, 4
mov dword [esp + 0x1c], eax
mov edx, eax
mov ecx, dword [esp + 0x14]
mov eax, ecx
and eax, 0xc0200
cmp eax, 0xc0200
jne 0x1005ce3d
or ecx, 6
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x3158]
cmp eax, 0xc0200
mov dword [esp + 0x3c], ecx
cmovne edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add edx, 0x218
cmp dword [esi + 0x3194], 0
mov dword [esp + 0x4c], edx
mov eax, dword [edx]
mov dword [esp + 0x44], eax
jne 0x1005ce7b
cmp byte [esi + 0x3165], 0
je 0x1005ce7b
mov al, 1
jmp 0x1005ce7d
xor al, al
mov byte [edi + 0x92], al
mov eax, dword [esp + 0x3c]
dec eax
cmp dword [edx], eax
setl al
mov byte [esp + 0x40], al
test ecx, 0x4000000
je 0x1005cecf
mov eax, dword [esi + 0x334c]
lea esi, [eax + eax*8]
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x3348]
mov eax, dword [edi + 0xa0]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [esp + 0x20]
setne al
or cl, al
mov al, byte [esp + 0x40]
or al, cl
mov byte [esp + 0x40], al
mov byte [edi + 0x90], al
test al, al
je 0x1005ceea
push 1
mov edx, 8
mov ecx, edi
call fcn.1005abc0
add esp, 4
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x44], ecx
je 0x1005cf34
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
mov dword [edi + 8], edx
mov dword [eax], ecx
xor eax, eax
movsd xmm0, qword [esi + 0x3150]
cvtpd2ps xmm0, xmm0
movss dword [edi + 0x21c], xmm0
mov word [edi + 0x98], ax
movzx eax, word [esi + 0x31ac]
inc dword [esi + 0x31ac]
mov word [edi + 0x9a], ax
jmp 0x1005cf3b
mov edx, dword [edi + 8]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3194]
test eax, eax
jne 0x1005cf49
xor ecx, ecx
jmp 0x1005cf56
imul ecx, eax, 0x54
mov eax, dword [esi + 0x319c]
mov ecx, dword [ecx + eax - 0x54]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], ecx
cmp eax, dword [esp + 0x3c]
je 0x1005cf73
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x1005cf79
mov eax, dword [edi + 0x2d8]
cmp dword [edi + 0xc4], 0
lea ecx, [edi + 0xc4]
mov dword [esp + 0x28], eax
jne 0x1005cf95
lea eax, [edi + 4]
push eax
call fcn.10066820
push 0x3c
lea eax, [esp + 0xa8]
mov dword [esi + 0x31b8], edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x3294]
lea ecx, [esp + 0xec]
xorps xmm0, xmm0
mov word [esp + 0xfc], 0
movups xmmword [esp + 0xec], xmm0
add esp, 0xc
mov dword [esp + 0xa0], edi
movups xmm0, xmmword [esi + 0x325c]
mov dword [esp + 0xdc], eax
movups xmmword [esp + 0xa4], xmm0
movups xmm0, xmmword [esi + 0x326c]
movups xmmword [esp + 0xb4], xmm0
movups xmm0, xmmword [esi + 0x327c]
movups xmmword [esp + 0xc4], xmm0
movq xmm0, qword [esi + 0x328c]
movq qword [esp + 0xd4], xmm0
call fcn.1005f900
mov ecx, dword [esi + 0x3194]
mov eax, dword [esi + 0x3198]
cmp ecx, eax
jne 0x1005d0a5
inc ecx
test eax, eax
je 0x1005d046
cdq
sub eax, edx
mov edx, dword [esi + 0x3198]
sar eax, 1
add eax, edx
jmp 0x1005d051
mov edx, dword [esi + 0x3198]
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov dword [esp + 0x38], ecx
cmp ecx, edx
jle 0x1005d0a5
imul ecx, ecx, 0x54
call fcn.10057ab0
mov edx, dword [esi + 0x319c]
mov dword [esp + 0x4c], eax
test edx, edx
je 0x1005d095
imul ecx, dword [esi + 0x3194], 0x54
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x319c]
add esp, 0xc
call fcn.10057ad0
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x319c], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x3198], eax
imul eax, dword [esi + 0x3194], 0x54
mov ecx, dword [esi + 0x319c]
movups xmm0, xmmword [esp + 0xa0]
add ecx, eax
mov eax, dword [esp + 0xf0]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esp + 0xb0]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [esp + 0xc0]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [esp + 0xd0]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [esp + 0xe0]
movups xmmword [ecx + 0x40], xmm0
mov dword [ecx + 0x50], eax
inc dword [esi + 0x3194]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x31b8], 0
test eax, 0x10000000
je 0x1005d11a
inc dword [esi + 0x3358]
test eax, 0x4000000
je 0x1005d153
mov eax, dword [esi + 0x334c]
lea ecx, [esi + 0x334c]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x3348]
mov dword [eax + edx*4 + 4], edi
lea esi, [eax + edx*4]
push esi
call fcn.10066350
mov eax, dword [esi]
mov esi, dword [esp + 0x20]
mov dword [edi + 0xa0], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
cmp edx, dword [esp + 0x3c]
je 0x1005d177
push dword [esp + 0x28]
mov edx, eax
mov ecx, edi
call fcn.1005cc60
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [edi + 0x2dc], eax
test byte [esi + 0x3298], 1
mov byte [esp + 0x1b], 0
mov byte [esp + 0x1a], 0
mov byte [esp + 0x13], 0
je 0x1005d233
movsx eax, byte [edi + 0xb0]
mov ecx, dword [esi + 0x329c]
test ecx, eax
setne byte [esp + 0x1b]
test ecx, eax
je 0x1005d222
movss xmm1, dword [esi + 0x32b4]
movss xmm0, dword [esi + 0x32b0]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x1022c5c8]
jbe 0x1005d222
mov eax, dword [esi + 0x32a8]
mov ecx, dword [esi + 0x32ac]
mov dword [edi + 0xb4], eax
mov dword [edi + 0xb8], ecx
mov eax, dword [esi + 0x32b0]
mov ecx, dword [esi + 0x32b4]
mov dword [edi + 0xbc], eax
mov dword [edi + 0xc0], ecx
movzx ecx, byte [edi + 0xb0]
mov eax, dword [edi + 0xb0]
and ecx, 0xf1
and eax, 0xffffff00
or ecx, eax
mov dword [edi + 0xb0], ecx
jmp 0x1005d233
push ecx
lea edx, [esi + 0x32a8]
mov ecx, edi
call fcn.1005f1c0
add esp, 4
test byte [esi + 0x3298], 2
xorps xmm1, xmm1
je 0x1005d299
movsx eax, byte [edi + 0xb1]
mov edx, dword [esi + 0x32a0]
and eax, edx
je 0x1005d264
movss xmm0, dword [esi + 0x32b8]
comiss xmm0, xmm1
jbe 0x1005d264
mov byte [esp + 0x1a], 1
jmp 0x1005d26e
xor cl, cl
mov byte [esp + 0x1a], cl
test eax, eax
je 0x1005d280
movss xmm0, dword [esi + 0x32bc]
comiss xmm0, xmm1
mov byte [esp + 0x13], 1
ja 0x1005d285
mov byte [esp + 0x13], 0
push edx
lea edx, [esi + 0x32b8]
mov ecx, edi
call fcn.1005f2e0
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x3298], 0x80
je 0x1005d2d4
movss xmm0, dword [esi + 0x32c8]
comiss xmm0, xmm1
jb 0x1005d2bb
movss dword [edi + 0x68], xmm0
mov dword [edi + 0x70], 0
movss xmm0, dword [esi + 0x32cc]
comiss xmm0, xmm1
jb 0x1005d2d4
movss dword [edi + 0x6c], xmm0
mov dword [edi + 0x74], 0
test byte [esi + 0x3298], 4
je 0x1005d2f1
mov eax, dword [esi + 0x32c0]
mov ecx, dword [esi + 0x32c4]
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], ecx
jmp 0x1005d309
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x3c]
je 0x1005d309
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
test byte [esi + 0x3298], 8
je 0x1005d328
push dword [esi + 0x32a4]
mov dl, byte [esi + 0x32d0]
mov ecx, edi
call fcn.1005f390
add esp, 4
test byte [esi + 0x3298], 0x20
je 0x1005d338
mov ecx, edi
call fcn.1005ed60
cmp byte [edi + 0x90], 0
je 0x1005d352
push 0
mov edx, 8
mov ecx, edi
call fcn.1005abc0
add esp, 4
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x3c]
je 0x1005e8c5
mov eax, dword [esp + 0x14]
lea ecx, [edi + 0xc4]
and eax, 0x3000000
mov byte [edi + 0x8a], 1
cmp dword [esp + 0x70], 0
mov dword [esp + 0x38], eax
setne al
mov byte [edi + 0x94], al
mov dword [edi + 0x1f0], 0xff7fffff
mov dword [edi + 0x1f4], 0xff7fffff
mov dword [edi + 0x1f8], 0x7f7fffff
push 1
mov dword [edi + 0x1fc], 0x7f7fffff
call fcn.10066a40
mov ecx, dword [edi + 0x244]
call fcn.1006d340
mov dword [edi + 0x174], 0xffffffff
cmp byte [edi + 0x324], 0
je 0x1005d3dc
mov ecx, edi
call fcn.10057580
cmp dword [esi + 0x34c0], 0
je 0x1005d44b
test dword [edi + 8], 0x80000
jne 0x1005d44b
cmp dword [esp + 0x48], 0
je 0x1005d44b
mov ecx, dword [edi]
mov eax, dword [esp + 0x60]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005d420
test dl, dl
je 0x1005d41c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005d420
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005d400
xor eax, eax
jmp 0x1005d425
sbb eax, eax
or eax, 1
test eax, eax
je 0x1005d44b
mov eax, dword [edi + 0x4c]
lea edx, [esp + 0x1c]
push dword [esp + 0x60]
mov ecx, dword [edi]
mov dword [esp + 0x20], eax
call fcn.100552f0
mov dword [edi], eax
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x4c], eax
mov al, byte [edi + 0xad]
lea edx, [edi + 0x24]
mov byte [esp + 0x27], al
mov ecx, edi
lea eax, [edi + 0x2c]
push eax
call fcn.1005b220
mov al, byte [edi + 0xac]
add esp, 4
test al, al
jle 0x1005d478
dec al
mov byte [edi + 0xac], al
mov al, byte [edi + 0xad]
test al, al
jle 0x1005d48a
dec al
mov byte [edi + 0xad], al
mov al, byte [edi + 0xae]
test al, al
jle 0x1005d49c
dec al
mov byte [edi + 0xae], al
cmp dword [esp + 0x48], 0
mov cl, byte [esp + 0x1a]
mov dl, byte [esp + 0x13]
jne 0x1005d4ba
test cl, cl
je 0x1005d4b3
test dl, dl
jne 0x1005d4ba
mov byte [edi + 0xad], 1
cmp byte [esp + 0x40], 0
je 0x1005d517
mov eax, dword [esp + 0x14]
test eax, 0x6000000
je 0x1005d517
mov byte [edi + 0xad], 1
test al, 0x40
je 0x1005d517
test cl, cl
jne 0x1005d4e9
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test dl, dl
jne 0x1005d4fb
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov ecx, edi
call fcn.100573b0
mov edx, dword [esp + 0x14]
mov eax, edx
and eax, 0x1000000
mov dword [esp + 0x1c], eax
je 0x1005d53a
mov eax, dword [esi + 0x2b68]
mov dword [edi + 0x48], eax
jmp 0x1005d561
test edx, 0x6000000
je 0x1005d554
test edx, 0x8000000
jne 0x1005d554
movss xmm0, dword [esi + 0x2b70]
jmp 0x1005d55c
movss xmm0, dword [esi + 0x2b4c]
movss dword [edi + 0x48], xmm0
cmp dword [esp + 0x1c], 0
mov eax, dword [esi + 0x2b40]
mov ecx, dword [esi + 0x2b44]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
je 0x1005d5b4
test edx, 0x4010000
jne 0x1005d5b4
movss xmm0, dword [edi + 0x48]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1005d5b4
test edx, 0x400
je 0x1005d5a5
movss xmm0, dword [esi + 0x2b44]
jmp 0x1005d5a8
xorps xmm0, xmm0
mov dword [edi + 0x3c], 0
movss dword [edi + 0x40], xmm0
movss xmm0, dword [esi + 0x2b84]
maxss xmm0, dword [edi + 0x3c]
maxss xmm0, dword [esi + 0x32f0]
movss dword [edi + 0x134], xmm0
mov eax, dword [esi + 0x32f4]
mov dword [edi + 0x138], eax
test dl, 0x21
jne 0x1005d6bb
test byte [edi + 8], 1
mov ecx, dword [0x10335910]
je 0x1005d5f7
xorps xmm2, xmm2
jmp 0x1005d629
movss xmm0, dword [ecx + 0x2f58]
mov eax, dword [edi + 0x2d8]
mulss xmm0, dword [edi + 0x23c]
test eax, eax
je 0x1005d619
mulss xmm0, dword [eax + 0x23c]
movss xmm2, dword [ecx + 0x2b78]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [edi + 0xc]
movaps xmm1, xmm0
movss dword [esp + 0x50], xmm0
addss xmm1, dword [edi + 0x1c]
addss xmm2, dword [edi + 0x10]
movss xmm0, dword [edi + 0x10]
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x5c], xmm2
cmp dword [esi + 0x31bc], edi
jne 0x1005d699
cmp dword [esi + 0x31dc], 0
jne 0x1005d699
cmp dword [esi + 0x31e0], 0
jne 0x1005d699
push 1
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x54]
call fcn.1005f5b0
add esp, 4
test al, al
je 0x1005d699
cmp word [esi + 0x2a22], 2
jne 0x1005d699
mov byte [edi + 0x8e], 1
cmp byte [edi + 0x8e], 0
je 0x1005d6c2
cmp byte [edi + 0x8d], 0
mov ecx, edi
sete al
mov byte [edi + 0x8d], al
call fcn.10065260
jmp 0x1005d6c2
mov byte [edi + 0x8d], 0
lea eax, [edi + 0x2c]
mov byte [edi + 0x8e], 0
push eax
mov edx, edi
lea ecx, [esp + 0x6c]
call fcn.1005b350
mov al, byte [esp + 0x15]
add esp, 4
test byte [esp + 0x14], 0x40
mov byte [esp + 0x12], al
je 0x1005d72a
cmp byte [edi + 0x8d], 0
jne 0x1005d72a
cmp byte [esp + 0x1a], 0
jne 0x1005d70a
movss xmm0, dword [esp + 0x68]
movss dword [edi + 0x1c], xmm0
mov byte [esp + 0x11], 1
cmp byte [esp + 0x13], 0
jne 0x1005d7b4
movss xmm0, dword [esp + 0x6c]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0x12], 1
jmp 0x1005d7b4
mov al, byte [edi + 0xa4]
test al, al
jg 0x1005d73d
cmp byte [edi + 0xa5], 0
jle 0x1005d7b4
cmp byte [esp + 0x1a], 0
jne 0x1005d76e
test al, al
jle 0x1005d76e
cmp byte [edi + 0xa7], 0
je 0x1005d75e
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [esp + 0x68]
jmp 0x1005d764
movss xmm0, dword [esp + 0x68]
movss dword [edi + 0x1c], xmm0
mov byte [esp + 0x11], 1
cmp byte [esp + 0x13], 0
jne 0x1005d7a4
cmp byte [edi + 0xa5], 0
jle 0x1005d7a4
cmp byte [edi + 0xa7], 0
je 0x1005d794
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [esp + 0x6c]
jmp 0x1005d79a
movss xmm0, dword [esp + 0x6c]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0x12], 1
cmp byte [edi + 0x8d], 0
jne 0x1005d7b4
mov ecx, edi
call fcn.10065260
lea eax, [edi + 0x1c]
mov edx, edi
push eax
lea ecx, [esp + 0x8c]
call fcn.1005b010
mov edx, dword [esp + 0x18]
add esp, 4
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0x1c], xmm0
movss dword [edi + 0x20], xmm1
cmp byte [edi + 0x8d], 0
je 0x1005d85d
test edx, 0x1000000
jne 0x1005d85d
test byte [edi + 8], 1
je 0x1005d7fc
xorps xmm1, xmm1
jmp 0x1005d840
cmp dword [edi + 0x2d8], 0
mov eax, dword [0x10335910]
mov esi, dword [esp + 0x20]
movss xmm0, dword [eax + 0x2f58]
mulss xmm0, dword [edi + 0x23c]
je 0x1005d830
mov edx, dword [edi + 0x2d8]
mulss xmm0, dword [edx + 0x23c]
mov edx, dword [esp + 0x14]
movss xmm1, dword [eax + 0x2b78]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm1, dword [edi + 0x10]
movss xmm0, dword [edi + 0x1c]
movss dword [esp + 0x30], xmm0
subss xmm1, dword [edi + 0x10]
movss dword [esp + 0x34], xmm1
jmp 0x1005d86b
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x30]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov eax, dword [0x10335910]
mov dword [edi + 0x18], ecx
test byte [edi + 8], 1
je 0x1005d88a
xorps xmm2, xmm2
jmp 0x1005d8bc
movss xmm0, dword [eax + 0x2f58]
mov ecx, dword [edi + 0x2d8]
mulss xmm0, dword [edi + 0x23c]
test ecx, ecx
je 0x1005d8ac
mulss xmm0, dword [ecx + 0x23c]
movss xmm2, dword [eax + 0x2b78]
addss xmm2, xmm2
addss xmm2, xmm0
test dword [edi + 8], 0x400
je 0x1005d901
movss xmm1, dword [eax + 0x2f58]
mov ecx, dword [edi + 0x2d8]
mulss xmm1, dword [edi + 0x23c]
test ecx, ecx
je 0x1005d8e7
mulss xmm1, dword [ecx + 0x23c]
movss xmm0, dword [eax + 0x2b78]
addss xmm1, dword [edi + 0x138]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x1005d904
xorps xmm1, xmm1
cmp byte [esp + 0x40], 0
addss xmm1, xmm2
movss dword [esp + 0x1c], xmm1
je 0x1005d95b
mov dword [edi + 0xa8], 0xffffffff
test edx, 0x4000000
je 0x1005d95b
test edx, 0x8000000
jne 0x1005d95b
cmp byte [esp + 0x1b], 0
jne 0x1005d95b
mov eax, dword [esi + 0x334c]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x3354]
movss xmm0, dword [eax + ecx*4 - 0x10]
movss xmm1, dword [eax + ecx*4 - 0xc]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
test edx, 0x1000000
je 0x1005d9b4
mov ecx, dword [esp + 0x28]
add ecx, 0x160
mov ax, word [ecx]
mov word [edi + 0x98], ax
lea eax, [esp + 0x2c]
push eax
call fcn.10066820
mov edx, dword [esp + 0x14]
test edx, 0x4000000
jne 0x1005d9b4
cmp byte [esp + 0x1b], 0
jne 0x1005d9b4
cmp dword [esp + 0x38], 0x3000000
je 0x1005d9b4
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0xd0]
mov ecx, dword [ecx + 0xd4]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
movss xmm1, dword [edi + 0xb4]
ucomiss xmm1, dword [0x1022c9e4]
lahf
test ah, 0x44
jnp 0x1005da1a
cmp byte [edi + 0xad], 0
jne 0x1005da1a
movss xmm0, dword [edi + 0x14]
lea edx, [esp + 0x30]
mulss xmm0, dword [edi + 0xbc]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xb8]
movss dword [esp + 0x34], xmm1
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [edi + 0xc0]
subss xmm0, xmm1
movss dword [esp + 0x38], xmm0
call fcn.1005f1c0
add esp, 4
jmp 0x1005da6c
test edx, 0x10000000
jne 0x1005da4e
mov al, byte [esp + 0x1b]
test edx, 0x4000000
je 0x1005da38
test al, al
jne 0x1005da38
cmp byte [esp + 0x27], al
jg 0x1005da4e
test edx, 0x2000000
je 0x1005da70
test al, al
jne 0x1005da70
cmp dword [esp + 0x38], 0x3000000
je 0x1005da70
mov edx, edi
lea ecx, [esp + 0x30]
call fcn.10061420
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
mov edx, dword [esp + 0x14]
call fcn.10065a60
cmp byte [esp + 0x1b], 0
movss xmm3, dword [esi + 0x2be4]
movss xmm2, dword [esi + 0x2be0]
movss xmm7, dword [eax + 0x14]
movss xmm6, dword [eax + 0x18]
addss xmm7, dword [eax + 0x1c]
addss xmm6, dword [eax + 0x20]
movss xmm0, dword [eax + 4]
movss xmm1, dword [eax + 8]
movaps xmm5, xmm0
maxss xmm3, dword [esi + 0x2bec]
maxss xmm2, dword [esi + 0x2be8]
addss xmm5, dword [eax + 0xc]
movaps xmm4, xmm1
movss dword [esp + 0x2c], xmm0
addss xmm4, dword [eax + 0x10]
subss xmm6, xmm3
movss dword [esp + 0x50], xmm0
addss xmm3, dword [eax + 0x18]
subss xmm7, xmm2
movss dword [esp + 0x64], xmm1
addss xmm2, dword [eax + 0x14]
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x58], xmm5
movss dword [esp + 0x5c], xmm4
movss dword [esp + 0x94], xmm3
movss dword [esp + 0x90], xmm2
movss dword [esp + 0x98], xmm7
movss dword [esp + 0x9c], xmm6
jne 0x1005dbe4
test edx, 0x1000000
jne 0x1005dbe4
cmp byte [edi + 0xa4], 0
jg 0x1005dbe4
cmp byte [edi + 0xa5], 0
jg 0x1005dbe4
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x1005dbe4
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x1005dbe4
mov eax, dword [0x10335910]
movss xmm1, dword [edi + 0x18]
cmp byte [eax + 0x5d], 0
je 0x1005dbaf
test byte [edi + 8], 1
jne 0x1005dbaf
movss xmm0, dword [eax + 0x2f58]
mov ecx, dword [edi + 0x2d8]
mulss xmm0, dword [edi + 0x23c]
test ecx, ecx
je 0x1005db9f
mulss xmm0, dword [ecx + 0x23c]
movss xmm1, dword [eax + 0x2b78]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x10]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x14]
comiss xmm3, xmm0
ja 0x1005dbc9
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0xc]
comiss xmm2, xmm0
ja 0x1005dbda
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [edi + 0xc], xmm2
movss dword [edi + 0x10], xmm3
cvttss2si eax, dword [edi + 0xc]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0xc], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm0
test edx, 0x1000000
je 0x1005dc18
movss xmm0, dword [esi + 0x2b64]
jmp 0x1005dc38
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1005dc30
movss xmm0, dword [esi + 0x2b6c]
jmp 0x1005dc38
movss xmm0, dword [esi + 0x2b48]
xor al, al
movss dword [edi + 0x44], xmm0
mov dword [esp + 0x2c], eax
cmp byte [esp + 0x40], al
je 0x1005dca7
test edx, 0x1000
jne 0x1005dca7
test edx, 0x4000000
je 0x1005dc60
mov byte [esp + 0x2c], 1
jmp 0x1005dc75
test edx, 0x3000000
movzx eax, al
mov ecx, 1
cmove eax, ecx
mov dword [esp + 0x2c], eax
call fcn.10060b30
test eax, eax
je 0x1005dca7
mov edx, eax
mov ecx, edi
call fcn.1005f120
test al, al
jne 0x1005dca7
mov byte [esp + 0x2c], al
cmp edi, dword [edi + 0x2e0]
jne 0x1005dca7
mov ecx, edi
call fcn.1005cd00
mov edx, eax
mov ecx, edi
call fcn.1005ec90
movss xmm1, dword [esi + 0x2f54]
xorps xmm0, xmm0
movaps xmmword [esp + 0x110], xmm0
xor eax, eax
cmp byte [esi + 0x5c], al
movaps xmm0, xmm1
mulss xmm0, dword [0x1022c688]
setne al
mov dword [esp + 0x4c], 0xffffffff
mulss xmm1, dword [0x1022c72c]
inc eax
cmp byte [edi + 0x8d], 0
addss xmm0, dword [edi + 0x44]
mov dword [esp + 0x64], eax
addss xmm0, dword [0x1022c720]
maxss xmm0, xmm1
cvttss2si esi, xmm0
jne 0x1005dd2e
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x114]
push ecx
push eax
lea eax, [esp + 0x58]
mov ecx, edi
push eax
lea edx, [esp + 0x78]
call fcn.1005b860
add esp, 0x10
test al, al
je 0x1005dd2e
mov cl, 1
mov dl, cl
jmp 0x1005dd36
mov dl, byte [esp + 0x11]
mov cl, byte [esp + 0x12]
mov al, byte [esp + 0x4c]
mov byte [edi + 0x95], al
cmp byte [edi + 0x8d], 0
jne 0x1005deae
cmp dword [esp + 0x48], 0
lea eax, [esp + 0x30]
movss xmm3, dword [edi + 0x1b8]
movss xmm4, dword [edi + 0x1bc]
subss xmm3, dword [edi + 0x1b0]
subss xmm4, dword [edi + 0x1b4]
movss xmm5, dword [edi + 0x20]
movss xmm6, dword [edi + 0x1c]
subss xmm5, dword [esp + 0x1c]
addss xmm3, dword [edi + 0x80]
addss xmm4, dword [edi + 0x84]
jne 0x1005ddaa
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
jmp 0x1005ddd2
movss xmm0, dword [edi + 0x3c]
movss xmm1, dword [edi + 0x40]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edi + 0x24]
addss xmm1, dword [edi + 0x28]
movss dword [esp + 0x30], xmm0
movss dword [esp + 0x34], xmm1
movss xmm7, dword [eax]
movss xmm1, dword [eax + 4]
test dl, dl
jne 0x1005dde2
movaps xmm6, xmm3
test cl, cl
jne 0x1005dde9
movaps xmm5, xmm4
mov edx, dword [esp + 0x14]
test edx, 0x4000
jne 0x1005de03
comiss xmm1, xmm5
jbe 0x1005ddff
test dl, 8
je 0x1005de03
xor al, al
jmp 0x1005de05
mov al, 1
mov byte [edi + 0x89], al
test edx, 0x8000
jne 0x1005de48
test al, al
je 0x1005de25
mov eax, dword [esp + 0x20]
movss xmm0, dword [eax + 0x2bac]
jmp 0x1005de28
xorps xmm0, xmm0
subss xmm6, xmm0
comiss xmm7, xmm6
jbe 0x1005de3f
mov eax, edx
and eax, 0x808
cmp eax, 0x800
je 0x1005de48
mov byte [edi + 0x88], 0
jmp 0x1005de6e
mov byte [edi + 0x88], 1
cmp byte [edi + 0x89], 0
jne 0x1005de6e
comiss xmm1, xmm5
jbe 0x1005de66
test dl, 8
jne 0x1005de66
mov al, 1
jmp 0x1005de68
xor al, al
mov byte [edi + 0x89], al
cmp byte [edi + 0x88], 0
xorps xmm0, xmm0
mov eax, dword [esp + 0x20]
je 0x1005de88
movss xmm1, dword [eax + 0x2bac]
jmp 0x1005de8b
xorps xmm1, xmm1
cmp byte [edi + 0x89], 0
je 0x1005de9c
movss xmm0, dword [eax + 0x2bac]
movss dword [edi + 0x80], xmm0
movss dword [edi + 0x84], xmm1
jmp 0x1005deb2
mov edx, dword [esp + 0x14]
mov eax, edx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1005ded5
cmp dword [esp + 0x38], 0x3000000
je 0x1005ded5
mov eax, dword [esp + 0x28]
add eax, 0x1f0
jmp 0x1005ded9
lea eax, [esp + 0x50]
test byte [edi + 8], 1
movss xmm7, dword [edi + 0xc]
movups xmm0, xmmword [eax]
movss xmm6, dword [edi + 0x10]
movaps xmm4, xmm7
addss xmm4, dword [edi + 0x14]
movaps xmm5, xmm6
movss dword [esp + 0x48], xmm7
addss xmm5, dword [edi + 0x18]
movups xmmword [esp + 0x50], xmm0
je 0x1005df0c
xorps xmm1, xmm1
jmp 0x1005df43
mov eax, dword [0x10335910]
movss xmm0, dword [edi + 0x23c]
mov ecx, dword [edi + 0x2d8]
mulss xmm0, dword [eax + 0x2f58]
test ecx, ecx
je 0x1005df33
mulss xmm0, dword [ecx + 0x23c]
movss xmm1, dword [eax + 0x2b78]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm2, dword [edi + 0x10]
addss xmm1, xmm6
movaps xmm0, xmm7
movss dword [esp + 0x74], xmm2
addss xmm0, dword [edi + 0x1c]
movss dword [esp + 0x7c], xmm2
xorps xmm3, xmm3
movss dword [esp + 0x78], xmm7
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x84], xmm1
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x80], xmm0
movss dword [edi + 0x1a0], xmm7
movss dword [edi + 0x1a4], xmm6
movss dword [edi + 0x1a8], xmm4
movss dword [edi + 0x1ac], xmm5
movss xmm4, dword [esp + 0x50]
movss xmm5, dword [esp + 0x54]
movaps xmm1, xmm4
maxss xmm1, dword [edi + 0x1a0]
movss xmm7, dword [esp + 0x58]
movaps xmm0, xmm5
maxss xmm0, dword [edi + 0x1a4]
movss xmm6, dword [esp + 0x5c]
movss xmm2, dword [esp + 0x1c]
movss dword [edi + 0x1a0], xmm1
movaps xmm1, xmm7
mov ecx, dword [esp + 0x20]
movss dword [edi + 0x1a4], xmm0
movaps xmm0, xmm6
minss xmm0, dword [edi + 0x1ac]
minss xmm1, dword [edi + 0x1a8]
movss dword [edi + 0x1ac], xmm0
movss dword [edi + 0x1a8], xmm1
mov eax, dword [edi + 0xc]
mov dword [edi + 0x1b0], eax
mov eax, edx
addss xmm2, dword [edi + 0x10]
and eax, 0x401
movss dword [edi + 0x1b4], xmm2
movss xmm0, dword [edi + 0x14]
addss xmm0, dword [edi + 0xc]
subss xmm0, dword [edi + 0x80]
movss dword [edi + 0x1b8], xmm0
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x10]
subss xmm0, dword [edi + 0x84]
movss dword [edi + 0x1bc], xmm0
cmp eax, 1
jne 0x1005e075
movss xmm1, dword [edi + 0x48]
jmp 0x1005e07d
movss xmm1, dword [ecx + 0x2b80]
movss xmm0, dword [edi + 0x3c]
movss xmm2, dword [0x1022c6cc]
mulss xmm0, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
maxss xmm0, dword [edi + 0x48]
addss xmm0, dword [edi + 0x1b0]
addss xmm0, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [edi + 0x1c0], xmm0
movss xmm0, dword [edi + 0x1b4]
addss xmm0, xmm2
addss xmm0, xmm1
cvttss2si eax, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [edi + 0x1c4], xmm0
movss xmm0, dword [edi + 0x3c]
movss xmm1, dword [edi + 0x1b8]
mulss xmm0, xmm2
addss xmm1, xmm2
cvttss2si eax, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
maxss xmm0, dword [edi + 0x48]
subss xmm1, xmm0
xorps xmm0, xmm0
cvttss2si eax, xmm1
cvtsi2ss xmm0, eax
movss dword [edi + 0x1c8], xmm0
movss xmm0, dword [edi + 0x1bc]
addss xmm0, xmm2
subss xmm0, dword [edi + 0x48]
cvttss2si eax, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
movss dword [edi + 0x1cc], xmm0
movss xmm0, dword [edi + 0x1c4]
comiss xmm5, xmm0
jbe 0x1005e152
movaps xmm1, xmm5
jmp 0x1005e159
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm2, dword [edi + 0x1c0]
comiss xmm4, xmm2
jbe 0x1005e16b
movaps xmm0, xmm4
jmp 0x1005e172
movaps xmm0, xmm7
minss xmm0, xmm2
movss dword [edi + 0x1c0], xmm0
movss dword [edi + 0x1c4], xmm1
movss xmm0, dword [edi + 0x1cc]
comiss xmm5, xmm0
ja 0x1005e196
movaps xmm5, xmm6
minss xmm5, xmm0
movss xmm0, dword [edi + 0x1c8]
comiss xmm4, xmm0
ja 0x1005e1aa
movaps xmm4, xmm7
minss xmm4, xmm0
movss dword [edi + 0x1c8], xmm4
movss dword [edi + 0x1cc], xmm5
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm3
jbe 0x1005e1d6
test edx, 0x2000040
jne 0x1005e1d6
mulss xmm0, dword [0x1022c6dc]
jmp 0x1005e1e6
movss xmm0, dword [ecx + 0x2f54]
mulss xmm0, dword [0x1022c7f0]
cvttss2si eax, xmm0
mov edx, edi
lea ecx, [esp + 0x108]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x220], xmm0
movss xmm1, dword [edi + 0x3c]
movss xmm0, dword [edi + 0x1b8]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1b0]
addss xmm1, dword [edi + 0x24]
subss xmm1, xmm0
maxss xmm1, xmm3
movss dword [edi + 0x60], xmm1
movss xmm1, dword [edi + 0x40]
movss xmm0, dword [edi + 0x1bc]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1b4]
addss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
maxss xmm1, xmm3
movss dword [edi + 0x64], xmm1
call fcn.100602b0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x20]
movss dword [edi + 0x58], xmm0
movss dword [edi + 0x5c], xmm1
mov dword [edi + 0x68], 0x7f7fffff
mov dword [edi + 0x6c], 0x7f7fffff
mov eax, dword [eax + 0x2f50]
mov ecx, dword [edi + 0x244]
mov eax, dword [eax + 0x30]
push dword [eax + 4]
call fcn.1006d950
push 0
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x54]
call fcn.100599f0
mov eax, dword [esp + 0x18]
add esp, 4
mov byte [esp + 0x11], 0
test eax, 0x1000000
je 0x1005e37c
test eax, 0x4000000
jne 0x1005e37c
cmp dword [esp + 0x38], 0x3000000
je 0x1005e37c
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x160]
cmp ecx, 2
jl 0x1005e340
mov eax, dword [eax + 0x168]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x1005e340
movss xmm5, dword [eax + 0x10]
movss xmm7, dword [eax + 0xc]
movaps xmm0, xmm5
addss xmm0, dword [eax + 0x18]
movss xmm6, dword [edi + 0xc]
movaps xmm3, xmm7
movss xmm2, dword [edi + 0x10]
movaps xmm4, xmm6
addss xmm3, dword [eax + 0x14]
addss xmm4, dword [edi + 0x14]
comiss xmm0, dword [edi + 0x10]
addss xmm2, dword [edi + 0x18]
jbe 0x1005e340
comiss xmm2, xmm5
jbe 0x1005e340
comiss xmm3, xmm6
jbe 0x1005e340
comiss xmm4, xmm7
mov byte [esp + 0x12], 1
ja 0x1005e345
mov byte [esp + 0x12], 0
mov edx, dword [edi + 0x244]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x1005e37c
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x244]
cmp dword [eax + 0x18], 0
jle 0x1005e37c
cmp byte [esp + 0x12], 0
jne 0x1005e37c
mov byte [esp + 0x11], 1
mov dword [edi + 0x244], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x34b8]
test ecx, ecx
jne 0x1005e390
mov ecx, dword [eax + 0x3368]
cmp byte [esp + 0x2c], 0
jne 0x1005e3b0
test ecx, ecx
je 0x1005e3a9
mov eax, dword [edi + 0x2e8]
cmp eax, dword [ecx + 0x2e8]
je 0x1005e3b0
mov byte [esp + 0x38], 0
jmp 0x1005e3b5
mov byte [esp + 0x38], 1
movd xmm0, esi
lea eax, [esp + 0x110]
cvtdq2ps xmm0, xmm0
push ecx
lea edx, [esp + 0x7c]
mov ecx, edi
movss dword [esp], xmm0
push eax
push dword [esp + 0x6c]
push dword [esp + 0x44]
call fcn.1005c390
add esp, 0x10
cmp byte [esp + 0x11], 0
je 0x1005e3f3
lea eax, [edi + 0x248]
mov dword [edi + 0x244], eax
mov ecx, dword [esp + 0x14]
xorps xmm4, xmm4
movss xmm3, dword [edi + 0x34]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x1005e448
movss xmm0, dword [edi + 0x3c]
mov eax, ecx
movss xmm3, dword [edi + 0x14]
addss xmm0, xmm0
and eax, 0x808
subss xmm3, xmm0
subss xmm3, dword [edi + 0x80]
cmp eax, 0x800
jne 0x1005e441
movss xmm0, dword [edi + 0x24]
jmp 0x1005e444
xorps xmm0, xmm0
maxss xmm3, xmm0
movss xmm2, dword [edi + 0x38]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x1005e488
movss xmm0, dword [edi + 0x40]
movss xmm2, dword [edi + 0x18]
addss xmm0, xmm0
subss xmm2, xmm0
subss xmm2, dword [esp + 0x1c]
subss xmm2, dword [edi + 0x84]
test dl, dl
je 0x1005e481
movss xmm0, dword [edi + 0x28]
jmp 0x1005e484
xorps xmm0, xmm0
maxss xmm2, xmm0
movss xmm1, dword [edi + 0x48]
maxss xmm1, dword [edi + 0x3c]
movss xmm0, dword [edi + 0x1b0]
subss xmm0, dword [edi + 0x58]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1d0], xmm0
movss xmm1, dword [edi + 0x48]
movss xmm0, dword [edi + 0x1b4]
subss xmm0, dword [edi + 0x5c]
maxss xmm1, dword [edi + 0x40]
addss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x1c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1d4], xmm0
addss xmm3, dword [edi + 0x1d0]
movss dword [edi + 0x1d8], xmm3
addss xmm2, dword [edi + 0x1d4]
movss dword [edi + 0x1dc], xmm2
movups xmm0, xmmword [edi + 0x1d0]
movups xmmword [edi + 0x1e0], xmm0
movss xmm0, dword [edi + 0xc]
subss xmm0, dword [edi + 0x58]
addss xmm0, dword [edi + 0x3c]
movss dword [edi + 0x200], xmm0
movss xmm0, dword [edi + 0x10]
subss xmm0, dword [edi + 0x5c]
addss xmm0, dword [edi + 0x40]
addss xmm0, xmm1
movss dword [edi + 0x204], xmm0
movss xmm2, dword [edi + 0x34]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x1005e572
movss xmm0, dword [edi + 0x3c]
movss xmm2, dword [edi + 0x14]
addss xmm0, xmm0
subss xmm2, xmm0
subss xmm2, dword [edi + 0x80]
addss xmm2, dword [edi + 0x200]
movss dword [edi + 0x208], xmm2
movss xmm2, dword [edi + 0x38]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x1005e5ae
movss xmm0, dword [edi + 0x40]
movss xmm2, dword [edi + 0x18]
addss xmm0, xmm0
subss xmm2, xmm0
subss xmm2, xmm1
subss xmm2, dword [edi + 0x84]
addss xmm2, dword [edi + 0x204]
mov esi, dword [esp + 0x20]
push dword [esp + 0x40]
movss dword [edi + 0x20c], xmm2
movss xmm0, dword [edi + 0x3c]
subss xmm0, dword [edi + 0x58]
movss dword [edi + 0x110], xmm0
mov dword [edi + 0x118], 0
mov dword [edi + 0x114], 0
movss xmm3, dword [edi + 0x3c]
movss xmm0, dword [edi + 0xc]
movss xmm2, dword [edi + 0x40]
cvtps2pd xmm0, xmm0
cvtps2pd xmm3, xmm3
cvtps2pd xmm2, xmm2
addsd xmm3, xmm0
movss xmm0, dword [edi + 0x58]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0x10]
cvtps2pd xmm0, xmm0
addsd xmm2, xmm0
movss xmm0, dword [edi + 0x5c]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtps2pd xmm0, xmm1
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [edi + 0xe0], xmm0
movss dword [edi + 0xe4], xmm1
movss xmm0, dword [edi + 0xe0]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0xe4]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [edi + 0x11c], xmm1
cvtpd2ps xmm0, xmm2
movss dword [edi + 0x120], xmm0
movss xmm0, dword [edi + 0xe0]
movss xmm1, dword [edi + 0xe4]
movss dword [edi + 0xd0], xmm0
movss dword [edi + 0xd4], xmm1
movss dword [edi + 0xd8], xmm0
movss dword [edi + 0xdc], xmm1
mov eax, dword [edi + 0xe0]
mov ecx, dword [edi + 0xe4]
mov dword [edi + 0xe8], eax
mov dword [edi + 0xec], ecx
mov eax, dword [edi + 0xe0]
mov ecx, dword [edi + 0xe4]
mov dword [edi + 0xf0], eax
mov dword [edi + 0xf4], ecx
lea ecx, [edi + 0x13c]
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0x10c], 0
mov dword [edi + 0x108], 0
mov dword [edi + 0x124], 0
mov ax, word [edi + 0x12a]
mov word [edi + 0x128], ax
xor eax, eax
mov word [edi + 0x12a], ax
mov byte [edi + 0x130], al
movss xmm0, dword [edi + 0x64]
comiss xmm0, xmm4
seta al
mov byte [edi + 0x131], al
mov byte [edi + 0x132], 0
movss xmm1, dword [esi + 0x2b84]
call fcn.10087df0
push ecx
mov dword [edi + 0x158], 0
lea ecx, [edi + 0x160]
mov dword [edi + 0x15c], 0
call fcn.100669c0
lea eax, [edi + 0x224]
mov dword [edi + 0x16c], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0x170], 0
mov dword [edi + 0x178], 1
test eax, eax
je 0x1005e7bf
mov eax, dword [eax + 0x178]
jmp 0x1005e7c4
mov eax, 1
mov dword [edi + 0x17c], eax
mov eax, dword [edi + 0x220]
push ecx
mov dword [edi + 0x180], eax
lea ecx, [edi + 0x188]
mov dword [edi + 0x184], 0xbf800000
call fcn.100669c0
push ecx
lea ecx, [edi + 0x194]
call fcn.100669c0
mov al, byte [edi + 0xa4]
test al, al
jle 0x1005e80a
dec al
mov byte [edi + 0xa4], al
mov al, byte [edi + 0xa5]
test al, al
jle 0x1005e81c
dec al
mov byte [edi + 0xa5], al
cmp byte [esp + 0x2c], 0
je 0x1005e833
mov ecx, edi
call fcn.1005ed60
xor dl, dl
mov ecx, edi
call fcn.100623f0
test byte [esp + 0x14], 1
jne 0x1005e88d
movss xmm1, dword [esp + 0x48]
lea edx, [esp + 0x50]
addss xmm1, dword [edi + 0x48]
push dword [esp + 0x70]
movss xmm0, dword [esp + 0x34]
mov ecx, edi
push dword [esp + 0x64]
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x58], xmm1
movss xmm1, dword [esp + 0x7c]
movss dword [esp + 0x5c], xmm1
movss xmm1, dword [esp + 0x90]
subss xmm1, dword [edi + 0x48]
movss dword [esp + 0x60], xmm1
call fcn.1005c870
add esp, 8
xor eax, eax
lea edx, [esp + 0x80]
mov dword [edi + 0x210], eax
lea eax, [esp + 0x78]
push eax
push ecx
push 0
mov ecx, eax
call fcn.1005f5b0
mov edx, dword [esi + 0x3244]
add esp, 8
mov ecx, dword [edi + 0x50]
movzx eax, al
push eax
call fcn.10057a20
add esp, 8
jmp 0x1005e8cc
mov ecx, edi
call fcn.100573b0
mov eax, dword [esp + 0x14]
and eax, 0x1000000
mov dword [esp + 0x30], eax
je 0x1005e8e7
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x12c]
jmp 0x1005e8f4
push ecx
push str.FOCUSSCOPE
mov ecx, edi
call fcn.100571d0
push 1
lea edx, [edi + 0x1c8]
mov dword [edi + 0x12c], eax
lea ecx, [edi + 0x1c0]
call fcn.100599f0
mov eax, dword [esp + 0x48]
add esp, 4
mov byte [edi + 0x8c], 0
inc word [edi + 0x96]
mov dword [esi + 0x3298], 0
cmp eax, dword [esp + 0x3c]
je 0x1005ea8f
cmp dword [esp + 0x30], 0
je 0x1005e9f9
mov eax, dword [esp + 0x14]
test al, 0x40
jne 0x1005e9bf
cmp byte [edi + 0xa4], 0
jg 0x1005e9bf
cmp byte [edi + 0xa5], 0
jg 0x1005e9bf
test eax, 0x800000
je 0x1005e987
cmp byte [esi + 0x33a8], 0
je 0x1005e987
mov eax, dword [esi + 0x3368]
test eax, eax
je 0x1005e987
mov eax, dword [eax + 0x2ec]
cmp eax, dword [edi + 0x2ec]
jne 0x1005e987
mov al, 1
jmp 0x1005e989
xor al, al
cmp byte [esi + 0x45c8], 0
jne 0x1005e9bf
test al, al
jne 0x1005e9bf
movss xmm0, dword [edi + 0x1a0]
comiss xmm0, dword [edi + 0x1a8]
jae 0x1005e9b8
movss xmm0, dword [edi + 0x1a4]
comiss xmm0, dword [edi + 0x1ac]
jb 0x1005e9bf
mov byte [edi + 0xac], 1
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1005e9f9
cmp byte [eax + 0x8d], 0
jne 0x1005e9d9
cmp byte [eax + 0xac], 0
jle 0x1005e9e0
mov byte [edi + 0xac], 1
cmp byte [eax + 0x8d], 0
jne 0x1005e9f2
cmp byte [eax + 0xad], 0
jle 0x1005e9f9
mov byte [edi + 0xad], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x2b38]
jb 0x1005ea0c
mov byte [edi + 0xac], 1
cmp byte [edi + 0xac], 0
jg 0x1005ea2c
cmp byte [edi + 0xad], 0
jg 0x1005ea2c
xor cl, cl
cmp byte [edi + 0xae], cl
jg 0x1005ea2e
xor al, al
jmp 0x1005ea30
mov cl, 1
mov al, 1
mov byte [edi + 0x91], al
mov al, byte [edi + 0xaf]
test al, al
jle 0x1005ea4f
dec al
mov byte [edi + 0xaf], al
or dword [edi + 8], 0xc0200
xor al, al
cmp byte [edi + 0x8d], al
jne 0x1005ea65
cmp byte [edi + 0x8a], al
je 0x1005ea65
test cl, cl
je 0x1005ea89
cmp byte [edi + 0xa4], 0
jg 0x1005ea89
cmp byte [edi + 0xa5], 0
jg 0x1005ea89
cmp byte [edi + 0xad], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0x8f], al
cmp byte [edi + 0x8f], 0
mov ecx, dword [esp + 0x12c]
pop edi
sete al
pop esi
xor ecx, esp
call fcn.1014ba4f
mov esp, ebp
pop ebp
ret