Function at 0x40c220
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 [0x457008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
mov esi, dword [0x457718]
push edi
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x68], esi
call fcn.00409de0
mov edi, eax
mov dword [ebp - 0xa8], eax
test edi, edi
sete byte [ebp - 0x49]
test eax, eax
jne 0x40c28a
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xa4]
call fcn.0040a090
mov edi, eax
mov eax, dword [ebp - 0x50]
mov ecx, eax
mov edx, eax
and ecx, 0xc0200
or edx, 6
cmp ecx, 0xc0200
mov ecx, dword [esi + 0x3dc8]
cmovne edx, eax
mov dword [ebp - 0x90], ecx
cmp dword [esi + 0x3e24], 0
mov eax, dword [edi + 0x238]
mov dword [ebp - 0x8c], eax
lea eax, [esi + 0x3e24]
mov dword [ebp - 0x54], edx
jne 0x40c2da
cmp byte [esi + 0x3dd5], 0
je 0x40c2da
mov al, 1
jmp 0x40c2dc
xor al, al
mov byte [edi + 0xb2], al
lea eax, [ecx - 1]
mov ecx, dword [ebp - 0x8c]
cmp ecx, eax
setl ch
mov byte [ebp - 0x55], ch
test edx, 0x4000000
je 0x40c32d
mov eax, dword [esi + 0x47ac]
lea esi, [eax + eax*4]
mov eax, dword [ebp - 0x68]
mov edx, dword [eax + 0x47a8]
mov eax, dword [edi + 0xc0]
cmp edi, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov esi, dword [ebp - 0x68]
mov edx, dword [ebp - 0x54]
setne al
or cl, al
or ch, cl
mov byte [ebp - 0x55], ch
mov byte [edi + 0xb0], ch
test ch, ch
je 0x40c34c
or byte [edi + 0xd0], 8
or byte [edi + 0xd1], 8
or byte [edi + 0xd2], 8
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x90]
je 0x40c3ad
push edx
mov dl, byte [ebp - 0x49]
mov ecx, edi
call fcn.00409e30
mov eax, dword [ebp - 0x90]
add esp, 4
mov edx, dword [ebp - 0x54]
mov dword [edi + 0x238], eax
xor eax, eax
mov dword [edi + 0xc], edx
movsd xmm0, qword [esi + 0x3dc0]
cvtpd2ps xmm0, xmm0
mov word [edi + 0xba], ax
movss dword [edi + 0x23c], xmm0
mov ax, word [esi + 0x3e3c]
mov word [edi + 0xbc], ax
inc dword [esi + 0x3e3c]
jmp 0x40c3b3
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x54], edx
mov eax, dword [esi + 0x3e24]
test eax, eax
je 0x40c3ca
imul ecx, eax, 0x54
mov eax, dword [esi + 0x3e2c]
mov eax, dword [ecx + eax - 0x54]
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x64], eax
cmp ecx, dword [ebp - 0x90]
je 0x40c3ee
mov ecx, edx
and ecx, 0x5000000
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x7c], ecx
jmp 0x40c3f7
mov eax, dword [edi + 0x2f8]
mov dword [ebp - 0x7c], eax
cmp dword [edi + 0xe4], 0
lea eax, [edi + 0xe4]
jne 0x40c42c
cmp dword [eax + 4], 0
jne 0x40c41b
push 8
mov ecx, eax
call fcn.00419840
lea eax, [edi + 0xe4]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 8]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xe4]
push 0x4e
lea eax, [ebp - 0x134]
mov dword [esi + 0x3e48], edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x46f4]
lea edx, [esi + 0x3e24]
movups xmm0, xmmword [esi + 0x46bc]
mov dword [ebp - 0xfc], eax
add esp, 0xc
movzx eax, word [edi + 0xe4]
mov word [ebp - 0xf8], ax
movzx eax, word [esi + 0x4758]
mov word [ebp - 0xf6], ax
movzx eax, word [esi + 0x4764]
mov ecx, dword [edx]
mov word [ebp - 0xf4], ax
movzx eax, word [esi + 0x4770]
mov word [ebp - 0xf2], ax
movzx eax, word [esi + 0x477c]
mov word [ebp - 0xf0], ax
movzx eax, word [esi + 0x4794]
mov word [ebp - 0xee], ax
movzx eax, word [esi + 0x4788]
movups xmmword [ebp - 0x134], xmm0
mov word [ebp - 0xec], ax
lea eax, [esi + 0x47ac]
movups xmm0, xmmword [esi + 0x46cc]
mov dword [ebp - 0x50], eax
movzx eax, word [eax]
movups xmmword [ebp - 0x124], xmm0
mov word [ebp - 0xea], ax
movups xmm0, xmmword [esi + 0x46dc]
movzx eax, word [esi + 0x59ec]
mov word [ebp - 0xe8], ax
mov eax, dword [edx + 4]
mov dword [ebp - 0x138], edi
movups xmmword [ebp - 0x114], xmm0
movq xmm0, qword [esi + 0x46ec]
movq qword [ebp - 0x104], xmm0
cmp ecx, eax
jne 0x40c550
inc ecx
test eax, eax
je 0x40c538
cdq
sub eax, edx
lea edx, [esi + 0x3e24]
sar eax, 1
add eax, dword [edx + 4]
jmp 0x40c53d
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00419dd0
lea edx, [esi + 0x3e24]
imul eax, dword [edx], 0x54
mov ecx, dword [edx + 8]
movups xmm0, xmmword [ebp - 0x138]
add ecx, eax
mov eax, dword [ebp - 0xe8]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x128]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x118]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x108]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [ebp - 0xf8]
movups xmmword [ecx + 0x40], xmm0
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x54]
mov eax, ecx
inc dword [edx]
and eax, 0x10000000
mov dword [ebp - 0x9c], eax
je 0x40c5b1
inc dword [esi + 0x47b8]
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x90]
je 0x40c660
mov edx, dword [ebp - 0x7c]
mov dword [edi + 0x2f8], edx
mov dword [edi + 0x30c], edi
mov dword [edi + 0x308], edi
mov dword [edi + 0x304], edi
mov dword [edi + 0x300], edi
test edx, edx
je 0x40c632
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x40c602
mov eax, dword [edx + 0x300]
mov dword [edi + 0x300], eax
test ecx, 0x4000000
je 0x40c616
mov eax, dword [edx + 0x304]
mov dword [edi + 0x304], eax
test ecx, 0x8000000
jne 0x40c632
test ecx, 0x5000000
je 0x40c632
mov eax, dword [edx + 0x308]
mov dword [edi + 0x308], eax
test dword [edi + 0xc], 0x800000
je 0x40c657
mov ecx, edi
nop dword [eax]
mov eax, dword [ecx + 0x2f8]
mov ecx, eax
mov dword [edi + 0x30c], eax
test dword [ecx + 0xc], 0x800000
jne 0x40c640
mov eax, dword [ebp - 0x64]
mov dword [edi + 0x2fc], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [0x457718]
mov ecx, dword [eax + 0x4780]
lea edx, [eax + 0x477c]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x78], edx
cmp dword [edx], ecx
jne 0x40c6ab
test ecx, ecx
je 0x40c693
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x78]
sar eax, 1
add eax, ecx
jmp 0x40c698
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00419840
mov edx, dword [ebp - 0x78]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [ebp - 0x5c]
mov dword [eax + ecx*4], esi
mov ecx, esi
mov eax, dword [ebp - 0x6c]
inc dword [edx]
mov esi, dword [ebp - 0x68]
mov dword [eax + 0x469c], ecx
mov eax, dword [esi + 0x469c]
mov dword [edi + 0x34c], eax
mov eax, dword [ebp - 0x54]
and eax, 0x4000000
mov dword [esi + 0x3e48], 0
mov dword [ebp - 0x78], eax
je 0x40c792
mov eax, dword [esi + 0x47ac]
mov ecx, dword [esi + 0x47a8]
mov dword [ebp - 0x5c], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x64]
mov dword [ecx + edx*8 + 4], edi
mov dword [ebp - 0x6c], edx
mov eax, dword [eax + 0x148]
mov dword [ecx + edx*8 + 0xc], eax
mov ecx, dword [esi + 0x47ac]
mov eax, dword [esi + 0x47b0]
cmp ecx, eax
jne 0x40c753
inc ecx
test eax, eax
je 0x40c738
cdq
sub eax, edx
lea edx, [esi + 0x47ac]
sar eax, 1
add eax, dword [edx + 4]
jmp 0x40c743
mov eax, 8
lea edx, [esi + 0x47ac]
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00419d50
mov edx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x50]
mov eax, dword [esi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
mov esi, dword [ebp - 0x5c]
movups xmm0, xmmword [esi + edx*8]
movups xmmword [eax + ecx*8], xmm0
movups xmm0, xmmword [esi + edx*8 + 0x10]
movups xmmword [eax + ecx*8 + 0x10], xmm0
movq xmm0, qword [esi + edx*8 + 0x20]
movq qword [eax + ecx*8 + 0x20], xmm0
mov eax, dword [ebp - 0x50]
inc dword [eax]
mov eax, esi
mov esi, dword [ebp - 0x68]
mov eax, dword [eax + edx*8]
mov dword [edi + 0xc0], eax
test byte [esi + 0x46f8], 1
mov byte [ebp - 0x4c], 0
mov byte [ebp - 0x4a], 0
mov byte [ebp - 0x4b], 0
je 0x40c848
mov dl, byte [edi + 0xd0]
mov ecx, dword [esi + 0x46fc]
movsx eax, dl
test ecx, eax
setne byte [ebp - 0x4c]
test ecx, eax
je 0x40c837
movss xmm1, dword [esi + 0x4714]
movss xmm0, dword [esi + 0x4710]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x453764]
jbe 0x40c837
mov eax, dword [esi + 0x4708]
mov ecx, dword [esi + 0x470c]
mov dword [edi + 0xd8], ecx
mov dword [edi + 0xd4], eax
mov eax, dword [esi + 0x4710]
mov ecx, dword [esi + 0x4714]
mov dword [edi + 0xe0], ecx
mov dword [edi + 0xdc], eax
mov eax, dword [edi + 0xd0]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [edi + 0xd0], ecx
jmp 0x40c848
push ecx
lea edx, [esi + 0x4708]
mov ecx, edi
call fcn.0040f100
add esp, 4
test byte [esi + 0x46f8], 2
xorps xmm1, xmm1
je 0x40c8a5
movsx eax, byte [edi + 0xd1]
lea edx, [esi + 0x4718]
mov ecx, dword [esi + 0x4700]
and eax, ecx
je 0x40c87a
movss xmm0, dword [edx]
comiss xmm0, xmm1
jbe 0x40c87a
mov byte [ebp - 0x4a], 1
jmp 0x40c882
mov byte [ebp - 0x4a], 0
test eax, eax
je 0x40c893
movss xmm0, dword [esi + 0x471c]
comiss xmm0, xmm1
mov byte [ebp - 0x4b], 1
ja 0x40c897
mov byte [ebp - 0x4b], 0
push ecx
mov ecx, edi
call fcn.0040f260
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x46f8], 0x80
je 0x40c8ec
movss xmm0, dword [esi + 0x4728]
comiss xmm0, xmm1
jb 0x40c8cd
movss dword [edi + 0x88], xmm0
mov dword [edi + 0x90], 0
movss xmm0, dword [esi + 0x472c]
comiss xmm0, xmm1
jb 0x40c8ec
movss dword [edi + 0x8c], xmm0
mov dword [edi + 0x94], 0
test byte [esi + 0x46f8], 4
je 0x40c909
mov eax, dword [esi + 0x4720]
mov ecx, dword [esi + 0x4724]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
jmp 0x40c925
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x90]
je 0x40c925
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
test byte [esi + 0x46f8], 8
je 0x40c972
mov ecx, dword [esi + 0x4704]
mov dl, byte [esi + 0x4730]
test ecx, ecx
je 0x40c949
movsx eax, byte [edi + 0xd2]
test ecx, eax
je 0x40c972
movzx ecx, byte [edi + 0xd2]
mov eax, dword [edi + 0xd0]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0xad], dl
mov dword [edi + 0xd0], ecx
test byte [esi + 0x46f8], 0x20
je 0x40c984
xor edx, edx
mov ecx, edi
call fcn.0040ea80
cmp byte [edi + 0xb0], 0
je 0x40c9a2
and byte [edi + 0xd0], 0xf7
and byte [edi + 0xd1], 0xf7
and byte [edi + 0xd2], 0xf7
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x90]
je 0x40e488
mov eax, dword [ebp - 0x54]
lea ecx, [edi + 0xe4]
and eax, 0x3000000
mov byte [edi + 0xaa], 1
cmp dword [ebp - 0xbc], 0
mov dword [ebp - 0x88], eax
mov al, byte [edi + 0xcd]
mov byte [ebp - 0x6d], al
setne al
mov byte [edi + 0xb4], al
mov dword [edi + 0x210], 0xff7fffff
mov dword [edi + 0x214], 0xff7fffff
mov dword [edi + 0x218], 0x7f7fffff
mov dword [edi + 0x21c], 0x7f7fffff
mov eax, dword [ecx + 4]
mov dword [ebp - 0x6c], eax
cmp eax, 1
jge 0x40ca46
test eax, eax
je 0x40ca2b
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [ebp - 0x6c]
jmp 0x40ca30
mov edx, 8
mov eax, 1
cmp edx, eax
cmovg eax, edx
push eax
call fcn.00419840
lea ecx, [edi + 0xe4]
mov dword [ecx], 1
mov ecx, dword [edi + 0x264]
call fcn.004219f0
cmp byte [edi + 0x358], 0
mov dword [edi + 0x194], 0xffffffff
je 0x40caad
mov ecx, dword [edi + 0x264]
push dword [edi + 0x350]
add ecx, 0xc
mov byte [edi + 0x358], 0
call fcn.00419c50
mov ecx, dword [edi + 0x264]
push dword [edi + 0x354]
add ecx, 0x18
call fcn.00419a60
mov dword [edi + 0x354], 0
mov dword [edi + 0x350], 0
cmp dword [esi + 0x4924], 0
je 0x40cb91
test dword [edi + 0xc], 0x80000
jne 0x40cb91
cmp dword [ebp - 0xa8], 0
je 0x40cb91
mov eax, dword [edi + 4]
mov ecx, eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xa4]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40cb02
test dl, dl
je 0x40cafe
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40cb02
add eax, 2
add ecx, 2
test dl, dl
jne 0x40cae2
xor eax, eax
jmp 0x40cb07
sbb eax, eax
or eax, 1
test eax, eax
je 0x40cb91
mov ecx, dword [ebp - 0xa4]
mov edx, dword [edi + 0x6c]
mov dword [ebp - 0x60], edx
lea eax, [ecx + 1]
mov dword [ebp - 0x6c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40cb21
sub ecx, dword [ebp - 0x6c]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
cmp edx, eax
jae 0x40cb78
test ecx, ecx
je 0x40cb4b
mov eax, dword [0x457718]
test eax, eax
je 0x40cb4b
dec dword [eax + 0xb4]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [0x457718]
add esp, 4
test eax, eax
je 0x40cb64
inc dword [eax + 0xb4]
push dword [ebp - 0x64]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x60], eax
push eax
push dword [ebp - 0xa4]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [ebp - 0x60]
mov dword [edi + 0x6c], eax
lea eax, [edi + 0x34]
mov ecx, edi
lea edx, [edi + 0x2c]
push eax
call fcn.0040a480
mov al, byte [edi + 0xcc]
add esp, 4
test al, al
jle 0x40cbb4
dec al
mov byte [edi + 0xcc], al
mov al, byte [edi + 0xcd]
test al, al
jle 0x40cbc6
dec al
mov byte [edi + 0xcd], al
mov al, byte [edi + 0xce]
test al, al
jle 0x40cbd8
dec al
mov byte [edi + 0xce], al
cmp dword [ebp - 0xa8], 0
mov al, byte [ebp - 0x4a]
mov cl, byte [ebp - 0x4b]
jne 0x40cbf6
test al, al
je 0x40cbef
test cl, cl
jne 0x40cbf6
mov byte [edi + 0xcd], 1
cmp byte [ebp - 0x55], 0
mov edx, dword [ebp - 0x54]
je 0x40cc53
test edx, 0x6000000
je 0x40cc53
mov byte [edi + 0xcd], 1
test dl, 0x40
je 0x40cc53
test al, al
jne 0x40cc25
mov dword [edi + 0x24], 0
mov dword [edi + 0x1c], 0
test cl, cl
jne 0x40cc37
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov ecx, dword [0x457718]
mov dword [ebp - 0x60], ecx
mov eax, dword [ecx + 0x47c4]
mov eax, dword [eax]
mov dword [edi + 0x10], eax
mov dword [ebp - 0xa0], eax
mov dword [ecx + 0x3e48], edi
mov eax, dword [edi + 0x194]
cmp eax, 0xffffffff
je 0x40cc8c
imul eax, eax, 0x1e8
add eax, dword [ecx + 0x4a08]
jmp 0x40cc8e
xor eax, eax
mov dword [ecx + 0x49ec], eax
mov dword [ebp - 0x64], eax
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3bbc]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x40ccbb
mulss xmm0, dword [eax + 0x25c]
cmp dword [ebp - 0x64], 0
movss dword [ecx + 0x3bcc], xmm0
movss dword [ecx + 0x3bb8], xmm0
jne 0x40ccde
cmp dword [edi + 0x190], 0
jne 0x40ccde
mov al, 1
jmp 0x40cce0
xor al, al
mov byte [edi + 0x150], al
mov eax, edx
and eax, 0x1000000
mov dword [ebp - 0x64], eax
je 0x40ccfc
movss xmm0, dword [esi + 0x37b8]
jmp 0x40cd1e
test edx, 0x6000000
je 0x40cd16
test edx, 0x8000000
jne 0x40cd16
movss xmm0, dword [esi + 0x37c0]
jmp 0x40cd1e
movss xmm0, dword [esi + 0x379c]
movss dword [edi + 0x50], xmm0
xorps xmm6, xmm6
mov eax, dword [esi + 0x3790]
mov ecx, dword [esi + 0x3794]
mov dword [edi + 0x44], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x48], ecx
cmp eax, 0x1000000
jne 0x40cd70
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jp 0x40cd70
test edx, 0x400
je 0x40cd61
movss xmm0, dword [esi + 0x3794]
jmp 0x40cd64
xorps xmm0, xmm0
mov dword [edi + 0x44], 0
movss dword [edi + 0x48], xmm0
movss xmm0, dword [edi + 0x44]
maxss xmm0, dword [esi + 0x37d4]
maxss xmm0, dword [esi + 0x4750]
movss dword [edi + 0x154], xmm0
mov eax, dword [esi + 0x4754]
mov dword [edi + 0x158], eax
mov al, byte [ebp - 0x49]
mov dword [ebp - 0x5c], eax
test dl, 0x21
jne 0x40ceec
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x40cdb5
xorps xmm2, xmm2
jmp 0x40cde7
movss xmm0, dword [ecx + 0x3bbc]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x40cdd7
mulss xmm0, dword [eax + 0x25c]
movss xmm2, dword [ecx + 0x37c8]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm4, dword [edi + 0x14]
movaps xmm3, xmm4
movss xmm5, dword [edi + 0x18]
addss xmm3, dword [edi + 0x24]
addss xmm2, dword [edi + 0x18]
mov edx, dword [ebp - 0x60]
cmp dword [esi + 0x3e4c], edi
jne 0x40cea2
cmp dword [esi + 0x3e80], 0
jne 0x40cea2
cmp dword [esi + 0x3e84], 0
jne 0x40cea2
mov eax, dword [edx + 0x3e48]
movss xmm1, dword [edx + 0x37ec]
movss xmm0, dword [edx + 0x37f0]
maxss xmm4, dword [eax + 0x210]
minss xmm3, dword [eax + 0x218]
maxss xmm5, dword [eax + 0x214]
minss xmm2, dword [eax + 0x21c]
subss xmm4, xmm1
addss xmm3, xmm1
movss xmm1, dword [edx + 0xdc0]
subss xmm5, xmm0
addss xmm2, xmm0
comiss xmm1, xmm4
jb 0x40cea2
movss xmm0, dword [edx + 0xdc4]
comiss xmm0, xmm5
jb 0x40cea2
comiss xmm3, xmm1
jbe 0x40cea2
comiss xmm2, xmm0
jbe 0x40cea2
cmp word [esi + 0x370a], 2
jne 0x40cea2
mov byte [edi + 0xae], 1
cmp byte [edi + 0xae], 0
je 0x40cef3
mov cl, byte [edi + 0xad]
test cl, cl
sete al
test cl, cl
mov byte [edi + 0xad], al
mov ecx, 1
mov eax, dword [ebp - 0x5c]
movzx eax, al
cmovne eax, ecx
test dword [edi + 0xc], 0x100
mov dword [ebp - 0x5c], eax
jne 0x40cef3
comiss xmm6, dword [edx + 0x5a2c]
jb 0x40cef3
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5a2c], eax
jmp 0x40cef3
mov byte [edi + 0xad], 0
movss xmm0, dword [edi + 0xa0]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
movss dword [ebp - 0x74], xmm0
movss xmm0, dword [edi + 0xa4]
mov byte [edi + 0xae], 0
movss dword [ebp - 0xac], xmm0
mov dword [edi + 0x54], 0
mov dword [edi + 0x5c], 0
test dl, 1
je 0x40cf34
xorps xmm2, xmm2
jmp 0x40cf69
movss xmm0, dword [ecx + 0x3bbc]
mov edx, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test edx, edx
je 0x40cf56
mulss xmm0, dword [edx + 0x25c]
movss xmm2, dword [ecx + 0x37c8]
mov edx, dword [edi + 0xc]
addss xmm2, xmm2
addss xmm2, xmm0
test edx, 0x400
je 0x40cfad
movss xmm1, dword [ecx + 0x3bbc]
mov eax, dword [edi + 0x2f8]
mulss xmm1, dword [edi + 0x25c]
test eax, eax
je 0x40cf93
mulss xmm1, dword [eax + 0x25c]
movss xmm0, dword [ecx + 0x37c8]
addss xmm1, dword [edi + 0x158]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x40cfb0
xorps xmm1, xmm1
addss xmm1, xmm2
mov dword [edi + 0x60], 0
lea eax, [edi + 0x34]
mov dword [edi + 0xa0], 0
push eax
mov edx, edi
mov dword [edi + 0xa4], 0
lea ecx, [ebp - 0x1c]
movss dword [edi + 0x58], xmm1
call fcn.0040a5b0
add esp, 4
lea eax, [edi + 0xad]
test byte [ebp - 0x54], 0x40
je 0x40d02b
cmp byte [eax], 0
mov dword [ebp - 0x60], eax
jne 0x40d02b
cmp byte [ebp - 0x4a], 0
jne 0x40d00d
movss xmm0, dword [ebp - 0x1c]
movss dword [edi + 0x24], xmm0
mov byte [ebp - 0x49], 1
cmp byte [ebp - 0x4b], 0
jne 0x40d0dc
movss xmm0, dword [ebp - 0x18]
mov al, 1
movss dword [edi + 0x28], xmm0
mov dword [ebp - 0x5c], eax
jmp 0x40d0dc
mov ecx, eax
mov al, byte [edi + 0xc4]
test al, al
jg 0x40d047
cmp byte [edi + 0xc5], 0
mov dword [ebp - 0x60], ecx
jle 0x40d0dc
cmp byte [ebp - 0x4a], 0
jne 0x40d074
test al, al
jle 0x40d074
cmp byte [edi + 0xc7], 0
je 0x40d066
movss xmm0, dword [edi + 0x24]
maxss xmm0, dword [ebp - 0x1c]
jmp 0x40d06b
movss xmm0, dword [ebp - 0x1c]
movss dword [edi + 0x24], xmm0
mov byte [ebp - 0x49], 1
cmp byte [ebp - 0x4b], 0
jne 0x40d0a7
cmp byte [edi + 0xc5], 0
jle 0x40d0a7
cmp byte [edi + 0xc7], 0
je 0x40d098
movss xmm0, dword [edi + 0x28]
maxss xmm0, dword [ebp - 0x18]
jmp 0x40d09d
movss xmm0, dword [ebp - 0x18]
mov al, 1
movss dword [edi + 0x28], xmm0
mov dword [ebp - 0x5c], eax
cmp byte [ecx], 0
mov dword [ebp - 0x60], ecx
jne 0x40d0dc
test dword [edi + 0xc], 0x100
mov edx, dword [0x457718]
mov dword [ebp - 0x60], ecx
jne 0x40d0dc
xorps xmm1, xmm1
mov dword [ebp - 0x60], ecx
comiss xmm1, dword [edx + 0x5a2c]
jb 0x40d0dc
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5a2c], eax
mov dword [ebp - 0x60], ecx
lea eax, [edi + 0x24]
mov edx, edi
push eax
lea ecx, [ebp - 0x98]
call fcn.0040a270
add esp, 4
mov dword [ebp - 0x6c], eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [edi + 0x24], ecx
mov ecx, dword [ebp - 0x60]
mov dword [edi + 0x28], edx
cmp byte [ecx], 0
je 0x40d173
cmp dword [ebp - 0x64], 0
jne 0x40d173
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x40d119
xorps xmm2, xmm2
jmp 0x40d14b
movss xmm0, dword [ecx + 0x3bbc]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x40d13b
mulss xmm0, dword [eax + 0x25c]
movss xmm2, dword [ecx + 0x37c8]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [edi + 0x14]
addss xmm0, dword [edi + 0x24]
addss xmm2, dword [edi + 0x18]
subss xmm0, dword [edi + 0x14]
subss xmm2, dword [edi + 0x18]
movss dword [ebp - 0x84], xmm0
movss dword [ebp - 0x80], xmm2
jmp 0x40d184
mov ecx, dword [ebp - 0x6c]
mov eax, dword [eax]
mov dword [ebp - 0x84], eax
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x80], ecx
cmp byte [ebp - 0x55], 0
lea ecx, [ebp - 0x84]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
je 0x40d1e0
mov eax, dword [ebp - 0x54]
and eax, 0xc000000
mov dword [edi + 0xc8], 0xffffffff
cmp eax, 0x4000000
jne 0x40d1e0
cmp byte [ebp - 0x4c], 0
jne 0x40d1e0
mov ecx, dword [ebp - 0x50]
mov esi, 0x14
mov eax, dword [ecx]
mov ecx, dword [ecx + 8]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*8 - 0x10]
mov ecx, dword [ecx + edx*8 - 0xc]
mov edx, edi
mov dword [esi + edx], eax
mov eax, esi
mov esi, dword [ebp - 0x68]
mov dword [eax + edx + 4], ecx
cmp dword [ebp - 0x64], 0
je 0x40d27c
mov edx, dword [ebp - 0x7c]
add edx, 0x180
mov dword [ebp - 0x50], edx
mov ax, word [edx]
mov word [edi + 0xba], ax
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x40d234
test ecx, ecx
je 0x40d219
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x50]
sar eax, 1
add eax, ecx
jmp 0x40d21e
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00419840
mov esi, dword [ebp - 0x68]
mov edx, dword [ebp - 0x50]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
mov ecx, dword [ebp - 0x78]
mov al, byte [ebp - 0x4c]
mov edx, dword [ebp - 0x88]
test ecx, ecx
jne 0x40d288
test al, al
jne 0x40d288
cmp edx, 0x3000000
je 0x40d288
mov ecx, dword [ebp - 0x7c]
mov esi, 0x14
mov edx, edi
mov eax, dword [ecx + 0xf0]
mov ecx, dword [ecx + 0xf4]
mov dword [esi + edx], eax
mov eax, esi
mov esi, dword [ebp - 0x68]
mov dword [eax + edx + 4], ecx
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x78]
mov al, byte [ebp - 0x4c]
movss xmm1, dword [edi + 0xd4]
ucomiss xmm1, dword [0x4538b8]
lahf
test ah, 0x44
jnp 0x40d445
cmp byte [edi + 0xcd], 0
jne 0x40d445
movss xmm0, dword [edi + 0x1c]
lea edx, [ebp - 0x84]
mulss xmm0, dword [edi + 0xdc]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xd8]
movss dword [ebp - 0x84], xmm1
movss xmm1, dword [edi + 0x20]
mulss xmm1, dword [edi + 0xe0]
subss xmm0, xmm1
movss dword [ebp - 0x80], xmm0
call fcn.0040f100
mov ecx, dword [ebp - 0x54]
add esp, 4
mov edx, edi
cmp byte [ebp - 0x4c], 0
mov eax, dword [ebp - 0xa0]
movss xmm3, dword [esi + 0x3848]
movss xmm2, dword [esi + 0x3844]
maxss xmm3, dword [esi + 0x3850]
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 xmm4, xmm0
maxss xmm2, dword [esi + 0x384c]
addss xmm4, dword [eax + 0xc]
movaps xmm5, xmm1
movss dword [ebp - 0x34], xmm0
addss xmm5, dword [eax + 0x10]
subss xmm6, xmm3
movss dword [ebp - 0x30], xmm1
addss xmm3, dword [eax + 0x18]
subss xmm7, xmm2
movss dword [ebp - 0x2c], xmm4
addss xmm2, dword [eax + 0x14]
movss dword [ebp - 0x28], xmm5
movss dword [ebp - 0x3c], xmm6
movss dword [ebp - 0x44], xmm3
movss dword [ebp - 0x40], xmm7
movss dword [ebp - 0x48], xmm2
jne 0x40d4af
cmp dword [ebp - 0x64], 0
jne 0x40d4af
subss xmm4, xmm0
xorps xmm0, xmm0
comiss xmm4, xmm0
jbe 0x40d4af
subss xmm5, xmm1
comiss xmm5, xmm0
jbe 0x40d4af
mov eax, dword [0x457718]
movss xmm1, dword [edi + 0x20]
cmp byte [eax + 0x67], 0
je 0x40d407
test byte [edi + 0xc], 1
jne 0x40d407
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3bbc]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x40d3f5
mulss xmm0, dword [eax + 0x25c]
mov eax, dword [edi]
movss xmm1, dword [eax + 0x37c8]
addss xmm1, xmm1
addss xmm1, xmm0
subss xmm2, dword [edi + 0x1c]
mov eax, 0x14
subss xmm3, xmm1
movss xmm0, dword [eax + edx + 4]
comiss xmm3, xmm0
ja 0x40d427
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [eax + edx]
comiss xmm2, xmm0
ja 0x40d438
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [eax + edx], xmm2
movss dword [eax + edx + 4], xmm3
jmp 0x40d4b4
cmp dword [ebp - 0x9c], 0
jne 0x40d45b
test ecx, ecx
je 0x40d488
test al, al
jne 0x40d488
cmp byte [ebp - 0x6d], al
jle 0x40d488
mov edx, edi
lea ecx, [ebp - 0x84]
call fcn.00413110
mov esi, 0x14
mov edx, edi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + edx], ecx
mov ecx, esi
mov esi, dword [ebp - 0x68]
mov dword [ecx + edx + 4], eax
mov ecx, dword [ebp - 0x54]
jmp 0x40d2fc
mov ecx, dword [ebp - 0x54]
test ecx, 0x2000000
je 0x40d2fa
test al, al
jne 0x40d2fa
cmp edx, 0x3000000
mov edx, edi
je 0x40d2fc
jmp 0x40d45d
mov eax, 0x14
cmp dword [ebp - 0x64], 0
cvttss2si eax, dword [eax + edx]
movd xmm1, eax
mov eax, 0x14
cvtdq2ps xmm1, xmm1
cvttss2si eax, dword [eax + edx + 4]
movd xmm0, eax
mov eax, 0x14
cvtdq2ps xmm0, xmm0
movss dword [eax + edx], xmm1
movss dword [eax + edx + 4], xmm0
je 0x40d4f2
movss xmm2, dword [esi + 0x37b4]
jmp 0x40d512
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x40d50a
movss xmm2, dword [esi + 0x37bc]
jmp 0x40d512
movss xmm2, dword [esi + 0x3798]
xor dl, dl
movss dword [edi + 0x4c], xmm2
mov dword [ebp - 0x64], edx
cmp byte [ebp - 0x55], dl
je 0x40d54a
test ecx, 0x1000
jne 0x40d54a
cmp dword [ebp - 0x78], 0
je 0x40d535
mov byte [ebp - 0x64], 1
jmp 0x40d54a
cmp dword [ebp - 0x88], 0
mov eax, 1
movzx edx, dl
cmove edx, eax
mov dword [ebp - 0x64], edx
movss xmm1, dword [esi + 0x3bb8]
xorps xmm0, xmm0
addss xmm2, dword [0x4537f0]
mov eax, dword [ebp - 0x60]
xor ecx, ecx
cmp byte [esi + 0x66], cl
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x38], 0xffffffff
setne cl
movaps xmm0, xmm1
inc ecx
cmp byte [eax], 0
mulss xmm1, dword [0x453798]
mov dword [ebp - 0x80], ecx
mulss xmm0, dword [0x4537f4]
addss xmm2, xmm1
maxss xmm0, xmm2
cvttss2si esi, xmm0
jne 0x40d5bf
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x14]
push eax
push ecx
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
lea edx, [ebp - 0x1c]
call fcn.0040a8e0
add esp, 0x10
test al, al
je 0x40d5bf
mov cl, 1
mov dl, cl
jmp 0x40d5c5
mov dl, byte [ebp - 0x49]
mov ecx, dword [ebp - 0x5c]
mov al, byte [ebp - 0x38]
mov byte [edi + 0xb5], al
mov eax, dword [ebp - 0x60]
cmp byte [eax], 0
jne 0x40d74b
cmp dword [ebp - 0xa8], 0
lea eax, [ebp - 0x98]
movss xmm6, dword [edi + 0x60]
movss xmm2, dword [edi + 0x1d8]
movaps xmm0, xmm6
movss xmm3, dword [edi + 0x1dc]
addss xmm0, dword [edi + 0x58]
subss xmm2, dword [edi + 0x1d0]
subss xmm3, dword [edi + 0x1d4]
movss xmm4, dword [edi + 0x28]
movss xmm5, dword [edi + 0x24]
subss xmm4, xmm0
addss xmm2, dword [ebp - 0x74]
addss xmm3, dword [ebp - 0xac]
jne 0x40d647
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
jmp 0x40d673
movss xmm0, dword [edi + 0x44]
movss xmm1, dword [edi + 0x48]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edi + 0x2c]
addss xmm1, dword [edi + 0x30]
movss dword [ebp - 0x98], xmm0
movss dword [ebp - 0x94], xmm1
movss xmm7, dword [eax]
movss xmm1, dword [eax + 4]
test dl, dl
jne 0x40d683
movaps xmm5, xmm2
test cl, cl
jne 0x40d68a
movaps xmm4, xmm3
mov ecx, dword [ebp - 0x54]
test ecx, 0x4000
jne 0x40d6a3
comiss xmm1, xmm4
jbe 0x40d69f
test cl, 8
je 0x40d6a3
xor dl, dl
jmp 0x40d6a5
mov dl, 1
mov eax, dword [ebp - 0x68]
add eax, 0x37fc
mov byte [edi + 0xa9], dl
test ecx, 0x8000
jne 0x40d6f4
mov dword [ebp - 0x50], eax
test dl, dl
je 0x40d6c8
movss xmm0, dword [eax]
jmp 0x40d6cb
xorps xmm0, xmm0
subss xmm5, xmm0
comiss xmm7, xmm5
jbe 0x40d6e2
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
je 0x40d6f1
mov eax, dword [ebp - 0x50]
xorps xmm1, xmm1
mov byte [edi + 0xa8], 0
jmp 0x40d719
mov eax, dword [ebp - 0x50]
mov byte [edi + 0xa8], 1
test dl, dl
jne 0x40d715
comiss xmm1, xmm4
jbe 0x40d70d
test cl, 8
jne 0x40d70d
mov dl, 1
jmp 0x40d70f
xor dl, dl
mov byte [edi + 0xa9], dl
movss xmm1, dword [eax]
test dl, dl
je 0x40d723
movss xmm0, dword [eax]
jmp 0x40d726
xorps xmm0, xmm0
movss dword [edi + 0xa0], xmm0
addss xmm6, xmm1
addss xmm0, dword [edi + 0x5c]
movss dword [edi + 0xa4], xmm1
movss dword [edi + 0x60], xmm6
movss dword [edi + 0x5c], xmm0
jmp 0x40d74e
mov ecx, dword [ebp - 0x54]
mov eax, ecx
and eax, 0x5000000
mov dword [ebp - 0x94], eax
cmp eax, 0x1000000
jne 0x40d778
cmp dword [ebp - 0x88], 0x3000000
je 0x40d778
mov eax, dword [ebp - 0x7c]
add eax, 0x210
jmp 0x40d77b
lea eax, [ebp - 0x34]
test byte [edi + 0xc], 1
mov edx, 0x14
movups xmm4, xmmword [eax]
mov eax, edi
mov ecx, dword [ebp - 0x54]
movss xmm6, dword [edi + 0x18]
movaps xmm3, xmm6
addss xmm3, dword [edi + 0x20]
movss xmm5, dword [edx + eax]
movaps xmm2, xmm5
movss dword [ebp - 0x6c], xmm5
addss xmm2, dword [edi + 0x1c]
movups xmmword [ebp - 0xd0], xmm4
je 0x40d7b9
xorps xmm1, xmm1
jmp 0x40d7f7
cmp dword [edi + 0x2f8], 0
mov ecx, dword [edi]
movss xmm0, dword [ecx + 0x3bbc]
mulss xmm0, dword [edi + 0x25c]
je 0x40d7e2
mov ecx, dword [edi + 0x2f8]
mulss xmm0, dword [ecx + 0x25c]
mov ecx, dword [edi]
movss xmm1, dword [ecx + 0x37c8]
mov ecx, dword [ebp - 0x54]
addss xmm1, xmm1
addss xmm1, xmm0
movaps xmm0, xmm6
movss dword [ebp - 0x34], xmm5
addss xmm0, xmm1
movaps xmm7, xmm5
addss xmm7, dword [edi + 0x24]
and ecx, 0x401
movss dword [ebp - 0x78], xmm0
movss xmm0, dword [edx + eax + 4]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 0x78]
movss dword [ebp - 0x28], xmm0
movss dword [ebp - 0x60], xmm7
movss dword [ebp - 0x2c], xmm7
movss dword [edi + 0x1c0], xmm5
movaps xmm5, xmm4
movss dword [edi + 0x1c4], xmm6
movss dword [edi + 0x1c8], xmm2
movaps xmm2, xmm4
movss dword [edi + 0x1cc], xmm3
movss xmm0, dword [edi + 0x1c0]
shufps xmm5, xmm4, 0x55
maxss xmm0, xmm4
shufps xmm2, xmm4, 0xff
maxss xmm6, xmm5
movaps xmmword [ebp - 0x160], xmm5
movups xmmword [ebp - 0xe0], xmm2
movss dword [edi + 0x1c0], xmm0
movaps xmm0, xmm4
movss dword [edi + 0x1c4], xmm6
movss xmm1, dword [edi + 0x1c8]
shufps xmm0, xmm4, 0xaa
minss xmm1, xmm0
movups xmmword [ebp - 0x150], xmm0
movss xmm0, dword [edi + 0x1cc]
minss xmm0, xmm2
movss dword [edi + 0x1c8], xmm1
movss dword [edi + 0x1cc], xmm0
movss xmm6, dword [edx + eax]
movss xmm7, dword [edi + 0x18]
movaps xmm0, xmm6
mov edx, dword [ebp - 0x68]
addss xmm0, dword [edi + 0x54]
addss xmm6, dword [edi + 0x1c]
movss dword [ebp - 0xac], xmm0
movss dword [edi + 0x1d0], xmm0
movaps xmm0, xmm7
addss xmm7, dword [edi + 0x20]
addss xmm0, dword [edi + 0x58]
subss xmm6, dword [edi + 0x5c]
subss xmm7, dword [edi + 0x60]
movss dword [ebp - 0x74], xmm0
movss dword [edi + 0x1d4], xmm0
movss dword [edi + 0x1d8], xmm6
movss dword [edi + 0x1dc], xmm7
cmp ecx, 1
jne 0x40d931
movss xmm0, dword [edi + 0x50]
jmp 0x40d939
movss xmm0, dword [edx + 0x37d0]
movss xmm2, dword [0x4537b0]
movss dword [ebp - 0x50], xmm0
addss xmm6, xmm2
movss xmm0, dword [edi + 0x44]
addss xmm7, xmm2
mulss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0xac]
addss xmm0, xmm2
subss xmm7, dword [edi + 0x50]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x50]
addss xmm0, xmm1
subss xmm6, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e0], xmm0
movss xmm0, dword [ebp - 0x74]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0x50]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvttss2si ecx, xmm6
cvtdq2ps xmm0, xmm0
movups xmm6, xmmword [ebp - 0xe0]
movss dword [edi + 0x1e4], xmm0
movd xmm0, ecx
cvttss2si ecx, xmm7
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e8], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1ec], xmm0
movss xmm0, dword [edi + 0x1e4]
comiss xmm5, xmm0
jbe 0x40d9f3
movaps xmm1, xmm5
jmp 0x40d9fa
movaps xmm1, xmm6
minss xmm1, xmm0
movups xmm3, xmmword [ebp - 0x150]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm4, xmm2
jbe 0x40da12
movaps xmm0, xmm4
jmp 0x40da19
movaps xmm0, xmm3
minss xmm0, xmm2
movss dword [edi + 0x1e0], xmm0
movss dword [edi + 0x1e4], xmm1
movss xmm0, dword [edi + 0x1ec]
comiss xmm5, xmm0
jbe 0x40da3b
movaps xmm1, xmm5
jmp 0x40da42
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm2, dword [edi + 0x1e8]
comiss xmm4, xmm2
jbe 0x40da54
movaps xmm0, xmm4
jmp 0x40da5b
movaps xmm0, xmm3
minss xmm0, xmm2
movss dword [edi + 0x1e8], xmm0
xorps xmm2, xmm2
movss dword [edi + 0x1ec], xmm1
movss xmm0, dword [edi + 0x1c]
comiss xmm0, xmm2
jbe 0x40da8b
test dword [ebp - 0x54], 0x2000040
jne 0x40da8b
mulss xmm0, dword [0x4537bc]
jmp 0x40da9b
movss xmm0, dword [edx + 0x3bb8]
mulss xmm0, dword [0x45385c]
cvttss2si eax, xmm0
mov edx, edi
lea ecx, [ebp - 0xb0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x240], xmm0
movss xmm1, dword [edi + 0x44]
movss xmm0, dword [edi + 0x1d8]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1d0]
addss xmm1, dword [edi + 0x2c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x48]
addss xmm1, xmm1
movss dword [edi + 0x80], xmm0
movss xmm0, dword [edi + 0x1dc]
subss xmm0, dword [edi + 0x1d4]
addss xmm1, dword [edi + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x84], xmm0
call fcn.00411f20
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x7c], eax
mov eax, dword [ebp - 0x68]
mov dword [edi + 0x78], ecx
mov dword [edi + 0x88], 0x7f7fffff
mov dword [edi + 0x8c], 0x7f7fffff
mov dword [edi + 0x68], 0
mov dword [edi + 0x64], 0
mov eax, dword [eax + 0x3bb4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 0x264]
mov edx, dword [eax + 0x48]
lea ecx, [eax + 0x48]
mov dword [ebp - 0x74], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x50], ecx
cmp edx, eax
jne 0x40dba3
inc edx
mov dword [ebp - 0xac], edx
test eax, eax
je 0x40db90
cdq
sub eax, edx
mov edx, dword [ebp - 0xac]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40db95
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00419840
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x5c]
inc dword [ecx]
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x70], eax
call fcn.00422280
mov ecx, dword [0x457718]
movups xmm0, xmmword [ebp - 0xd0]
comiss xmm0, dword [ebp - 0x150]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
mov dword [ebp - 0x9c], eax
movups xmmword [ebp - 0xb8], xmm0
mov eax, dword [eax + 0x264]
mov dword [ebp - 0xa0], eax
jb 0x40dc19
movss dword [ebp - 0xb0], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [ebp - 0xd0], xmm0
movaps xmm0, xmmword [ebp - 0x160]
comiss xmm0, dword [ebp - 0xe0]
jb 0x40dc3f
movss dword [ebp - 0xac], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [ebp - 0xd0], xmm0
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x74], ecx
cmp edx, eax
jne 0x40dc7d
inc edx
mov dword [ebp - 0xac], edx
test eax, eax
je 0x40dc6a
cdq
sub eax, edx
mov edx, dword [ebp - 0xac]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40dc6f
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00419f50
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movups xmm0, xmmword [ebp - 0xd0]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [ebp - 0xa0]
movups xmmword [ecx + 0x60], xmm0
call fcn.004221e0
mov edx, dword [ebp - 0x9c]
mov byte [ebp - 0x4a], 0
mov eax, dword [edx + 0x264]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edx + 0x210], eax
movss dword [edx + 0x214], xmm0
movss dword [edx + 0x218], xmm1
movss dword [edx + 0x21c], xmm2
cmp dword [ebp - 0x94], 0x1000000
jne 0x40ddb1
cmp dword [ebp - 0x88], 0x3000000
je 0x40ddb1
mov eax, dword [ebp - 0x7c]
mov edx, dword [eax + 0x180]
cmp edx, 2
jl 0x40dd79
mov eax, dword [eax + 0x188]
mov edx, dword [eax + edx*4 - 8]
test edx, edx
je 0x40dd79
movss xmm5, dword [edx + 0x18]
mov eax, edi
movss xmm7, dword [edx + 0x14]
mov ecx, 0x14
movss xmm2, dword [edi + 0x18]
movaps xmm0, xmm5
addss xmm0, dword [edx + 0x20]
addss xmm2, dword [edi + 0x20]
movss xmm6, dword [ecx + eax]
movaps xmm3, xmm7
addss xmm3, dword [edx + 0x1c]
movaps xmm4, xmm6
comiss xmm0, dword [edi + 0x18]
addss xmm4, dword [edi + 0x1c]
jbe 0x40dd79
comiss xmm2, xmm5
jbe 0x40dd79
comiss xmm3, xmm6
jbe 0x40dd79
comiss xmm4, xmm7
mov byte [ebp - 0x49], 1
ja 0x40dd7d
mov byte [ebp - 0x49], 0
mov edx, dword [edi + 0x264]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x40ddb1
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x264]
cmp dword [eax + 0x18], 0
je 0x40ddb1
cmp byte [ebp - 0x49], 0
jne 0x40ddb1
mov byte [ebp - 0x4a], 1
mov dword [edi + 0x264], eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x491c]
test ecx, ecx
jne 0x40ddc4
mov ecx, dword [eax + 0x47c8]
cmp byte [ebp - 0x64], 0
jne 0x40dde2
test ecx, ecx
je 0x40dddc
mov eax, dword [edi + 0x308]
cmp eax, dword [ecx + 0x308]
je 0x40dde2
mov byte [ebp - 0x50], 0
jmp 0x40dde6
mov byte [ebp - 0x50], 1
movd xmm0, esi
lea eax, [ebp - 0x14]
push ecx
cvtdq2ps xmm0, xmm0
lea edx, [ebp - 0x34]
movss dword [esp], xmm0
push eax
push dword [ebp - 0x80]
push ecx
push dword [ebp - 0x50]
mov ecx, edi
call fcn.0040b6e0
add esp, 0x14
cmp byte [ebp - 0x4a], 0
je 0x40de1d
lea eax, [edi + 0x268]
mov dword [edi + 0x264], eax
mov ecx, dword [ebp - 0x54]
xorps xmm2, xmm2
movss xmm4, dword [edi + 0x3c]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jnp 0x40de40
movaps xmm7, xmm4
jmp 0x40de7c
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
jne 0x40de55
movss xmm7, dword [edi + 0x2c]
jmp 0x40de58
xorps xmm7, xmm7
movss xmm0, dword [edi + 0x44]
movss xmm1, dword [edi + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x54]
addss xmm0, dword [edi + 0x5c]
subss xmm1, xmm0
maxss xmm7, xmm1
movss xmm5, dword [edi + 0x40]
ucomiss xmm5, xmm2
lahf
test ah, 0x44
jnp 0x40de8f
movaps xmm6, xmm5
jmp 0x40dec1
test dl, dl
je 0x40de9a
movss xmm6, dword [edi + 0x30]
jmp 0x40de9d
xorps xmm6, xmm6
movss xmm0, dword [edi + 0x48]
movss xmm1, dword [edi + 0x20]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x58]
addss xmm0, dword [edi + 0x60]
subss xmm1, xmm0
maxss xmm6, xmm1
movss xmm1, dword [edi + 0x44]
mov ecx, 0x14
movss xmm2, dword [edi + 0x78]
movss xmm0, dword [edi + 0x1d0]
subss xmm0, xmm2
movss dword [ebp - 0x80], xmm1
maxss xmm1, dword [edi + 0x50]
movss dword [ebp - 0x5c], xmm2
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [edi + 0x1f0], xmm2
addss xmm7, xmm2
movss xmm0, dword [edi + 0x7c]
movss xmm1, dword [edi + 0x48]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [edi + 0x1d4]
subss xmm0, dword [ebp - 0x50]
movss dword [ebp - 0x94], xmm1
maxss xmm1, dword [edi + 0x50]
movss xmm2, dword [ebp - 0x80]
addss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [ebp - 0x94]
movd xmm0, eax
mov eax, edi
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f4], xmm0
addss xmm6, xmm0
movss dword [edi + 0x1f8], xmm7
movss dword [edi + 0x1fc], xmm6
movups xmm0, xmmword [edi + 0x1f0]
movups xmmword [edi + 0x200], xmm0
movss xmm0, dword [ecx + eax]
movss xmm6, dword [edi + 0x54]
movaps xmm3, xmm0
subss xmm3, dword [ebp - 0x5c]
movss dword [ebp - 0xac], xmm0
addss xmm3, xmm2
addss xmm3, xmm6
movss dword [edi + 0x220], xmm3
movss xmm0, dword [edi + 0x18]
movss xmm7, dword [edi + 0x58]
movss dword [ebp - 0x74], xmm0
subss xmm0, dword [ebp - 0x50]
addss xmm0, xmm1
addss xmm0, xmm7
movss dword [ebp - 0x80], xmm0
movss dword [edi + 0x224], xmm0
xorps xmm0, xmm0
ucomiss xmm4, xmm0
lahf
test ah, 0x44
jp 0x40dff5
movss xmm4, dword [edi + 0x1c]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm4, xmm0
movaps xmm0, xmm6
addss xmm0, dword [edi + 0x5c]
subss xmm4, xmm0
xorps xmm0, xmm0
ucomiss xmm5, xmm0
addss xmm4, xmm3
lahf
movss dword [edi + 0x228], xmm4
test ah, 0x44
jp 0x40e026
movss xmm5, dword [edi + 0x20]
movaps xmm0, xmm1
addss xmm0, xmm1
subss xmm5, xmm0
movaps xmm0, xmm7
addss xmm0, dword [edi + 0x60]
subss xmm5, xmm0
movss xmm4, dword [ebp - 0x5c]
lea ecx, [edi + 0x15c]
addss xmm5, dword [ebp - 0x80]
movss xmm3, dword [ebp - 0xac]
movaps xmm0, xmm6
addss xmm0, xmm2
mov esi, dword [ebp - 0x68]
cvtps2pd xmm3, xmm3
movss dword [edi + 0x22c], xmm5
subss xmm0, xmm4
movss dword [edi + 0x134], xmm0
cvtps2pd xmm0, xmm2
mov dword [edi + 0x13c], 0
mov dword [edi + 0x138], 0
movss xmm2, dword [ebp - 0x74]
addsd xmm3, xmm0
cvtps2pd xmm0, xmm4
cvtps2pd xmm2, xmm2
subsd xmm3, xmm0
cvtps2pd xmm0, xmm6
addsd xmm3, xmm0
cvtps2pd xmm0, xmm1
addsd xmm3, qword [0x453750]
addsd xmm2, xmm0
movss xmm0, dword [ebp - 0x50]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtps2pd xmm0, xmm7
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [edi + 0x100], xmm0
movss dword [edi + 0x104], xmm1
movss xmm0, dword [edi + 0x100]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0x104]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [edi + 0x140], xmm1
cvtpd2ps xmm0, xmm2
movss dword [edi + 0x144], xmm0
movss xmm1, dword [edi + 0x100]
movss xmm0, dword [edi + 0x104]
movss dword [edi + 0xf0], xmm1
movss dword [edi + 0xf4], xmm0
movss dword [edi + 0xf8], xmm1
movss dword [edi + 0xfc], xmm0
movss dword [edi + 0x108], xmm1
movss dword [edi + 0x10c], xmm0
movss dword [edi + 0x110], xmm1
xorps xmm1, xmm1
movss dword [edi + 0x114], xmm0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x118], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x128], 0
mov word [edi + 0x130], 0
mov dword [edi + 0x148], 0
mov ax, word [edi + 0x14e]
mov word [edi + 0x14c], ax
mov dword [edi + 0x14e], 0x10000
movss xmm0, dword [edi + 0x84]
comiss xmm0, xmm1
seta al
cmp byte [ebp - 0x55], 0
mov byte [edi + 0x152], al
mov byte [edi + 0x153], 0
movss xmm1, dword [esi + 0x37d4]
je 0x40e1eb
xorps xmm0, xmm0
movq qword [ecx + 0x12], xmm0
cvttss2si eax, xmm1
push ecx
mov word [ecx + 8], ax
call fcn.0043d170
xorps xmm0, xmm0
movq qword [edi + 0x16e], xmm0
mov eax, dword [edi + 0x160]
mov dword [edi + 0x15c], eax
lea eax, [edi + 0x180]
mov dword [edi + 0x160], 0
mov dword [edi + 0x178], 0
mov dword [edi + 0x17c], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40e25d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x180]
call fcn.00419840
lea eax, [edi + 0x180]
mov dword [eax], 0
lea eax, [edi + 0x244]
mov dword [edi + 0x18c], eax
mov eax, dword [ebp - 0x7c]
mov dword [edi + 0x190], 0
mov dword [edi + 0x198], 1
test eax, eax
je 0x40e292
mov eax, dword [eax + 0x198]
jmp 0x40e297
mov eax, 1
mov dword [edi + 0x19c], eax
mov eax, dword [edi + 0x240]
mov dword [edi + 0x1a0], eax
lea eax, [edi + 0x1a8]
mov dword [edi + 0x1a4], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40e2e2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x1a8]
call fcn.00419840
lea eax, [edi + 0x1a8]
mov dword [eax], 0
lea eax, [edi + 0x1b4]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40e317
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x1b4]
call fcn.00419840
lea eax, [edi + 0x1b4]
mov dword [eax], 0
mov al, byte [edi + 0xc4]
test al, al
jle 0x40e32f
dec al
mov byte [edi + 0xc4], al
mov al, byte [edi + 0xc5]
test al, al
jle 0x40e341
dec al
mov byte [edi + 0xc5], al
cmp byte [ebp - 0x64], 0
je 0x40e364
mov edx, 2
mov ecx, edi
call fcn.0040ea80
cmp edi, dword [esi + 0x47c8]
jne 0x40e364
xor dl, dl
mov ecx, edi
call fcn.004144a0
test byte [ebp - 0x54], 1
jne 0x40e3c4
movss xmm0, dword [ebp - 0x6c]
lea edx, [ebp - 0xd0]
addss xmm0, dword [edi + 0x50]
push dword [ebp - 0xbc]
mov ecx, edi
push dword [ebp - 0xa4]
movss dword [ebp - 0xd0], xmm0
movss xmm0, dword [ebp - 0x30]
movss dword [ebp - 0xcc], xmm0
movss xmm0, dword [ebp - 0x60]
subss xmm0, dword [edi + 0x50]
movss dword [ebp - 0xc8], xmm0
movss xmm0, dword [ebp - 0x78]
movss dword [ebp - 0xc4], xmm0
call fcn.0040bd00
add esp, 8
mov edx, dword [0x457718]
xor eax, eax
movss xmm4, dword [ebp - 0x6c]
movss xmm5, dword [ebp - 0x30]
mov dword [edi + 0x230], eax
movss xmm1, dword [edx + 0x37ec]
movss xmm0, dword [edx + 0x37f0]
subss xmm4, xmm1
movaps xmm2, xmm1
subss xmm5, xmm0
movss xmm1, dword [edx + 0xdc0]
movaps xmm3, xmm0
addss xmm2, dword [ebp - 0x60]
addss xmm3, dword [ebp - 0x78]
comiss xmm1, xmm4
jb 0x40e42f
movss xmm0, dword [edx + 0xdc4]
comiss xmm0, xmm5
jb 0x40e42f
comiss xmm2, xmm1
jbe 0x40e42f
comiss xmm3, xmm0
mov dword [ebp - 0x6c], 1
ja 0x40e432
mov dword [ebp - 0x6c], eax
mov eax, dword [edi + 0x70]
mov ecx, dword [esi + 0x46a0]
movups xmm0, xmmword [ebp - 0x34]
mov dword [edx + 0x46bc], eax
mov eax, dword [ebp - 0x6c]
mov dword [edx + 0x46c0], ecx
mov dword [edx + 0x46c4], eax
movups xmmword [edx + 0x46d8], xmm0
movups xmmword [edx + 0x46c8], xmm0
mov eax, dword [esi + 0x46a4]
test eax, eax
je 0x40e501
cmp dword [edi + 8], eax
je 0x40e47e
cmp dword [edi + 0x70], eax
jne 0x40e501
call fcn.00418e00
jmp 0x40e501
mov edx, dword [0x457718]
mov dword [edx + 0x3e48], edi
mov eax, dword [edi + 0x194]
cmp eax, 0xffffffff
je 0x40e4ad
imul ecx, eax, 0x1e8
add ecx, dword [edx + 0x4a08]
jmp 0x40e4af
xor ecx, ecx
mov dword [edx + 0x49ec], ecx
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3bbc]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x40e4d9
mulss xmm0, dword [eax + 0x25c]
movss dword [edx + 0x3bcc], xmm0
movss dword [edx + 0x3bb8], xmm0
test ecx, ecx
jne 0x40e4f9
cmp dword [edi + 0x190], ecx
jne 0x40e4f9
mov al, 1
jmp 0x40e4fb
xor al, al
mov byte [edi + 0x150], al
mov ecx, dword [0x457718]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
movss xmm1, dword [edi + 0x1e0]
movss xmm0, dword [edi + 0x1e4]
movss xmm2, dword [edi + 0x1e8]
movss xmm3, dword [edi + 0x1ec]
mov dword [ebp - 0x74], eax
mov eax, dword [eax + 0x264]
mov dword [ebp - 0xac], eax
movss dword [ebp - 0x24], xmm1
movss dword [ebp - 0x20], xmm0
movups xmm4, xmmword [eax + 0x60]
movss dword [ebp - 0x1c], xmm2
comiss xmm4, xmm1
movss dword [ebp - 0x18], xmm3
movups xmmword [ebp - 0xe0], xmm4
jbe 0x40e575
movaps xmm1, xmm4
movss dword [ebp - 0x24], xmm1
movss xmm4, dword [ebp - 0xdc]
comiss xmm4, xmm0
jbe 0x40e58a
movaps xmm0, xmm4
movss dword [ebp - 0x20], xmm0
movss xmm4, dword [ebp - 0xd8]
comiss xmm2, xmm4
jbe 0x40e59f
movaps xmm2, xmm4
movss dword [ebp - 0x1c], xmm2
movss xmm4, dword [ebp - 0xd4]
comiss xmm3, xmm4
jbe 0x40e5b4
movaps xmm3, xmm4
movss dword [ebp - 0x18], xmm3
comiss xmm1, xmm2
jb 0x40e5be
movss dword [ebp - 0x1c], xmm1
comiss xmm0, xmm3
jb 0x40e5c8
movss dword [ebp - 0x18], xmm0
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x94], ecx
cmp edx, eax
jne 0x40e606
inc edx
mov dword [ebp - 0x80], edx
test eax, eax
je 0x40e5f0
cdq
sub eax, edx
mov edx, dword [ebp - 0x80]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40e5f5
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00419f50
mov ecx, dword [ebp - 0x94]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [ebp - 0xac]
movups xmmword [ecx + 0x60], xmm0
call fcn.004221e0
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x264]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
shl ecx, 4
movss xmm0, dword [eax + ecx - 0xc]
movss xmm1, dword [eax + ecx - 8]
movss xmm2, dword [eax + ecx - 4]
mov eax, dword [eax + ecx - 0x10]
mov dword [edx + 0x210], eax
mov eax, dword [ebp - 0x8c]
movss dword [edx + 0x214], xmm0
movss dword [edx + 0x218], xmm1
movss dword [edx + 0x21c], xmm2
mov byte [edi + 0xac], 0
inc word [edi + 0xb6]
mov dword [esi + 0x46f8], 0
cmp eax, dword [ebp - 0x90]
je 0x40e7f1
mov eax, dword [ebp - 0x54]
test eax, 0x1000000
je 0x40e75b
test al, 0x40
jne 0x40e722
cmp byte [edi + 0xc4], 0
jg 0x40e722
cmp byte [edi + 0xc5], 0
jg 0x40e722
test eax, 0x800000
je 0x40e6ea
cmp byte [esi + 0x4804], 0
je 0x40e6ea
mov eax, dword [esi + 0x47c8]
test eax, eax
je 0x40e6ea
mov eax, dword [eax + 0x30c]
cmp eax, dword [edi + 0x30c]
jne 0x40e6ea
mov al, 1
jmp 0x40e6ec
xor al, al
cmp byte [esi + 0x5a8c], 0
jne 0x40e722
test al, al
jne 0x40e722
movss xmm0, dword [edi + 0x1c0]
comiss xmm0, dword [edi + 0x1c8]
jae 0x40e71b
movss xmm0, dword [edi + 0x1c4]
comiss xmm0, dword [edi + 0x1cc]
jb 0x40e722
mov byte [edi + 0xcc], 1
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x40e75b
cmp byte [eax + 0xad], 0
jne 0x40e73b
cmp byte [eax + 0xcc], 0
jle 0x40e742
mov byte [edi + 0xcc], 1
cmp byte [eax + 0xad], 0
jne 0x40e754
cmp byte [eax + 0xcd], 0
jle 0x40e75b
mov byte [edi + 0xcd], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x3788]
jb 0x40e76e
mov byte [edi + 0xcc], 1
cmp byte [edi + 0xcc], 0
jg 0x40e78e
cmp byte [edi + 0xcd], 0
jg 0x40e78e
xor cl, cl
cmp byte [edi + 0xce], cl
jg 0x40e790
xor al, al
jmp 0x40e792
mov cl, 1
mov al, 1
mov byte [edi + 0xb1], al
mov al, byte [edi + 0xcf]
test al, al
jle 0x40e7b1
dec al
mov byte [edi + 0xcf], al
or dword [edi + 0xc], 0xc0200
xor al, al
cmp byte [edi + 0xad], al
jne 0x40e7c7
cmp byte [edi + 0xaa], al
je 0x40e7c7
test cl, cl
je 0x40e7eb
cmp byte [edi + 0xc4], 0
jg 0x40e7eb
cmp byte [edi + 0xc5], 0
jg 0x40e7eb
cmp byte [edi + 0xcd], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0xaf], al
cmp byte [edi + 0xb2], 0
jne 0x40e857
cmp byte [esi + 0x6c], 0
je 0x40e809
cmp dword [ebp - 0xa8], 0
je 0x40e81e
cmp byte [esi + 0x6d], 0
je 0x40e857
movsx eax, byte [esi + 0x5ae2]
cmp eax, dword [esi + 0x3e24]
jne 0x40e857
mov al, byte [edi + 0xc4]
test al, al
jle 0x40e830
inc al
mov byte [edi + 0xc4], al
mov al, byte [edi + 0xc5]
test al, al
jle 0x40e842
inc al
mov byte [edi + 0xc5], al
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044a7db
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp byte [edi + 0xaf], 0
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop edi
pop esi
call fcn.0044a7db
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret