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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x178
mov eax, dword [0x4ef400]
xor eax, esp
mov dword [esp + 0x174], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x4f0690]
push edi
mov dword [esp + 0x64], edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], esi
call fcn.0040bdc0
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x5c], ecx
mov edi, ecx
sete al
mov dword [esp + 0x1c], edi
mov byte [esp + 0x11], al
mov eax, ecx
mov dword [esp + 0x24], eax
test ecx, ecx
jne 0x40e960
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
call fcn.0040bf00
mov edi, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], edi
mov edx, dword [esp + 0x14]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x40e97b
or edx, 6
mov dword [esp + 0x14], edx
cmp dword [esi + 0x1c28], 0
mov ecx, dword [esi + 0x1be8]
mov eax, dword [eax + 0x244]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x68], eax
jne 0x40e9a5
cmp byte [esi + 0x1bf9], 0
je 0x40e9a5
mov al, 1
jmp 0x40e9a7
xor al, al
mov byte [edi + 0xc7], al
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x244], eax
setl ah
mov byte [esp + 0x1b], ah
test edx, 0x4000000
je 0x40ea03
mov eax, dword [esi + 0x1e08]
lea esi, [eax + eax*8]
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0x1e04]
mov eax, dword [edi + 0xd4]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov ah, byte [esp + 0x1b]
mov edx, dword [esp + 0x14]
setne al
or cl, al
or ah, cl
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x1b], ah
mov esi, dword [esp + 0x68]
mov al, byte [edi + 0xc5]
cmp esi, dword [esp + 0x54]
mov esi, dword [esp + 0x28]
mov byte [esp + 0x12], al
je 0x40ea87
mov byte [edi + 0xc5], ah
test ah, ah
je 0x40ea41
or byte [edi + 0xe4], 8
or byte [edi + 0xe5], 8
or byte [edi + 0xe6], 8
or byte [edi + 0xe7], 8
mov eax, dword [edi + 8]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x54]
mov dword [edi + 8], edx
mov dword [ecx + 0x244], eax
xor eax, eax
movsd xmm0, qword [esi + 0x1be0]
cvtpd2ps xmm0, xmm0
movss dword [edi + 0x24c], xmm0
mov word [edi + 0xcc], ax
movzx eax, word [esi + 0x1c40]
inc dword [esi + 0x1c40]
mov word [edi + 0xce], ax
jmp 0x40ea8e
mov eax, dword [edi + 8]
mov dword [esp + 0x14], eax
test dword [esi + 0x1d2c], 0x200
je 0x40eab0
push dword [esi + 0x1d3c]
mov edx, dword [esi + 0x1d8c]
mov ecx, edi
call fcn.00421060
add esp, 4
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x54]
je 0x40eb8b
cmp dword [edi + 0x37c], 0
jne 0x40eb6f
cmp dword [edi + 0x374], 0
jne 0x40eb6f
mov eax, dword [0x4f0690]
xor cl, cl
cmp byte [eax + 0xb2], cl
jne 0x40eaf0
cmp byte [edi + 0x28], cl
je 0x40eb71
test dword [edi + 8], 0x1200001
jne 0x40eb71
cmp byte [edi + 0xc7], 0
jne 0x40eb71
mov al, byte [edi + 0x359]
mov byte [esp + 0x10], al
mov edx, dword [esp + 0x64]
mov ecx, edi
call fcn.00421470
mov edx, dword [edi + 8]
and dword [esi + 0x1d2c], 0xffffffef
test byte [edi + 0x359], 4
mov dword [esp + 0x14], edx
je 0x40eb8f
mov al, byte [esp + 0x10]
test al, 4
jne 0x40eb8f
test al, 2
je 0x40eb8f
cmp byte [edi + 0xc5], 0
jne 0x40eb8f
cmp byte [esp + 0x12], 0
jne 0x40eb8f
mov byte [edi + 0xc5], 1
or byte [edi + 0xe4], 8
or byte [edi + 0xe5], 8
or byte [edi + 0xe6], 8
or byte [edi + 0xe7], 8
jmp 0x40eb8f
mov cl, 1
mov al, byte [edi + 0x359]
mov byte [esp + 0x10], al
test cl, cl
jne 0x40eb0c
and al, 0xfb
and al, 0xfd
and al, 0xfe
mov byte [edi + 0x359], al
mov edx, dword [esp + 0x14]
test byte [edi + 0x359], 1
je 0x40eba3
mov eax, dword [edi + 0x374]
mov ecx, dword [eax + 0x6c]
jmp 0x40ebbe
mov eax, dword [esi + 0x1c28]
test eax, eax
jne 0x40ebb1
xor ecx, ecx
jmp 0x40ebbe
imul ecx, eax, 0x54
mov eax, dword [esi + 0x1c30]
mov ecx, dword [ecx + eax - 0x54]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x58], ecx
cmp eax, dword [esp + 0x54]
je 0x40ebdb
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x40ebe1
mov eax, dword [edi + 0x30c]
cmp dword [edi + 0xf8], 0
lea ecx, [edi + 0xf8]
mov dword [esp + 0x44], eax
jne 0x40ebfd
lea eax, [edi + 4]
push eax
call fcn.00422fc0
push 0x3c
lea eax, [esp + 0xb8]
mov dword [esi + 0x1c4c], edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x4f0690]
xorps xmm0, xmm0
mov eax, dword [esi + 0x1d28]
add esp, 0xc
mov dword [esp + 0xec], eax
movups xmmword [esp + 0xf0], xmm0
mov eax, dword [ecx + 0x1c4c]
movups xmm0, xmmword [esi + 0x1cf0]
mov edx, dword [esi + 0x1c28]
mov word [esp + 0x100], 0
movzx eax, word [eax + 0xf8]
mov word [esp + 0xf0], ax
movzx eax, word [ecx + 0x1db4]
mov word [esp + 0xf2], ax
movzx eax, word [ecx + 0x1dc0]
mov word [esp + 0xf4], ax
movzx eax, word [ecx + 0x1dcc]
mov word [esp + 0xf6], ax
movzx eax, word [ecx + 0x1dd8]
mov word [esp + 0xf8], ax
movzx eax, word [ecx + 0x1df0]
movups xmmword [esp + 0xb4], xmm0
mov word [esp + 0xfa], ax
movzx eax, word [ecx + 0x1de4]
movups xmm0, xmmword [esi + 0x1d00]
mov word [esp + 0xfc], ax
movzx eax, word [ecx + 0x1e08]
movups xmmword [esp + 0xc4], xmm0
mov word [esp + 0xfe], ax
movzx eax, word [ecx + 0x303c]
movups xmm0, xmmword [esi + 0x1d10]
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [esp + 0x60], ecx
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movups xmmword [esp + 0xd4], xmm0
mov word [esp + 0x100], ax
movq xmm0, qword [esi + 0x1d20]
mov eax, dword [esi + 0x1c2c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x4f0690]
mov dword [esp + 0xb0], edi
movq qword [esp + 0xe4], xmm0
cmp edx, eax
jne 0x40edd5
inc edx
mov dword [esp + 0x24], edx
test eax, eax
je 0x40ed59
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, dword [esi + 0x1c2c]
jmp 0x40ed5e
mov eax, 8
cmp eax, edx
cmovg edx, eax
mov dword [esp + 0x24], edx
cmp edx, dword [esi + 0x1c2c]
jle 0x40edd5
inc dword [ecx + 0x370]
imul eax, edx, 0x54
push eax
call dword [esp + 0x64]
mov edx, dword [esi + 0x1c30]
add esp, 4
mov dword [esp + 0x20], eax
test edx, edx
je 0x40edc5
imul ecx, dword [esi + 0x1c28], 0x54
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 0x1c30]
add esp, 0xc
test ecx, ecx
je 0x40edb9
mov eax, dword [0x4f0690]
test eax, eax
je 0x40edb9
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x70]
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [esi + 0x1c30], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x1c2c], eax
imul eax, dword [esi + 0x1c28], 0x54
mov ecx, dword [esi + 0x1c30]
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 + 0x1c28]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x1c4c], 0
test eax, 0x4000000
je 0x40eee8
mov eax, dword [esi + 0x1e08]
lea ecx, [esi + 0x1e08]
mov edx, dword [esi + 0x1e04]
mov dword [esp + 0x48], edx
lea eax, [eax + eax*8]
mov dword [edx + eax*4 + 4], edi
mov edx, dword [ecx]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x40ee9f
inc edx
mov dword [esp + 0x20], edx
test eax, eax
je 0x40ee89
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40ee8e
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.004239b0
lea ecx, [esi + 0x1e08]
mov eax, dword [ecx]
mov esi, dword [esp + 0x48]
mov ecx, dword [ecx + 8]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x50]
movups xmm0, xmmword [esi + eax*4]
movups xmmword [ecx + edx*4], xmm0
movups xmm0, xmmword [esi + eax*4 + 0x10]
movups xmmword [ecx + edx*4 + 0x10], xmm0
mov eax, dword [esi + eax*4 + 0x20]
mov esi, dword [esp + 0x28]
mov dword [ecx + edx*4 + 0x20], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
inc dword [esi + 0x1e08]
mov eax, dword [ecx + eax*4]
mov dword [edi + 0xd4], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x68]
cmp ecx, dword [esp + 0x54]
je 0x40ef02
push dword [esp + 0x44]
mov edx, eax
mov ecx, edi
call fcn.0040e830
add esp, 4
test byte [esi + 0x1d2c], 1
mov byte [esp + 0x12], 0
mov byte [esp + 0x1a], 0
mov byte [esp + 0x13], 0
je 0x40efbe
movsx eax, byte [edi + 0xe4]
mov ecx, dword [esi + 0x1d30]
test ecx, eax
setne byte [esp + 0x12]
test ecx, eax
je 0x40efad
movss xmm1, dword [esi + 0x1d4c]
movss xmm0, dword [esi + 0x1d48]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x4e68a4]
jbe 0x40efad
mov eax, dword [esi + 0x1d40]
mov ecx, dword [esi + 0x1d44]
mov dword [edi + 0xe8], eax
mov dword [edi + 0xec], ecx
mov eax, dword [esi + 0x1d48]
mov ecx, dword [esi + 0x1d4c]
mov dword [edi + 0xf0], eax
mov dword [edi + 0xf4], ecx
movzx ecx, byte [edi + 0xe4]
mov eax, dword [edi + 0xe4]
and ecx, 0xf1
and eax, 0xffffff00
or ecx, eax
mov dword [edi + 0xe4], ecx
jmp 0x40efbe
push ecx
lea edx, [esi + 0x1d40]
mov ecx, edi
call fcn.00412060
add esp, 4
test byte [esi + 0x1d2c], 2
xorps xmm1, xmm1
je 0x40f024
movsx eax, byte [edi + 0xe5]
mov ecx, dword [esi + 0x1d34]
and eax, ecx
je 0x40efef
movss xmm0, dword [esi + 0x1d50]
comiss xmm0, xmm1
jbe 0x40efef
mov byte [esp + 0x1a], 1
jmp 0x40eff9
xor dl, dl
mov byte [esp + 0x1a], dl
test eax, eax
je 0x40f00b
movss xmm0, dword [esi + 0x1d54]
comiss xmm0, xmm1
mov byte [esp + 0x13], 1
ja 0x40f010
mov byte [esp + 0x13], 0
push ecx
lea edx, [esi + 0x1d50]
mov ecx, edi
call fcn.00412180
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x1d2c], 0x80
je 0x40f06b
movss xmm0, dword [esi + 0x1d60]
comiss xmm0, xmm1
jb 0x40f04c
movss dword [edi + 0x9c], xmm0
mov dword [edi + 0xa4], 0
movss xmm0, dword [esi + 0x1d64]
comiss xmm0, xmm1
jb 0x40f06b
movss dword [edi + 0xa0], xmm0
mov dword [edi + 0xa8], 0
test byte [esi + 0x1d2c], 4
je 0x40f088
mov eax, dword [esi + 0x1d58]
mov ecx, dword [esi + 0x1d5c]
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], ecx
jmp 0x40f0a0
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x54]
je 0x40f0a0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
test dword [esi + 0x1d2c], 0x400
je 0x40f0cd
movups xmm0, xmmword [esi + 0x1d90]
movups xmmword [edi + 0x10], xmm0
movq xmm0, qword [esi + 0x1da0]
movq qword [edi + 0x20], xmm0
mov eax, dword [esi + 0x1da8]
mov dword [edi + 0x28], eax
test byte [esi + 0x1d2c], 8
je 0x40f11a
mov ecx, dword [esi + 0x1d38]
mov dl, byte [esi + 0x1d69]
test ecx, ecx
je 0x40f0f1
movsx eax, byte [edi + 0xe6]
test ecx, eax
je 0x40f11a
movzx ecx, byte [edi + 0xe6]
mov eax, dword [edi + 0xe4]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0xc2], dl
mov dword [edi + 0xe4], ecx
test byte [esi + 0x1d2c], 0x20
je 0x40f12a
mov ecx, edi
call fcn.00411bf0
cmp byte [edi + 0xc5], 0
je 0x40f14f
and byte [edi + 0xe4], 0xf7
and byte [edi + 0xe5], 0xf7
and byte [edi + 0xe6], 0xf7
and byte [edi + 0xe7], 0xf7
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x54]
je 0x41149e
mov eax, dword [esp + 0x14]
lea ecx, [edi + 0xf8]
and eax, 0x3000000
mov byte [edi + 0xbf], 1
cmp dword [esp + 0x64], 0
mov dword [esp + 0x74], eax
setne al
mov byte [edi + 0xc8], al
mov dword [edi + 0x21c], 0xff7fffff
mov dword [edi + 0x220], 0xff7fffff
mov dword [edi + 0x224], 0x7f7fffff
push 1
mov dword [edi + 0x228], 0x7f7fffff
call fcn.00423ae0
mov ecx, dword [edi + 0x278]
call fcn.0042c370
mov dword [edi + 0x1a0], 0xffffffff
cmp byte [edi + 0x358], 0
je 0x40f215
mov byte [edi + 0x358], 0
mov ecx, dword [edi + 0x278]
push dword [edi + 0x350]
add ecx, 0xc
call fcn.00423d10
mov ecx, dword [edi + 0x278]
push dword [edi + 0x354]
add ecx, 0x18
call fcn.00423b90
mov dword [edi + 0x354], 0
mov dword [edi + 0x350], 0
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x40f221
cmp dword [eax + 0x6c], edi
je 0x40f244
test byte [edi + 0x359], 1
jne 0x40f244
cmp dword [esi + 0x1fb4], 0
je 0x40f315
test dword [edi + 8], 0x80000
jne 0x40f315
cmp dword [esp + 0x5c], 0
je 0x40f315
mov eax, dword [edi]
mov ecx, eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x70]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40f280
test dl, dl
je 0x40f27c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40f280
add eax, 2
add ecx, 2
test dl, dl
jne 0x40f260
xor eax, eax
jmp 0x40f285
sbb eax, eax
or eax, 1
test eax, eax
je 0x40f315
mov ecx, dword [esp + 0x70]
mov edx, dword [edi + 0x80]
mov dword [esp + 0x24], edx
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f2a2
sub ecx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x50], eax
cmp edx, eax
jae 0x40f2fb
test ecx, ecx
je 0x40f2cf
mov eax, dword [0x4f0690]
test eax, eax
je 0x40f2cf
dec dword [eax + 0x370]
push ecx
call dword [esp + 0x70]
mov eax, dword [0x4f0690]
add esp, 4
test eax, eax
je 0x40f2e6
inc dword [eax + 0x370]
push dword [esp + 0x50]
call dword [esp + 0x64]
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x50]
mov dword [esp + 0x24], eax
push eax
push dword [esp + 0x74]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi], eax
add esp, 0xc
mov eax, dword [esp + 0x24]
mov dword [edi + 0x80], eax
mov al, byte [edi + 0xe1]
lea edx, [edi + 0x58]
mov byte [esp + 0x2f], al
mov ecx, edi
lea eax, [edi + 0x60]
push eax
call fcn.0040c490
mov al, byte [edi + 0xe0]
add esp, 4
test al, al
jle 0x40f342
dec al
mov byte [edi + 0xe0], al
mov al, byte [edi + 0xe1]
test al, al
jle 0x40f354
dec al
mov byte [edi + 0xe1], al
mov al, byte [edi + 0xe2]
test al, al
jle 0x40f366
dec al
mov byte [edi + 0xe2], al
cmp dword [esp + 0x5c], 0
mov cl, byte [esp + 0x1a]
mov dl, byte [esp + 0x13]
jne 0x40f384
test cl, cl
je 0x40f37d
test dl, dl
jne 0x40f384
mov byte [edi + 0xe1], 1
cmp byte [esp + 0x1b], 0
je 0x40f3e1
mov eax, dword [esp + 0x14]
test eax, 0x6000000
je 0x40f3e1
mov byte [edi + 0xe1], 1
test al, 0x40
je 0x40f3e1
test cl, cl
jne 0x40f3b3
mov dword [edi + 0x50], 0
mov dword [edi + 0x48], 0
test dl, dl
jne 0x40f3c5
mov dword [edi + 0x54], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov ecx, edi
call fcn.00419dd0
mov edx, dword [edi + 0x2c]
mov ecx, dword [0x4f0690]
test edx, edx
je 0x40f3fe
mov eax, dword [ecx + 0x1be8]
mov dword [edx + 0x4c], eax
movss xmm0, dword [0x4e6934]
cmp dword [ecx + 0x1e24], edx
je 0x40f451
test edx, edx
je 0x40f441
mov eax, dword [edx + 0x28]
mov dword [ecx + 0x1e20], eax
mov eax, dword [ecx + 0x1568]
mov dword [ecx + 0x1e24], edx
test eax, eax
je 0x40f451
push edx
call eax
movss xmm0, dword [0x4e6934]
add esp, 4
mov ecx, dword [0x4f0690]
jmp 0x40f451
mov dword [ecx + 0x1e20], 0x3f800000
mov dword [ecx + 0x1e24], edx
test dword [esi + 8], 0x8000
je 0x40f462
mov eax, dword [edi + 0x2c]
movss xmm0, dword [eax + 0x28]
movss dword [edi + 0x270], xmm0
mov dword [ecx + 0x1c4c], edi
mov eax, dword [edi + 0x1a0]
cmp eax, 0xffffffff
je 0x40f489
imul eax, eax, 0x1c8
add eax, dword [ecx + 0x2088]
jmp 0x40f48b
xor eax, eax
movss xmm0, dword [ecx + 0x19e8]
mov dword [ecx + 0x206c], eax
mulss xmm0, dword [edi + 0x26c]
mov eax, dword [edi + 0x30c]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x40f4bb
mulss xmm0, dword [eax + 0x26c]
movss dword [ecx + 0x19f8], xmm0
movss dword [ecx + 0x19e4], xmm0
mov edx, dword [edi + 8]
mov dword [esp + 0x14], edx
test edx, 0x1000000
je 0x40f4e5
mov eax, dword [esi + 0x15d0]
mov dword [edi + 0x7c], eax
jmp 0x40f50c
test edx, 0x6000000
je 0x40f4ff
test edx, 0x8000000
jne 0x40f4ff
movss xmm0, dword [esi + 0x15d8]
jmp 0x40f507
movss xmm0, dword [esi + 0x15b4]
movss dword [edi + 0x7c], xmm0
test byte [edi + 0x359], 1
jne 0x40f563
mov eax, edx
and eax, 0x5010000
cmp eax, 0x1000000
jne 0x40f563
movss xmm0, dword [edi + 0x7c]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x40f563
test edx, 0x400
je 0x40f552
movss xmm0, dword [esi + 0x15ac]
mov dword [edi + 0x70], 0
movss dword [edi + 0x74], xmm0
jmp 0x40f57b
xorps xmm0, xmm0
mov dword [edi + 0x70], 0
movss dword [edi + 0x74], xmm0
jmp 0x40f57b
mov ecx, dword [esi + 0x15ac]
mov eax, dword [esi + 0x15a8]
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], ecx
mov ecx, dword [0x4f0690]
movss xmm0, dword [edi + 0x70]
maxss xmm0, dword [esi + 0x15ec]
maxss xmm0, dword [esi + 0x1dac]
movss dword [edi + 0x160], xmm0
mov eax, dword [esi + 0x1db0]
mov dword [edi + 0x164], eax
test dl, 0x21
jne 0x40f740
test byte [edi + 0x359], 1
jne 0x40f740
test byte [edi + 8], 1
je 0x40f5c5
xorps xmm3, xmm3
jmp 0x40f5ff
movss xmm0, dword [ecx + 0x19e8]
mulss xmm0, dword [edi + 0x26c]
mov eax, dword [edi + 0x30c]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x40f5ef
mulss xmm0, dword [eax + 0x26c]
movss xmm3, dword [ecx + 0x15e0]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm5, dword [edi + 0x40]
movaps xmm4, xmm5
movss xmm7, dword [edi + 0x44]
addss xmm4, dword [edi + 0x50]
addss xmm3, dword [edi + 0x44]
cmp dword [esi + 0x1c50], edi
jne 0x40f707
cmp dword [esi + 0x1c74], 0
jne 0x40f707
cmp dword [esi + 0x1c78], 0
jne 0x40f707
mov eax, dword [ecx + 0x1c4c]
movss xmm0, dword [ecx + 0x1608]
movss xmm1, dword [ecx + 0x1604]
minss xmm3, dword [eax + 0x228]
maxss xmm5, dword [eax + 0x21c]
minss xmm4, dword [eax + 0x224]
maxss xmm7, dword [eax + 0x220]
movaps xmm2, xmm3
addss xmm2, xmm0
movaps xmm6, xmm4
addss xmm6, xmm1
movss dword [esp + 0x20], xmm2
movaps xmm2, xmm5
subss xmm2, xmm1
movaps xmm1, xmm7
subss xmm1, xmm0
movss xmm0, dword [ecx + 0xe4]
comiss xmm0, xmm2
jb 0x40f707
movss xmm0, dword [ecx + 0xe8]
comiss xmm0, xmm1
jb 0x40f707
comiss xmm6, dword [ecx + 0xe4]
jbe 0x40f707
movss xmm1, dword [esp + 0x20]
comiss xmm1, xmm0
jbe 0x40f707
mov eax, dword [ecx + 0x1e28]
movss xmm2, dword [eax + 0xc]
movss xmm6, dword [eax + 8]
movaps xmm0, xmm2
addss xmm0, dword [eax + 0x14]
movaps xmm1, xmm6
addss xmm1, dword [eax + 0x10]
comiss xmm0, xmm7
jbe 0x40f707
comiss xmm3, xmm2
jbe 0x40f707
comiss xmm1, xmm5
jbe 0x40f707
comiss xmm4, xmm6
jbe 0x40f707
cmp word [esi + 0x3ea], 2
jne 0x40f707
mov byte [edi + 0xc3], 1
cmp byte [edi + 0xc3], 0
je 0x40f747
cmp byte [edi + 0xc2], 0
sete al
mov byte [edi + 0xc2], al
test dword [edi + 8], 0x100
jne 0x40f747
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x30a0]
jb 0x40f747
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x30a0], eax
jmp 0x40f747
mov byte [edi + 0xc2], 0
lea eax, [edi + 0x60]
mov byte [edi + 0xc3], 0
push eax
mov edx, edi
lea ecx, [esp + 0x12c]
call fcn.0040c5c0
mov cl, byte [esp + 0x15]
add esp, 4
test byte [esp + 0x14], 0x40
mov byte [esp + 0x10], cl
je 0x40f7b8
cmp byte [edi + 0xc2], 0
jne 0x40f7b8
cmp byte [esp + 0x1a], 0
jne 0x40f795
movss xmm0, dword [esp + 0x128]
movss dword [edi + 0x50], xmm0
mov byte [esp + 0x11], 1
cmp byte [esp + 0x13], 0
jne 0x40f86f
movss xmm0, dword [esp + 0x12c]
movss dword [edi + 0x54], xmm0
mov byte [esp + 0x10], 1
jmp 0x40f86f
mov al, byte [edi + 0xd8]
test al, al
jg 0x40f7cf
cmp byte [edi + 0xd9], 0
jle 0x40f86f
cmp byte [esp + 0x1a], 0
jne 0x40f806
test al, al
jle 0x40f806
cmp byte [edi + 0xdb], 0
je 0x40f7f3
movss xmm0, dword [edi + 0x50]
maxss xmm0, dword [esp + 0x128]
jmp 0x40f7fc
movss xmm0, dword [esp + 0x128]
movss dword [edi + 0x50], xmm0
mov byte [esp + 0x11], 1
cmp byte [esp + 0x13], 0
jne 0x40f842
cmp byte [edi + 0xd9], 0
jle 0x40f842
cmp byte [edi + 0xdb], 0
je 0x40f82f
movss xmm0, dword [edi + 0x54]
maxss xmm0, dword [esp + 0x12c]
jmp 0x40f838
movss xmm0, dword [esp + 0x12c]
movss dword [edi + 0x54], xmm0
mov byte [esp + 0x10], 1
cmp byte [edi + 0xc2], 0
jne 0x40f86f
test dword [edi + 8], 0x100
mov ecx, dword [0x4f0690]
jne 0x40f86f
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x30a0]
jb 0x40f86f
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x30a0], eax
lea eax, [edi + 0x50]
mov edx, edi
push eax
lea ecx, [esp + 0x7c]
call fcn.0040c230
mov edx, dword [esp + 0x18]
add esp, 4
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [0x4f0690]
movss dword [edi + 0x50], xmm2
movss dword [edi + 0x54], xmm1
cmp byte [edi + 0xc2], 0
mov dword [esp + 0x30], eax
je 0x40f910
test edx, 0x1000000
jne 0x40f910
test byte [edi + 8], 1
je 0x40f8bd
xorps xmm1, xmm1
jmp 0x40f8f7
movss xmm0, dword [eax + 0x19e8]
mulss xmm0, dword [edi + 0x26c]
mov ecx, dword [edi + 0x30c]
mulss xmm0, dword [edi + 0x270]
test ecx, ecx
je 0x40f8e7
mulss xmm0, dword [ecx + 0x26c]
movss xmm1, dword [eax + 0x15e0]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm2, dword [edi + 0x40]
addss xmm2, dword [edi + 0x50]
addss xmm1, dword [edi + 0x44]
subss xmm2, dword [edi + 0x40]
subss xmm1, dword [edi + 0x44]
movss dword [edi + 0x48], xmm2
movss dword [edi + 0x4c], xmm1
mov ecx, dword [edi + 8]
test cl, 1
je 0x40f927
xorps xmm1, xmm1
jmp 0x40f964
movss xmm0, dword [eax + 0x19e8]
mulss xmm0, dword [edi + 0x26c]
mov ecx, dword [edi + 0x30c]
mulss xmm0, dword [edi + 0x270]
test ecx, ecx
je 0x40f951
mulss xmm0, dword [ecx + 0x26c]
movss xmm1, dword [eax + 0x15e0]
mov ecx, dword [edi + 8]
addss xmm1, xmm1
addss xmm1, xmm0
test ecx, 0x400
je 0x40f9b0
movss xmm2, dword [eax + 0x19e8]
mulss xmm2, dword [edi + 0x26c]
mov ecx, dword [edi + 0x30c]
mulss xmm2, dword [edi + 0x270]
test ecx, ecx
je 0x40f996
mulss xmm2, dword [ecx + 0x26c]
movss xmm0, dword [eax + 0x15e0]
addss xmm2, dword [edi + 0x164]
addss xmm0, xmm0
addss xmm2, xmm0
jmp 0x40f9b3
xorps xmm2, xmm2
cmp byte [esp + 0x1b], 0
addss xmm2, xmm1
movss dword [esp + 0x60], xmm2
je 0x40fa08
mov eax, edx
mov dword [edi + 0xdc], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x40fa08
cmp byte [esp + 0x12], 0
jne 0x40fa08
mov eax, dword [esi + 0x1e08]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1e10]
movss xmm0, dword [eax + ecx*4 - 0x10]
movss xmm1, dword [eax + ecx*4 - 0xc]
movss dword [edi + 0x40], xmm0
movss dword [edi + 0x44], xmm1
test edx, 0x1000000
je 0x40fa6a
mov ecx, dword [esp + 0x44]
add ecx, 0x18c
mov ax, word [ecx]
mov word [edi + 0xcc], ax
lea eax, [esp + 0x1c]
push eax
call fcn.00422fc0
mov edx, dword [esp + 0x14]
test edx, 0x4000000
jne 0x40fa61
cmp byte [esp + 0x12], 0
jne 0x40fa61
cmp dword [esp + 0x74], 0x3000000
je 0x40fa61
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0x104]
mov ecx, dword [ecx + 0x108]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
mov eax, dword [0x4f0690]
mov dword [esp + 0x30], eax
movss xmm1, dword [edi + 0xe8]
ucomiss xmm1, dword [0x4e6a84]
lahf
test ah, 0x44
jnp 0x40fad9
cmp byte [edi + 0xe1], 0
jne 0x40fad9
movss xmm0, dword [edi + 0xf0]
lea edx, [esp + 0x88]
mulss xmm0, dword [edi + 0x48]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xec]
movss dword [esp + 0x8c], xmm1
movss xmm1, dword [edi + 0x4c]
mulss xmm1, dword [edi + 0xf4]
subss xmm0, xmm1
movss dword [esp + 0x90], xmm0
call fcn.00412060
add esp, 4
jmp 0x40fb2e
test edx, 0x10000000
jne 0x40fb0d
mov al, byte [esp + 0x12]
test edx, 0x4000000
je 0x40faf7
test al, al
jne 0x40faf7
cmp byte [esp + 0x2f], al
jg 0x40fb0d
test edx, 0x2000000
je 0x40fb2e
test al, al
jne 0x40fb2e
cmp dword [esp + 0x74], 0x3000000
je 0x40fb2e
mov edx, edi
lea ecx, [esp + 0x80]
call fcn.00413f00
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0x40], xmm0
movss dword [edi + 0x44], xmm1
cmp dword [edi + 0x3c], 0
jl 0x40fc97
cmp byte [edi + 0xbe], 0
jne 0x40fc97
mov eax, dword [edi + 0x2c]
test dword [eax + 4], 0x400
jne 0x40fc97
movss xmm0, dword [edi + 0x40]
lea ecx, [edi + 0x40]
comiss xmm0, dword [eax + 8]
movss xmm6, dword [eax + 0xc]
movaps xmm2, xmm0
movss xmm7, dword [edi + 0x44]
movaps xmm5, xmm6
movss xmm3, dword [eax + 8]
movaps xmm4, xmm7
addss xmm3, dword [eax + 0x10]
addss xmm5, dword [eax + 0x14]
addss xmm2, dword [edi + 0x48]
addss xmm4, dword [edi + 0x4c]
jb 0x40fba2
comiss xmm7, xmm6
jb 0x40fba2
comiss xmm3, xmm2
jb 0x40fba2
comiss xmm5, xmm4
jae 0x40fc97
mov edx, dword [edi + 4]
lea eax, [edi + 0x48]
push 0x20
push eax
push ecx
mov ecx, edi
call fcn.00419980
mov edx, dword [0x4f0690]
mov ecx, eax
add esp, 0xc
mov dword [edi + 0x2c], ecx
test ecx, ecx
je 0x40fbce
mov eax, dword [edx + 0x1be8]
mov dword [ecx + 0x4c], eax
cmp dword [edx + 0x1e24], ecx
je 0x40fc11
test ecx, ecx
je 0x40fc01
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x1e20], eax
mov eax, dword [edx + 0x1568]
mov dword [edx + 0x1e24], ecx
test eax, eax
je 0x40fc11
push ecx
call eax
mov edx, dword [0x4f0690]
add esp, 4
jmp 0x40fc11
mov dword [edx + 0x1e20], 0x3f800000
mov dword [edx + 0x1e24], ecx
test dword [esi + 8], 0x8000
je 0x40fc24
mov eax, dword [edi + 0x2c]
movss xmm0, dword [eax + 0x28]
jmp 0x40fc2c
movss xmm0, dword [0x4e6934]
movss dword [edi + 0x270], xmm0
mov dword [edx + 0x1c4c], edi
mov eax, dword [edi + 0x1a0]
cmp eax, 0xffffffff
je 0x40fc53
imul eax, eax, 0x1c8
add eax, dword [edx + 0x2088]
jmp 0x40fc55
xor eax, eax
movss xmm0, dword [edx + 0x19e8]
mov dword [edx + 0x206c], eax
mulss xmm0, dword [edi + 0x26c]
mov eax, dword [edi + 0x30c]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x40fc85
mulss xmm0, dword [eax + 0x26c]
movss dword [edx + 0x19f8], xmm0
movss dword [edx + 0x19e4], xmm0
jmp 0x40fc9b
mov edx, dword [esp + 0x30]
cmp byte [edi + 0xbe], 0
je 0x40fcb5
mov edx, dword [esp + 0x58]
mov ecx, edi
call fcn.0041a350
mov edx, dword [0x4f0690]
cmp byte [esp + 0x12], 0
mov eax, dword [edi + 0x2c]
movss xmm4, dword [esi + 0x1648]
maxss xmm4, dword [esi + 0x1650]
movss xmm0, dword [eax + 0xc]
movss xmm2, dword [eax + 0x18]
movaps xmm7, xmm0
movss xmm3, dword [eax + 0x1c]
movaps xmm6, xmm2
addss xmm6, dword [eax + 0x20]
movss xmm1, dword [eax + 8]
addss xmm2, xmm4
addss xmm7, dword [eax + 0x14]
movss dword [esp + 0x58], xmm0
movaps xmm5, xmm3
addss xmm5, dword [eax + 0x24]
movss dword [esp + 0x154], xmm0
subss xmm6, xmm4
movss xmm0, dword [esi + 0x164c]
maxss xmm0, dword [esi + 0x1654]
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x150], xmm1
addss xmm1, dword [eax + 0x10]
movss dword [esp + 0x50], xmm7
subss xmm5, xmm0
movss dword [esp + 0x15c], xmm7
addss xmm3, xmm0
movss dword [esp + 0x130], xmm2
movss dword [esp + 0x138], xmm6
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x158], xmm1
movss dword [esp + 0x13c], xmm5
movss dword [esp + 0x134], xmm3
jne 0x40ff6f
test dword [esp + 0x14], 0x1000000
jne 0x40ff6f
cmp byte [edi + 0xd8], 0
jg 0x40ff6f
cmp byte [edi + 0xd9], 0
jg 0x40ff6f
cmp byte [edi + 0xbe], 0
jne 0x40fe68
movaps xmm0, xmm1
xorps xmm1, xmm1
subss xmm0, dword [esp + 0x30]
comiss xmm0, xmm1
jbe 0x40ff6f
movaps xmm0, xmm7
subss xmm0, dword [esp + 0x58]
comiss xmm0, xmm1
jbe 0x40ff6f
cmp byte [edx + 0xbd], 0
movss xmm1, dword [edi + 0x4c]
je 0x40fe2e
test byte [edi + 8], 1
jne 0x40fe2e
movss xmm0, dword [edx + 0x19e8]
mulss xmm0, dword [edi + 0x26c]
mov eax, dword [edi + 0x30c]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x40fe1e
mulss xmm0, dword [eax + 0x26c]
movss xmm1, dword [edx + 0x15e0]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x44]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x48]
comiss xmm3, xmm0
ja 0x40fe48
movaps xmm3, xmm5
minss xmm3, xmm0
movss xmm0, dword [edi + 0x40]
comiss xmm2, xmm0
ja 0x40fe59
movaps xmm2, xmm6
minss xmm2, xmm0
movss dword [edi + 0x40], xmm2
movss dword [edi + 0x44], xmm3
jmp 0x40ff6f
cmp dword [esi + 0x1588], 0
jle 0x40ff6f
mov eax, dword [edi + 0x2c]
movsx eax, word [eax + 0x68]
test eax, eax
js 0x40fe96
cmp eax, dword [edx + 0x1588]
jge 0x40fe96
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x1590]
lea eax, [eax + ecx*4]
jmp 0x40fe9c
lea eax, [edx + 0x1e34]
movaps xmm1, xmm4
movaps xmm2, xmm0
addss xmm1, dword [eax + 0x10]
addss xmm2, dword [eax + 0x14]
movss dword [esp + 0x130], xmm1
movss dword [esp + 0x134], xmm2
movss xmm5, dword [eax + 0x18]
addss xmm5, dword [eax + 0x10]
subss xmm5, xmm4
movss xmm4, dword [eax + 0x1c]
addss xmm4, dword [eax + 0x14]
movss dword [esp + 0x138], xmm5
subss xmm4, xmm0
movss dword [esp + 0x13c], xmm4
cmp byte [edx + 0xbd], 0
movss xmm3, dword [edi + 0x4c]
je 0x40ff3a
test byte [edi + 8], 1
jne 0x40ff3a
movss xmm0, dword [edx + 0x19e8]
mulss xmm0, dword [edi + 0x26c]
mov eax, dword [edi + 0x30c]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x40ff2a
mulss xmm0, dword [eax + 0x26c]
movss xmm3, dword [edx + 0x15e0]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm0, dword [edi + 0x44]
subss xmm2, xmm3
subss xmm1, dword [edi + 0x48]
comiss xmm2, xmm0
ja 0x40ff54
movaps xmm2, xmm4
minss xmm2, xmm0
movss xmm0, dword [edi + 0x40]
comiss xmm1, xmm0
ja 0x40ff65
movaps xmm1, xmm5
minss xmm1, xmm0
movss dword [edi + 0x40], xmm1
movss dword [edi + 0x44], xmm2
cvttss2si eax, dword [edi + 0x40]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x44]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x40], xmm1
movss dword [edi + 0x44], xmm0
cmp byte [edi + 0xbe], 0
jne 0x40ffea
test byte [edi + 0x359], 1
jne 0x40ffea
mov ecx, dword [esp + 0x14]
test ecx, 0x1000000
je 0x40ffbe
movss xmm0, dword [esi + 0x15cc]
movss dword [edi + 0x78], xmm0
jmp 0x40fff5
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x40ffdb
movss xmm0, dword [esi + 0x15d4]
movss dword [edi + 0x78], xmm0
jmp 0x40fff5
movss xmm0, dword [esi + 0x15b0]
movss dword [edi + 0x78], xmm0
jmp 0x40fff5
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x78], 0
xor al, al
mov dword [esp + 0x24], eax
cmp byte [esp + 0x1b], al
je 0x41003e
test ecx, 0x1000
jne 0x41003e
test ecx, 0x4000000
je 0x410018
mov byte [esp + 0x24], 1
jmp 0x41003e
test byte [edi + 0x359], 1
jne 0x410029
test ecx, 0x1000000
jne 0x41003e
test ecx, 0x2000000
movzx eax, al
mov ecx, 1
cmove eax, ecx
mov dword [esp + 0x24], eax
cmp dword [edi + 0x378], 0
jne 0x410054
test byte [edi + 0x359], 1
je 0x410054
xor al, al
jmp 0x410056
mov al, 1
movss xmm2, dword [esi + 0x19e4]
xorps xmm0, xmm0
movaps xmmword [esp + 0x160], xmm0
movaps xmm1, xmm2
mulss xmm2, dword [0x4e68d8]
xor ecx, ecx
cmp byte [esi + 0xbc], cl
mulss xmm1, dword [0x4e6938]
mov dword [esp + 0x14c], 0xffffffff
setne cl
movss xmm0, dword [edi + 0x78]
inc ecx
mov byte [esp + 0x20], al
mov dword [esp + 0x88], ecx
addss xmm0, dword [0x4e6934]
addss xmm0, xmm2
maxss xmm1, xmm0
cvttss2si esi, xmm1
mov dword [esp + 0x6c], esi
test al, al
je 0x410106
cmp byte [edi + 0xc2], 0
jne 0x410106
lea eax, [esp + 0x130]
push eax
lea eax, [esp + 0x164]
push eax
push ecx
lea eax, [esp + 0x158]
mov ecx, edi
push eax
lea edx, [esp + 0x138]
call fcn.0040c890
mov edx, dword [0x4f0690]
add esp, 0x10
test al, al
je 0x410106
mov byte [esp + 0x10], 1
mov byte [esp + 0x11], 1
mov al, byte [esp + 0x14c]
mov byte [edi + 0xc9], al
cmp byte [edi + 0xbe], 0
je 0x41024d
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x1c], eax
cmp byte [eax + 0x44], 0
jne 0x41013f
mov esi, dword [esp + 0x1c]
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x44]
mov dword [esi + 8], eax
mov eax, esi
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x1c], eax
cmp byte [eax + 0x45], 0
jne 0x41015e
mov esi, dword [esp + 0x1c]
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x4c]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [eax + 0x14], ecx
mov eax, dword [edi + 0x2c]
movss xmm0, dword [eax + 0xe4]
addss xmm0, dword [eax + 0xc]
movss xmm2, dword [eax + 0xe0]
movaps xmm1, xmm2
addss xmm1, dword [eax + 8]
movss dword [eax + 0x1c], xmm0
movss xmm0, dword [eax + 0x10]
subss xmm0, xmm2
xorps xmm2, xmm2
movss dword [eax + 0x18], xmm1
xorps xmm1, xmm1
addss xmm0, dword [eax + 0xe8]
maxss xmm2, xmm0
movss xmm0, dword [eax + 0x14]
subss xmm0, dword [eax + 0xe4]
addss xmm0, dword [eax + 0xec]
movss dword [eax + 0x20], xmm2
maxss xmm1, xmm0
movss dword [eax + 0x24], xmm1
mov eax, dword [edi + 0x2c]
movss xmm0, dword [eax + 0xc]
movss xmm1, dword [eax + 8]
movss dword [esp + 0x114], xmm0
addss xmm0, dword [eax + 0x14]
movss dword [esp + 0x110], xmm1
addss xmm1, dword [eax + 0x10]
movss dword [esp + 0x11c], xmm0
movss dword [esp + 0x118], xmm1
movaps xmm0, xmmword [esp + 0x110]
movaps xmmword [esp + 0x150], xmm0
movss xmm0, dword [esp + 0x15c]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x158]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x154]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x150]
movss dword [esp + 0x30], xmm0
mov eax, dword [edi + 0x2c]
movss xmm6, dword [esp + 0x60]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edi + 0x34], ecx
mov dword [edi + 0x38], eax
cmp byte [edi + 0xc2], 0
jne 0x4103b4
cmp dword [esp + 0x5c], 0
movss xmm1, dword [edi + 0x1e4]
movss xmm3, dword [edi + 0x1e8]
subss xmm1, dword [edi + 0x1dc]
subss xmm3, dword [edi + 0x1e0]
movss xmm4, dword [edi + 0x54]
movss xmm5, dword [edi + 0x50]
subss xmm4, xmm6
addss xmm1, dword [edi + 0xb4]
addss xmm3, dword [edi + 0xb8]
jne 0x4102bc
xorps xmm2, xmm2
xorps xmm0, xmm0
jmp 0x4102d8
movss xmm2, dword [edi + 0x70]
movss xmm0, dword [edi + 0x74]
addss xmm2, xmm2
addss xmm0, xmm0
addss xmm2, dword [edi + 0x58]
addss xmm0, dword [edi + 0x5c]
mov al, byte [esp + 0x11]
test al, al
jne 0x4102e3
movaps xmm5, xmm1
cmp byte [esp + 0x10], 0
jne 0x4102ed
movaps xmm4, xmm3
mov ecx, dword [esp + 0x14]
test ecx, 0x4000
jne 0x410307
comiss xmm0, xmm4
jbe 0x410303
test cl, 8
je 0x410307
xor al, al
jmp 0x410309
mov al, 1
mov byte [edi + 0xbd], al
test ecx, 0x8000
jne 0x41034c
test al, al
je 0x410329
mov eax, dword [esp + 0x28]
movss xmm1, dword [eax + 0x1614]
jmp 0x41032c
xorps xmm1, xmm1
subss xmm5, xmm1
comiss xmm2, xmm5
jbe 0x410343
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
je 0x41034c
mov byte [edi + 0xbc], 0
jmp 0x410372
mov byte [edi + 0xbc], 1
cmp byte [edi + 0xbd], 0
jne 0x410372
comiss xmm0, xmm4
jbe 0x41036a
test cl, 8
jne 0x41036a
mov al, 1
jmp 0x41036c
xor al, al
mov byte [edi + 0xbd], al
cmp byte [edi + 0xbc], 0
mov eax, dword [esp + 0x28]
je 0x410389
movss xmm1, dword [eax + 0x1614]
jmp 0x41038c
xorps xmm1, xmm1
cmp byte [edi + 0xbd], 0
je 0x41039f
movss xmm0, dword [eax + 0x1614]
jmp 0x4103a2
xorps xmm0, xmm0
movss dword [edi + 0xb4], xmm0
movss dword [edi + 0xb8], xmm1
jmp 0x4103b8
mov ecx, dword [esp + 0x14]
mov eax, ecx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x4103db
cmp dword [esp + 0x74], 0x3000000
je 0x4103db
mov eax, dword [esp + 0x44]
add eax, 0x21c
jmp 0x4103e2
lea eax, [esp + 0x150]
test byte [edi + 8], 1
movss xmm1, dword [edi + 0x44]
movups xmm0, xmmword [eax]
movss xmm4, dword [edi + 0x40]
movaps xmm7, xmm1
addss xmm7, dword [edi + 0x4c]
movaps xmm5, xmm4
movss dword [esp + 0x1c], xmm1
addss xmm5, dword [edi + 0x48]
movups xmmword [esp + 0x110], xmm0
je 0x410418
xorps xmm3, xmm3
jmp 0x410452
movss xmm0, dword [edx + 0x19e8]
mulss xmm0, dword [edi + 0x26c]
mov eax, dword [edi + 0x30c]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x410442
mulss xmm0, dword [eax + 0x26c]
movss xmm3, dword [edx + 0x15e0]
addss xmm3, xmm3
addss xmm3, xmm0
movaps xmm2, xmm4
addss xmm1, xmm3
addss xmm2, dword [edi + 0x50]
movss dword [esp + 0xa0], xmm4
movss xmm0, dword [edi + 0x44]
movss dword [esp + 0xa4], xmm0
movss dword [esp + 0xac], xmm1
movss dword [esp + 0xa8], xmm2
movss dword [edi + 0x1cc], xmm4
movss xmm0, dword [esp + 0x1c]
movss dword [edi + 0x1d0], xmm0
movss dword [edi + 0x1d4], xmm5
movss dword [edi + 0x1d8], xmm7
test byte [edi + 0x359], 1
je 0x41050b
test byte [edi + 8], 1
je 0x4104c1
xorps xmm1, xmm1
jmp 0x4104fb
movss xmm0, dword [edx + 0x19e8]
mulss xmm0, dword [edi + 0x26c]
mov eax, dword [edi + 0x30c]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x4104eb
mulss xmm0, dword [eax + 0x26c]
movss xmm1, dword [edx + 0x15e0]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm1, dword [edi + 0x1d0]
movss dword [edi + 0x1d0], xmm1
movss xmm1, dword [edi + 0x1cc]
movss xmm0, dword [edi + 0x1d0]
movss xmm3, dword [esp + 0x110]
movss xmm4, dword [esp + 0x114]
maxss xmm1, xmm3
movss xmm7, dword [esp + 0x11c]
maxss xmm0, xmm4
movss dword [edi + 0x1cc], xmm1
movss dword [edi + 0x1d0], xmm0
movss xmm0, dword [edi + 0x1d8]
movss xmm1, dword [edi + 0x1d4]
minss xmm0, xmm7
minss xmm1, dword [esp + 0x118]
movss dword [edi + 0x1d8], xmm0
movaps xmm0, xmm6
movss dword [edi + 0x1d4], xmm1
mov eax, dword [edi + 0x40]
mov dword [edi + 0x1dc], eax
mov eax, ecx
addss xmm0, dword [edi + 0x44]
mov ecx, dword [esp + 0x28]
and eax, 0x401
movss dword [edi + 0x1e0], xmm0
movss xmm0, dword [edi + 0x48]
addss xmm0, dword [edi + 0x40]
subss xmm0, dword [edi + 0xb4]
movss dword [edi + 0x1e4], xmm0
movss xmm0, dword [edi + 0x4c]
addss xmm0, dword [edi + 0x44]
subss xmm0, dword [edi + 0xb8]
movss dword [edi + 0x1e8], xmm0
cmp eax, 1
jne 0x4105df
movss xmm5, dword [edi + 0x7c]
jmp 0x4105e7
movss xmm5, dword [ecx + 0x15e8]
movss xmm0, dword [edi + 0x70]
movss xmm2, dword [0x4e68f0]
mulss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0x1dc]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x7c]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1ec], xmm0
movss xmm0, dword [edi + 0x1e0]
addss xmm0, xmm2
addss xmm0, xmm5
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f0], xmm0
movss xmm0, dword [edi + 0x70]
mulss xmm0, xmm2
movss xmm1, dword [edi + 0x1e4]
addss xmm1, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm0, dword [edi + 0x7c]
subss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f4], xmm0
movss xmm0, dword [edi + 0x1e8]
addss xmm0, xmm2
subss xmm0, dword [edi + 0x7c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f8], xmm0
movss xmm0, dword [edi + 0x1f0]
comiss xmm4, xmm0
jbe 0x4106c0
movaps xmm1, xmm4
jmp 0x4106c7
movaps xmm1, xmm7
minss xmm1, xmm0
movss xmm2, dword [edi + 0x1ec]
comiss xmm3, xmm2
movss xmm5, dword [esp + 0x118]
jbe 0x4106e2
movaps xmm0, xmm3
jmp 0x4106e9
movaps xmm0, xmm5
minss xmm0, xmm2
movss dword [edi + 0x1ec], xmm0
movss dword [edi + 0x1f0], xmm1
movss xmm0, dword [edi + 0x1f8]
comiss xmm4, xmm0
ja 0x41070d
movaps xmm4, xmm7
minss xmm4, xmm0
movss xmm0, dword [edi + 0x1f4]
comiss xmm3, xmm0
ja 0x410721
movaps xmm3, xmm5
minss xmm3, xmm0
movss dword [edi + 0x1f4], xmm3
xorps xmm2, xmm2
movss dword [edi + 0x1f8], xmm4
movss xmm0, dword [edi + 0x48]
comiss xmm0, xmm2
jbe 0x410752
test dword [esp + 0x14], 0x2000040
jne 0x410752
mulss xmm0, dword [0x4e68fc]
jmp 0x410762
movss xmm0, dword [ecx + 0x19e4]
mulss xmm0, dword [0x4e69b8]
cvttss2si eax, xmm0
mov edx, edi
lea ecx, [esp + 0x78]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x250], xmm0
movss xmm1, dword [edi + 0x70]
movss xmm0, dword [edi + 0x1e4]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1dc]
addss xmm1, dword [edi + 0x58]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x94], xmm0
movss xmm1, dword [edi + 0x74]
movss xmm0, dword [edi + 0x1e8]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1e0]
addss xmm1, dword [edi + 0x5c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x98], xmm0
call fcn.00412bc0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x28]
movss dword [edi + 0x8c], xmm0
movss dword [edi + 0x90], xmm1
mov dword [edi + 0x9c], 0x7f7fffff
mov dword [edi + 0xa0], 0x7f7fffff
mov eax, dword [eax + 0x19e0]
mov ecx, dword [edi + 0x278]
mov dword [esp + 0x78], ecx
add ecx, 0x48
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 0x30]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x80], eax
cmp edx, eax
jne 0x410871
lea ecx, [edx + 1]
test eax, eax
je 0x410859
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x80]
jmp 0x41085e
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00423e00
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov esi, dword [esp + 0x5c]
mov dword [eax + edx*4], esi
mov eax, esi
inc dword [ecx]
mov ecx, dword [esp + 0x78]
mov dword [ecx + 0x70], eax
call fcn.0042c790
mov ecx, dword [0x4f0690]
movss xmm0, dword [esp + 0x110]
movss xmm1, dword [esp + 0x114]
mov esi, dword [esp + 0x6c]
mov eax, dword [ecx + 0x1c4c]
movss dword [esp + 0x90], xmm0
maxss xmm0, dword [esp + 0x118]
movss dword [esp + 0x94], xmm1
maxss xmm1, dword [esp + 0x11c]
mov byte [eax + 0xc1], 1
mov eax, dword [ecx + 0x1c4c]
mov dword [esp + 0x5c], eax
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x9c], xmm1
mov eax, dword [eax + 0x278]
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x78], eax
cmp edx, eax
jne 0x410942
lea ecx, [edx + 1]
test eax, eax
je 0x41092a
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x78]
jmp 0x41092f
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00423d80
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
movaps xmm0, xmmword [esp + 0x90]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, dword [esp + 0x80]
movups xmmword [ecx + 0x60], xmm0
call fcn.0042c6f0
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 0x278]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
test dword [esp + 0x14], 0x8000000
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 [edx + 0x21c], eax
movss dword [edx + 0x220], xmm0
movss dword [edx + 0x224], xmm1
movss dword [edx + 0x228], xmm2
mov edx, dword [esp + 0x28]
je 0x410a23
mov eax, dword [0x4f0690]
mov eax, dword [eax + 0x1dfc]
sub eax, 1
mov dword [esp + 0x78], eax
js 0x410a0f
lea ecx, [eax + eax*8]
mov eax, dword [0x4f0690]
lea ecx, [ecx + 1]
mov eax, dword [eax + 0x1e04]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x1c], ecx
nop dword [eax + eax]
mov ecx, dword [ecx]
test ecx, ecx
je 0x4109ff
test dword [ecx + 8], 0x8000000
jne 0x410a11
mov ecx, dword [esp + 0x1c]
sub ecx, 0x24
sub eax, 1
mov dword [esp + 0x1c], ecx
jns 0x4109f0
xor ecx, ecx
cmp edi, ecx
jne 0x410a23
cmp byte [edi + 0xe1], 0
mov byte [esp + 0x10], 1
jle 0x410a28
mov byte [esp + 0x10], 0
mov ecx, dword [edx + 0x1fb0]
test ecx, ecx
je 0x410a50
cmp edi, dword [ecx + 0x318]
je 0x410a4c
mov eax, dword [edx + 0x1fb4]
cmp edi, eax
jne 0x410a50
mov eax, dword [eax + 0x2c]
cmp eax, dword [ecx + 0x2c]
je 0x410a50
mov al, 1
jmp 0x410a52
xor al, al
mov cl, byte [esp + 0x10]
mov byte [esp + 0x11], al
test cl, cl
jne 0x410a66
test al, al
je 0x410b7a
movss xmm1, dword [edx + 0x1fc4]
push 0
push ecx
movzx ecx, cl
add ecx, 0x35
mov dword [esp], 0
call fcn.00404de0
mov ecx, dword [edi + 0x278]
push eax
lea eax, [esp + 0x164]
push eax
lea eax, [esp + 0x160]
push eax
call fcn.0042eb30
cmp byte [esp + 0x11], 0
je 0x410b7a
mov edx, dword [esp + 0x28]
cmp edi, dword [edx + 0x1fb0]
jne 0x410b7a
movss xmm2, dword [edi + 0x40]
movss xmm3, dword [edi + 0x44]
movaps xmm1, xmm2
movss xmm0, dword [edx + 0x19e4]
movaps xmm4, xmm3
addss xmm2, dword [edi + 0x48]
addss xmm3, dword [edi + 0x4c]
subss xmm1, xmm0
subss xmm4, xmm0
addss xmm2, xmm0
addss xmm3, xmm0
movss xmm0, dword [esp + 0x30]
comiss xmm0, xmm1
movss dword [esp + 0x110], xmm1
movss dword [esp + 0x114], xmm4
movss dword [esp + 0x118], xmm2
movss dword [esp + 0x11c], xmm3
jb 0x410b34
movss xmm0, dword [esp + 0x58]
comiss xmm0, xmm4
jb 0x410b34
comiss xmm2, dword [esp + 0x48]
jb 0x410b34
comiss xmm3, dword [esp + 0x50]
jae 0x410b7a
movss xmm1, dword [edx + 0x1fbc]
mulss xmm1, dword [0x4e68dc]
push 0
movss xmm0, dword [edx + 0x15b0]
push ecx
mov ecx, 0x34
movss dword [esp], xmm0
call fcn.00404de0
mov ecx, dword [edi + 0x278]
push eax
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x120]
push eax
call fcn.0042eb30
mov al, byte [edi + 0x359]
and al, 5
cmp al, 1
je 0x410ce8
mov eax, dword [esp + 0x14]
and eax, 0x5000000
mov byte [esp + 0x11], 0
cmp eax, 0x1000000
jne 0x410c55
cmp dword [esp + 0x74], 0x3000000
je 0x410c55
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x18c]
cmp ecx, 2
jl 0x410c19
mov eax, dword [eax + 0x194]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x410c19
movss xmm5, dword [eax + 0x44]
movss xmm7, dword [eax + 0x40]
movaps xmm0, xmm5
addss xmm0, dword [eax + 0x4c]
movss xmm6, dword [edi + 0x40]
movaps xmm3, xmm7
movss xmm2, dword [edi + 0x44]
movaps xmm4, xmm6
addss xmm3, dword [eax + 0x48]
addss xmm4, dword [edi + 0x48]
comiss xmm0, dword [edi + 0x44]
addss xmm2, dword [edi + 0x4c]
jbe 0x410c19
comiss xmm2, xmm5
jbe 0x410c19
comiss xmm3, xmm6
jbe 0x410c19
comiss xmm4, xmm7
mov byte [esp + 0x10], 1
ja 0x410c1e
mov byte [esp + 0x10], 0
mov edx, dword [edi + 0x278]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x410c55
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x278]
cmp dword [eax + 0x18], 0
jle 0x410c55
cmp byte [esp + 0x10], 0
jne 0x410c55
mov byte [esp + 0x11], 1
mov dword [edi + 0x278], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x1fac]
test ecx, ecx
jne 0x410c69
mov ecx, dword [eax + 0x1e5c]
cmp byte [esp + 0x24], 0
jne 0x410c9b
test ecx, ecx
je 0x410c94
mov eax, dword [edi + 0x31c]
cmp eax, dword [ecx + 0x31c]
je 0x410c9b
mov eax, dword [edi + 0x374]
test eax, eax
je 0x410c94
cmp eax, dword [ecx + 0x374]
je 0x410c9b
mov byte [esp + 0x1c], 0
jmp 0x410ca0
mov byte [esp + 0x1c], 1
movd xmm0, esi
lea eax, [esp + 0x160]
push ecx
cvtdq2ps xmm0, xmm0
lea edx, [esp + 0xa4]
mov ecx, edi
movss dword [esp], xmm0
push eax
push dword [esp + 0x90]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.0040d880
add esp, 0x14
cmp byte [esp + 0x11], 0
je 0x410ce8
lea eax, [edi + 0x27c]
mov dword [edi + 0x278], eax
mov esi, dword [esp + 0x28]
cmp dword [esi + 0x1fb0], edi
jne 0x410e0d
movss xmm3, dword [edi + 0x40]
movss xmm2, dword [edi + 0x44]
movaps xmm4, xmm3
movss xmm1, dword [esi + 0x19e4]
movaps xmm0, xmm2
addss xmm3, dword [edi + 0x48]
addss xmm2, dword [edi + 0x4c]
movss xmm6, dword [edi + 0x78]
subss xmm4, xmm1
movss xmm7, dword [esp + 0x30]
subss xmm0, xmm1
movaps xmm5, xmm6
maxss xmm5, dword [esi + 0x15b0]
addss xmm3, xmm1
comiss xmm7, xmm4
addss xmm2, xmm1
movss dword [esp + 0x110], xmm4
movss dword [esp + 0x114], xmm0
movss dword [esp + 0x118], xmm3
movss dword [esp + 0x11c], xmm2
jb 0x410dcb
movss xmm7, dword [esp + 0x58]
comiss xmm7, xmm0
jb 0x410dcb
comiss xmm3, dword [esp + 0x48]
jb 0x410dcb
comiss xmm2, dword [esp + 0x50]
jb 0x410dcb
xorps xmm1, xmmword [0x4e7230]
movaps xmm5, xmm6
subss xmm1, dword [0x4e6934]
subss xmm0, xmm1
subss xmm4, xmm1
movss dword [esp + 0x114], xmm0
movaps xmm0, xmm1
addss xmm0, xmm3
movss dword [esp + 0x110], xmm4
addss xmm1, xmm2
movss dword [esp + 0x118], xmm0
movss dword [esp + 0x11c], xmm1
movss xmm1, dword [esi + 0x1fbc]
sub esp, 0x10
mov ecx, 0x34
mov dword [esp + 0xc], 0x40400000
movss dword [esp + 4], xmm5
call fcn.00404de0
mov ecx, dword [edi + 0x278]
add esp, 4
push eax
lea eax, [esp + 0x128]
push eax
lea eax, [esp + 0x124]
push eax
call fcn.0042ea40
mov ecx, dword [esp + 0x14]
xorps xmm4, xmm4
movss xmm3, dword [edi + 0x68]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm3, xmm4
lahf
test ah, 0x44
jp 0x410e62
movss xmm0, dword [edi + 0x70]
mov eax, ecx
movss xmm1, dword [edi + 0x48]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [edi + 0xb4]
cmp eax, 0x800
jne 0x410e5b
movss xmm3, dword [edi + 0x58]
jmp 0x410e5e
xorps xmm3, xmm3
maxss xmm3, xmm1
movss xmm2, dword [edi + 0x6c]
ucomiss xmm2, xmm4
lahf
test ah, 0x44
jp 0x410ea2
movss xmm0, dword [edi + 0x74]
movss xmm1, dword [edi + 0x4c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [esp + 0x60]
subss xmm1, dword [edi + 0xb8]
test dl, dl
je 0x410e9b
movss xmm2, dword [edi + 0x5c]
jmp 0x410e9e
xorps xmm2, xmm2
maxss xmm2, xmm1
movss xmm1, dword [edi + 0x70]
maxss xmm1, dword [edi + 0x7c]
movss xmm0, dword [edi + 0x1dc]
subss xmm0, dword [edi + 0x8c]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1fc], xmm0
movss xmm1, dword [edi + 0x74]
movss xmm0, dword [edi + 0x1e0]
subss xmm0, dword [edi + 0x90]
maxss xmm1, dword [edi + 0x7c]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x200], xmm0
addss xmm3, dword [edi + 0x1fc]
movss dword [edi + 0x204], xmm3
addss xmm2, dword [edi + 0x200]
movss dword [edi + 0x208], xmm2
movups xmm0, xmmword [edi + 0x1fc]
movss xmm2, dword [esp + 0x60]
movups xmmword [edi + 0x20c], xmm0
movss xmm0, dword [edi + 0x40]
subss xmm0, dword [edi + 0x8c]
addss xmm0, dword [edi + 0x70]
movss dword [edi + 0x22c], xmm0
movss xmm0, dword [edi + 0x44]
subss xmm0, dword [edi + 0x90]
addss xmm0, dword [edi + 0x74]
addss xmm0, xmm2
movss dword [edi + 0x230], xmm0
movss xmm1, dword [edi + 0x68]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x410f98
movss xmm0, dword [edi + 0x70]
movss xmm1, dword [edi + 0x48]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [edi + 0xb4]
addss xmm1, dword [edi + 0x22c]
movss dword [edi + 0x234], xmm1
movss xmm1, dword [edi + 0x6c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jp 0x410fd4
movss xmm0, dword [edi + 0x74]
movss xmm1, dword [edi + 0x4c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm2
subss xmm1, dword [edi + 0xb8]
addss xmm1, dword [edi + 0x230]
movss dword [edi + 0x238], xmm1
movss xmm0, dword [edi + 0x70]
addss xmm0, xmm4
subss xmm0, dword [edi + 0x8c]
movss dword [edi + 0x144], xmm0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x148], 0
addss xmm2, dword [edi + 0x74]
movss xmm0, dword [edi + 0x144]
addss xmm0, xmm4
subss xmm2, dword [edi + 0x90]
addss xmm0, dword [edi + 0x40]
addss xmm2, dword [edi + 0x44]
movss dword [edi + 0x114], xmm0
movss dword [edi + 0x118], xmm2
movss dword [edi + 0x104], xmm0
movss dword [edi + 0x108], xmm2
movss dword [edi + 0x10c], xmm0
movss dword [edi + 0x110], xmm2
mov eax, dword [edi + 0x114]
mov ecx, dword [edi + 0x118]
mov dword [edi + 0x11c], eax
mov dword [edi + 0x120], ecx
mov eax, dword [edi + 0x114]
mov ecx, dword [edi + 0x118]
mov dword [edi + 0x124], eax
mov dword [edi + 0x128], ecx
lea ecx, [edi + 0x168]
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x130], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x150], 0
mov ax, word [edi + 0x156]
mov word [edi + 0x154], ax
xor eax, eax
mov word [edi + 0x156], ax
mov byte [edi + 0x15c], al
movss xmm0, dword [edi + 0x98]
comiss xmm0, xmm4
seta al
cmp byte [esp + 0x1b], 0
mov byte [edi + 0x15d], al
lea eax, [ecx + 0x12]
mov byte [edi + 0x15e], 0
movss xmm1, dword [esi + 0x15ec]
mov dword [esp + 0x20], eax
je 0x411137
xorps xmm0, xmm0
movq qword [eax], xmm0
jmp 0x41113b
mov dword [esp + 0x20], eax
cvttss2si eax, xmm1
push 1
mov word [ecx + 8], ax
call fcn.004421c0
mov eax, dword [esp + 0x20]
xorps xmm0, xmm0
push ecx
lea ecx, [edi + 0x18c]
movq qword [eax], xmm0
mov eax, dword [edi + 0x16c]
mov dword [edi + 0x168], eax
mov dword [edi + 0x16c], 0
mov dword [edi + 0x184], 0
mov dword [edi + 0x188], 0
call fcn.00423a30
lea eax, [edi + 0x254]
mov dword [edi + 0x198], eax
mov eax, dword [esp + 0x44]
mov dword [edi + 0x19c], 0
mov dword [edi + 0x1a4], 1
test eax, eax
je 0x4111bb
mov eax, dword [eax + 0x1a4]
jmp 0x4111c0
mov eax, 1
mov dword [edi + 0x1a8], eax
mov eax, dword [edi + 0x250]
push ecx
mov dword [edi + 0x1ac], eax
lea ecx, [edi + 0x1b4]
mov dword [edi + 0x1b0], 0xbf800000
call fcn.00423a30
push ecx
lea ecx, [edi + 0x1c0]
call fcn.00423a30
mov al, byte [edi + 0xd8]
test al, al
jle 0x411206
dec al
mov byte [edi + 0xd8], al
mov al, byte [edi + 0xd9]
test al, al
jle 0x411218
dec al
mov byte [edi + 0xd9], al
cmp byte [esp + 0x24], 0
je 0x41122f
mov ecx, edi
call fcn.00411bf0
xor dl, dl
mov ecx, edi
call fcn.00414f60
mov edx, dword [esp + 0x64]
test edx, edx
je 0x411269
mov ecx, dword [edi + 0x2c]
cmp byte [ecx + 0x46], 0
je 0x411269
mov eax, dword [0x4f0690]
mov eax, dword [eax + 0x1e1c]
cmp ecx, dword [eax]
je 0x411269
mov al, byte [edi + 0x359]
and al, 5
cmp al, 1
je 0x411269
mov byte [ecx + 0x46], 0
mov byte [esi + 0x1fc0], 0
mov byte [edx], 0
test byte [esp + 0x14], 1
jne 0x4112e1
test byte [edi + 0x359], 1
jne 0x4112e1
movss xmm0, dword [esp + 0xa0]
mov ecx, edi
addss xmm0, dword [edi + 0x7c]
push edx
push dword [esp + 0x74]
lea edx, [esp + 0x98]
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0xac]
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0xb0]
subss xmm0, dword [edi + 0x7c]
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [esp + 0xb4]
movss dword [esp + 0xa4], xmm0
call fcn.0040e2a0
add esp, 8
xor eax, eax
mov dword [edi + 0x23c], eax
test byte [esi + 8], 0x40
je 0x411358
cmp dword [esi + 0x1c5c], edi
jne 0x41131b
mov al, byte [esi + 0xb1]
cmp al, byte [esi + 0x101]
jne 0x41131b
mov eax, dword [edi + 0x318]
test dword [eax + 8], 0x200000
jne 0x41131b
mov ecx, edi
call fcn.004219c0
cmp byte [esi + 0x1fcc], 0
je 0x411358
test dword [esp + 0x14], 0x200000
jne 0x411358
mov eax, dword [esi + 0x1c5c]
test eax, eax
je 0x411340
cmp dword [eax + 0x318], edi
je 0x411358
cmp edi, dword [edi + 0x318]
jne 0x411358
test dword [edi + 8], 0x20000000
jne 0x411358
mov ecx, edi
call fcn.00421ba0
test byte [edi + 0x359], 1
je 0x4113a1
mov ecx, dword [esi + 0x1cd8]
mov esi, dword [0x4f0690]
mov eax, dword [edi + 4]
mov edx, dword [edi + 0x380]
mov dword [esi + 0x1cf0], eax
mov eax, esi
mov esi, dword [esp + 0x28]
mov dword [eax + 0x1cf4], ecx
mov dword [eax + 0x1cf8], edx
movups xmm0, xmmword [edi + 0x384]
movups xmmword [eax + 0x1cfc], xmm0
jmp 0x411557
mov eax, dword [0x4f0690]
movss xmm1, dword [esp + 0xa0]
movss xmm6, dword [esp + 0xa8]
movss xmm7, dword [esp + 0xac]
movaps xmm3, xmm6
movss xmm2, dword [eax + 0x1604]
movaps xmm4, xmm7
movss xmm0, dword [eax + 0x1608]
subss xmm1, xmm2
movss xmm5, dword [eax + 0xe4]
addss xmm3, xmm2
movss xmm2, dword [esp + 0xa4]
addss xmm4, xmm0
subss xmm2, xmm0
comiss xmm5, xmm1
jb 0x41145a
movss xmm0, dword [eax + 0xe8]
comiss xmm0, xmm2
jb 0x41145a
comiss xmm3, xmm5
jbe 0x41145a
comiss xmm4, xmm0
jbe 0x41145a
mov eax, dword [eax + 0x1e28]
movss xmm3, dword [eax + 0xc]
movss xmm2, dword [eax + 8]
movaps xmm0, xmm3
addss xmm0, dword [eax + 0x14]
movaps xmm1, xmm2
addss xmm1, dword [eax + 0x10]
comiss xmm0, dword [esp + 0xa4]
jbe 0x41145a
comiss xmm7, xmm3
jbe 0x41145a
comiss xmm1, dword [esp + 0xa0]
jbe 0x41145a
comiss xmm6, xmm2
mov dword [esp + 0x64], 1
ja 0x411462
mov dword [esp + 0x64], 0
mov edx, dword [0x4f0690]
mov eax, dword [edi + 0x84]
mov ecx, dword [esi + 0x1cd8]
mov dword [edx + 0x1cf0], eax
mov eax, dword [esp + 0x64]
mov dword [edx + 0x1cf4], ecx
mov dword [edx + 0x1cf8], eax
movups xmm0, xmmword [esp + 0xa0]
movups xmmword [edx + 0x1cfc], xmm0
jmp 0x411557
mov ecx, dword [edi + 0x2c]
mov edx, dword [0x4f0690]
test ecx, ecx
je 0x4114b4
mov eax, dword [edx + 0x1be8]
mov dword [ecx + 0x4c], eax
cmp dword [edx + 0x1e24], ecx
je 0x4114f1
test ecx, ecx
je 0x4114e1
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x1e20], eax
mov eax, dword [edx + 0x1568]
mov dword [edx + 0x1e24], ecx
test eax, eax
je 0x4114f1
push ecx
call eax
add esp, 4
jmp 0x4114f1
mov dword [edx + 0x1e20], 0x3f800000
mov dword [edx + 0x1e24], ecx
mov eax, dword [0x4f0690]
mov dword [eax + 0x1c4c], edi
mov ecx, dword [edi + 0x1a0]
cmp ecx, 0xffffffff
je 0x411515
imul ecx, ecx, 0x1c8
add ecx, dword [eax + 0x2088]
jmp 0x411517
xor ecx, ecx
movss xmm0, dword [eax + 0x19e8]
mov dword [eax + 0x206c], ecx
mulss xmm0, dword [edi + 0x26c]
mov ecx, dword [edi + 0x30c]
mulss xmm0, dword [edi + 0x270]
test ecx, ecx
je 0x411547
mulss xmm0, dword [ecx + 0x26c]
movss dword [eax + 0x19f8], xmm0
movss dword [eax + 0x19e4], xmm0
mov ecx, dword [esp + 0x14]
test ecx, 0x1000000
je 0x41156f
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x158]
jmp 0x4115df
mov ecx, dword [edi + 0xf8]
xor edx, edx
mov eax, dword [edi + 0x100]
push dword [eax + ecx*4 - 4]
mov ecx, str.FOCUSSCOPE
call fcn.00403960
mov ecx, eax
add esp, 4
mov eax, dword [0x4f0690]
mov dword [esp + 0x88], ecx
cmp dword [eax + 0x1c88], ecx
jne 0x4115aa
mov dword [eax + 0x1c8c], ecx
cmp dword [eax + 0x1cc4], ecx
jne 0x4115b9
mov byte [eax + 0x1cc8], 1
cmp dword [eax + 0x1c70], ecx
jne 0x4115d4
push ecx
push str.FOCUSSCOPE
mov edx, 0xb
call fcn.00422df0
add esp, 8
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x88]
mov dword [edi + 0x158], eax
test ecx, 0x20000000
jne 0x411771
mov ecx, dword [0x4f0690]
mov eax, dword [ecx + 0x1c4c]
mov byte [eax + 0xc1], 1
mov eax, dword [ecx + 0x1c4c]
movss xmm1, dword [edi + 0x1ec]
movss xmm0, dword [edi + 0x1f0]
movss xmm3, dword [edi + 0x1f4]
movss xmm2, dword [edi + 0x1f8]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x278]
mov dword [esp + 0x80], eax
movss dword [esp + 0x130], xmm1
movss dword [esp + 0x134], xmm0
movups xmm4, xmmword [eax + 0x60]
comiss xmm4, xmm1
movaps xmmword [esp + 0x90], xmm4
jbe 0x41166a
movaps xmm1, xmm4
movss dword [esp + 0x130], xmm1
movss xmm4, dword [esp + 0x94]
comiss xmm4, xmm0
jbe 0x411684
movaps xmm0, xmm4
movss dword [esp + 0x134], xmm0
movss xmm4, dword [esp + 0x98]
comiss xmm3, xmm4
jbe 0x411695
movaps xmm3, xmm4
movss xmm4, dword [esp + 0x9c]
comiss xmm2, xmm4
jbe 0x4116a6
movaps xmm2, xmm4
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
maxss xmm1, xmm3
mov dword [esp + 0x78], ecx
maxss xmm0, xmm2
movss dword [esp + 0x138], xmm1
movss dword [esp + 0x13c], xmm0
cmp edx, eax
jne 0x411702
inc edx
mov dword [esp + 0x88], edx
test eax, eax
je 0x4116ee
cdq
sub eax, edx
mov edx, dword [esp + 0x88]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x4116f3
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00423d80
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movaps xmm0, xmmword [esp + 0x130]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [esp + 0x80]
movups xmmword [ecx + 0x60], xmm0
call fcn.0042c6f0
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x278]
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 [esp + 0x14]
mov dword [edx + 0x21c], eax
movss dword [edx + 0x220], xmm0
movss dword [edx + 0x224], xmm1
movss dword [edx + 0x228], xmm2
mov eax, dword [esp + 0x68]
mov byte [edi + 0xc1], 0
inc word [edi + 0xca]
mov dword [esi + 0x1d2c], 0
cmp eax, dword [esp + 0x54]
je 0x41191a
mov al, byte [edi + 0x359]
and al, 5
cmp al, 1
jne 0x4117c1
mov eax, dword [edi + 0x248]
cmp eax, dword [esi + 0x1be8]
jne 0x4117ba
mov byte [edi + 0xe1], 1
jmp 0x4117c1
mov byte [edi + 0xe0], 1
test ecx, 0x1000000
je 0x411883
test cl, 0x40
jne 0x411849
cmp byte [edi + 0xd8], 0
jg 0x411849
cmp byte [edi + 0xd9], 0
jg 0x411849
test ecx, 0x800000
je 0x411811
cmp byte [esi + 0x1e9c], 0
je 0x411811
mov eax, dword [esi + 0x1e5c]
test eax, eax
je 0x411811
mov eax, dword [eax + 0x320]
cmp eax, dword [edi + 0x320]
jne 0x411811
mov al, 1
jmp 0x411813
xor al, al
cmp byte [esi + 0x30e4], 0
jne 0x411849
test al, al
jne 0x411849
movss xmm0, dword [edi + 0x1cc]
comiss xmm0, dword [edi + 0x1d4]
jae 0x411842
movss xmm0, dword [edi + 0x1d0]
comiss xmm0, dword [edi + 0x1d8]
jb 0x411849
mov byte [edi + 0xe0], 1
mov eax, dword [esp + 0x44]
test eax, eax
je 0x411883
cmp byte [eax + 0xc2], 0
jne 0x411863
cmp byte [eax + 0xe0], 0
jle 0x41186a
mov byte [edi + 0xe0], 1
cmp byte [eax + 0xc2], 0
jne 0x41187c
cmp byte [eax + 0xe1], 0
jle 0x411883
mov byte [edi + 0xe1], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x15a0]
jb 0x411896
mov byte [edi + 0xe0], 1
cmp byte [edi + 0xe0], 0
jg 0x4118b5
cmp byte [edi + 0xe1], 0
jg 0x4118b5
cmp byte [edi + 0xe2], 0
jg 0x4118b5
xor al, al
jmp 0x4118b7
mov al, 1
mov byte [edi + 0xc6], al
mov al, byte [edi + 0xe3]
test al, al
jle 0x4118d6
dec al
mov byte [edi + 0xe3], al
or dword [edi + 8], 0xc0200
xor al, al
cmp byte [edi + 0xc2], al
jne 0x4118f0
cmp byte [edi + 0xbf], al
je 0x4118f0
cmp byte [edi + 0xc6], al
je 0x411914
cmp byte [edi + 0xd8], 0
jg 0x411914
cmp byte [edi + 0xd9], 0
jg 0x411914
cmp byte [edi + 0xe1], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0xc4], al
cmp byte [edi + 0xc4], 0
mov ecx, dword [esp + 0x17c]
pop edi
sete al
pop esi
xor ecx, esp
call fcn.004ca5c5
mov esp, ebp
pop ebp
ret