Function at 0x40be20
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, 0x178
mov eax, dword [0x4f8f48]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
mov esi, dword [0x4fc310]
push edi
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xcc], esi
call fcn.004098e0
mov edi, eax
mov dword [ebp - 0xd8], eax
test edi, edi
sete byte [ebp - 0xb1]
test eax, eax
jne 0x40be90
mov edx, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x108]
call fcn.00409a60
mov edi, eax
mov eax, dword [ebp - 0xc8]
mov ecx, eax
and ecx, 0xc0200
mov edx, eax
or edx, 6
cmp ecx, 0xc0200
mov ecx, dword [esi + 0x3db8]
cmovne edx, eax
mov dword [ebp - 0x100], ecx
cmp dword [esi + 0x3df4], 0
mov eax, dword [edi + 0x220]
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0x104], eax
jne 0x40bee0
cmp byte [esi + 0x3dc5], 0
je 0x40bee0
mov al, 1
jmp 0x40bee2
xor al, al
mov byte [edi + 0x96], al
lea eax, [ecx - 1]
mov ecx, dword [ebp - 0x104]
cmp ecx, eax
setl ch
mov byte [ebp - 0xc1], ch
test edx, 0x4000000
je 0x40bf42
mov eax, dword [esi + 0x3fb0]
lea esi, [eax + eax*4]
mov eax, dword [ebp - 0xcc]
mov edx, dword [eax + 0x3fac]
mov eax, dword [edi + 0xa4]
cmp edi, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov esi, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xc0]
setne al
or cl, al
or ch, cl
mov byte [ebp - 0xc1], ch
mov byte [edi + 0x94], ch
test ch, ch
je 0x40bf61
or byte [edi + 0xb4], 8
or byte [edi + 0xb5], 8
or byte [edi + 0xb6], 8
mov eax, dword [ebp - 0x104]
cmp eax, dword [ebp - 0x100]
je 0x40bfc8
push edx
mov dl, byte [ebp - 0xb1]
mov ecx, edi
call fcn.00409930
mov eax, dword [ebp - 0x100]
add esp, 4
mov edx, dword [ebp - 0xc0]
mov dword [edi + 0x220], eax
xor eax, eax
mov dword [edi + 8], edx
movsd xmm0, qword [esi + 0x3db0]
cvtpd2ps xmm0, xmm0
mov word [edi + 0x9c], ax
movss dword [edi + 0x224], xmm0
movzx eax, word [esi + 0x3e0c]
inc dword [esi + 0x3e0c]
mov word [edi + 0x9e], ax
jmp 0x40bfd1
mov edx, dword [edi + 8]
mov dword [ebp - 0xc0], edx
mov eax, dword [esi + 0x3df4]
test eax, eax
je 0x40bfe8
imul ecx, eax, 0x54
mov eax, dword [esi + 0x3dfc]
mov eax, dword [eax + ecx - 0x54]
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0xdc], eax
cmp ecx, dword [ebp - 0x100]
je 0x40c012
mov ecx, edx
and ecx, 0x5000000
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0xd0], ecx
jmp 0x40c01e
mov eax, dword [edi + 0x2e0]
mov dword [ebp - 0xd0], eax
cmp dword [edi + 0xc8], 0
lea eax, [edi + 0xc8]
jne 0x40c053
cmp dword [eax + 4], 0
jne 0x40c042
push 8
mov ecx, eax
call fcn.00416fb0
lea eax, [edi + 0xc8]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xc8]
push 0x3c
lea eax, [ebp - 0xac]
mov dword [esi + 0x3e18], edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x4fc310]
lea edx, [esi + 0x3df4]
mov eax, dword [esi + 0x3ef8]
xorps xmm0, xmm0
mov dword [ebp - 0x74], eax
add esp, 0xc
movups xmmword [ebp - 0x70], xmm0
mov eax, dword [ecx + 0x3e18]
movups xmm0, xmmword [esi + 0x3ec0]
mov word [ebp - 0x60], 0
mov dword [ebp - 0xb0], edi
movzx eax, word [eax + 0xc8]
mov word [ebp - 0x70], ax
movzx eax, word [ecx + 0x3f5c]
mov word [ebp - 0x6e], ax
movzx eax, word [ecx + 0x3f68]
mov word [ebp - 0x6c], ax
movzx eax, word [ecx + 0x3f74]
mov word [ebp - 0x6a], ax
movzx eax, word [ecx + 0x3f80]
mov word [ebp - 0x68], ax
movzx eax, word [ecx + 0x3f98]
movups xmmword [ebp - 0xac], xmm0
mov word [ebp - 0x66], ax
movups xmm0, xmmword [esi + 0x3ed0]
movzx eax, word [ecx + 0x3f8c]
mov word [ebp - 0x64], ax
movzx eax, word [ecx + 0x3fb0]
movups xmmword [ebp - 0x9c], xmm0
mov word [ebp - 0x62], ax
movups xmm0, xmmword [esi + 0x3ee0]
movzx eax, word [ecx + 0x51c8]
mov ecx, dword [edx]
movups xmmword [ebp - 0x8c], xmm0
mov word [ebp - 0x60], ax
mov eax, dword [edx + 4]
movq xmm0, qword [esi + 0x3ef0]
movq qword [ebp - 0x7c], xmm0
mov dword [ebp - 0x24], eax
cmp ecx, eax
jne 0x40c16d
inc ecx
test eax, eax
je 0x40c155
cdq
sub eax, edx
lea edx, [esi + 0x3df4]
sar eax, 1
add eax, dword [ebp - 0x24]
jmp 0x40c15a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.004174b0
lea edx, [esi + 0x3df4]
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
mov ecx, dword [ebp - 0xc0]
mov eax, ecx
inc dword [edx]
and eax, 0x10000000
mov dword [esi + 0x3e18], 0
mov dword [ebp - 0xe8], eax
je 0x40c1d0
inc dword [esi + 0x3fbc]
mov edx, ecx
and edx, 0x4000000
mov dword [ebp - 0xd4], edx
je 0x40c2bd
mov eax, dword [esi + 0x3fb0]
lea edx, [esi + 0x3fb0]
mov dword [ebp - 0xb8], edx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x3fac]
mov dword [ebp - 0xc8], eax
mov esi, eax
mov dword [ebp - 0xe0], ecx
mov dword [eax + ecx*8 + 4], edi
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 0x12c]
mov dword [esi + ecx*8 + 0xc], eax
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov esi, dword [ebp - 0xcc]
mov dword [ebp - 0x24], eax
cmp ecx, eax
jne 0x40c260
inc ecx
test eax, eax
je 0x40c248
cdq
sub eax, edx
lea edx, [esi + 0x3fb0]
sar eax, 1
add eax, dword [ebp - 0x24]
jmp 0x40c24d
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00417430
lea edx, [esi + 0x3fb0]
mov eax, dword [edx]
mov esi, dword [ebp - 0xe0]
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 - 0xb8]
movq qword [eax + ecx*8 + 0x20], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc8]
mov esi, dword [ebp - 0xcc]
inc dword [edx]
mov edx, dword [ebp - 0xd4]
mov eax, dword [ecx + eax*8]
mov ecx, dword [ebp - 0xc0]
mov dword [edi + 0xa4], eax
mov eax, dword [ebp - 0x104]
cmp eax, dword [ebp - 0x100]
je 0x40c383
mov eax, dword [ebp - 0xd0]
mov dword [edi + 0x2e0], eax
mov dword [edi + 0x2f4], edi
mov dword [edi + 0x2f0], edi
mov dword [edi + 0x2ec], edi
mov dword [edi + 0x2e8], edi
test eax, eax
je 0x40c349
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x40c317
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 0x2e8]
mov dword [edi + 0x2e8], eax
test edx, edx
mov edx, dword [ebp - 0xd0]
je 0x40c32d
mov eax, dword [edx + 0x2ec]
mov dword [edi + 0x2ec], eax
test ecx, 0x8000000
jne 0x40c349
test ecx, 0x5000000
je 0x40c349
mov eax, dword [edx + 0x2f0]
mov dword [edi + 0x2f0], eax
test dword [edi + 8], 0x800000
je 0x40c377
mov ecx, edi
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ecx + 0x2e0]
mov ecx, eax
mov dword [edi + 0x2f4], eax
test dword [ecx + 8], 0x800000
jne 0x40c360
mov eax, dword [ebp - 0xdc]
mov dword [edi + 0x2e4], eax
test byte [esi + 0x3efc], 1
mov byte [ebp - 0xb9], 0
mov byte [ebp - 0xbb], 0
mov byte [ebp - 0xba], 0
je 0x40c445
mov dl, byte [edi + 0xb4]
mov ecx, dword [esi + 0x3f00]
movsx eax, dl
test ecx, eax
setne byte [ebp - 0xb9]
test ecx, eax
je 0x40c434
movss xmm1, dword [esi + 0x3f18]
movss xmm0, dword [esi + 0x3f14]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x4cc868]
jbe 0x40c434
mov eax, dword [esi + 0x3f0c]
mov ecx, dword [esi + 0x3f10]
mov dword [edi + 0xbc], ecx
mov dword [edi + 0xb8], eax
mov eax, dword [esi + 0x3f14]
mov ecx, dword [esi + 0x3f18]
mov dword [edi + 0xc4], ecx
mov dword [edi + 0xc0], eax
mov eax, dword [edi + 0xb4]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [edi + 0xb4], ecx
jmp 0x40c445
push ecx
lea edx, [esi + 0x3f0c]
mov ecx, edi
call fcn.0040ecd0
add esp, 4
test byte [esi + 0x3efc], 2
xorps xmm1, xmm1
je 0x40c4ae
movsx eax, byte [edi + 0xb5]
lea edx, [esi + 0x3f1c]
mov ecx, dword [esi + 0x3f04]
and eax, ecx
je 0x40c47a
movss xmm0, dword [edx]
comiss xmm0, xmm1
jbe 0x40c47a
mov byte [ebp - 0xbb], 1
jmp 0x40c485
mov byte [ebp - 0xbb], 0
test eax, eax
je 0x40c499
movss xmm0, dword [esi + 0x3f20]
comiss xmm0, xmm1
mov byte [ebp - 0xba], 1
ja 0x40c4a0
mov byte [ebp - 0xba], 0
push ecx
mov ecx, edi
call fcn.0040ee30
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x3efc], 0x80
je 0x40c4e9
movss xmm0, dword [esi + 0x3f2c]
comiss xmm0, xmm1
jb 0x40c4d0
movss dword [edi + 0x6c], xmm0
mov dword [edi + 0x74], 0
movss xmm0, dword [esi + 0x3f30]
comiss xmm0, xmm1
jb 0x40c4e9
movss dword [edi + 0x70], xmm0
mov dword [edi + 0x78], 0
test byte [esi + 0x3efc], 4
je 0x40c506
mov eax, dword [esi + 0x3f24]
mov ecx, dword [esi + 0x3f28]
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ecx
jmp 0x40c522
mov eax, dword [ebp - 0x104]
cmp eax, dword [ebp - 0x100]
je 0x40c522
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
test byte [esi + 0x3efc], 8
je 0x40c56f
mov ecx, dword [esi + 0x3f08]
mov dl, byte [esi + 0x3f34]
test ecx, ecx
je 0x40c546
movsx eax, byte [edi + 0xb6]
test ecx, eax
je 0x40c56f
movzx ecx, byte [edi + 0xb6]
mov eax, dword [edi + 0xb4]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0x91], dl
mov dword [edi + 0xb4], ecx
test byte [esi + 0x3efc], 0x20
je 0x40c57f
mov ecx, edi
call fcn.0040e880
cmp byte [edi + 0x94], 0
je 0x40c59d
and byte [edi + 0xb4], 0xf7
and byte [edi + 0xb5], 0xf7
and byte [edi + 0xb6], 0xf7
mov eax, dword [ebp - 0x104]
cmp eax, dword [ebp - 0x100]
je 0x40e2d2
mov eax, dword [ebp - 0xc0]
and eax, 0x3000000
mov byte [edi + 0x8e], 1
mov byte [edi + 0x98], 0
mov dword [ebp - 0xf8], eax
mov al, byte [edi + 0xb1]
mov dword [edi + 0x1f8], 0xff7fffff
mov dword [edi + 0x1fc], 0xff7fffff
mov dword [edi + 0x200], 0x7f7fffff
mov byte [ebp - 0xe1], al
mov dword [edi + 0x204], 0x7f7fffff
mov eax, dword [edi + 0xcc]
cmp eax, 1
jge 0x40c63b
test eax, eax
je 0x40c620
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 0xcc]
jmp 0x40c625
mov ecx, 8
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
lea ecx, [edi + 0xc8]
push eax
call fcn.00416fb0
mov dword [edi + 0xc8], 1
mov ecx, dword [edi + 0x24c]
call fcn.0041ea90
cmp byte [edi + 0x32c], 0
mov dword [edi + 0x17c], 0xffffffff
je 0x40c6a6
mov ecx, dword [edi + 0x24c]
push dword [edi + 0x324]
add ecx, 0xc
mov byte [edi + 0x32c], 0
call fcn.004172f0
mov ecx, dword [edi + 0x24c]
push dword [edi + 0x328]
add ecx, 0x18
call fcn.00417100
mov dword [edi + 0x328], 0
mov dword [edi + 0x324], 0
cmp dword [esi + 0x4124], 0
je 0x40c7a9
test dword [edi + 8], 0x80000
jne 0x40c7a9
cmp dword [ebp - 0xd8], 0
je 0x40c7a9
mov eax, dword [edi]
mov ecx, eax
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x108]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40c700
test dl, dl
je 0x40c6fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40c700
add eax, 2
add ecx, 2
test dl, dl
jne 0x40c6e0
xor eax, eax
jmp 0x40c705
sbb eax, eax
or eax, 1
test eax, eax
je 0x40c7a9
mov ecx, dword [ebp - 0x108]
mov edx, dword [edi + 0x50]
mov dword [ebp - 0xe0], edx
lea eax, [ecx + 1]
mov dword [ebp - 0xb8], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c725
sub ecx, dword [ebp - 0xb8]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xc8], eax
cmp edx, eax
jae 0x40c78e
test ecx, ecx
je 0x40c758
mov eax, dword [0x4fc310]
test eax, eax
je 0x40c758
dec dword [eax + 0xb0]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [0x4fc310]
add esp, 4
test eax, eax
je 0x40c771
inc dword [eax + 0xb0]
push dword [ebp - 0xc8]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xe0], eax
push eax
push dword [ebp - 0x108]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi], eax
add esp, 0xc
mov eax, dword [ebp - 0xe0]
mov dword [edi + 0x50], eax
lea eax, [edi + 0x30]
mov ecx, edi
lea edx, [edi + 0x28]
push eax
call fcn.00409fe0
mov al, byte [edi + 0xb0]
add esp, 4
test al, al
jle 0x40c7cc
dec al
mov byte [edi + 0xb0], al
mov al, byte [edi + 0xb1]
test al, al
jle 0x40c7de
dec al
mov byte [edi + 0xb1], al
mov al, byte [edi + 0xb2]
test al, al
jle 0x40c7f0
dec al
mov byte [edi + 0xb2], al
cmp dword [ebp - 0xd8], 0
mov al, byte [ebp - 0xbb]
mov cl, byte [ebp - 0xba]
jne 0x40c814
test al, al
je 0x40c80d
test cl, cl
jne 0x40c814
mov byte [edi + 0xb1], 1
cmp byte [ebp - 0xc1], 0
je 0x40c877
mov edx, dword [ebp - 0xc0]
test edx, 0x6000000
je 0x40c877
mov byte [edi + 0xb1], 1
test dl, 0x40
je 0x40c877
test al, al
jne 0x40c849
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
test cl, cl
jne 0x40c85b
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 edx, dword [0x4fc310]
mov eax, dword [edx + 0x3fc8]
mov eax, dword [eax]
mov dword [edi + 0xc], eax
mov dword [ebp - 0xb8], eax
mov dword [edx + 0x3e18], edi
mov eax, dword [edi + 0x17c]
cmp eax, 0xffffffff
je 0x40c8ad
imul eax, eax, 0x1d8
add eax, dword [edx + 0x4208]
jmp 0x40c8af
xor eax, eax
movss xmm0, dword [edx + 0x3bb8]
mov dword [edx + 0x41ec], eax
mov eax, dword [edi + 0x2e0]
mulss xmm0, dword [edi + 0x244]
test eax, eax
je 0x40c8d7
mulss xmm0, dword [eax + 0x244]
mov eax, dword [ebp - 0xc0]
mov ecx, eax
and ecx, 0x1000000
movss dword [edx + 0x3bc8], xmm0
movss dword [edx + 0x3bb4], xmm0
mov dword [ebp - 0xfc], ecx
je 0x40c907
movss xmm0, dword [esi + 0x37c8]
jmp 0x40c927
test eax, 0x6000000
je 0x40c91f
test eax, 0x8000000
jne 0x40c91f
movss xmm0, dword [esi + 0x37d0]
jmp 0x40c927
movss xmm0, dword [esi + 0x37ac]
movss dword [edi + 0x4c], xmm0
xorps xmm7, xmm7
mov eax, dword [esi + 0x37a0]
mov ecx, dword [esi + 0x37a4]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
mov ecx, dword [ebp - 0xc0]
mov eax, ecx
and eax, 0x5010000
cmp eax, 0x1000000
jne 0x40c97f
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jp 0x40c97f
test ecx, 0x400
je 0x40c970
movss xmm0, dword [esi + 0x37a4]
jmp 0x40c973
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 + 0x3f54]
movss dword [edi + 0x13c], xmm0
mov eax, dword [esi + 0x3f58]
mov dword [edi + 0x140], eax
test cl, 0x21
jne 0x40cae3
mov ecx, dword [edi + 8]
test cl, 1
je 0x40c9be
xorps xmm2, xmm2
jmp 0x40c9f0
movss xmm0, dword [edx + 0x3bb8]
mov eax, dword [edi + 0x2e0]
mulss xmm0, dword [edi + 0x244]
test eax, eax
je 0x40c9e0
mulss xmm0, dword [eax + 0x244]
movss xmm2, dword [edx + 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 + 0x3e1c], edi
jne 0x40caae
cmp dword [esi + 0x3e3c], 0
jne 0x40caae
cmp dword [esi + 0x3e40], 0
jne 0x40caae
mov eax, dword [edx + 0x3e18]
movss xmm1, dword [edx + 0x37fc]
movaps xmm5, xmm1
maxss xmm3, dword [eax + 0x1f8]
minss xmm0, dword [eax + 0x200]
maxss xmm4, dword [eax + 0x1fc]
minss xmm2, dword [eax + 0x204]
subss xmm3, xmm1
movss xmm1, dword [edx + 0xdb8]
addss xmm5, xmm0
movss xmm0, dword [edx + 0x3800]
movaps xmm6, xmm0
subss xmm4, xmm0
addss xmm6, xmm2
comiss xmm1, xmm3
jb 0x40caae
movss xmm0, dword [edx + 0xdbc]
comiss xmm0, xmm4
jb 0x40caae
comiss xmm5, xmm1
jbe 0x40caae
comiss xmm6, xmm0
jbe 0x40caae
cmp word [esi + 0x3702], 2
jne 0x40caae
mov byte [edi + 0x92], 1
cmp byte [edi + 0x92], 0
je 0x40caea
cmp byte [edi + 0x91], 0
sete al
mov byte [edi + 0x91], al
test ecx, 0x100
jne 0x40caea
comiss xmm7, dword [edx + 0x5208]
jb 0x40caea
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5208], eax
jmp 0x40caea
mov byte [edi + 0x91], 0
lea eax, [edi + 0x30]
mov byte [edi + 0x92], 0
push eax
mov edx, edi
lea ecx, [ebp - 0x2c]
call fcn.0040a110
mov al, byte [ebp - 0xb1]
add esp, 4
test byte [ebp - 0xc0], 0x40
mov byte [ebp - 0xb2], al
je 0x40cb5f
cmp byte [edi + 0x91], 0
jne 0x40cb5f
cmp byte [ebp - 0xbb], 0
lea edx, [edi + 0x20]
jne 0x40cb3c
movss xmm0, dword [ebp - 0x2c]
movss dword [edx], xmm0
mov byte [ebp - 0xb1], 1
cmp byte [ebp - 0xba], 0
jne 0x40cc14
movss xmm0, dword [ebp - 0x28]
movss dword [edi + 0x24], xmm0
mov byte [ebp - 0xb2], 1
jmp 0x40cc14
mov al, byte [edi + 0xa8]
test al, al
jg 0x40cb76
cmp byte [edi + 0xa9], 0
jle 0x40cc11
cmp byte [ebp - 0xbb], 0
lea edx, [edi + 0x20]
jne 0x40cbaa
test al, al
jle 0x40cbaa
cmp byte [edi + 0xab], 0
je 0x40cb9a
movss xmm0, dword [edx]
maxss xmm0, dword [ebp - 0x2c]
jmp 0x40cb9f
movss xmm0, dword [ebp - 0x2c]
movss dword [edx], xmm0
mov byte [ebp - 0xb1], 1
cmp byte [ebp - 0xba], 0
jne 0x40cbe2
cmp byte [edi + 0xa9], 0
jle 0x40cbe2
cmp byte [edi + 0xab], 0
je 0x40cbd1
movss xmm0, dword [edi + 0x24]
maxss xmm0, dword [ebp - 0x28]
jmp 0x40cbd6
movss xmm0, dword [ebp - 0x28]
movss dword [edi + 0x24], xmm0
mov byte [ebp - 0xb2], 1
cmp byte [edi + 0x91], 0
jne 0x40cc14
test dword [edi + 8], 0x100
mov ecx, dword [0x4fc310]
jne 0x40cc14
xorps xmm3, xmm3
comiss xmm3, dword [ecx + 0x5208]
jb 0x40cc14
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x5208], eax
jmp 0x40cc14
lea edx, [edi + 0x20]
push edx
mov edx, edi
lea ecx, [ebp - 0x118]
call fcn.00409dd0
add esp, 4
cmp byte [edi + 0x91], 0
movss xmm3, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [edi + 0x20], xmm3
movss dword [edi + 0x24], xmm0
je 0x40ccb7
cmp dword [ebp - 0xfc], 0
jne 0x40ccb7
test byte [edi + 8], 1
je 0x40cc55
xorps xmm2, xmm2
jmp 0x40cc8d
mov ecx, dword [0x4fc310]
mov eax, dword [edi + 0x2e0]
movss xmm0, dword [ecx + 0x3bb8]
mulss xmm0, dword [edi + 0x244]
test eax, eax
je 0x40cc7d
mulss xmm0, dword [eax + 0x244]
movss xmm2, dword [ecx + 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 - 0xf0], xmm2
movss dword [ebp - 0xf4], xmm0
jmp 0x40ccc9
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], ecx
mov edx, dword [0x4fc310]
lea ecx, [ebp - 0xf4]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x1c], ecx
mov ecx, dword [edi + 8]
mov dword [edi + 0x18], eax
test cl, 1
je 0x40cced
xorps xmm1, xmm1
jmp 0x40cd1f
movss xmm0, dword [edx + 0x3bb8]
mov eax, dword [edi + 0x2e0]
mulss xmm0, dword [edi + 0x244]
test eax, eax
je 0x40cd0f
mulss xmm0, dword [eax + 0x244]
movss xmm1, dword [edx + 0x37d8]
addss xmm1, xmm1
addss xmm1, xmm0
test ecx, 0x400
je 0x40cd63
movss xmm0, dword [edx + 0x3bb8]
mov eax, dword [edi + 0x2e0]
mulss xmm0, dword [edi + 0x244]
test eax, eax
je 0x40cd49
mulss xmm0, dword [eax + 0x244]
movss xmm2, dword [edx + 0x37d8]
addss xmm0, dword [edi + 0x140]
addss xmm2, xmm2
addss xmm2, xmm0
jmp 0x40cd66
xorps xmm2, xmm2
cmp byte [ebp - 0xc1], 0
addss xmm2, xmm1
movss dword [ebp - 0xe0], xmm2
je 0x40cdc5
mov eax, dword [ebp - 0xc0]
and eax, 0xc000000
mov dword [edi + 0xac], 0xffffffff
cmp eax, 0x4000000
jne 0x40cdc5
cmp byte [ebp - 0xb9], 0
jne 0x40cdc5
mov eax, dword [esi + 0x3fb0]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x3fb8]
movss xmm0, dword [eax + ecx*8 - 0x10]
movss xmm1, dword [eax + ecx*8 - 0xc]
movss dword [edi + 0x10], xmm0
movss dword [edi + 0x14], xmm1
cmp dword [ebp - 0xfc], 0
je 0x40ce71
mov edx, dword [ebp - 0xd0]
add edx, 0x168
mov dword [ebp - 0xc8], edx
mov ax, word [edx]
mov word [edi + 0x9c], ax
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x40ce2b
test ecx, ecx
je 0x40ce0a
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0xc8]
sar eax, 1
add eax, ecx
jmp 0x40ce0f
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00416fb0
mov esi, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xc8]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
mov ecx, dword [ebp - 0xd4]
mov al, byte [ebp - 0xb9]
mov edx, dword [ebp - 0xf8]
test ecx, ecx
jne 0x40ce83
test al, al
jne 0x40ce83
cmp edx, 0x3000000
je 0x40ce83
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ecx + 0xd4]
mov ecx, dword [ecx + 0xd8]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
jmp 0x40ce77
mov edx, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xd4]
mov al, byte [ebp - 0xb9]
movss xmm1, dword [edi + 0xb8]
ucomiss xmm1, dword [0x4cca2c]
lahf
test ah, 0x44
jnp 0x40ceef
cmp byte [edi + 0xb1], 0
jne 0x40ceef
movss xmm0, dword [edi + 0x18]
lea edx, [ebp - 0xf4]
mulss xmm0, dword [edi + 0xc0]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xbc]
movss dword [ebp - 0xf4], xmm1
movss xmm1, dword [edi + 0x1c]
mulss xmm1, dword [edi + 0xc4]
subss xmm0, xmm1
movss dword [ebp - 0xf0], xmm0
call fcn.0040ecd0
add esp, 4
jmp 0x40cf42
cmp dword [ebp - 0xe8], 0
jne 0x40cf22
test ecx, ecx
je 0x40cf08
test al, al
jne 0x40cf08
cmp byte [ebp - 0xe1], al
jg 0x40cf22
mov ecx, dword [ebp - 0xc0]
test ecx, 0x2000000
je 0x40cf48
test al, al
jne 0x40cf48
cmp edx, 0x3000000
je 0x40cf48
mov edx, edi
lea ecx, [ebp - 0x128]
call fcn.00411580
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0x10], xmm0
movss dword [edi + 0x14], xmm1
mov ecx, dword [ebp - 0xc0]
cmp byte [ebp - 0xb9], 0
mov eax, dword [ebp - 0xb8]
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 0x40d0a1
cmp dword [ebp - 0xfc], 0
jne 0x40d0a1
cmp byte [edi + 0xa8], 0
jg 0x40d0a1
cmp byte [edi + 0xa9], 0
jg 0x40d0a1
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x40d0a1
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x40d0a1
mov edx, dword [0x4fc310]
movss xmm1, dword [edi + 0x1c]
cmp byte [edx + 0x67], 0
je 0x40d06c
test byte [edi + 8], 1
jne 0x40d06c
movss xmm0, dword [edx + 0x3bb8]
mov eax, dword [edi + 0x2e0]
mulss xmm0, dword [edi + 0x244]
test eax, eax
je 0x40d05c
mulss xmm0, dword [eax + 0x244]
movss xmm1, dword [edx + 0x37d8]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x14]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x18]
comiss xmm3, xmm0
ja 0x40d086
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x10]
comiss xmm2, xmm0
ja 0x40d097
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [edi + 0x10], xmm2
movss dword [edi + 0x14], xmm3
cmp dword [ebp - 0xfc], 0
cvttss2si eax, dword [edi + 0x10]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm1
movss dword [edi + 0x14], xmm0
je 0x40d0d6
movss xmm0, dword [esi + 0x37c4]
jmp 0x40d0f6
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x40d0ee
movss xmm0, dword [esi + 0x37cc]
jmp 0x40d0f6
movss xmm0, dword [esi + 0x37a8]
xor dl, dl
movss dword [edi + 0x48], xmm0
mov dword [ebp - 0xdc], edx
cmp byte [ebp - 0xc1], dl
je 0x40d35d
test ecx, 0x1000
jne 0x40d35d
cmp dword [ebp - 0xd4], 0
je 0x40d12d
mov byte [ebp - 0xdc], 1
jmp 0x40d145
cmp dword [ebp - 0xf8], 0
mov eax, 1
movzx edx, dl
cmove edx, eax
mov dword [ebp - 0xdc], edx
call fcn.00410b10
mov edx, eax
test edx, edx
je 0x40d35d
mov eax, dword [edi + 0x2e8]
mov ecx, edi
mov dword [ebp - 0xd4], eax
cmp eax, edx
je 0x40d35d
nop word [eax + eax]
cmp ecx, edx
je 0x40d35d
mov ecx, dword [ecx + 0x2e4]
test ecx, ecx
jne 0x40d170
mov byte [ebp - 0xdc], cl
cmp edi, eax
jne 0x40d35d
mov edx, dword [0x4fc310]
mov eax, dword [edx + 0x3fa4]
test eax, eax
jle 0x40d262
add eax, 0xffffffff
mov dword [ebp - 0xc8], eax
js 0x40d262
mov edx, dword [edx + 0x3fac]
lea ecx, [eax + eax*4]
add edx, 4
lea edx, [edx + ecx*8]
mov dword [ebp - 0xb8], edx
mov edx, dword [edx]
test edx, edx
je 0x40d244
test dword [edx + 8], 0x8000000
je 0x40d244
cmp byte [edx + 0x8e], 0
jne 0x40d1e9
cmp byte [edx + 0x8f], 0
je 0x40d244
mov eax, edi
cmp dword [ebp - 0xd4], edx
je 0x40d262
cmp eax, edx
je 0x40d262
mov eax, dword [eax + 0x2e4]
test eax, eax
jne 0x40d1f3
mov eax, dword [edx + 0x2e4]
mov ecx, dword [eax + 0x2e8]
test ecx, ecx
je 0x40d23e
mov eax, edi
cmp dword [ebp - 0xd4], ecx
je 0x40d264
nop dword [eax + eax]
cmp eax, ecx
je 0x40d264
mov eax, dword [eax + 0x2e4]
test eax, eax
jne 0x40d220
mov eax, dword [ecx + 0x2e4]
mov ecx, dword [eax + 0x2e8]
test ecx, ecx
jne 0x40d211
mov eax, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xb8]
dec eax
sub edx, 0x28
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xb8], edx
test eax, eax
jns 0x40d1c8
xor edx, edx
mov eax, dword [edx + 0x2e8]
mov dword [ebp - 0xe8], eax
mov eax, dword [0x4fc310]
mov ecx, dword [eax + 0x3dd8]
mov edx, ecx
mov eax, dword [eax + 0x3dd0]
lea ecx, [ecx + eax*4]
cmp edx, ecx
jae 0x40d29b
mov eax, dword [ebp - 0xd4]
cmp dword [edx], eax
je 0x40d29b
add edx, 4
cmp edx, ecx
jb 0x40d290
mov esi, dword [0x4fc310]
mov eax, dword [esi + 0x3dd8]
sub edx, eax
sar edx, 2
cmp eax, ecx
jae 0x40d2c1
mov esi, dword [ebp - 0xe8]
cmp dword [eax], esi
je 0x40d2c1
add eax, 4
cmp eax, ecx
jb 0x40d2b6
mov esi, dword [0x4fc310]
sub eax, dword [esi + 0x3dd8]
sar eax, 2
mov dword [ebp - 0xe8], eax
lea ecx, [eax*4]
mov dword [ebp - 0xb8], ecx
cmp edx, eax
jge 0x40d31e
mov ecx, dword [esi + 0x3dd8]
sub eax, edx
lea eax, [eax*4 - 4]
lea ecx, [ecx + edx*4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov edx, dword [ebp - 0xb8]
mov eax, esi
mov ecx, dword [ebp - 0xd4]
mov eax, dword [eax + 0x3dd8]
mov dword [eax + edx - 4], ecx
jmp 0x40d354
sub edx, dword [ebp - 0xe8]
mov eax, dword [esi + 0x3dd8]
shl edx, 2
add eax, ecx
push edx
push eax
add eax, 4
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [0x4fc310]
mov edx, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xd4]
mov eax, dword [eax + 0x3dd8]
mov dword [edx + eax], ecx
mov esi, dword [ebp - 0xcc]
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 [0x4cc900]
mulss xmm2, dword [0x4cc8a8]
cmp byte [esi + 0x66], al
mulss xmm1, dword [0x4cc904]
setne al
mov dword [ebp - 0x24], 0xffffffff
addss xmm0, xmm2
inc eax
cmp byte [edi + 0x91], 0
mov dword [ebp - 0xf0], eax
maxss xmm1, xmm0
cvttss2si esi, xmm1
jne 0x40d3db
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.0040a4b0
add esp, 0x10
test al, al
je 0x40d3db
mov cl, 1
mov ch, cl
jmp 0x40d3e7
mov ch, byte [ebp - 0xb1]
mov cl, byte [ebp - 0xb2]
cmp byte [edi + 0x91], 0
mov al, byte [ebp - 0x24]
mov byte [edi + 0x99], al
jne 0x40d556
cmp dword [ebp - 0xd8], 0
lea eax, [ebp - 0xec]
movss xmm2, dword [edi + 0x1c0]
movss xmm3, dword [edi + 0x1c4]
subss xmm2, dword [edi + 0x1b8]
subss xmm3, dword [edi + 0x1bc]
movss xmm4, dword [edi + 0x24]
movss xmm5, dword [edi + 0x20]
subss xmm4, dword [ebp - 0xe0]
addss xmm2, dword [edi + 0x84]
addss xmm3, dword [edi + 0x88]
jne 0x40d464
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0
jmp 0x40d490
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 - 0xec], xmm0
movss dword [ebp - 0xe8], xmm1
movss xmm6, dword [eax]
movss xmm1, dword [eax + 4]
test ch, ch
jne 0x40d4a0
movaps xmm5, xmm2
test cl, cl
jne 0x40d4a7
movaps xmm4, xmm3
mov eax, dword [ebp - 0xc0]
test eax, 0x4000
jne 0x40d4c1
comiss xmm1, xmm4
jbe 0x40d4bd
test al, 8
je 0x40d4c1
xor cl, cl
jmp 0x40d4c3
mov cl, 1
mov edx, dword [ebp - 0xcc]
add edx, 0x380c
mov byte [edi + 0x8d], cl
test eax, 0x8000
jne 0x40d510
test cl, cl
je 0x40d4e6
movss xmm0, dword [edx]
jmp 0x40d4e9
xorps xmm0, xmm0
subss xmm5, xmm0
comiss xmm6, xmm5
jbe 0x40d504
mov eax, dword [ebp - 0xc0]
and eax, 0x808
cmp eax, 0x800
je 0x40d510
mov byte [edi + 0x8c], 0
xorps xmm1, xmm1
jmp 0x40d539
mov byte [edi + 0x8c], 1
test cl, cl
jne 0x40d535
comiss xmm1, xmm4
jbe 0x40d52d
test byte [ebp - 0xc0], 8
jne 0x40d52d
mov cl, 1
jmp 0x40d52f
xor cl, cl
mov byte [edi + 0x8d], cl
movss xmm1, dword [edx]
test cl, cl
je 0x40d543
movss xmm0, dword [edx]
jmp 0x40d546
xorps xmm0, xmm0
movss dword [edi + 0x84], xmm0
movss dword [edi + 0x88], xmm1
mov ecx, dword [ebp - 0xc0]
mov eax, ecx
and eax, 0x5000000
mov dword [ebp - 0xd4], eax
cmp eax, 0x1000000
jne 0x40d589
cmp dword [ebp - 0xf8], 0x3000000
je 0x40d589
mov eax, dword [ebp - 0xd0]
add eax, 0x1f8
jmp 0x40d58c
lea eax, [ebp - 0x40]
test byte [edi + 8], 1
movss xmm0, dword [edi + 0x10]
movups xmm4, xmmword [eax]
movss xmm7, dword [edi + 0x14]
movaps xmm5, xmm0
addss xmm5, dword [edi + 0x18]
movaps xmm6, xmm7
movaps xmmword [ebp - 0x140], xmm4
addss xmm6, dword [edi + 0x1c]
movss dword [ebp - 0xb8], xmm0
je 0x40d5c3
xorps xmm3, xmm3
jmp 0x40d603
mov edx, dword [0x4fc310]
mov eax, dword [edi + 0x2e0]
movss xmm0, dword [edx + 0x3bb8]
mulss xmm0, dword [edi + 0x244]
test eax, eax
je 0x40d5eb
mulss xmm0, dword [eax + 0x244]
movss xmm3, dword [edx + 0x37d8]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm0, dword [ebp - 0xb8]
movaps xmm2, xmm0
movss dword [ebp - 0x120], xmm0
addss xmm2, dword [edi + 0x20]
movss xmm0, dword [edi + 0x14]
movaps xmm1, xmm7
movss dword [ebp - 0x11c], xmm0
addss xmm1, xmm3
movss xmm0, dword [ebp - 0xb8]
mov eax, ecx
mov edx, dword [ebp - 0xcc]
and eax, 0x401
movss dword [ebp - 0x118], xmm2
movaps xmm2, xmm4
shufps xmm2, xmm4, 0xff
movss dword [ebp - 0x114], xmm1
movss dword [edi + 0x1a8], xmm0
movss dword [edi + 0x1ac], xmm7
movss dword [edi + 0x1b0], xmm5
movaps xmm5, xmm4
movss dword [edi + 0x1b4], xmm6
movss xmm0, dword [edi + 0x1a8]
shufps xmm5, xmm4, 0x55
maxss xmm0, xmm4
maxss xmm7, xmm5
movups xmmword [ebp - 0x170], xmm5
movups xmmword [ebp - 0x150], xmm2
movss dword [edi + 0x1a8], xmm0
movaps xmm0, xmm4
movss dword [edi + 0x1ac], xmm7
movss xmm1, dword [edi + 0x1b0]
shufps xmm0, xmm4, 0xaa
minss xmm1, xmm0
movups xmmword [ebp - 0x160], xmm0
movss xmm0, dword [edi + 0x1b4]
minss xmm0, xmm2
movss dword [edi + 0x1b0], xmm1
movss dword [edi + 0x1b4], xmm0
movss xmm7, dword [edi + 0x10]
movss xmm6, dword [edi + 0x14]
movss dword [edi + 0x1b8], xmm7
movaps xmm0, xmm6
addss xmm7, dword [edi + 0x18]
addss xmm6, dword [edi + 0x1c]
addss xmm0, dword [ebp - 0xe0]
subss xmm7, dword [edi + 0x84]
subss xmm6, dword [edi + 0x88]
movss dword [ebp - 0xe8], xmm0
movss dword [edi + 0x1bc], xmm0
movss dword [edi + 0x1c0], xmm7
movss dword [edi + 0x1c4], xmm6
cmp eax, 1
jne 0x40d741
movss xmm0, dword [edi + 0x4c]
jmp 0x40d749
movss xmm0, dword [edx + 0x37e0]
movss xmm2, dword [0x4cc8c0]
movss dword [ebp - 0xb8], xmm0
addss xmm7, xmm2
movss xmm0, dword [edi + 0x40]
addss xmm6, xmm2
mulss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0x10]
addss xmm0, xmm2
subss xmm6, dword [edi + 0x4c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x4c]
addss xmm0, xmm1
subss xmm7, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1c8], xmm0
movss xmm0, dword [ebp - 0xe8]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0xb8]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvttss2si ecx, xmm7
movss dword [edi + 0x1cc], xmm0
movd xmm0, ecx
cvttss2si ecx, xmm6
movups xmm6, xmmword [ebp - 0x150]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1d0], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1d4], xmm0
movss xmm0, dword [edi + 0x1cc]
comiss xmm5, xmm0
jbe 0x40d809
movaps xmm1, xmm5
jmp 0x40d810
movaps xmm1, xmm6
minss xmm1, xmm0
movups xmm3, xmmword [ebp - 0x160]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm4, xmm2
jbe 0x40d828
movaps xmm0, xmm4
jmp 0x40d82f
movaps xmm0, xmm3
minss xmm0, xmm2
movss dword [edi + 0x1c8], xmm0
movss dword [edi + 0x1cc], xmm1
movss xmm0, dword [edi + 0x1d4]
comiss xmm5, xmm0
jbe 0x40d851
movaps xmm1, xmm5
jmp 0x40d858
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm2, dword [edi + 0x1d0]
comiss xmm4, xmm2
jbe 0x40d86a
movaps xmm0, xmm4
jmp 0x40d871
movaps xmm0, xmm3
minss xmm0, xmm2
movss dword [edi + 0x1d0], xmm0
xorps xmm2, xmm2
movss dword [edi + 0x1d4], xmm1
movss xmm0, dword [edi + 0x18]
comiss xmm0, xmm2
jbe 0x40d8a4
test dword [ebp - 0xc0], 0x2000040
jne 0x40d8a4
mulss xmm0, dword [0x4cc8cc]
jmp 0x40d8b4
movss xmm0, dword [edx + 0x3bb4]
mulss xmm0, dword [0x4cc9b4]
cvttss2si eax, xmm0
mov edx, edi
lea ecx, [ebp - 0x128]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x228], xmm0
movss xmm1, dword [edi + 0x40]
movss xmm0, dword [edi + 0x1c0]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1b8]
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 + 0x64], xmm0
movss xmm0, dword [edi + 0x1c4]
subss xmm0, dword [edi + 0x1bc]
addss xmm1, dword [edi + 0x2c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x68], xmm0
call fcn.00410380
mov ecx, dword [edi + 0x24c]
mov dword [ebp - 0xc8], ecx
add ecx, 0x48
mov dword [ebp - 0xb8], ecx
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [ebp - 0xcc]
movss dword [edi + 0x5c], xmm0
movss dword [edi + 0x60], xmm1
mov dword [edi + 0x6c], 0x7f7fffff
mov dword [edi + 0x70], 0x7f7fffff
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 0x40d9b8
inc edx
mov dword [ebp - 0xe8], edx
test eax, eax
je 0x40d9a2
cdq
sub eax, edx
mov edx, dword [ebp - 0xe8]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40d9a7
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00416fb0
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0xd8]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xd8]
inc dword [ecx]
mov ecx, dword [ebp - 0xc8]
mov dword [ecx + 0x70], eax
call fcn.0041eeb0
mov ecx, dword [0x4fc310]
movaps xmm0, xmmword [ebp - 0x140]
comiss xmm0, dword [ebp - 0x160]
mov eax, dword [ecx + 0x3e18]
mov byte [eax + 0x90], 1
mov eax, dword [ecx + 0x3e18]
mov dword [ebp - 0xc8], eax
movaps xmmword [ebp - 0x40], xmm0
mov eax, dword [eax + 0x24c]
mov dword [ebp - 0xd8], eax
jb 0x40da31
movss dword [ebp - 0x38], xmm0
movaps xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x140], xmm0
movups xmm0, xmmword [ebp - 0x170]
comiss xmm0, dword [ebp - 0x150]
jb 0x40da51
movss dword [ebp - 0x34], xmm0
movaps xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x140], xmm0
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
mov dword [ebp - 0xb8], ecx
cmp edx, eax
jne 0x40da95
inc edx
mov dword [ebp - 0xe8], edx
test eax, eax
je 0x40da7f
cdq
sub eax, edx
mov edx, dword [ebp - 0xe8]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40da84
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.004261d0
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ecx]
movaps xmm0, xmmword [ebp - 0x140]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, dword [ebp - 0xd8]
movups xmmword [ecx + 0x60], xmm0
call fcn.0041ee10
mov edx, dword [ebp - 0xc8]
mov byte [ebp - 0xb1], 0
mov eax, dword [edx + 0x24c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
cmp dword [ebp - 0xd4], 0x1000000
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 + 0x1f8], eax
movss dword [edx + 0x1fc], xmm0
movss dword [edx + 0x200], xmm1
movss dword [edx + 0x204], xmm2
jne 0x40dbd7
cmp dword [ebp - 0xf8], 0x3000000
je 0x40dbd7
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 0x168]
cmp ecx, 2
jl 0x40db93
mov eax, dword [eax + 0x170]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x40db93
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 0x40db93
comiss xmm2, xmm5
jbe 0x40db93
comiss xmm3, xmm6
jbe 0x40db93
comiss xmm4, xmm7
mov byte [ebp - 0xb2], 1
ja 0x40db9a
mov byte [ebp - 0xb2], 0
mov edx, dword [edi + 0x24c]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x40dbd7
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 0x24c]
cmp dword [eax + 0x18], 0
jle 0x40dbd7
cmp byte [ebp - 0xb2], 0
jne 0x40dbd7
mov byte [ebp - 0xb1], 1
mov dword [edi + 0x24c], eax
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 0x411c]
test ecx, ecx
jne 0x40dbed
mov ecx, dword [eax + 0x3fcc]
cmp byte [ebp - 0xdc], 0
jne 0x40dc11
test ecx, ecx
je 0x40dc08
mov eax, dword [edi + 0x2f0]
cmp eax, dword [ecx + 0x2f0]
je 0x40dc11
mov byte [ebp - 0xb8], 0
jmp 0x40dc18
mov byte [ebp - 0xb8], 1
movd xmm0, esi
lea eax, [ebp - 0x20]
cvtdq2ps xmm0, xmm0
push ecx
lea edx, [ebp - 0x120]
mov ecx, edi
movss dword [esp], xmm0
push eax
push dword [ebp - 0xf0]
push dword [ebp - 0xb8]
call fcn.0040b370
add esp, 0x10
cmp byte [ebp - 0xb1], 0
je 0x40dc5a
lea eax, [edi + 0x250]
mov dword [edi + 0x24c], eax
mov edx, dword [ebp - 0xc0]
xorps xmm2, xmm2
movss xmm5, dword [edi + 0x38]
mov ecx, edx
shr ecx, 3
not cl
and cl, 1
ucomiss xmm5, xmm2
lahf
test ah, 0x44
jnp 0x40dc80
movaps xmm7, xmm5
jmp 0x40dcb6
movss xmm0, dword [edi + 0x40]
mov eax, edx
movss xmm1, dword [edi + 0x18]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [edi + 0x84]
cmp eax, 0x800
jne 0x40dcaf
movss xmm7, dword [edi + 0x28]
jmp 0x40dcb2
xorps xmm7, xmm7
maxss xmm7, xmm1
movss xmm4, dword [edi + 0x3c]
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jnp 0x40dcc9
movaps xmm6, xmm4
jmp 0x40dcfd
movss xmm0, dword [edi + 0x44]
movss xmm1, dword [edi + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [ebp - 0xe0]
subss xmm1, dword [edi + 0x88]
test cl, cl
je 0x40dcf6
movss xmm6, dword [edi + 0x2c]
jmp 0x40dcf9
xorps xmm6, xmm6
maxss xmm6, xmm1
movss xmm1, dword [edi + 0x40]
movss xmm2, dword [edi + 0x5c]
movss xmm0, dword [edi + 0x1b8]
subss xmm0, xmm2
movss dword [ebp - 0xe8], xmm1
maxss xmm1, dword [edi + 0x4c]
movss dword [ebp - 0xf0], xmm2
ucomiss xmm5, dword [0x4cc848]
addss xmm1, xmm0
movss xmm0, dword [edi + 0x60]
movss dword [ebp - 0xd8], xmm0
movss xmm0, dword [edi + 0x1bc]
subss xmm0, dword [ebp - 0xd8]
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x44]
movss dword [ebp - 0xb8], xmm1
maxss xmm1, dword [edi + 0x4c]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm1, xmm0
movss dword [edi + 0x1d8], xmm2
addss xmm2, xmm7
movss xmm7, dword [ebp - 0xf0]
cvttss2si eax, xmm1
movss dword [edi + 0x1e0], xmm2
movss xmm2, dword [ebp - 0xe8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
lahf
movss dword [edi + 0x1dc], xmm0
addss xmm0, xmm6
movss xmm6, dword [ebp - 0xb8]
movss dword [edi + 0x1e4], xmm0
movups xmm0, xmmword [edi + 0x1d8]
movups xmmword [edi + 0x1e8], xmm0
movss xmm0, dword [edi + 0x10]
movss dword [ebp - 0xc8], xmm0
movaps xmm1, xmm0
movss xmm0, dword [edi + 0x14]
subss xmm1, xmm7
movss dword [ebp - 0xf0], xmm0
movaps xmm3, xmm0
subss xmm3, dword [ebp - 0xd8]
addss xmm1, xmm2
addss xmm3, xmm6
movss dword [edi + 0x208], xmm1
addss xmm3, dword [ebp - 0xe0]
movss dword [edi + 0x20c], xmm3
test ah, 0x44
jp 0x40de34
movss xmm5, dword [edi + 0x18]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm5, xmm0
subss xmm5, dword [edi + 0x84]
addss xmm1, xmm5
xorps xmm5, xmm5
ucomiss xmm4, xmm5
movss dword [edi + 0x210], xmm1
lahf
test ah, 0x44
jp 0x40de6c
movss xmm4, dword [edi + 0x1c]
movaps xmm0, xmm6
addss xmm0, xmm6
subss xmm4, xmm0
subss xmm4, dword [ebp - 0xe0]
subss xmm4, dword [edi + 0x88]
movaps xmm0, xmm2
mov esi, dword [ebp - 0xcc]
addss xmm0, xmm5
addss xmm4, xmm3
movss xmm3, dword [ebp - 0xc8]
cvtps2pd xmm3, xmm3
lea ecx, [edi + 0x144]
movss dword [edi + 0x214], xmm4
subss xmm0, xmm7
movss dword [edi + 0x118], xmm0
cvtps2pd xmm0, xmm2
mov dword [edi + 0x120], 0
mov dword [edi + 0x11c], 0
movss xmm2, dword [ebp - 0xf0]
addsd xmm3, xmm0
cvtps2pd xmm0, xmm7
cvtps2pd xmm2, xmm2
subsd xmm3, xmm0
cvtps2pd xmm0, xmm6
addsd xmm3, qword [0x4cc850]
addsd xmm2, xmm0
movss xmm0, dword [ebp - 0xd8]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
movss xmm0, dword [ebp - 0xe0]
cvtps2pd xmm0, xmm0
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [edi + 0xe4], xmm0
movss dword [edi + 0xe8], xmm1
movss xmm0, dword [edi + 0xe4]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0xe8]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [edi + 0x124], xmm1
cvtpd2ps xmm0, xmm2
movss dword [edi + 0x128], xmm0
movss xmm1, dword [edi + 0xe4]
movss xmm0, dword [edi + 0xe8]
movss dword [edi + 0xd4], xmm1
movss dword [edi + 0xd8], xmm0
movss dword [edi + 0xdc], xmm1
movss dword [edi + 0xe0], xmm0
movss dword [edi + 0xec], xmm1
movss dword [edi + 0xf0], xmm0
movss dword [edi + 0xf4], xmm1
movss dword [edi + 0xf8], xmm0
mov dword [edi + 0x104], 0
mov dword [edi + 0x108], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0x100], 0
mov dword [edi + 0x110], 0
mov dword [edi + 0x10c], 0
mov word [edi + 0x114], 0
mov dword [edi + 0x12c], 0
mov ax, word [edi + 0x132]
mov word [edi + 0x130], ax
xor eax, eax
mov word [edi + 0x132], ax
mov byte [edi + 0x138], al
movss xmm0, dword [edi + 0x68]
comiss xmm0, xmm5
seta al
cmp byte [ebp - 0xc1], 0
mov byte [edi + 0x139], al
mov byte [edi + 0x13a], 0
movss xmm1, dword [esi + 0x37e4]
je 0x40e037
xorps xmm0, xmm0
movq qword [ecx + 0x12], xmm0
cvttss2si eax, xmm1
push ecx
mov word [ecx + 8], ax
call fcn.00439480
xorps xmm0, xmm0
movq qword [edi + 0x156], xmm0
mov eax, dword [edi + 0x148]
mov dword [edi + 0x144], eax
lea eax, [edi + 0x168]
mov dword [edi + 0x148], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x164], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40e0a9
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 + 0x168]
call fcn.00416fb0
lea eax, [edi + 0x168]
mov dword [eax], 0
lea eax, [edi + 0x22c]
mov dword [edi + 0x174], eax
mov eax, dword [ebp - 0xd0]
mov dword [edi + 0x178], 0
mov dword [edi + 0x180], 1
test eax, eax
je 0x40e0e1
mov eax, dword [eax + 0x180]
jmp 0x40e0e6
mov eax, 1
mov dword [edi + 0x184], eax
mov eax, dword [edi + 0x228]
mov dword [edi + 0x188], eax
lea eax, [edi + 0x190]
mov dword [edi + 0x18c], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40e131
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 + 0x190]
call fcn.00416fb0
lea eax, [edi + 0x190]
mov dword [eax], 0
lea eax, [edi + 0x19c]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40e166
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 + 0x19c]
call fcn.00416fb0
lea eax, [edi + 0x19c]
mov dword [eax], 0
mov al, byte [edi + 0xa8]
test al, al
jle 0x40e17e
dec al
mov byte [edi + 0xa8], al
mov al, byte [edi + 0xa9]
test al, al
jle 0x40e190
dec al
mov byte [edi + 0xa9], al
cmp byte [ebp - 0xdc], 0
je 0x40e1a9
mov ecx, edi
call fcn.0040e880
xor dl, dl
mov ecx, edi
call fcn.00412780
test byte [ebp - 0xc0], 1
movss xmm4, dword [ebp - 0x114]
movss xmm3, dword [ebp - 0x118]
movss xmm2, dword [ebp - 0x11c]
movss xmm5, dword [ebp - 0x120]
jne 0x40e239
movaps xmm0, xmm5
movss dword [ebp - 0x13c], xmm2
addss xmm0, dword [edi + 0x4c]
push ecx
push dword [ebp - 0x108]
lea edx, [ebp - 0x140]
movss dword [ebp - 0x134], xmm4
mov ecx, edi
movss dword [ebp - 0x140], xmm0
movaps xmm0, xmm3
subss xmm0, dword [edi + 0x4c]
movss dword [ebp - 0x138], xmm0
call fcn.0040b990
movss xmm2, dword [ebp - 0x11c]
add esp, 8
movss xmm3, dword [ebp - 0x118]
movss xmm4, dword [ebp - 0x114]
movss xmm5, dword [ebp - 0x120]
mov edx, dword [0x4fc310]
xor eax, eax
mov dword [edi + 0x218], eax
movss xmm1, dword [edx + 0x37fc]
movss xmm0, dword [edx + 0x3800]
subss xmm5, xmm1
addss xmm3, xmm1
movss xmm1, dword [edx + 0xdb8]
addss xmm4, xmm0
subss xmm2, xmm0
comiss xmm1, xmm5
jb 0x40e295
movss xmm0, dword [edx + 0xdbc]
comiss xmm0, xmm2
jb 0x40e295
comiss xmm3, xmm1
jbe 0x40e295
comiss xmm4, xmm0
mov dword [ebp - 0xb8], 1
ja 0x40e29b
mov dword [ebp - 0xb8], eax
mov eax, dword [edi + 0x54]
mov ecx, dword [esi + 0x3ea8]
movups xmm0, xmmword [ebp - 0x120]
mov dword [edx + 0x3ec0], eax
mov eax, dword [ebp - 0xb8]
mov dword [edx + 0x3ec8], eax
mov eax, dword [ebp - 0xfc]
mov dword [edx + 0x3ec4], ecx
movups xmmword [edx + 0x3ecc], xmm0
jmp 0x40e341
mov eax, dword [0x4fc310]
mov dword [eax + 0x3e18], edi
mov ecx, dword [edi + 0x17c]
cmp ecx, 0xffffffff
je 0x40e2f6
imul ecx, ecx, 0x1d8
add ecx, dword [eax + 0x4208]
jmp 0x40e2f8
xor ecx, ecx
movss xmm0, dword [eax + 0x3bb8]
mov dword [eax + 0x41ec], ecx
mov ecx, dword [edi + 0x2e0]
mulss xmm0, dword [edi + 0x244]
test ecx, ecx
je 0x40e320
mulss xmm0, dword [ecx + 0x244]
movss dword [eax + 0x3bc8], xmm0
movss dword [eax + 0x3bb4], xmm0
mov eax, dword [ebp - 0xc0]
and eax, 0x1000000
mov dword [ebp - 0xfc], eax
test eax, eax
je 0x40e353
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 0x134]
jmp 0x40e3a1
mov ecx, dword [edi + 0xc8]
xor edx, edx
mov eax, dword [edi + 0xd0]
push dword [eax + ecx*4 - 4]
mov ecx, str.FOCUSSCOPE
call fcn.00403260
mov ecx, dword [0x4fc310]
add esp, 4
mov dword [ebp - 0xf0], eax
cmp dword [ecx + 0x3e38], eax
jne 0x40e3a1
push ecx
push str.FOCUSSCOPE
mov edx, 0xb
mov ecx, eax
call fcn.00416700
mov eax, dword [ebp - 0xf0]
add esp, 8
mov ecx, dword [0x4fc310]
mov dword [edi + 0x134], eax
mov eax, dword [ecx + 0x3e18]
mov byte [eax + 0x90], 1
mov eax, dword [ecx + 0x3e18]
movss xmm1, dword [edi + 0x1c8]
movss xmm0, dword [edi + 0x1cc]
movss xmm2, dword [edi + 0x1d0]
movss xmm3, dword [edi + 0x1d4]
mov dword [ebp - 0xb8], eax
mov eax, dword [eax + 0x24c]
mov dword [ebp - 0x24], eax
movss dword [ebp - 0x130], xmm1
movss dword [ebp - 0x12c], xmm0
movups xmm4, xmmword [eax + 0x60]
movss dword [ebp - 0x128], xmm2
comiss xmm4, xmm1
movss dword [ebp - 0x124], xmm3
movaps xmmword [ebp - 0x150], xmm4
jbe 0x40e42a
movaps xmm1, xmm4
movss dword [ebp - 0x130], xmm1
movss xmm4, dword [ebp - 0x14c]
comiss xmm4, xmm0
jbe 0x40e442
movaps xmm0, xmm4
movss dword [ebp - 0x12c], xmm0
movss xmm4, dword [ebp - 0x148]
comiss xmm2, xmm4
jbe 0x40e45a
movaps xmm2, xmm4
movss dword [ebp - 0x128], xmm2
movss xmm4, dword [ebp - 0x144]
comiss xmm3, xmm4
jbe 0x40e472
movaps xmm3, xmm4
movss dword [ebp - 0x124], xmm3
comiss xmm1, xmm2
jb 0x40e47f
movss dword [ebp - 0x128], xmm1
comiss xmm0, xmm3
jb 0x40e48c
movss dword [ebp - 0x124], xmm0
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
mov dword [ebp - 0xe8], ecx
cmp edx, eax
jne 0x40e4d0
inc edx
mov dword [ebp - 0xf0], edx
test eax, eax
je 0x40e4ba
cdq
sub eax, edx
mov edx, dword [ebp - 0xf0]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40e4bf
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.004261d0
mov ecx, dword [ebp - 0xe8]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movaps xmm0, xmmword [ebp - 0x130]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [ebp - 0x24]
movups xmmword [ecx + 0x60], xmm0
call fcn.0041ee10
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x24c]
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 + 0x1f8], eax
mov eax, dword [ebp - 0x104]
movss dword [edx + 0x1fc], xmm0
movss dword [edx + 0x200], xmm1
movss dword [edx + 0x204], xmm2
mov byte [edi + 0x90], 0
inc word [edi + 0x9a]
mov dword [esi + 0x3efc], 0
cmp eax, dword [ebp - 0x100]
je 0x40e6c2
cmp dword [ebp - 0xfc], 0
je 0x40e62c
mov eax, dword [ebp - 0xc0]
test al, 0x40
jne 0x40e5f0
cmp byte [edi + 0xa8], 0
jg 0x40e5f0
cmp byte [edi + 0xa9], 0
jg 0x40e5f0
test eax, 0x800000
je 0x40e5b8
cmp byte [esi + 0x400c], 0
je 0x40e5b8
mov eax, dword [esi + 0x3fcc]
test eax, eax
je 0x40e5b8
mov eax, dword [eax + 0x2f4]
cmp eax, dword [edi + 0x2f4]
jne 0x40e5b8
mov al, 1
jmp 0x40e5ba
xor al, al
cmp byte [esi + 0x524c], 0
jne 0x40e5f0
test al, al
jne 0x40e5f0
movss xmm0, dword [edi + 0x1a8]
comiss xmm0, dword [edi + 0x1b0]
jae 0x40e5e9
movss xmm0, dword [edi + 0x1ac]
comiss xmm0, dword [edi + 0x1b4]
jb 0x40e5f0
mov byte [edi + 0xb0], 1
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x40e62c
cmp byte [eax + 0x91], 0
jne 0x40e60c
cmp byte [eax + 0xb0], 0
jle 0x40e613
mov byte [edi + 0xb0], 1
cmp byte [eax + 0x91], 0
jne 0x40e625
cmp byte [eax + 0xb1], 0
jle 0x40e62c
mov byte [edi + 0xb1], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x3798]
jb 0x40e63f
mov byte [edi + 0xb0], 1
cmp byte [edi + 0xb0], 0
jg 0x40e65f
cmp byte [edi + 0xb1], 0
jg 0x40e65f
xor cl, cl
cmp byte [edi + 0xb2], cl
jg 0x40e661
xor al, al
jmp 0x40e663
mov cl, 1
mov al, 1
mov byte [edi + 0x95], al
mov al, byte [edi + 0xb3]
test al, al
jle 0x40e682
dec al
mov byte [edi + 0xb3], al
or dword [edi + 8], 0xc0200
xor al, al
cmp byte [edi + 0x91], al
jne 0x40e698
cmp byte [edi + 0x8e], al
je 0x40e698
test cl, cl
je 0x40e6bc
cmp byte [edi + 0xa8], 0
jg 0x40e6bc
cmp byte [edi + 0xa9], 0
jg 0x40e6bc
cmp byte [edi + 0xb1], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0x93], al
cmp byte [edi + 0x93], 0
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop edi
pop esi
call fcn.004b50b5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret