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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4e0070]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, ecx
push edi
mov edi, dword [0x4e40a0]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x9c], edi
call fcn.00412680
mov ebx, eax
test ebx, ebx
sete al
mov byte [ebp - 0x29], al
test al, al
je 0x414ee9
mov ecx, dword [ebp - 0x80]
mov edx, esi
call fcn.004128c0
mov ebx, eax
mov edx, dword [edi + 0x3dc8]
mov eax, esi
and eax, 0xc0200
mov dword [ebp - 0x78], edx
mov ecx, esi
or ecx, 6
cmp eax, 0xc0200
mov eax, dword [ebx + 0x234]
cmovne ecx, esi
mov dword [ebp - 0x74], eax
cmp dword [edi + 0x3e04], 0
lea esi, [edi + 0x3e04]
mov dword [ebp - 0x40], ecx
jne 0x414f31
cmp byte [edi + 0x3dd5], 0
je 0x414f31
mov eax, 1
jmp 0x414f33
xor eax, eax
mov byte [ebx + 0xae], al
lea eax, [edx - 1]
cmp dword [ebp - 0x74], eax
setl al
mov byte [ebp - 0x2e], al
test ecx, 0x4000000
je 0x414f85
mov eax, dword [edi + 0x478c]
mov edx, dword [edi + 0x4788]
lea esi, [eax + eax*4]
mov eax, dword [ebx + 0xbc]
cmp ebx, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov edx, dword [ebp - 0x78]
lea esi, [edi + 0x3e04]
setne al
or cl, al
mov al, byte [ebp - 0x2e]
or al, cl
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 0x2e], al
mov byte [ebx + 0xac], al
test al, al
je 0x414fa4
or byte [ebx + 0xcc], 8
or byte [ebx + 0xcd], 8
or byte [ebx + 0xce], 8
cmp dword [ebp - 0x74], edx
je 0x414ff9
mov dl, byte [ebp - 0x29]
push ecx
mov ecx, ebx
call fcn.00412790
mov eax, dword [ebp - 0x78]
add esp, 4
mov edx, dword [ebp - 0x40]
mov dword [ebx + 0x234], eax
xor eax, eax
mov dword [ebx + 8], edx
movsd xmm0, qword [edi + 0x3dc0]
cvtpd2ps xmm0, xmm0
mov word [ebx + 0xb6], ax
movss dword [ebx + 0x238], xmm0
mov ax, word [edi + 0x3e1c]
mov word [ebx + 0xb8], ax
inc dword [edi + 0x3e1c]
jmp 0x414fff
mov edx, dword [ebx + 8]
mov dword [ebp - 0x40], edx
cmp dword [esi], 0
jne 0x415008
xor eax, eax
jmp 0x415012
imul ecx, dword [esi], 0x54
mov eax, dword [esi + 8]
mov eax, dword [eax + ecx - 0x54]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x44], eax
cmp ecx, dword [ebp - 0x78]
je 0x415030
mov ecx, edx
and ecx, 0x5000000
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x64], ecx
jmp 0x415039
mov eax, dword [ebx + 0x2f4]
mov dword [ebp - 0x64], eax
cmp dword [ebx + 0xe0], 0
lea esi, [ebx + 0xe0]
jne 0x415086
mov edx, dword [esi]
mov ecx, dword [esi + 4]
cmp edx, ecx
jne 0x415079
inc edx
mov dword [ebp - 0x3c], edx
test ecx, ecx
je 0x415067
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x3c]
sar eax, 1
add eax, ecx
jmp 0x41506c
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.00420540
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [ebx + 4]
mov dword [ecx + edx*4], eax
inc dword [esi]
lea ecx, [ebp - 0x108]
mov dword [edi + 0x3e28], ebx
call fcn.0040b180
mov eax, dword [edi + 0x46d4]
lea ecx, [ebp - 0xcc]
xorps xmm0, xmm0
mov word [ebp - 0xbc], 0
movups xmmword [ebp - 0xcc], xmm0
mov dword [ebp - 0x10c], ebx
movups xmm0, xmmword [edi + 0x469c]
mov dword [ebp - 0xd0], eax
movups xmmword [ebp - 0x108], xmm0
movups xmm0, xmmword [edi + 0x46ac]
movups xmmword [ebp - 0xf8], xmm0
movups xmm0, xmmword [edi + 0x46bc]
movups xmmword [ebp - 0xe8], xmm0
movq xmm0, qword [edi + 0x46cc]
movq qword [ebp - 0xd8], xmm0
call fcn.004199e0
lea eax, [ebp - 0x10c]
push eax
lea ecx, [edi + 0x3e04]
call fcn.004204d0
mov eax, dword [ebp - 0x40]
mov ecx, eax
and ecx, 0x10000000
mov dword [ebp - 0x84], ecx
je 0x41512c
inc dword [edi + 0x4798]
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [ebp - 0x78]
je 0x41514c
push dword [ebp - 0x64]
mov edx, eax
mov ecx, ebx
call fcn.00414d20
mov eax, dword [ebp - 0x44]
add esp, 4
mov dword [ebx + 0x2f8], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x7c], eax
mov eax, dword [0x4e40a0]
mov edx, dword [eax + 0x475c]
lea esi, [eax + 0x475c]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x48], eax
cmp edx, ecx
jne 0x415195
inc edx
mov dword [ebp - 0x3c], edx
test ecx, ecx
je 0x415183
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x3c]
sar eax, 1
add eax, ecx
jmp 0x415188
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.00420540
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0x7c]
mov dword [eax + ecx*4], edx
inc dword [esi]
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x40]
mov dword [eax + 0x467c], edx
mov eax, dword [edi + 0x467c]
mov dword [ebx + 0x338], eax
mov eax, esi
and eax, 0x4000000
mov dword [edi + 0x3e28], 0
mov dword [ebp - 0x7c], eax
je 0x415209
mov eax, dword [edi + 0x478c]
lea ecx, [edi + 0x478c]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x4788]
mov dword [eax + edx*8 + 4], ebx
lea esi, [eax + edx*8]
mov eax, dword [ebp - 0x44]
push esi
mov eax, dword [eax + 0x144]
mov dword [esi + 0xc], eax
call fcn.00420360
mov eax, dword [esi]
mov esi, dword [ebp - 0x40]
mov dword [ebx + 0xbc], eax
test byte [edi + 0x46d8], 1
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x2d], 0
mov byte [ebp - 0x2b], 0
je 0x4152bf
mov dl, byte [ebx + 0xcc]
mov ecx, dword [edi + 0x46dc]
movsx eax, dl
and eax, ecx
setne byte [ebp - 0x2c]
test eax, eax
je 0x4152ae
movss xmm1, dword [edi + 0x46f4]
movss xmm0, dword [edi + 0x46f0]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x4d371c]
jbe 0x4152ae
mov eax, dword [edi + 0x46e8]
mov dword [ebx + 0xd0], eax
mov eax, dword [edi + 0x46ec]
mov dword [ebx + 0xd4], eax
mov eax, dword [edi + 0x46f0]
mov dword [ebx + 0xd8], eax
mov eax, dword [edi + 0x46f4]
mov dword [ebx + 0xdc], eax
mov eax, dword [ebx + 0xcc]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [ebx + 0xcc], ecx
jmp 0x4152bf
push ecx
lea edx, [edi + 0x46e8]
mov ecx, ebx
call fcn.004173c0
add esp, 4
test byte [edi + 0x46d8], 2
je 0x41531e
movsx eax, byte [ebx + 0xcd]
xorps xmm1, xmm1
mov ecx, dword [edi + 0x46e0]
and eax, ecx
je 0x4152ef
movss xmm0, dword [edi + 0x46f8]
comiss xmm0, xmm1
jbe 0x4152ef
mov byte [ebp - 0x2d], 1
jmp 0x4152f4
xor dl, dl
mov byte [ebp - 0x2d], dl
test eax, eax
je 0x415309
movss xmm0, dword [edi + 0x46fc]
comiss xmm0, xmm1
mov byte [ebp - 0x2b], 1
ja 0x41530d
mov byte [ebp - 0x2b], 0
push ecx
lea edx, [edi + 0x46f8]
mov ecx, ebx
call fcn.00417550
add esp, 4
test byte [edi + 0x46d8], 0x80
je 0x415368
movss xmm0, dword [edi + 0x4708]
xorps xmm1, xmm1
comiss xmm0, xmm1
jb 0x415349
movss dword [ebx + 0x84], xmm0
mov dword [ebx + 0x8c], 0
movss xmm0, dword [edi + 0x470c]
comiss xmm0, xmm1
jb 0x415368
movss dword [ebx + 0x88], xmm0
mov dword [ebx + 0x90], 0
test byte [edi + 0x46d8], 4
je 0x415382
mov eax, dword [edi + 0x4700]
mov dword [ebx + 0x38], eax
mov eax, dword [edi + 0x4704]
jmp 0x4153a1
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x78]
je 0x4153a4
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], 0
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 0x3c], eax
test byte [edi + 0x46d8], 8
je 0x4153f1
mov ecx, dword [edi + 0x46e4]
mov dl, byte [edi + 0x4710]
test ecx, ecx
je 0x4153c8
movsx eax, byte [ebx + 0xce]
test ecx, eax
je 0x4153f1
movzx ecx, byte [ebx + 0xce]
mov eax, dword [ebx + 0xcc]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [ebx + 0xa9], dl
mov dword [ebx + 0xcc], ecx
test byte [edi + 0x46d8], 0x20
je 0x415401
mov ecx, ebx
call fcn.004170f0
cmp byte [ebx + 0xac], 0
je 0x41541f
and byte [ebx + 0xcc], 0xf7
and byte [ebx + 0xcd], 0xf7
and byte [ebx + 0xce], 0xf7
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x78]
je 0x416b72
movaps xmm0, xmmword [0x4d3e60]
mov eax, esi
and eax, 0x3000000
mov byte [ebx + 0xa6], 1
mov dword [ebp - 0x70], eax
mov al, byte [ebx + 0xc9]
mov byte [ebp - 0x65], al
mov byte [ebx + 0xb0], 0
movups xmmword [ebx + 0x20c], xmm0
mov eax, dword [ebx + 0xe4]
mov dword [ebp - 0x3c], eax
cmp eax, 1
jge 0x415493
test eax, eax
je 0x415478
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x3c]
jmp 0x41547d
mov ecx, 8
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
lea ecx, [ebx + 0xe0]
push eax
call fcn.00420540
mov dword [ebx + 0xe0], 1
mov ecx, dword [ebx + 0x260]
call fcn.004293e0
cmp byte [ebx + 0x344], 0
mov dword [ebx + 0x190], 0xffffffff
je 0x4154c2
mov ecx, ebx
call fcn.0040fb40
cmp dword [edi + 0x4908], 0
je 0x415528
test dword [ebx + 8], 0x80000
jne 0x415528
cmp byte [ebp - 0x29], 0
jne 0x415528
mov esi, dword [ebx]
mov ecx, esi
mov eax, dword [ebp - 0x80]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x415501
test dl, dl
je 0x4154fd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x415501
add eax, 2
add ecx, 2
test dl, dl
jne 0x4154e1
xor eax, eax
jmp 0x415506
sbb eax, eax
or eax, 1
test eax, eax
je 0x415528
mov eax, dword [ebx + 0x68]
lea edx, [ebp - 0x44]
push dword [ebp - 0x80]
mov ecx, esi
mov dword [ebp - 0x44], eax
call fcn.0040d460
mov dword [ebx], eax
add esp, 4
mov eax, dword [ebp - 0x44]
mov dword [ebx + 0x68], eax
lea eax, [ebx + 0x28]
mov ecx, ebx
lea esi, [ebx + 0x30]
mov edx, eax
push esi
call fcn.00412cd0
mov al, byte [ebx + 0xc8]
add esp, 4
test al, al
jle 0x41554d
sub al, 1
mov byte [ebx + 0xc8], al
mov al, byte [ebx + 0xc9]
test al, al
jle 0x41555f
sub al, 1
mov byte [ebx + 0xc9], al
mov al, byte [ebx + 0xca]
test al, al
jle 0x415571
dec al
mov byte [ebx + 0xca], al
cmp byte [ebp - 0x29], 0
mov cl, byte [ebp - 0x2d]
mov dl, byte [ebp - 0x2b]
je 0x41558c
test cl, cl
je 0x415585
test dl, dl
jne 0x41558c
mov byte [ebx + 0xc9], 1
cmp byte [ebp - 0x2e], 0
je 0x4155ea
mov eax, dword [ebp - 0x40]
test eax, 0x6000000
je 0x4155ea
mov byte [ebx + 0xc9], 1
test al, 0x40
je 0x4155ea
test cl, cl
jne 0x4155b9
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
test dl, dl
jne 0x4155cb
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x1c], 0
mov dword [ebp - 0x50], 0
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x2c], eax
mov esi, dword [0x4e40a0]
mov ecx, ebx
mov eax, dword [esi + 0x47a4]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov dword [ebx + 0xc], eax
call fcn.0040f9a0
mov ecx, dword [ebp - 0x40]
mov edx, ecx
and edx, 0x1000000
mov dword [ebp - 0x6c], edx
je 0x415620
mov eax, dword [edi + 0x37c8]
mov dword [ebx + 0x4c], eax
jmp 0x415647
test ecx, 0x6000000
je 0x41563a
test ecx, 0x8000000
jne 0x41563a
movss xmm0, dword [edi + 0x37d0]
jmp 0x415642
movss xmm0, dword [edi + 0x37ac]
movss dword [ebx + 0x4c], xmm0
mov eax, dword [edi + 0x37a0]
xorps xmm5, xmm5
mov dword [ebx + 0x40], eax
mov eax, dword [edi + 0x37a4]
mov dword [ebx + 0x44], eax
test edx, edx
je 0x4156a3
test ecx, 0x4010000
jne 0x4156a3
movss xmm0, dword [ebx + 0x4c]
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jp 0x4156a3
test ecx, 0x400
je 0x415688
movss xmm0, dword [edi + 0x37a4]
jmp 0x41568b
movaps xmm0, xmm5
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
movss dword [ebp - 0x4c], xmm0
mov dword [ebx + 0x40], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 0x44], eax
movss xmm0, dword [ebx + 0x40]
maxss xmm0, dword [edi + 0x37e4]
maxss xmm0, dword [edi + 0x4730]
movss dword [ebx + 0x150], xmm0
mov eax, dword [edi + 0x4734]
mov dword [ebx + 0x154], eax
mov al, byte [ebp - 0x29]
mov byte [ebp - 0x2a], al
mov dword [ebp - 0x48], eax
test cl, 0x21
jne 0x41575e
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.0040c4d0
cmp dword [edi + 0x3e2c], ebx
jne 0x415728
cmp dword [edi + 0x3e60], 0
jne 0x415728
cmp dword [edi + 0x3e64], 0
jne 0x415728
push 1
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x28]
call fcn.00417e40
add esp, 4
test al, al
je 0x415728
cmp word [edi + 0x3702], 2
jne 0x415728
mov byte [ebx + 0xaa], 1
cmp byte [ebx + 0xaa], 0
je 0x415765
mov cl, byte [ebx + 0xa9]
test cl, cl
sete al
test cl, cl
mov byte [ebx + 0xa9], al
mov ecx, 1
mov eax, dword [ebp - 0x48]
movzx eax, al
cmovne eax, ecx
mov ecx, ebx
mov dword [ebp - 0x48], eax
call fcn.0041eb80
jmp 0x415765
mov byte [ebx + 0xa9], 0
mov eax, dword [ebx + 0x9c]
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0xa0]
mov byte [ebx + 0xaa], 0
mov dword [ebp - 0x34], eax
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x58], 0
test cl, 1
je 0x415799
movaps xmm2, xmm5
jmp 0x4157d2
movss xmm1, dword [esi + 0x3bb8]
mov eax, dword [ebx + 0x2f4]
mulss xmm1, dword [ebx + 0x258]
test eax, eax
je 0x4157c2
movss xmm0, dword [eax + 0x258]
mulss xmm0, xmm1
movaps xmm1, xmm0
movss xmm2, dword [esi + 0x37d8]
addss xmm2, xmm2
addss xmm2, xmm1
test ecx, 0x400
je 0x415816
movss xmm1, dword [esi + 0x3bb8]
mov eax, dword [ebx + 0x2f4]
mulss xmm1, dword [ebx + 0x258]
test eax, eax
je 0x4157fc
mulss xmm1, dword [eax + 0x258]
movss xmm0, dword [esi + 0x37d8]
addss xmm1, dword [ebx + 0x154]
addss xmm0, xmm0
addss xmm0, xmm1
jmp 0x415819
movaps xmm0, xmm5
mov dword [ebp - 0x50], 0
addss xmm0, xmm2
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x50]
mov dword [ebx + 0x9c], eax
mov edx, ebx
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 0xa0], eax
lea eax, [ebx + 0x30]
push eax
movss dword [ebx + 0x54], xmm0
mov dword [ebx + 0x5c], 0
call fcn.00412e00
add esp, 4
test byte [ebp - 0x40], 0x40
je 0x41589f
cmp byte [ebx + 0xa9], 0
jne 0x41589f
mov dl, byte [ebp - 0x2d]
test dl, dl
jne 0x41587e
movss xmm0, dword [ebp - 0x50]
movss dword [ebx + 0x20], xmm0
mov byte [ebp - 0x2a], 1
cmp byte [ebp - 0x2b], 0
jne 0x415943
movss xmm0, dword [ebp - 0x4c]
mov eax, 1
movss dword [ebx + 0x24], xmm0
mov dword [ebp - 0x48], eax
jmp 0x415943
mov al, byte [ebx + 0xc0]
test al, al
jg 0x4158b6
cmp byte [ebx + 0xc1], 0
jle 0x415943
mov dl, byte [ebp - 0x2d]
test dl, dl
jne 0x4158e3
test al, al
jle 0x4158e3
cmp byte [ebx + 0xc3], dl
je 0x4158d5
movss xmm0, dword [ebx + 0x20]
maxss xmm0, dword [ebp - 0x50]
jmp 0x4158da
movss xmm0, dword [ebp - 0x50]
movss dword [ebx + 0x20], xmm0
mov byte [ebp - 0x2a], 1
cmp byte [ebp - 0x2b], 0
jne 0x415916
cmp byte [ebx + 0xc1], 0
jle 0x415916
cmp byte [ebx + 0xc3], 0
je 0x415907
movss xmm0, dword [ebx + 0x24]
maxss xmm0, dword [ebp - 0x4c]
jmp 0x41590c
movss xmm0, dword [ebp - 0x4c]
mov al, 1
movss dword [ebx + 0x24], xmm0
mov dword [ebp - 0x48], eax
cmp byte [ebx + 0xa9], 0
jne 0x415943
test dword [ebx + 8], 0x100
mov ecx, dword [0x4e40a0]
jne 0x415943
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x59f0]
jb 0x415943
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x59f0], eax
lea esi, [ebx + 0x20]
mov edx, ebx
push esi
lea ecx, [ebp - 0x90]
call fcn.00412ab0
mov edx, eax
add esp, 4
cmp byte [ebx + 0xa9], 0
mov ecx, dword [edx]
mov dword [esi], ecx
mov ecx, dword [edx + 4]
mov dword [esi + 4], ecx
mov esi, dword [ebp - 0x6c]
je 0x4159a0
test esi, esi
jne 0x4159a0
lea eax, [ebp - 0x11c]
mov ecx, ebx
push eax
call fcn.0040c4d0
movss xmm0, dword [eax + 8]
subss xmm0, dword [eax]
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 4]
movss dword [ebp - 0x5c], xmm0
jmp 0x4159ab
mov eax, dword [edx]
mov dword [ebp - 0x60], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x5c], eax
cmp byte [ebp - 0x2e], 0
lea ecx, [ebp - 0x60]
mov eax, dword [ecx]
mov dword [ebx + 0x18], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 0x1c], eax
je 0x4159fb
cmp dword [ebp - 0x7c], 0
mov dword [ebx + 0xc4], 0xffffffff
je 0x4159fb
test dword [ebp - 0x40], 0x8000000
jne 0x4159fb
cmp byte [ebp - 0x2c], 0
jne 0x4159fb
mov eax, dword [edi + 0x478c]
mov ecx, dword [edi + 0x4794]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*8 - 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [ecx + edx*8 - 0xc]
mov dword [ebx + 0x14], eax
test esi, esi
je 0x415a8c
mov edx, dword [ebp - 0x64]
mov ax, word [edx + 0x17c]
lea esi, [edx + 0x17c]
mov word [ebx + 0xb6], ax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, ecx
jne 0x415a50
lea edx, [eax + 1]
mov dword [ebp - 0x3c], edx
test ecx, ecx
je 0x415a3b
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x3c]
sar eax, 1
add eax, ecx
jmp 0x415a40
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.00420540
mov edx, dword [ebp - 0x64]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], ebx
inc dword [esi]
cmp dword [ebp - 0x7c], 0
mov al, byte [ebp - 0x2c]
mov ecx, dword [ebp - 0x70]
jne 0x415a94
test al, al
jne 0x415a94
mov esi, dword [ebp - 0x6c]
cmp ecx, 0x3000000
je 0x415a97
mov eax, dword [edx + 0xec]
mov dword [ebx + 0x10], eax
mov eax, dword [edx + 0xf0]
mov dword [ebx + 0x14], eax
mov al, byte [ebp - 0x2c]
jmp 0x415a97
mov al, byte [ebp - 0x2c]
mov ecx, dword [ebp - 0x70]
jmp 0x415a97
mov esi, dword [ebp - 0x6c]
movss xmm0, dword [ebx + 0xd0]
ucomiss xmm0, dword [0x4d382c]
lahf
test ah, 0x44
jnp 0x415afa
cmp byte [ebx + 0xc9], 0
jne 0x415afa
movss xmm1, dword [ebx + 0x18]
lea edx, [ebp - 0x60]
mulss xmm1, dword [ebx + 0xd8]
mov ecx, ebx
push 0
movss xmm2, dword [ebx + 0x1c]
mulss xmm2, dword [ebx + 0xdc]
subss xmm0, xmm1
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [ebx + 0xd4]
subss xmm0, xmm2
movss dword [ebp - 0x5c], xmm0
call fcn.004173c0
add esp, 4
jmp 0x415b3f
cmp dword [ebp - 0x84], 0
jne 0x415b27
cmp dword [ebp - 0x7c], 0
je 0x415b12
test al, al
jne 0x415b12
cmp byte [ebp - 0x65], al
jg 0x415b27
test dword [ebp - 0x40], 0x2000000
je 0x415b3f
test al, al
jne 0x415b3f
cmp ecx, 0x3000000
je 0x415b3f
mov edx, ebx
lea ecx, [ebp - 0xa4]
call fcn.0041aae0
mov ecx, dword [eax]
mov dword [ebx + 0x10], ecx
mov eax, dword [eax + 4]
mov dword [ebx + 0x14], eax
cmp byte [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x44]
movss xmm0, dword [ecx + 4]
movss xmm1, dword [ecx + 8]
movss xmm7, dword [ecx + 0xc]
movss xmm6, dword [ecx + 0x10]
addss xmm7, xmm0
movss xmm5, dword [ecx + 0x14]
addss xmm6, xmm1
movss xmm2, dword [ecx + 0x1c]
movss xmm4, dword [ecx + 0x18]
addss xmm2, xmm5
movss xmm3, dword [ecx + 0x20]
movss dword [ebp - 0x28], xmm0
addss xmm3, xmm4
movss xmm0, dword [edi + 0x3840]
maxss xmm0, dword [edi + 0x3848]
movss dword [ebp - 0x24], xmm1
movss xmm1, dword [edi + 0x3844]
maxss xmm1, dword [edi + 0x384c]
movss dword [ebp - 0x20], xmm7
addss xmm5, xmm0
movss dword [ebp - 0x1c], xmm6
subss xmm2, xmm0
addss xmm4, xmm1
subss xmm3, xmm1
movss dword [ebp - 0x60], xmm5
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xb4], eax
movss dword [ebp - 0x5c], xmm4
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xb0], eax
movss dword [ebp - 0x88], xmm2
mov eax, dword [ebp - 0x88]
movss dword [ebp - 0x84], xmm3
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xa8], eax
jne 0x415c30
test esi, esi
jne 0x415c30
subss xmm7, dword [ecx + 4]
xorps xmm0, xmm0
comiss xmm7, xmm0
jbe 0x415c30
subss xmm6, dword [ecx + 8]
comiss xmm6, xmm0
jbe 0x415c30
lea edx, [ebp - 0xb4]
mov ecx, ebx
call fcn.00413da0
mov ecx, dword [ebp - 0x40]
cvttss2si eax, dword [ebx + 0x10]
movd xmm0, eax
cvttss2si eax, dword [ebx + 0x14]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x60], xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x60]
mov dword [ebx + 0x10], eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x5c], xmm0
mov eax, dword [ebp - 0x5c]
mov dword [ebx + 0x14], eax
test esi, esi
je 0x415c6f
movss xmm0, dword [edi + 0x37c4]
jmp 0x415c8f
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x415c87
movss xmm0, dword [edi + 0x37cc]
jmp 0x415c8f
movss xmm0, dword [edi + 0x37a8]
xor al, al
movss dword [ebx + 0x48], xmm0
mov dword [ebp - 0x44], eax
cmp byte [ebp - 0x2e], al
je 0x415cf5
test ecx, 0x1000
jne 0x415cf5
cmp dword [ebp - 0x7c], 0
je 0x415cb2
mov byte [ebp - 0x44], 1
jmp 0x415cc4
cmp dword [ebp - 0x70], 0
mov ecx, 1
movzx eax, al
cmove eax, ecx
mov dword [ebp - 0x44], eax
call fcn.0041a590
test eax, eax
je 0x415cf5
mov edx, eax
mov ecx, ebx
call fcn.004173a0
test al, al
jne 0x415cf5
mov byte [ebp - 0x44], al
cmp ebx, dword [ebx + 0x2fc]
jne 0x415cf5
mov ecx, ebx
call fcn.00414dc0
mov edx, eax
mov ecx, ebx
call fcn.00417030
movss xmm2, dword [edi + 0x3bb4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x18], xmm0
xor eax, eax
mov dword [ebp - 0x3c], 0xffffffff
movss xmm0, dword [ebx + 0x48]
movaps xmm1, xmm2
addss xmm0, dword [0x4d378c]
mulss xmm2, dword [0x4d373c]
cmp byte [edi + 0x66], al
mulss xmm1, dword [0x4d3790]
setne al
addss xmm2, xmm0
inc eax
cmp byte [ebx + 0xa9], 0
mov dword [ebp - 0x5c], eax
maxss xmm1, xmm2
cvttss2si esi, xmm1
jne 0x415d74
lea ecx, [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x3c]
mov ecx, ebx
push eax
lea edx, [ebp - 0x50]
call fcn.00413150
add esp, 0x10
test al, al
je 0x415d74
mov dl, 1
mov byte [ebp - 0x2a], dl
jmp 0x415d77
mov edx, dword [ebp - 0x48]
cmp byte [ebx + 0xa9], 0
mov al, byte [ebp - 0x3c]
mov byte [ebx + 0xb1], al
jne 0x415f2c
cmp byte [ebp - 0x29], 0
lea ecx, [ebp - 0x50]
movss xmm0, dword [ebx + 0x54]
movss xmm6, dword [ebx + 0x5c]
movss xmm2, dword [ebx + 0x24]
addss xmm0, xmm6
movss xmm1, dword [ebx + 0x1d8]
subss xmm1, dword [ebx + 0x1d0]
movss xmm4, dword [ebp - 0x38]
movss xmm5, dword [ebp - 0x34]
movss xmm3, dword [ebx + 0x20]
subss xmm2, xmm0
movss xmm0, dword [ebx + 0x1d4]
subss xmm0, dword [ebx + 0x1cc]
addss xmm5, xmm1
addss xmm4, xmm0
je 0x415df4
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
jmp 0x415e1e
movss xmm0, dword [ebx + 0x40]
movss xmm1, dword [ebx + 0x44]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [ebx + 0x28]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ebx + 0x2c]
addss xmm0, xmm1
movss dword [ebp - 0x4c], xmm0
cmp byte [ebp - 0x2a], 0
mov eax, dword [ecx]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x34], eax
jne 0x415e32
movaps xmm3, xmm4
test dl, dl
jne 0x415e39
movaps xmm2, xmm5
mov ecx, dword [ebp - 0x40]
movss xmm1, dword [ebp - 0x34]
test ecx, 0x4000
jne 0x415e57
comiss xmm1, xmm2
jbe 0x415e53
test cl, 8
je 0x415e57
xor edx, edx
jmp 0x415e5c
mov edx, 1
mov byte [ebx + 0xa5], dl
test ecx, 0x8000
jne 0x415e9b
test dl, dl
je 0x415e78
movss xmm0, dword [edi + 0x380c]
jmp 0x415e7b
xorps xmm0, xmm0
subss xmm3, xmm0
movss xmm0, dword [ebp - 0x38]
comiss xmm0, xmm3
jbe 0x415e97
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
je 0x415e9b
xor eax, eax
jmp 0x415ea0
mov eax, 1
mov byte [ebx + 0xa4], al
test al, al
je 0x415ed4
test dl, dl
jne 0x415ec7
comiss xmm1, xmm2
jbe 0x415ebf
test cl, 8
jne 0x415ebf
mov eax, 1
jmp 0x415ec1
xor eax, eax
mov byte [ebx + 0xa5], al
movss xmm1, dword [edi + 0x380c]
xorps xmm0, xmm0
jmp 0x415eda
xorps xmm0, xmm0
movaps xmm1, xmm0
cmp byte [ebx + 0xa5], 0
je 0x415eeb
movss xmm0, dword [edi + 0x380c]
movss dword [ebp - 0x38], xmm0
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x9c], eax
movss xmm0, dword [ebx + 0x9c]
addss xmm0, dword [ebx + 0x58]
movss dword [ebp - 0x34], xmm1
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0xa0], eax
movss dword [ebx + 0x58], xmm0
movss xmm0, dword [ebx + 0xa0]
addss xmm0, xmm6
movss dword [ebx + 0x5c], xmm0
jmp 0x415f2f
mov ecx, dword [ebp - 0x40]
mov eax, ecx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x415f50
cmp dword [ebp - 0x70], 0x3000000
je 0x415f50
mov eax, dword [ebp - 0x64]
add eax, 0x20c
jmp 0x415f53
lea eax, [ebp - 0x28]
test byte [ebx + 8], 1
movups xmm0, xmmword [eax]
mov edx, dword [0x4e40a0]
movss xmm2, dword [ebx + 0x10]
movss xmm3, dword [ebx + 0x14]
movups xmmword [ebp - 0x58], xmm0
movaps xmm0, xmm2
movss dword [ebp - 0x28], xmm2
addss xmm0, dword [ebx + 0x18]
movss dword [ebp - 0x24], xmm3
movss dword [ebp - 0x20], xmm0
movaps xmm0, xmm3
addss xmm0, dword [ebx + 0x1c]
movss dword [ebp - 0x1c], xmm0
je 0x415f99
xorps xmm0, xmm0
jmp 0x415fcb
movss xmm1, dword [edx + 0x3bb8]
mov eax, dword [ebx + 0x2f4]
mulss xmm1, dword [ebx + 0x258]
test eax, eax
je 0x415fbb
mulss xmm1, dword [eax + 0x258]
movss xmm0, dword [edx + 0x37d8]
addss xmm0, xmm0
addss xmm0, xmm1
addss xmm2, dword [ebx + 0x20]
mov eax, dword [ebx + 0x10]
addss xmm3, xmm0
movups xmm0, xmmword [ebp - 0x28]
mov dword [ebp - 0x98], eax
mov eax, dword [ebx + 0x14]
movss xmm4, dword [ebp - 0x58]
movss xmm5, dword [ebp - 0x54]
movups xmmword [ebx + 0x1bc], xmm0
mov dword [ebp - 0x94], eax
movss xmm0, dword [ebx + 0x1bc]
maxss xmm0, xmm4
movss dword [ebp - 0x38], xmm2
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x90], eax
movss dword [ebp - 0x34], xmm3
mov eax, dword [ebp - 0x34]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebx + 0x1c0]
maxss xmm0, xmm5
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x1bc], eax
movss dword [ebp - 0x34], xmm0
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x1c0], eax
movss xmm0, dword [ebx + 0x1c4]
minss xmm0, dword [ebp - 0x50]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebx + 0x1c8]
minss xmm0, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x1c4], eax
movss dword [ebp - 0x34], xmm0
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x1c8], eax
mov eax, ecx
movss xmm6, dword [ebx + 0x10]
and eax, 0x401
movss xmm7, dword [ebx + 0x14]
movaps xmm0, xmm6
addss xmm0, dword [ebx + 0x50]
addss xmm6, dword [ebx + 0x18]
movss dword [ebp - 0x84], xmm0
movss dword [ebx + 0x1cc], xmm0
movss xmm0, dword [ebx + 0x54]
addss xmm0, xmm7
addss xmm7, dword [ebx + 0x1c]
subss xmm6, dword [ebx + 0x58]
movss dword [ebp - 0x48], xmm0
movss dword [ebx + 0x1d0], xmm0
movss dword [ebx + 0x1d4], xmm6
subss xmm7, dword [ebx + 0x5c]
movss dword [ebx + 0x1d8], xmm7
cmp eax, 1
jne 0x4160f0
movss xmm0, dword [ebx + 0x4c]
jmp 0x4160f8
movss xmm0, dword [edi + 0x37e0]
movss xmm2, dword [0x4d3754]
movss dword [ebp - 0x3c], xmm0
addss xmm6, xmm2
movss xmm0, dword [ebx + 0x40]
addss xmm7, xmm2
mulss xmm0, xmm2
movss xmm3, dword [ebp - 0x4c]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x84]
addss xmm0, xmm2
subss xmm7, dword [ebx + 0x4c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [ebx + 0x4c]
addss xmm0, xmm1
subss xmm6, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x1dc], xmm0
movss xmm0, dword [ebp - 0x48]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0x3c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvttss2si eax, xmm6
movss dword [ebx + 0x1e0], xmm0
movd xmm0, eax
cvttss2si eax, xmm7
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x1e4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x1e8], xmm0
movss xmm0, dword [ebx + 0x1e0]
comiss xmm5, xmm0
jbe 0x4161b0
movaps xmm1, xmm5
jmp 0x4161b7
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm2, dword [ebx + 0x1dc]
comiss xmm4, xmm2
movss xmm6, dword [ebp - 0x50]
jbe 0x4161ce
movaps xmm0, xmm4
jmp 0x4161d5
movaps xmm0, xmm6
minss xmm0, xmm2
movss dword [ebp - 0x38], xmm0
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x1dc], eax
movss dword [ebp - 0x34], xmm1
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x1e0], eax
movss xmm0, dword [ebx + 0x1e8]
comiss xmm5, xmm0
ja 0x416205
movaps xmm5, xmm3
minss xmm5, xmm0
movss xmm0, dword [ebx + 0x1e4]
comiss xmm4, xmm0
ja 0x416219
movaps xmm4, xmm6
minss xmm4, xmm0
movss dword [ebp - 0x38], xmm4
xorps xmm2, xmm2
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x1e4], eax
movss dword [ebp - 0x34], xmm5
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x1e8], eax
movss xmm0, dword [ebx + 0x18]
comiss xmm0, xmm2
jbe 0x416254
test ecx, 0x2000040
jne 0x416254
mulss xmm0, dword [0x4d375c]
jmp 0x416264
movss xmm0, dword [edi + 0x3bb4]
mulss xmm0, dword [0x4d37d4]
movss xmm1, dword [ebx + 0x40]
lea ecx, [ebp - 0xa4]
cvttss2si eax, xmm0
mov edx, ebx
addss xmm1, xmm1
movd xmm0, eax
addss xmm1, dword [ebx + 0x28]
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x23c], xmm0
movss xmm0, dword [ebx + 0x1d4]
subss xmm0, dword [ebx + 0x1cc]
subss xmm1, xmm0
movaps xmm0, xmm2
maxss xmm0, xmm1
movss xmm1, dword [ebx + 0x44]
addss xmm1, xmm1
movss dword [ebx + 0x7c], xmm0
movss xmm0, dword [ebx + 0x1d8]
subss xmm0, dword [ebx + 0x1d0]
addss xmm1, dword [ebx + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm2
maxss xmm0, xmm1
movss dword [ebx + 0x80], xmm0
call fcn.00419ea0
mov dword [ebp - 0x38], 0x7f7fffff
mov dword [ebp - 0x34], 0x7f7fffff
mov ecx, dword [eax]
mov dword [ebx + 0x74], ecx
mov eax, dword [eax + 4]
mov dword [ebx + 0x78], eax
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x84], eax
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x60], 0
mov eax, dword [edi + 0x3bb0]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x260]
mov ecx, dword [eax + 0x48]
lea edi, [eax + 0x48]
mov dword [ebp - 0x84], eax
mov eax, dword [edi + 4]
cmp ecx, eax
jne 0x416365
inc ecx
test eax, eax
je 0x416353
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x416358
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.00420540
mov edx, dword [edi]
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0x84]
inc dword [edi]
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x70], eax
call fcn.00429840
mov ecx, dword [0x4e40a0]
push 0
mov eax, dword [ecx + 0x3e28]
mov byte [eax + 0xa8], 1
lea eax, [ebp - 0x50]
mov edi, dword [ecx + 0x3e28]
push eax
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [edi + 0x260]
call fcn.00429970
mov eax, dword [edi + 0x260]
mov byte [ebp - 0x29], 0
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
cmp dword [ebp - 0x6c], 0
movups xmm0, xmmword [eax + ecx*8 - 0x10]
movups xmmword [ebp - 0x28], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [edi + 0x20c], xmm0
je 0x416495
cmp dword [ebp - 0x7c], 0
jne 0x416495
cmp dword [ebp - 0x70], 0x3000000
je 0x416495
mov edi, dword [ebp - 0x64]
mov ecx, dword [edi + 0x17c]
cmp ecx, 2
jl 0x416460
mov eax, dword [edi + 0x184]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x416460
movss xmm5, dword [eax + 0x14]
movss xmm0, dword [eax + 0x1c]
movss xmm6, dword [ebx + 0x10]
addss xmm0, xmm5
movss xmm2, dword [ebx + 0x14]
movaps xmm4, xmm6
movss xmm7, dword [eax + 0x10]
movss xmm3, dword [eax + 0x18]
addss xmm4, dword [ebx + 0x18]
comiss xmm0, dword [ebx + 0x14]
addss xmm2, dword [ebx + 0x1c]
addss xmm3, xmm7
jbe 0x416460
comiss xmm2, xmm5
jbe 0x416460
comiss xmm3, xmm6
jbe 0x416460
comiss xmm4, xmm7
mov byte [ebp - 0x2a], 1
ja 0x416464
mov byte [ebp - 0x2a], 0
mov edx, dword [ebx + 0x260]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x416495
mov eax, dword [edi + 0x260]
cmp dword [eax + 0x18], 0
jle 0x416495
cmp byte [ebp - 0x2a], 0
jne 0x416495
mov byte [ebp - 0x29], 1
mov dword [ebx + 0x260], eax
mov edi, dword [ebp - 0x9c]
mov ecx, dword [edi + 0x4900]
test ecx, ecx
jne 0x4164ab
mov ecx, dword [edi + 0x47a8]
cmp byte [ebp - 0x44], 0
jne 0x4164c9
test ecx, ecx
je 0x4164c3
mov eax, dword [ebx + 0x304]
cmp eax, dword [ecx + 0x304]
je 0x4164c9
mov byte [ebp - 0x3c], 0
jmp 0x4164cd
mov byte [ebp - 0x3c], 1
movd xmm0, esi
lea eax, [ebp - 0x18]
push ecx
cvtdq2ps xmm0, xmm0
lea edx, [ebp - 0x98]
movss dword [esp], xmm0
push eax
push dword [ebp - 0x5c]
push ecx
push dword [ebp - 0x3c]
mov ecx, ebx
call fcn.00414190
add esp, 0x14
cmp byte [ebp - 0x29], 0
je 0x416507
lea eax, [ebx + 0x264]
mov dword [ebx + 0x260], eax
mov ecx, dword [ebp - 0x40]
xorps xmm6, xmm6
mov edx, dword [ebp - 0x40]
movss xmm5, dword [ebx + 0x38]
and edx, 0x808
shr ecx, 3
not cl
and cl, 1
ucomiss xmm5, xmm6
lahf
test ah, 0x44
jp 0x416562
cmp edx, 0x800
jne 0x41653b
movss xmm5, dword [ebx + 0x28]
jmp 0x41653e
movaps xmm5, xmm6
movss xmm0, dword [ebx + 0x40]
movss xmm1, dword [ebx + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [ebx + 0x58]
addss xmm0, dword [ebx + 0x50]
subss xmm1, xmm0
maxss xmm5, xmm1
movss xmm4, dword [ebx + 0x3c]
ucomiss xmm4, xmm6
lahf
test ah, 0x44
jp 0x4165a2
test cl, cl
je 0x41657b
movss xmm4, dword [ebx + 0x2c]
jmp 0x41657e
movaps xmm4, xmm6
movss xmm0, dword [ebx + 0x44]
movss xmm1, dword [ebx + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [ebx + 0x54]
addss xmm0, dword [ebx + 0x5c]
subss xmm1, xmm0
maxss xmm4, xmm1
movss xmm1, dword [ebx + 0x40]
maxss xmm1, dword [ebx + 0x4c]
movss xmm0, dword [ebx + 0x1cc]
subss xmm0, dword [ebx + 0x74]
addss xmm1, xmm0
movss xmm0, dword [ebx + 0x1d0]
subss xmm0, dword [ebx + 0x78]
cvttss2si eax, xmm1
movss xmm1, dword [ebx + 0x44]
maxss xmm1, dword [ebx + 0x4c]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
addss xmm1, xmm0
addss xmm5, xmm3
movss dword [ebx + 0x1ec], xmm3
cvttss2si eax, xmm1
movss dword [ebx + 0x1f4], xmm5
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm4, xmm0
movss dword [ebx + 0x1f0], xmm0
movss dword [ebx + 0x1f8], xmm4
movups xmm0, xmmword [ebx + 0x1ec]
movups xmmword [ebx + 0x1fc], xmm0
movss xmm0, dword [ebx + 0x10]
subss xmm0, dword [ebx + 0x74]
addss xmm0, dword [ebx + 0x40]
addss xmm0, dword [ebx + 0x50]
movss dword [ebx + 0x21c], xmm0
movss xmm0, dword [ebx + 0x14]
subss xmm0, dword [ebx + 0x78]
addss xmm0, dword [ebx + 0x44]
addss xmm0, dword [ebx + 0x54]
movss dword [ebx + 0x220], xmm0
movss xmm1, dword [ebx + 0x38]
ucomiss xmm1, xmm6
lahf
test ah, 0x44
jp 0x41668a
movss xmm0, dword [ebx + 0x40]
movss xmm1, dword [ebx + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [ebx + 0x58]
addss xmm0, dword [ebx + 0x50]
subss xmm1, xmm0
addss xmm1, dword [ebx + 0x21c]
movss dword [ebx + 0x224], xmm1
movss xmm1, dword [ebx + 0x3c]
ucomiss xmm1, xmm6
lahf
test ah, 0x44
jp 0x4166c8
movss xmm0, dword [ebx + 0x44]
movss xmm1, dword [ebx + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [ebx + 0x54]
addss xmm0, dword [ebx + 0x5c]
subss xmm1, xmm0
addss xmm1, dword [ebx + 0x220]
movss dword [ebx + 0x228], xmm1
movss xmm0, dword [ebx + 0x40]
addss xmm0, dword [ebx + 0x50]
subss xmm0, dword [ebx + 0x74]
movss dword [ebx + 0x130], xmm0
mov dword [ebx + 0x138], 0
mov dword [ebx + 0x134], 0
movss xmm2, dword [ebx + 0x10]
movss xmm0, dword [ebx + 0x40]
movss xmm1, dword [ebx + 0x44]
cvtps2pd xmm0, xmm0
cvtps2pd xmm2, xmm2
cvtps2pd xmm1, xmm1
addsd xmm2, xmm0
movss xmm0, dword [ebx + 0x74]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
movss xmm0, dword [ebx + 0x50]
cvtps2pd xmm0, xmm0
addsd xmm2, xmm0
movss xmm0, dword [ebx + 0x14]
cvtps2pd xmm0, xmm0
addsd xmm2, qword [0x4d3710]
addsd xmm1, xmm0
movss xmm0, dword [ebx + 0x78]
cvtps2pd xmm0, xmm0
subsd xmm1, xmm0
movss xmm0, dword [ebx + 0x54]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
cvtpd2ps xmm0, xmm2
movss dword [ebp - 0x38], xmm0
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0xfc], eax
cvtpd2ps xmm0, xmm1
movss dword [ebp - 0x34], xmm0
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x100], eax
movss xmm0, dword [ebx + 0xfc]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtpd2ps xmm0, xmm2
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebx + 0x100]
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x13c], eax
cvtps2pd xmm0, xmm0
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x38]
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [ebp - 0x34], xmm0
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x140], eax
mov eax, dword [ebx + 0xfc]
mov dword [ebx + 0xec], eax
mov eax, dword [ebx + 0x100]
mov dword [ebx + 0xf0], eax
mov eax, dword [ebx + 0xfc]
mov dword [ebx + 0xf4], eax
mov eax, dword [ebx + 0x100]
mov dword [ebx + 0xf8], eax
mov eax, dword [ebx + 0xfc]
mov dword [ebx + 0x104], eax
mov eax, dword [ebx + 0x100]
mov dword [ebx + 0x108], eax
mov eax, dword [ebx + 0xfc]
mov dword [ebx + 0x10c], eax
mov eax, dword [ebx + 0x100]
mov dword [ebx + 0x110], eax
mov dword [ebx + 0x11c], ecx
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0x120], eax
mov dword [ebx + 0x114], ecx
mov dword [ebx + 0x118], eax
mov dword [ebx + 0x128], 0
mov dword [ebx + 0x124], 0
mov word [ebx + 0x12c], 0
mov dword [ebx + 0x144], 0
mov ax, word [ebx + 0x14a]
lea esi, [ebx + 0x158]
mov word [ebx + 0x148], ax
xor eax, eax
mov word [ebx + 0x14a], ax
mov byte [ebx + 0x14c], al
movss xmm0, dword [ebx + 0x80]
comiss xmm0, xmm6
seta al
cmp byte [ebp - 0x2e], 0
mov byte [ebx + 0x14d], al
mov byte [ebx + 0x14e], 0
movss xmm1, dword [edi + 0x37e4]
je 0x4168d0
xorps xmm0, xmm0
movq qword [esi + 0x12], xmm0
cvttss2si eax, xmm1
push ecx
mov ecx, esi
mov word [esi + 8], ax
call fcn.004375b0
xorps xmm0, xmm0
movq qword [esi + 0x12], xmm0
mov eax, dword [esi + 4]
mov dword [esi], eax
lea eax, [ebx + 0x17c]
mov dword [esi + 4], 0
mov dword [ebx + 0x174], 0
mov dword [ebx + 0x178], 0
mov esi, dword [eax + 4]
test esi, esi
jns 0x416942
je 0x416924
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x416929
mov ecx, 8
xor eax, eax
test ecx, ecx
cmovg eax, ecx
lea ecx, [ebx + 0x17c]
push eax
call fcn.00420540
lea eax, [ebx + 0x17c]
mov dword [eax], 0
lea eax, [ebx + 0x240]
mov dword [ebx + 0x188], eax
mov eax, dword [ebp - 0x64]
mov dword [ebx + 0x18c], 0
mov dword [ebx + 0x194], 1
test eax, eax
je 0x416977
mov eax, dword [eax + 0x194]
jmp 0x41697c
mov eax, 1
mov dword [ebx + 0x198], eax
mov eax, dword [ebx + 0x23c]
mov dword [ebx + 0x19c], eax
lea eax, [ebx + 0x1a4]
mov dword [ebx + 0x1a0], 0xbf800000
mov esi, dword [eax + 4]
test esi, esi
jns 0x4169d2
je 0x4169b4
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x4169b9
mov ecx, 8
xor eax, eax
test ecx, ecx
cmovg eax, ecx
lea ecx, [ebx + 0x1a4]
push eax
call fcn.00420540
lea eax, [ebx + 0x1a4]
mov dword [eax], 0
lea eax, [ebx + 0x1b0]
mov esi, dword [eax + 4]
test esi, esi
jns 0x416a12
je 0x4169f4
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, esi
jmp 0x4169f9
mov ecx, 8
xor eax, eax
test ecx, ecx
cmovg eax, ecx
lea ecx, [ebx + 0x1b0]
push eax
call fcn.00420540
lea eax, [ebx + 0x1b0]
mov dword [eax], 0
mov al, byte [ebx + 0xc0]
test al, al
jle 0x416a2a
sub al, 1
mov byte [ebx + 0xc0], al
mov al, byte [ebx + 0xc1]
test al, al
jle 0x416a3c
dec al
mov byte [ebx + 0xc1], al
cmp byte [ebp - 0x44], 0
je 0x416a52
mov ecx, ebx
call fcn.004170f0
xor dl, dl
mov ecx, ebx
call fcn.0041bc10
test byte [ebp - 0x40], 1
movss xmm3, dword [ebp - 0x90]
movss xmm2, dword [ebp - 0x94]
movss xmm0, dword [ebp - 0x98]
jne 0x416ac2
addss xmm0, dword [ebx + 0x4c]
push ecx
push dword [ebp - 0x80]
lea edx, [ebp - 0x28]
movss dword [ebp - 0x24], xmm2
mov ecx, ebx
movss dword [ebp - 0x28], xmm0
movaps xmm0, xmm3
subss xmm0, dword [ebx + 0x4c]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x8c]
movss dword [ebp - 0x1c], xmm0
call fcn.00414880
movss xmm2, dword [ebp - 0x94]
add esp, 8
movss xmm0, dword [ebp - 0x98]
movss xmm3, dword [ebp - 0x90]
xor eax, eax
mov dword [ebx + 0x22c], eax
mov eax, dword [0x4e40a0]
subss xmm0, dword [eax + 0x37fc]
movss xmm1, dword [eax + 0x37fc]
movss xmm4, dword [eax + 0xdb8]
addss xmm1, xmm3
movss xmm3, dword [eax + 0x3800]
addss xmm3, dword [ebp - 0x8c]
comiss xmm4, xmm0
subss xmm2, dword [eax + 0x3800]
jb 0x416b26
movss xmm0, dword [eax + 0xdbc]
comiss xmm0, xmm2
jb 0x416b26
comiss xmm1, xmm4
jbe 0x416b26
comiss xmm3, xmm0
jbe 0x416b26
mov esi, 1
jmp 0x416b28
xor esi, esi
mov edx, dword [0x4e40a0]
mov eax, dword [ebx + 0x6c]
mov ecx, dword [edi + 0x4680]
movups xmm0, xmmword [ebp - 0x98]
mov dword [edx + 0x469c], eax
mov dword [edx + 0x46a0], ecx
mov dword [edx + 0x46a4], esi
movups xmmword [edx + 0x46a8], xmm0
mov eax, dword [edi + 0x4684]
test eax, eax
je 0x416b79
cmp dword [ebx + 4], eax
je 0x416b6b
cmp dword [ebx + 0x6c], eax
jne 0x416b79
call fcn.0041f980
jmp 0x416b79
mov ecx, ebx
call fcn.0040f9a0
mov ecx, dword [0x4e40a0]
push 1
mov eax, dword [ecx + 0x3e28]
mov byte [eax + 0xa8], 1
lea eax, [ebx + 0x1e4]
mov esi, dword [ecx + 0x3e28]
push eax
lea eax, [ebx + 0x1dc]
push eax
mov ecx, dword [esi + 0x260]
call fcn.00429970
mov eax, dword [esi + 0x260]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
shl ecx, 4
movups xmm0, xmmword [ecx + eax - 0x10]
mov eax, dword [ebp - 0x74]
movups xmmword [ebp - 0x28], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [esi + 0x20c], xmm0
mov byte [ebx + 0xa8], 0
inc word [ebx + 0xb2]
mov dword [edi + 0x46d8], 0
cmp eax, dword [ebp - 0x78]
je 0x416d4e
mov eax, dword [ebp - 0x40]
test eax, 0x1000000
je 0x416cb5
test al, 0x40
jne 0x416c7c
cmp byte [ebx + 0xc0], 0
jg 0x416c7c
cmp byte [ebx + 0xc1], 0
jg 0x416c7c
test eax, 0x800000
je 0x416c44
cmp byte [edi + 0x47e8], 0
je 0x416c44
mov eax, dword [edi + 0x47a8]
test eax, eax
je 0x416c44
mov eax, dword [eax + 0x308]
cmp eax, dword [ebx + 0x308]
jne 0x416c44
mov al, 1
jmp 0x416c46
xor al, al
cmp byte [edi + 0x5a50], 0
jne 0x416c7c
test al, al
jne 0x416c7c
movss xmm0, dword [ebx + 0x1bc]
comiss xmm0, dword [ebx + 0x1c4]
jae 0x416c75
movss xmm0, dword [ebx + 0x1c0]
comiss xmm0, dword [ebx + 0x1c8]
jb 0x416c7c
mov byte [ebx + 0xc8], 1
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x416cb5
cmp byte [eax + 0xa9], 0
jne 0x416c95
cmp byte [eax + 0xc8], 0
jle 0x416c9c
mov byte [ebx + 0xc8], 1
cmp byte [eax + 0xa9], 0
jne 0x416cae
cmp byte [eax + 0xc9], 0
jle 0x416cb5
mov byte [ebx + 0xc9], 1
xorps xmm0, xmm0
comiss xmm0, dword [edi + 0x3798]
jb 0x416cc8
mov byte [ebx + 0xc8], 1
cmp byte [ebx + 0xc8], 0
jg 0x416ce8
cmp byte [ebx + 0xc9], 0
jg 0x416ce8
xor cl, cl
cmp byte [ebx + 0xca], cl
jg 0x416cea
xor eax, eax
jmp 0x416cef
mov cl, 1
mov eax, 1
mov byte [ebx + 0xad], al
mov al, byte [ebx + 0xcb]
test al, al
jle 0x416d0e
sub al, 1
mov byte [ebx + 0xcb], al
or dword [ebx + 8], 0xc0200
xor al, al
cmp byte [ebx + 0xa9], al
jne 0x416d24
cmp byte [ebx + 0xa6], al
je 0x416d24
test cl, cl
je 0x416d48
cmp byte [ebx + 0xc0], 0
jg 0x416d48
cmp byte [ebx + 0xc1], 0
jg 0x416d48
cmp byte [ebx + 0xc9], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [ebx + 0xab], al
cmp byte [ebx + 0xab], 0
mov ecx, dword [ebp - 8]
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.0045d520
mov esp, ebp
pop ebp
ret