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

Disassembly:
sub esp, 0xfc
mov eax, dword [0x439018]
xor eax, esp
mov dword [esp + 0xf8], eax
mov ecx, dword [esp + 0x100]
mov eax, dword [esp + 0x104]
push ebx
mov ebx, dword [0x439050]
push ebp
push esi
push edi
push 0
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x11c]
push 0
push ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x20], eax
call fcn.0040e120
mov edi, eax
lea esi, [ebx + 0x3e48]
push edi
push esi
call fcn.0040fb10
mov edx, dword [esi]
add esp, 0x14
mov ecx, dword [esi + 8]
lea ecx, [ecx + edx*8]
cmp eax, ecx
je 0x407da8
cmp dword [eax], edi
jne 0x407da8
mov edi, dword [eax + 4]
test edi, edi
mov dword [esp + 0x2c], edi
sete al
mov byte [esp + 0x10], al
mov byte [esp + 0x24], al
test edi, edi
jne 0x407dcd
jmp 0x407dba
mov al, 1
mov dword [esp + 0x2c], 0
mov byte [esp + 0x10], al
mov byte [esp + 0x24], al
mov ebp, dword [esp + 0x14]
push ebp
push dword [esp + 0x4c]
call fcn.0040b440
add esp, 8
mov edi, eax
mov edx, dword [esp + 0x14]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x407de8
or edx, 6
mov dword [esp + 0x14], edx
cmp dword [ebx + 0x3e3c], 0
mov ebp, dword [ebx + 0x3de0]
mov esi, dword [edi + 0x238]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x4c], esi
jne 0x407e12
cmp byte [ebx + 0x3ded], 0
je 0x407e12
mov al, 1
jmp 0x407e14
xor al, al
mov byte [edi + 0xb2], al
lea eax, [ebp - 1]
cmp esi, eax
setl ch
mov byte [esp + 0x44], ch
test edx, 0x4000000
je 0x407e60
mov eax, dword [ebx + 0x47c8]
mov edx, dword [ebx + 0x47c4]
lea esi, [eax + eax*4]
mov eax, dword [edi + 0xc0]
cmp edi, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x4c]
setne al
or cl, al
or ch, cl
mov byte [esp + 0x44], ch
mov byte [edi + 0xb0], ch
test ch, ch
je 0x407e7f
or byte [edi + 0xd0], 8
or byte [edi + 0xd1], 8
or byte [edi + 0xd2], 8
cmp esi, ebp
je 0x407ed1
push edx
push dword [esp + 0x28]
push edi
call fcn.0041ac90
mov edx, dword [esp + 0x20]
xor eax, eax
mov dword [edi + 0xc], edx
add esp, 0xc
mov dword [edi + 0x238], ebp
movsd xmm0, qword [ebx + 0x3dd8]
cvtpd2ps xmm0, xmm0
mov word [edi + 0xba], ax
movss dword [edi + 0x23c], xmm0
mov ax, word [ebx + 0x3e54]
mov word [edi + 0xbc], ax
inc dword [ebx + 0x3e54]
jmp 0x407ed8
mov edx, dword [edi + 0xc]
mov dword [esp + 0x14], edx
mov eax, dword [ebx + 0x3e3c]
test eax, eax
je 0x407eef
imul ecx, eax, 0x54
mov eax, dword [ebx + 0x3e44]
mov eax, dword [ecx + eax - 0x54]
mov dword [esp + 0x18], eax
cmp esi, ebp
je 0x407f07
mov ebp, edx
and ebp, 0x5000000
neg ebp
sbb ebp, ebp
and ebp, eax
jmp 0x407f0d
mov ebp, dword [edi + 0x2f8]
cmp dword [edi + 0xe4], 0
lea esi, [edi + 0xe4]
mov dword [esp + 0x24], ebp
jne 0x407f3c
cmp dword [esi + 4], 0
jne 0x407f2f
push 8
mov ecx, esi
call fcn.0041c560
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [edi + 8]
mov dword [ecx + edx*4], eax
inc dword [esi]
push 0x3c
lea eax, [esp + 0xac]
mov dword [ebx + 0x3e60], edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx + 0x4710]
xorps xmm0, xmm0
movups xmmword [esp + 0xf0], xmm0
mov dword [esp + 0xec], eax
add esp, 0xc
movzx eax, word [esi]
lea esi, [ebx + 0x3e3c]
movups xmm0, xmmword [ebx + 0x46d8]
mov word [esp + 0xe4], ax
movzx eax, word [ebx + 0x4774]
mov ecx, dword [esi]
mov word [esp + 0xe6], ax
movzx eax, word [ebx + 0x4780]
mov word [esp + 0xe8], ax
movzx eax, word [ebx + 0x478c]
mov word [esp + 0xea], ax
movzx eax, word [ebx + 0x4798]
mov word [esp + 0xec], ax
movzx eax, word [ebx + 0x47b0]
movups xmmword [esp + 0xa8], xmm0
mov word [esp + 0xee], ax
movups xmm0, xmmword [ebx + 0x46e8]
movzx eax, word [ebx + 0x47a4]
mov word [esp + 0xf0], ax
movzx eax, word [ebx + 0x47c8]
movups xmmword [esp + 0xb8], xmm0
mov word [esp + 0xf2], ax
movups xmm0, xmmword [ebx + 0x46f8]
movzx eax, word [ebx + 0x5a38]
mov word [esp + 0xf4], 0
movups xmmword [esp + 0xc8], xmm0
mov word [esp + 0xf4], ax
movq xmm0, qword [ebx + 0x4708]
mov eax, dword [esi + 4]
mov dword [esp + 0xa4], edi
movq qword [esp + 0xd8], xmm0
cmp ecx, eax
jne 0x408070
inc ecx
test eax, eax
je 0x40805e
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x408063
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0041c810
imul eax, dword [esi], 0x54
mov ecx, dword [esi + 8]
movups xmm0, xmmword [esp + 0xa4]
add ecx, eax
mov eax, dword [esp + 0xf4]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esp + 0xb4]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [esp + 0xc4]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [esp + 0xd4]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [esp + 0xe4]
movups xmmword [ecx + 0x40], xmm0
mov dword [ecx + 0x50], eax
inc dword [esi]
mov ecx, dword [esp + 0x14]
test ecx, 0x10000000
je 0x4080d1
inc dword [ebx + 0x47e0]
mov eax, dword [esp + 0x4c]
cmp eax, dword [esp + 0x5c]
je 0x408181
mov dword [edi + 0x2f8], ebp
mov dword [edi + 0x30c], edi
mov dword [edi + 0x308], edi
mov dword [edi + 0x304], edi
mov dword [edi + 0x300], edi
test ebp, ebp
je 0x40814b
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x40811b
mov eax, dword [ebp + 0x300]
mov dword [edi + 0x300], eax
test ecx, 0x4000000
je 0x40812f
mov eax, dword [ebp + 0x304]
mov dword [edi + 0x304], eax
test ecx, 0x8000000
jne 0x40814b
test ecx, 0x5000000
je 0x40814b
mov eax, dword [ebp + 0x308]
mov dword [edi + 0x308], eax
test dword [edi + 0xc], 0x800000
je 0x408177
mov ecx, edi
nop word [eax + eax]
mov eax, dword [ecx + 0x2f8]
mov ecx, eax
mov dword [edi + 0x30c], eax
test dword [ecx + 0xc], 0x800000
jne 0x408160
mov eax, dword [esp + 0x18]
mov dword [edi + 0x2fc], eax
mov eax, dword [0x439050]
mov ebp, dword [eax + 0x4798]
lea esi, [eax + 0x4798]
mov ecx, dword [esi + 4]
mov edx, dword [edi + 8]
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], eax
cmp ebp, ecx
jne 0x4081ca
inc ebp
test ecx, ecx
je 0x4081b4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x4081b9
mov eax, 8
cmp eax, ebp
mov ecx, esi
cmovg ebp, eax
push ebp
call fcn.0041c560
mov edx, dword [esp + 0x30]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov ebp, dword [esp + 0x14]
mov dword [eax + ecx*4], edx
mov eax, dword [esp + 0x20]
inc dword [esi]
mov dword [eax + 0x46b4], edx
mov eax, dword [ebx + 0x46b4]
mov dword [edi + 0x34c], eax
mov dword [ebx + 0x3e60], 0
test ebp, 0x4000000
je 0x408237
mov eax, dword [ebx + 0x47c8]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x47c4]
mov dword [eax + ecx*8 + 4], edi
lea esi, [eax + ecx*8]
mov eax, dword [esp + 0x18]
push esi
lea ecx, [ebx + 0x47c8]
mov eax, dword [eax + 0x148]
mov dword [esi + 0xc], eax
call fcn.0041c140
mov eax, dword [esi]
mov dword [edi + 0xc0], eax
xor dl, dl
mov byte [esp + 0x13], 0
test byte [ebx + 0x4714], 1
mov byte [esp + 0x11], dl
mov byte [esp + 0x12], dl
je 0x4082f1
mov dl, byte [edi + 0xd0]
mov ecx, dword [ebx + 0x4718]
movsx eax, dl
test ecx, eax
setne byte [esp + 0x13]
test ecx, eax
je 0x4082e0
movss xmm1, dword [ebx + 0x4730]
movss xmm0, dword [ebx + 0x472c]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x432f78]
jbe 0x4082e0
mov eax, dword [ebx + 0x4724]
mov ecx, dword [ebx + 0x4728]
mov dword [edi + 0xd8], ecx
mov dword [edi + 0xd4], eax
mov eax, dword [ebx + 0x472c]
mov ecx, dword [ebx + 0x4730]
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 0x4082f1
push ecx
lea eax, [ebx + 0x4724]
push eax
push edi
call fcn.00417be0
add esp, 0xc
test byte [ebx + 0x4714], 2
xorps xmm1, xmm1
je 0x408357
movsx eax, byte [edi + 0xd1]
mov ecx, dword [ebx + 0x471c]
and eax, ecx
je 0x408322
movss xmm0, dword [ebx + 0x4734]
comiss xmm0, xmm1
jbe 0x408322
mov byte [esp + 0x11], 1
jmp 0x40832c
xor dl, dl
mov byte [esp + 0x11], dl
test eax, eax
je 0x40833e
movss xmm0, dword [ebx + 0x4738]
comiss xmm0, xmm1
mov byte [esp + 0x12], 1
ja 0x408343
mov byte [esp + 0x12], 0
push ecx
lea eax, [ebx + 0x4734]
push eax
push edi
call fcn.00417d40
add esp, 0xc
xorps xmm1, xmm1
test byte [ebx + 0x4714], 0x80
je 0x40839e
movss xmm0, dword [ebx + 0x4744]
comiss xmm0, xmm1
jb 0x40837f
movss dword [edi + 0x88], xmm0
mov dword [edi + 0x90], 0
movss xmm0, dword [ebx + 0x4748]
comiss xmm0, xmm1
jb 0x40839e
movss dword [edi + 0x8c], xmm0
mov dword [edi + 0x94], 0
test byte [ebx + 0x4714], 4
mov esi, dword [esp + 0x5c]
je 0x4083bf
mov eax, dword [ebx + 0x473c]
mov ecx, dword [ebx + 0x4740]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
jmp 0x4083d3
cmp dword [esp + 0x4c], esi
je 0x4083d3
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
test byte [ebx + 0x4714], 8
je 0x408420
mov ecx, dword [ebx + 0x4720]
mov dl, byte [ebx + 0x474c]
test ecx, ecx
je 0x4083f7
movsx eax, byte [edi + 0xd2]
test ecx, eax
je 0x408420
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 [ebx + 0x4714], 0x20
je 0x408434
push 0
push edi
call fcn.0040d190
add esp, 8
cmp byte [edi + 0xb0], 0
je 0x408452
and byte [edi + 0xd0], 0xf7
and byte [edi + 0xd1], 0xf7
and byte [edi + 0xd2], 0xf7
cmp dword [esp + 0x4c], esi
je 0x409ce3
mov eax, ebp
mov byte [edi + 0xaa], 1
and eax, 0x3000000
cmp dword [esp + 0x80], 0
mov dword [esp + 0x20], eax
mov al, byte [edi + 0xcd]
mov byte [esp + 0x2b], al
setne al
mov byte [edi + 0xb4], al
mov dword [edi + 0x210], 0xff7fffff
mov dword [edi + 0x214], 0xff7fffff
mov dword [edi + 0x218], 0x7f7fffff
mov dword [edi + 0x21c], 0x7f7fffff
mov esi, dword [edi + 0xe8]
cmp esi, 1
jge 0x4084e8
test esi, esi
je 0x4084cd
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x4084d2
mov ecx, 8
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
lea ecx, [edi + 0xe4]
push eax
call fcn.0041c560
mov dword [edi + 0xe4], 1
mov ecx, dword [edi + 0x264]
call fcn.00426810
cmp byte [edi + 0x358], 0
mov dword [edi + 0x194], 0xffffffff
je 0x4085ce
mov ecx, dword [edi + 0x264]
push dword [edi + 0x350]
add ecx, 0xc
mov byte [edi + 0x358], 0
call fcn.0041c4e0
mov esi, dword [edi + 0x264]
mov ebp, dword [edi + 0x354]
cmp ebp, dword [esi + 0x1c]
jle 0x4085ba
mov eax, dword [0x439050]
test eax, eax
je 0x40854f
inc dword [eax + 0xb0]
push dword [0x439058]
lea eax, [ebp*4]
add eax, ebp
shl eax, 2
push eax
call dword [0x439008]
mov edx, dword [esi + 0x20]
add esp, 8
mov dword [esp + 0x30], eax
test edx, edx
je 0x4085b4
mov ecx, dword [esi + 0x18]
lea ecx, [ecx + ecx*4]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x20]
add esp, 0xc
test ecx, ecx
je 0x4085a0
mov eax, dword [0x439050]
test eax, eax
je 0x4085a0
dec dword [eax + 0xb0]
push dword [0x439058]
push ecx
call dword [0x43900c]
mov eax, dword [esp + 0x38]
add esp, 8
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], ebp
mov dword [edi + 0x354], 0
mov dword [edi + 0x350], 0
cmp dword [ebx + 0x4964], 0
mov ebp, dword [esp + 0x2c]
je 0x4086b4
test dword [edi + 0xc], 0x80000
jne 0x4086b4
test ebp, ebp
je 0x4086b4
mov esi, dword [edi + 4]
mov ecx, esi
mov eax, dword [esp + 0x48]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x408620
test dl, dl
je 0x40861c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x408620
add eax, 2
add ecx, 2
test dl, dl
jne 0x408600
xor eax, eax
jmp 0x408625
sbb eax, eax
or eax, 1
test eax, eax
je 0x4086b4
mov ecx, dword [esp + 0x48]
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x18], edx
lea ebp, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408640
sub ecx, ebp
lea ebp, [ecx + 1]
cmp edx, ebp
jae 0x408698
test esi, esi
je 0x408663
mov eax, dword [0x439050]
test eax, eax
je 0x408663
dec dword [eax + 0xb0]
push dword [0x439058]
push esi
call dword [0x43900c]
mov eax, dword [0x439050]
add esp, 8
test eax, eax
je 0x408682
inc dword [eax + 0xb0]
push dword [0x439058]
push ebp
call dword [0x439008]
add esp, 8
mov dword [esp + 0x18], ebp
mov esi, eax
push ebp
push dword [esp + 0x4c]
push esi
call sub.VCRUNTIME140.dll_memcpy
mov ebp, dword [esp + 0x38]
add esp, 0xc
mov dword [edi + 4], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x6c], eax
lea eax, [edi + 0x34]
push eax
lea eax, [edi + 0x2c]
push eax
push edi
call fcn.0040a6f0
mov al, byte [edi + 0xcc]
add esp, 0xc
test al, al
jle 0x4086d7
dec al
mov byte [edi + 0xcc], al
mov al, byte [edi + 0xcd]
test al, al
jle 0x4086e9
dec al
mov byte [edi + 0xcd], al
mov al, byte [edi + 0xce]
test al, al
jle 0x4086fb
dec al
mov byte [edi + 0xce], al
mov al, byte [esp + 0x11]
mov cl, byte [esp + 0x12]
test ebp, ebp
jne 0x408716
test al, al
je 0x40870f
test cl, cl
jne 0x408716
mov byte [edi + 0xcd], 1
cmp byte [esp + 0x44], 0
mov edx, dword [esp + 0x14]
je 0x408775
test edx, 0x6000000
je 0x408775
mov byte [edi + 0xcd], 1
test dl, 0x40
je 0x408775
test al, al
jne 0x408747
mov dword [edi + 0x24], 0
mov dword [edi + 0x1c], 0
test cl, cl
jne 0x408759
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 [0x439050]
mov eax, dword [eax + 0x47ec]
mov eax, dword [eax]
mov dword [edi + 0x10], eax
mov ecx, dword [0x439050]
mov dword [esp + 0x50], eax
mov dword [ecx + 0x3e60], edi
mov eax, dword [edi + 0x194]
cmp eax, 0xffffffff
je 0x4087ae
imul eax, eax, 0x1f0
add eax, dword [ecx + 0x4a44]
jmp 0x4087b0
xor eax, eax
mov dword [ecx + 0x4a28], eax
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3bd0]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x4087da
mulss xmm0, dword [eax + 0x25c]
movss dword [ecx + 0x3be0], xmm0
movss dword [ecx + 0x3bcc], xmm0
mov eax, dword [0x439050]
cmp dword [eax + 0x4a28], 0
mov ecx, dword [eax + 0x3e60]
jne 0x40880b
cmp dword [ecx + 0x190], 0
jne 0x40880b
mov al, 1
jmp 0x40880d
xor al, al
mov byte [ecx + 0x150], al
test edx, 0x1000000
je 0x408825
movss xmm1, dword [ebx + 0x37b8]
jmp 0x408847
test edx, 0x6000000
je 0x40883f
test edx, 0x8000000
jne 0x40883f
movss xmm1, dword [ebx + 0x37c0]
jmp 0x408847
movss xmm1, dword [ebx + 0x379c]
mov eax, edi
movss dword [eax + 0x50], xmm1
mov eax, dword [ebx + 0x3790]
mov ecx, dword [ebx + 0x3794]
mov dword [edi + 0x44], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x48], ecx
cmp eax, 0x1000000
jne 0x408896
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x408896
test edx, 0x400
je 0x40888a
movss xmm0, dword [ebx + 0x3794]
mov dword [edi + 0x44], 0
movss dword [edi + 0x48], xmm0
movss xmm0, dword [edi + 0x44]
maxss xmm0, dword [ebx + 0x37d4]
maxss xmm0, dword [ebx + 0x476c]
movss dword [edi + 0x154], xmm0
mov eax, dword [ebx + 0x4770]
mov dword [edi + 0x158], eax
mov al, byte [esp + 0x10]
mov dword [esp + 0x18], eax
test dl, 0x21
jne 0x408959
lea eax, [esp + 0x70]
mov ecx, edi
push eax
call fcn.00418d80
cmp dword [ebx + 0x3e64], edi
jne 0x40891f
cmp dword [ebx + 0x3e98], 0
jne 0x40891f
cmp dword [ebx + 0x3e9c], 0
jne 0x40891f
push 1
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0040ee80
add esp, 0xc
test al, al
je 0x40891f
cmp word [ebx + 0x370a], 2
jne 0x40891f
mov byte [edi + 0xae], 1
cmp byte [edi + 0xae], 0
je 0x408960
mov cl, byte [edi + 0xad]
test cl, cl
push edi
sete al
test cl, cl
mov byte [edi + 0xad], al
mov ecx, 1
mov eax, dword [esp + 0x1c]
movzx eax, al
cmovne eax, ecx
mov dword [esp + 0x1c], eax
call fcn.0040fb50
add esp, 4
jmp 0x408960
mov byte [edi + 0xad], 0
movss xmm0, dword [edi + 0xa0]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [edi + 0xa4]
mov byte [edi + 0xae], 0
movss dword [esp + 0x58], xmm0
mov dword [edi + 0x54], 0
mov dword [edi + 0x5c], 0
test dl, 1
je 0x4089a0
xorps xmm2, xmm2
jmp 0x4089d5
movss xmm0, dword [edi + 0x25c]
mov edx, dword [edi + 0x2f8]
mulss xmm0, dword [ecx + 0x3bd0]
test edx, edx
je 0x4089c2
mulss xmm0, dword [edx + 0x25c]
movss xmm2, dword [ecx + 0x37c8]
mov edx, dword [edi + 0xc]
addss xmm2, xmm2
addss xmm2, xmm0
test edx, 0x400
je 0x408a19
movss xmm1, dword [edi + 0x25c]
mov eax, dword [edi + 0x2f8]
mulss xmm1, dword [ecx + 0x3bd0]
test eax, eax
je 0x4089ff
mulss xmm1, dword [eax + 0x25c]
movss xmm0, dword [ecx + 0x37c8]
addss xmm1, dword [edi + 0x158]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x408a1c
xorps xmm1, xmm1
lea eax, [edi + 0x34]
mov dword [edi + 0x60], 0
push eax
addss xmm1, xmm2
mov dword [edi + 0xa0], 0
lea eax, [esp + 0x40]
mov dword [edi + 0xa4], 0
push edi
push eax
movss dword [edi + 0x58], xmm1
call fcn.0040a4f0
add esp, 0xc
test byte [esp + 0x14], 0x40
je 0x408a9d
cmp byte [edi + 0xad], 0
jne 0x408a9d
cmp byte [esp + 0x11], 0
jne 0x408a79
movss xmm0, dword [esp + 0x3c]
movss dword [edi + 0x24], xmm0
mov byte [esp + 0x10], 1
cmp byte [esp + 0x12], 0
jne 0x408b49
movss xmm0, dword [esp + 0x40]
mov eax, 1
movss dword [edi + 0x28], xmm0
mov dword [esp + 0x18], eax
jmp 0x408b49
mov al, byte [edi + 0xc4]
test al, al
jg 0x408ab4
cmp byte [edi + 0xc5], 0
jle 0x408b49
cmp byte [esp + 0x11], 0
jne 0x408ae5
test al, al
jle 0x408ae5
cmp byte [edi + 0xc7], 0
je 0x408ad5
movss xmm0, dword [edi + 0x24]
maxss xmm0, dword [esp + 0x3c]
jmp 0x408adb
movss xmm0, dword [esp + 0x3c]
movss dword [edi + 0x24], xmm0
mov byte [esp + 0x10], 1
cmp byte [esp + 0x12], 0
jne 0x408b1c
cmp byte [edi + 0xc5], 0
jle 0x408b1c
cmp byte [edi + 0xc7], 0
je 0x408b0b
movss xmm0, dword [edi + 0x28]
maxss xmm0, dword [esp + 0x40]
jmp 0x408b11
movss xmm0, dword [esp + 0x40]
mov al, 1
movss dword [edi + 0x28], xmm0
mov dword [esp + 0x18], eax
cmp byte [edi + 0xad], 0
jne 0x408b49
test dword [edi + 0xc], 0x100
mov ecx, dword [0x439050]
jne 0x408b49
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x5a7c]
jb 0x408b49
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x5a7c], eax
lea esi, [edi + 0x24]
push esi
lea eax, [esp + 0x38]
push edi
push eax
call fcn.0040a820
mov ebp, eax
add esp, 0xc
cmp byte [edi + 0xad], 0
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov dword [esi], ecx
mov dword [esi + 4], edx
je 0x408bab
test dword [esp + 0x14], 0x1000000
jne 0x408bab
lea eax, [esp + 0xf8]
mov ecx, edi
push eax
call fcn.00418d80
movss xmm0, dword [eax + 8]
subss xmm0, dword [eax]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 4]
movss dword [esp + 0x38], xmm0
jmp 0x408bb9
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
cmp byte [esp + 0x44], 0
lea ecx, [esp + 0x34]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0x14]
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
je 0x408c13
mov eax, edx
mov dword [edi + 0xc8], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x408c13
cmp byte [esp + 0x13], 0
jne 0x408c13
mov eax, dword [ebx + 0x47c8]
mov ecx, dword [ebx + 0x47d0]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*8 - 0x10]
mov ecx, dword [ecx + edx*8 - 0xc]
mov edx, dword [esp + 0x14]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
mov ebp, dword [esp + 0x24]
test edx, 0x1000000
je 0x408ca8
mov ax, word [ebp + 0x180]
lea esi, [ebp + 0x180]
mov word [edi + 0xba], ax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, ecx
jne 0x408c70
lea edx, [eax + 1]
mov dword [esp + 0x30], edx
test ecx, ecx
je 0x408c5a
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
add eax, ecx
jmp 0x408c5f
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.0041c560
mov edx, dword [esp + 0x14]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], edi
inc dword [esi]
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x20]
test edx, 0x4000000
jne 0x408cb0
test al, al
jne 0x408cb0
cmp ecx, 0x3000000
je 0x408cb0
mov eax, dword [ebp + 0xf0]
mov ecx, dword [ebp + 0xf4]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
mov ecx, dword [esp + 0x20]
mov al, byte [esp + 0x13]
movss xmm1, dword [edi + 0xd4]
ucomiss xmm1, dword [0x433008]
lahf
test ah, 0x44
jnp 0x408d16
cmp byte [edi + 0xcd], 0
jne 0x408d16
movss xmm0, dword [edi + 0xdc]
lea eax, [esp + 0x34]
mulss xmm0, dword [edi + 0x1c]
push 0
push eax
push edi
subss xmm1, xmm0
movss xmm0, dword [edi + 0xd8]
movss dword [esp + 0x40], xmm1
movss xmm1, dword [edi + 0x20]
mulss xmm1, dword [edi + 0xe0]
subss xmm0, xmm1
movss dword [esp + 0x44], xmm0
call fcn.00417be0
add esp, 0xc
jmp 0x408d5d
test edx, 0x10000000
jne 0x408d44
test edx, 0x4000000
je 0x408d30
test al, al
jne 0x408d30
cmp byte [esp + 0x2b], al
jg 0x408d44
test edx, 0x2000000
je 0x408d61
test al, al
jne 0x408d61
cmp ecx, 0x3000000
je 0x408d61
lea eax, [esp + 0x34]
push edi
push eax
call fcn.0040c5e0
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], eax
mov edx, dword [esp + 0x14]
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x50]
movss xmm3, dword [ebx + 0x3848]
movss xmm2, dword [ebx + 0x3844]
maxss xmm3, dword [ebx + 0x3850]
movss xmm7, dword [eax + 0x14]
movss xmm6, dword [eax + 0x18]
maxss xmm2, dword [ebx + 0x384c]
addss xmm7, dword [eax + 0x1c]
addss xmm6, dword [eax + 0x20]
movss xmm0, dword [eax + 4]
movss xmm1, dword [eax + 8]
movaps xmm5, xmm0
addss xmm5, dword [eax + 0xc]
movaps xmm4, xmm1
movss dword [esp + 0x70], xmm0
addss xmm4, dword [eax + 0x10]
subss xmm7, xmm2
movss dword [esp + 0x74], xmm1
addss xmm2, dword [eax + 0x14]
subss xmm6, xmm3
movss dword [esp + 0x78], xmm5
addss xmm3, dword [eax + 0x18]
movss dword [esp + 0x7c], xmm4
movss dword [esp + 0x9c], xmm7
movss dword [esp + 0x94], xmm2
movss dword [esp + 0xa0], xmm6
movss dword [esp + 0x98], xmm3
jne 0x408eb0
test edx, 0x1000000
jne 0x408eb0
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x408eb0
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x408eb0
mov eax, dword [0x439050]
movss xmm1, dword [edi + 0x20]
cmp byte [eax + 0x4b], 0
je 0x408e7b
test byte [edi + 0xc], 1
jne 0x408e7b
mov ecx, dword [edi]
mov eax, dword [edi + 0x2f8]
movss xmm0, dword [ecx + 0x3bd0]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x408e6b
mulss xmm0, dword [eax + 0x25c]
movss xmm1, dword [ecx + 0x37c8]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x18]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x1c]
comiss xmm3, xmm0
ja 0x408e95
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x14]
comiss xmm2, xmm0
ja 0x408ea6
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [edi + 0x14], xmm2
movss dword [edi + 0x18], xmm3
cvttss2si eax, dword [edi + 0x14]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x18]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0x14], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x18], xmm0
test edx, 0x1000000
je 0x408ee4
movss xmm2, dword [ebx + 0x37b4]
jmp 0x408f04
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x408efc
movss xmm2, dword [ebx + 0x37bc]
jmp 0x408f04
movss xmm2, dword [ebx + 0x3798]
xor al, al
movss dword [edi + 0x4c], xmm2
mov dword [esp + 0x24], eax
cmp byte [esp + 0x44], al
je 0x408f41
test edx, 0x1000
jne 0x408f41
test edx, 0x4000000
je 0x408f2c
mov byte [esp + 0x24], 1
jmp 0x408f41
test edx, 0x3000000
movzx eax, al
mov ecx, 1
cmove eax, ecx
mov dword [esp + 0x24], eax
movss xmm1, dword [ebx + 0x3bcc]
xorps xmm0, xmm0
addss xmm2, dword [0x431830]
movups xmmword [esp + 0xf8], xmm0
mov dword [esp + 0x30], 0xffffffff
xor eax, eax
cmp byte [ebx + 0x4a], al
movaps xmm0, xmm1
mulss xmm1, dword [0x432f88]
setne al
mulss xmm0, dword [0x432fc0]
inc eax
cmp byte [edi + 0xad], 0
addss xmm1, xmm2
mov dword [esp + 0x34], eax
maxss xmm0, xmm1
cvttss2si esi, xmm0
jne 0x408fcd
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0xfc]
push ecx
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x4c]
push eax
push edi
call fcn.0041add0
mov edx, dword [esp + 0x2c]
add esp, 0x18
test al, al
je 0x408fcd
mov cl, 1
mov byte [esp + 0x10], cl
jmp 0x408fd1
mov ecx, dword [esp + 0x18]
cmp byte [edi + 0xad], 0
mov al, byte [esp + 0x30]
mov byte [edi + 0xb5], al
jne 0x40915b
cmp dword [esp + 0x2c], 0
lea eax, [esp + 0x3c]
movss xmm0, dword [edi + 0x60]
movss xmm2, dword [edi + 0x1d8]
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 [esp + 0x54]
addss xmm3, dword [esp + 0x58]
jne 0x409049
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
jmp 0x409071
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 [esp + 0x3c], xmm0
movss dword [esp + 0x40], xmm1
cmp byte [esp + 0x10], 0
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
jne 0x409084
movaps xmm5, xmm2
test cl, cl
jne 0x40908b
movaps xmm4, xmm3
test edx, 0x4000
jne 0x4090a1
comiss xmm6, xmm4
jbe 0x40909d
test dl, 8
je 0x4090a1
xor cl, cl
jmp 0x4090a3
mov cl, 1
mov byte [edi + 0xa9], cl
test edx, 0x8000
jne 0x4090f0
xorps xmm0, xmm0
test cl, cl
je 0x4090c2
movss xmm1, dword [ebx + 0x37fc]
jmp 0x4090c5
xorps xmm1, xmm1
subss xmm5, xmm1
comiss xmm7, xmm5
jbe 0x4090dc
mov eax, edx
and eax, 0x808
cmp eax, 0x800
je 0x4090f0
mov eax, dword [esp + 0x2c]
xorps xmm1, xmm1
mov byte [edi + 0xa8], 0
mov dword [esp + 0x2c], eax
jmp 0x409128
mov eax, dword [esp + 0x2c]
mov byte [edi + 0xa8], 1
mov dword [esp + 0x2c], eax
test cl, cl
jne 0x40911d
comiss xmm6, xmm4
jbe 0x409111
test dl, 8
jne 0x409111
mov cl, 1
jmp 0x409113
xor cl, cl
mov byte [edi + 0xa9], cl
mov dword [esp + 0x2c], eax
movss xmm1, dword [ebx + 0x37fc]
xorps xmm0, xmm0
test cl, cl
je 0x409134
movss xmm0, dword [ebx + 0x37fc]
movss dword [edi + 0xa0], xmm0
addss xmm0, dword [edi + 0x5c]
movss dword [edi + 0xa4], xmm1
movss dword [edi + 0x5c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x60]
movss dword [edi + 0x60], xmm0
mov eax, edx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x409179
cmp dword [esp + 0x20], 0x3000000
lea eax, [ebp + 0x210]
jne 0x40917d
lea eax, [esp + 0x70]
test byte [edi + 0xc], 1
movups xmm0, xmmword [eax]
mov ecx, dword [edi]
movss xmm7, dword [edi + 0x14]
movss xmm3, dword [edi + 0x18]
movaps xmm5, xmm7
addss xmm5, dword [edi + 0x1c]
movaps xmm6, xmm3
addss xmm6, dword [edi + 0x20]
movups xmmword [esp + 0x84], xmm0
je 0x4091af
xorps xmm2, xmm2
jmp 0x4091e1
movss xmm0, dword [ecx + 0x3bd0]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x4091d1
mulss xmm0, dword [eax + 0x25c]
movss xmm2, dword [ecx + 0x37c8]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [edi + 0x18]
addss xmm2, xmm3
movaps xmm1, xmm7
movss dword [esp + 0x64], xmm0
addss xmm1, dword [edi + 0x24]
movss dword [esp + 0x60], xmm7
mov eax, edx
and eax, 0x401
xorps xmm4, xmm4
movss dword [esp + 0x6c], xmm2
movss dword [esp + 0x68], xmm1
movss dword [edi + 0x1c0], xmm7
movss dword [edi + 0x1c4], xmm3
movss dword [edi + 0x1c8], xmm5
movss dword [edi + 0x1cc], xmm6
movss xmm0, dword [edi + 0x1c0]
movss xmm5, dword [esp + 0x84]
movss xmm6, dword [esp + 0x88]
maxss xmm0, xmm5
maxss xmm3, xmm6
movss dword [edi + 0x1c0], xmm0
movss dword [edi + 0x1c4], xmm3
movss xmm1, dword [edi + 0x1c8]
movss xmm0, dword [edi + 0x1cc]
minss xmm0, dword [esp + 0x90]
minss xmm1, dword [esp + 0x8c]
movss dword [edi + 0x1cc], xmm0
movss dword [edi + 0x1c8], xmm1
movss xmm7, dword [edi + 0x14]
movaps xmm0, xmm7
addss xmm0, dword [edi + 0x54]
addss xmm7, dword [edi + 0x1c]
movss dword [esp + 0x58], xmm0
movss dword [edi + 0x1d0], xmm0
movss xmm0, dword [edi + 0x18]
movaps xmm1, xmm0
addss xmm0, dword [edi + 0x20]
addss xmm1, dword [edi + 0x58]
subss xmm7, dword [edi + 0x5c]
subss xmm0, dword [edi + 0x60]
movss dword [esp + 0x54], xmm1
movss dword [edi + 0x1d4], xmm1
movss dword [edi + 0x1d8], xmm7
movss dword [esp + 0x50], xmm0
movss dword [edi + 0x1dc], xmm0
cmp eax, 1
jne 0x409304
movss xmm0, dword [edi + 0x50]
jmp 0x40930c
movss xmm0, dword [ebx + 0x37d0]
movss xmm2, dword [0x432f98]
movss dword [esp + 0x1c], xmm0
addss xmm7, xmm2
movss xmm0, dword [edi + 0x44]
mulss xmm0, xmm2
movss xmm3, dword [esp + 0x90]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x58]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x50]
addss xmm0, xmm1
subss xmm7, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e0], xmm0
movss xmm0, dword [esp + 0x54]
addss xmm0, xmm2
addss xmm0, dword [esp + 0x1c]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvttss2si ecx, xmm7
movss dword [edi + 0x1e4], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e8], xmm0
movss xmm0, dword [esp + 0x50]
addss xmm0, xmm2
subss xmm0, dword [edi + 0x50]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1ec], xmm0
movss xmm0, dword [edi + 0x1e4]
comiss xmm6, xmm0
jbe 0x4093cf
movaps xmm1, xmm6
jmp 0x4093d6
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm7, dword [esp + 0x8c]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm5, xmm2
jbe 0x4093f0
movaps xmm0, xmm5
jmp 0x4093f7
movaps xmm0, xmm7
minss xmm0, xmm2
movss dword [edi + 0x1e0], xmm0
movss dword [edi + 0x1e4], xmm1
movss xmm0, dword [edi + 0x1ec]
comiss xmm6, xmm0
ja 0x40941b
movaps xmm6, xmm3
minss xmm6, xmm0
movss xmm0, dword [edi + 0x1e8]
comiss xmm5, xmm0
ja 0x40942f
movaps xmm5, xmm7
minss xmm5, xmm0
movss dword [edi + 0x1e8], xmm5
movss dword [edi + 0x1ec], xmm6
movss xmm0, dword [edi + 0x1c]
comiss xmm0, xmm4
jbe 0x40945b
test edx, 0x2000040
jne 0x40945b
mulss xmm0, dword [0x432fa0]
jmp 0x40946b
movss xmm0, dword [ebx + 0x3bcc]
mulss xmm0, dword [0x432fe4]
cvttss2si eax, xmm0
mov ecx, edi
push edi
movd xmm0, eax
lea eax, [esp + 0x40]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ecx + 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.0040a270
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x78], ecx
mov ecx, dword [edi + 0x264]
mov dword [edi + 0x7c], eax
mov dword [edi + 0x88], 0x7f7fffff
mov dword [edi + 0x8c], 0x7f7fffff
mov dword [edi + 0x68], 0
mov dword [edi + 0x64], 0
mov eax, dword [ebx + 0x3bc8]
mov eax, dword [eax + 0x30]
push dword [eax + 4]
call fcn.00424ad0
push 0
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.004148b0
mov eax, dword [esp + 0x20]
add esp, 0xc
and eax, 0x5000000
mov byte [esp + 0x11], 0
cmp eax, 0x1000000
jne 0x409611
cmp dword [esp + 0x20], 0x3000000
je 0x409611
mov ecx, dword [ebp + 0x180]
cmp ecx, 2
jl 0x4095d9
mov eax, dword [ebp + 0x188]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x4095d9
movss xmm5, dword [eax + 0x18]
movss xmm6, dword [edi + 0x14]
movaps xmm0, xmm5
addss xmm0, dword [eax + 0x20]
movss xmm7, dword [eax + 0x14]
movaps xmm4, xmm6
movss xmm2, dword [edi + 0x18]
movaps xmm3, xmm7
addss xmm4, dword [edi + 0x1c]
addss xmm2, dword [edi + 0x20]
comiss xmm0, dword [edi + 0x18]
addss xmm3, dword [eax + 0x1c]
jbe 0x4095d9
comiss xmm2, xmm5
jbe 0x4095d9
comiss xmm3, xmm6
jbe 0x4095d9
comiss xmm4, xmm7
mov byte [esp + 0x10], 1
ja 0x4095de
mov byte [esp + 0x10], 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 0x409611
mov eax, dword [ebp + 0x264]
cmp dword [eax + 0x18], 0
je 0x409611
cmp byte [esp + 0x10], 0
jne 0x409611
mov byte [esp + 0x11], 1
mov dword [edi + 0x264], eax
mov ecx, dword [ebx + 0x495c]
test ecx, ecx
jne 0x409621
mov ecx, dword [ebx + 0x47f0]
cmp byte [esp + 0x24], 0
jne 0x409641
test ecx, ecx
je 0x40963a
mov eax, dword [edi + 0x308]
cmp eax, dword [ecx + 0x308]
je 0x409641
mov byte [esp + 0x1c], 0
jmp 0x409646
mov byte [esp + 0x1c], 1
movd xmm0, esi
lea eax, [esp + 0xf8]
push ecx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
push dword [esp + 0x3c]
lea eax, [esp + 0x6c]
push 1
push dword [esp + 0x2c]
push eax
push edi
call fcn.00415dc0
add esp, 0x1c
cmp byte [esp + 0x11], 0
je 0x409686
lea eax, [edi + 0x268]
mov dword [edi + 0x264], eax
mov ecx, dword [esp + 0x14]
xorps xmm4, xmm4
movss xmm6, dword [edi + 0x3c]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jnp 0x4096aa
movaps xmm7, xmm6
jmp 0x4096e6
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
jne 0x4096bf
movss xmm7, dword [edi + 0x2c]
jmp 0x4096c2
xorps xmm7, xmm7
movss xmm0, dword [edi + 0x44]
movss xmm1, dword [edi + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x5c]
addss xmm0, dword [edi + 0x54]
subss xmm1, xmm0
maxss xmm7, xmm1
movss xmm5, dword [edi + 0x40]
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x4096fc
movss dword [esp + 0x1c], xmm5
jmp 0x409734
test dl, dl
je 0x409707
movss xmm2, dword [edi + 0x30]
jmp 0x40970a
xorps xmm2, xmm2
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
maxss xmm2, xmm1
movss dword [esp + 0x1c], xmm2
movss xmm0, dword [edi + 0x44]
movss xmm4, dword [edi + 0x78]
movss xmm1, dword [edi + 0x1d0]
movss dword [esp + 0x34], xmm0
subss xmm1, xmm4
maxss xmm0, dword [edi + 0x50]
movss dword [esp + 0x54], xmm4
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [edi + 0x1f0], xmm2
addss xmm7, xmm2
movss xmm0, dword [edi + 0x7c]
movss xmm1, dword [edi + 0x48]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [edi + 0x1d4]
subss xmm0, dword [esp + 0x20]
movss dword [esp + 0x58], xmm1
maxss xmm1, dword [edi + 0x50]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f4], xmm0
addss xmm0, dword [esp + 0x1c]
movss dword [edi + 0x1f8], xmm7
movss xmm7, dword [esp + 0x34]
movss dword [edi + 0x1fc], xmm0
movups xmm0, xmmword [edi + 0x1f0]
movups xmmword [edi + 0x200], xmm0
movss xmm0, dword [edi + 0x14]
movss xmm3, dword [edi + 0x54]
movaps xmm1, xmm0
subss xmm1, xmm4
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x30], xmm3
addss xmm1, xmm7
addss xmm1, xmm3
movss dword [edi + 0x220], xmm1
movss xmm2, dword [edi + 0x18]
movss xmm0, dword [edi + 0x58]
movss dword [esp + 0x34], xmm2
subss xmm2, dword [esp + 0x20]
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x18], xmm2
movss xmm4, dword [esp + 0x18]
movss xmm2, dword [esp + 0x58]
addss xmm4, xmm2
addss xmm4, xmm0
movaps xmm0, xmm4
movss dword [esp + 0x18], xmm4
xorps xmm4, xmm4
movss dword [edi + 0x224], xmm0
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jp 0x40987c
movss xmm6, dword [edi + 0x1c]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm6, xmm0
movaps xmm0, xmm3
addss xmm0, dword [edi + 0x5c]
subss xmm6, xmm0
ucomiss xmm5, xmm4
addss xmm1, xmm6
lahf
movss dword [edi + 0x228], xmm1
movss xmm1, dword [esp + 0x1c]
test ah, 0x44
jp 0x4098b3
movss xmm5, dword [edi + 0x20]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm5, xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x60]
subss xmm5, xmm0
movss xmm0, dword [esp + 0x18]
addss xmm0, xmm5
movss xmm5, dword [esp + 0x54]
cvtps2pd xmm2, xmm2
movss dword [edi + 0x22c], xmm0
movaps xmm0, xmm3
movss xmm3, dword [esp + 0x50]
addss xmm0, xmm7
cvtps2pd xmm3, xmm3
subss xmm0, xmm5
push dword [esp + 0x44]
push ecx
lea ecx, [edi + 0x15c]
movss dword [edi + 0x134], xmm0
cvtps2pd xmm0, xmm7
mov dword [edi + 0x13c], 0
mov dword [edi + 0x138], 0
addsd xmm3, xmm0
cvtps2pd xmm0, xmm5
subsd xmm3, xmm0
movss xmm0, dword [esp + 0x38]
cvtps2pd xmm0, xmm0
addsd xmm3, xmm0
movss xmm0, dword [esp + 0x3c]
cvtps2pd xmm0, xmm0
addsd xmm3, qword [0x432f70]
addsd xmm2, xmm0
movss xmm0, dword [esp + 0x28]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtps2pd xmm0, xmm1
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
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, xmm4
seta al
mov byte [edi + 0x152], al
mov byte [edi + 0x153], 0
movss xmm0, dword [ebx + 0x37d4]
movss dword [esp], xmm0
call fcn.0041eac0
mov dword [edi + 0x178], 0
mov dword [edi + 0x17c], 0
mov ecx, dword [edi + 0x184]
test ecx, ecx
jns 0x409ab9
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.0041c560
mov dword [edi + 0x180], 0
lea eax, [edi + 0x244]
mov dword [edi + 0x18c], eax
mov dword [edi + 0x190], 0
mov dword [edi + 0x198], 1
test ebp, ebp
je 0x409aef
mov eax, dword [ebp + 0x198]
jmp 0x409af4
mov eax, 1
mov dword [edi + 0x19c], eax
mov eax, dword [edi + 0x240]
mov dword [edi + 0x1a0], eax
mov dword [edi + 0x1a4], 0xbf800000
mov ecx, dword [edi + 0x1ac]
test ecx, ecx
jns 0x409b36
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.0041c560
mov dword [edi + 0x1a8], 0
mov ecx, dword [edi + 0x1b8]
test ecx, ecx
jns 0x409b66
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.0041c560
mov dword [edi + 0x1b4], 0
mov al, byte [edi + 0xc4]
test al, al
jle 0x409b82
dec al
mov byte [edi + 0xc4], al
mov al, byte [edi + 0xc5]
test al, al
jle 0x409b94
dec al
mov byte [edi + 0xc5], al
cmp byte [esp + 0x24], 0
je 0x409bb9
push 2
push edi
call fcn.0040d190
add esp, 8
cmp edi, dword [ebx + 0x47f0]
jne 0x409bb9
push 0
push edi
call fcn.0040fe90
add esp, 8
test byte [esp + 0x14], 1
jne 0x409c19
movss xmm0, dword [esp + 0x60]
lea eax, [esp + 0x70]
addss xmm0, dword [edi + 0x50]
push dword [esp + 0x80]
push dword [esp + 0x4c]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x70]
subss xmm0, dword [edi + 0x50]
push eax
push edi
movss dword [esp + 0x88], xmm0
movss xmm0, dword [esp + 0x7c]
movss dword [esp + 0x8c], xmm0
call fcn.00416900
add esp, 0x10
movss xmm2, dword [esp + 0x60]
xor eax, eax
mov dword [edi + 0x230], eax
mov edx, dword [0x439050]
movss xmm1, dword [edx + 0x37ec]
movss xmm0, dword [edx + 0x37f0]
subss xmm2, xmm1
movss xmm5, dword [edx + 0xdbc]
movaps xmm3, xmm1
movss xmm1, dword [esp + 0x64]
movaps xmm4, xmm0
addss xmm3, dword [esp + 0x68]
addss xmm4, dword [esp + 0x6c]
comiss xmm5, xmm2
subss xmm1, xmm0
jb 0x409c86
movss xmm0, dword [edx + 0xdc0]
comiss xmm0, xmm1
jb 0x409c86
comiss xmm3, xmm5
jbe 0x409c86
comiss xmm4, xmm0
jbe 0x409c86
lea esi, [eax + 1]
jmp 0x409c88
xor esi, esi
mov eax, dword [edi + 0x70]
mov ecx, dword [ebx + 0x46b8]
mov dword [edx + 0x46d8], eax
mov dword [edx + 0x46dc], ecx
mov dword [edx + 0x46e0], esi
movups xmm0, xmmword [esp + 0x60]
movups xmmword [edx + 0x46f4], xmm0
movups xmm0, xmmword [edx + 0x46f4]
movups xmmword [edx + 0x46e4], xmm0
mov eax, dword [ebx + 0x46bc]
test eax, eax
je 0x409d71
cmp dword [edi + 8], eax
je 0x409cd9
cmp dword [edi + 0x70], eax
jne 0x409d71
call fcn.0040b910
jmp 0x409d71
mov ecx, dword [0x439050]
mov dword [ecx + 0x3e60], edi
mov eax, dword [edi + 0x194]
cmp eax, 0xffffffff
je 0x409d08
imul eax, eax, 0x1f0
add eax, dword [ecx + 0x4a44]
jmp 0x409d0a
xor eax, eax
mov dword [ecx + 0x4a28], eax
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3bd0]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x409d34
mulss xmm0, dword [eax + 0x25c]
movss dword [ecx + 0x3be0], xmm0
movss dword [ecx + 0x3bcc], xmm0
mov eax, dword [0x439050]
cmp dword [eax + 0x4a28], 0
mov ecx, dword [eax + 0x3e60]
jne 0x409d65
cmp dword [ecx + 0x190], 0
jne 0x409d65
mov al, 1
jmp 0x409d67
xor al, al
mov ebp, dword [esp + 0x24]
mov byte [ecx + 0x150], al
mov ecx, dword [0x439050]
push 1
mov eax, dword [ecx + 0x3e60]
mov byte [eax + 0xac], 1
lea eax, [edi + 0x1e8]
mov esi, dword [ecx + 0x3e60]
push eax
lea eax, [edi + 0x1e0]
push eax
mov ecx, dword [esi + 0x264]
call fcn.004249a0
mov eax, dword [esi + 0x264]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
shl ecx, 4
movss xmm0, dword [eax + ecx - 0xc]
movss xmm1, dword [eax + ecx - 8]
movss xmm2, dword [eax + ecx - 4]
mov eax, dword [eax + ecx - 0x10]
mov dword [esi + 0x210], eax
mov eax, dword [esp + 0x4c]
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 [ebx + 0x4714], 0
cmp eax, dword [esp + 0x5c]
je 0x409f67
mov eax, dword [esp + 0x14]
test eax, 0x1000000
je 0x409ecd
test al, 0x40
jne 0x409e97
cmp byte [edi + 0xc4], 0
jg 0x409e97
cmp byte [edi + 0xc5], 0
jg 0x409e97
test eax, 0x800000
je 0x409e5f
cmp byte [ebx + 0x482c], 0
je 0x409e5f
mov eax, dword [ebx + 0x47f0]
test eax, eax
je 0x409e5f
mov eax, dword [eax + 0x30c]
cmp eax, dword [edi + 0x30c]
jne 0x409e5f
mov al, 1
jmp 0x409e61
xor al, al
cmp byte [ebx + 0x5ae0], 0
jne 0x409e97
test al, al
jne 0x409e97
movss xmm0, dword [edi + 0x1c0]
comiss xmm0, dword [edi + 0x1c8]
jae 0x409e90
movss xmm0, dword [edi + 0x1c4]
comiss xmm0, dword [edi + 0x1cc]
jb 0x409e97
mov byte [edi + 0xcc], 1
test ebp, ebp
je 0x409ecd
cmp byte [ebp + 0xad], 0
jne 0x409ead
cmp byte [ebp + 0xcc], 0
jle 0x409eb4
mov byte [edi + 0xcc], 1
cmp byte [ebp + 0xad], 0
jne 0x409ec6
cmp byte [ebp + 0xcd], 0
jle 0x409ecd
mov byte [edi + 0xcd], 1
xorps xmm0, xmm0
comiss xmm0, dword [ebx + 0x3788]
jb 0x409ee0
mov byte [edi + 0xcc], 1
cmp byte [edi + 0xcc], 0
jg 0x409f00
cmp byte [edi + 0xcd], 0
jg 0x409f00
xor cl, cl
cmp byte [edi + 0xce], cl
jg 0x409f02
xor al, al
jmp 0x409f04
mov cl, 1
mov al, 1
mov byte [edi + 0xb1], al
mov al, byte [edi + 0xcf]
test al, al
jle 0x409f27
dec al
mov byte [edi + 0xcf], al
mov eax, dword [edi + 0xc]
or eax, 0xc0200
mov dword [edi + 0xc], eax
xor al, al
cmp byte [edi + 0xad], al
jne 0x409f3d
cmp byte [edi + 0xaa], al
je 0x409f3d
test cl, cl
je 0x409f61
cmp byte [edi + 0xc4], 0
jg 0x409f61
cmp byte [edi + 0xc5], 0
jg 0x409f61
cmp byte [edi + 0xcd], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0xaf], al
cmp byte [edi + 0xb2], 0
jne 0x409fba
cmp byte [ebx + 0x64], 0
je 0x409f7d
cmp dword [esp + 0x2c], 0
je 0x409f92
cmp byte [ebx + 0x65], 0
je 0x409fba
movsx eax, byte [ebx + 0x5b36]
cmp eax, dword [ebx + 0x3e3c]
jne 0x409fba
mov al, byte [edi + 0xc4]
test al, al
jle 0x409fa4
inc al
mov byte [edi + 0xc4], al
mov al, byte [edi + 0xc5]
test al, al
jle 0x409fb6
inc al
mov byte [edi + 0xc5], al
xor al, al
jmp 0x409fc4
cmp byte [edi + 0xaf], 0
sete al
mov ecx, dword [esp + 0x108]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042f1a3
add esp, 0xfc
ret