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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x10242040]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x10335918]
push edi
mov dword [esp + 0x80], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], esi
call fcn.1005a750
test eax, eax
mov dword [esp + 0x4c], eax
mov edi, eax
sete cl
mov dword [esp + 0x30], edi
mov byte [esp + 0x17], cl
test eax, eax
jne 0x1005c90f
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x6c]
call fcn.1005a8c0
mov edi, eax
mov dword [esp + 0x30], edi
mov edx, edi
mov dword [esp + 0x20], edi
jmp 0x1005c925
push dword [esp + 0x1c]
mov dl, cl
mov ecx, edi
call fcn.1005a7e0
mov edx, edi
add esp, 4
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x1c]
mov eax, ecx
and eax, 0xc0200
cmp eax, 0xc0200
jne 0x1005c93e
or ecx, 6
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x3194], 0
mov eax, dword [esi + 0x3158]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0x218]
mov dword [esp + 0x48], eax
jne 0x1005c968
cmp byte [esi + 0x3165], 0
je 0x1005c968
mov al, 1
jmp 0x1005c96a
xor al, al
mov byte [edi + 0x92], al
mov eax, dword [esp + 0x40]
dec eax
cmp dword [edx + 0x218], eax
setl al
mov byte [esp + 0x44], al
test ecx, 0x4000000
je 0x1005c9c0
mov eax, dword [esi + 0x334c]
lea esi, [eax + eax*8]
mov eax, dword [esp + 0x24]
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 + 0x24]
setne al
or cl, al
mov al, byte [esp + 0x44]
or al, cl
mov byte [esp + 0x44], al
mov byte [edi + 0x90], al
test al, al
je 0x1005c9db
push 1
mov edx, 8
mov ecx, edi
call fcn.1005a6c0
add esp, 4
mov ecx, dword [esp + 0x40]
cmp dword [esp + 0x48], ecx
je 0x1005ca29
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [edi + 8], edx
mov dword [eax + 0x218], 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 0x1005ca30
mov edx, dword [edi + 8]
mov dword [esp + 0x1c], edx
mov eax, dword [esi + 0x3194]
test eax, eax
jne 0x1005ca3e
xor ecx, ecx
jmp 0x1005ca4b
imul ecx, eax, 0x54
mov eax, dword [esi + 0x319c]
mov ecx, dword [ecx + eax - 0x54]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], ecx
cmp eax, dword [esp + 0x40]
je 0x1005ca68
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x1005ca6e
mov eax, dword [edi + 0x2d8]
cmp dword [edi + 0xc4], 0
lea ecx, [edi + 0xc4]
mov dword [esp + 0x2c], eax
jne 0x1005ca8a
lea eax, [edi + 4]
push eax
call fcn.10066300
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.1005f410
mov ecx, dword [esi + 0x3194]
mov eax, dword [esi + 0x3198]
cmp ecx, eax
jne 0x1005cb9a
inc ecx
test eax, eax
je 0x1005cb3b
cdq
sub eax, edx
mov edx, dword [esi + 0x3198]
sar eax, 1
add eax, edx
jmp 0x1005cb46
mov edx, dword [esi + 0x3198]
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov dword [esp + 0x3c], ecx
cmp ecx, edx
jle 0x1005cb9a
imul ecx, ecx, 0x54
call fcn.100575c0
mov edx, dword [esi + 0x319c]
mov dword [esp + 0x70], eax
test edx, edx
je 0x1005cb8a
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.100575e0
mov eax, dword [esp + 0x70]
mov dword [esi + 0x319c], eax
mov eax, dword [esp + 0x3c]
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
inc dword [esi + 0x3194]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x31b8], 0
test eax, 0x10000000
je 0x1005cc0f
inc dword [esi + 0x3358]
test eax, 0x4000000
je 0x1005cc48
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.10065e30
mov eax, dword [esi]
mov esi, dword [esp + 0x24]
mov dword [edi + 0xa0], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
cmp edx, dword [esp + 0x40]
je 0x1005cc6c
push dword [esp + 0x2c]
mov edx, eax
mov ecx, edi
call fcn.1005c760
mov eax, dword [esp + 0x24]
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 + 0x19], 0
je 0x1005cd28
movsx eax, byte [edi + 0xb0]
mov ecx, dword [esi + 0x329c]
test ecx, eax
setne byte [esp + 0x1b]
test ecx, eax
je 0x1005cd17
movss xmm1, dword [esi + 0x32b4]
movss xmm0, dword [esi + 0x32b0]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x1022bec0]
jbe 0x1005cd17
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 0x1005cd28
push ecx
lea edx, [esi + 0x32a8]
mov ecx, edi
call fcn.1005ecd0
add esp, 4
test byte [esi + 0x3298], 2
xorps xmm1, xmm1
je 0x1005cd8e
movsx eax, byte [edi + 0xb1]
mov edx, dword [esi + 0x32a0]
and eax, edx
je 0x1005cd59
movss xmm0, dword [esi + 0x32b8]
comiss xmm0, xmm1
jbe 0x1005cd59
mov byte [esp + 0x1a], 1
jmp 0x1005cd63
xor cl, cl
mov byte [esp + 0x1a], cl
test eax, eax
je 0x1005cd75
movss xmm0, dword [esi + 0x32bc]
comiss xmm0, xmm1
mov byte [esp + 0x19], 1
ja 0x1005cd7a
mov byte [esp + 0x19], 0
push edx
lea edx, [esi + 0x32b8]
mov ecx, edi
call fcn.1005edf0
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x3298], 0x80
je 0x1005cdc9
movss xmm0, dword [esi + 0x32c8]
comiss xmm0, xmm1
jb 0x1005cdb0
movss dword [edi + 0x68], xmm0
mov dword [edi + 0x70], 0
movss xmm0, dword [esi + 0x32cc]
comiss xmm0, xmm1
jb 0x1005cdc9
movss dword [edi + 0x6c], xmm0
mov dword [edi + 0x74], 0
test byte [esi + 0x3298], 4
je 0x1005cde6
mov eax, dword [esi + 0x32c0]
mov ecx, dword [esi + 0x32c4]
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], ecx
jmp 0x1005cdfe
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x40]
je 0x1005cdfe
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
test byte [esi + 0x3298], 8
je 0x1005ce1d
push dword [esi + 0x32a4]
mov dl, byte [esi + 0x32d0]
mov ecx, edi
call fcn.1005eea0
add esp, 4
test byte [esi + 0x3298], 0x20
je 0x1005ce2d
mov ecx, edi
call fcn.1005e870
cmp byte [edi + 0x90], 0
je 0x1005ce47
push 0
mov edx, 8
mov ecx, edi
call fcn.1005a6c0
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x40]
je 0x1005e3d4
mov eax, dword [esp + 0x1c]
lea ecx, [edi + 0xc4]
and eax, 0x3000000
mov byte [edi + 0x8a], 1
cmp dword [esp + 0x80], 0
mov dword [esp + 0x3c], 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.10066520
mov ecx, dword [edi + 0x244]
call fcn.1006ce00
mov dword [edi + 0x174], 0xffffffff
cmp byte [edi + 0x324], 0
je 0x1005ced4
mov ecx, edi
call fcn.10057090
cmp dword [esi + 0x34c0], 0
je 0x1005cf3e
test dword [edi + 8], 0x80000
jne 0x1005cf3e
cmp dword [esp + 0x4c], 0
je 0x1005cf3e
mov ecx, dword [edi]
mov eax, dword [esp + 0x6c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005cf13
test dl, dl
je 0x1005cf0f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005cf13
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005cef3
xor eax, eax
jmp 0x1005cf18
sbb eax, eax
or eax, 1
test eax, eax
je 0x1005cf3e
mov eax, dword [edi + 0x4c]
lea edx, [esp + 0x20]
push dword [esp + 0x6c]
mov ecx, dword [edi]
mov dword [esp + 0x24], eax
call fcn.10054e00
mov dword [edi], eax
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [edi + 0x4c], eax
mov al, byte [edi + 0xad]
lea edx, [edi + 0x24]
mov byte [esp + 0x2b], al
mov ecx, edi
lea eax, [edi + 0x2c]
push eax
call fcn.1005ad20
mov al, byte [edi + 0xac]
add esp, 4
test al, al
jle 0x1005cf6b
dec al
mov byte [edi + 0xac], al
mov al, byte [edi + 0xad]
test al, al
jle 0x1005cf7d
dec al
mov byte [edi + 0xad], al
mov al, byte [edi + 0xae]
test al, al
jle 0x1005cf8f
dec al
mov byte [edi + 0xae], al
cmp dword [esp + 0x4c], 0
mov cl, byte [esp + 0x1a]
mov dl, byte [esp + 0x19]
jne 0x1005cfad
test cl, cl
je 0x1005cfa6
test dl, dl
jne 0x1005cfad
mov byte [edi + 0xad], 1
cmp byte [esp + 0x44], 0
je 0x1005d00a
mov eax, dword [esp + 0x1c]
test eax, 0x6000000
je 0x1005d00a
mov byte [edi + 0xad], 1
test al, 0x40
je 0x1005d00a
test cl, cl
jne 0x1005cfdc
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test dl, dl
jne 0x1005cfee
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.10056ec0
mov edx, dword [esp + 0x1c]
mov eax, edx
and eax, 0x1000000
mov dword [esp + 0x20], eax
je 0x1005d02d
mov eax, dword [esi + 0x2b68]
mov dword [edi + 0x48], eax
jmp 0x1005d054
test edx, 0x6000000
je 0x1005d047
test edx, 0x8000000
jne 0x1005d047
movss xmm0, dword [esi + 0x2b70]
jmp 0x1005d04f
movss xmm0, dword [esi + 0x2b4c]
movss dword [edi + 0x48], xmm0
cmp dword [esp + 0x20], 0
mov eax, dword [esi + 0x2b40]
mov ecx, dword [esi + 0x2b44]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
je 0x1005d0a7
test edx, 0x4010000
jne 0x1005d0a7
movss xmm0, dword [edi + 0x48]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1005d0a7
test edx, 0x400
je 0x1005d098
movss xmm0, dword [esi + 0x2b44]
jmp 0x1005d09b
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 0x1005d1ae
test byte [edi + 8], 1
mov ecx, dword [0x10335918]
je 0x1005d0ea
xorps xmm2, xmm2
jmp 0x1005d11c
movss xmm0, dword [ecx + 0x2f58]
mov eax, dword [edi + 0x2d8]
mulss xmm0, dword [edi + 0x23c]
test eax, eax
je 0x1005d10c
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 0x1005d18c
cmp dword [esi + 0x31dc], 0
jne 0x1005d18c
cmp dword [esi + 0x31e0], 0
jne 0x1005d18c
push 1
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x54]
call fcn.1005f0c0
add esp, 4
test al, al
je 0x1005d18c
cmp word [esi + 0x2a22], 2
jne 0x1005d18c
mov byte [edi + 0x8e], 1
cmp byte [edi + 0x8e], 0
je 0x1005d1b5
cmp byte [edi + 0x8d], 0
mov ecx, edi
sete al
mov byte [edi + 0x8d], al
call fcn.10064d50
jmp 0x1005d1b5
mov byte [edi + 0x8d], 0
lea eax, [edi + 0x2c]
mov byte [edi + 0x8e], 0
push eax
mov edx, edi
lea ecx, [esp + 0x7c]
call fcn.1005ae50
mov al, byte [esp + 0x1b]
add esp, 4
test byte [esp + 0x1c], 0x40
mov byte [esp + 0x18], al
je 0x1005d21d
cmp byte [edi + 0x8d], 0
jne 0x1005d21d
cmp byte [esp + 0x1a], 0
jne 0x1005d1fd
movss xmm0, dword [esp + 0x78]
movss dword [edi + 0x1c], xmm0
mov byte [esp + 0x17], 1
cmp byte [esp + 0x19], 0
jne 0x1005d2a7
movss xmm0, dword [esp + 0x7c]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0x18], 1
jmp 0x1005d2a7
mov al, byte [edi + 0xa4]
test al, al
jg 0x1005d230
cmp byte [edi + 0xa5], 0
jle 0x1005d2a7
cmp byte [esp + 0x1a], 0
jne 0x1005d261
test al, al
jle 0x1005d261
cmp byte [edi + 0xa7], 0
je 0x1005d251
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [esp + 0x78]
jmp 0x1005d257
movss xmm0, dword [esp + 0x78]
movss dword [edi + 0x1c], xmm0
mov byte [esp + 0x17], 1
cmp byte [esp + 0x19], 0
jne 0x1005d297
cmp byte [edi + 0xa5], 0
jle 0x1005d297
cmp byte [edi + 0xa7], 0
je 0x1005d287
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [esp + 0x7c]
jmp 0x1005d28d
movss xmm0, dword [esp + 0x7c]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0x18], 1
cmp byte [edi + 0x8d], 0
jne 0x1005d2a7
mov ecx, edi
call fcn.10064d50
lea eax, [edi + 0x1c]
mov edx, edi
push eax
lea ecx, [esp + 0x9c]
call fcn.1005ab10
mov edx, dword [esp + 0x20]
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 0x1005d350
test edx, 0x1000000
jne 0x1005d350
test byte [edi + 8], 1
je 0x1005d2ef
xorps xmm1, xmm1
jmp 0x1005d333
cmp dword [edi + 0x2d8], 0
mov eax, dword [0x10335918]
mov esi, dword [esp + 0x24]
movss xmm0, dword [eax + 0x2f58]
mulss xmm0, dword [edi + 0x23c]
je 0x1005d323
mov edx, dword [edi + 0x2d8]
mulss xmm0, dword [edx + 0x23c]
mov edx, dword [esp + 0x1c]
movss xmm1, dword [eax + 0x2b78]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm1, dword [edi + 0x10]
movss xmm0, dword [edi + 0x1c]
movss dword [esp + 0x34], xmm0
subss xmm1, dword [edi + 0x10]
movss dword [esp + 0x38], xmm1
jmp 0x1005d35e
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x34]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov eax, dword [0x10335918]
mov dword [edi + 0x18], ecx
test byte [edi + 8], 1
je 0x1005d37d
xorps xmm2, xmm2
jmp 0x1005d3af
movss xmm0, dword [eax + 0x2f58]
mov ecx, dword [edi + 0x2d8]
mulss xmm0, dword [edi + 0x23c]
test ecx, ecx
je 0x1005d39f
mulss xmm0, dword [ecx + 0x23c]
movss xmm2, dword [eax + 0x2b78]
addss xmm2, xmm2
addss xmm2, xmm0
test dword [edi + 8], 0x400
je 0x1005d3f4
movss xmm1, dword [eax + 0x2f58]
mov ecx, dword [edi + 0x2d8]
mulss xmm1, dword [edi + 0x23c]
test ecx, ecx
je 0x1005d3da
mulss xmm1, dword [ecx + 0x23c]
movss xmm0, dword [eax + 0x2b78]
addss xmm1, dword [edi + 0x138]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x1005d3f7
xorps xmm1, xmm1
cmp byte [esp + 0x44], 0
addss xmm1, xmm2
movss dword [esp + 0x20], xmm1
je 0x1005d44e
mov dword [edi + 0xa8], 0xffffffff
test edx, 0x4000000
je 0x1005d44e
test edx, 0x8000000
jne 0x1005d44e
cmp byte [esp + 0x1b], 0
jne 0x1005d44e
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 0x1005d4a7
mov ecx, dword [esp + 0x2c]
add ecx, 0x160
mov ax, word [ecx]
mov word [edi + 0x98], ax
lea eax, [esp + 0x30]
push eax
call fcn.10066300
mov edx, dword [esp + 0x1c]
test edx, 0x4000000
jne 0x1005d4a7
cmp byte [esp + 0x1b], 0
jne 0x1005d4a7
cmp dword [esp + 0x3c], 0x3000000
je 0x1005d4a7
mov ecx, dword [esp + 0x2c]
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 [0x1022c2cc]
lahf
test ah, 0x44
jnp 0x1005d50d
cmp byte [edi + 0xad], 0
jne 0x1005d50d
movss xmm0, dword [edi + 0x14]
lea edx, [esp + 0x34]
mulss xmm0, dword [edi + 0xbc]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xb8]
movss dword [esp + 0x38], xmm1
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [edi + 0xc0]
subss xmm0, xmm1
movss dword [esp + 0x3c], xmm0
call fcn.1005ecd0
add esp, 4
jmp 0x1005d55f
test edx, 0x10000000
jne 0x1005d541
mov al, byte [esp + 0x1b]
test edx, 0x4000000
je 0x1005d52b
test al, al
jne 0x1005d52b
cmp byte [esp + 0x2b], al
jg 0x1005d541
test edx, 0x2000000
je 0x1005d563
test al, al
jne 0x1005d563
cmp dword [esp + 0x3c], 0x3000000
je 0x1005d563
mov edx, edi
lea ecx, [esp + 0x34]
call fcn.10060f20
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
mov edx, dword [esp + 0x1c]
call fcn.10065540
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 + 0x30], 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 + 0x74], 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 0x1005d6db
test edx, 0x1000000
jne 0x1005d6db
cmp byte [edi + 0xa4], 0
jg 0x1005d6db
cmp byte [edi + 0xa5], 0
jg 0x1005d6db
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x1005d6db
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x1005d6db
mov eax, dword [0x10335918]
movss xmm1, dword [edi + 0x18]
cmp byte [eax + 0x5d], 0
je 0x1005d6a6
test byte [edi + 8], 1
jne 0x1005d6a6
movss xmm0, dword [eax + 0x2f58]
mov ecx, dword [edi + 0x2d8]
mulss xmm0, dword [edi + 0x23c]
test ecx, ecx
je 0x1005d696
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 0x1005d6c0
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0xc]
comiss xmm2, xmm0
ja 0x1005d6d1
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 0x1005d70f
movss xmm0, dword [esi + 0x2b64]
jmp 0x1005d72f
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1005d727
movss xmm0, dword [esi + 0x2b6c]
jmp 0x1005d72f
movss xmm0, dword [esi + 0x2b48]
xor al, al
movss dword [edi + 0x44], xmm0
mov dword [esp + 0x30], eax
cmp byte [esp + 0x44], al
je 0x1005d79e
test edx, 0x1000
jne 0x1005d79e
test edx, 0x4000000
je 0x1005d757
mov byte [esp + 0x30], 1
jmp 0x1005d76c
test edx, 0x3000000
movzx eax, al
mov ecx, 1
cmove eax, ecx
mov dword [esp + 0x30], eax
call fcn.10060640
test eax, eax
je 0x1005d79e
mov edx, eax
mov ecx, edi
call fcn.1005ec30
test al, al
jne 0x1005d79e
mov byte [esp + 0x30], al
cmp edi, dword [edi + 0x2e0]
jne 0x1005d79e
mov ecx, edi
call fcn.1005c800
mov edx, eax
mov ecx, edi
call fcn.1005e7a0
movss xmm1, dword [esi + 0x2f54]
xorps xmm0, xmm0
movaps xmmword [esp + 0x120], xmm0
xor eax, eax
cmp byte [esi + 0x5c], al
movaps xmm0, xmm1
mulss xmm0, dword [0x1022bf80]
setne al
mov dword [esp + 0x70], 0xffffffff
mulss xmm1, dword [0x1022c024]
inc eax
cmp byte [edi + 0x8d], 0
addss xmm0, dword [edi + 0x44]
mov dword [esp + 0x74], eax
addss xmm0, dword [0x1022c018]
maxss xmm0, xmm1
cvttss2si esi, xmm0
jne 0x1005d828
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [esp + 0x124]
push ecx
push eax
lea eax, [esp + 0x7c]
mov ecx, edi
push eax
lea edx, [esp + 0x88]
call fcn.1005b360
add esp, 0x10
test al, al
je 0x1005d828
mov cl, 1
mov dl, cl
jmp 0x1005d830
mov dl, byte [esp + 0x17]
mov cl, byte [esp + 0x18]
mov al, byte [esp + 0x70]
mov byte [edi + 0x95], al
cmp byte [edi + 0x8d], 0
jne 0x1005d9a8
cmp dword [esp + 0x4c], 0
lea eax, [esp + 0x34]
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 + 0x20]
addss xmm3, dword [edi + 0x80]
addss xmm4, dword [edi + 0x84]
jne 0x1005d8a4
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
jmp 0x1005d8cc
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 + 0x34], xmm0
movss dword [esp + 0x38], xmm1
movss xmm7, dword [eax]
movss xmm1, dword [eax + 4]
test dl, dl
jne 0x1005d8dc
movaps xmm6, xmm3
test cl, cl
jne 0x1005d8e3
movaps xmm5, xmm4
mov edx, dword [esp + 0x1c]
test edx, 0x4000
jne 0x1005d8fd
comiss xmm1, xmm5
jbe 0x1005d8f9
test dl, 8
je 0x1005d8fd
xor al, al
jmp 0x1005d8ff
mov al, 1
mov byte [edi + 0x89], al
test edx, 0x8000
jne 0x1005d942
test al, al
je 0x1005d91f
mov eax, dword [esp + 0x24]
movss xmm0, dword [eax + 0x2bac]
jmp 0x1005d922
xorps xmm0, xmm0
subss xmm6, xmm0
comiss xmm7, xmm6
jbe 0x1005d939
mov eax, edx
and eax, 0x808
cmp eax, 0x800
je 0x1005d942
mov byte [edi + 0x88], 0
jmp 0x1005d968
mov byte [edi + 0x88], 1
cmp byte [edi + 0x89], 0
jne 0x1005d968
comiss xmm1, xmm5
jbe 0x1005d960
test dl, 8
jne 0x1005d960
mov al, 1
jmp 0x1005d962
xor al, al
mov byte [edi + 0x89], al
cmp byte [edi + 0x88], 0
xorps xmm0, xmm0
mov eax, dword [esp + 0x24]
je 0x1005d982
movss xmm1, dword [eax + 0x2bac]
jmp 0x1005d985
xorps xmm1, xmm1
cmp byte [edi + 0x89], 0
je 0x1005d996
movss xmm0, dword [eax + 0x2bac]
movss dword [edi + 0x80], xmm0
movss dword [edi + 0x84], xmm1
jmp 0x1005d9ac
mov edx, dword [esp + 0x1c]
mov eax, edx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x1005d9cf
cmp dword [esp + 0x3c], 0x3000000
je 0x1005d9cf
mov eax, dword [esp + 0x2c]
add eax, 0x1f0
jmp 0x1005d9d3
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 + 0x4c], xmm7
addss xmm5, dword [edi + 0x18]
movups xmmword [esp + 0x50], xmm0
je 0x1005da06
xorps xmm1, xmm1
jmp 0x1005da3d
mov eax, dword [0x10335918]
movss xmm0, dword [edi + 0x23c]
mov ecx, dword [edi + 0x2d8]
mulss xmm0, dword [eax + 0x2f58]
test ecx, ecx
je 0x1005da2d
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 + 0x84], xmm2
addss xmm0, dword [edi + 0x1c]
movss dword [esp + 0x8c], xmm2
xorps xmm3, xmm3
movss dword [esp + 0x88], xmm7
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x94], xmm1
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x90], 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 + 0x20]
movss dword [edi + 0x1a0], xmm1
movaps xmm1, xmm7
mov ecx, dword [esp + 0x24]
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 0x1005db78
movss xmm1, dword [edi + 0x48]
jmp 0x1005db80
movss xmm1, dword [ecx + 0x2b80]
movss xmm0, dword [edi + 0x3c]
movss xmm2, dword [0x1022bfc4]
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 0x1005dc55
movaps xmm1, xmm5
jmp 0x1005dc5c
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm2, dword [edi + 0x1c0]
comiss xmm4, xmm2
jbe 0x1005dc6e
movaps xmm0, xmm4
jmp 0x1005dc75
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 0x1005dc99
movaps xmm5, xmm6
minss xmm5, xmm0
movss xmm0, dword [edi + 0x1c8]
comiss xmm4, xmm0
ja 0x1005dcad
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 0x1005dcd9
test edx, 0x2000040
jne 0x1005dcd9
mulss xmm0, dword [0x1022bfd4]
jmp 0x1005dce9
movss xmm0, dword [ecx + 0x2f54]
mulss xmm0, dword [0x1022c0e8]
cvttss2si eax, xmm0
mov edx, edi
lea ecx, [esp + 0x118]
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.1005fdc0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x24]
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.1006d410
push 0
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x54]
call fcn.100594f0
mov eax, dword [esp + 0x20]
add esp, 4
mov byte [esp + 0x17], 0
test eax, 0x1000000
je 0x1005de7f
test eax, 0x4000000
jne 0x1005de7f
cmp dword [esp + 0x3c], 0x3000000
je 0x1005de7f
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x160]
cmp ecx, 2
jl 0x1005de43
mov eax, dword [eax + 0x168]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x1005de43
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 0x1005de43
comiss xmm2, xmm5
jbe 0x1005de43
comiss xmm3, xmm6
jbe 0x1005de43
comiss xmm4, xmm7
mov byte [esp + 0x18], 1
ja 0x1005de48
mov byte [esp + 0x18], 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 0x1005de7f
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x244]
cmp dword [eax + 0x18], 0
jle 0x1005de7f
cmp byte [esp + 0x18], 0
jne 0x1005de7f
mov byte [esp + 0x17], 1
mov dword [edi + 0x244], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x34b8]
test ecx, ecx
jne 0x1005de93
mov ecx, dword [eax + 0x3368]
cmp byte [esp + 0x30], 0
jne 0x1005deb3
test ecx, ecx
je 0x1005deac
mov eax, dword [edi + 0x2e8]
cmp eax, dword [ecx + 0x2e8]
je 0x1005deb3
mov byte [esp + 0x3c], 0
jmp 0x1005deb8
mov byte [esp + 0x3c], 1
movd xmm0, esi
lea eax, [esp + 0x120]
cvtdq2ps xmm0, xmm0
push ecx
lea edx, [esp + 0x8c]
mov ecx, edi
movss dword [esp], xmm0
push eax
push dword [esp + 0x7c]
push dword [esp + 0x48]
call fcn.1005be90
add esp, 0x10
cmp byte [esp + 0x17], 0
je 0x1005def9
lea eax, [edi + 0x248]
mov dword [edi + 0x244], eax
mov ecx, dword [esp + 0x1c]
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 0x1005df4e
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 0x1005df47
movss xmm0, dword [edi + 0x24]
jmp 0x1005df4a
xorps xmm0, xmm0
maxss xmm3, xmm0
movss xmm2, dword [edi + 0x38]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x1005df8e
movss xmm0, dword [edi + 0x40]
movss xmm2, dword [edi + 0x18]
addss xmm0, xmm0
subss xmm2, xmm0
subss xmm2, dword [esp + 0x20]
subss xmm2, dword [edi + 0x84]
test dl, dl
je 0x1005df87
movss xmm0, dword [edi + 0x28]
jmp 0x1005df8a
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 + 0x20]
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 0x1005e078
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 0x1005e0b4
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 + 0x24]
push dword [esp + 0x44]
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.100878f0
push ecx
mov dword [edi + 0x158], 0
lea ecx, [edi + 0x160]
mov dword [edi + 0x15c], 0
call fcn.100664a0
lea eax, [edi + 0x224]
mov dword [edi + 0x16c], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x170], 0
mov dword [edi + 0x178], 1
test eax, eax
je 0x1005e2c5
mov eax, dword [eax + 0x178]
jmp 0x1005e2ca
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.100664a0
push ecx
lea ecx, [edi + 0x194]
call fcn.100664a0
mov al, byte [edi + 0xa4]
test al, al
jle 0x1005e310
dec al
mov byte [edi + 0xa4], al
mov al, byte [edi + 0xa5]
test al, al
jle 0x1005e322
dec al
mov byte [edi + 0xa5], al
cmp byte [esp + 0x30], 0
je 0x1005e339
mov ecx, edi
call fcn.1005e870
xor dl, dl
mov ecx, edi
call fcn.10061ef0
test byte [esp + 0x1c], 1
jne 0x1005e399
movss xmm1, dword [esp + 0x4c]
lea edx, [esp + 0x50]
addss xmm1, dword [edi + 0x48]
push dword [esp + 0x80]
movss xmm0, dword [esp + 0x38]
mov ecx, edi
push dword [esp + 0x70]
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.1005c370
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.1005f0c0
mov edx, dword [esi + 0x3244]
add esp, 8
mov ecx, dword [edi + 0x50]
movzx eax, al
push eax
call fcn.10057530
add esp, 8
jmp 0x1005e3db
mov ecx, edi
call fcn.10056ec0
mov eax, dword [esp + 0x1c]
and eax, 0x1000000
mov dword [esp + 0x34], eax
je 0x1005e3f6
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x12c]
jmp 0x1005e403
push ecx
push str.FOCUSSCOPE
mov ecx, edi
call fcn.10056ce0
push 1
lea edx, [edi + 0x1c8]
mov dword [edi + 0x12c], eax
lea ecx, [edi + 0x1c0]
call fcn.100594f0
mov eax, dword [esp + 0x4c]
add esp, 4
mov byte [edi + 0x8c], 0
inc word [edi + 0x96]
mov dword [esi + 0x3298], 0
cmp eax, dword [esp + 0x40]
je 0x1005e59e
cmp dword [esp + 0x34], 0
je 0x1005e508
mov eax, dword [esp + 0x1c]
test al, 0x40
jne 0x1005e4ce
cmp byte [edi + 0xa4], 0
jg 0x1005e4ce
cmp byte [edi + 0xa5], 0
jg 0x1005e4ce
test eax, 0x800000
je 0x1005e496
cmp byte [esi + 0x33a8], 0
je 0x1005e496
mov eax, dword [esi + 0x3368]
test eax, eax
je 0x1005e496
mov eax, dword [eax + 0x2ec]
cmp eax, dword [edi + 0x2ec]
jne 0x1005e496
mov al, 1
jmp 0x1005e498
xor al, al
cmp byte [esi + 0x45c8], 0
jne 0x1005e4ce
test al, al
jne 0x1005e4ce
movss xmm0, dword [edi + 0x1a0]
comiss xmm0, dword [edi + 0x1a8]
jae 0x1005e4c7
movss xmm0, dword [edi + 0x1a4]
comiss xmm0, dword [edi + 0x1ac]
jb 0x1005e4ce
mov byte [edi + 0xac], 1
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1005e508
cmp byte [eax + 0x8d], 0
jne 0x1005e4e8
cmp byte [eax + 0xac], 0
jle 0x1005e4ef
mov byte [edi + 0xac], 1
cmp byte [eax + 0x8d], 0
jne 0x1005e501
cmp byte [eax + 0xad], 0
jle 0x1005e508
mov byte [edi + 0xad], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x2b38]
jb 0x1005e51b
mov byte [edi + 0xac], 1
cmp byte [edi + 0xac], 0
jg 0x1005e53b
cmp byte [edi + 0xad], 0
jg 0x1005e53b
xor cl, cl
cmp byte [edi + 0xae], cl
jg 0x1005e53d
xor al, al
jmp 0x1005e53f
mov cl, 1
mov al, 1
mov byte [edi + 0x91], al
mov al, byte [edi + 0xaf]
test al, al
jle 0x1005e55e
dec al
mov byte [edi + 0xaf], al
or dword [edi + 8], 0xc0200
xor al, al
cmp byte [edi + 0x8d], al
jne 0x1005e574
cmp byte [edi + 0x8a], al
je 0x1005e574
test cl, cl
je 0x1005e598
cmp byte [edi + 0xa4], 0
jg 0x1005e598
cmp byte [edi + 0xa5], 0
jg 0x1005e598
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 + 0x13c]
pop edi
sete al
pop esi
xor ecx, esp
call fcn.1014b7c5
mov esp, ebp
pop ebp
ret