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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x67c3c0]
xor eax, esp
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [0x682080]
push edi
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x10]
push 0
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x14]
push 0
push ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x2c], esi
call fcn.0040ec80
mov edi, eax
add esi, 0x1b84
push edi
push esi
call fcn.00410b60
mov edx, dword [esi]
add esp, 0x14
mov ecx, dword [esi + 8]
lea ecx, [ecx + edx*8]
cmp eax, ecx
je 0x407484
cmp dword [eax], edi
jne 0x407484
mov edi, dword [eax + 4]
test edi, edi
mov dword [esp + 0x28], edi
sete al
mov byte [esp + 0x10], al
test edi, edi
jne 0x4074a3
jmp 0x407491
mov dword [esp + 0x28], 0
mov byte [esp + 0x10], 1
push dword [esp + 0x14]
push dword [esp + 0x50]
call fcn.0040c230
add esp, 8
mov edi, eax
mov edx, dword [esp + 0x14]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x4074be
or edx, 6
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x20]
mov eax, dword [edi + 0x25c]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x1b78], 0
mov ecx, dword [esi + 0x1b38]
mov dword [esp + 0x3c], ecx
jne 0x4074ec
cmp byte [esi + 0x1b45], 0
je 0x4074ec
mov al, 1
jmp 0x4074ee
xor al, al
mov byte [edi + 0x92], al
lea eax, [ecx - 1]
cmp dword [esp + 0x38], eax
mov al, byte [edi + 0xa9]
setl ch
mov byte [esp + 0x11], al
mov byte [esp + 0x48], ch
test edx, 0x4000000
je 0x40754e
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 0x1ce0]
mov edx, dword [edx + 0x1cdc]
lea esi, [eax + eax*8]
mov eax, dword [edi + 0x9c]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
setne al
or cl, al
mov al, byte [esp + 0x11]
or ch, cl
mov byte [esp + 0x48], ch
test ch, ch
jne 0x40755e
test al, al
jg 0x40755e
mov byte [edi + 0x90], ch
jmp 0x40758a
mov eax, dword [esp + 0x28]
or byte [edi + 0xac], 8
or byte [edi + 0xad], 8
or byte [edi + 0xae], 8
mov dword [esp + 0x28], eax
mov al, byte [esp + 0x10]
mov byte [edi + 0x90], 1
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x38], eax
je 0x4075d0
mov dword [edi + 0x25c], eax
xor eax, eax
mov dword [edi + 8], edx
movsd xmm0, qword [esi + 0x1b30]
cvtpd2ps xmm0, xmm0
mov word [edi + 0x98], ax
movss dword [edi + 0x260], xmm0
movzx eax, word [esi + 0x1b90]
inc dword [esi + 0x1b90]
mov word [edi + 0x9a], ax
jmp 0x4075d7
mov edx, dword [edi + 8]
mov dword [esp + 0x14], edx
mov ecx, dword [esi + 0x1b78]
test ecx, ecx
je 0x4075eb
mov eax, dword [esi + 0x1b80]
mov ecx, dword [eax + ecx*4 - 4]
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x3c]
je 0x407604
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x40760a
mov eax, dword [edi + 0x31c]
cmp dword [edi + 0xc0], 0
mov dword [esp + 0x30], eax
lea eax, [edi + 0xc0]
jne 0x407643
cmp dword [eax + 4], 0
jne 0x407632
push 8
mov ecx, eax
call fcn.0041c2f0
lea eax, [edi + 0xc0]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xc0]
mov ecx, dword [esi + 0x1b7c]
lea edx, [esi + 0x1b78]
cmp dword [edx], ecx
jne 0x407687
test ecx, ecx
je 0x407668
mov eax, ecx
cdq
sub eax, edx
lea edx, [esi + 0x1b78]
sar eax, 1
add eax, ecx
jmp 0x40766d
mov eax, 8
mov ecx, dword [edx]
mov esi, dword [esp + 0x20]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.0041c2f0
lea edx, [esi + 0x1b78]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
mov dword [esi + 0x1b94], edi
mov ecx, dword [0x682080]
mov eax, dword [ecx + 0x1b94]
movzx eax, word [eax + 0xc0]
mov word [edi + 0x1d4], ax
movzx eax, word [ecx + 0x1c8c]
mov word [edi + 0x1d6], ax
movzx eax, word [ecx + 0x1c98]
mov word [edi + 0x1d8], ax
movzx eax, word [ecx + 0x1ca4]
mov word [edi + 0x1da], ax
movzx eax, word [ecx + 0x1cb0]
mov word [edi + 0x1dc], ax
movzx eax, word [ecx + 0x1cc8]
mov word [edi + 0x1de], ax
movzx eax, word [ecx + 0x1ce0]
mov ecx, dword [esp + 0x14]
mov word [edi + 0x1e0], ax
mov dword [esi + 0x1b94], 0
test ecx, 0x4000000
je 0x40774d
mov eax, dword [esi + 0x1ce0]
lea ecx, [esi + 0x1ce0]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x1cdc]
mov dword [eax + edx*4 + 4], edi
lea esi, [eax + edx*4]
push esi
call fcn.0041c0c0
mov eax, dword [esi]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x9c], eax
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x3c]
je 0x4077d7
mov edx, dword [esp + 0x30]
mov dword [edi + 0x31c], edx
mov dword [edi + 0x328], edi
mov dword [edi + 0x324], edi
mov dword [edi + 0x320], edi
test edx, edx
je 0x4077b1
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x407795
mov eax, dword [edx + 0x320]
mov dword [edi + 0x320], eax
test ecx, 0x8000000
jne 0x4077b1
test ecx, 0x5000000
je 0x4077b1
mov eax, dword [edx + 0x324]
mov dword [edi + 0x324], eax
test dword [edi + 8], 0x800000
je 0x4077d7
mov ecx, edi
nop dword [eax]
mov eax, dword [ecx + 0x31c]
mov ecx, eax
mov dword [edi + 0x328], eax
test dword [ecx + 8], 0x800000
jne 0x4077c0
xor dl, dl
mov byte [esp + 0x13], 0
test byte [esi + 0x1c18], 1
mov byte [esp + 0x1f], dl
mov byte [esp + 0x12], dl
je 0x407891
mov dl, byte [edi + 0xac]
mov ecx, dword [esi + 0x1c1c]
movsx eax, dl
test ecx, eax
setne byte [esp + 0x13]
test ecx, eax
je 0x407880
movss xmm1, dword [esi + 0x1c34]
movss xmm0, dword [esi + 0x1c30]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x5cbf9c]
jbe 0x407880
mov eax, dword [esi + 0x1c28]
mov ecx, dword [esi + 0x1c2c]
mov dword [edi + 0xb4], ecx
mov dword [edi + 0xb0], eax
mov eax, dword [esi + 0x1c30]
mov ecx, dword [esi + 0x1c34]
mov dword [edi + 0xbc], ecx
mov dword [edi + 0xb8], eax
mov eax, dword [edi + 0xac]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [edi + 0xac], ecx
jmp 0x407891
push ecx
lea eax, [esi + 0x1c28]
push eax
push edi
call fcn.004194e0
add esp, 0xc
test byte [esi + 0x1c18], 2
xorps xmm1, xmm1
je 0x4078f7
movsx eax, byte [edi + 0xad]
mov ecx, dword [esi + 0x1c20]
and eax, ecx
je 0x4078c2
movss xmm0, dword [esi + 0x1c38]
comiss xmm0, xmm1
jbe 0x4078c2
mov byte [esp + 0x1f], 1
jmp 0x4078cc
xor dl, dl
mov byte [esp + 0x1f], dl
test eax, eax
je 0x4078de
movss xmm0, dword [esi + 0x1c3c]
comiss xmm0, xmm1
mov byte [esp + 0x12], 1
ja 0x4078e3
mov byte [esp + 0x12], 0
push ecx
lea eax, [esi + 0x1c38]
push eax
push edi
call fcn.00419600
add esp, 0xc
xorps xmm1, xmm1
test byte [esi + 0x1c18], 0x80
je 0x407932
movss xmm0, dword [esi + 0x1c48]
comiss xmm0, xmm1
jb 0x407919
movss dword [edi + 0x68], xmm0
mov dword [edi + 0x70], 0
movss xmm0, dword [esi + 0x1c4c]
comiss xmm0, xmm1
jb 0x407932
movss dword [edi + 0x6c], xmm0
mov dword [edi + 0x74], 0
test byte [esi + 0x1c18], 4
je 0x40794f
mov eax, dword [esi + 0x1c40]
mov ecx, dword [esi + 0x1c44]
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], ecx
jmp 0x407967
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x3c]
je 0x407967
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
test byte [esi + 0x1c18], 8
je 0x4079b4
mov ecx, dword [esi + 0x1c24]
mov dl, byte [esi + 0x1c50]
test ecx, ecx
je 0x40798b
movsx eax, byte [edi + 0xae]
test ecx, eax
je 0x4079b4
movzx ecx, byte [edi + 0xae]
mov eax, dword [edi + 0xac]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0x8d], dl
mov dword [edi + 0xac], ecx
test byte [esi + 0x1c18], 0x20
je 0x4079c6
push edi
call fcn.0040dab0
add esp, 4
cmp byte [edi + 0x90], 0
je 0x4079e4
and byte [edi + 0xac], 0xf7
and byte [edi + 0xad], 0xf7
and byte [edi + 0xae], 0xf7
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x3c]
je 0x409379
mov eax, dword [esp + 0x14]
and eax, 0x3000000
mov byte [edi + 0x8a], 1
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x34], eax
setne al
mov byte [edi + 0x93], al
mov dword [edi + 0x234], 0xff7fffff
mov dword [edi + 0x238], 0xff7fffff
mov dword [edi + 0x23c], 0x7f7fffff
mov dword [edi + 0x240], 0x7f7fffff
mov eax, dword [edi + 0xc4]
cmp eax, 1
jge 0x407a7a
test eax, eax
je 0x407a5d
cdq
sub eax, edx
lea edx, [edi + 0xc0]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x407a68
mov ecx, 8
lea edx, [edi + 0xc0]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.0041c2f0
mov dword [edi + 0xc0], 1
mov ecx, dword [edi + 0x288]
call fcn.004239e0
cmp byte [edi + 0x360], 0
mov dword [edi + 0x19c], 0xffffffff
je 0x407b7b
mov ecx, dword [edi + 0x288]
push dword [edi + 0x358]
add ecx, 0xc
mov byte [edi + 0x360], 0
call fcn.0041c2f0
mov eax, dword [edi + 0x288]
mov ecx, dword [edi + 0x35c]
add eax, 0x18
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ecx
cmp ecx, dword [eax + 4]
jle 0x407b67
mov eax, dword [0x682080]
test eax, eax
je 0x407af0
inc dword [eax + 0x370]
push dword [0x682088]
lea eax, [ecx + ecx*4]
shl eax, 2
push eax
call dword [0x668ce8]
mov dword [esp + 0x34], eax
add esp, 8
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 8]
test edx, edx
je 0x407b59
mov ecx, dword [eax]
lea ecx, [ecx + ecx*4]
shl ecx, 2
push ecx
push edx
push dword [esp + 0x34]
call fcn.0059ce90
mov eax, dword [esp + 0x30]
add esp, 0xc
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x407b45
mov eax, dword [0x682080]
test eax, eax
je 0x407b45
dec dword [eax + 0x370]
push dword [0x682088]
push ecx
call dword [0x668cec]
mov eax, dword [esp + 0x2c]
add esp, 8
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov dword [edi + 0x35c], 0
mov dword [edi + 0x358], 0
cmp dword [esi + 0x1e08], 0
je 0x407c70
test dword [edi + 8], 0x80000
jne 0x407c70
cmp dword [esp + 0x28], 0
je 0x407c70
mov eax, dword [edi]
mov ecx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407bd0
test dl, dl
je 0x407bcc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407bd0
add eax, 2
add ecx, 2
test dl, dl
jne 0x407bb0
xor eax, eax
jmp 0x407bd5
sbb eax, eax
or eax, 1
test eax, eax
je 0x407c70
mov ecx, dword [esp + 0x4c]
mov edx, dword [edi + 0x4c]
mov dword [esp + 0x18], edx
lea eax, [ecx + 1]
mov dword [esp + 0x24], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407bf0
sub ecx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
cmp edx, eax
jae 0x407c59
test ecx, ecx
je 0x407c1d
mov eax, dword [0x682080]
test eax, eax
je 0x407c1d
dec dword [eax + 0x370]
push dword [0x682088]
push ecx
call dword [0x668cec]
mov eax, dword [0x682080]
add esp, 8
test eax, eax
je 0x407c3c
inc dword [eax + 0x370]
push dword [0x682088]
push dword [esp + 0x28]
call dword [0x668ce8]
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
push eax
push dword [esp + 0x50]
push ecx
call fcn.0059ce90
mov dword [edi], eax
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [edi + 0x4c], eax
lea eax, [edi + 0x2c]
push eax
lea eax, [edi + 0x24]
push eax
push edi
call fcn.0040b510
mov al, byte [edi + 0xa8]
add esp, 0xc
test al, al
jle 0x407c93
dec al
mov byte [edi + 0xa8], al
mov al, byte [edi + 0xa9]
test al, al
jle 0x407ca5
dec al
mov byte [edi + 0xa9], al
mov al, byte [edi + 0xaa]
test al, al
jle 0x407cb7
dec al
mov byte [edi + 0xaa], al
cmp dword [esp + 0x28], 0
mov al, byte [esp + 0x1f]
mov cl, byte [esp + 0x12]
jne 0x407cd5
test al, al
je 0x407cce
test cl, cl
jne 0x407cd5
mov byte [edi + 0xa9], 1
cmp byte [esp + 0x48], 0
mov edx, dword [esp + 0x14]
je 0x407d34
test edx, 0x6000000
je 0x407d34
mov byte [edi + 0xa9], 1
test dl, 0x40
je 0x407d34
test al, al
jne 0x407d06
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test cl, cl
jne 0x407d18
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov ecx, dword [0x682080]
mov dword [ecx + 0x1b94], edi
mov eax, dword [edi + 0x19c]
cmp eax, 0xffffffff
je 0x407d59
imul eax, eax, 0x228
add eax, dword [ecx + 0x1ed8]
jmp 0x407d5b
xor eax, eax
mov dword [ecx + 0x1ecc], eax
mov eax, dword [0x682080]
movss xmm0, dword [eax + 0x1934]
mov eax, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test eax, eax
je 0x407d88
mulss xmm0, dword [eax + 0x280]
movss dword [ecx + 0x1944], xmm0
movss dword [ecx + 0x1930], xmm0
test edx, 0x1000000
je 0x407daa
movss xmm1, dword [esi + 0x1544]
jmp 0x407dcc
test edx, 0x6000000
je 0x407dc4
test edx, 0x8000000
jne 0x407dc4
movss xmm1, dword [esi + 0x154c]
jmp 0x407dcc
movss xmm1, dword [esi + 0x1528]
movss dword [edi + 0x48], xmm1
mov eax, dword [esi + 0x151c]
mov ecx, dword [esi + 0x1520]
mov dword [edi + 0x3c], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x40], ecx
cmp eax, 0x1000000
jne 0x407e19
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x407e19
test edx, 0x400
je 0x407e0d
movss xmm0, dword [esi + 0x1520]
mov dword [edi + 0x3c], 0
movss dword [edi + 0x40], xmm0
movss xmm0, dword [edi + 0x3c]
maxss xmm0, dword [esi + 0x1560]
maxss xmm0, dword [esi + 0x1c70]
movss dword [edi + 0x154], xmm0
mov eax, dword [esi + 0x1c74]
mov dword [edi + 0x158], eax
test dl, 0x21
jne 0x407eb9
lea eax, [esp + 0x70]
mov ecx, edi
push eax
call fcn.0041a050
cmp dword [esi + 0x1b98], edi
jne 0x407e95
cmp dword [esi + 0x1bb4], 0
jne 0x407e95
cmp dword [esi + 0x1bb8], 0
jne 0x407e95
push 1
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0040fda0
add esp, 0xc
test al, al
je 0x407e95
cmp byte [esi + 0x3dd], 0
je 0x407e95
mov byte [edi + 0x8e], 1
cmp byte [edi + 0x8e], 0
je 0x407ec0
cmp byte [edi + 0x8d], 0
push edi
sete al
mov byte [edi + 0x8d], al
call fcn.00410ba0
add esp, 4
jmp 0x407ec0
mov byte [edi + 0x8d], 0
lea eax, [edi + 0x2c]
mov byte [edi + 0x8e], 0
push eax
lea eax, [esp + 0x44]
push edi
push eax
call fcn.0040b280
mov cl, byte [esp + 0x1c]
add esp, 0xc
test byte [esp + 0x14], 0x40
mov byte [esp + 0xf], cl
je 0x407f28
cmp byte [edi + 0x8d], 0
jne 0x407f28
cmp byte [esp + 0x1f], 0
jne 0x407f08
movss xmm0, dword [esp + 0x40]
movss dword [edi + 0x1c], xmm0
mov byte [esp + 0x10], 1
cmp byte [esp + 0x12], 0
jne 0x407fd3
movss xmm0, dword [esp + 0x44]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0xf], 1
jmp 0x407fd3
mov al, byte [edi + 0xa0]
test al, al
jg 0x407f3f
cmp byte [edi + 0xa1], 0
jle 0x407fd3
cmp byte [esp + 0x1f], 0
jne 0x407f70
test al, al
jle 0x407f70
cmp byte [edi + 0xa3], 0
je 0x407f60
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [esp + 0x40]
jmp 0x407f66
movss xmm0, dword [esp + 0x40]
movss dword [edi + 0x1c], xmm0
mov byte [esp + 0x10], 1
cmp byte [esp + 0x12], 0
jne 0x407fa6
cmp byte [edi + 0xa1], 0
jle 0x407fa6
cmp byte [edi + 0xa3], 0
je 0x407f96
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [esp + 0x44]
jmp 0x407f9c
movss xmm0, dword [esp + 0x44]
movss dword [edi + 0x20], xmm0
mov byte [esp + 0xf], 1
cmp byte [edi + 0x8d], 0
jne 0x407fd3
test dword [edi + 8], 0x100
mov ecx, dword [0x682080]
jne 0x407fd3
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2e94]
jb 0x407fd3
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2e94], eax
lea esi, [edi + 0x1c]
push esi
lea eax, [esp + 0x54]
push edi
push eax
call fcn.0040b6a0
add esp, 0xc
cmp byte [edi + 0x8d], 0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
je 0x40802c
test dword [esp + 0x14], 0x1000000
jne 0x40802c
lea eax, [esp + 0x90]
mov ecx, edi
push eax
call fcn.0041a050
movss xmm0, dword [eax + 8]
movss xmm1, dword [eax + 0xc]
subss xmm0, dword [eax]
subss xmm1, dword [eax + 4]
mov edx, dword [edi + 8]
movss dword [edi + 0x14], xmm0
movss dword [edi + 0x18], xmm1
mov eax, dword [0x682080]
test dl, 1
je 0x408048
xorps xmm2, xmm2
jmp 0x40807a
movss xmm0, dword [eax + 0x1934]
mov ecx, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test ecx, ecx
je 0x40806a
mulss xmm0, dword [ecx + 0x280]
movss xmm2, dword [eax + 0x1554]
addss xmm2, xmm2
addss xmm2, xmm0
test edx, 0x400
je 0x4080be
movss xmm1, dword [eax + 0x1934]
mov ecx, dword [edi + 0x31c]
mulss xmm1, dword [edi + 0x280]
test ecx, ecx
je 0x4080a4
mulss xmm1, dword [ecx + 0x280]
movss xmm0, dword [eax + 0x1554]
addss xmm1, dword [edi + 0x158]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x4080c1
xorps xmm1, xmm1
cmp byte [esp + 0x48], 0
addss xmm1, xmm2
mov ecx, dword [esp + 0x14]
movss dword [esp + 0x2c], xmm1
je 0x408122
mov eax, ecx
mov dword [edi + 0xa4], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x408122
cmp byte [esp + 0x13], 0
jne 0x408122
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x1ce0]
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x1ce8]
movss xmm0, dword [eax + ecx*4 - 0x10]
movss xmm1, dword [eax + ecx*4 - 0xc]
mov ecx, dword [esp + 0x14]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
test ecx, 0x1000000
je 0x4081c1
mov edx, dword [esp + 0x30]
mov ax, word [edx + 0x188]
lea esi, [edx + 0x188]
mov word [edi + 0x98], ax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, ecx
jne 0x40817f
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x408169
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, ecx
jmp 0x40816e
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.0041c2f0
mov edx, dword [esp + 0x30]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], edi
inc dword [esi]
mov ecx, dword [esp + 0x14]
mov al, byte [esp + 0x13]
mov esi, dword [esp + 0x34]
test ecx, 0x4000000
jne 0x4081c9
test al, al
jne 0x4081c9
cmp esi, 0x3000000
je 0x4081c9
mov ecx, dword [edx + 0xd0]
mov eax, dword [edx + 0xcc]
mov dword [edi + 0x10], ecx
mov ecx, dword [esp + 0x14]
mov dword [edi + 0xc], eax
jmp 0x4081c5
mov esi, dword [esp + 0x34]
mov al, byte [esp + 0x13]
movss xmm1, dword [edi + 0xb0]
ucomiss xmm1, dword [0x5cc058]
lahf
test ah, 0x44
jnp 0x40822f
cmp byte [edi + 0xa9], 0
jne 0x40822f
movss xmm0, dword [edi + 0xb8]
lea eax, [esp + 0x50]
mulss xmm0, dword [edi + 0x14]
push 0
push eax
push edi
subss xmm1, xmm0
movss xmm0, dword [edi + 0xb4]
movss dword [esp + 0x5c], xmm1
movss xmm1, dword [edi + 0xbc]
mulss xmm1, dword [edi + 0x18]
subss xmm0, xmm1
movss dword [esp + 0x60], xmm0
call fcn.004194e0
add esp, 0xc
jmp 0x40827e
test ecx, 0x10000000
jne 0x40825d
test ecx, 0x4000000
je 0x408249
test al, al
jne 0x408249
cmp byte [esp + 0x11], al
jg 0x40825d
test ecx, 0x2000000
je 0x408282
test al, al
jne 0x408282
cmp esi, 0x3000000
je 0x408282
lea eax, [esp + 0x50]
push edi
push eax
call fcn.0040d060
add esp, 8
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
mov ecx, dword [esp + 0x14]
cmp byte [esp + 0x13], 0
mov esi, dword [0x682080]
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 0x1cf4]
movss xmm3, dword [edx + 0x15c0]
movss xmm2, dword [edx + 0x15bc]
maxss xmm3, dword [edx + 0x15c8]
mov eax, dword [eax]
maxss xmm2, dword [edx + 0x15c4]
movss xmm1, dword [eax + 8]
movss xmm0, dword [eax + 4]
movaps xmm4, xmm1
addss xmm4, dword [eax + 0x10]
movaps xmm5, xmm0
addss xmm5, dword [eax + 0xc]
movss dword [esp + 0x80], xmm0
movss dword [esp + 0x84], xmm1
movss dword [esp + 0x8c], xmm4
movss dword [esp + 0x88], xmm5
movss xmm7, dword [eax + 0x14]
movss xmm6, dword [eax + 0x18]
addss xmm7, dword [eax + 0x1c]
addss xmm6, dword [eax + 0x20]
subss xmm7, xmm2
addss xmm2, dword [eax + 0x14]
subss xmm6, xmm3
addss xmm3, dword [eax + 0x18]
movss dword [esp + 0x78], xmm7
movss dword [esp + 0x70], xmm2
movss dword [esp + 0x7c], xmm6
movss dword [esp + 0x74], xmm3
jne 0x4083f5
test ecx, 0x1000000
jne 0x4083f5
cmp byte [edi + 0xa0], 0
jg 0x4083f5
cmp byte [edi + 0xa1], 0
jg 0x4083f5
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x4083f5
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x4083f5
cmp byte [esi + 0xb5], 0
movss xmm1, dword [edi + 0x18]
je 0x4083c0
test byte [edi + 8], 1
jne 0x4083c0
movss xmm0, dword [esi + 0x1934]
mov eax, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test eax, eax
je 0x4083b0
mulss xmm0, dword [eax + 0x280]
movss xmm1, dword [esi + 0x1554]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x10]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x14]
comiss xmm3, xmm0
ja 0x4083da
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0xc]
comiss xmm2, xmm0
ja 0x4083eb
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [edi + 0xc], xmm2
movss dword [edi + 0x10], xmm3
cvttss2si eax, dword [edi + 0xc]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0xc], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm0
test ecx, 0x1000000
je 0x408429
movss xmm2, dword [edx + 0x1540]
jmp 0x408449
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x408441
movss xmm2, dword [edx + 0x1548]
jmp 0x408449
movss xmm2, dword [edx + 0x1524]
xor al, al
movss dword [edi + 0x44], xmm2
mov dword [esp + 0x24], eax
cmp byte [esp + 0x48], al
je 0x408486
test ecx, 0x1000
jne 0x408486
test ecx, 0x4000000
je 0x408471
mov byte [esp + 0x24], 1
jmp 0x408486
test ecx, 0x3000000
movzx eax, al
mov esi, 1
cmove eax, esi
mov dword [esp + 0x24], eax
movss xmm1, dword [edx + 0x1930]
xorps xmm0, xmm0
addss xmm2, dword [0x5cbff0]
movaps xmmword [esp + 0x90], xmm0
xor eax, eax
cmp byte [edx + 0xb4], al
movaps xmm0, xmm1
mulss xmm1, dword [0x5cbfb4]
setne al
mov dword [esp + 0x18], 0xffffffff
mulss xmm0, dword [0x5cbff4]
inc eax
cmp byte [edi + 0x8d], 0
addss xmm2, xmm1
mov dword [esp + 0x50], eax
maxss xmm0, xmm2
cvttss2si esi, xmm0
jne 0x408516
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esp + 0x94]
push ecx
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x50]
push eax
push edi
call fcn.0041ae10
mov edx, dword [esp + 0x38]
add esp, 0x18
mov ecx, dword [esp + 0x14]
test al, al
je 0x408516
mov ah, 1
mov byte [esp + 0x10], ah
jmp 0x40851a
mov ah, byte [esp + 0xf]
cmp byte [edi + 0x8d], 0
mov al, byte [esp + 0x18]
movss xmm2, dword [esp + 0x2c]
mov byte [edi + 0x94], al
jne 0x40865c
cmp dword [esp + 0x28], 0
xorps xmm0, xmm0
movss xmm4, dword [edi + 0x1fc]
movss xmm5, dword [edi + 0x200]
subss xmm4, dword [edi + 0x1f4]
subss xmm5, dword [edi + 0x1f8]
movss xmm6, dword [edi + 0x20]
movss xmm7, dword [edi + 0x1c]
subss xmm6, xmm2
addss xmm4, dword [edi + 0x80]
addss xmm5, dword [edi + 0x84]
jne 0x408587
xorps xmm3, xmm3
xorps xmm1, xmm1
jmp 0x4085a3
movss xmm3, dword [edi + 0x3c]
movss xmm1, dword [edi + 0x40]
addss xmm3, xmm3
addss xmm1, xmm1
addss xmm3, dword [edi + 0x24]
addss xmm1, dword [edi + 0x28]
mov al, byte [esp + 0x10]
test al, al
jne 0x4085ae
movaps xmm7, xmm4
test ah, ah
jne 0x4085b5
movaps xmm6, xmm5
test ecx, 0x4000
jne 0x4085cb
comiss xmm1, xmm6
jbe 0x4085c7
test cl, 8
je 0x4085cb
xor al, al
jmp 0x4085cd
mov al, 1
mov byte [esp + 0xf], al
mov byte [edi + 0x89], al
test ecx, 0x8000
jne 0x408617
test al, al
je 0x4085ed
movss xmm4, dword [edx + 0x1588]
jmp 0x4085f0
xorps xmm4, xmm4
subss xmm7, xmm4
comiss xmm3, xmm7
jbe 0x40860b
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
mov al, byte [esp + 0xf]
je 0x408617
mov byte [edi + 0x88], 0
xorps xmm1, xmm1
jmp 0x408640
mov byte [edi + 0x88], 1
test al, al
jne 0x408638
comiss xmm1, xmm6
jbe 0x408630
test cl, 8
jne 0x408630
mov al, 1
jmp 0x408632
xor al, al
mov byte [edi + 0x89], al
movss xmm1, dword [edx + 0x1588]
test al, al
je 0x40864c
movss xmm0, dword [edx + 0x1588]
movss dword [edi + 0x80], xmm0
movss dword [edi + 0x84], xmm1
mov eax, ecx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x40867f
cmp dword [esp + 0x34], 0x3000000
je 0x40867f
mov eax, dword [esp + 0x30]
add eax, 0x234
jmp 0x408686
lea eax, [esp + 0x80]
test byte [edi + 8], 1
movups xmm0, xmmword [eax]
movss xmm7, dword [edi + 0x10]
movups xmmword [esp + 0x70], xmm0
movss xmm0, dword [edi + 0xc]
movaps xmm6, xmm7
addss xmm6, dword [edi + 0x18]
movaps xmm5, xmm0
movss dword [esp + 0x18], xmm0
addss xmm5, dword [edi + 0x14]
je 0x4086b9
xorps xmm3, xmm3
jmp 0x4086fb
mov eax, dword [0x682080]
movss xmm0, dword [eax + 0x1934]
mov eax, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test eax, eax
je 0x4086e0
mulss xmm0, dword [eax + 0x280]
mov eax, dword [0x682080]
movss xmm3, dword [eax + 0x1554]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm0, dword [esp + 0x18]
movaps xmm1, xmm0
movss dword [esp + 0x60], xmm0
addss xmm1, dword [edi + 0x1c]
movss xmm0, dword [edi + 0x10]
addss xmm3, xmm7
movss dword [esp + 0x64], xmm0
mov eax, ecx
movss xmm0, dword [esp + 0x18]
and eax, 0x401
xorps xmm4, xmm4
movss dword [esp + 0x68], xmm1
movss dword [esp + 0x6c], xmm3
movss dword [edi + 0x1e4], xmm0
movss dword [edi + 0x1e8], xmm7
movss dword [edi + 0x1ec], xmm5
movss dword [edi + 0x1f0], xmm6
movss xmm0, dword [edi + 0x1e4]
movss xmm5, dword [esp + 0x70]
movss xmm6, dword [esp + 0x74]
maxss xmm0, xmm5
maxss xmm7, xmm6
movss dword [edi + 0x1e4], xmm0
movss dword [edi + 0x1e8], xmm7
movss xmm0, dword [edi + 0x1f0]
movss xmm1, dword [edi + 0x1ec]
minss xmm0, dword [esp + 0x7c]
minss xmm1, dword [esp + 0x78]
movss dword [edi + 0x1f0], xmm0
movss dword [edi + 0x1ec], xmm1
movss xmm0, dword [edi + 0xc]
movss xmm7, dword [edi + 0x10]
movss dword [edi + 0x1f4], xmm0
addss xmm2, xmm7
addss xmm0, dword [edi + 0x14]
addss xmm7, dword [edi + 0x18]
movss dword [esp + 0x28], xmm2
movss dword [edi + 0x1f8], xmm2
subss xmm0, dword [edi + 0x80]
subss xmm7, dword [edi + 0x84]
movss dword [esp + 0x40], xmm0
movss dword [edi + 0x1fc], xmm0
movss dword [edi + 0x200], xmm7
cmp eax, 1
jne 0x40880c
movss xmm0, dword [edi + 0x48]
jmp 0x408814
movss xmm0, dword [edx + 0x155c]
movss xmm2, dword [0x5cbfc4]
movss dword [esp + 0x18], xmm0
addss xmm7, xmm2
movss xmm0, dword [edi + 0x3c]
mulss xmm0, xmm2
movss xmm3, dword [esp + 0x7c]
subss xmm7, dword [edi + 0x48]
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0xc]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x48]
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x204], xmm0
movss xmm0, dword [esp + 0x28]
addss xmm0, xmm2
addss xmm0, dword [esp + 0x18]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x208], xmm0
movss xmm0, dword [esp + 0x40]
addss xmm0, xmm2
subss xmm0, xmm1
cvttss2si ecx, xmm0
movd xmm0, ecx
cvttss2si ecx, xmm7
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x20c], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x210], xmm0
movss xmm0, dword [edi + 0x208]
comiss xmm6, xmm0
jbe 0x4088d3
movaps xmm1, xmm6
jmp 0x4088da
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm7, dword [esp + 0x78]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm5, xmm2
jbe 0x4088f1
movaps xmm0, xmm5
jmp 0x4088f8
movaps xmm0, xmm7
minss xmm0, xmm2
movss dword [edi + 0x204], xmm0
movss dword [edi + 0x208], xmm1
movss xmm0, dword [edi + 0x210]
comiss xmm6, xmm0
ja 0x40891c
movaps xmm6, xmm3
minss xmm6, xmm0
movss xmm0, dword [edi + 0x20c]
comiss xmm5, xmm0
ja 0x408930
movaps xmm5, xmm7
minss xmm5, xmm0
movss dword [edi + 0x20c], xmm5
movss dword [edi + 0x210], xmm6
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm4
jbe 0x40895e
test dword [esp + 0x14], 0x2000040
jne 0x40895e
mulss xmm0, dword [0x5cbfcc]
jmp 0x40896e
movss xmm0, dword [edx + 0x1930]
mulss xmm0, dword [0x5cc02c]
cvttss2si eax, xmm0
push edi
movd xmm0, eax
lea eax, [esp + 0x44]
cvtdq2ps xmm0, xmm0
push eax
movss dword [edi + 0x264], xmm0
movss xmm1, dword [edi + 0x3c]
movss xmm0, dword [edi + 0x1fc]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1f4]
addss xmm1, dword [edi + 0x24]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x40]
addss xmm1, xmm1
movss dword [edi + 0x60], xmm0
movss xmm0, dword [edi + 0x200]
subss xmm0, dword [edi + 0x1f8]
addss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x64], xmm0
call fcn.0040af10
mov edx, dword [esp + 0x28]
add esp, 8
mov ecx, dword [edi + 0x288]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0x58], xmm0
movss dword [edi + 0x5c], xmm1
mov dword [edi + 0x68], 0x7f7fffff
mov dword [edi + 0x6c], 0x7f7fffff
mov eax, dword [edx + 0x192c]
mov eax, dword [eax + 0x30]
push dword [eax + 4]
call fcn.004210e0
push 0
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.00415400
add esp, 0xc
test dword [esp + 0x14], 0x8000000
je 0x408a63
call fcn.0040e840
cmp edi, eax
jne 0x408a63
cmp byte [edi + 0xa9], 0
jg 0x408a63
mov dl, 1
mov dword [esp + 0x18], 0x404
jmp 0x408a6d
xor dl, dl
mov dword [esp + 0x18], 0x3f4
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x1e04]
test eax, eax
je 0x408a87
cmp edi, dword [eax + 0x320]
jne 0x408a87
mov al, 1
jmp 0x408a89
xor al, al
mov byte [esp + 0x11], al
test dl, dl
jne 0x408a99
test al, al
je 0x408be8
mov eax, dword [0x682080]
mov edx, dword [esp + 0x18]
movss xmm0, dword [ecx + 0x1e34]
push 0
mulss xmm0, dword [eax + 0x1518]
push ecx
movups xmm1, xmmword [edx + eax + 0x1518]
lea eax, [esp + 0x78]
mov dword [esp], 0
push eax
movaps xmmword [esp + 0x7c], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm0, xmm1
movss dword [esp + 0x88], xmm0
call fcn.0040c080
mov ecx, dword [edi + 0x288]
add esp, 4
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.0041e9e0
cmp byte [esp + 0x11], 0
je 0x408be8
mov ecx, dword [esp + 0x20]
cmp edi, dword [ecx + 0x1e04]
jne 0x408be8
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm1, xmm2
movss xmm0, dword [ecx + 0x1930]
movaps xmm4, xmm3
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
subss xmm1, xmm0
subss xmm4, xmm0
addss xmm2, xmm0
addss xmm3, xmm0
movss xmm0, dword [esp + 0x80]
comiss xmm0, xmm1
movss dword [esp + 0x70], xmm1
movss dword [esp + 0x74], xmm4
movss dword [esp + 0x78], xmm2
movss dword [esp + 0x7c], xmm3
jb 0x408b98
movss xmm0, dword [esp + 0x84]
comiss xmm0, xmm4
jb 0x408b98
comiss xmm2, dword [esp + 0x88]
jb 0x408b98
comiss xmm3, dword [esp + 0x8c]
jae 0x408be8
movss xmm0, dword [ecx + 0x1e10]
mulss xmm0, dword [0x5cbfb8]
push ecx
movss dword [esp], xmm0
push 0x32
call fcn.0040de90
mov edx, dword [esp + 0x28]
add esp, 8
movss xmm0, dword [edx + 0x1524]
push 0
push ecx
mov ecx, dword [edi + 0x288]
movss dword [esp], xmm0
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.0041e9e0
mov eax, dword [esp + 0x14]
and eax, 0x5000000
mov byte [esp + 0x11], 0
cmp eax, 0x1000000
jne 0x408c37
cmp dword [esp + 0x34], 0x3000000
je 0x408c37
mov edx, dword [edi + 0x288]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x408c37
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x288]
cmp dword [eax + 0x18], 0
jle 0x408c37
mov byte [esp + 0x11], 1
mov dword [edi + 0x288], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x1e00]
test ecx, ecx
jne 0x408c4b
mov ecx, dword [eax + 0x1cf8]
cmp byte [esp + 0x24], 0
jne 0x408c6b
test ecx, ecx
je 0x408c64
mov eax, dword [edi + 0x324]
cmp eax, dword [ecx + 0x324]
je 0x408c6b
mov byte [esp + 0x18], 0
jmp 0x408c70
mov byte [esp + 0x18], 1
movd xmm0, esi
lea eax, [esp + 0x90]
push ecx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
push dword [esp + 0x58]
lea eax, [esp + 0x6c]
push dword [esp + 0x24]
push eax
push edi
call fcn.00416f50
add esp, 0x18
cmp byte [esp + 0x11], 0
je 0x408cae
lea eax, [edi + 0x28c]
mov dword [edi + 0x288], eax
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x1e04], edi
jne 0x408df6
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm5, xmm2
movss xmm1, dword [esi + 0x1930]
movaps xmm4, xmm3
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
movss xmm7, dword [edi + 0x44]
subss xmm5, xmm1
movss xmm0, dword [esp + 0x80]
subss xmm4, xmm1
movaps xmm6, xmm7
maxss xmm6, dword [esi + 0x1524]
addss xmm2, xmm1
comiss xmm0, xmm5
addss xmm3, xmm1
movss dword [esp + 0x70], xmm5
movss dword [esp + 0x74], xmm4
movss dword [esp + 0x78], xmm2
movss dword [esp + 0x7c], xmm3
jb 0x408d85
movss xmm0, dword [esp + 0x84]
comiss xmm0, xmm4
jb 0x408d85
comiss xmm2, dword [esp + 0x88]
jb 0x408d85
comiss xmm3, dword [esp + 0x8c]
jb 0x408d85
xorps xmm1, xmmword [0x5cc0b0]
movaps xmm6, xmm7
subss xmm1, dword [0x5cbff0]
movaps xmm0, xmm1
subss xmm5, xmm1
subss xmm4, xmm1
addss xmm0, xmm2
addss xmm1, xmm3
movss dword [esp + 0x70], xmm5
movss dword [esp + 0x74], xmm4
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x7c], xmm1
mov eax, dword [0x682080]
movss xmm0, dword [esi + 0x1e10]
push ecx
mov dword [esp], 0x40400000
movups xmm1, xmmword [eax + 0x18fc]
push 0
mulss xmm0, dword [eax + 0x1518]
lea eax, [esp + 0x98]
push ecx
movaps xmmword [esp + 0x9c], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm0, xmm1
movss dword [esp], xmm6
push eax
movss dword [esp + 0xac], xmm0
call fcn.0040c080
mov ecx, dword [edi + 0x288]
add esp, 4
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.0041e8e0
mov ecx, dword [esp + 0x14]
xorps xmm6, xmm6
movss xmm5, dword [edi + 0x34]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm5, xmm6
lahf
test ah, 0x44
jnp 0x408e1d
movss dword [esp + 0x18], xmm5
jmp 0x408e59
movss xmm0, dword [edi + 0x3c]
mov eax, ecx
movss xmm1, dword [edi + 0x14]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [edi + 0x80]
cmp eax, 0x800
jne 0x408e4c
movss xmm0, dword [edi + 0x24]
jmp 0x408e4f
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [esp + 0x18], xmm0
movss xmm4, dword [edi + 0x38]
ucomiss xmm4, xmm6
lahf
test ah, 0x44
jnp 0x408e6f
movss dword [esp + 0x34], xmm4
jmp 0x408ea7
movss xmm0, dword [edi + 0x40]
movss xmm1, dword [edi + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [esp + 0x2c]
subss xmm1, dword [edi + 0x84]
test dl, dl
je 0x408e9a
movss xmm0, dword [edi + 0x28]
jmp 0x408e9d
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [esp + 0x34], xmm0
movss xmm7, dword [edi + 0x3c]
movss xmm0, dword [edi + 0x1f4]
movaps xmm1, xmm7
subss xmm0, dword [edi + 0x58]
maxss xmm1, dword [edi + 0x48]
ucomiss xmm5, xmm6
addss xmm1, xmm0
movss xmm0, dword [edi + 0x5c]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [edi + 0x1f8]
subss xmm0, dword [esp + 0x28]
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x40]
movss dword [esp + 0x50], xmm1
maxss xmm1, dword [edi + 0x48]
movss xmm2, dword [esp + 0x50]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
movss dword [edi + 0x214], xmm3
cvttss2si eax, xmm1
movss xmm1, dword [esp + 0x18]
addss xmm1, xmm3
movss xmm3, dword [edi + 0x10]
subss xmm3, dword [esp + 0x28]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x21c], xmm1
addss xmm3, xmm2
movss xmm1, dword [esp + 0x34]
addss xmm1, xmm0
movss dword [edi + 0x218], xmm0
lahf
movss dword [edi + 0x220], xmm1
movss xmm1, dword [esp + 0x2c]
addss xmm3, xmm1
movups xmm0, xmmword [edi + 0x214]
movups xmmword [edi + 0x224], xmm0
movss xmm0, dword [edi + 0xc]
movss dword [esp + 0x18], xmm0
movss dword [edi + 0x248], xmm3
subss xmm0, dword [edi + 0x58]
addss xmm0, xmm7
movss dword [esp + 0x40], xmm0
movss dword [edi + 0x244], xmm0
test ah, 0x44
jp 0x408fba
movss xmm5, dword [edi + 0x14]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm5, xmm0
movss xmm0, dword [esp + 0x40]
subss xmm5, dword [edi + 0x80]
ucomiss xmm4, xmm6
addss xmm5, xmm0
lahf
movss dword [edi + 0x24c], xmm5
test ah, 0x44
jp 0x408feb
movss xmm4, dword [edi + 0x18]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm4, xmm0
subss xmm4, xmm1
subss xmm4, dword [edi + 0x84]
addss xmm7, xmm6
addss xmm4, xmm3
addss xmm1, xmm2
push dword [esp + 0x48]
subss xmm7, dword [edi + 0x58]
movss dword [edi + 0x250], xmm4
subss xmm1, dword [esp + 0x2c]
movss dword [edi + 0x10c], xmm7
addss xmm7, xmm6
mov dword [edi + 0x114], 0
mov dword [edi + 0x110], 0
addss xmm1, dword [edi + 0x10]
addss xmm7, dword [esp + 0x1c]
movss dword [edi + 0xdc], xmm7
movss dword [edi + 0xe0], xmm1
movss dword [edi + 0xcc], xmm7
movss dword [edi + 0xd0], xmm1
movss dword [edi + 0xd4], xmm7
movss dword [edi + 0xd8], xmm1
mov eax, dword [edi + 0xdc]
mov ecx, dword [edi + 0xe0]
mov dword [edi + 0xe4], eax
mov dword [edi + 0xe8], ecx
mov ecx, dword [edi + 0xe0]
mov eax, dword [edi + 0xdc]
mov dword [edi + 0xec], eax
mov dword [edi + 0xf0], ecx
mov dword [edi + 0xfc], 0
mov dword [edi + 0x100], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0x108], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x140], 0
mov eax, dword [edi + 0x148]
mov dword [edi + 0x144], eax
mov dword [edi + 0x148], 0
mov byte [edi + 0x150], 0
movss xmm0, dword [edi + 0x64]
comiss xmm0, xmm6
push ecx
lea ecx, [edi + 0x15c]
seta al
mov byte [edi + 0x151], al
mov byte [edi + 0x152], 0
movss xmm0, dword [esi + 0x1560]
movss dword [esp], xmm0
push 3
call fcn.0043d530
mov dword [edi + 0x180], 0
lea eax, [edi + 0x188]
mov dword [edi + 0x184], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x409172
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 + 0x188]
call fcn.0041c2f0
lea eax, [edi + 0x188]
mov dword [eax], 0
lea eax, [edi + 0x268]
mov dword [edi + 0x194], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0x198], 0
mov dword [edi + 0x1a0], 1
test eax, eax
je 0x4091a8
mov eax, dword [eax + 0x1a0]
jmp 0x4091ad
mov eax, 1
mov dword [edi + 0x1a4], eax
mov dword [edi + 0x1ac], 0xffffffff
mov dword [edi + 0x1a8], 0xffffffff
mov eax, dword [edi + 0x264]
mov dword [edi + 0x1b4], eax
lea eax, [edi + 0x1bc]
mov dword [edi + 0x1b8], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40920c
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 + 0x1bc]
call fcn.0041c2f0
lea eax, [edi + 0x1bc]
mov dword [eax], 0
lea eax, [edi + 0x1c8]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x409241
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 + 0x1c8]
call fcn.0041c2f0
lea eax, [edi + 0x1c8]
mov dword [eax], 0
mov al, byte [edi + 0xa0]
test al, al
jle 0x409259
dec al
mov byte [edi + 0xa0], al
mov al, byte [edi + 0xa1]
test al, al
jle 0x40926b
dec al
mov byte [edi + 0xa1], al
cmp byte [esp + 0x24], 0
je 0x409283
push edi
call fcn.0040dab0
push 0
push edi
call fcn.00411390
add esp, 0xc
test byte [esp + 0x14], 1
jne 0x4092ea
movss xmm0, dword [esp + 0x60]
lea eax, [esp + 0x70]
addss xmm0, dword [edi + 0x48]
push dword [esp + 0x58]
push dword [esp + 0x60]
push dword [esp + 0x54]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x74]
subss xmm0, dword [edi + 0x48]
push eax
push edi
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x90], xmm0
call fcn.00417cc0
add esp, 0x14
movss xmm2, dword [esp + 0x60]
xor eax, eax
movss xmm4, dword [esp + 0x68]
movss xmm3, dword [esp + 0x6c]
mov dword [edi + 0x254], eax
mov eax, dword [0x682080]
movss xmm1, dword [eax + 0x1578]
movss xmm0, dword [eax + 0x157c]
subss xmm2, xmm1
movss xmm5, dword [eax + 0xe4]
addss xmm4, xmm1
movss xmm1, dword [esp + 0x64]
addss xmm3, xmm0
subss xmm1, xmm0
comiss xmm5, xmm2
jb 0x40935a
movss xmm0, dword [eax + 0xe8]
comiss xmm0, xmm1
jb 0x40935a
comiss xmm4, xmm5
jbe 0x40935a
comiss xmm3, xmm0
jbe 0x40935a
mov ecx, 1
jmp 0x40935c
xor ecx, ecx
mov eax, dword [edi + 0x50]
movups xmm0, xmmword [esp + 0x60]
mov dword [edi + 0x118], eax
mov dword [edi + 0x11c], ecx
movups xmmword [edi + 0x120], xmm0
jmp 0x4093dd
mov ecx, dword [0x682080]
mov dword [ecx + 0x1b94], edi
mov eax, dword [edi + 0x19c]
cmp eax, 0xffffffff
je 0x40939e
imul eax, eax, 0x228
add eax, dword [ecx + 0x1ed8]
jmp 0x4093a0
xor eax, eax
mov dword [ecx + 0x1ecc], eax
mov eax, dword [0x682080]
movss xmm0, dword [eax + 0x1934]
mov eax, dword [edi + 0x31c]
mulss xmm0, dword [edi + 0x280]
test eax, eax
je 0x4093cd
mulss xmm0, dword [eax + 0x280]
movss dword [ecx + 0x1944], xmm0
movss dword [ecx + 0x1930], xmm0
mov ecx, dword [esi + 0x1cbc]
mov eax, dword [esi + 0x1cc4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x1b0], eax
mov eax, dword [esp + 0x14]
and eax, 0x1000000
mov dword [esp + 0x58], eax
je 0x40940e
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x14c]
jmp 0x409410
xor eax, eax
mov dword [edi + 0x14c], eax
lea eax, [edi + 0x20c]
push 1
push eax
lea eax, [edi + 0x204]
push eax
call fcn.00415400
mov eax, dword [esp + 0x44]
add esp, 0xc
mov byte [edi + 0x8c], 0
inc word [edi + 0x96]
mov dword [esi + 0x1c18], 0
cmp eax, dword [esp + 0x3c]
je 0x40955e
cmp dword [esp + 0x58], 0
je 0x4094e4
test byte [esp + 0x14], 0x40
jne 0x4094aa
cmp byte [edi + 0xa0], 0
jg 0x4094aa
cmp byte [edi + 0xa1], 0
jg 0x4094aa
cmp byte [esi + 0x2ed8], 0
jne 0x4094aa
movss xmm0, dword [edi + 0x1e4]
comiss xmm0, dword [edi + 0x1ec]
jae 0x4094a3
movss xmm0, dword [edi + 0x1e8]
comiss xmm0, dword [edi + 0x1f0]
jb 0x4094aa
mov byte [edi + 0xa8], 1
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4094e4
cmp byte [eax + 0x8d], 0
jne 0x4094c4
cmp byte [eax + 0xa8], 0
jle 0x4094cb
mov byte [edi + 0xa8], 1
cmp byte [eax + 0x8d], 0
jne 0x4094dd
cmp byte [eax + 0xa9], 0
jle 0x4094e4
mov byte [edi + 0xa9], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1518]
jb 0x4094f7
mov byte [edi + 0xa8], 1
cmp byte [edi + 0xa8], 0
jg 0x409516
cmp byte [edi + 0xa9], 0
jg 0x409516
cmp byte [edi + 0xaa], 0
jg 0x409516
xor cl, cl
jmp 0x409518
mov cl, 1
xor al, al
mov byte [edi + 0x91], cl
cmp byte [edi + 0x8d], al
jne 0x409534
cmp byte [edi + 0x8a], al
je 0x409534
test cl, cl
je 0x409558
cmp byte [edi + 0xa0], 0
jg 0x409558
cmp byte [edi + 0xa1], 0
jg 0x409558
cmp byte [edi + 0xa9], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0x8f], al
cmp byte [edi + 0x8f], 0
mov ecx, dword [esp + 0xac]
pop edi
sete al
pop esi
xor ecx, esp
call fcn.0059a5ad
mov esp, ebp
pop ebp
ret