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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
mov eax, dword [0x10249010]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x1039eb90]
push edi
mov dword [esp + 0x7c], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], esi
call fcn.1005a9c0
test eax, eax
mov dword [esp + 0x6c], eax
mov edi, eax
sete cl
mov dword [esp + 0x28], edi
mov byte [esp + 0xf], cl
test eax, eax
jne 0x1005cb76
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x60]
call fcn.1005ab30
mov edi, eax
mov dword [esp + 0x28], edi
jmp 0x1005cb86
push dword [esp + 0x18]
mov dl, cl
mov ecx, edi
call fcn.1005aa50
add esp, 4
mov edx, dword [esp + 0x18]
mov eax, edx
and eax, 0xc0200
mov ecx, edx
or ecx, 6
cmp eax, 0xc0200
mov eax, dword [edi + 0x218]
cmovne ecx, edx
mov dword [esp + 0x40], eax
cmp dword [esi + 0x3194], 0
mov edx, dword [esi + 0x3158]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x44], edx
jne 0x1005cbcc
cmp byte [esi + 0x3165], 0
je 0x1005cbcc
mov al, 1
jmp 0x1005cbce
xor al, al
mov byte [edi + 0x92], al
lea eax, [edx - 1]
cmp dword [edi + 0x218], eax
setl al
mov byte [esp + 0x3c], al
test ecx, 0x4000000
je 0x1005cc22
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 + 0x3c]
or al, cl
mov byte [esp + 0x3c], al
mov byte [edi + 0x90], al
test al, al
je 0x1005cc3d
push 1
mov edx, 8
mov ecx, edi
call fcn.1005a930
add esp, 4
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x40], eax
je 0x1005cc87
mov edx, dword [esp + 0x14]
mov dword [edi + 8], edx
mov dword [edi + 0x218], eax
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 0x1005cc8e
mov edx, dword [edi + 8]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3194]
test eax, eax
jne 0x1005cc9c
xor ecx, ecx
jmp 0x1005cca9
imul ecx, eax, 0x54
mov eax, dword [esi + 0x319c]
mov ecx, dword [eax + ecx - 0x54]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], ecx
cmp eax, dword [esp + 0x44]
je 0x1005ccc6
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x1005cccc
mov eax, dword [edi + 0x2d8]
cmp dword [edi + 0xc4], 0
lea ecx, [edi + 0xc4]
mov dword [esp + 0x24], eax
jne 0x1005cce8
lea eax, [edi + 4]
push eax
call fcn.10066650
push 0x3c
lea eax, [esp + 0xb8]
mov dword [esi + 0x31b8], edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x3294]
lea ecx, [esp + 0xfc]
xorps xmm0, xmm0
mov word [esp + 0x10c], 0
movups xmmword [esp + 0xfc], xmm0
add esp, 0xc
mov dword [esp + 0xb0], edi
movups xmm0, xmmword [esi + 0x325c]
mov dword [esp + 0xec], eax
movups xmmword [esp + 0xb4], xmm0
movups xmm0, xmmword [esi + 0x326c]
movups xmmword [esp + 0xc4], xmm0
movups xmm0, xmmword [esi + 0x327c]
movups xmmword [esp + 0xd4], xmm0
movq xmm0, qword [esi + 0x328c]
movq qword [esp + 0xe4], xmm0
call fcn.1005f6a0
mov ecx, dword [esi + 0x3194]
mov eax, dword [esi + 0x3198]
cmp ecx, eax
jne 0x1005cdf8
inc ecx
test eax, eax
je 0x1005cd99
cdq
sub eax, edx
mov edx, dword [esi + 0x3198]
sar eax, 1
add eax, edx
jmp 0x1005cda4
mov edx, dword [esi + 0x3198]
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov dword [esp + 0x64], ecx
cmp ecx, edx
jle 0x1005cdf8
imul ecx, ecx, 0x54
call fcn.10057800
mov edx, dword [esi + 0x319c]
mov dword [esp + 0x68], eax
test edx, edx
je 0x1005cde8
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.10057820
mov eax, dword [esp + 0x68]
mov dword [esi + 0x319c], eax
mov eax, dword [esp + 0x64]
mov dword [esi + 0x3198], eax
imul eax, dword [esi + 0x3194], 0x54
mov ecx, dword [esi + 0x319c]
movups xmm0, xmmword [esp + 0xb0]
add ecx, eax
mov eax, dword [esp + 0x100]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esp + 0xc0]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [esp + 0xd0]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [esp + 0xe0]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [esp + 0xf0]
movups xmmword [ecx + 0x40], xmm0
mov dword [ecx + 0x50], eax
mov eax, dword [esp + 0x14]
mov ecx, eax
inc dword [esi + 0x3194]
and ecx, 0x10000000
mov dword [esi + 0x31b8], 0
mov dword [esp + 0x4c], ecx
je 0x1005ce74
inc dword [esi + 0x3358]
mov ecx, eax
and ecx, 0x4000000
mov dword [esp + 0x38], ecx
je 0x1005ceb4
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.10066180
mov eax, dword [esi]
mov esi, dword [esp + 0x20]
mov dword [edi + 0xa0], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
cmp ecx, dword [esp + 0x44]
je 0x1005ced8
push dword [esp + 0x24]
mov edx, eax
mov ecx, edi
call fcn.1005c9d0
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [edi + 0x2dc], eax
test byte [esi + 0x3298], 1
mov byte [esp + 0x13], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x11], 0
je 0x1005cf94
movsx eax, byte [edi + 0xb0]
mov ecx, dword [esi + 0x329c]
test ecx, eax
setne byte [esp + 0x13]
test ecx, eax
je 0x1005cf83
movss xmm1, dword [esi + 0x32b4]
movss xmm0, dword [esi + 0x32b0]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x10232c68]
jbe 0x1005cf83
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 0x1005cf94
push ecx
lea edx, [esi + 0x32a8]
mov ecx, edi
call fcn.1005ef30
add esp, 4
test byte [esi + 0x3298], 2
xorps xmm1, xmm1
je 0x1005cff5
movsx eax, byte [edi + 0xb1]
lea edx, [esi + 0x32b8]
mov ecx, dword [esi + 0x32a0]
and eax, ecx
je 0x1005cfc7
movss xmm0, dword [edx]
comiss xmm0, xmm1
jbe 0x1005cfc7
mov byte [esp + 0x12], 1
jmp 0x1005cfd0
mov byte [esp + 0x12], 0
test eax, eax
je 0x1005cfe2
movss xmm0, dword [esi + 0x32bc]
comiss xmm0, xmm1
mov byte [esp + 0x11], 1
ja 0x1005cfe7
mov byte [esp + 0x11], 0
push ecx
mov ecx, edi
call fcn.1005f050
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x3298], 0x80
je 0x1005d030
movss xmm0, dword [esi + 0x32c8]
comiss xmm0, xmm1
jb 0x1005d017
movss dword [edi + 0x68], xmm0
mov dword [edi + 0x70], 0
movss xmm0, dword [esi + 0x32cc]
comiss xmm0, xmm1
jb 0x1005d030
movss dword [edi + 0x6c], xmm0
mov dword [edi + 0x74], 0
test byte [esi + 0x3298], 4
je 0x1005d04d
mov eax, dword [esi + 0x32c0]
mov ecx, dword [esi + 0x32c4]
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], ecx
jmp 0x1005d065
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x44]
je 0x1005d065
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
test byte [esi + 0x3298], 8
je 0x1005d084
push dword [esi + 0x32a4]
mov dl, byte [esi + 0x32d0]
mov ecx, edi
call fcn.1005f100
add esp, 4
test byte [esi + 0x3298], 0x20
je 0x1005d094
mov ecx, edi
call fcn.1005ead0
cmp byte [edi + 0x90], 0
je 0x1005d0ae
push 0
mov edx, 8
mov ecx, edi
call fcn.1005a930
add esp, 4
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x44]
je 0x1005e622
mov eax, dword [esp + 0x14]
lea ecx, [edi + 0xc4]
and eax, 0x3000000
mov byte [edi + 0x8a], 1
cmp dword [esp + 0x7c], 0
mov dword [esp + 0x48], 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.10066870
mov ecx, dword [edi + 0x244]
call fcn.1006cc00
mov dword [edi + 0x174], 0xffffffff
cmp byte [edi + 0x324], 0
je 0x1005d138
mov ecx, edi
call fcn.100572d0
cmp dword [esi + 0x34c0], 0
je 0x1005d1a2
test dword [edi + 8], 0x80000
jne 0x1005d1a2
cmp dword [esp + 0x6c], 0
je 0x1005d1a2
mov ecx, dword [edi]
mov eax, dword [esp + 0x60]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005d177
test dl, dl
je 0x1005d173
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005d177
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005d157
xor eax, eax
jmp 0x1005d17c
sbb eax, eax
or eax, 1
test eax, eax
je 0x1005d1a2
mov eax, dword [edi + 0x4c]
lea edx, [esp + 0x18]
push dword [esp + 0x60]
mov ecx, dword [edi]
mov dword [esp + 0x1c], eax
call fcn.10055040
mov dword [edi], eax
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [edi + 0x4c], eax
mov al, byte [edi + 0xad]
lea edx, [edi + 0x24]
mov byte [esp + 0x1f], al
mov ecx, edi
lea eax, [edi + 0x2c]
push eax
call fcn.1005afa0
mov al, byte [edi + 0xac]
add esp, 4
test al, al
jle 0x1005d1cf
dec al
mov byte [edi + 0xac], al
mov al, byte [edi + 0xad]
test al, al
jle 0x1005d1e1
dec al
mov byte [edi + 0xad], al
mov al, byte [edi + 0xae]
test al, al
jle 0x1005d1f3
dec al
mov byte [edi + 0xae], al
cmp dword [esp + 0x6c], 0
mov cl, byte [esp + 0x12]
mov dl, byte [esp + 0x11]
jne 0x1005d211
test cl, cl
je 0x1005d20a
test dl, dl
jne 0x1005d211
mov byte [edi + 0xad], 1
cmp byte [esp + 0x3c], 0
je 0x1005d26e
mov eax, dword [esp + 0x14]
test eax, 0x6000000
je 0x1005d26e
mov byte [edi + 0xad], 1
test al, 0x40
je 0x1005d26e
test cl, cl
jne 0x1005d240
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test dl, dl
jne 0x1005d252
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.10057100
mov edx, dword [esp + 0x14]
mov eax, edx
and eax, 0x1000000
mov dword [esp + 0x2c], eax
je 0x1005d291
mov eax, dword [esi + 0x2b68]
mov dword [edi + 0x48], eax
jmp 0x1005d2b8
test edx, 0x6000000
je 0x1005d2ab
test edx, 0x8000000
jne 0x1005d2ab
movss xmm0, dword [esi + 0x2b70]
jmp 0x1005d2b3
movss xmm0, dword [esi + 0x2b4c]
movss dword [edi + 0x48], xmm0
cmp dword [esp + 0x2c], 0
mov eax, dword [esi + 0x2b40]
mov ecx, dword [esi + 0x2b44]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
je 0x1005d30b
test edx, 0x4010000
jne 0x1005d30b
movss xmm0, dword [edi + 0x48]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1005d30b
test edx, 0x400
je 0x1005d2fc
movss xmm0, dword [esi + 0x2b44]
jmp 0x1005d2ff
xorps xmm0, xmm0
mov dword [edi + 0x3c], 0
movss dword [edi + 0x40], xmm0
movss xmm0, dword [edi + 0x3c]
maxss xmm0, dword [esi + 0x2b84]
maxss xmm0, dword [esi + 0x32f0]
movss dword [edi + 0x134], xmm0
mov eax, dword [esi + 0x32f4]
mov dword [edi + 0x138], eax
test dl, 0x21
jne 0x1005d412
test byte [edi + 8], 1
mov ecx, dword [0x1039eb90]
je 0x1005d34e
xorps xmm2, xmm2
jmp 0x1005d380
movss xmm0, dword [ecx + 0x2f58]
mov eax, dword [edi + 0x2d8]
mulss xmm0, dword [edi + 0x23c]
test eax, eax
je 0x1005d370
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 0x1005d3f0
cmp dword [esi + 0x31dc], 0
jne 0x1005d3f0
cmp dword [esi + 0x31e0], 0
jne 0x1005d3f0
push 1
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x54]
call fcn.1005f340
add esp, 4
test al, al
je 0x1005d3f0
cmp word [esi + 0x2a22], 2
jne 0x1005d3f0
mov byte [edi + 0x8e], 1
cmp byte [edi + 0x8e], 0
je 0x1005d419
cmp byte [edi + 0x8d], 0
mov ecx, edi
sete al
mov byte [edi + 0x8d], al
call fcn.10065070
jmp 0x1005d419
mov byte [edi + 0x8d], 0
lea eax, [edi + 0x2c]
mov byte [edi + 0x8e], 0
push eax
mov edx, edi
lea ecx, [esp + 0x78]
call fcn.1005b0d0
mov al, byte [esp + 0x13]
add esp, 4
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x14]
and eax, 0x40
mov dword [esp + 0x68], eax
je 0x1005d487
cmp byte [edi + 0x8d], 0
jne 0x1005d487
cmp byte [esp + 0x12], 0
jne 0x1005d467
movss xmm0, dword [esp + 0x74]
movss dword [edi + 0x1c], xmm0
mov byte [esp + 0xf], 1
cmp byte [esp + 0x11], 0
jne 0x1005d511
movss xmm0, dword [esp + 0x78]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0x10], 1
jmp 0x1005d511
mov al, byte [edi + 0xa4]
test al, al
jg 0x1005d49a
cmp byte [edi + 0xa5], 0
jle 0x1005d511
cmp byte [esp + 0x12], 0
jne 0x1005d4cb
test al, al
jle 0x1005d4cb
cmp byte [edi + 0xa7], 0
je 0x1005d4bb
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [esp + 0x74]
jmp 0x1005d4c1
movss xmm0, dword [esp + 0x74]
movss dword [edi + 0x1c], xmm0
mov byte [esp + 0xf], 1
cmp byte [esp + 0x11], 0
jne 0x1005d501
cmp byte [edi + 0xa5], 0
jle 0x1005d501
cmp byte [edi + 0xa7], 0
je 0x1005d4f1
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [esp + 0x78]
jmp 0x1005d4f7
movss xmm0, dword [esp + 0x78]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0x10], 1
cmp byte [edi + 0x8d], 0
jne 0x1005d511
mov ecx, edi
call fcn.10065070
lea eax, [edi + 0x1c]
mov edx, edi
push eax
lea ecx, [esp + 0x9c]
call fcn.1005ad90
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 0x1005d5a8
cmp dword [esp + 0x2c], 0
jne 0x1005d5a8
test byte [edi + 8], 1
je 0x1005d554
xorps xmm1, xmm1
jmp 0x1005d58b
mov eax, dword [0x1039eb90]
mov ecx, dword [edi + 0x2d8]
movss xmm0, dword [eax + 0x2f58]
mulss xmm0, dword [edi + 0x23c]
test ecx, ecx
je 0x1005d57b
mulss xmm0, dword [ecx + 0x23c]
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 0x1005d5b6
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 [0x1039eb90]
mov dword [edi + 0x18], ecx
mov edx, dword [edi + 8]
test dl, 1
je 0x1005d5d7
xorps xmm1, xmm1
jmp 0x1005d609
movss xmm0, dword [eax + 0x2f58]
mov ecx, dword [edi + 0x2d8]
mulss xmm0, dword [edi + 0x23c]
test ecx, ecx
je 0x1005d5f9
mulss xmm0, dword [ecx + 0x23c]
movss xmm1, dword [eax + 0x2b78]
addss xmm1, xmm1
addss xmm1, xmm0
test edx, 0x400
je 0x1005d64d
movss xmm0, dword [eax + 0x2f58]
mov ecx, dword [edi + 0x2d8]
mulss xmm0, dword [edi + 0x23c]
test ecx, ecx
je 0x1005d633
mulss xmm0, dword [ecx + 0x23c]
movss xmm2, dword [eax + 0x2b78]
addss xmm0, dword [edi + 0x138]
addss xmm2, xmm2
addss xmm2, xmm0
jmp 0x1005d650
xorps xmm2, xmm2
cmp byte [esp + 0x3c], 0
addss xmm2, xmm1
movss dword [esp + 0x18], xmm2
je 0x1005d6a8
cmp dword [esp + 0x38], 0
mov dword [edi + 0xa8], 0xffffffff
je 0x1005d6a8
test dword [esp + 0x14], 0x8000000
jne 0x1005d6a8
cmp byte [esp + 0x13], 0
jne 0x1005d6a8
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
cmp dword [esp + 0x2c], 0
je 0x1005d6fb
mov ecx, dword [esp + 0x24]
add ecx, 0x160
mov ax, word [ecx]
mov word [edi + 0x98], ax
lea eax, [esp + 0x28]
push eax
call fcn.10066650
mov ecx, dword [esp + 0x38]
test ecx, ecx
jne 0x1005d6ff
cmp byte [esp + 0x13], cl
jne 0x1005d6ff
cmp dword [esp + 0x48], 0x3000000
je 0x1005d6ff
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0xd0]
mov ecx, dword [ecx + 0xd4]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 0x38]
movss xmm1, dword [edi + 0xb4]
ucomiss xmm1, dword [0x1023308c]
lahf
test ah, 0x44
jnp 0x1005d765
cmp byte [edi + 0xad], 0
jne 0x1005d765
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.1005ef30
add esp, 4
jmp 0x1005d7b6
cmp dword [esp + 0x4c], 0
jne 0x1005d798
mov al, byte [esp + 0x13]
test ecx, ecx
je 0x1005d77e
test al, al
jne 0x1005d77e
cmp byte [esp + 0x1f], al
jg 0x1005d798
mov ecx, dword [esp + 0x14]
test ecx, 0x2000000
je 0x1005d7ba
test al, al
jne 0x1005d7ba
cmp dword [esp + 0x48], 0x3000000
je 0x1005d7ba
mov edx, edi
lea ecx, [esp + 0x30]
call fcn.10061200
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
mov ecx, dword [esp + 0x14]
call fcn.10065890
cmp byte [esp + 0x13], 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 + 0x4c], 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 + 0x28], xmm1
addss xmm2, dword [eax + 0x14]
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x58], xmm5
movss dword [esp + 0x5c], xmm4
movss dword [esp + 0xa4], xmm3
movss dword [esp + 0xa0], xmm2
movss dword [esp + 0xa8], xmm7
movss dword [esp + 0xac], xmm6
jne 0x1005d92d
cmp dword [esp + 0x2c], 0
jne 0x1005d92d
cmp byte [edi + 0xa4], 0
jg 0x1005d92d
cmp byte [edi + 0xa5], 0
jg 0x1005d92d
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x1005d92d
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x1005d92d
mov eax, dword [0x1039eb90]
movss xmm1, dword [edi + 0x18]
cmp byte [eax + 0x5d], 0
je 0x1005d8f8
test byte [edi + 8], 1
jne 0x1005d8f8
movss xmm0, dword [eax + 0x2f58]
mov edx, dword [edi + 0x2d8]
mulss xmm0, dword [edi + 0x23c]
test edx, edx
je 0x1005d8e8
mulss xmm0, dword [edx + 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 0x1005d912
movaps xmm3, xmm0
minss xmm3, xmm6
movss xmm0, dword [edi + 0xc]
comiss xmm2, xmm0
ja 0x1005d923
movaps xmm2, xmm0
minss xmm2, xmm7
movss dword [edi + 0xc], xmm2
movss dword [edi + 0x10], xmm3
cmp dword [esp + 0x2c], 0
cvttss2si eax, dword [edi + 0xc]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0xc], xmm1
movss dword [edi + 0x10], xmm0
je 0x1005d960
movss xmm0, dword [esi + 0x2b64]
jmp 0x1005d980
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1005d978
movss xmm0, dword [esi + 0x2b6c]
jmp 0x1005d980
movss xmm0, dword [esi + 0x2b48]
xor al, al
movss dword [edi + 0x44], xmm0
mov dword [esp + 0x28], eax
cmp byte [esp + 0x3c], al
je 0x1005d9ed
test ecx, 0x1000
jne 0x1005d9ed
cmp dword [esp + 0x38], 0
je 0x1005d9a7
mov byte [esp + 0x28], 1
jmp 0x1005d9bb
cmp dword [esp + 0x48], 0
mov ecx, 1
movzx eax, al
cmove eax, ecx
mov dword [esp + 0x28], eax
call fcn.100608f0
test eax, eax
je 0x1005d9ed
mov edx, eax
mov ecx, edi
call fcn.1005ee90
test al, al
jne 0x1005d9ed
mov byte [esp + 0x28], al
cmp edi, dword [edi + 0x2e0]
jne 0x1005d9ed
mov ecx, edi
call fcn.1005ca70
mov edx, eax
mov ecx, edi
call fcn.1005ea00
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 [0x10232d28]
setne al
mov dword [esp + 0x64], 0xffffffff
mulss xmm1, dword [0x10232dc4]
inc eax
cmp byte [edi + 0x8d], 0
addss xmm0, dword [edi + 0x44]
mov dword [esp + 0x4c], eax
addss xmm0, dword [0x10232db8]
maxss xmm0, xmm1
cvttss2si esi, xmm0
jne 0x1005da77
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x114]
push ecx
push eax
lea eax, [esp + 0x70]
mov ecx, edi
push eax
lea edx, [esp + 0x84]
call fcn.1005b5e0
add esp, 0x10
test al, al
je 0x1005da77
mov cl, 1
mov dl, cl
jmp 0x1005da7f
mov dl, byte [esp + 0xf]
mov cl, byte [esp + 0x10]
mov al, byte [esp + 0x64]
mov byte [edi + 0x95], al
cmp byte [edi + 0x8d], 0
jne 0x1005dbf7
cmp dword [esp + 0x6c], 0
lea eax, [esp + 0x30]
movss xmm2, dword [edi + 0x1b8]
movss xmm3, dword [edi + 0x1bc]
subss xmm2, dword [edi + 0x1b0]
subss xmm3, dword [edi + 0x1b4]
movss xmm4, dword [edi + 0x20]
movss xmm5, dword [edi + 0x1c]
subss xmm4, dword [esp + 0x18]
addss xmm2, dword [edi + 0x80]
addss xmm3, dword [edi + 0x84]
jne 0x1005daf3
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
jmp 0x1005db1b
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 xmm6, dword [eax]
movss xmm1, dword [eax + 4]
test dl, dl
jne 0x1005db2b
movaps xmm5, xmm2
test cl, cl
jne 0x1005db32
movaps xmm4, xmm3
mov edx, dword [esp + 0x14]
test edx, 0x4000
jne 0x1005db4c
comiss xmm1, xmm4
jbe 0x1005db48
test dl, 8
je 0x1005db4c
xor al, al
jmp 0x1005db4e
mov al, 1
mov byte [edi + 0x89], al
test edx, 0x8000
jne 0x1005db93
mov ecx, dword [esp + 0x20]
add ecx, 0x2bac
test al, al
je 0x1005db70
movss xmm0, dword [ecx]
jmp 0x1005db73
xorps xmm0, xmm0
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x1005db8a
mov eax, edx
and eax, 0x808
cmp eax, 0x800
je 0x1005db9d
mov byte [edi + 0x88], 0
jmp 0x1005dbc3
mov eax, dword [esp + 0x20]
lea ecx, [eax + 0x2bac]
mov byte [edi + 0x88], 1
cmp byte [edi + 0x89], 0
jne 0x1005dbc3
comiss xmm1, xmm4
jbe 0x1005dbbb
test dl, 8
jne 0x1005dbbb
mov al, 1
jmp 0x1005dbbd
xor al, al
mov byte [edi + 0x89], al
cmp byte [edi + 0x88], 0
xorps xmm0, xmm0
je 0x1005dbd5
movss xmm1, dword [ecx]
jmp 0x1005dbd8
xorps xmm1, xmm1
cmp byte [edi + 0x89], 0
je 0x1005dbe5
movss xmm0, dword [ecx]
movss dword [edi + 0x80], xmm0
movss dword [edi + 0x84], xmm1
jmp 0x1005dbfb
mov edx, dword [esp + 0x14]
mov eax, edx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1005dc1e
cmp dword [esp + 0x48], 0x3000000
je 0x1005dc1e
mov eax, dword [esp + 0x24]
add eax, 0x1f0
jmp 0x1005dc22
lea eax, [esp + 0x50]
test byte [edi + 8], 1
movss xmm6, dword [edi + 0xc]
movups xmm0, xmmword [eax]
movss xmm5, dword [edi + 0x10]
movaps xmm2, xmm6
addss xmm2, dword [edi + 0x14]
movaps xmm4, xmm5
movss dword [esp + 0x80], xmm6
addss xmm4, dword [edi + 0x18]
movups xmmword [esp + 0x50], xmm0
je 0x1005dc58
xorps xmm1, xmm1
jmp 0x1005dc8f
mov eax, dword [0x1039eb90]
mov ecx, dword [edi + 0x2d8]
movss xmm0, dword [eax + 0x2f58]
mulss xmm0, dword [edi + 0x23c]
test ecx, ecx
je 0x1005dc7f
mulss xmm0, dword [ecx + 0x23c]
movss xmm1, dword [eax + 0x2b78]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm7, dword [edi + 0x10]
addss xmm1, xmm5
movaps xmm0, xmm6
movss dword [esp + 0x88], xmm6
addss xmm0, dword [edi + 0x1c]
movss dword [esp + 0x84], xmm7
xorps xmm3, xmm3
movss dword [esp + 0x8c], xmm7
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x94], xmm1
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x90], xmm0
movss dword [edi + 0x1a0], xmm6
movss dword [edi + 0x1a4], xmm5
movss dword [edi + 0x1a8], xmm2
movss dword [edi + 0x1ac], xmm4
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]
mov ecx, dword [esp + 0x20]
movss dword [edi + 0x1a0], xmm1
movaps xmm1, xmm7
movss dword [edi + 0x1a4], xmm0
movss xmm0, dword [edi + 0x1ac]
minss xmm1, dword [edi + 0x1a8]
minss xmm0, xmm6
movss dword [edi + 0x1a8], xmm1
movss dword [edi + 0x1ac], xmm0
mov eax, dword [edi + 0xc]
movss xmm0, dword [esp + 0x18]
mov dword [edi + 0x1b0], eax
mov eax, edx
addss xmm0, dword [edi + 0x10]
and eax, 0x401
movss dword [edi + 0x1b4], xmm0
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 0x1005ddcb
movss xmm1, dword [edi + 0x48]
jmp 0x1005ddd3
movss xmm1, dword [ecx + 0x2b80]
movss xmm0, dword [edi + 0x3c]
movss xmm2, dword [0x10232d64]
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 0x1005dea8
movaps xmm1, xmm5
jmp 0x1005deaf
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm2, dword [edi + 0x1c0]
comiss xmm4, xmm2
jbe 0x1005dec1
movaps xmm0, xmm4
jmp 0x1005dec8
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 0x1005deec
movaps xmm5, xmm6
minss xmm5, xmm0
movss xmm0, dword [edi + 0x1c8]
comiss xmm4, xmm0
ja 0x1005df00
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 0x1005df2c
test edx, 0x2000040
jne 0x1005df2c
mulss xmm0, dword [0x10232d74]
jmp 0x1005df3c
movss xmm0, dword [ecx + 0x2f54]
mulss xmm0, dword [0x10232e90]
cvttss2si eax, xmm0
mov edx, edi
lea ecx, [esp + 0x6c]
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.10060060
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.1006d210
push 0
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x54]
call fcn.10059760
add esp, 4
mov byte [esp + 0xf], 0
cmp dword [esp + 0x2c], 0
je 0x1005e0cb
cmp dword [esp + 0x38], 0
jne 0x1005e0cb
cmp dword [esp + 0x48], 0x3000000
je 0x1005e0cb
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x160]
cmp ecx, 2
jl 0x1005e08f
mov eax, dword [eax + 0x168]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x1005e08f
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 0x1005e08f
comiss xmm2, xmm5
jbe 0x1005e08f
comiss xmm3, xmm6
jbe 0x1005e08f
comiss xmm4, xmm7
mov byte [esp + 0x10], 1
ja 0x1005e094
mov byte [esp + 0x10], 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 0x1005e0cb
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x244]
cmp dword [eax + 0x18], 0
jle 0x1005e0cb
cmp byte [esp + 0x10], 0
jne 0x1005e0cb
mov byte [esp + 0xf], 1
mov dword [edi + 0x244], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x34b8]
test ecx, ecx
jne 0x1005e0df
mov ecx, dword [eax + 0x3368]
cmp byte [esp + 0x28], 0
jne 0x1005e0ff
test ecx, ecx
je 0x1005e0f8
mov eax, dword [edi + 0x2e8]
cmp eax, dword [ecx + 0x2e8]
je 0x1005e0ff
mov byte [esp + 0x6c], 0
jmp 0x1005e104
mov byte [esp + 0x6c], 1
movd xmm0, esi
lea eax, [esp + 0x110]
cvtdq2ps xmm0, xmm0
push ecx
lea edx, [esp + 0x8c]
mov ecx, edi
movss dword [esp], xmm0
push eax
push dword [esp + 0x54]
push dword [esp + 0x78]
call fcn.1005c110
add esp, 0x10
cmp byte [esp + 0xf], 0
je 0x1005e145
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 0x1005e19a
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 0x1005e193
movss xmm0, dword [edi + 0x24]
jmp 0x1005e196
xorps xmm0, xmm0
maxss xmm3, xmm0
movss xmm2, dword [edi + 0x38]
movss xmm5, dword [esp + 0x18]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x1005e1de
movss xmm0, dword [edi + 0x40]
movss xmm2, dword [edi + 0x18]
addss xmm0, xmm0
subss xmm2, xmm0
subss xmm2, xmm5
subss xmm2, dword [edi + 0x84]
test dl, dl
je 0x1005e1d7
movss xmm0, dword [edi + 0x28]
jmp 0x1005e1da
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
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, xmm5
movss dword [edi + 0x204], xmm0
movss xmm1, dword [edi + 0x34]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1005e2c2
movss xmm0, dword [edi + 0x3c]
movss xmm1, dword [edi + 0x14]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [edi + 0x80]
addss xmm1, dword [edi + 0x200]
movss dword [edi + 0x208], xmm1
movss xmm1, dword [edi + 0x38]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x1005e2fe
movss xmm0, dword [edi + 0x40]
movss xmm1, dword [edi + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm5
subss xmm1, dword [edi + 0x84]
addss xmm1, dword [edi + 0x204]
mov esi, dword [esp + 0x20]
push dword [esp + 0x3c]
movss dword [edi + 0x20c], xmm1
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 + 0xc]
movss xmm0, dword [edi + 0x3c]
movss xmm2, dword [edi + 0x10]
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 + 0x40]
cvtps2pd xmm0, xmm0
addsd xmm2, xmm0
movss xmm0, dword [edi + 0x5c]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtps2pd xmm0, xmm5
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.10087af0
push ecx
mov dword [edi + 0x158], 0
lea ecx, [edi + 0x160]
mov dword [edi + 0x15c], 0
call fcn.100667f0
lea eax, [edi + 0x224]
mov dword [edi + 0x16c], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0x170], 0
mov dword [edi + 0x178], 1
test eax, eax
je 0x1005e50f
mov eax, dword [eax + 0x178]
jmp 0x1005e514
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.100667f0
push ecx
lea ecx, [edi + 0x194]
call fcn.100667f0
mov al, byte [edi + 0xa4]
test al, al
jle 0x1005e55a
dec al
mov byte [edi + 0xa4], al
mov al, byte [edi + 0xa5]
test al, al
jle 0x1005e56c
dec al
mov byte [edi + 0xa5], al
cmp byte [esp + 0x28], 0
je 0x1005e583
mov ecx, edi
call fcn.1005ead0
xor dl, dl
mov ecx, edi
call fcn.10062200
test byte [esp + 0x14], 1
jne 0x1005e5e3
movss xmm1, dword [esp + 0x80]
lea edx, [esp + 0x50]
addss xmm1, dword [edi + 0x48]
push dword [esp + 0x7c]
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 + 0x8c]
movss dword [esp + 0x5c], xmm1
movss xmm1, dword [esp + 0xa0]
subss xmm1, dword [edi + 0x48]
movss dword [esp + 0x60], xmm1
call fcn.1005c5f0
add esp, 8
xor eax, eax
lea edx, [esp + 0x90]
mov dword [edi + 0x210], eax
lea eax, [esp + 0x88]
push eax
push ecx
push 0
mov ecx, eax
call fcn.1005f340
mov edx, dword [esi + 0x3244]
add esp, 8
mov ecx, dword [edi + 0x50]
movzx eax, al
push eax
call fcn.10057770
mov ecx, dword [esp + 0x34]
add esp, 8
jmp 0x1005e640
mov ecx, edi
call fcn.10057100
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 0x1000000
and eax, 0x40
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x68], eax
test ecx, ecx
je 0x1005e650
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x12c]
jmp 0x1005e65d
push ecx
push str.FOCUSSCOPE
mov ecx, edi
call fcn.10056f20
push 1
lea edx, [edi + 0x1c8]
mov dword [edi + 0x12c], eax
lea ecx, [edi + 0x1c0]
call fcn.10059760
mov eax, dword [esp + 0x44]
add esp, 4
mov byte [edi + 0x8c], 0
inc word [edi + 0x96]
mov dword [esi + 0x3298], 0
cmp eax, dword [esp + 0x44]
je 0x1005e7fa
cmp dword [esp + 0x2c], 0
je 0x1005e764
cmp dword [esp + 0x68], 0
jne 0x1005e72a
cmp byte [edi + 0xa4], 0
jg 0x1005e72a
cmp byte [edi + 0xa5], 0
jg 0x1005e72a
test dword [esp + 0x14], 0x800000
je 0x1005e6f2
cmp byte [esi + 0x33a8], 0
je 0x1005e6f2
mov eax, dword [esi + 0x3368]
test eax, eax
je 0x1005e6f2
mov eax, dword [eax + 0x2ec]
cmp eax, dword [edi + 0x2ec]
jne 0x1005e6f2
mov al, 1
jmp 0x1005e6f4
xor al, al
cmp byte [esi + 0x45c8], 0
jne 0x1005e72a
test al, al
jne 0x1005e72a
movss xmm0, dword [edi + 0x1a0]
comiss xmm0, dword [edi + 0x1a8]
jae 0x1005e723
movss xmm0, dword [edi + 0x1a4]
comiss xmm0, dword [edi + 0x1ac]
jb 0x1005e72a
mov byte [edi + 0xac], 1
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1005e764
cmp byte [eax + 0x8d], 0
jne 0x1005e744
cmp byte [eax + 0xac], 0
jle 0x1005e74b
mov byte [edi + 0xac], 1
cmp byte [eax + 0x8d], 0
jne 0x1005e75d
cmp byte [eax + 0xad], 0
jle 0x1005e764
mov byte [edi + 0xad], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x2b38]
jb 0x1005e777
mov byte [edi + 0xac], 1
cmp byte [edi + 0xac], 0
jg 0x1005e797
cmp byte [edi + 0xad], 0
jg 0x1005e797
xor cl, cl
cmp byte [edi + 0xae], cl
jg 0x1005e799
xor al, al
jmp 0x1005e79b
mov cl, 1
mov al, 1
mov byte [edi + 0x91], al
mov al, byte [edi + 0xaf]
test al, al
jle 0x1005e7ba
dec al
mov byte [edi + 0xaf], al
or dword [edi + 8], 0xc0200
xor al, al
cmp byte [edi + 0x8d], al
jne 0x1005e7d0
cmp byte [edi + 0x8a], al
je 0x1005e7d0
test cl, cl
je 0x1005e7f4
cmp byte [edi + 0xa4], 0
jg 0x1005e7f4
cmp byte [edi + 0xa5], 0
jg 0x1005e7f4
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.1015164c
mov esp, ebp
pop ebp
ret