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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x138
push esi
mov esi, dword [0x542698]
mov eax, ecx
push edi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x18], esi
call fcn.004104a0
mov edi, eax
mov dword [ebp - 0x68], eax
test edi, edi
mov dword [ebp - 0x54], edi
sete byte [ebp - 1]
test eax, eax
jne 0x412aa3
mov edx, dword [ebx + 8]
mov ecx, dword [ebp - 0x60]
call fcn.00410760
mov edi, eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 8]
mov ecx, eax
mov edx, eax
and ecx, 0xc0200
or edx, 6
cmp ecx, 0xc0200
mov ecx, dword [esi + 0x3df8]
cmovne edx, eax
mov dword [ebp - 0x4c], ecx
cmp dword [esi + 0x3e54], 0
mov eax, dword [edi + 0x238]
mov dword [ebp - 0x48], eax
lea eax, [esi + 0x3e54]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x98], eax
jne 0x412af3
cmp byte [esi + 0x3e05], 0
je 0x412af3
mov al, 1
jmp 0x412af5
xor al, al
mov byte [edi + 0xb2], al
lea eax, [ecx - 1]
mov ecx, dword [ebp - 0x48]
cmp ecx, eax
setl ch
mov byte [ebp - 5], ch
test edx, 0x4000000
je 0x412b43
mov eax, dword [esi + 0x47e0]
lea esi, [eax + eax*4]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x47dc]
mov eax, dword [edi + 0xc0]
cmp edi, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
setne al
or cl, al
or ch, cl
mov byte [ebp - 5], ch
mov byte [edi + 0xb0], ch
test ch, ch
je 0x412b62
or byte [edi + 0xd0], 8
or byte [edi + 0xd1], 8
or byte [edi + 0xd2], 8
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x4c]
je 0x412bba
push edx
mov dl, byte [ebp - 1]
mov ecx, edi
call fcn.004104f0
mov eax, dword [ebp - 0x4c]
add esp, 4
mov edx, dword [ebp - 0x10]
mov dword [edi + 0x238], eax
xor eax, eax
mov dword [edi + 0xc], edx
movsd xmm0, qword [esi + 0x3df0]
cvtpd2ps xmm0, xmm0
mov word [edi + 0xba], ax
movss dword [edi + 0x23c], xmm0
movzx eax, word [esi + 0x3e6c]
inc dword [esi + 0x3e6c]
mov word [edi + 0xbc], ax
jmp 0x412bc0
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [esi + 0x3e54]
test eax, eax
je 0x412bd7
imul ecx, eax, 0x54
mov eax, dword [esi + 0x3e5c]
mov eax, dword [ecx + eax - 0x54]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
cmp ecx, dword [ebp - 0x4c]
je 0x412bf5
mov ecx, edx
and ecx, 0x5000000
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x30], ecx
jmp 0x412bfe
mov eax, dword [edi + 0x2f8]
mov dword [ebp - 0x30], eax
cmp dword [edi + 0xe4], 0
lea eax, [edi + 0xe4]
jne 0x412c33
cmp dword [eax + 4], 0
jne 0x412c22
push 8
mov ecx, eax
call fcn.0041e840
lea eax, [edi + 0xe4]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 8]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xe4]
push 0x4e
lea eax, [ebp - 0x10c]
mov dword [esi + 0x3e78], edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x4728]
lea edx, [esi + 0x3e54]
movups xmm0, xmmword [esi + 0x46f0]
mov dword [ebp - 0xd4], eax
add esp, 0xc
movzx eax, word [edi + 0xe4]
mov word [ebp - 0xd0], ax
movzx eax, word [esi + 0x478c]
mov word [ebp - 0xce], ax
movzx eax, word [esi + 0x4798]
mov ecx, dword [edx]
mov word [ebp - 0xcc], ax
movzx eax, word [esi + 0x47a4]
mov word [ebp - 0xca], ax
movzx eax, word [esi + 0x47b0]
mov word [ebp - 0xc8], ax
movzx eax, word [esi + 0x47c8]
mov word [ebp - 0xc6], ax
movzx eax, word [esi + 0x47bc]
movups xmmword [ebp - 0x10c], xmm0
mov word [ebp - 0xc4], ax
lea eax, [esi + 0x47e0]
movups xmm0, xmmword [esi + 0x4700]
mov dword [ebp - 0x20], eax
movzx eax, word [eax]
movups xmmword [ebp - 0xfc], xmm0
mov word [ebp - 0xc2], ax
movups xmm0, xmmword [esi + 0x4710]
movzx eax, word [esi + 0x5a44]
mov word [ebp - 0xc0], ax
mov eax, dword [edx + 4]
mov dword [ebp - 0x110], edi
movups xmmword [ebp - 0xec], xmm0
movq xmm0, qword [esi + 0x4720]
movq qword [ebp - 0xdc], xmm0
cmp ecx, eax
jne 0x412d57
inc ecx
test eax, eax
je 0x412d3f
cdq
sub eax, edx
lea edx, [esi + 0x3e54]
sar eax, 1
add eax, dword [edx + 4]
jmp 0x412d44
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.0041ee80
lea edx, [esi + 0x3e54]
imul ecx, dword [edx], 0x54
movups xmm0, xmmword [ebp - 0x110]
mov eax, dword [ebp - 0xc0]
add ecx, dword [edx + 8]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x100]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xf0]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [ebp - 0xe0]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [ebp - 0xd0]
movups xmmword [ecx + 0x40], xmm0
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x10]
mov eax, ecx
inc dword [edx]
and eax, 0x10000000
mov dword [ebp - 0x34], eax
je 0x412db3
inc dword [esi + 0x47ec]
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x4c]
je 0x412e60
mov edx, dword [ebp - 0x30]
mov dword [edi + 0x2f8], edx
mov dword [edi + 0x30c], edi
mov dword [edi + 0x308], edi
mov dword [edi + 0x304], edi
mov dword [edi + 0x300], edi
test edx, edx
je 0x412e2e
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x412dfe
mov eax, dword [edx + 0x300]
mov dword [edi + 0x300], eax
test ecx, 0x4000000
je 0x412e12
mov eax, dword [edx + 0x304]
mov dword [edi + 0x304], eax
test ecx, 0x8000000
jne 0x412e2e
test ecx, 0x5000000
je 0x412e2e
mov eax, dword [edx + 0x308]
mov dword [edi + 0x308], eax
test dword [edi + 0xc], 0x800000
je 0x412e57
mov ecx, edi
nop dword [eax]
mov eax, dword [ecx + 0x2f8]
mov ecx, eax
mov dword [edi + 0x30c], eax
test dword [ecx + 0xc], 0x800000
jne 0x412e40
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x2fc], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x542698]
mov ecx, dword [eax + 0x47b4]
lea edx, [eax + 0x47b0]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], edx
cmp dword [edx], ecx
jne 0x412eae
test ecx, ecx
je 0x412e93
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0xc]
sar eax, 1
add eax, ecx
jmp 0x412e98
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.0041e840
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov edi, dword [ebp - 0x1c]
mov dword [eax + ecx*4], edi
mov ecx, edi
mov eax, dword [ebp - 0x2c]
inc dword [edx]
mov edi, dword [ebp - 0x54]
mov dword [eax + 0x46cc], ecx
mov eax, dword [esi + 0x46cc]
mov dword [edi + 0x34c], eax
mov eax, dword [ebp - 0x10]
and eax, 0x4000000
mov dword [esi + 0x3e78], 0
mov dword [ebp - 0xc], eax
je 0x412f95
mov eax, dword [esi + 0x47e0]
mov ecx, dword [esi + 0x47dc]
mov dword [ebp - 0x1c], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x24]
mov dword [ecx + edx*8 + 4], edi
mov dword [ebp - 0x2c], edx
mov eax, dword [eax + 0x148]
mov dword [ecx + edx*8 + 0xc], eax
mov ecx, dword [esi + 0x47e0]
mov eax, dword [esi + 0x47e4]
cmp ecx, eax
jne 0x412f56
inc ecx
test eax, eax
je 0x412f3b
cdq
sub eax, edx
lea edx, [esi + 0x47e0]
sar eax, 1
add eax, dword [edx + 4]
jmp 0x412f46
mov eax, 8
lea edx, [esi + 0x47e0]
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.0041edf0
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x20]
mov eax, dword [esi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
mov esi, dword [ebp - 0x1c]
movups xmm0, xmmword [esi + edx*8]
movups xmmword [eax + ecx*8], xmm0
movups xmm0, xmmword [esi + edx*8 + 0x10]
movups xmmword [eax + ecx*8 + 0x10], xmm0
movq xmm0, qword [esi + edx*8 + 0x20]
movq qword [eax + ecx*8 + 0x20], xmm0
mov eax, dword [ebp - 0x20]
inc dword [eax]
mov eax, esi
mov esi, dword [ebp - 0x18]
mov eax, dword [eax + edx*8]
mov dword [edi + 0xc0], eax
test byte [esi + 0x472c], 1
mov byte [ebp - 4], 0
mov byte [ebp - 2], 0
mov byte [ebp - 3], 0
je 0x41304b
mov dl, byte [edi + 0xd0]
mov ecx, dword [esi + 0x4730]
movsx eax, dl
test ecx, eax
setne byte [ebp - 4]
test ecx, eax
je 0x41303a
movss xmm1, dword [esi + 0x4748]
movss xmm0, dword [esi + 0x4744]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x53f714]
jbe 0x41303a
mov eax, dword [esi + 0x473c]
mov ecx, dword [esi + 0x4740]
mov dword [edi + 0xd8], ecx
mov dword [edi + 0xd4], eax
mov eax, dword [esi + 0x4744]
mov ecx, dword [esi + 0x4748]
mov dword [edi + 0xe0], ecx
mov dword [edi + 0xdc], eax
mov eax, dword [edi + 0xd0]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [edi + 0xd0], ecx
jmp 0x41304b
push ecx
lea edx, [esi + 0x473c]
mov ecx, edi
call fcn.00415380
add esp, 4
test byte [esi + 0x472c], 2
xorps xmm1, xmm1
je 0x4130a8
movsx eax, byte [edi + 0xd1]
lea edx, [esi + 0x474c]
mov ecx, dword [esi + 0x4734]
and eax, ecx
je 0x41307d
movss xmm0, dword [edx]
comiss xmm0, xmm1
jbe 0x41307d
mov byte [ebp - 2], 1
jmp 0x413085
mov byte [ebp - 2], 0
test eax, eax
je 0x413096
movss xmm0, dword [esi + 0x4750]
comiss xmm0, xmm1
mov byte [ebp - 3], 1
ja 0x41309a
mov byte [ebp - 3], 0
push ecx
mov ecx, edi
call fcn.004154e0
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x472c], 0x80
je 0x4130ef
movss xmm0, dword [esi + 0x475c]
comiss xmm0, xmm1
jb 0x4130d0
movss dword [edi + 0x88], xmm0
mov dword [edi + 0x90], 0
movss xmm0, dword [esi + 0x4760]
comiss xmm0, xmm1
jb 0x4130ef
movss dword [edi + 0x8c], xmm0
mov dword [edi + 0x94], 0
test byte [esi + 0x472c], 4
je 0x41310c
mov eax, dword [esi + 0x4754]
mov ecx, dword [esi + 0x4758]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
jmp 0x413122
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x4c]
je 0x413122
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
test byte [esi + 0x472c], 8
je 0x41316f
mov ecx, dword [esi + 0x4738]
mov dl, byte [esi + 0x4764]
test ecx, ecx
je 0x413146
movsx eax, byte [edi + 0xd2]
test ecx, eax
je 0x41316f
movzx ecx, byte [edi + 0xd2]
mov eax, dword [edi + 0xd0]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0xad], dl
mov dword [edi + 0xd0], ecx
test byte [esi + 0x472c], 0x20
je 0x413181
xor edx, edx
mov ecx, edi
call fcn.00414ee0
cmp byte [edi + 0xb0], 0
je 0x41319f
and byte [edi + 0xd0], 0xf7
and byte [edi + 0xd1], 0xf7
and byte [edi + 0xd2], 0xf7
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x4c]
je 0x414ae5
mov eax, dword [ebp - 0x10]
lea ecx, [edi + 0xe4]
and eax, 0x3000000
mov byte [edi + 0xaa], 1
mov byte [edi + 0xb4], 0
mov dword [ebp - 0x38], eax
mov al, byte [edi + 0xcd]
mov dword [edi + 0x210], 0xff7fffff
mov dword [edi + 0x214], 0xff7fffff
mov dword [edi + 0x218], 0x7f7fffff
mov byte [ebp - 0x25], al
mov dword [edi + 0x21c], 0x7f7fffff
mov eax, dword [ecx + 4]
mov dword [ebp - 0x2c], eax
cmp eax, 1
jge 0x413231
test eax, eax
je 0x413216
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [ebp - 0x2c]
jmp 0x41321b
mov edx, 8
mov eax, 1
cmp edx, eax
cmovg eax, edx
push eax
call fcn.0041e840
lea ecx, [edi + 0xe4]
mov dword [ecx], 1
mov ecx, dword [edi + 0x264]
call fcn.00426c20
cmp byte [edi + 0x358], 0
mov dword [edi + 0x194], 0xffffffff
je 0x413298
mov ecx, dword [edi + 0x264]
push dword [edi + 0x350]
add ecx, 0xc
mov byte [edi + 0x358], 0
call fcn.0041ec80
mov ecx, dword [edi + 0x264]
push dword [edi + 0x354]
add ecx, 0x18
call fcn.0041ea60
mov dword [edi + 0x354], 0
mov dword [edi + 0x350], 0
cmp dword [esi + 0x4970], 0
je 0x41337a
test dword [edi + 0xc], 0x80000
jne 0x41337a
cmp dword [ebp - 0x68], 0
je 0x41337a
mov eax, dword [edi + 4]
mov ecx, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x60]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4132e7
test dl, dl
je 0x4132e3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4132e7
add eax, 2
add ecx, 2
test dl, dl
jne 0x4132c7
xor eax, eax
jmp 0x4132ec
sbb eax, eax
or eax, 1
test eax, eax
je 0x41337a
mov ecx, dword [ebp - 0x60]
mov edx, dword [edi + 0x6c]
mov dword [ebp - 0x20], edx
lea eax, [ecx + 1]
mov dword [ebp - 0x2c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413303
sub ecx, dword [ebp - 0x2c]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
cmp edx, eax
jae 0x413364
test ecx, ecx
je 0x41332d
mov eax, dword [0x542698]
test eax, eax
je 0x41332d
dec dword [eax + 0xac]
push dword [0x54269c]
push ecx
call fcn.00409220
mov eax, dword [0x542698]
add esp, 8
test eax, eax
je 0x41334b
inc dword [eax + 0xac]
push dword [0x54269c]
push dword [ebp - 0x24]
call fcn.00409200
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
push eax
push dword [ebp - 0x60]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x6c], eax
lea eax, [edi + 0x34]
mov ecx, edi
lea edx, [edi + 0x2c]
push eax
call fcn.00410b40
mov al, byte [edi + 0xcc]
add esp, 4
test al, al
jle 0x41339d
dec al
mov byte [edi + 0xcc], al
mov al, byte [edi + 0xcd]
test al, al
jle 0x4133af
dec al
mov byte [edi + 0xcd], al
mov al, byte [edi + 0xce]
test al, al
jle 0x4133c1
dec al
mov byte [edi + 0xce], al
cmp dword [ebp - 0x68], 0
mov cl, byte [ebp - 2]
mov dl, byte [ebp - 3]
jne 0x4133dc
test cl, cl
je 0x4133d5
test dl, dl
jne 0x4133dc
mov byte [edi + 0xcd], 1
cmp byte [ebp - 5], 0
je 0x413437
mov eax, dword [ebp - 0x10]
test eax, 0x6000000
je 0x413437
mov byte [edi + 0xcd], 1
test al, 0x40
je 0x413437
test cl, cl
jne 0x413409
mov dword [edi + 0x24], 0
mov dword [edi + 0x1c], 0
test dl, dl
jne 0x41341b
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov eax, dword [0x542698]
mov ecx, edi
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 0x47f8]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov dword [edi + 0x10], eax
call fcn.0040c9e0
mov edx, dword [ebp - 0x10]
mov eax, edx
and eax, 0x1000000
mov dword [ebp - 0x1c], eax
je 0x41346d
movss xmm0, dword [esi + 0x37b0]
jmp 0x41348f
test edx, 0x6000000
je 0x413487
test edx, 0x8000000
jne 0x413487
movss xmm0, dword [esi + 0x37b8]
jmp 0x41348f
movss xmm0, dword [esi + 0x3794]
movss dword [edi + 0x50], xmm0
xorps xmm6, xmm6
mov eax, dword [esi + 0x3788]
mov ecx, dword [esi + 0x378c]
mov dword [edi + 0x44], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x48], ecx
cmp eax, 0x1000000
jne 0x4134e1
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jp 0x4134e1
test edx, 0x400
je 0x4134d2
movss xmm0, dword [esi + 0x378c]
jmp 0x4134d5
xorps xmm0, xmm0
mov dword [edi + 0x44], 0
movss dword [edi + 0x48], xmm0
movss xmm0, dword [edi + 0x44]
maxss xmm0, dword [esi + 0x37cc]
maxss xmm0, dword [esi + 0x4784]
movss dword [edi + 0x154], xmm0
mov eax, dword [esi + 0x4788]
mov dword [edi + 0x158], eax
mov al, byte [ebp - 1]
mov dword [ebp - 0x20], eax
test dl, 0x21
jne 0x41365d
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x413526
xorps xmm2, xmm2
jmp 0x413558
movss xmm0, dword [ecx + 0x3be4]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x413548
mulss xmm0, dword [eax + 0x25c]
movss xmm2, dword [ecx + 0x37c0]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm4, dword [edi + 0x14]
movaps xmm3, xmm4
movss xmm5, dword [edi + 0x18]
addss xmm3, dword [edi + 0x24]
addss xmm2, dword [edi + 0x18]
mov edx, dword [ebp - 0x14]
cmp dword [esi + 0x3e7c], edi
jne 0x413613
cmp dword [esi + 0x3eb0], 0
jne 0x413613
cmp dword [esi + 0x3eb4], 0
jne 0x413613
mov eax, dword [edx + 0x3e78]
movss xmm1, dword [edx + 0x37e4]
movss xmm0, dword [edx + 0x37e8]
maxss xmm4, dword [eax + 0x210]
minss xmm3, dword [eax + 0x218]
maxss xmm5, dword [eax + 0x214]
minss xmm2, dword [eax + 0x21c]
subss xmm4, xmm1
addss xmm3, xmm1
movss xmm1, dword [edx + 0xdb8]
subss xmm5, xmm0
addss xmm2, xmm0
comiss xmm1, xmm4
jb 0x413613
movss xmm0, dword [edx + 0xdbc]
comiss xmm0, xmm5
jb 0x413613
comiss xmm3, xmm1
jbe 0x413613
comiss xmm2, xmm0
jbe 0x413613
cmp word [esi + 0x3702], 2
jne 0x413613
mov byte [edi + 0xae], 1
cmp byte [edi + 0xae], 0
je 0x413664
mov cl, byte [edi + 0xad]
test cl, cl
sete al
test cl, cl
mov byte [edi + 0xad], al
mov ecx, 1
mov eax, dword [ebp - 0x20]
movzx eax, al
cmovne eax, ecx
test dword [edi + 0xc], 0x100
mov dword [ebp - 0x20], eax
jne 0x413664
comiss xmm6, dword [edx + 0x5a84]
jb 0x413664
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5a84], eax
jmp 0x413664
mov byte [edi + 0xad], 0
movss xmm0, dword [edi + 0xa0]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [edi + 0xa4]
mov byte [edi + 0xae], 0
movss dword [ebp - 0x58], xmm0
mov dword [edi + 0x54], 0
mov dword [edi + 0x5c], 0
test dl, 1
je 0x4136a2
xorps xmm2, xmm2
jmp 0x4136d7
movss xmm0, dword [edi + 0x25c]
mov edx, dword [edi + 0x2f8]
mulss xmm0, dword [ecx + 0x3be4]
test edx, edx
je 0x4136c4
mulss xmm0, dword [edx + 0x25c]
movss xmm2, dword [ecx + 0x37c0]
mov edx, dword [edi + 0xc]
addss xmm2, xmm2
addss xmm2, xmm0
test edx, 0x400
je 0x41371b
movss xmm1, dword [ecx + 0x3be4]
mov eax, dword [edi + 0x2f8]
mulss xmm1, dword [edi + 0x25c]
test eax, eax
je 0x413701
mulss xmm1, dword [eax + 0x25c]
movss xmm0, dword [ecx + 0x37c0]
addss xmm1, dword [edi + 0x158]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x41371e
xorps xmm1, xmm1
addss xmm1, xmm2
mov dword [edi + 0x60], 0
lea eax, [edi + 0x34]
mov dword [edi + 0xa0], 0
push eax
mov edx, edi
mov dword [edi + 0xa4], 0
lea ecx, [ebp - 0x70]
movss dword [edi + 0x58], xmm1
call fcn.00410c70
mov eax, dword [ebp - 0x10]
add esp, 4
and eax, 0x40
mov dword [ebp - 0x2c], eax
lea eax, [edi + 0xad]
je 0x41379e
cmp byte [eax], 0
mov dword [ebp - 0x14], eax
jne 0x41379e
cmp byte [ebp - 2], 0
jne 0x413780
movss xmm0, dword [ebp - 0x70]
movss dword [edi + 0x24], xmm0
mov byte [ebp - 1], 1
cmp byte [ebp - 3], 0
jne 0x41384f
movss xmm0, dword [ebp - 0x6c]
mov al, 1
movss dword [edi + 0x28], xmm0
mov dword [ebp - 0x20], eax
jmp 0x41384f
mov ecx, eax
mov al, byte [edi + 0xc4]
test al, al
jg 0x4137ba
cmp byte [edi + 0xc5], 0
mov dword [ebp - 0x14], ecx
jle 0x41384f
cmp byte [ebp - 2], 0
jne 0x4137e7
test al, al
jle 0x4137e7
cmp byte [edi + 0xc7], 0
je 0x4137d9
movss xmm0, dword [edi + 0x24]
maxss xmm0, dword [ebp - 0x70]
jmp 0x4137de
movss xmm0, dword [ebp - 0x70]
movss dword [edi + 0x24], xmm0
mov byte [ebp - 1], 1
cmp byte [ebp - 3], 0
jne 0x41381a
cmp byte [edi + 0xc5], 0
jle 0x41381a
cmp byte [edi + 0xc7], 0
je 0x41380b
movss xmm0, dword [edi + 0x28]
maxss xmm0, dword [ebp - 0x6c]
jmp 0x413810
movss xmm0, dword [ebp - 0x6c]
mov al, 1
movss dword [edi + 0x28], xmm0
mov dword [ebp - 0x20], eax
cmp byte [ecx], 0
mov dword [ebp - 0x14], ecx
jne 0x41384f
test dword [edi + 0xc], 0x100
mov edx, dword [0x542698]
mov dword [ebp - 0x14], ecx
jne 0x41384f
xorps xmm1, xmm1
mov dword [ebp - 0x14], ecx
comiss xmm1, dword [edx + 0x5a84]
jb 0x41384f
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5a84], eax
mov dword [ebp - 0x14], ecx
lea eax, [edi + 0x24]
mov edx, edi
push eax
lea ecx, [ebp - 0x118]
call fcn.00410940
add esp, 4
movss xmm2, dword [eax]
movss xmm0, dword [eax + 4]
mov eax, dword [ebp - 0x14]
movss dword [edi + 0x24], xmm2
movss dword [edi + 0x28], xmm0
cmp byte [eax], 0
je 0x4138e8
cmp dword [ebp - 0x1c], 0
jne 0x4138e8
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x413891
xorps xmm1, xmm1
jmp 0x4138c3
movss xmm0, dword [ecx + 0x3be4]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x4138b3
mulss xmm0, dword [eax + 0x25c]
movss xmm1, dword [ecx + 0x37c0]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [edi + 0x14]
addss xmm1, dword [edi + 0x18]
mov edx, edi
mov dword [ebp - 0x3c], edx
subss xmm2, dword [edi + 0x14]
subss xmm1, dword [edi + 0x18]
movss dword [ebp - 0x44], xmm2
movss dword [ebp - 0x40], xmm1
jmp 0x4138f9
mov eax, dword [edi + 0x24]
mov edx, edi
mov ecx, dword [edi + 0x28]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edi
cmp byte [ebp - 5], 0
lea ecx, [ebp - 0x44]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
je 0x413957
mov eax, dword [ebp - 0x10]
and eax, 0xc000000
mov dword [edi + 0xc8], 0xffffffff
cmp eax, 0x4000000
jne 0x413957
cmp byte [ebp - 4], 0
jne 0x413957
mov eax, dword [esi + 0x47e0]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x47e8]
movss xmm0, dword [eax + ecx*8 - 0x10]
movss xmm1, dword [eax + ecx*8 - 0xc]
mov eax, 0x14
movss dword [eax + edx], xmm0
movss dword [eax + edx + 4], xmm1
cmp dword [ebp - 0x1c], 0
je 0x4139f0
mov edx, dword [ebp - 0x30]
add edx, 0x180
mov dword [ebp - 0x24], edx
mov ax, word [edx]
mov word [edi + 0xba], ax
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x4139ab
test ecx, ecx
je 0x413990
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x24]
sar eax, 1
add eax, ecx
jmp 0x413995
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.0041e840
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 0x38]
test ecx, ecx
jne 0x4139f9
test al, al
jne 0x4139f9
cmp edx, 0x3000000
je 0x4139f9
mov ecx, dword [ebp - 0x30]
mov esi, 0x14
mov edx, edi
mov eax, dword [ecx + 0xf0]
mov ecx, dword [ecx + 0xf4]
mov dword [esi + edx], eax
mov eax, esi
mov esi, dword [ebp - 0x18]
mov dword [eax + edx + 4], ecx
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 4]
movss xmm1, dword [edi + 0xd4]
ucomiss xmm1, dword [0x53f828]
lahf
test ah, 0x44
jnp 0x413c09
cmp byte [edi + 0xcd], 0
jne 0x413c09
movss xmm0, dword [edi + 0x1c]
lea edx, [ebp - 0x44]
mulss xmm0, dword [edi + 0xdc]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xd8]
movss dword [ebp - 0x44], xmm1
movss xmm1, dword [edi + 0xe0]
mulss xmm1, dword [edi + 0x20]
subss xmm0, xmm1
movss dword [ebp - 0x40], xmm0
call fcn.00415380
add esp, 4
mov edx, edi
mov eax, 0x14
cmp byte [ebp - 4], 0
mov ecx, dword [ebp - 0x50]
movss xmm3, dword [esi + 0x3840]
movss xmm2, dword [esi + 0x383c]
maxss xmm3, dword [esi + 0x3848]
movss xmm7, dword [ecx + 0x14]
movss xmm6, dword [ecx + 0x18]
addss xmm7, dword [ecx + 0x1c]
addss xmm6, dword [ecx + 0x20]
movss xmm0, dword [ecx + 4]
movss xmm1, dword [ecx + 8]
movaps xmm4, xmm0
maxss xmm2, dword [esi + 0x3844]
addss xmm4, dword [ecx + 0xc]
movaps xmm5, xmm1
movss dword [ebp - 0x90], xmm0
addss xmm5, dword [ecx + 0x10]
subss xmm6, xmm3
movss dword [ebp - 0x8c], xmm1
addss xmm3, dword [ecx + 0x18]
subss xmm7, xmm2
movss dword [ebp - 0x88], xmm4
addss xmm2, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x10]
movss dword [ebp - 0x84], xmm5
movss dword [ebp - 0xa4], xmm3
movss dword [ebp - 0xa0], xmm7
movss dword [ebp - 0xa8], xmm2
movss dword [ebp - 0x9c], xmm6
jne 0x413bc8
cmp dword [ebp - 0x1c], 0
jne 0x413bc8
subss xmm4, xmm0
xorps xmm0, xmm0
comiss xmm4, xmm0
jbe 0x413bc8
subss xmm5, xmm1
comiss xmm5, xmm0
jbe 0x413bc8
mov eax, dword [0x542698]
movss xmm1, dword [edi + 0x20]
cmp byte [eax + 0x4b], 0
je 0x413b8c
test byte [edi + 0xc], 1
jne 0x413b8c
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3be4]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x413b7a
mulss xmm0, dword [eax + 0x25c]
mov eax, dword [edi]
movss xmm1, dword [eax + 0x37c0]
addss xmm1, xmm1
addss xmm1, xmm0
subss xmm2, dword [edi + 0x1c]
mov eax, 0x14
subss xmm3, xmm1
movss xmm0, dword [eax + edx + 4]
comiss xmm3, xmm0
ja 0x413bac
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [eax + edx]
comiss xmm2, xmm0
ja 0x413bbd
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [eax + edx], xmm2
movss dword [eax + edx + 4], xmm3
cmp dword [ebp - 0x1c], 0
cvttss2si eax, dword [eax + edx]
movd xmm1, eax
mov eax, 0x14
cvtdq2ps xmm1, xmm1
cvttss2si eax, dword [eax + edx + 4]
movd xmm0, eax
mov eax, 0x14
cvtdq2ps xmm0, xmm0
movss dword [eax + edx], xmm1
movss dword [eax + edx + 4], xmm0
je 0x413c6b
movss xmm2, dword [esi + 0x37ac]
jmp 0x413c8b
cmp dword [ebp - 0x34], 0
jne 0x413c1c
test ecx, ecx
je 0x413c46
test al, al
jne 0x413c46
cmp byte [ebp - 0x25], al
jle 0x413c46
mov edx, edi
lea ecx, [ebp - 0x44]
call fcn.004189d0
mov edx, edi
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, 0x14
movss dword [eax + edx], xmm0
movss dword [eax + edx + 4], xmm1
jmp 0x413a69
test dword [ebp - 0x10], 0x2000000
je 0x413a62
test al, al
jne 0x413a62
cmp edx, 0x3000000
mov edx, edi
je 0x413a64
jmp 0x413c1e
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x413c83
movss xmm2, dword [esi + 0x37b4]
jmp 0x413c8b
movss xmm2, dword [esi + 0x3790]
xor dl, dl
movss dword [edi + 0x4c], xmm2
mov dword [ebp - 0x24], edx
cmp byte [ebp - 5], dl
je 0x413cc0
test ecx, 0x1000
jne 0x413cc0
cmp dword [ebp - 0xc], 0
je 0x413cae
mov byte [ebp - 0x24], 1
jmp 0x413cc0
cmp dword [ebp - 0x38], 0
mov eax, 1
movzx edx, dl
cmove edx, eax
mov dword [ebp - 0x24], edx
movss xmm1, dword [esi + 0x3be0]
xorps xmm0, xmm0
addss xmm2, dword [0x53f788]
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp byte [esi + 0x4a], cl
movaps xmmword [ebp - 0x130], xmm0
movaps xmm0, xmm1
mulss xmm1, dword [0x53f73c]
setne cl
inc ecx
cmp byte [eax], 0
mulss xmm0, dword [0x53f78c]
mov dword [ebp - 0x94], 0xffffffff
addss xmm1, xmm2
mov dword [ebp - 0x40], ecx
maxss xmm0, xmm1
cvttss2si esi, xmm0
jne 0x413d44
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x130]
push eax
push ecx
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
lea edx, [ebp - 0x70]
call fcn.00410f90
add esp, 0x10
test al, al
je 0x413d44
mov cl, 1
mov dl, cl
jmp 0x413d4a
mov dl, byte [ebp - 1]
mov ecx, dword [ebp - 0x20]
mov al, byte [ebp - 0x94]
mov byte [edi + 0xb5], al
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0
jne 0x413ebe
cmp dword [ebp - 0x68], 0
lea eax, [ebp - 0x5c]
movss xmm6, dword [edi + 0x60]
movss xmm2, dword [edi + 0x1d8]
movaps xmm0, xmm6
movss xmm3, dword [edi + 0x1dc]
addss xmm0, dword [edi + 0x58]
subss xmm2, dword [edi + 0x1d0]
subss xmm3, dword [edi + 0x1d4]
movss xmm4, dword [edi + 0x28]
movss xmm5, dword [edi + 0x24]
subss xmm4, xmm0
addss xmm2, dword [ebp - 0x64]
addss xmm3, dword [ebp - 0x58]
jne 0x413dc0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
jmp 0x413de6
movss xmm0, dword [edi + 0x44]
movss xmm1, dword [edi + 0x48]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edi + 0x2c]
addss xmm1, dword [edi + 0x30]
movss dword [ebp - 0x5c], xmm0
movss dword [ebp - 0x58], xmm1
movss xmm7, dword [eax]
movss xmm1, dword [eax + 4]
test dl, dl
jne 0x413df6
movaps xmm5, xmm2
test cl, cl
jne 0x413dfd
movaps xmm4, xmm3
mov ecx, dword [ebp - 0x10]
test ecx, 0x4000
jne 0x413e16
comiss xmm1, xmm4
jbe 0x413e12
test cl, 8
je 0x413e16
xor dl, dl
jmp 0x413e18
mov dl, 1
mov eax, dword [ebp - 0x18]
add eax, 0x37f4
mov byte [edi + 0xa9], dl
test ecx, 0x8000
jne 0x413e67
mov dword [ebp - 0xc], eax
test dl, dl
je 0x413e3b
movss xmm0, dword [eax]
jmp 0x413e3e
xorps xmm0, xmm0
subss xmm5, xmm0
comiss xmm7, xmm5
jbe 0x413e55
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
je 0x413e64
mov eax, dword [ebp - 0xc]
xorps xmm1, xmm1
mov byte [edi + 0xa8], 0
jmp 0x413e8c
mov eax, dword [ebp - 0xc]
mov byte [edi + 0xa8], 1
test dl, dl
jne 0x413e88
comiss xmm1, xmm4
jbe 0x413e80
test cl, 8
jne 0x413e80
mov dl, 1
jmp 0x413e82
xor dl, dl
mov byte [edi + 0xa9], dl
movss xmm1, dword [eax]
test dl, dl
je 0x413e96
movss xmm0, dword [eax]
jmp 0x413e99
xorps xmm0, xmm0
movss dword [edi + 0xa0], xmm0
addss xmm6, xmm1
addss xmm0, dword [edi + 0x5c]
movss dword [edi + 0xa4], xmm1
movss dword [edi + 0x60], xmm6
movss dword [edi + 0x5c], xmm0
jmp 0x413ec1
mov ecx, dword [ebp - 0x10]
mov eax, ecx
and eax, 0x5000000
mov dword [ebp - 0x50], eax
cmp eax, 0x1000000
jne 0x413ee5
cmp dword [ebp - 0x38], 0x3000000
je 0x413ee5
mov eax, dword [ebp - 0x30]
add eax, 0x210
jmp 0x413eeb
lea eax, [ebp - 0x90]
test byte [edi + 0xc], 1
mov edx, 0x14
movups xmm0, xmmword [eax]
mov eax, edi
movss xmm6, dword [edi + 0x18]
movaps xmm3, xmm6
addss xmm3, dword [edi + 0x20]
movss xmm4, dword [edx + eax]
movaps xmm2, xmm4
movss dword [ebp - 0x34], xmm4
addss xmm2, dword [edi + 0x1c]
movups xmmword [ebp - 0x80], xmm0
je 0x413f23
xorps xmm1, xmm1
jmp 0x413f64
cmp dword [edi + 0x2f8], 0
mov ecx, dword [edi]
movss xmm0, dword [ecx + 0x3be4]
mulss xmm0, dword [edi + 0x25c]
mov ecx, dword [ebp - 0x10]
je 0x413f52
mov ecx, dword [edi + 0x2f8]
mulss xmm0, dword [ecx + 0x25c]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edi]
movss xmm1, dword [eax + 0x37c0]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm1, xmm6
movss dword [ebp - 0x90], xmm4
movaps xmm0, xmm4
mov eax, edi
addss xmm0, dword [edi + 0x24]
and ecx, 0x401
movss xmm5, dword [edx + eax + 4]
movss dword [ebp - 0x84], xmm1
movss dword [ebp - 0x88], xmm0
movss dword [ebp - 0x8c], xmm5
movss dword [edi + 0x1c0], xmm4
movss dword [edi + 0x1c4], xmm6
movss dword [edi + 0x1c8], xmm2
movss dword [edi + 0x1cc], xmm3
movss xmm4, dword [ebp - 0x80]
movss xmm5, dword [ebp - 0x7c]
movss dword [ebp - 0x20], xmm0
maxss xmm6, xmm5
movss xmm0, dword [edi + 0x1c0]
movss dword [ebp - 0x14], xmm1
maxss xmm0, xmm4
movss dword [edi + 0x1c4], xmm6
movss dword [edi + 0x1c0], xmm0
movss xmm0, dword [edi + 0x1cc]
movss xmm1, dword [edi + 0x1c8]
minss xmm0, dword [ebp - 0x74]
minss xmm1, dword [ebp - 0x78]
movss dword [edi + 0x1cc], xmm0
movss dword [edi + 0x1c8], xmm1
movss xmm6, dword [edx + eax]
movss xmm7, dword [edi + 0x18]
movaps xmm0, xmm6
mov edx, dword [ebp - 0x18]
addss xmm0, dword [edi + 0x54]
addss xmm6, dword [edi + 0x1c]
movss dword [ebp - 0x58], xmm0
movss dword [edi + 0x1d0], xmm0
movaps xmm0, xmm7
addss xmm7, dword [edi + 0x20]
addss xmm0, dword [edi + 0x58]
subss xmm6, dword [edi + 0x5c]
subss xmm7, dword [edi + 0x60]
movss dword [ebp - 0x64], xmm0
movss dword [edi + 0x1d4], xmm0
movss dword [edi + 0x1d8], xmm6
movss dword [edi + 0x1dc], xmm7
cmp ecx, 1
jne 0x414083
movss xmm0, dword [edi + 0x50]
jmp 0x41408b
movss xmm0, dword [edx + 0x37c8]
movss xmm2, dword [0x53f754]
movss dword [ebp - 0xc], xmm0
addss xmm6, xmm2
movss xmm0, dword [edi + 0x44]
addss xmm7, xmm2
mulss xmm0, xmm2
movss xmm3, dword [ebp - 0x74]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x58]
addss xmm0, xmm2
subss xmm7, dword [edi + 0x50]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x50]
addss xmm0, xmm1
subss xmm6, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e0], xmm0
movss xmm0, dword [ebp - 0x64]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0xc]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvttss2si ecx, xmm6
movss dword [edi + 0x1e4], xmm0
movd xmm0, ecx
cvttss2si ecx, xmm7
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e8], xmm0
movd xmm0, ecx
lea ecx, [edi + 0x1e0]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1ec], xmm0
movss xmm0, dword [ecx + 4]
comiss xmm5, xmm0
jbe 0x414143
movaps xmm1, xmm5
jmp 0x41414a
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm6, dword [ebp - 0x78]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm4, xmm2
jbe 0x414160
movaps xmm0, xmm4
jmp 0x414167
movaps xmm0, xmm6
minss xmm0, xmm2
movss dword [ecx], xmm0
movss dword [ecx + 4], xmm1
movss xmm0, dword [ecx + 0xc]
comiss xmm5, xmm0
ja 0x414181
movaps xmm5, xmm3
minss xmm5, xmm0
movss xmm0, dword [ecx + 8]
comiss xmm4, xmm0
ja 0x414192
movaps xmm4, xmm6
minss xmm4, xmm0
movss dword [ecx + 8], xmm4
xorps xmm2, xmm2
movss dword [ecx + 0xc], xmm5
movss xmm0, dword [edi + 0x1c]
comiss xmm0, xmm2
jbe 0x4141bc
test dword [ebp - 0x10], 0x2000040
jne 0x4141bc
mulss xmm0, dword [0x53f75c]
jmp 0x4141cc
movss xmm0, dword [edx + 0x3be0]
mulss xmm0, dword [0x53f7d8]
cvttss2si eax, xmm0
mov edx, edi
lea ecx, [ebp - 0x118]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x240], xmm0
movss xmm1, dword [edi + 0x44]
movss xmm0, dword [edi + 0x1d8]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1d0]
addss xmm1, dword [edi + 0x2c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x48]
addss xmm1, xmm1
movss dword [edi + 0x80], xmm0
movss xmm0, dword [edi + 0x1dc]
subss xmm0, dword [edi + 0x1d4]
addss xmm1, dword [edi + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x84], xmm0
call fcn.00417e60
mov ecx, dword [edi + 0x264]
mov dword [ebp - 0x58], ecx
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [ebp - 0x18]
movss dword [edi + 0x78], xmm0
movss dword [edi + 0x7c], xmm1
mov dword [edi + 0x88], 0x7f7fffff
mov dword [edi + 0x8c], 0x7f7fffff
mov dword [edi + 0x68], 0
mov dword [edi + 0x64], 0
lea edi, [ecx + 0x48]
mov eax, dword [eax + 0x3bdc]
mov ecx, dword [edi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
cmp ecx, eax
jne 0x4142cb
inc ecx
test eax, eax
je 0x4142b9
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x4142be
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.0041e840
mov edx, dword [edi]
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0x58]
inc dword [edi]
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0x70], eax
call fcn.00427080
mov ecx, dword [0x542698]
push 0
mov eax, dword [ecx + 0x3e78]
mov byte [eax + 0xac], 1
lea eax, [ebp - 0x78]
mov edi, dword [ecx + 0x3e78]
push eax
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [edi + 0x264]
call fcn.004271b0
mov eax, dword [edi + 0x264]
mov byte [ebp - 2], 0
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
cmp dword [ebp - 0x50], 0x1000000
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edi + 0x210], eax
movss dword [edi + 0x214], xmm0
movss dword [edi + 0x218], xmm1
movss dword [edi + 0x21c], xmm2
jne 0x414424
cmp dword [ebp - 0x38], 0x3000000
je 0x414424
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x180]
cmp edx, 2
jl 0x4143e7
mov eax, dword [eax + 0x188]
mov edx, dword [eax + edx*4 - 8]
test edx, edx
je 0x4143e7
movss xmm5, dword [edx + 0x18]
mov ecx, 0x14
mov edi, dword [ebp - 0x54]
movaps xmm0, xmm5
mov eax, dword [ebp - 0x3c]
addss xmm0, dword [edx + 0x20]
movss xmm7, dword [edx + 0x14]
movss xmm2, dword [edi + 0x18]
movaps xmm3, xmm7
movss xmm6, dword [ecx + eax]
addss xmm3, dword [edx + 0x1c]
comiss xmm0, dword [edi + 0x18]
addss xmm2, dword [edi + 0x20]
movaps xmm4, xmm6
addss xmm4, dword [edi + 0x1c]
jbe 0x4143ea
comiss xmm2, xmm5
jbe 0x4143ea
comiss xmm3, xmm6
jbe 0x4143ea
comiss xmm4, xmm7
jbe 0x4143ea
mov byte [ebp - 1], 1
jmp 0x4143ee
mov edi, dword [ebp - 0x54]
mov byte [ebp - 1], 0
mov edx, dword [edi + 0x264]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x414427
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x264]
cmp dword [eax + 0x18], 0
je 0x414427
cmp byte [ebp - 1], 0
jne 0x414427
mov byte [ebp - 2], 1
mov dword [edi + 0x264], eax
jmp 0x414427
mov edi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x4968]
test ecx, ecx
jne 0x41443a
mov ecx, dword [eax + 0x47fc]
cmp byte [ebp - 0x24], 0
jne 0x414458
test ecx, ecx
je 0x414452
mov eax, dword [edi + 0x308]
cmp eax, dword [ecx + 0x308]
je 0x414458
mov byte [ebp - 0x3c], 0
jmp 0x41445c
mov byte [ebp - 0x3c], 1
movd xmm0, esi
lea eax, [ebp - 0x130]
push ecx
cvtdq2ps xmm0, xmm0
lea edx, [ebp - 0x90]
movss dword [esp], xmm0
push eax
push dword [ebp - 0x40]
push ecx
push dword [ebp - 0x3c]
mov ecx, edi
call fcn.00411e80
add esp, 0x14
cmp byte [ebp - 2], 0
je 0x414499
lea eax, [edi + 0x268]
mov dword [edi + 0x264], eax
mov ecx, dword [ebp - 0x10]
xorps xmm2, xmm2
movss xmm4, dword [edi + 0x3c]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jnp 0x4144bc
movaps xmm7, xmm4
jmp 0x4144f8
movss xmm0, dword [edi + 0x44]
mov eax, ecx
movss xmm1, dword [edi + 0x1c]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
movss xmm0, dword [edi + 0x5c]
addss xmm0, dword [edi + 0x54]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x4144f1
movss xmm7, dword [edi + 0x2c]
jmp 0x4144f4
xorps xmm7, xmm7
maxss xmm7, xmm1
movss xmm5, dword [edi + 0x40]
ucomiss xmm5, xmm2
lahf
test ah, 0x44
jnp 0x41450b
movaps xmm6, xmm5
jmp 0x41453d
movss xmm0, dword [edi + 0x48]
movss xmm1, dword [edi + 0x20]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x60]
addss xmm0, dword [edi + 0x58]
subss xmm1, xmm0
test dl, dl
je 0x414536
movss xmm6, dword [edi + 0x30]
jmp 0x414539
xorps xmm6, xmm6
maxss xmm6, xmm1
movss xmm1, dword [edi + 0x44]
mov ecx, 0x14
movss xmm2, dword [edi + 0x78]
movss xmm0, dword [edi + 0x1d0]
subss xmm0, xmm2
movss dword [ebp - 0x40], xmm1
maxss xmm1, dword [edi + 0x50]
movss dword [ebp - 0x3c], xmm2
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [edi + 0x1f0], xmm2
addss xmm2, xmm7
movss xmm0, dword [edi + 0x7c]
movss xmm1, dword [edi + 0x48]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [edi + 0x1d4]
subss xmm0, dword [ebp - 0xc]
movss dword [ebp - 0x58], xmm1
maxss xmm1, dword [edi + 0x50]
addss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [ebp - 0x58]
movd xmm0, eax
mov eax, edi
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f4], xmm0
addss xmm6, xmm0
movss dword [edi + 0x1f8], xmm2
movss xmm2, dword [ebp - 0x40]
movss dword [edi + 0x1fc], xmm6
movups xmm0, xmmword [edi + 0x1f0]
movups xmmword [edi + 0x200], xmm0
movss xmm0, dword [ecx + eax]
movss xmm6, dword [edi + 0x54]
movaps xmm3, xmm0
subss xmm3, dword [ebp - 0x3c]
movss dword [ebp - 0x64], xmm0
addss xmm3, xmm2
addss xmm3, xmm6
movss dword [edi + 0x220], xmm3
movss xmm0, dword [edi + 0x18]
movss xmm7, dword [edi + 0x58]
movss dword [ebp - 0x50], xmm0
subss xmm0, dword [ebp - 0xc]
addss xmm0, xmm1
addss xmm0, xmm7
movss dword [ebp - 0x40], xmm0
movss dword [edi + 0x224], xmm0
xorps xmm0, xmm0
ucomiss xmm4, xmm0
lahf
test ah, 0x44
jp 0x414668
movss xmm4, dword [edi + 0x1c]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm4, xmm0
movaps xmm0, xmm6
addss xmm0, dword [edi + 0x5c]
subss xmm4, xmm0
xorps xmm0, xmm0
ucomiss xmm5, xmm0
addss xmm4, xmm3
lahf
movss dword [edi + 0x228], xmm4
test ah, 0x44
jp 0x414699
movss xmm5, dword [edi + 0x20]
movaps xmm0, xmm1
addss xmm0, xmm1
subss xmm5, xmm0
movaps xmm0, xmm7
addss xmm0, dword [edi + 0x60]
subss xmm5, xmm0
movss xmm0, dword [ebp - 0x40]
lea ecx, [edi + 0x15c]
movss xmm4, dword [ebp - 0x3c]
addss xmm0, xmm5
movss xmm3, dword [ebp - 0x64]
cvtps2pd xmm3, xmm3
mov esi, dword [ebp - 0x18]
movss dword [edi + 0x22c], xmm0
movaps xmm0, xmm6
addss xmm0, xmm2
subss xmm0, xmm4
movss dword [edi + 0x134], xmm0
cvtps2pd xmm0, xmm2
mov dword [edi + 0x13c], 0
mov dword [edi + 0x138], 0
movss xmm2, dword [ebp - 0x50]
addsd xmm3, xmm0
cvtps2pd xmm0, xmm4
cvtps2pd xmm2, xmm2
subsd xmm3, xmm0
cvtps2pd xmm0, xmm6
addsd xmm3, xmm0
cvtps2pd xmm0, xmm1
addsd xmm3, qword [0x53f708]
addsd xmm2, xmm0
movss xmm0, dword [ebp - 0xc]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtps2pd xmm0, xmm7
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [edi + 0x100], xmm0
movss dword [edi + 0x104], xmm1
movss xmm0, dword [edi + 0x100]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0x104]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [edi + 0x140], xmm1
cvtpd2ps xmm0, xmm2
movss dword [edi + 0x144], xmm0
movss xmm1, dword [edi + 0x100]
movss xmm0, dword [edi + 0x104]
movss dword [edi + 0xf0], xmm1
movss dword [edi + 0xf4], xmm0
movss dword [edi + 0xf8], xmm1
movss dword [edi + 0xfc], xmm0
movss dword [edi + 0x108], xmm1
movss dword [edi + 0x10c], xmm0
movss dword [edi + 0x110], xmm1
xorps xmm1, xmm1
movss dword [edi + 0x114], xmm0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x118], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x128], 0
mov word [edi + 0x130], 0
mov dword [edi + 0x148], 0
mov ax, word [edi + 0x14e]
mov word [edi + 0x14c], ax
mov dword [edi + 0x14e], 0x10000
movss xmm0, dword [edi + 0x84]
comiss xmm0, xmm1
seta al
cmp byte [ebp - 5], 0
mov byte [edi + 0x152], al
mov byte [edi + 0x153], 0
movss xmm1, dword [esi + 0x37cc]
je 0x41485f
xorps xmm0, xmm0
movq qword [ecx + 0x12], xmm0
cvttss2si eax, xmm1
push ecx
mov word [ecx + 8], ax
call fcn.00432420
xorps xmm0, xmm0
movq qword [edi + 0x16e], xmm0
mov eax, dword [edi + 0x160]
mov dword [edi + 0x15c], eax
lea eax, [edi + 0x180]
mov dword [edi + 0x160], 0
mov dword [edi + 0x178], 0
mov dword [edi + 0x17c], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x4148d1
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x180]
call fcn.0041e840
lea eax, [edi + 0x180]
mov dword [eax], 0
lea eax, [edi + 0x244]
mov dword [edi + 0x18c], eax
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x190], 0
mov dword [edi + 0x198], 1
test eax, eax
je 0x414906
mov eax, dword [eax + 0x198]
jmp 0x41490b
mov eax, 1
mov dword [edi + 0x19c], eax
mov eax, dword [edi + 0x240]
mov dword [edi + 0x1a0], eax
lea eax, [edi + 0x1a8]
mov dword [edi + 0x1a4], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x414956
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x1a8]
call fcn.0041e840
lea eax, [edi + 0x1a8]
mov dword [eax], 0
lea eax, [edi + 0x1b4]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x41498b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x1b4]
call fcn.0041e840
lea eax, [edi + 0x1b4]
mov dword [eax], 0
mov al, byte [edi + 0xc4]
test al, al
jle 0x4149a3
dec al
mov byte [edi + 0xc4], al
mov al, byte [edi + 0xc5]
test al, al
jle 0x4149b5
dec al
mov byte [edi + 0xc5], al
cmp byte [ebp - 0x24], 0
je 0x4149d8
mov edx, 2
mov ecx, edi
call fcn.00414ee0
cmp edi, dword [esi + 0x47fc]
jne 0x4149d8
xor dl, dl
mov ecx, edi
call fcn.00419d80
test byte [ebp - 0x10], 1
jne 0x414a24
movss xmm0, dword [ebp - 0x34]
lea edx, [ebp - 0x80]
addss xmm0, dword [edi + 0x50]
push ecx
push dword [ebp - 0x60]
mov ecx, edi
movss dword [ebp - 0x80], xmm0
movss xmm0, dword [ebp - 0x8c]
movss dword [ebp - 0x7c], xmm0
movss xmm0, dword [ebp - 0x20]
subss xmm0, dword [edi + 0x50]
movss dword [ebp - 0x78], xmm0
movss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x74], xmm0
call fcn.004125e0
add esp, 8
mov edx, dword [0x542698]
xor eax, eax
movss xmm3, dword [ebp - 0x34]
movss xmm4, dword [ebp - 0x20]
movss xmm2, dword [ebp - 0x14]
movss xmm5, dword [ebp - 0x8c]
mov dword [edi + 0x230], eax
movss xmm1, dword [edx + 0x37e4]
movss xmm0, dword [edx + 0x37e8]
subss xmm3, xmm1
addss xmm4, xmm1
movss xmm1, dword [edx + 0xdb8]
addss xmm2, xmm0
subss xmm5, xmm0
comiss xmm1, xmm3
jb 0x414a94
movss xmm0, dword [edx + 0xdbc]
comiss xmm0, xmm5
jb 0x414a94
comiss xmm4, xmm1
jbe 0x414a94
comiss xmm2, xmm0
mov dword [ebp - 0x34], 1
ja 0x414a97
mov dword [ebp - 0x34], eax
mov eax, dword [edi + 0x70]
mov ecx, dword [esi + 0x46d0]
movaps xmm0, xmmword [ebp - 0x90]
mov dword [edx + 0x46f0], eax
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x46f4], ecx
mov dword [edx + 0x46f8], eax
movups xmmword [edx + 0x470c], xmm0
movups xmmword [edx + 0x46fc], xmm0
mov eax, dword [esi + 0x46d4]
test eax, eax
je 0x414b00
cmp dword [edi + 8], eax
je 0x414ade
cmp dword [edi + 0x70], eax
jne 0x414b00
call fcn.0041dec0
jmp 0x414b00
mov ecx, edi
call fcn.0040c9e0
mov eax, dword [ebp - 0x10]
mov ecx, eax
and ecx, 0x1000000
and eax, 0x40
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x2c], eax
mov ecx, dword [0x542698]
lea edx, [edi + 0x1e0]
push 1
mov eax, dword [ecx + 0x3e78]
mov byte [eax + 0xac], 1
lea eax, [edi + 0x1e8]
mov esi, dword [ecx + 0x3e78]
push eax
push edx
mov ecx, dword [esi + 0x264]
call fcn.004271b0
mov eax, dword [esi + 0x264]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x210], eax
mov eax, dword [ebp - 0x48]
movss dword [esi + 0x214], xmm0
movss dword [esi + 0x218], xmm1
movss dword [esi + 0x21c], xmm2
mov byte [edi + 0xac], 0
inc word [edi + 0xb6]
mov dword [ecx + 0x472c], 0
cmp eax, dword [ebp - 0x4c]
je 0x414d04
cmp dword [ebp - 0x1c], 0
je 0x414c70
cmp dword [ebp - 0x2c], 0
jne 0x414c25
cmp byte [edi + 0xc4], 0
jg 0x414c25
cmp byte [edi + 0xc5], 0
jg 0x414c25
test dword [ebp - 0x10], 0x800000
je 0x414bed
cmp byte [ecx + 0x4838], 0
je 0x414bed
mov eax, dword [ecx + 0x47fc]
test eax, eax
je 0x414bed
mov eax, dword [eax + 0x30c]
cmp eax, dword [edi + 0x30c]
jne 0x414bed
mov al, 1
jmp 0x414bef
xor al, al
cmp byte [ecx + 0x5ae8], 0
jne 0x414c25
test al, al
jne 0x414c25
movss xmm0, dword [edi + 0x1c0]
comiss xmm0, dword [edi + 0x1c8]
jae 0x414c1e
movss xmm0, dword [edi + 0x1c4]
comiss xmm0, dword [edi + 0x1cc]
jb 0x414c25
mov byte [edi + 0xcc], 1
mov eax, dword [ebp - 0x30]
lea edx, [edi + 0xcc]
test eax, eax
je 0x414c76
cmp byte [eax + 0xad], 0
jne 0x414c4c
cmp byte [eax + 0xcc], 0
jg 0x414c4c
lea edx, [edi + 0xcc]
jmp 0x414c55
lea edx, [edi + 0xcc]
mov byte [edx], 1
cmp byte [eax + 0xad], 0
jne 0x414c67
cmp byte [eax + 0xcd], 0
jle 0x414c76
mov byte [edi + 0xcd], 1
jmp 0x414c76
lea edx, [edi + 0xcc]
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x3780]
jb 0x414c85
mov byte [edx], 1
cmp byte [edx], 0
jg 0x414ca1
cmp byte [edi + 0xcd], 0
jg 0x414ca1
xor dl, dl
cmp byte [edi + 0xce], dl
jg 0x414ca3
xor al, al
jmp 0x414ca5
mov dl, 1
mov al, 1
mov byte [edi + 0xb1], al
mov al, byte [edi + 0xcf]
test al, al
jle 0x414cc4
dec al
mov byte [edi + 0xcf], al
or dword [edi + 0xc], 0xc0200
xor al, al
cmp byte [edi + 0xad], al
jne 0x414cda
cmp byte [edi + 0xaa], al
je 0x414cda
test dl, dl
je 0x414cfe
cmp byte [edi + 0xc4], 0
jg 0x414cfe
cmp byte [edi + 0xc5], 0
jg 0x414cfe
cmp byte [edi + 0xcd], 0
mov edx, 1
movzx eax, al
cmovle eax, edx
mov byte [edi + 0xaf], al
cmp byte [edi + 0xb2], 0
jne 0x414d5f
cmp byte [ecx + 0x64], 0
je 0x414d19
cmp dword [ebp - 0x68], 0
je 0x414d30
cmp byte [ecx + 0x65], 0
je 0x414d5f
movsx eax, byte [ecx + 0x5b3e]
mov ecx, dword [ebp - 0x98]
cmp eax, dword [ecx]
jne 0x414d5f
mov al, byte [edi + 0xc4]
test al, al
jle 0x414d42
inc al
mov byte [edi + 0xc4], al
mov al, byte [edi + 0xc5]
test al, al
jle 0x414d54
inc al
mov byte [edi + 0xc5], al
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp byte [edi + 0xaf], 0
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret