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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0x4f7040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
mov esi, dword [0x536900]
push edi
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xd0], esi
call fcn.00409870
mov edi, eax
mov dword [ebp - 0xfc], eax
test edi, edi
sete byte [ebp - 0xb2]
test eax, eax
jne 0x40bc50
mov edx, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0x100]
call fcn.004098c0
mov edi, eax
mov edx, dword [ebp - 0xb8]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x40bc6f
or edx, 6
mov dword [ebp - 0xb8], edx
cmp dword [esi + 0x3e04], 0
mov ecx, dword [esi + 0x3dc8]
mov eax, dword [edi + 0x234]
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0xf4], eax
jne 0x40bc9d
cmp byte [esi + 0x3dd5], 0
je 0x40bc9d
mov al, 1
jmp 0x40bc9f
xor al, al
mov byte [edi + 0xae], al
lea eax, [ecx - 1]
mov ecx, dword [ebp - 0xf4]
cmp ecx, eax
setl ch
mov byte [ebp - 0xb9], ch
test edx, 0x4000000
je 0x40bcff
mov eax, dword [esi + 0x478c]
lea esi, [eax + eax*4]
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax + 0x4788]
mov eax, dword [edi + 0xbc]
cmp edi, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov esi, dword [ebp - 0xd0]
mov edx, dword [ebp - 0xb8]
setne al
or cl, al
or ch, cl
mov byte [ebp - 0xb9], ch
mov byte [edi + 0xac], ch
test ch, ch
je 0x40bd1e
or byte [edi + 0xcc], 8
or byte [edi + 0xcd], 8
or byte [edi + 0xce], 8
mov eax, dword [ebp - 0xf4]
cmp eax, dword [ebp - 0xf8]
je 0x40bed5
test edx, 0x1000000
je 0x40bd4a
mov eax, edx
and eax, 0x14000000
cmp eax, 0x4000000
je 0x40bd4a
mov al, 1
jmp 0x40bd4c
xor al, al
mov edx, dword [ebp - 0xfc]
mov cl, byte [edi + 0xaf]
mov byte [ebp - 0xb1], al
test edx, edx
je 0x40bd6a
cmp al, cl
je 0x40be87
test al, al
jne 0x40bdcf
mov edx, dword [0x536900]
add edx, 0x3dec
mov dword [ebp - 0xcc], edx
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x40bdbd
test ecx, ecx
je 0x40bd9c
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0xcc]
sar eax, 1
add eax, ecx
jmp 0x40bda1
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00418880
mov esi, dword [ebp - 0xd0]
mov edx, dword [ebp - 0xcc]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
mov eax, dword [edx]
dec eax
jmp 0x40be7a
test edx, edx
je 0x40be87
cmp al, cl
je 0x40be87
test al, al
je 0x40be87
mov edx, dword [0x536900]
movsx ecx, word [edi + 0xba]
inc ecx
mov eax, dword [edx + 0x3dec]
mov dword [ebp - 0xcc], eax
cmp ecx, eax
jge 0x40be2c
mov eax, dword [edx + 0x3df4]
mov eax, dword [eax + ecx*4]
inc ecx
dec word [eax + 0xba]
mov esi, dword [edx + 0x3dec]
mov dword [ebp - 0xcc], esi
cmp ecx, esi
jl 0x40be05
mov esi, dword [ebp - 0xd0]
mov eax, dword [0x536900]
movsx ecx, word [edi + 0xba]
mov edx, dword [edx + 0x3df4]
mov eax, dword [eax + 0x3df4]
lea eax, [eax + ecx*4]
sub eax, edx
sar eax, 2
lea ecx, [edx + eax*4]
mov edx, dword [ebp - 0xcc]
sub edx, eax
lea eax, [edx*4 - 4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.004a69b0
mov eax, dword [0x536900]
add esp, 0xc
dec dword [eax + 0x3dec]
or eax, 0xffffffff
mov word [edi + 0xba], ax
mov al, byte [ebp - 0xb1]
mov edx, dword [ebp - 0xb8]
mov byte [edi + 0xaf], al
mov eax, dword [ebp - 0xf8]
mov dword [edi + 0x234], eax
xor eax, eax
mov dword [edi + 8], edx
movsd xmm0, qword [esi + 0x3dc0]
cvtpd2ps xmm0, xmm0
mov word [edi + 0xb6], ax
movss dword [edi + 0x238], xmm0
movzx eax, word [esi + 0x3e1c]
inc dword [esi + 0x3e1c]
mov word [edi + 0xb8], ax
jmp 0x40bede
mov edx, dword [edi + 8]
mov dword [ebp - 0xb8], edx
mov eax, dword [esi + 0x3e04]
test eax, eax
je 0x40bef5
imul ecx, eax, 0x54
mov eax, dword [esi + 0x3e0c]
mov eax, dword [eax + ecx - 0x54]
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0xcc], eax
cmp ecx, dword [ebp - 0xf8]
je 0x40bf1f
mov ecx, edx
and ecx, 0x5000000
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0xe8], ecx
jmp 0x40bf2b
mov eax, dword [edi + 0x2f4]
mov dword [ebp - 0xe8], eax
cmp dword [edi + 0xe0], 0
lea eax, [edi + 0xe0]
jne 0x40bf60
cmp dword [eax + 4], 0
jne 0x40bf4f
push 8
mov ecx, eax
call fcn.00418880
lea eax, [edi + 0xe0]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xe0]
push 0x3c
lea eax, [ebp - 0xac]
mov dword [esi + 0x3e28], edi
push 0
push eax
call fcn.004a6710
mov ecx, dword [0x536900]
lea edx, [esi + 0x3e04]
mov eax, dword [esi + 0x46d4]
xorps xmm0, xmm0
mov dword [ebp - 0x74], eax
add esp, 0xc
movups xmmword [ebp - 0x70], xmm0
mov eax, dword [ecx + 0x3e28]
movups xmm0, xmmword [esi + 0x469c]
mov word [ebp - 0x60], 0
mov dword [ebp - 0xb0], edi
movzx eax, word [eax + 0xe0]
mov word [ebp - 0x70], ax
movzx eax, word [ecx + 0x4738]
mov word [ebp - 0x6e], ax
movzx eax, word [ecx + 0x4744]
mov word [ebp - 0x6c], ax
movzx eax, word [ecx + 0x4750]
mov word [ebp - 0x6a], ax
movzx eax, word [ecx + 0x475c]
mov word [ebp - 0x68], ax
movzx eax, word [ecx + 0x4774]
movups xmmword [ebp - 0xac], xmm0
mov word [ebp - 0x66], ax
movups xmm0, xmmword [esi + 0x46ac]
movzx eax, word [ecx + 0x4768]
mov word [ebp - 0x64], ax
movzx eax, word [ecx + 0x478c]
movups xmmword [ebp - 0x9c], xmm0
mov word [ebp - 0x62], ax
movups xmm0, xmmword [esi + 0x46bc]
movzx eax, word [ecx + 0x59b0]
mov ecx, dword [edx]
movups xmmword [ebp - 0x8c], xmm0
mov word [ebp - 0x60], ax
mov eax, dword [edx + 4]
movq xmm0, qword [esi + 0x46cc]
movq qword [ebp - 0x7c], xmm0
mov dword [ebp - 0x24], eax
cmp ecx, eax
jne 0x40c07a
inc ecx
test eax, eax
je 0x40c062
cdq
sub eax, edx
lea edx, [esi + 0x3e04]
sar eax, 1
add eax, dword [ebp - 0x24]
jmp 0x40c067
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00418e30
lea edx, [esi + 0x3e04]
imul ecx, dword [edx], 0x54
movups xmm0, xmmword [ebp - 0xb0]
mov eax, dword [ebp - 0x60]
add ecx, dword [edx + 8]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0xa0]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x90]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [ecx + 0x40], xmm0
mov dword [ecx + 0x50], eax
inc dword [edx]
mov ecx, dword [ebp - 0xb8]
test ecx, 0x10000000
je 0x40c0cc
inc dword [esi + 0x4798]
mov eax, dword [ebp - 0xf4]
cmp eax, dword [ebp - 0xf8]
je 0x40c183
mov edx, dword [ebp - 0xe8]
mov dword [edi + 0x2f4], edx
mov dword [edi + 0x308], edi
mov dword [edi + 0x304], edi
mov dword [edi + 0x300], edi
mov dword [edi + 0x2fc], edi
test edx, edx
je 0x40c150
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x40c120
mov eax, dword [edx + 0x2fc]
mov dword [edi + 0x2fc], eax
test ecx, 0x4000000
je 0x40c134
mov eax, dword [edx + 0x300]
mov dword [edi + 0x300], eax
test ecx, 0x8000000
jne 0x40c150
test ecx, 0x5000000
je 0x40c150
mov eax, dword [edx + 0x304]
mov dword [edi + 0x304], eax
test dword [edi + 8], 0x800000
je 0x40c177
mov ecx, edi
nop dword [eax + eax]
mov eax, dword [ecx + 0x2f4]
mov ecx, eax
mov dword [edi + 0x308], eax
test dword [ecx + 8], 0x800000
jne 0x40c160
mov eax, dword [ebp - 0xcc]
mov dword [edi + 0x2f8], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0xdc], eax
mov eax, dword [0x536900]
mov ecx, dword [eax + 0x4760]
lea edx, [eax + 0x475c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc8], edx
cmp dword [edx], ecx
jne 0x40c1da
test ecx, ecx
je 0x40c1bf
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0xc8]
sar eax, 1
add eax, ecx
jmp 0x40c1c4
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00418880
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [ebp - 0xdc]
mov dword [eax + ecx*4], esi
mov eax, esi
inc dword [edx]
test dword [ebp - 0xb8], 0x4000000
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0xd0]
mov dword [ecx + 0x467c], eax
mov eax, dword [esi + 0x467c]
mov dword [edi + 0x338], eax
mov dword [esi + 0x3e28], 0
je 0x40c2ee
mov eax, dword [esi + 0x478c]
lea edx, [esi + 0x478c]
mov dword [ebp - 0xc0], edx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x4788]
mov dword [ebp - 0xc8], eax
mov esi, eax
mov dword [ebp - 0xdc], ecx
mov dword [eax + ecx*8 + 4], edi
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + 0x144]
mov dword [esi + ecx*8 + 0xc], eax
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov esi, dword [ebp - 0xd0]
mov dword [ebp - 0x24], eax
cmp ecx, eax
jne 0x40c29d
inc ecx
test eax, eax
je 0x40c285
cdq
sub eax, edx
lea edx, [esi + 0x478c]
sar eax, 1
add eax, dword [ebp - 0x24]
jmp 0x40c28a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00418db0
lea edx, [esi + 0x478c]
mov eax, dword [edx]
mov esi, dword [ebp - 0xdc]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
mov edx, dword [ebp - 0xc8]
movups xmm0, xmmword [edx + esi*8]
movups xmmword [eax + ecx*8], xmm0
movups xmm0, xmmword [edx + esi*8 + 0x10]
movups xmmword [eax + ecx*8 + 0x10], xmm0
movq xmm0, qword [edx + esi*8 + 0x20]
mov edx, dword [ebp - 0xc0]
movq qword [eax + ecx*8 + 0x20], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc8]
mov esi, dword [ebp - 0xd0]
inc dword [edx]
mov eax, dword [ecx + eax*8]
mov dword [edi + 0xbc], eax
xor dl, dl
mov byte [ebp - 0xb3], 0
test byte [esi + 0x46d8], 1
mov byte [ebp - 0xb1], dl
mov byte [ebp - 0xb4], dl
je 0x40c3b0
mov dl, byte [edi + 0xcc]
mov ecx, dword [esi + 0x46dc]
movsx eax, dl
test ecx, eax
setne byte [ebp - 0xb3]
test ecx, eax
je 0x40c39f
movss xmm1, dword [esi + 0x46f4]
movss xmm0, dword [esi + 0x46f0]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x4edee4]
jbe 0x40c39f
mov eax, dword [esi + 0x46e8]
mov ecx, dword [esi + 0x46ec]
mov dword [edi + 0xd4], ecx
mov dword [edi + 0xd0], eax
mov eax, dword [esi + 0x46f0]
mov ecx, dword [esi + 0x46f4]
mov dword [edi + 0xdc], ecx
mov dword [edi + 0xd8], eax
mov eax, dword [edi + 0xcc]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [edi + 0xcc], ecx
jmp 0x40c3b0
push ecx
lea edx, [esi + 0x46e8]
mov ecx, edi
call fcn.0040ecd0
add esp, 4
test byte [esi + 0x46d8], 2
xorps xmm1, xmm1
je 0x40c41e
movsx eax, byte [edi + 0xcd]
mov ecx, dword [esi + 0x46e0]
and eax, ecx
je 0x40c3e3
movss xmm0, dword [esi + 0x46f8]
comiss xmm0, xmm1
jbe 0x40c3e3
mov byte [ebp - 0xb1], 1
jmp 0x40c3ef
xor dl, dl
mov byte [ebp - 0xb1], dl
test eax, eax
je 0x40c403
movss xmm0, dword [esi + 0x46fc]
comiss xmm0, xmm1
mov byte [ebp - 0xb4], 1
ja 0x40c40a
mov byte [ebp - 0xb4], 0
push ecx
lea edx, [esi + 0x46f8]
mov ecx, edi
call fcn.0040ee30
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x46d8], 0x80
je 0x40c465
movss xmm0, dword [esi + 0x4708]
comiss xmm0, xmm1
jb 0x40c446
movss dword [edi + 0x84], xmm0
mov dword [edi + 0x8c], 0
movss xmm0, dword [esi + 0x470c]
comiss xmm0, xmm1
jb 0x40c465
movss dword [edi + 0x88], xmm0
mov dword [edi + 0x90], 0
test byte [esi + 0x46d8], 4
je 0x40c482
mov eax, dword [esi + 0x4700]
mov ecx, dword [esi + 0x4704]
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ecx
jmp 0x40c49e
mov eax, dword [ebp - 0xf4]
cmp eax, dword [ebp - 0xf8]
je 0x40c49e
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
test byte [esi + 0x46d8], 8
je 0x40c4eb
mov ecx, dword [esi + 0x46e4]
mov dl, byte [esi + 0x4710]
test ecx, ecx
je 0x40c4c2
movsx eax, byte [edi + 0xce]
test ecx, eax
je 0x40c4eb
movzx ecx, byte [edi + 0xce]
mov eax, dword [edi + 0xcc]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0xa9], dl
mov dword [edi + 0xcc], ecx
test byte [esi + 0x46d8], 0x20
je 0x40c4fb
mov ecx, edi
call fcn.0040e8d0
cmp byte [edi + 0xac], 0
je 0x40c519
and byte [edi + 0xcc], 0xf7
and byte [edi + 0xcd], 0xf7
and byte [edi + 0xce], 0xf7
mov eax, dword [ebp - 0xf4]
cmp eax, dword [ebp - 0xf8]
je 0x40e35e
mov eax, dword [ebp - 0xb8]
and eax, 0x3000000
mov byte [edi + 0xa6], 1
mov byte [edi + 0xb0], 0
mov dword [ebp - 0xcc], eax
mov al, byte [edi + 0xc9]
mov dword [edi + 0x20c], 0xff7fffff
mov dword [edi + 0x210], 0xff7fffff
mov dword [edi + 0x214], 0x7f7fffff
mov byte [ebp - 0xdd], al
mov dword [edi + 0x218], 0x7f7fffff
mov eax, dword [edi + 0xe4]
cmp eax, 1
jge 0x40c5bc
test eax, eax
je 0x40c59f
cdq
sub eax, edx
lea edx, [edi + 0xe0]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x40c5aa
mov ecx, 8
lea edx, [edi + 0xe0]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.00418880
mov dword [edi + 0xe0], 1
mov ecx, dword [edi + 0x260]
call fcn.00421b40
cmp byte [edi + 0x344], 0
mov dword [edi + 0x190], 0xffffffff
je 0x40c627
mov ecx, dword [edi + 0x260]
push dword [edi + 0x33c]
add ecx, 0xc
mov byte [edi + 0x344], 0
call fcn.00418c70
mov ecx, dword [edi + 0x260]
push dword [edi + 0x340]
add ecx, 0x18
call fcn.00418a80
mov dword [edi + 0x340], 0
mov dword [edi + 0x33c], 0
cmp dword [esi + 0x4908], 0
je 0x40c72e
test dword [edi + 8], 0x80000
jne 0x40c72e
cmp dword [ebp - 0xfc], 0
je 0x40c72e
mov eax, dword [edi]
mov ecx, eax
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x100]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40c680
test dl, dl
je 0x40c67c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40c680
add eax, 2
add ecx, 2
test dl, dl
jne 0x40c660
xor eax, eax
jmp 0x40c685
sbb eax, eax
or eax, 1
test eax, eax
je 0x40c72e
mov ecx, dword [ebp - 0x100]
mov edx, dword [edi + 0x68]
mov dword [ebp - 0xd4], edx
lea eax, [ecx + 1]
mov dword [ebp - 0xc0], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c6a5
sub ecx, dword [ebp - 0xc0]
lea eax, [ecx + 1]
mov dword [ebp - 0xc8], eax
cmp edx, eax
mov eax, dword [ebp - 0xdc]
jae 0x40c70d
test eax, eax
je 0x40c6d9
mov ecx, dword [0x536900]
test ecx, ecx
je 0x40c6d9
dec dword [ecx + 0xb0]
push eax
call fcn.004ae469
mov eax, dword [0x536900]
add esp, 4
test eax, eax
je 0x40c6f1
inc dword [eax + 0xb0]
push dword [ebp - 0xc8]
call fcn.004b32d9
mov ecx, dword [ebp - 0xc8]
add esp, 4
mov dword [ebp - 0xd4], ecx
jmp 0x40c713
mov ecx, dword [ebp - 0xc8]
push ecx
push dword [ebp - 0x100]
push eax
call fcn.004a69b0
mov dword [edi], eax
add esp, 0xc
mov eax, dword [ebp - 0xd4]
mov dword [edi + 0x68], eax
lea eax, [edi + 0x30]
mov ecx, edi
push eax
lea edx, [edi + 0x28]
call fcn.00409e50
mov al, byte [edi + 0xc8]
add esp, 4
test al, al
jle 0x40c751
dec al
mov byte [edi + 0xc8], al
mov al, byte [edi + 0xc9]
test al, al
jle 0x40c763
dec al
mov byte [edi + 0xc9], al
mov al, byte [edi + 0xca]
test al, al
jle 0x40c775
dec al
mov byte [edi + 0xca], al
cmp dword [ebp - 0xfc], 0
mov al, byte [ebp - 0xb1]
mov cl, byte [ebp - 0xb4]
jne 0x40c799
test al, al
je 0x40c792
test cl, cl
jne 0x40c799
mov byte [edi + 0xc9], 1
cmp byte [ebp - 0xb9], 0
mov edx, dword [ebp - 0xb8]
je 0x40c7fc
test edx, 0x6000000
je 0x40c7fc
mov byte [edi + 0xc9], 1
test dl, 0x40
je 0x40c7fc
test al, al
jne 0x40c7ce
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
test cl, cl
jne 0x40c7e0
mov dword [edi + 0x24], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov ecx, dword [0x536900]
mov dword [ebp - 0xd4], ecx
mov eax, dword [ecx + 0x47a4]
mov eax, dword [eax]
mov dword [edi + 0xc], eax
mov dword [ebp - 0xc8], eax
mov dword [ecx + 0x3e28], edi
mov eax, dword [edi + 0x190]
cmp eax, 0xffffffff
je 0x40c838
imul eax, eax, 0x1e0
add eax, dword [ecx + 0x49ec]
jmp 0x40c83a
xor eax, eax
movss xmm0, dword [ecx + 0x3bb8]
mov dword [ecx + 0x49d0], eax
mov eax, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x258]
test eax, eax
je 0x40c862
mulss xmm0, dword [eax + 0x258]
movss dword [ecx + 0x3bc8], xmm0
movss dword [ecx + 0x3bb4], xmm0
test edx, 0x1000000
je 0x40c884
movss xmm0, dword [esi + 0x37c8]
jmp 0x40c8a6
test edx, 0x6000000
je 0x40c89e
test edx, 0x8000000
jne 0x40c89e
movss xmm0, dword [esi + 0x37d0]
jmp 0x40c8a6
movss xmm0, dword [esi + 0x37ac]
mov eax, edi
xorps xmm7, xmm7
movss dword [eax + 0x4c], xmm0
mov eax, dword [esi + 0x37a0]
mov ecx, dword [esi + 0x37a4]
mov dword [edi + 0x40], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x44], ecx
cmp eax, 0x1000000
jne 0x40c8fa
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jp 0x40c8fa
test edx, 0x400
je 0x40c8eb
movss xmm0, dword [esi + 0x37a4]
jmp 0x40c8ee
xorps xmm0, xmm0
mov dword [edi + 0x40], 0
movss dword [edi + 0x44], xmm0
movss xmm0, dword [edi + 0x40]
maxss xmm0, dword [esi + 0x37e4]
maxss xmm0, dword [esi + 0x4730]
movss dword [edi + 0x150], xmm0
mov eax, dword [esi + 0x4734]
mov dword [edi + 0x154], eax
mov al, byte [ebp - 0xb2]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xd4]
test dl, 0x21
jne 0x40ca9d
test byte [edi + 8], 1
je 0x40c949
xorps xmm2, xmm2
jmp 0x40c97b
movss xmm0, dword [eax + 0x3bb8]
mov ecx, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x258]
test ecx, ecx
je 0x40c96b
mulss xmm0, dword [ecx + 0x258]
movss xmm2, dword [eax + 0x37d8]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm3, dword [edi + 0x10]
movaps xmm0, xmm3
movss xmm4, dword [edi + 0x14]
addss xmm0, dword [edi + 0x20]
addss xmm2, dword [edi + 0x14]
cmp dword [esi + 0x3e2c], edi
jne 0x40ca3f
cmp dword [esi + 0x3e60], 0
jne 0x40ca3f
cmp dword [esi + 0x3e64], 0
jne 0x40ca3f
mov eax, dword [eax + 0x3e28]
minss xmm0, dword [eax + 0x214]
maxss xmm3, dword [eax + 0x20c]
maxss xmm4, dword [eax + 0x210]
minss xmm2, dword [eax + 0x218]
mov eax, dword [ebp - 0xd4]
movss xmm1, dword [eax + 0x37fc]
movaps xmm5, xmm1
subss xmm3, xmm1
movss xmm1, dword [eax + 0xdb8]
addss xmm5, xmm0
movss xmm0, dword [eax + 0x3800]
movaps xmm6, xmm0
subss xmm4, xmm0
addss xmm6, xmm2
comiss xmm1, xmm3
jb 0x40ca3f
movss xmm0, dword [eax + 0xdbc]
comiss xmm0, xmm4
jb 0x40ca3f
comiss xmm5, xmm1
jbe 0x40ca3f
comiss xmm6, xmm0
jbe 0x40ca3f
cmp word [esi + 0x3702], 2
jne 0x40ca3f
mov byte [edi + 0xaa], 1
cmp byte [edi + 0xaa], 0
je 0x40caa4
mov cl, byte [edi + 0xa9]
test cl, cl
sete al
test cl, cl
mov byte [edi + 0xa9], al
mov ecx, 1
mov eax, dword [ebp - 0xdc]
movzx eax, al
cmovne eax, ecx
test dword [edi + 8], 0x100
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xd4]
jne 0x40caa4
comiss xmm7, dword [eax + 0x59f0]
jb 0x40caa4
mov ecx, dword [ebp - 0xd4]
mov eax, dword [eax + 0x1c]
mov dword [ecx + 0x59f0], eax
mov eax, ecx
jmp 0x40caa4
mov byte [edi + 0xa9], 0
movss xmm0, dword [edi + 0x9c]
mov edx, dword [edi + 8]
movss dword [ebp - 0xe4], xmm0
movss xmm0, dword [edi + 0xa0]
mov byte [edi + 0xaa], 0
movss dword [ebp - 0xec], xmm0
mov dword [edi + 0x50], 0
mov dword [edi + 0x58], 0
test dl, 1
je 0x40cae6
xorps xmm2, xmm2
jmp 0x40cb18
movss xmm0, dword [eax + 0x3bb8]
mov ecx, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x258]
test ecx, ecx
je 0x40cb08
mulss xmm0, dword [ecx + 0x258]
movss xmm2, dword [eax + 0x37d8]
addss xmm2, xmm2
addss xmm2, xmm0
test edx, 0x400
je 0x40cb5c
movss xmm1, dword [eax + 0x3bb8]
mov ecx, dword [edi + 0x2f4]
mulss xmm1, dword [edi + 0x258]
test ecx, ecx
je 0x40cb42
mulss xmm1, dword [ecx + 0x258]
movss xmm0, dword [eax + 0x37d8]
addss xmm1, dword [edi + 0x154]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x40cb5f
xorps xmm1, xmm1
addss xmm1, xmm2
mov dword [edi + 0x5c], 0
lea eax, [edi + 0x30]
mov dword [edi + 0x9c], 0
push eax
mov edx, edi
mov dword [edi + 0xa0], 0
lea ecx, [ebp - 0x2c]
movss dword [edi + 0x54], xmm1
call fcn.00409f80
add esp, 4
test byte [ebp - 0xb8], 0x40
je 0x40cbe7
cmp byte [edi + 0xa9], 0
jne 0x40cbe7
cmp byte [ebp - 0xb1], 0
jne 0x40cbc0
movss xmm0, dword [ebp - 0x2c]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0xb2], 1
cmp byte [ebp - 0xb4], 0
jne 0x40cc97
movss xmm0, dword [ebp - 0x28]
mov eax, 1
movss dword [edi + 0x24], xmm0
mov dword [ebp - 0xdc], eax
jmp 0x40cc97
mov al, byte [edi + 0xc0]
test al, al
jg 0x40cbfe
cmp byte [edi + 0xc1], 0
jle 0x40cc97
cmp byte [ebp - 0xb1], 0
jne 0x40cc31
test al, al
jle 0x40cc31
cmp byte [edi + 0xc3], 0
je 0x40cc20
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [ebp - 0x2c]
jmp 0x40cc25
movss xmm0, dword [ebp - 0x2c]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0xb2], 1
cmp byte [ebp - 0xb4], 0
jne 0x40cc6a
cmp byte [edi + 0xc1], 0
jle 0x40cc6a
cmp byte [edi + 0xc3], 0
je 0x40cc58
movss xmm0, dword [edi + 0x24]
maxss xmm0, dword [ebp - 0x28]
jmp 0x40cc5d
movss xmm0, dword [ebp - 0x28]
mov al, 1
movss dword [edi + 0x24], xmm0
mov dword [ebp - 0xdc], eax
cmp byte [edi + 0xa9], 0
jne 0x40cc97
test dword [edi + 8], 0x100
mov ecx, dword [0x536900]
jne 0x40cc97
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x59f0]
jb 0x40cc97
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x59f0], eax
lea eax, [edi + 0x20]
mov edx, edi
push eax
lea ecx, [ebp - 0x108]
call fcn.00409c30
mov edx, dword [ebp - 0xb8]
add esp, 4
cmp byte [edi + 0xa9], 0
movss xmm3, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [edi + 0x20], xmm3
movss dword [edi + 0x24], xmm0
je 0x40cd41
test edx, 0x1000000
jne 0x40cd41
test byte [edi + 8], 1
je 0x40cce0
xorps xmm2, xmm2
jmp 0x40cd17
mov eax, dword [0x536900]
mov ecx, dword [edi + 0x2f4]
movss xmm0, dword [eax + 0x3bb8]
mulss xmm0, dword [edi + 0x258]
test ecx, ecx
je 0x40cd07
mulss xmm0, dword [ecx + 0x258]
movss xmm2, dword [eax + 0x37d8]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [edi + 0x10]
addss xmm2, dword [edi + 0x14]
addss xmm0, xmm3
subss xmm2, dword [edi + 0x14]
subss xmm0, dword [edi + 0x10]
movss dword [ebp - 0xc0], xmm2
movss dword [ebp - 0xc4], xmm0
jmp 0x40cd53
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], ecx
cmp byte [ebp - 0xb9], 0
lea ecx, [ebp - 0xc4]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
je 0x40cdb3
mov eax, edx
mov dword [edi + 0xc4], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x40cdb3
cmp byte [ebp - 0xb3], 0
jne 0x40cdb3
mov eax, dword [esi + 0x478c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x4794]
movss xmm0, dword [eax + ecx*8 - 0x10]
movss xmm1, dword [eax + ecx*8 - 0xc]
movss dword [edi + 0x10], xmm0
movss dword [edi + 0x14], xmm1
test edx, 0x1000000
je 0x40ce68
mov ecx, dword [ebp - 0xe8]
add ecx, 0x17c
mov dword [ebp - 0xd8], ecx
mov ax, word [ecx]
mov word [edi + 0xb6], ax
mov eax, dword [ecx + 4]
cmp dword [ecx], eax
jne 0x40ce1b
mov edx, dword [ecx]
inc edx
mov dword [ebp - 0xc0], edx
test eax, eax
je 0x40cdff
cdq
sub eax, edx
mov edx, dword [ebp - 0xc0]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40ce04
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00418880
mov edx, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x184]
mov dword [eax + ecx*4], edi
mov ecx, dword [ebp - 0xe8]
mov al, byte [ebp - 0xb3]
inc dword [ecx + 0x17c]
test edx, 0x4000000
jne 0x40ce6e
test al, al
jne 0x40ce6e
cmp dword [ebp - 0xcc], 0x3000000
je 0x40ce6e
mov eax, dword [ecx + 0xec]
mov ecx, dword [ecx + 0xf0]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov al, byte [ebp - 0xb3]
movss xmm1, dword [edi + 0xd0]
ucomiss xmm1, dword [0x4ee04c]
lahf
test ah, 0x44
jnp 0x40ceda
cmp byte [edi + 0xc9], 0
jne 0x40ceda
movss xmm0, dword [edi + 0x18]
lea edx, [ebp - 0xc4]
mulss xmm0, dword [edi + 0xd8]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xd4]
movss dword [ebp - 0xc4], xmm1
movss xmm1, dword [edi + 0x1c]
mulss xmm1, dword [edi + 0xdc]
subss xmm0, xmm1
movss dword [ebp - 0xc0], xmm0
call fcn.0040ecd0
add esp, 4
jmp 0x40cf2e
test edx, 0x10000000
jne 0x40cf0e
test edx, 0x4000000
je 0x40cef6
test al, al
jne 0x40cef6
cmp byte [ebp - 0xdd], al
jg 0x40cf0e
test edx, 0x2000000
je 0x40cf34
test al, al
jne 0x40cf34
cmp dword [ebp - 0xcc], 0x3000000
je 0x40cf34
mov edx, edi
lea ecx, [ebp - 0x118]
call fcn.00412840
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0x10], xmm0
movss dword [edi + 0x14], xmm1
mov edx, dword [ebp - 0xb8]
cmp byte [ebp - 0xb3], 0
mov eax, dword [ebp - 0xc8]
movss xmm3, dword [esi + 0x3844]
movss xmm2, dword [esi + 0x3840]
maxss xmm3, dword [esi + 0x384c]
movss xmm7, dword [eax + 0x14]
movss xmm6, dword [eax + 0x18]
addss xmm7, dword [eax + 0x1c]
addss xmm6, dword [eax + 0x20]
movss xmm0, dword [eax + 4]
movss xmm1, dword [eax + 8]
movaps xmm5, xmm0
maxss xmm2, dword [esi + 0x3848]
addss xmm5, dword [eax + 0xc]
movaps xmm4, xmm1
movss dword [ebp - 0x40], xmm0
addss xmm4, dword [eax + 0x10]
subss xmm6, xmm3
movss dword [ebp - 0x3c], xmm1
addss xmm3, dword [eax + 0x18]
subss xmm7, xmm2
movss dword [ebp - 0x38], xmm5
addss xmm2, dword [eax + 0x14]
movss dword [ebp - 0x34], xmm4
movss dword [ebp - 0x44], xmm6
movss dword [ebp - 0x4c], xmm3
movss dword [ebp - 0x48], xmm7
movss dword [ebp - 0x50], xmm2
jne 0x40d076
test edx, 0x1000000
jne 0x40d076
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x40d076
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x40d076
mov ecx, dword [0x536900]
movss xmm1, dword [edi + 0x1c]
cmp byte [ecx + 0x67], 0
je 0x40d041
test byte [edi + 8], 1
jne 0x40d041
movss xmm0, dword [ecx + 0x3bb8]
mov eax, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x258]
test eax, eax
je 0x40d031
mulss xmm0, dword [eax + 0x258]
movss xmm1, dword [ecx + 0x37d8]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x14]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x18]
comiss xmm3, xmm0
ja 0x40d05b
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x10]
comiss xmm2, xmm0
ja 0x40d06c
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [edi + 0x10], xmm2
movss dword [edi + 0x14], xmm3
cvttss2si eax, dword [edi + 0x10]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0x10], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x14], xmm0
test edx, 0x1000000
je 0x40d0aa
movss xmm0, dword [esi + 0x37c4]
jmp 0x40d0ca
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x40d0c2
movss xmm0, dword [esi + 0x37cc]
jmp 0x40d0ca
movss xmm0, dword [esi + 0x37a8]
xor cl, cl
movss dword [edi + 0x48], xmm0
mov dword [ebp - 0xd4], ecx
cmp byte [ebp - 0xb9], cl
je 0x40d34b
test edx, 0x1000
jne 0x40d34b
test edx, 0x4000000
je 0x40d100
mov byte [ebp - 0xd4], 1
jmp 0x40d117
test edx, 0x3000000
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [ebp - 0xd4], ecx
call fcn.00412030
test eax, eax
je 0x40d34b
mov ecx, edi
cmp dword [edi + 0x2fc], eax
je 0x40d34b
cmp ecx, eax
je 0x40d34b
mov ecx, dword [ecx + 0x2f8]
test ecx, ecx
jne 0x40d132
mov byte [ebp - 0xd4], cl
cmp edi, dword [edi + 0x2fc]
jne 0x40d34b
mov edx, dword [0x536900]
mov eax, dword [edx + 0x4780]
test eax, eax
jle 0x40d232
add eax, 0xffffffff
mov dword [ebp - 0xc8], eax
js 0x40d232
mov edx, dword [edx + 0x4788]
lea ecx, [eax + eax*4]
add edx, 4
lea edx, [edx + ecx*8]
mov dword [ebp - 0xd8], edx
nop
mov edx, dword [edx]
test edx, edx
je 0x40d214
test dword [edx + 8], 0x8000000
je 0x40d214
cmp byte [edx + 0xa6], 0
jne 0x40d1b5
cmp byte [edx + 0xa7], 0
je 0x40d214
mov eax, edi
cmp dword [edi + 0x2fc], edx
je 0x40d232
nop
cmp eax, edx
je 0x40d232
mov eax, dword [eax + 0x2f8]
test eax, eax
jne 0x40d1c0
mov eax, dword [edx + 0x2f8]
mov ecx, dword [eax + 0x2fc]
test ecx, ecx
je 0x40d20e
nop
mov eax, edi
cmp dword [edi + 0x2fc], ecx
je 0x40d234
nop word [eax + eax]
cmp eax, ecx
je 0x40d234
mov eax, dword [eax + 0x2f8]
test eax, eax
jne 0x40d1f0
mov eax, dword [ecx + 0x2f8]
mov ecx, dword [eax + 0x2fc]
test ecx, ecx
jne 0x40d1e0
mov eax, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xd8]
dec eax
sub edx, 0x28
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xd8], edx
test eax, eax
jns 0x40d190
xor edx, edx
mov eax, dword [edx + 0x2fc]
mov ecx, dword [edi + 0x2fc]
mov dword [ebp - 0xc0], eax
mov eax, dword [0x536900]
mov dword [ebp - 0xc8], ecx
mov edx, dword [eax + 0x3de8]
mov eax, dword [eax + 0x3de0]
lea eax, [edx + eax*4]
cmp edx, eax
jae 0x40d26f
cmp dword [edx], ecx
je 0x40d26f
add edx, 4
cmp edx, eax
jb 0x40d264
mov eax, dword [0x536900]
mov ecx, dword [eax + 0x3de8]
sub edx, ecx
mov eax, dword [eax + 0x3de0]
sar edx, 2
lea eax, [ecx + eax*4]
cmp ecx, eax
jae 0x40d2a3
mov esi, dword [ebp - 0xc0]
cmp dword [ecx], esi
je 0x40d29d
add ecx, 4
cmp ecx, eax
jb 0x40d292
mov esi, dword [ebp - 0xd0]
mov eax, dword [0x536900]
sub ecx, dword [eax + 0x3de8]
sar ecx, 2
mov dword [ebp - 0xd8], ecx
cmp edx, ecx
lea eax, [ecx*4]
mov ecx, dword [0x536900]
mov dword [ebp - 0xc0], eax
jge 0x40d30e
mov eax, dword [ecx + 0x3de8]
lea ecx, [eax + edx*4]
mov eax, dword [ebp - 0xd8]
sub eax, edx
lea eax, [eax*4 - 4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.004a69b0
mov eax, dword [0x536900]
mov edx, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc8]
mov eax, dword [eax + 0x3de8]
mov dword [edx + eax - 4], ecx
jmp 0x40d348
sub edx, dword [ebp - 0xd8]
add eax, dword [ecx + 0x3de8]
shl edx, 2
push edx
push eax
add eax, 4
push eax
call fcn.004a69b0
mov eax, dword [0x536900]
mov edx, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xc8]
mov esi, dword [ebp - 0xd0]
mov eax, dword [eax + 0x3de8]
mov dword [edx + eax], ecx
add esp, 0xc
movss xmm2, dword [esi + 0x3bb4]
xorps xmm0, xmm0
movaps xmmword [ebp - 0x20], xmm0
movaps xmm1, xmm2
movss xmm0, dword [edi + 0x48]
xor eax, eax
addss xmm0, dword [0x4edf54]
mulss xmm2, dword [0x4edf00]
cmp byte [esi + 0x66], al
mulss xmm1, dword [0x4edf58]
setne al
mov dword [ebp - 0x24], 0xffffffff
addss xmm0, xmm2
inc eax
cmp byte [edi + 0xa9], 0
mov dword [ebp - 0xc8], eax
maxss xmm1, xmm0
cvttss2si esi, xmm1
jne 0x40d3c9
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
lea edx, [ebp - 0x2c]
call fcn.0040a2b0
add esp, 0x10
test al, al
je 0x40d3c9
mov cl, 1
mov dl, cl
jmp 0x40d3d5
mov dl, byte [ebp - 0xb2]
mov ecx, dword [ebp - 0xdc]
cmp byte [edi + 0xa9], 0
mov al, byte [ebp - 0x24]
mov byte [edi + 0xb1], al
jne 0x40d576
cmp dword [ebp - 0xfc], 0
lea eax, [ebp - 0xf0]
movss xmm0, dword [edi + 0x5c]
movss xmm2, dword [edi + 0x1d4]
movss xmm3, dword [edi + 0x1d8]
addss xmm0, dword [edi + 0x54]
subss xmm2, dword [edi + 0x1cc]
subss xmm3, dword [edi + 0x1d0]
movss xmm4, dword [edi + 0x24]
movss xmm5, dword [edi + 0x20]
subss xmm4, xmm0
addss xmm2, dword [ebp - 0xe4]
addss xmm3, dword [ebp - 0xec]
jne 0x40d458
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
jmp 0x40d484
movss xmm0, dword [edi + 0x40]
movss xmm1, dword [edi + 0x44]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edi + 0x28]
addss xmm1, dword [edi + 0x2c]
movss dword [ebp - 0xf0], xmm0
movss dword [ebp - 0xec], xmm1
movss xmm6, dword [eax]
movss xmm1, dword [eax + 4]
test dl, dl
jne 0x40d494
movaps xmm5, xmm2
test cl, cl
jne 0x40d49b
movaps xmm4, xmm3
mov ecx, dword [ebp - 0xb8]
test ecx, 0x4000
jne 0x40d4b7
comiss xmm1, xmm4
jbe 0x40d4b3
test cl, 8
je 0x40d4b7
xor al, al
jmp 0x40d4b9
mov al, 1
mov byte [ebp - 0xb2], al
mov byte [edi + 0xa5], al
test ecx, 0x8000
jne 0x40d50d
mov edx, dword [ebp - 0xd0]
test al, al
je 0x40d4e1
movss xmm0, dword [edx + 0x380c]
jmp 0x40d4e4
xorps xmm0, xmm0
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x40d501
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
mov al, byte [ebp - 0xb2]
je 0x40d50d
mov byte [edi + 0xa4], 0
xorps xmm1, xmm1
jmp 0x40d53c
mov byte [edi + 0xa4], 1
test al, al
jne 0x40d52e
comiss xmm1, xmm4
jbe 0x40d526
test cl, 8
jne 0x40d526
mov al, 1
jmp 0x40d528
xor al, al
mov byte [edi + 0xa5], al
mov edx, dword [ebp - 0xd0]
movss xmm1, dword [edx + 0x380c]
test al, al
je 0x40d54a
movss xmm0, dword [edx + 0x380c]
jmp 0x40d54d
xorps xmm0, xmm0
movss dword [edi + 0x9c], xmm0
addss xmm0, dword [edi + 0x58]
movss dword [edi + 0xa0], xmm1
movss dword [edi + 0x58], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x5c]
movss dword [edi + 0x5c], xmm0
jmp 0x40d582
mov edx, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xb8]
mov eax, ecx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x40d5a9
cmp dword [ebp - 0xcc], 0x3000000
je 0x40d5a9
mov eax, dword [ebp - 0xe8]
add eax, 0x20c
jmp 0x40d5ac
lea eax, [ebp - 0x40]
test byte [edi + 8], 1
movss xmm0, dword [edi + 0x10]
movups xmm4, xmmword [eax]
movss xmm6, dword [edi + 0x14]
movaps xmm5, xmm0
addss xmm5, dword [edi + 0x18]
movaps xmm7, xmm6
movaps xmmword [ebp - 0x130], xmm4
addss xmm7, dword [edi + 0x1c]
movss dword [ebp - 0xc0], xmm0
je 0x40d5e3
xorps xmm3, xmm3
jmp 0x40d633
cmp dword [edi + 0x2f4], 0
mov eax, dword [0x536900]
mov edx, dword [ebp - 0xd0]
movss xmm0, dword [eax + 0x3bb8]
mulss xmm0, dword [edi + 0x258]
je 0x40d61b
mov ecx, dword [edi + 0x2f4]
mulss xmm0, dword [ecx + 0x258]
mov ecx, dword [ebp - 0xb8]
movss xmm3, dword [eax + 0x37d8]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm0, dword [ebp - 0xc0]
movaps xmm2, xmm0
movss dword [ebp - 0x110], xmm0
addss xmm2, dword [edi + 0x20]
movss xmm0, dword [edi + 0x14]
movaps xmm1, xmm6
movss dword [ebp - 0x10c], xmm0
addss xmm1, xmm3
movss xmm0, dword [ebp - 0xc0]
and ecx, 0x401
movss dword [ebp - 0x108], xmm2
movaps xmm2, xmm4
shufps xmm2, xmm4, 0xff
movss dword [ebp - 0x104], xmm1
movss dword [edi + 0x1bc], xmm0
movss dword [edi + 0x1c0], xmm6
movss dword [edi + 0x1c4], xmm5
movaps xmm5, xmm4
movss dword [edi + 0x1c8], xmm7
movss xmm0, dword [edi + 0x1bc]
shufps xmm5, xmm4, 0x55
maxss xmm0, xmm4
maxss xmm6, xmm5
movups xmmword [ebp - 0x160], xmm5
movups xmmword [ebp - 0x140], xmm2
movss dword [edi + 0x1bc], xmm0
movaps xmm0, xmm4
movss dword [edi + 0x1c0], xmm6
movss xmm1, dword [edi + 0x1c4]
shufps xmm0, xmm4, 0xaa
minss xmm1, xmm0
movups xmmword [ebp - 0x150], xmm0
movss xmm0, dword [edi + 0x1c8]
minss xmm0, xmm2
movss dword [edi + 0x1c4], xmm1
movss dword [edi + 0x1c8], xmm0
movss xmm6, dword [edi + 0x10]
movss xmm7, dword [edi + 0x14]
movaps xmm0, xmm6
addss xmm0, dword [edi + 0x50]
addss xmm6, dword [edi + 0x18]
movss dword [ebp - 0xec], xmm0
movss dword [edi + 0x1cc], xmm0
movaps xmm0, xmm7
addss xmm7, dword [edi + 0x1c]
addss xmm0, dword [edi + 0x54]
subss xmm6, dword [edi + 0x58]
subss xmm7, dword [edi + 0x5c]
movss dword [ebp - 0xe4], xmm0
movss dword [edi + 0x1d0], xmm0
movss dword [edi + 0x1d4], xmm6
movss dword [edi + 0x1d8], xmm7
cmp ecx, 1
jne 0x40d771
movss xmm0, dword [edi + 0x4c]
jmp 0x40d779
movss xmm0, dword [edx + 0x37e0]
movss xmm2, dword [0x4edf18]
movss dword [ebp - 0xc0], xmm0
addss xmm6, xmm2
movss xmm0, dword [edi + 0x40]
addss xmm7, xmm2
mulss xmm0, xmm2
movups xmm3, xmmword [ebp - 0x140]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0xec]
addss xmm0, xmm2
subss xmm7, dword [edi + 0x4c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x4c]
addss xmm0, xmm1
subss xmm6, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1dc], xmm0
movss xmm0, dword [ebp - 0xe4]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0xc0]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvttss2si ecx, xmm6
movss dword [edi + 0x1e0], xmm0
movd xmm0, ecx
cvttss2si ecx, xmm7
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e4], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e8], xmm0
movss xmm0, dword [edi + 0x1e0]
comiss xmm5, xmm0
jbe 0x40d83c
movaps xmm1, xmm5
jmp 0x40d843
movaps xmm1, xmm3
minss xmm1, xmm0
movups xmm6, xmmword [ebp - 0x150]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm4, xmm2
jbe 0x40d85b
movaps xmm0, xmm4
jmp 0x40d862
movaps xmm0, xmm6
minss xmm0, xmm2
movss dword [edi + 0x1dc], xmm0
movss dword [edi + 0x1e0], xmm1
movss xmm0, dword [edi + 0x1e8]
comiss xmm5, xmm0
ja 0x40d886
movaps xmm5, xmm3
minss xmm5, xmm0
movss xmm0, dword [edi + 0x1e4]
comiss xmm4, xmm0
ja 0x40d89a
movaps xmm4, xmm6
minss xmm4, xmm0
movss dword [edi + 0x1e4], xmm4
xorps xmm2, xmm2
movss dword [edi + 0x1e8], xmm5
movss xmm0, dword [edi + 0x18]
comiss xmm0, xmm2
jbe 0x40d8cd
test dword [ebp - 0xb8], 0x2000040
jne 0x40d8cd
mulss xmm0, dword [0x4edf24]
jmp 0x40d8dd
movss xmm0, dword [edx + 0x3bb4]
mulss xmm0, dword [0x4edfd4]
cvttss2si eax, xmm0
mov ecx, edi
mov edx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x23c], xmm0
lea ecx, [ebp - 0x118]
movss xmm1, dword [edi + 0x40]
movss xmm0, dword [edi + 0x1d4]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1cc]
addss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x44]
addss xmm1, xmm1
movss dword [edi + 0x7c], xmm0
movss xmm0, dword [edi + 0x1d8]
subss xmm0, dword [edi + 0x1d0]
addss xmm1, dword [edi + 0x2c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x80], xmm0
call fcn.004119b0
mov ecx, dword [edi + 0x260]
mov dword [ebp - 0xe4], ecx
add ecx, 0x48
mov dword [ebp - 0xc0], ecx
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [ebp - 0xd0]
movss dword [edi + 0x74], xmm0
movss dword [edi + 0x78], xmm1
mov dword [edi + 0x84], 0x7f7fffff
mov dword [edi + 0x88], 0x7f7fffff
mov dword [edi + 0x64], 0
mov dword [edi + 0x60], 0
mov eax, dword [eax + 0x3bb0]
mov edx, dword [ecx]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov dword [ebp - 0xd8], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x40d9fa
inc edx
mov dword [ebp - 0xec], edx
test eax, eax
je 0x40d9e4
cdq
sub eax, edx
mov edx, dword [ebp - 0xec]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40d9e9
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00418880
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0xd8]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0xd8]
inc dword [ecx]
mov ecx, dword [ebp - 0xe4]
mov dword [ecx + 0x70], eax
call fcn.00421f60
mov ecx, dword [0x536900]
movaps xmm0, xmmword [ebp - 0x130]
comiss xmm0, dword [ebp - 0x150]
mov eax, dword [ecx + 0x3e28]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x3e28]
mov dword [ebp - 0xd8], eax
movaps xmmword [ebp - 0x40], xmm0
mov edx, dword [eax + 0x260]
mov dword [ebp - 0xc0], edx
jb 0x40da73
movss dword [ebp - 0x38], xmm0
movaps xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x130], xmm0
movups xmm0, xmmword [ebp - 0x160]
comiss xmm0, dword [ebp - 0x140]
jb 0x40da93
movss dword [ebp - 0x34], xmm0
movaps xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x130], xmm0
mov eax, dword [edx + 0x40]
lea ecx, [edx + 0x3c]
mov dword [ebp - 0xe4], ecx
cmp dword [ecx], eax
jne 0x40dadc
mov edx, dword [ecx]
inc edx
mov dword [ebp - 0xec], edx
test eax, eax
je 0x40dac0
cdq
sub eax, edx
mov edx, dword [ebp - 0xec]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40dac5
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00418fa0
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ebp - 0xc0]
mov eax, dword [ecx]
movaps xmm0, xmmword [ebp - 0x130]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, edx
movups xmmword [edx + 0x60], xmm0
call fcn.00421ec0
mov edx, dword [ebp - 0xd8]
mov byte [ebp - 0xb1], 0
mov eax, dword [edx + 0x260]
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 dword [edx + 0x20c], eax
mov eax, dword [ebp - 0xb8]
movss dword [edx + 0x210], xmm0
and eax, 0x5000000
movss dword [edx + 0x214], xmm1
movss dword [edx + 0x218], xmm2
cmp eax, 0x1000000
jne 0x40dc20
cmp dword [ebp - 0xcc], 0x3000000
je 0x40dc20
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 0x17c]
cmp ecx, 2
jl 0x40dbdc
mov eax, dword [eax + 0x184]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x40dbdc
movss xmm5, dword [eax + 0x14]
movss xmm7, dword [eax + 0x10]
movaps xmm0, xmm5
addss xmm0, dword [eax + 0x1c]
movss xmm6, dword [edi + 0x10]
movaps xmm3, xmm7
movss xmm2, dword [edi + 0x14]
movaps xmm4, xmm6
addss xmm3, dword [eax + 0x18]
addss xmm4, dword [edi + 0x18]
comiss xmm0, dword [edi + 0x14]
addss xmm2, dword [edi + 0x1c]
jbe 0x40dbdc
comiss xmm2, xmm5
jbe 0x40dbdc
comiss xmm3, xmm6
jbe 0x40dbdc
comiss xmm4, xmm7
mov byte [ebp - 0xb2], 1
ja 0x40dbe3
mov byte [ebp - 0xb2], 0
mov edx, dword [edi + 0x260]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x40dc20
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 0x260]
cmp dword [eax + 0x18], 0
jle 0x40dc20
cmp byte [ebp - 0xb2], 0
jne 0x40dc20
mov byte [ebp - 0xb1], 1
mov dword [edi + 0x260], eax
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x4900]
test ecx, ecx
jne 0x40dc36
mov ecx, dword [eax + 0x47a8]
cmp byte [ebp - 0xd4], 0
jne 0x40dc5a
test ecx, ecx
je 0x40dc51
mov eax, dword [edi + 0x304]
cmp eax, dword [ecx + 0x304]
je 0x40dc5a
mov byte [ebp - 0xc0], 0
jmp 0x40dc61
mov byte [ebp - 0xc0], 1
movd xmm0, esi
lea eax, [ebp - 0x20]
push ecx
cvtdq2ps xmm0, xmm0
lea edx, [ebp - 0x110]
movss dword [esp], xmm0
push eax
push dword [ebp - 0xc8]
push ecx
push dword [ebp - 0xc0]
mov ecx, edi
call fcn.0040b140
add esp, 0x14
cmp byte [ebp - 0xb1], 0
je 0x40dca4
lea eax, [edi + 0x264]
mov dword [edi + 0x260], eax
mov ecx, dword [ebp - 0xb8]
xorps xmm2, xmm2
movss xmm5, dword [edi + 0x38]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm5, xmm2
lahf
test ah, 0x44
jnp 0x40dcca
movaps xmm7, xmm5
jmp 0x40dd06
movss xmm0, dword [edi + 0x40]
mov eax, ecx
movss xmm1, dword [edi + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
movss xmm0, dword [edi + 0x58]
addss xmm0, dword [edi + 0x50]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x40dcff
movss xmm7, dword [edi + 0x28]
jmp 0x40dd02
xorps xmm7, xmm7
maxss xmm7, xmm1
movss xmm4, dword [edi + 0x3c]
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jnp 0x40dd19
movaps xmm6, xmm4
jmp 0x40dd4b
movss xmm0, dword [edi + 0x44]
movss xmm1, dword [edi + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x5c]
addss xmm0, dword [edi + 0x54]
subss xmm1, xmm0
test dl, dl
je 0x40dd44
movss xmm6, dword [edi + 0x2c]
jmp 0x40dd47
xorps xmm6, xmm6
maxss xmm6, xmm1
movss xmm0, dword [edi + 0x40]
movss xmm2, dword [edi + 0x74]
movss xmm1, dword [edi + 0x1cc]
movss dword [ebp - 0xec], xmm0
subss xmm1, xmm2
maxss xmm0, dword [edi + 0x4c]
movss dword [ebp - 0xc0], xmm2
movss xmm3, dword [ebp - 0xec]
ucomiss xmm5, dword [0x4eded4]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [edi + 0x1ec], xmm2
addss xmm7, xmm2
movss xmm0, dword [edi + 0x78]
movss xmm1, dword [edi + 0x44]
movss dword [ebp - 0xcc], xmm0
movss xmm0, dword [edi + 0x1d0]
subss xmm0, dword [ebp - 0xcc]
movss dword [ebp - 0xe4], xmm1
maxss xmm1, dword [edi + 0x4c]
movss xmm2, dword [ebp - 0xe4]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
lahf
movss dword [edi + 0x1f0], xmm0
addss xmm6, xmm0
movss dword [edi + 0x1f4], xmm7
movss dword [edi + 0x1f8], xmm6
movups xmm0, xmmword [edi + 0x1ec]
movups xmmword [edi + 0x1fc], xmm0
movss xmm0, dword [edi + 0x10]
movss xmm6, dword [edi + 0x50]
movaps xmm1, xmm0
movss dword [ebp - 0xd8], xmm0
subss xmm1, dword [ebp - 0xc0]
addss xmm1, xmm3
addss xmm1, xmm6
movss dword [edi + 0x21c], xmm1
movss xmm0, dword [edi + 0x14]
movss xmm7, dword [edi + 0x54]
movss dword [ebp - 0xfc], xmm0
subss xmm0, dword [ebp - 0xcc]
addss xmm0, xmm2
addss xmm0, xmm7
movss dword [ebp - 0xec], xmm0
movss dword [edi + 0x220], xmm0
test ah, 0x44
jp 0x40de91
movss xmm5, dword [edi + 0x18]
movaps xmm0, xmm3
addss xmm0, xmm3
subss xmm5, xmm0
movaps xmm0, xmm6
addss xmm0, dword [edi + 0x58]
subss xmm5, xmm0
addss xmm1, xmm5
xorps xmm5, xmm5
ucomiss xmm4, xmm5
movss dword [edi + 0x224], xmm1
lahf
test ah, 0x44
jp 0x40dec5
movss xmm4, dword [edi + 0x1c]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm4, xmm0
movaps xmm0, xmm7
addss xmm0, dword [edi + 0x5c]
subss xmm4, xmm0
movss xmm1, dword [ebp - 0xc0]
lea ecx, [edi + 0x158]
addss xmm4, dword [ebp - 0xec]
movaps xmm0, xmm6
mov esi, dword [ebp - 0xd0]
addss xmm0, xmm3
cvtps2pd xmm3, xmm3
movss dword [edi + 0x228], xmm4
subss xmm0, xmm1
cvtps2pd xmm2, xmm2
movss dword [edi + 0x130], xmm0
movss xmm0, dword [ebp - 0xd8]
cvtps2pd xmm0, xmm0
mov dword [edi + 0x138], 0
mov dword [edi + 0x134], 0
addsd xmm3, xmm0
cvtps2pd xmm0, xmm1
subsd xmm3, xmm0
cvtps2pd xmm0, xmm6
addsd xmm3, xmm0
movss xmm0, dword [ebp - 0xfc]
cvtps2pd xmm0, xmm0
addsd xmm3, qword [0x4eded8]
addsd xmm2, xmm0
movss xmm0, dword [ebp - 0xcc]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtps2pd xmm0, xmm7
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [edi + 0xfc], xmm0
movss dword [edi + 0x100], xmm1
movss xmm0, dword [edi + 0xfc]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0x100]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [edi + 0x13c], xmm1
cvtpd2ps xmm0, xmm2
movss dword [edi + 0x140], xmm0
movss xmm1, dword [edi + 0xfc]
movss xmm0, dword [edi + 0x100]
movss dword [edi + 0xec], xmm1
movss dword [edi + 0xf0], xmm0
movss dword [edi + 0xf4], xmm1
movss dword [edi + 0xf8], xmm0
movss dword [edi + 0x104], xmm1
movss dword [edi + 0x108], xmm0
movss dword [edi + 0x10c], xmm1
movss dword [edi + 0x110], xmm0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x114], 0
mov dword [edi + 0x118], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x124], 0
mov word [edi + 0x12c], 0
mov dword [edi + 0x144], 0
mov ax, word [edi + 0x14a]
mov word [edi + 0x148], ax
xor eax, eax
mov word [edi + 0x14a], ax
mov byte [edi + 0x14c], al
movss xmm0, dword [edi + 0x80]
comiss xmm0, xmm5
seta al
cmp byte [ebp - 0xb9], 0
mov byte [edi + 0x14d], al
lea eax, [ecx + 0x12]
mov byte [edi + 0x14e], 0
movss xmm1, dword [esi + 0x37e4]
mov dword [ebp - 0xc0], eax
je 0x40e0a8
xorps xmm0, xmm0
movq qword [eax], xmm0
jmp 0x40e0ae
mov dword [ebp - 0xc0], eax
cvttss2si eax, xmm1
push ecx
mov word [ecx + 8], ax
call fcn.00436140
mov eax, dword [ebp - 0xc0]
xorps xmm0, xmm0
movq qword [eax], xmm0
mov eax, dword [edi + 0x15c]
mov dword [edi + 0x158], eax
lea eax, [edi + 0x17c]
mov dword [edi + 0x15c], 0
mov dword [edi + 0x174], 0
mov dword [edi + 0x178], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40e122
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 + 0x17c]
call fcn.00418880
lea eax, [edi + 0x17c]
mov dword [eax], 0
lea eax, [edi + 0x240]
mov dword [edi + 0x188], eax
mov eax, dword [ebp - 0xe8]
mov dword [edi + 0x18c], 0
mov dword [edi + 0x194], 1
test eax, eax
je 0x40e15a
mov eax, dword [eax + 0x194]
jmp 0x40e15f
mov eax, 1
mov dword [edi + 0x198], eax
mov eax, dword [edi + 0x23c]
mov dword [edi + 0x19c], eax
lea eax, [edi + 0x1a4]
mov dword [edi + 0x1a0], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40e1aa
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 + 0x1a4]
call fcn.00418880
lea eax, [edi + 0x1a4]
mov dword [eax], 0
lea eax, [edi + 0x1b0]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40e1df
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 + 0x1b0]
call fcn.00418880
lea eax, [edi + 0x1b0]
mov dword [eax], 0
mov al, byte [edi + 0xc0]
test al, al
jle 0x40e1f7
dec al
mov byte [edi + 0xc0], al
mov al, byte [edi + 0xc1]
test al, al
jle 0x40e209
dec al
mov byte [edi + 0xc1], al
cmp byte [ebp - 0xd4], 0
je 0x40e222
mov ecx, edi
call fcn.0040e8d0
xor dl, dl
mov ecx, edi
call fcn.00413a00
test byte [ebp - 0xb8], 1
movss xmm2, dword [ebp - 0x104]
movss xmm3, dword [ebp - 0x108]
movss xmm4, dword [ebp - 0x10c]
movss xmm5, dword [ebp - 0x110]
jne 0x40e2b2
movaps xmm0, xmm5
movss dword [ebp - 0x12c], xmm4
addss xmm0, dword [edi + 0x4c]
push ecx
push dword [ebp - 0x100]
lea edx, [ebp - 0x130]
movss dword [ebp - 0x124], xmm2
mov ecx, edi
movss dword [ebp - 0x130], xmm0
movaps xmm0, xmm3
subss xmm0, dword [edi + 0x4c]
movss dword [ebp - 0x128], xmm0
call fcn.0040b760
movss xmm2, dword [ebp - 0x104]
add esp, 8
movss xmm3, dword [ebp - 0x108]
movss xmm4, dword [ebp - 0x10c]
movss xmm5, dword [ebp - 0x110]
mov edx, dword [0x536900]
xor eax, eax
mov dword [edi + 0x22c], eax
movss xmm1, dword [edx + 0x37fc]
movss xmm0, dword [edx + 0x3800]
subss xmm5, xmm1
addss xmm3, xmm1
movss xmm1, dword [edx + 0xdb8]
addss xmm2, xmm0
subss xmm4, xmm0
comiss xmm1, xmm5
jb 0x40e30e
movss xmm0, dword [edx + 0xdbc]
comiss xmm0, xmm4
jb 0x40e30e
comiss xmm3, xmm1
jbe 0x40e30e
comiss xmm2, xmm0
mov dword [ebp - 0xc0], 1
ja 0x40e314
mov dword [ebp - 0xc0], eax
mov eax, dword [edi + 0x6c]
mov ecx, dword [esi + 0x4680]
movups xmm0, xmmword [ebp - 0x110]
mov dword [edx + 0x469c], eax
mov eax, dword [ebp - 0xc0]
mov dword [edx + 0x46a0], ecx
mov dword [edx + 0x46a4], eax
movups xmmword [edx + 0x46a8], xmm0
mov eax, dword [esi + 0x4684]
test eax, eax
je 0x40e3bc
cmp dword [edi + 4], eax
je 0x40e357
cmp dword [edi + 0x6c], eax
jne 0x40e3bc
call fcn.00417f50
jmp 0x40e3bc
mov eax, dword [0x536900]
mov dword [eax + 0x3e28], edi
mov ecx, dword [edi + 0x190]
cmp ecx, 0xffffffff
je 0x40e382
imul ecx, ecx, 0x1e0
add ecx, dword [eax + 0x49ec]
jmp 0x40e384
xor ecx, ecx
movss xmm0, dword [eax + 0x3bb8]
mov dword [eax + 0x49d0], ecx
mov ecx, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x258]
test ecx, ecx
je 0x40e3ac
mulss xmm0, dword [ecx + 0x258]
movss dword [eax + 0x3bc8], xmm0
movss dword [eax + 0x3bb4], xmm0
mov ecx, dword [0x536900]
mov eax, dword [ecx + 0x3e28]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x3e28]
movss xmm1, dword [edi + 0x1dc]
movss xmm0, dword [edi + 0x1e0]
movss xmm3, dword [edi + 0x1e4]
mov edx, dword [eax + 0x260]
movss xmm2, dword [edi + 0x1e8]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x24], edx
movups xmm4, xmmword [edx + 0x60]
movss dword [ebp - 0x120], xmm1
comiss xmm4, xmm1
movss dword [ebp - 0x11c], xmm0
movss dword [ebp - 0x118], xmm3
movss dword [ebp - 0x114], xmm2
movaps xmmword [ebp - 0x140], xmm4
jbe 0x40e43f
movaps xmm1, xmm4
movss dword [ebp - 0x120], xmm1
movss xmm4, dword [ebp - 0x13c]
comiss xmm4, xmm0
jbe 0x40e457
movaps xmm0, xmm4
movss dword [ebp - 0x11c], xmm0
movss xmm4, dword [ebp - 0x138]
comiss xmm3, xmm4
jbe 0x40e46f
movaps xmm3, xmm4
movss dword [ebp - 0x118], xmm3
movss xmm4, dword [ebp - 0x134]
comiss xmm2, xmm4
jbe 0x40e487
movaps xmm2, xmm4
movss dword [ebp - 0x114], xmm2
comiss xmm1, xmm3
jb 0x40e494
movss dword [ebp - 0x118], xmm1
comiss xmm0, xmm2
jb 0x40e4a1
movss dword [ebp - 0x114], xmm0
mov eax, dword [edx + 0x40]
lea ecx, [edx + 0x3c]
mov dword [ebp - 0xe4], ecx
cmp dword [ecx], eax
jne 0x40e4e7
mov edx, dword [ecx]
inc edx
mov dword [ebp - 0xec], edx
test eax, eax
je 0x40e4ce
cdq
sub eax, edx
mov edx, dword [ebp - 0xec]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40e4d3
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00418fa0
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ebp - 0x24]
mov eax, dword [ecx]
movaps xmm0, xmmword [ebp - 0x120]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, edx
movups xmmword [edx + 0x60], xmm0
call fcn.00421ec0
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 0x260]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
shl ecx, 4
movss xmm0, dword [ecx + eax - 0xc]
movss xmm1, dword [ecx + eax - 8]
movss xmm2, dword [ecx + eax - 4]
mov eax, dword [ecx + eax - 0x10]
mov dword [edx + 0x20c], eax
mov eax, dword [ebp - 0xf4]
movss dword [edx + 0x210], xmm0
movss dword [edx + 0x214], xmm1
movss dword [edx + 0x218], xmm2
mov byte [edi + 0xa8], 0
inc word [edi + 0xb2]
mov dword [esi + 0x46d8], 0
cmp eax, dword [ebp - 0xf8]
je 0x40e6da
mov eax, dword [ebp - 0xb8]
test eax, 0x1000000
je 0x40e644
test al, 0x40
jne 0x40e608
cmp byte [edi + 0xc0], 0
jg 0x40e608
cmp byte [edi + 0xc1], 0
jg 0x40e608
test eax, 0x800000
je 0x40e5d0
cmp byte [esi + 0x47e8], 0
je 0x40e5d0
mov eax, dword [esi + 0x47a8]
test eax, eax
je 0x40e5d0
mov eax, dword [eax + 0x308]
cmp eax, dword [edi + 0x308]
jne 0x40e5d0
mov al, 1
jmp 0x40e5d2
xor al, al
cmp byte [esi + 0x5a50], 0
jne 0x40e608
test al, al
jne 0x40e608
movss xmm0, dword [edi + 0x1bc]
comiss xmm0, dword [edi + 0x1c4]
jae 0x40e601
movss xmm0, dword [edi + 0x1c0]
comiss xmm0, dword [edi + 0x1c8]
jb 0x40e608
mov byte [edi + 0xc8], 1
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x40e644
cmp byte [eax + 0xa9], 0
jne 0x40e624
cmp byte [eax + 0xc8], 0
jle 0x40e62b
mov byte [edi + 0xc8], 1
cmp byte [eax + 0xa9], 0
jne 0x40e63d
cmp byte [eax + 0xc9], 0
jle 0x40e644
mov byte [edi + 0xc9], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x3798]
jb 0x40e657
mov byte [edi + 0xc8], 1
cmp byte [edi + 0xc8], 0
jg 0x40e677
cmp byte [edi + 0xc9], 0
jg 0x40e677
xor cl, cl
cmp byte [edi + 0xca], cl
jg 0x40e679
xor al, al
jmp 0x40e67b
mov cl, 1
mov al, 1
mov byte [edi + 0xad], al
mov al, byte [edi + 0xcb]
test al, al
jle 0x40e69a
dec al
mov byte [edi + 0xcb], al
or dword [edi + 8], 0xc0200
xor al, al
cmp byte [edi + 0xa9], al
jne 0x40e6b0
cmp byte [edi + 0xa6], al
je 0x40e6b0
test cl, cl
je 0x40e6d4
cmp byte [edi + 0xc0], 0
jg 0x40e6d4
cmp byte [edi + 0xc1], 0
jg 0x40e6d4
cmp byte [edi + 0xc9], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0xab], al
cmp byte [edi + 0xab], 0
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop edi
pop esi
call fcn.004a3760
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret