Function at 0x40cbb0
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 [0x43800c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
mov esi, dword [0x438420]
push edi
mov dword [ebp - 0x104], edx
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xd4], esi
call fcn.0040a690
mov edi, eax
mov dword [ebp - 0x110], eax
test edi, edi
sete byte [ebp - 0xb1]
test eax, eax
jne 0x40cc26
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0x10c]
call fcn.0040a970
mov edi, eax
mov eax, dword [ebp - 0xc4]
mov ecx, eax
mov edx, eax
and ecx, 0xc0200
or edx, 6
cmp ecx, 0xc0200
mov ecx, dword [esi + 0x3de0]
cmovne edx, eax
mov dword [ebp - 0x100], ecx
cmp dword [esi + 0x3e3c], 0
mov eax, dword [edi + 0x238]
mov dword [ebp - 0xfc], eax
lea eax, [esi + 0x3e3c]
mov dword [ebp - 0xc0], edx
jne 0x40cc7c
cmp byte [esi + 0x3ded], 0
je 0x40cc7c
mov al, 1
jmp 0x40cc7e
xor al, al
mov byte [edi + 0xb2], al
lea eax, [ecx - 1]
mov ecx, dword [ebp - 0xfc]
cmp ecx, eax
setl ch
mov byte [ebp - 0xb9], ch
test edx, 0x4000000
je 0x40ccde
mov eax, dword [esi + 0x47d0]
lea esi, [eax + eax*4]
mov eax, dword [ebp - 0xd4]
mov edx, dword [eax + 0x47cc]
mov eax, dword [edi + 0xc0]
cmp edi, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov esi, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xc0]
setne al
or cl, al
or ch, cl
mov byte [ebp - 0xb9], ch
mov byte [edi + 0xb0], ch
test ch, ch
je 0x40ccfd
or byte [edi + 0xd0], 8
or byte [edi + 0xd1], 8
or byte [edi + 0xd2], 8
mov eax, dword [ebp - 0xfc]
cmp eax, dword [ebp - 0x100]
je 0x40cd64
push edx
mov dl, byte [ebp - 0xb1]
mov ecx, edi
call fcn.0040a6e0
mov eax, dword [ebp - 0x100]
add esp, 4
mov edx, dword [ebp - 0xc0]
mov dword [edi + 0x238], eax
xor eax, eax
mov dword [edi + 0xc], edx
movsd xmm0, qword [esi + 0x3dd8]
cvtpd2ps xmm0, xmm0
mov word [edi + 0xba], ax
movss dword [edi + 0x23c], xmm0
movzx eax, word [esi + 0x3e54]
inc dword [esi + 0x3e54]
mov word [edi + 0xbc], ax
jmp 0x40cd6d
mov edx, dword [edi + 0xc]
mov dword [ebp - 0xc0], edx
mov eax, dword [esi + 0x3e3c]
test eax, eax
je 0x40cd84
imul ecx, eax, 0x54
mov eax, dword [esi + 0x3e44]
mov eax, dword [eax + ecx - 0x54]
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0xc8], eax
cmp ecx, dword [ebp - 0x100]
je 0x40cdae
mov ecx, edx
and ecx, 0x5000000
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0xe4], ecx
jmp 0x40cdba
mov eax, dword [edi + 0x2f8]
mov dword [ebp - 0xe4], eax
cmp dword [edi + 0xe4], 0
lea eax, [edi + 0xe4]
jne 0x40cdef
cmp dword [eax + 4], 0
jne 0x40cdde
push 8
mov ecx, eax
call fcn.00418e10
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 0x3c
lea eax, [ebp - 0xac]
mov dword [esi + 0x3e60], edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x4718]
lea edx, [esi + 0x3e3c]
mov dword [ebp - 0x74], eax
xorps xmm0, xmm0
movzx eax, word [edi + 0xe4]
add esp, 0xc
movups xmmword [ebp - 0x70], xmm0
mov word [ebp - 0x70], ax
movzx eax, word [esi + 0x477c]
movups xmm0, xmmword [esi + 0x46e0]
mov word [ebp - 0x6e], ax
movzx eax, word [esi + 0x4788]
mov ecx, dword [edx]
mov word [ebp - 0x6c], ax
movzx eax, word [esi + 0x4794]
mov word [ebp - 0x6a], ax
movzx eax, word [esi + 0x47a0]
mov word [ebp - 0x68], ax
movzx eax, word [esi + 0x47b8]
mov word [ebp - 0x66], ax
movzx eax, word [esi + 0x47ac]
movups xmmword [ebp - 0xac], xmm0
mov word [ebp - 0x64], ax
lea eax, [esi + 0x47d0]
movups xmm0, xmmword [esi + 0x46f0]
mov dword [ebp - 0xdc], eax
movzx eax, word [eax]
movups xmmword [ebp - 0x9c], xmm0
mov word [ebp - 0x62], ax
movups xmm0, xmmword [esi + 0x4700]
movzx eax, word [esi + 0x5a84]
mov word [ebp - 0x60], 0
movups xmmword [ebp - 0x8c], xmm0
mov word [ebp - 0x60], ax
movq xmm0, qword [esi + 0x4710]
mov eax, dword [edx + 4]
mov dword [ebp - 0xb0], edi
movq qword [ebp - 0x7c], xmm0
cmp ecx, eax
jne 0x40cf02
inc ecx
test eax, eax
je 0x40ceea
cdq
sub eax, edx
lea edx, [esi + 0x3e3c]
sar eax, 1
add eax, dword [edx + 4]
jmp 0x40ceef
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.004193a0
lea edx, [esi + 0x3e3c]
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 [ebp - 0x108], eax
je 0x40cf5b
inc dword [esi + 0x47e8]
mov eax, dword [ebp - 0xfc]
cmp eax, dword [ebp - 0x100]
je 0x40d013
mov edx, dword [ebp - 0xe4]
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 0x40cfdf
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x40cfaf
mov eax, dword [edx + 0x300]
mov dword [edi + 0x300], eax
test ecx, 0x4000000
je 0x40cfc3
mov eax, dword [edx + 0x304]
mov dword [edi + 0x304], eax
test ecx, 0x8000000
jne 0x40cfdf
test ecx, 0x5000000
je 0x40cfdf
mov eax, dword [edx + 0x308]
mov dword [edi + 0x308], eax
test dword [edi + 0xc], 0x800000
je 0x40d007
mov ecx, edi
nop word [eax + eax]
mov eax, dword [ecx + 0x2f8]
mov ecx, eax
mov dword [edi + 0x30c], eax
test dword [ecx + 0xc], 0x800000
jne 0x40cff0
mov eax, dword [ebp - 0xc8]
mov dword [edi + 0x2fc], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0xcc], eax
mov eax, dword [0x438420]
mov ecx, dword [eax + 0x47a4]
lea edx, [eax + 0x47a0]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0xc4], edx
cmp dword [edx], ecx
jne 0x40d06a
test ecx, ecx
je 0x40d04f
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0xc4]
sar eax, 1
add eax, ecx
jmp 0x40d054
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00418e10
mov edx, dword [ebp - 0xc4]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [ebp - 0xcc]
mov dword [eax + ecx*4], esi
mov ecx, esi
mov eax, dword [ebp - 0x34]
inc dword [edx]
mov esi, dword [ebp - 0xd4]
mov dword [eax + 0x46b4], ecx
mov eax, dword [esi + 0x46b4]
mov dword [edi + 0x34c], eax
mov eax, dword [ebp - 0xc0]
and eax, 0x4000000
mov dword [esi + 0x3e60], 0
mov dword [ebp - 0xc4], eax
je 0x40d16f
mov eax, dword [esi + 0x47d0]
mov ecx, dword [esi + 0x47cc]
mov dword [ebp - 0xcc], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0xc8]
mov dword [ecx + edx*8 + 4], edi
mov dword [ebp - 0x34], edx
mov eax, dword [eax + 0x148]
mov dword [ecx + edx*8 + 0xc], eax
mov ecx, dword [esi + 0x47d0]
mov eax, dword [esi + 0x47d4]
cmp ecx, eax
jne 0x40d124
inc ecx
test eax, eax
je 0x40d109
cdq
sub eax, edx
lea edx, [esi + 0x47d0]
sar eax, 1
add eax, dword [edx + 4]
jmp 0x40d114
mov eax, 8
lea edx, [esi + 0x47d0]
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00419320
mov edx, dword [ebp - 0x34]
mov esi, dword [ebp - 0xdc]
mov eax, dword [esi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 8]
mov esi, dword [ebp - 0xcc]
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 - 0xdc]
inc dword [eax]
mov eax, esi
mov esi, dword [ebp - 0xd4]
mov eax, dword [eax + edx*8]
mov dword [edi + 0xc0], eax
test byte [esi + 0x471c], 1
mov byte [ebp - 0xb3], 0
mov byte [ebp - 0xb2], 0
mov byte [ebp - 0xb4], 0
je 0x40d231
mov dl, byte [edi + 0xd0]
mov ecx, dword [esi + 0x4720]
movsx eax, dl
test ecx, eax
setne byte [ebp - 0xb3]
test ecx, eax
je 0x40d220
movss xmm1, dword [esi + 0x4738]
movss xmm0, dword [esi + 0x4734]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x43599c]
jbe 0x40d220
mov eax, dword [esi + 0x472c]
mov ecx, dword [esi + 0x4730]
mov dword [edi + 0xd8], ecx
mov dword [edi + 0xd4], eax
mov eax, dword [esi + 0x4734]
mov ecx, dword [esi + 0x4738]
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 0x40d231
push ecx
lea edx, [esi + 0x472c]
mov ecx, edi
call fcn.0040fa60
add esp, 4
test byte [esi + 0x471c], 2
xorps xmm1, xmm1
je 0x40d29a
movsx eax, byte [edi + 0xd1]
lea edx, [esi + 0x473c]
mov ecx, dword [esi + 0x4724]
and eax, ecx
je 0x40d266
movss xmm0, dword [edx]
comiss xmm0, xmm1
jbe 0x40d266
mov byte [ebp - 0xb2], 1
jmp 0x40d271
mov byte [ebp - 0xb2], 0
test eax, eax
je 0x40d285
movss xmm0, dword [esi + 0x4740]
comiss xmm0, xmm1
mov byte [ebp - 0xb4], 1
ja 0x40d28c
mov byte [ebp - 0xb4], 0
push ecx
mov ecx, edi
call fcn.0040fbc0
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x471c], 0x80
je 0x40d2e1
movss xmm0, dword [esi + 0x474c]
comiss xmm0, xmm1
jb 0x40d2c2
movss dword [edi + 0x88], xmm0
mov dword [edi + 0x90], 0
movss xmm0, dword [esi + 0x4750]
comiss xmm0, xmm1
jb 0x40d2e1
movss dword [edi + 0x8c], xmm0
mov dword [edi + 0x94], 0
test byte [esi + 0x471c], 4
je 0x40d2fe
mov eax, dword [esi + 0x4744]
mov ecx, dword [esi + 0x4748]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
jmp 0x40d31a
mov eax, dword [ebp - 0xfc]
cmp eax, dword [ebp - 0x100]
je 0x40d31a
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
test byte [esi + 0x471c], 8
je 0x40d367
mov ecx, dword [esi + 0x4728]
mov dl, byte [esi + 0x4754]
test ecx, ecx
je 0x40d33e
movsx eax, byte [edi + 0xd2]
test ecx, eax
je 0x40d367
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 + 0x471c], 0x20
je 0x40d379
xor edx, edx
mov ecx, edi
call fcn.0040f670
cmp byte [edi + 0xb0], 0
je 0x40d397
and byte [edi + 0xd0], 0xf7
and byte [edi + 0xd1], 0xf7
and byte [edi + 0xd2], 0xf7
mov eax, dword [ebp - 0xfc]
cmp eax, dword [ebp - 0x100]
je 0x40f069
mov eax, dword [ebp - 0xc0]
lea ecx, [edi + 0xe4]
and eax, 0x3000000
mov byte [edi + 0xaa], 1
cmp dword [ebp - 0x104], 0
mov dword [ebp - 0xdc], eax
mov al, byte [edi + 0xcd]
mov byte [ebp - 0xd5], 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 - 0xb8], eax
cmp eax, 1
jge 0x40d447
test eax, eax
je 0x40d42c
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [ebp - 0xb8]
jmp 0x40d431
mov edx, 8
mov eax, 1
cmp edx, eax
cmovg eax, edx
push eax
call fcn.00418e10
lea ecx, [edi + 0xe4]
mov dword [ecx], 1
mov ecx, dword [edi + 0x264]
call fcn.00421460
cmp byte [edi + 0x358], 0
mov dword [edi + 0x194], 0xffffffff
je 0x40d4ae
mov ecx, dword [edi + 0x264]
push dword [edi + 0x350]
add ecx, 0xc
mov byte [edi + 0x358], 0
call fcn.004191e0
mov ecx, dword [edi + 0x264]
push dword [edi + 0x354]
add ecx, 0x18
call fcn.00418ff0
mov dword [edi + 0x354], 0
mov dword [edi + 0x350], 0
cmp dword [esi + 0x49b0], 0
je 0x40d5cc
test dword [edi + 0xc], 0x80000
jne 0x40d5cc
cmp dword [ebp - 0x110], 0
je 0x40d5cc
mov eax, dword [edi + 4]
mov ecx, eax
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x10c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40d506
test dl, dl
je 0x40d502
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40d506
add eax, 2
add ecx, 2
test dl, dl
jne 0x40d4e6
xor eax, eax
jmp 0x40d50b
sbb eax, eax
or eax, 1
test eax, eax
je 0x40d5cc
mov ecx, dword [ebp - 0x10c]
mov edx, dword [edi + 0x6c]
mov dword [ebp - 0xb8], edx
lea eax, [ecx + 1]
mov dword [ebp - 0xc8], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40d530
sub ecx, dword [ebp - 0xc8]
lea eax, [ecx + 1]
cmp edx, eax
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xcc]
jae 0x40d5a2
test edx, edx
je 0x40d563
mov eax, dword [0x438420]
test eax, eax
je 0x40d563
dec dword [eax + 0xb0]
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push dword [ebp - 0xc8]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [0x438420]
add esp, 4
mov dword [ebp - 0xd0], ecx
mov edx, eax
test ecx, ecx
je 0x40d594
inc dword [ecx + 0xb0]
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xb8], eax
jmp 0x40d5ae
mov ecx, dword [0x438420]
mov dword [ebp - 0xd0], ecx
push eax
push dword [ebp - 0x10c]
push edx
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [ebp - 0xb8]
mov dword [edi + 0x6c], eax
jmp 0x40d5d8
mov ecx, dword [0x438420]
mov dword [ebp - 0xd0], ecx
lea eax, [edi + 0x34]
mov ecx, edi
lea edx, [edi + 0x2c]
push eax
call fcn.0040ad70
mov al, byte [edi + 0xcc]
add esp, 4
test al, al
jle 0x40d5fb
dec al
mov byte [edi + 0xcc], al
mov al, byte [edi + 0xcd]
test al, al
jle 0x40d60d
dec al
mov byte [edi + 0xcd], al
mov al, byte [edi + 0xce]
test al, al
jle 0x40d61f
dec al
mov byte [edi + 0xce], al
cmp dword [ebp - 0x110], 0
mov al, byte [ebp - 0xb2]
mov cl, byte [ebp - 0xb4]
jne 0x40d643
test al, al
je 0x40d63c
test cl, cl
jne 0x40d643
mov byte [edi + 0xcd], 1
cmp byte [ebp - 0xb9], 0
mov edx, dword [ebp - 0xc0]
je 0x40d6a6
test edx, 0x6000000
je 0x40d6a6
mov byte [edi + 0xcd], 1
test dl, 0x40
je 0x40d6a6
test al, al
jne 0x40d678
mov dword [edi + 0x24], 0
mov dword [edi + 0x1c], 0
test cl, cl
jne 0x40d68a
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 [ebp - 0xd0]
mov eax, dword [ecx + 0x47f4]
mov eax, dword [eax]
mov dword [edi + 0x10], eax
mov dword [ebp - 0xe8], eax
mov dword [ecx + 0x3e60], edi
mov eax, dword [edi + 0x194]
cmp eax, 0xffffffff
je 0x40d6dc
imul eax, eax, 0x1f0
add eax, dword [ecx + 0x4a90]
jmp 0x40d6de
xor eax, eax
mov dword [ecx + 0x4a74], eax
mov dword [ebp - 0xb8], eax
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3bd4]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x40d70e
mulss xmm0, dword [eax + 0x25c]
cmp dword [ebp - 0xb8], 0
movss dword [ecx + 0x3be4], xmm0
movss dword [ecx + 0x3bd0], xmm0
jne 0x40d734
cmp dword [edi + 0x190], 0
jne 0x40d734
mov al, 1
jmp 0x40d736
xor al, al
mov byte [edi + 0x150], al
mov eax, edx
and eax, 0x1000000
mov dword [ebp - 0xc8], eax
je 0x40d755
movss xmm0, dword [esi + 0x37b8]
jmp 0x40d777
test edx, 0x6000000
je 0x40d76f
test edx, 0x8000000
jne 0x40d76f
movss xmm0, dword [esi + 0x37c0]
jmp 0x40d777
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 0x40d7c9
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jp 0x40d7c9
test edx, 0x400
je 0x40d7ba
movss xmm0, dword [esi + 0x3794]
jmp 0x40d7bd
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 + 0x4774]
movss dword [edi + 0x154], xmm0
mov eax, dword [esi + 0x4778]
mov dword [edi + 0x158], eax
mov al, byte [ebp - 0xb1]
mov dword [ebp - 0xcc], eax
test dl, 0x21
jne 0x40d950
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x40d814
xorps xmm2, xmm2
jmp 0x40d846
movss xmm0, dword [ecx + 0x3bd4]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x40d836
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 - 0xd0]
cmp dword [esi + 0x3e64], edi
jne 0x40d900
cmp dword [esi + 0x3e98], 0
jne 0x40d900
cmp dword [esi + 0x3e9c], 0
jne 0x40d900
mov eax, dword [edx + 0x3e60]
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 + 0xdbc]
subss xmm5, xmm0
addss xmm2, xmm0
comiss xmm1, xmm4
jb 0x40d900
movss xmm0, dword [edx + 0xdc0]
comiss xmm0, xmm5
jb 0x40d900
comiss xmm3, xmm1
jbe 0x40d900
comiss xmm2, xmm0
jbe 0x40d900
cmp word [esi + 0x370a], 2
jne 0x40d900
mov byte [edi + 0xae], 1
cmp byte [edi + 0xae], 0
je 0x40d957
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 - 0xcc]
movzx eax, al
cmovne eax, ecx
test dword [edi + 0xc], 0x100
mov dword [ebp - 0xcc], eax
jne 0x40d957
comiss xmm6, dword [edx + 0x5b28]
jb 0x40d957
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5b28], eax
jmp 0x40d957
mov byte [edi + 0xad], 0
movss xmm0, dword [edi + 0xa0]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
movss dword [ebp - 0xe0], xmm0
movss xmm0, dword [edi + 0xa4]
mov byte [edi + 0xae], 0
movss dword [ebp - 0xf4], xmm0
mov dword [edi + 0x54], 0
mov dword [edi + 0x5c], 0
test dl, 1
je 0x40d99b
xorps xmm2, xmm2
jmp 0x40d9d0
movss xmm0, dword [edi + 0x25c]
mov edx, dword [edi + 0x2f8]
mulss xmm0, dword [ecx + 0x3bd4]
test edx, edx
je 0x40d9bd
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 0x40da14
movss xmm0, dword [ecx + 0x3bd4]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x40d9fa
mulss xmm0, dword [eax + 0x25c]
movss xmm1, dword [ecx + 0x37c8]
addss xmm0, dword [edi + 0x158]
addss xmm1, xmm1
addss xmm1, xmm0
jmp 0x40da17
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 - 0x3c]
movss dword [edi + 0x58], xmm1
call fcn.0040aea0
add esp, 4
lea eax, [edi + 0xad]
test byte [ebp - 0xc0], 0x40
je 0x40daa4
cmp byte [eax], 0
mov dword [ebp - 0xd0], eax
jne 0x40daa4
cmp byte [ebp - 0xb2], 0
jne 0x40da80
movss xmm0, dword [ebp - 0x3c]
movss dword [edi + 0x24], xmm0
mov byte [ebp - 0xb1], 1
cmp byte [ebp - 0xb4], 0
jne 0x40db70
movss xmm0, dword [ebp - 0x38]
mov al, 1
movss dword [edi + 0x28], xmm0
mov dword [ebp - 0xcc], eax
jmp 0x40db70
mov ecx, eax
mov al, byte [edi + 0xc4]
test al, al
jg 0x40dac3
cmp byte [edi + 0xc5], 0
mov dword [ebp - 0xd0], ecx
jle 0x40db70
cmp byte [ebp - 0xb2], 0
jne 0x40daf6
test al, al
jle 0x40daf6
cmp byte [edi + 0xc7], 0
je 0x40dae5
movss xmm0, dword [edi + 0x24]
maxss xmm0, dword [ebp - 0x3c]
jmp 0x40daea
movss xmm0, dword [ebp - 0x3c]
movss dword [edi + 0x24], xmm0
mov byte [ebp - 0xb1], 1
cmp byte [ebp - 0xb4], 0
jne 0x40db2f
cmp byte [edi + 0xc5], 0
jle 0x40db2f
cmp byte [edi + 0xc7], 0
je 0x40db1d
movss xmm0, dword [edi + 0x28]
maxss xmm0, dword [ebp - 0x38]
jmp 0x40db22
movss xmm0, dword [ebp - 0x38]
mov al, 1
movss dword [edi + 0x28], xmm0
mov dword [ebp - 0xcc], eax
cmp byte [ecx], 0
mov dword [ebp - 0xd0], ecx
jne 0x40db70
test dword [edi + 0xc], 0x100
mov edx, dword [0x438420]
mov dword [ebp - 0xd0], ecx
jne 0x40db70
xorps xmm0, xmm0
mov dword [ebp - 0xd0], ecx
comiss xmm0, dword [edx + 0x5b28]
jb 0x40db70
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5b28], eax
mov dword [ebp - 0xd0], ecx
lea eax, [edi + 0x24]
mov edx, edi
push eax
lea ecx, [ebp - 0x138]
call fcn.0040ab60
add esp, 4
movss xmm2, dword [eax]
movss xmm0, dword [eax + 4]
mov eax, dword [ebp - 0xd0]
movss dword [edi + 0x24], xmm2
movss dword [edi + 0x28], xmm0
cmp byte [eax], 0
je 0x40dc10
cmp dword [ebp - 0xc8], 0
jne 0x40dc10
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x40dbb8
xorps xmm1, xmm1
jmp 0x40dbea
movss xmm0, dword [ecx + 0x3bd4]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x40dbda
mulss xmm0, dword [eax + 0x25c]
movss xmm1, dword [ecx + 0x37c8]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [edi + 0x14]
addss xmm1, dword [edi + 0x18]
subss xmm2, dword [edi + 0x14]
subss xmm1, dword [edi + 0x18]
movss dword [ebp - 0xf0], xmm2
movss dword [ebp - 0xec], xmm1
jmp 0x40dc22
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x28]
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], ecx
cmp byte [ebp - 0xb9], 0
lea ecx, [ebp - 0xf0]
mov eax, dword [ecx]
mov edx, edi
mov ecx, dword [ecx + 4]
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
je 0x40dc8e
mov eax, dword [ebp - 0xc0]
and eax, 0xc000000
mov dword [edi + 0xc8], 0xffffffff
cmp eax, 0x4000000
jne 0x40dc8e
cmp byte [ebp - 0xb3], 0
jne 0x40dc8e
mov eax, dword [esi + 0x47d0]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x47d8]
movss xmm0, dword [eax + ecx*8 - 0x10]
movss xmm1, dword [eax + ecx*8 - 0xc]
mov eax, 0x14
movss dword [edx + eax], xmm0
movss dword [edx + eax + 4], xmm1
cmp dword [ebp - 0xc8], 0
je 0x40dd48
mov edx, dword [ebp - 0xe4]
add edx, 0x180
mov dword [ebp - 0xb8], edx
mov ax, word [edx]
mov word [edi + 0xba], ax
mov ecx, dword [edx + 4]
cmp dword [edx], ecx
jne 0x40dcf4
test ecx, ecx
je 0x40dcd3
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0xb8]
sar eax, 1
add eax, ecx
jmp 0x40dcd8
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00418e10
mov esi, dword [ebp - 0xd4]
mov edx, dword [ebp - 0xb8]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
mov ecx, dword [ebp - 0xc4]
mov al, byte [ebp - 0xb3]
mov edx, dword [ebp - 0xdc]
test ecx, ecx
jne 0x40dd5a
test al, al
jne 0x40dd5a
cmp edx, 0x3000000
je 0x40dd5a
mov ecx, dword [ebp - 0xe4]
mov esi, 0x14
mov edx, edi
mov eax, dword [ecx + 0xf0]
mov ecx, dword [ecx + 0xf4]
mov dword [edx + esi], eax
mov eax, esi
mov esi, dword [ebp - 0xd4]
mov dword [edx + eax + 4], ecx
mov edx, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xc4]
mov al, byte [ebp - 0xb3]
movss xmm1, dword [edi + 0xd4]
ucomiss xmm1, dword [0x435a9c]
lahf
test ah, 0x44
jnp 0x40df7a
cmp byte [edi + 0xcd], 0
jne 0x40df7a
movss xmm0, dword [edi + 0x1c]
lea edx, [ebp - 0xf0]
mulss xmm0, dword [edi + 0xdc]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xd8]
movss dword [ebp - 0xf0], xmm1
movss xmm1, dword [edi + 0xe0]
mulss xmm1, dword [edi + 0x20]
subss xmm0, xmm1
movss dword [ebp - 0xec], xmm0
call fcn.0040fa60
add esp, 4
mov edx, edi
mov eax, 0x14
cmp byte [ebp - 0xb3], 0
mov ecx, dword [ebp - 0xe8]
movss xmm3, dword [esi + 0x384c]
movss xmm2, dword [esi + 0x3848]
maxss xmm3, dword [esi + 0x3854]
movss xmm7, dword [ecx + 0x14]
movss xmm6, dword [ecx + 0x18]
addss xmm7, dword [ecx + 0x1c]
addss xmm6, dword [ecx + 0x20]
movss xmm0, dword [ecx + 4]
movss xmm1, dword [ecx + 8]
movaps xmm4, xmm0
maxss xmm2, dword [esi + 0x3850]
addss xmm4, dword [ecx + 0xc]
movaps xmm5, xmm1
movss dword [ebp - 0xe8], xmm0
addss xmm5, dword [ecx + 0x10]
subss xmm6, xmm3
movss dword [ebp - 0x30], xmm0
addss xmm3, dword [ecx + 0x18]
subss xmm7, xmm2
movss dword [ebp - 0x108], xmm1
addss xmm2, dword [ecx + 0x14]
mov ecx, dword [ebp - 0xc0]
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x28], xmm4
movss dword [ebp - 0x24], xmm5
movss dword [ebp - 0x4c], xmm2
movss dword [ebp - 0x48], xmm3
movss dword [ebp - 0x44], xmm7
movss dword [ebp - 0x40], xmm6
jne 0x40df36
cmp dword [ebp - 0xc8], 0
jne 0x40df36
subss xmm4, xmm0
xorps xmm0, xmm0
comiss xmm4, xmm0
jbe 0x40df36
subss xmm5, xmm1
comiss xmm5, xmm0
jbe 0x40df36
mov eax, dword [0x438420]
movss xmm1, dword [edi + 0x20]
cmp byte [eax + 0x4b], 0
je 0x40defa
test byte [edi + 0xc], 1
jne 0x40defa
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3bd4]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x40dee8
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 [edx + eax + 4]
comiss xmm3, xmm0
ja 0x40df1a
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edx + eax]
comiss xmm2, xmm0
ja 0x40df2b
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [edx + eax], xmm2
movss dword [edx + eax + 4], xmm3
cmp dword [ebp - 0xc8], 0
cvttss2si eax, dword [edx + eax]
movd xmm1, eax
mov eax, 0x14
cvtdq2ps xmm1, xmm1
cvttss2si eax, dword [edx + eax + 4]
movd xmm0, eax
mov eax, 0x14
cvtdq2ps xmm0, xmm0
movss dword [edx + eax], xmm1
movss dword [edx + eax + 4], xmm0
je 0x40dfe8
movss xmm2, dword [esi + 0x37b4]
jmp 0x40e008
cmp dword [ebp - 0x108], 0
jne 0x40df93
test ecx, ecx
je 0x40dfc0
test al, al
jne 0x40dfc0
cmp byte [ebp - 0xd5], al
jle 0x40dfc0
mov edx, edi
lea ecx, [ebp - 0xf0]
call fcn.00412f00
mov edx, edi
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, 0x14
movss dword [edx + eax], xmm0
movss dword [edx + eax + 4], xmm1
jmp 0x40ddd3
test dword [ebp - 0xc0], 0x2000000
je 0x40ddcc
test al, al
jne 0x40ddcc
cmp edx, 0x3000000
mov edx, edi
je 0x40ddce
jmp 0x40df95
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x40e000
movss xmm2, dword [esi + 0x37bc]
jmp 0x40e008
movss xmm2, dword [esi + 0x3798]
xor dl, dl
movss dword [edi + 0x4c], xmm2
mov dword [ebp - 0xc8], edx
cmp byte [ebp - 0xb9], dl
je 0x40e04f
test ecx, 0x1000
jne 0x40e04f
cmp dword [ebp - 0xc4], 0
je 0x40e037
mov byte [ebp - 0xc8], 1
jmp 0x40e04f
cmp dword [ebp - 0xdc], 0
mov eax, 1
movzx edx, dl
cmove edx, eax
mov dword [ebp - 0xc8], edx
movss xmm1, dword [esi + 0x3bd0]
xorps xmm0, xmm0
addss xmm2, dword [0x435a08]
mov eax, dword [ebp - 0xd0]
xor ecx, ecx
cmp byte [esi + 0x4a], cl
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmm1
mulss xmm1, dword [0x4359b8]
setne cl
inc ecx
cmp byte [eax], 0
mulss xmm0, dword [0x435a0c]
mov dword [ebp - 0x34], 0xffffffff
addss xmm2, xmm1
mov dword [ebp - 0xec], ecx
maxss xmm0, xmm2
cvttss2si esi, xmm0
jne 0x40e0ca
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x20]
push eax
push ecx
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
lea edx, [ebp - 0x3c]
call fcn.0040b1d0
add esp, 0x10
test al, al
je 0x40e0ca
mov cl, 1
mov dl, cl
jmp 0x40e0d6
mov dl, byte [ebp - 0xb1]
mov ecx, dword [ebp - 0xcc]
mov al, byte [ebp - 0x34]
mov byte [edi + 0xb5], al
mov eax, dword [ebp - 0xd0]
cmp byte [eax], 0
jne 0x40e271
cmp dword [ebp - 0x110], 0
lea eax, [ebp - 0xf8]
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 - 0xe0]
addss xmm3, dword [ebp - 0xf4]
jne 0x40e15e
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
jmp 0x40e18a
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 - 0xf8], xmm0
movss dword [ebp - 0xf4], xmm1
movss xmm7, dword [eax]
movss xmm1, dword [eax + 4]
test dl, dl
jne 0x40e19a
movaps xmm5, xmm2
test cl, cl
jne 0x40e1a1
movaps xmm4, xmm3
mov ecx, dword [ebp - 0xc0]
test ecx, 0x4000
jne 0x40e1bd
comiss xmm1, xmm4
jbe 0x40e1b9
test cl, 8
je 0x40e1bd
xor dl, dl
jmp 0x40e1bf
mov dl, 1
mov eax, dword [ebp - 0xd4]
add eax, 0x37fc
mov byte [edi + 0xa9], dl
test ecx, 0x8000
jne 0x40e21a
mov dword [ebp - 0xc4], eax
test dl, dl
je 0x40e1e8
movss xmm0, dword [eax]
jmp 0x40e1eb
xorps xmm0, xmm0
subss xmm5, xmm0
comiss xmm7, xmm5
jbe 0x40e202
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
je 0x40e214
mov eax, dword [ebp - 0xc4]
xorps xmm1, xmm1
mov byte [edi + 0xa8], 0
jmp 0x40e23f
mov eax, dword [ebp - 0xc4]
mov byte [edi + 0xa8], 1
test dl, dl
jne 0x40e23b
comiss xmm1, xmm4
jbe 0x40e233
test cl, 8
jne 0x40e233
mov dl, 1
jmp 0x40e235
xor dl, dl
mov byte [edi + 0xa9], dl
movss xmm1, dword [eax]
test dl, dl
je 0x40e249
movss xmm0, dword [eax]
jmp 0x40e24c
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 0x40e277
mov ecx, dword [ebp - 0xc0]
mov eax, ecx
and eax, 0x5000000
mov dword [ebp - 0xcc], eax
cmp eax, 0x1000000
jne 0x40e2a4
cmp dword [ebp - 0xdc], 0x3000000
je 0x40e2a4
mov eax, dword [ebp - 0xe4]
add eax, 0x210
jmp 0x40e2a7
lea eax, [ebp - 0x30]
test byte [edi + 0xc], 1
mov edx, 0x14
movups xmm4, xmmword [eax]
mov eax, edi
mov ecx, dword [ebp - 0xc0]
movss xmm7, dword [edi + 0x18]
movaps xmm6, xmm7
movaps xmmword [ebp - 0x120], xmm4
addss xmm6, dword [edi + 0x20]
movss xmm0, dword [eax + edx]
movaps xmm5, xmm0
movss dword [ebp - 0xb8], xmm0
addss xmm5, dword [edi + 0x1c]
je 0x40e2eb
xorps xmm3, xmm3
jmp 0x40e334
cmp dword [edi + 0x2f8], 0
mov ecx, dword [edi]
movss xmm0, dword [ecx + 0x3bd4]
mulss xmm0, dword [edi + 0x25c]
je 0x40e314
mov ecx, dword [edi + 0x2f8]
mulss xmm0, dword [ecx + 0x25c]
mov ecx, dword [edi]
movss xmm3, dword [ecx + 0x37c8]
mov ecx, dword [ebp - 0xc0]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm0, dword [ebp - 0xb8]
movaps xmm2, xmm0
movss dword [ebp - 0x30], xmm0
addss xmm2, dword [edi + 0x24]
movss xmm0, dword [eax + edx + 4]
movaps xmm1, xmm7
movss dword [ebp - 0x2c], xmm0
addss xmm1, xmm3
movss xmm0, dword [ebp - 0xb8]
and ecx, 0x401
movss dword [ebp - 0x28], xmm2
movaps xmm2, xmm4
shufps xmm2, xmm4, 0xff
movss dword [ebp - 0x24], xmm1
movss dword [edi + 0x1c0], xmm0
movss dword [edi + 0x1c4], xmm7
movss dword [edi + 0x1c8], xmm5
movaps xmm5, xmm4
movss dword [edi + 0x1cc], xmm6
movss xmm0, dword [edi + 0x1c0]
shufps xmm5, xmm4, 0x55
maxss xmm0, xmm4
maxss xmm7, xmm5
movups xmmword [ebp - 0x160], xmm5
movups xmmword [ebp - 0x130], xmm2
movss dword [edi + 0x1c0], xmm0
movaps xmm0, xmm4
movss dword [edi + 0x1c4], xmm7
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 [eax + edx]
movss xmm7, dword [edi + 0x18]
movaps xmm0, xmm6
mov edx, dword [ebp - 0xd4]
addss xmm0, dword [edi + 0x54]
addss xmm6, dword [edi + 0x1c]
movss dword [ebp - 0xf4], 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 - 0xe0], xmm0
movss dword [edi + 0x1d4], xmm0
movss dword [edi + 0x1d8], xmm6
movss dword [edi + 0x1dc], xmm7
cmp ecx, 1
jne 0x40e46d
movss xmm0, dword [edi + 0x50]
jmp 0x40e475
movss xmm0, dword [edx + 0x37d0]
movss xmm2, dword [0x4359d0]
movss dword [ebp - 0xb8], xmm0
addss xmm6, xmm2
movss xmm0, dword [edi + 0x44]
addss xmm7, xmm2
mulss xmm0, xmm2
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0xf4]
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 - 0xe0]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0xb8]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvttss2si ecx, xmm6
cvtdq2ps xmm0, xmm0
movups xmm6, xmmword [ebp - 0x130]
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 0x40e538
movaps xmm1, xmm5
jmp 0x40e53f
movaps xmm1, xmm6
minss xmm1, xmm0
movups xmm3, xmmword [ebp - 0x150]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm4, xmm2
jbe 0x40e557
movaps xmm0, xmm4
jmp 0x40e55e
movaps xmm0, xmm3
minss xmm0, xmm2
movss dword [edi + 0x1e0], xmm0
movss dword [edi + 0x1e4], xmm1
movss xmm1, dword [edi + 0x1ec]
comiss xmm5, xmm1
jbe 0x40e580
movaps xmm0, xmm5
jmp 0x40e587
movaps xmm0, xmm6
minss xmm0, xmm1
movss xmm1, dword [edi + 0x1e8]
comiss xmm4, xmm1
ja 0x40e59b
movaps xmm4, xmm3
minss xmm4, xmm1
movss dword [edi + 0x1e8], xmm4
xorps xmm2, xmm2
movss dword [edi + 0x1ec], xmm0
movss xmm0, dword [edi + 0x1c]
comiss xmm0, xmm2
jbe 0x40e5ce
test dword [ebp - 0xc0], 0x2000040
jne 0x40e5ce
mulss xmm0, dword [0x4359d8]
jmp 0x40e5de
movss xmm0, dword [edx + 0x3bd0]
mulss xmm0, dword [0x435a50]
cvttss2si eax, xmm0
mov edx, edi
lea ecx, [ebp - 0x138]
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.004122f0
mov ecx, dword [edi + 0x264]
mov dword [ebp - 0xe0], ecx
add ecx, 0x48
mov dword [ebp - 0xb8], ecx
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [ebp - 0xd4]
movss dword [edi + 0x78], xmm0
movss dword [edi + 0x7c], xmm1
mov dword [edi + 0x88], 0x7f7fffff
mov dword [edi + 0x8c], 0x7f7fffff
mov dword [edi + 0x68], 0
mov dword [edi + 0x64], 0
mov eax, dword [eax + 0x3bcc]
mov edx, dword [ecx]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc4], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x40e6fc
inc edx
mov dword [ebp - 0xf4], edx
test eax, eax
je 0x40e6e6
cdq
sub eax, edx
mov edx, dword [ebp - 0xf4]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40e6eb
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00418e10
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0xc4]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xc4]
inc dword [ecx]
mov ecx, dword [ebp - 0xe0]
mov dword [ecx + 0x70], eax
call fcn.00421890
mov ecx, dword [0x438420]
movaps xmm0, xmmword [ebp - 0x120]
comiss xmm0, dword [ebp - 0x150]
mov eax, dword [ecx + 0x3e60]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e60]
mov dword [ebp - 0x108], eax
movaps xmmword [ebp - 0x140], xmm0
mov eax, dword [eax + 0x264]
mov dword [ebp - 0xe8], eax
jb 0x40e77e
movss dword [ebp - 0x138], xmm0
movaps xmm0, xmmword [ebp - 0x140]
movaps xmmword [ebp - 0x120], xmm0
movups xmm0, xmmword [ebp - 0x160]
comiss xmm0, dword [ebp - 0x130]
jb 0x40e7a4
movss dword [ebp - 0x134], xmm0
movaps xmm0, xmmword [ebp - 0x140]
movaps xmmword [ebp - 0x120], xmm0
mov edx, dword [eax + 0x3c]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx + 4]
mov dword [ebp - 0xe0], ecx
cmp edx, eax
jne 0x40e7e8
inc edx
mov dword [ebp - 0xf4], edx
test eax, eax
je 0x40e7d2
cdq
sub eax, edx
mov edx, dword [ebp - 0xf4]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40e7d7
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00419530
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ecx]
movaps xmm0, xmmword [ebp - 0x120]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, dword [ebp - 0xe8]
movups xmmword [ecx + 0x60], xmm0
call fcn.004217f0
mov edx, dword [ebp - 0x108]
mov byte [ebp - 0xb2], 0
mov eax, dword [edx + 0x264]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
cmp dword [ebp - 0xcc], 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 + 0x210], eax
movss dword [edx + 0x214], xmm0
movss dword [edx + 0x218], xmm1
movss dword [edx + 0x21c], xmm2
jne 0x40e931
cmp dword [ebp - 0xdc], 0x3000000
je 0x40e931
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 0x180]
cmp ecx, 2
jl 0x40e8ed
mov eax, dword [eax + 0x188]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x40e8ed
movss xmm5, dword [eax + 0x18]
mov ecx, edi
movss xmm7, dword [eax + 0x14]
mov edx, 0x14
movss xmm2, dword [edi + 0x18]
movaps xmm0, xmm5
addss xmm0, dword [eax + 0x20]
addss xmm2, dword [edi + 0x20]
movss xmm6, dword [ecx + edx]
movaps xmm3, xmm7
addss xmm3, dword [eax + 0x1c]
movaps xmm4, xmm6
comiss xmm0, dword [edi + 0x18]
addss xmm4, dword [edi + 0x1c]
jbe 0x40e8ed
comiss xmm2, xmm5
jbe 0x40e8ed
comiss xmm3, xmm6
jbe 0x40e8ed
comiss xmm4, xmm7
mov byte [ebp - 0xb1], 1
ja 0x40e8f4
mov byte [ebp - 0xb1], 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 0x40e931
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 0x264]
cmp dword [eax + 0x18], 0
je 0x40e931
cmp byte [ebp - 0xb1], 0
jne 0x40e931
mov byte [ebp - 0xb2], 1
mov dword [edi + 0x264], eax
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax + 0x49a8]
test ecx, ecx
jne 0x40e947
mov ecx, dword [eax + 0x47f8]
cmp byte [ebp - 0xc8], 0
jne 0x40e96b
test ecx, ecx
je 0x40e962
mov eax, dword [edi + 0x308]
cmp eax, dword [ecx + 0x308]
je 0x40e96b
mov byte [ebp - 0xb8], 0
jmp 0x40e972
mov byte [ebp - 0xb8], 1
movd xmm0, esi
lea eax, [ebp - 0x20]
push ecx
cvtdq2ps xmm0, xmm0
lea edx, [ebp - 0x30]
movss dword [esp], xmm0
push eax
push dword [ebp - 0xec]
push ecx
push dword [ebp - 0xb8]
mov ecx, edi
call fcn.0040c050
add esp, 0x14
cmp byte [ebp - 0xb2], 0
je 0x40e9b2
lea eax, [edi + 0x268]
mov dword [edi + 0x264], eax
mov ecx, dword [ebp - 0xc0]
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 0x40e9d8
movaps xmm7, xmm4
jmp 0x40ea14
movss xmm0, dword [edi + 0x44]
mov eax, ecx
movss xmm1, dword [edi + 0x1c]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
movss xmm0, dword [edi + 0x5c]
addss xmm0, dword [edi + 0x54]
subss xmm1, xmm0
cmp eax, 0x800
jne 0x40ea0d
movss xmm7, dword [edi + 0x2c]
jmp 0x40ea10
xorps xmm7, xmm7
maxss xmm7, xmm1
movss xmm5, dword [edi + 0x40]
ucomiss xmm5, xmm2
lahf
test ah, 0x44
jnp 0x40ea27
movaps xmm6, xmm5
jmp 0x40ea59
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
test dl, dl
je 0x40ea52
movss xmm6, dword [edi + 0x30]
jmp 0x40ea55
xorps xmm6, xmm6
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 - 0xec], xmm1
maxss xmm1, dword [edi + 0x50]
movss dword [ebp - 0xb8], 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 - 0xc4], xmm0
movss xmm0, dword [edi + 0x1d4]
subss xmm0, dword [ebp - 0xc4]
movss dword [ebp - 0xf4], xmm1
maxss xmm1, dword [edi + 0x50]
movss xmm2, dword [ebp - 0xec]
addss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [ebp - 0xf4]
movd xmm0, eax
mov eax, edi
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1f4], xmm0
addss xmm0, xmm6
movss dword [edi + 0x1f8], xmm7
movss dword [edi + 0x1fc], xmm0
movups xmm0, xmmword [edi + 0x1f0]
movups xmmword [edi + 0x200], xmm0
movss xmm0, dword [eax + ecx]
movss xmm6, dword [edi + 0x54]
movaps xmm3, xmm0
subss xmm3, dword [ebp - 0xb8]
movss dword [ebp - 0xe0], 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 - 0xe8], xmm0
subss xmm0, dword [ebp - 0xc4]
addss xmm0, xmm1
addss xmm0, xmm7
movss dword [ebp - 0xec], xmm0
movss dword [edi + 0x224], xmm0
xorps xmm0, xmm0
ucomiss xmm4, xmm0
lahf
test ah, 0x44
jp 0x40eba8
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 0x40ebd9
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 xmm0, dword [ebp - 0xec]
lea ecx, [edi + 0x15c]
addss xmm0, xmm5
movss xmm4, dword [ebp - 0xb8]
cvtps2pd xmm3, xmm2
mov esi, dword [ebp - 0xd4]
movss dword [edi + 0x22c], xmm0
movaps xmm0, xmm6
addss xmm0, xmm2
cvtps2pd xmm2, xmm1
subss xmm0, xmm4
movss dword [edi + 0x134], xmm0
movss xmm0, dword [ebp - 0xe0]
cvtps2pd xmm0, xmm0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x138], 0
addsd xmm3, xmm0
cvtps2pd xmm0, xmm4
subsd xmm3, xmm0
cvtps2pd xmm0, xmm6
addsd xmm3, xmm0
movss xmm0, dword [ebp - 0xe8]
cvtps2pd xmm0, xmm0
addsd xmm3, qword [0x435990]
addsd xmm2, xmm0
movss xmm0, dword [ebp - 0xc4]
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
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, dword [0x43598c]
seta al
cmp byte [ebp - 0xb9], 0
mov byte [edi + 0x152], al
mov byte [edi + 0x153], 0
movss xmm1, dword [esi + 0x37d4]
je 0x40edb5
xorps xmm0, xmm0
movq qword [ecx + 0x12], xmm0
cvttss2si eax, xmm1
push ecx
mov word [ecx + 8], ax
call fcn.0042e310
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 0x40ee27
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.00418e10
lea eax, [edi + 0x180]
mov dword [eax], 0
lea eax, [edi + 0x244]
mov dword [edi + 0x18c], eax
mov eax, dword [ebp - 0xe4]
mov dword [edi + 0x190], 0
mov dword [edi + 0x198], 1
test eax, eax
je 0x40ee5f
mov eax, dword [eax + 0x198]
jmp 0x40ee64
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 0x40eeaf
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.00418e10
lea eax, [edi + 0x1a8]
mov dword [eax], 0
lea eax, [edi + 0x1b4]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x40eee4
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.00418e10
lea eax, [edi + 0x1b4]
mov dword [eax], 0
mov al, byte [edi + 0xc4]
test al, al
jle 0x40eefc
dec al
mov byte [edi + 0xc4], al
mov al, byte [edi + 0xc5]
test al, al
jle 0x40ef0e
dec al
mov byte [edi + 0xc5], al
cmp byte [ebp - 0xc8], 0
je 0x40ef34
mov edx, 2
mov ecx, edi
call fcn.0040f670
cmp edi, dword [esi + 0x47f8]
jne 0x40ef34
xor dl, dl
mov ecx, edi
call fcn.00414050
test byte [ebp - 0xc0], 1
movss xmm4, dword [ebp - 0x24]
movss xmm3, dword [ebp - 0x28]
movss xmm2, dword [ebp - 0x2c]
movss xmm5, dword [ebp - 0x30]
jne 0x40efb1
push dword [ebp - 0x104]
movaps xmm0, xmm5
movss dword [ebp - 0x11c], xmm2
addss xmm0, dword [edi + 0x50]
push dword [ebp - 0x10c]
lea edx, [ebp - 0x120]
movss dword [ebp - 0x114], xmm4
mov ecx, edi
movss dword [ebp - 0x120], xmm0
movaps xmm0, xmm3
subss xmm0, dword [edi + 0x50]
movss dword [ebp - 0x118], xmm0
call fcn.0040c670
movss xmm2, dword [ebp - 0x2c]
add esp, 8
movss xmm3, dword [ebp - 0x28]
movss xmm4, dword [ebp - 0x24]
movss xmm5, dword [ebp - 0x30]
mov edx, dword [0x438420]
xor eax, eax
mov dword [edi + 0x230], eax
movss xmm1, dword [edx + 0x37ec]
movss xmm0, dword [edx + 0x37f0]
subss xmm5, xmm1
addss xmm3, xmm1
movss xmm1, dword [edx + 0xdbc]
addss xmm4, xmm0
subss xmm2, xmm0
comiss xmm1, xmm5
jb 0x40f00d
movss xmm0, dword [edx + 0xdc0]
comiss xmm0, xmm2
jb 0x40f00d
comiss xmm3, xmm1
jbe 0x40f00d
comiss xmm4, xmm0
mov dword [ebp - 0x104], 1
ja 0x40f013
mov dword [ebp - 0x104], eax
mov eax, dword [edi + 0x70]
mov ecx, dword [esi + 0x46b8]
movaps xmm0, xmmword [ebp - 0x30]
mov dword [edx + 0x46e0], eax
mov eax, dword [ebp - 0x104]
mov dword [edx + 0x46e4], ecx
mov dword [edx + 0x46e8], eax
movups xmmword [edx + 0x46fc], xmm0
movups xmmword [edx + 0x46ec], xmm0
mov eax, dword [esi + 0x46bc]
test eax, eax
je 0x40f0e2
cmp dword [edi + 8], eax
je 0x40f062
cmp dword [edi + 0x70], eax
jne 0x40f0e2
call fcn.004182e0
jmp 0x40f0e2
mov edx, dword [0x438420]
mov dword [edx + 0x3e60], edi
mov eax, dword [edi + 0x194]
cmp eax, 0xffffffff
je 0x40f08e
imul ecx, eax, 0x1f0
add ecx, dword [edx + 0x4a90]
jmp 0x40f090
xor ecx, ecx
mov dword [edx + 0x4a74], ecx
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3bd4]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x40f0ba
mulss xmm0, dword [eax + 0x25c]
movss dword [edx + 0x3be4], xmm0
movss dword [edx + 0x3bd0], xmm0
test ecx, ecx
jne 0x40f0da
cmp dword [edi + 0x190], ecx
jne 0x40f0da
mov al, 1
jmp 0x40f0dc
xor al, al
mov byte [edi + 0x150], al
mov ecx, dword [0x438420]
mov eax, dword [ecx + 0x3e60]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e60]
movss xmm1, dword [edi + 0x1e0]
movss xmm0, dword [edi + 0x1e4]
movss xmm2, dword [edi + 0x1e8]
mov edx, dword [eax + 0x264]
movss xmm3, dword [edi + 0x1ec]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe0], edx
movups xmm4, xmmword [edx + 0x60]
movss dword [ebp - 0x30], xmm1
comiss xmm4, xmm1
movss dword [ebp - 0x2c], xmm0
movss dword [ebp - 0x28], xmm2
movss dword [ebp - 0x24], xmm3
movaps xmmword [ebp - 0x130], xmm4
jbe 0x40f159
movaps xmm1, xmm4
movss dword [ebp - 0x30], xmm1
movss xmm4, dword [ebp - 0x12c]
comiss xmm4, xmm0
jbe 0x40f16e
movaps xmm0, xmm4
movss dword [ebp - 0x2c], xmm0
movss xmm4, dword [ebp - 0x128]
comiss xmm2, xmm4
jbe 0x40f183
movaps xmm2, xmm4
movss dword [ebp - 0x28], xmm2
movss xmm4, dword [ebp - 0x124]
comiss xmm3, xmm4
jbe 0x40f198
movaps xmm3, xmm4
movss dword [ebp - 0x24], xmm3
comiss xmm1, xmm2
jb 0x40f1a2
movss dword [ebp - 0x28], xmm1
comiss xmm0, xmm3
jb 0x40f1ac
movss dword [ebp - 0x24], xmm0
mov eax, dword [edx + 0x40]
lea ecx, [edx + 0x3c]
mov dword [ebp - 0xf4], ecx
cmp dword [ecx], eax
jne 0x40f1f5
mov edx, dword [ecx]
inc edx
mov dword [ebp - 0xec], edx
test eax, eax
je 0x40f1d9
cdq
sub eax, edx
mov edx, dword [ebp - 0xec]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x40f1de
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00419530
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ebp - 0xe0]
mov eax, dword [ecx]
movaps xmm0, xmmword [ebp - 0x30]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, edx
movups xmmword [edx + 0x60], xmm0
call fcn.004217f0
mov edx, dword [ebp - 0xe8]
mov eax, dword [edx + 0x264]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
shl ecx, 4
movss xmm0, dword [ecx + eax - 0xc]
movss xmm1, dword [ecx + eax - 8]
movss xmm2, dword [ecx + eax - 4]
mov eax, dword [ecx + eax - 0x10]
mov dword [edx + 0x210], eax
mov eax, dword [ebp - 0xfc]
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 + 0x471c], 0
cmp eax, dword [ebp - 0x100]
je 0x40f3e1
mov eax, dword [ebp - 0xc0]
test eax, 0x1000000
je 0x40f34b
test al, 0x40
jne 0x40f30f
cmp byte [edi + 0xc4], 0
jg 0x40f30f
cmp byte [edi + 0xc5], 0
jg 0x40f30f
test eax, 0x800000
je 0x40f2d7
cmp byte [esi + 0x483c], 0
je 0x40f2d7
mov eax, dword [esi + 0x47f8]
test eax, eax
je 0x40f2d7
mov eax, dword [eax + 0x30c]
cmp eax, dword [edi + 0x30c]
jne 0x40f2d7
mov al, 1
jmp 0x40f2d9
xor al, al
cmp byte [esi + 0x5b8c], 0
jne 0x40f30f
test al, al
jne 0x40f30f
movss xmm0, dword [edi + 0x1c0]
comiss xmm0, dword [edi + 0x1c8]
jae 0x40f308
movss xmm0, dword [edi + 0x1c4]
comiss xmm0, dword [edi + 0x1cc]
jb 0x40f30f
mov byte [edi + 0xcc], 1
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x40f34b
cmp byte [eax + 0xad], 0
jne 0x40f32b
cmp byte [eax + 0xcc], 0
jle 0x40f332
mov byte [edi + 0xcc], 1
cmp byte [eax + 0xad], 0
jne 0x40f344
cmp byte [eax + 0xcd], 0
jle 0x40f34b
mov byte [edi + 0xcd], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x3788]
jb 0x40f35e
mov byte [edi + 0xcc], 1
cmp byte [edi + 0xcc], 0
jg 0x40f37e
cmp byte [edi + 0xcd], 0
jg 0x40f37e
xor cl, cl
cmp byte [edi + 0xce], cl
jg 0x40f380
xor al, al
jmp 0x40f382
mov cl, 1
mov al, 1
mov byte [edi + 0xb1], al
mov al, byte [edi + 0xcf]
test al, al
jle 0x40f3a1
dec al
mov byte [edi + 0xcf], al
or dword [edi + 0xc], 0xc0200
xor al, al
cmp byte [edi + 0xad], al
jne 0x40f3b7
cmp byte [edi + 0xaa], al
je 0x40f3b7
test cl, cl
je 0x40f3db
cmp byte [edi + 0xc4], 0
jg 0x40f3db
cmp byte [edi + 0xc5], 0
jg 0x40f3db
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 0x40f447
cmp byte [esi + 0x64], 0
je 0x40f3f9
cmp dword [ebp - 0x110], 0
je 0x40f40e
cmp byte [esi + 0x65], 0
je 0x40f447
movsx eax, byte [esi + 0x5be2]
cmp eax, dword [esi + 0x3e3c]
jne 0x40f447
mov al, byte [edi + 0xc4]
test al, al
jle 0x40f420
inc al
mov byte [edi + 0xc4], al
mov al, byte [edi + 0xc5]
test al, al
jle 0x40f432
inc al
mov byte [edi + 0xc5], al
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e3cb
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.0042e3cb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret