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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
push esi
mov esi, dword [0x889efc]
mov eax, ecx
push edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x30], esi
call fcn.004151f0
mov edi, eax
mov dword [esp + 0x60], eax
test edi, edi
mov dword [esp + 0x44], edi
sete byte [esp + 0x10]
test eax, eax
jne 0x41776a
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x54]
call fcn.004154c0
mov edi, eax
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 8]
mov ecx, eax
and ecx, 0xc0200
mov edx, eax
or edx, 6
cmp ecx, 0xc0200
mov ecx, dword [esi + 0x3dc8]
cmovne edx, eax
mov dword [esp + 0x4c], ecx
cmp dword [esi + 0x3e24], 0
mov eax, dword [edi + 0x238]
mov dword [esp + 0x14], edx
mov dword [esp + 0x48], eax
jne 0x4177b1
cmp byte [esi + 0x3dd5], 0
je 0x4177b1
mov al, 1
jmp 0x4177b3
xor al, al
mov byte [edi + 0xb2], al
lea eax, [ecx - 1]
cmp dword [esp + 0x48], eax
setl ch
mov byte [esp + 0x1f], ch
test edx, 0x4000000
je 0x417805
mov eax, dword [esi + 0x47ac]
lea esi, [eax + eax*4]
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x47a8]
mov eax, dword [edi + 0xc0]
cmp edi, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
setne al
or cl, al
or ch, cl
mov byte [esp + 0x1f], ch
mov byte [edi + 0xb0], ch
test ch, ch
je 0x417824
or byte [edi + 0xd0], 8
or byte [edi + 0xd1], 8
or byte [edi + 0xd2], 8
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x4c]
je 0x417881
push edx
mov dl, byte [esp + 0x14]
mov ecx, edi
call fcn.00415240
mov eax, dword [esp + 0x50]
add esp, 4
mov edx, dword [esp + 0x14]
mov dword [edi + 0x238], eax
xor eax, eax
mov dword [edi + 0xc], edx
movsd xmm0, qword [esi + 0x3dc0]
cvtpd2ps xmm0, xmm0
mov word [edi + 0xba], ax
movss dword [edi + 0x23c], xmm0
movzx eax, word [esi + 0x3e3c]
inc dword [esi + 0x3e3c]
mov word [edi + 0xbc], ax
jmp 0x417888
mov edx, dword [edi + 0xc]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3e24]
test eax, eax
jne 0x417896
xor ecx, ecx
jmp 0x4178a3
imul ecx, eax, 0x54
mov eax, dword [esi + 0x3e2c]
mov ecx, dword [ecx + eax - 0x54]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
cmp eax, dword [esp + 0x4c]
je 0x4178c0
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x4178c6
mov eax, dword [edi + 0x2f8]
cmp dword [edi + 0xe4], 0
mov dword [esp + 0x40], eax
lea eax, [edi + 0xe4]
jne 0x4178ff
cmp dword [eax + 4], 0
jne 0x4178ee
push 8
mov ecx, eax
call fcn.00424190
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, [esp + 0xc8]
mov dword [esi + 0x3e48], edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x46f4]
lea edx, [esi + 0x3e24]
mov dword [esp + 0x108], eax
xorps xmm0, xmm0
movzx eax, word [edi + 0xe4]
add esp, 0xc
movups xmmword [esp + 0x100], xmm0
mov word [esp + 0x100], ax
movzx eax, word [esi + 0x4758]
movups xmm0, xmmword [esi + 0x46bc]
mov ecx, dword [edx]
mov word [esp + 0x102], ax
movzx eax, word [esi + 0x4764]
mov word [esp + 0x104], ax
movzx eax, word [esi + 0x4770]
mov word [esp + 0x106], ax
movzx eax, word [esi + 0x477c]
mov word [esp + 0x108], ax
movzx eax, word [esi + 0x4794]
movups xmmword [esp + 0xc4], xmm0
mov word [esp + 0x10a], ax
movups xmm0, xmmword [esi + 0x46cc]
movzx eax, word [esi + 0x4788]
mov word [esp + 0x10c], ax
movzx eax, word [esi + 0x47ac]
movups xmmword [esp + 0xd4], xmm0
mov word [esp + 0x10e], ax
movups xmm0, xmmword [esi + 0x46dc]
movzx eax, word [esi + 0x5a04]
mov word [esp + 0x110], 0
movups xmmword [esp + 0xe4], xmm0
mov word [esp + 0x110], ax
mov eax, dword [edx + 4]
movq xmm0, qword [esi + 0x46ec]
mov dword [esp + 0xc0], edi
movq qword [esp + 0xf4], xmm0
mov dword [esp + 0x28], eax
cmp ecx, eax
jne 0x417a48
inc ecx
test eax, eax
je 0x417a30
cdq
sub eax, edx
lea edx, [esi + 0x3e24]
sar eax, 1
add eax, dword [esp + 0x28]
jmp 0x417a35
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00424790
lea edx, [esi + 0x3e24]
imul ecx, dword [edx], 0x54
movups xmm0, xmmword [esp + 0xc0]
mov eax, dword [esp + 0x110]
add ecx, dword [edx + 8]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esp + 0xd0]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [esp + 0xe0]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [esp + 0xf0]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [esp + 0x100]
movups xmmword [ecx + 0x40], xmm0
mov dword [ecx + 0x50], eax
inc dword [edx]
mov ecx, dword [esp + 0x14]
test ecx, 0x10000000
je 0x417aa7
inc dword [esi + 0x47b8]
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x4c]
je 0x417b51
mov edx, dword [esp + 0x40]
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 0x417b25
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x417af5
mov eax, dword [edx + 0x300]
mov dword [edi + 0x300], eax
test ecx, 0x4000000
je 0x417b09
mov eax, dword [edx + 0x304]
mov dword [edi + 0x304], eax
test ecx, 0x8000000
jne 0x417b25
test ecx, 0x5000000
je 0x417b25
mov eax, dword [edx + 0x308]
mov dword [edi + 0x308], eax
test dword [edi + 0xc], 0x800000
je 0x417b47
mov ecx, edi
mov eax, dword [ecx + 0x2f8]
mov ecx, eax
mov dword [edi + 0x30c], eax
test dword [ecx + 0xc], 0x800000
jne 0x417b30
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x2fc], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x20], eax
mov eax, dword [0x889efc]
mov ecx, dword [eax + 0x4780]
lea edx, [eax + 0x477c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
cmp dword [edx], ecx
jne 0x417ba5
test ecx, ecx
je 0x417b88
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, ecx
jmp 0x417b8d
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00424190
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], edi
mov eax, edi
inc dword [edx]
test dword [esp + 0x14], 0x4000000
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x44]
mov dword [ecx + 0x469c], eax
mov eax, dword [esi + 0x469c]
mov dword [edi + 0x34c], eax
mov dword [esi + 0x3e48], 0
je 0x417c96
mov eax, dword [esi + 0x47ac]
mov edx, dword [esi + 0x47a8]
mov dword [esp + 0x20], edx
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x2c]
mov dword [edx + ecx*8 + 4], edi
mov dword [esp + 0x24], ecx
mov eax, dword [eax + 0x148]
mov dword [edx + ecx*8 + 0xc], eax
lea edx, [esi + 0x47ac]
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [esp + 0x28], eax
cmp ecx, eax
jne 0x417c51
inc ecx
test eax, eax
je 0x417c39
cdq
sub eax, edx
lea edx, [esi + 0x47ac]
sar eax, 1
add eax, dword [esp + 0x28]
jmp 0x417c3e
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00424710
lea edx, [esi + 0x47ac]
mov eax, dword [edx]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
movups xmm0, xmmword [esi + edi*8]
movups xmmword [eax + ecx*8], xmm0
movups xmm0, xmmword [esi + edi*8 + 0x10]
movups xmmword [eax + ecx*8 + 0x10], xmm0
movq xmm0, qword [esi + edi*8 + 0x20]
movq qword [eax + ecx*8 + 0x20], xmm0
mov eax, edi
mov edi, dword [esp + 0x44]
mov ecx, esi
inc dword [edx]
mov esi, dword [esp + 0x30]
mov eax, dword [ecx + eax*8]
mov dword [edi + 0xc0], eax
xor dl, dl
mov byte [esp + 0x13], 0
test byte [esi + 0x46f8], 1
mov byte [esp + 0x11], dl
mov byte [esp + 0x12], dl
je 0x417d50
mov dl, byte [edi + 0xd0]
mov ecx, dword [esi + 0x46fc]
movsx eax, dl
test ecx, eax
setne byte [esp + 0x13]
test ecx, eax
je 0x417d3f
movss xmm1, dword [esi + 0x4714]
movss xmm0, dword [esi + 0x4710]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x801f74]
jbe 0x417d3f
mov eax, dword [esi + 0x4708]
mov ecx, dword [esi + 0x470c]
mov dword [edi + 0xd8], ecx
mov dword [edi + 0xd4], eax
mov eax, dword [esi + 0x4710]
mov ecx, dword [esi + 0x4714]
mov dword [edi + 0xe0], ecx
mov dword [edi + 0xdc], eax
mov eax, dword [edi + 0xd0]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [edi + 0xd0], ecx
jmp 0x417d50
push ecx
lea edx, [esi + 0x4708]
mov ecx, edi
call fcn.0041a610
add esp, 4
test byte [esi + 0x46f8], 2
xorps xmm1, xmm1
je 0x417db6
movsx eax, byte [edi + 0xd1]
mov ecx, dword [esi + 0x4700]
and eax, ecx
je 0x417d81
movss xmm0, dword [esi + 0x4718]
comiss xmm0, xmm1
jbe 0x417d81
mov byte [esp + 0x11], 1
jmp 0x417d8b
xor dl, dl
mov byte [esp + 0x11], dl
test eax, eax
je 0x417d9d
movss xmm0, dword [esi + 0x471c]
comiss xmm0, xmm1
mov byte [esp + 0x12], 1
ja 0x417da2
mov byte [esp + 0x12], 0
push ecx
lea edx, [esi + 0x4718]
mov ecx, edi
call fcn.0041a770
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x46f8], 0x80
je 0x417dfd
movss xmm0, dword [esi + 0x4728]
comiss xmm0, xmm1
jb 0x417dde
movss dword [edi + 0x88], xmm0
mov dword [edi + 0x90], 0
movss xmm0, dword [esi + 0x472c]
comiss xmm0, xmm1
jb 0x417dfd
movss dword [edi + 0x8c], xmm0
mov dword [edi + 0x94], 0
test byte [esi + 0x46f8], 4
je 0x417e1a
mov eax, dword [esi + 0x4720]
mov ecx, dword [esi + 0x4724]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
jmp 0x417e32
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x4c]
je 0x417e32
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
test byte [esi + 0x46f8], 8
je 0x417e7f
mov ecx, dword [esi + 0x4704]
mov dl, byte [esi + 0x4730]
test ecx, ecx
je 0x417e56
movsx eax, byte [edi + 0xd2]
test ecx, eax
je 0x417e7f
movzx ecx, byte [edi + 0xd2]
mov eax, dword [edi + 0xd0]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0xad], dl
mov dword [edi + 0xd0], ecx
test byte [esi + 0x46f8], 0x20
je 0x417e91
xor edx, edx
mov ecx, edi
call fcn.00419e30
cmp byte [edi + 0xb0], 0
je 0x417eaf
and byte [edi + 0xd0], 0xf7
and byte [edi + 0xd1], 0xf7
and byte [edi + 0xd2], 0xf7
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x4c]
je 0x41994a
mov eax, dword [esp + 0x14]
and eax, 0x3000000
mov byte [edi + 0xaa], 1
mov byte [edi + 0xb4], 0
mov dword [esp + 0x2c], eax
mov al, byte [edi + 0xcd]
mov dword [edi + 0x210], 0xff7fffff
mov dword [edi + 0x214], 0xff7fffff
mov dword [edi + 0x218], 0x7f7fffff
mov byte [esp + 0x37], al
mov dword [edi + 0x21c], 0x7f7fffff
mov eax, dword [edi + 0xe8]
cmp eax, 1
jge 0x417f48
test eax, eax
je 0x417f2b
cdq
sub eax, edx
lea edx, [edi + 0xe4]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x417f36
mov ecx, 8
lea edx, [edi + 0xe4]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.00424190
mov dword [edi + 0xe4], 1
mov ecx, dword [edi + 0x264]
call fcn.0042d120
cmp byte [edi + 0x358], 0
mov dword [edi + 0x194], 0xffffffff
je 0x417fb3
mov ecx, dword [edi + 0x264]
push dword [edi + 0x350]
add ecx, 0xc
mov byte [edi + 0x358], 0
call fcn.004245e0
mov ecx, dword [edi + 0x264]
push dword [edi + 0x354]
add ecx, 0x18
call fcn.00424400
mov dword [edi + 0x354], 0
mov dword [edi + 0x350], 0
cmp dword [esi + 0x493c], 0
je 0x41809e
test dword [edi + 0xc], 0x80000
jne 0x41809e
cmp dword [esp + 0x60], 0
je 0x41809e
mov eax, dword [edi + 4]
mov ecx, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x54]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x418005
test dl, dl
je 0x418001
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x418005
add eax, 2
add ecx, 2
test dl, dl
jne 0x417fe5
xor eax, eax
jmp 0x41800a
sbb eax, eax
or eax, 1
test eax, eax
je 0x41809e
mov ecx, dword [esp + 0x54]
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x18], edx
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418024
sub ecx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esp + 0x24], eax
cmp edx, eax
mov eax, dword [esp + 0x20]
jae 0x418082
test eax, eax
je 0x418052
mov ecx, dword [0x889efc]
test ecx, ecx
je 0x418052
dec dword [ecx + 0xb4]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [0x889efc]
add esp, 4
test eax, eax
je 0x41806b
inc dword [eax + 0xb4]
push dword [esp + 0x24]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x18], ecx
jmp 0x418086
mov ecx, dword [esp + 0x24]
push ecx
push dword [esp + 0x58]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [esp + 0x18]
mov dword [edi + 0x6c], eax
lea eax, [edi + 0x34]
mov ecx, edi
push eax
lea edx, [edi + 0x2c]
call fcn.004158a0
mov al, byte [edi + 0xcc]
add esp, 4
test al, al
jle 0x4180c1
dec al
mov byte [edi + 0xcc], al
mov al, byte [edi + 0xcd]
test al, al
jle 0x4180d3
dec al
mov byte [edi + 0xcd], al
mov al, byte [edi + 0xce]
test al, al
jle 0x4180e5
dec al
mov byte [edi + 0xce], al
cmp dword [esp + 0x60], 0
mov al, byte [esp + 0x11]
mov cl, byte [esp + 0x12]
jne 0x418103
test al, al
je 0x4180fc
test cl, cl
jne 0x418103
mov byte [edi + 0xcd], 1
cmp byte [esp + 0x1f], 0
mov edx, dword [esp + 0x14]
je 0x418162
test edx, 0x6000000
je 0x418162
mov byte [edi + 0xcd], 1
test dl, 0x40
je 0x418162
test al, al
jne 0x418134
mov dword [edi + 0x24], 0
mov dword [edi + 0x1c], 0
test cl, cl
jne 0x418146
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 [0x889efc]
mov dword [esp + 0x24], ecx
mov eax, dword [ecx + 0x47c4]
mov eax, dword [eax]
mov dword [edi + 0x10], eax
mov dword [esp + 0x64], eax
mov dword [ecx + 0x3e48], edi
mov eax, dword [edi + 0x194]
cmp eax, 0xffffffff
je 0x41819a
imul eax, eax, 0x1e8
add eax, dword [ecx + 0x4a20]
jmp 0x41819c
xor eax, eax
mov dword [ecx + 0x4a04], eax
mov dword [esp + 0x18], eax
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3bbc]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x4181ca
mulss xmm0, dword [eax + 0x25c]
cmp dword [esp + 0x18], 0
movss dword [ecx + 0x3bcc], xmm0
movss dword [ecx + 0x3bb8], xmm0
jne 0x4181ee
cmp dword [edi + 0x190], 0
jne 0x4181ee
mov al, 1
jmp 0x4181f0
xor al, al
mov byte [edi + 0x150], al
test edx, 0x1000000
je 0x418208
movss xmm0, dword [esi + 0x37b8]
jmp 0x41822a
test edx, 0x6000000
je 0x418222
test edx, 0x8000000
jne 0x418222
movss xmm0, dword [esi + 0x37c0]
jmp 0x41822a
movss xmm0, dword [esi + 0x379c]
mov eax, edi
xorps xmm2, xmm2
movss dword [eax + 0x50], xmm0
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 0x41827e
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x41827e
test edx, 0x400
je 0x41826f
movss xmm0, dword [esi + 0x3794]
jmp 0x418272
xorps xmm0, xmm0
mov dword [edi + 0x44], 0
movss dword [edi + 0x48], xmm0
movss xmm0, dword [edi + 0x44]
maxss xmm0, dword [esi + 0x37d4]
maxss xmm0, dword [esi + 0x4750]
movss dword [edi + 0x154], xmm0
mov eax, dword [esi + 0x4754]
mov dword [edi + 0x158], eax
mov al, byte [esp + 0x10]
mov dword [esp + 0x20], eax
test dl, 0x21
jne 0x4183ff
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x4182c5
xorps xmm3, xmm3
jmp 0x4182f7
movss xmm0, dword [ecx + 0x3bbc]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x4182e7
mulss xmm0, dword [eax + 0x25c]
movss xmm3, dword [ecx + 0x37c8]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm5, dword [edi + 0x14]
movaps xmm4, xmm5
movss xmm6, dword [edi + 0x18]
addss xmm4, dword [edi + 0x24]
addss xmm3, dword [edi + 0x18]
mov edx, dword [esp + 0x24]
cmp dword [esi + 0x3e4c], edi
jne 0x4183b3
cmp dword [esi + 0x3e80], 0
jne 0x4183b3
cmp dword [esi + 0x3e84], 0
jne 0x4183b3
mov eax, dword [edx + 0x3e48]
movss xmm1, dword [edx + 0x37ec]
movss xmm0, dword [edx + 0x37f0]
maxss xmm5, dword [eax + 0x210]
minss xmm4, dword [eax + 0x218]
maxss xmm6, dword [eax + 0x214]
minss xmm3, dword [eax + 0x21c]
subss xmm5, xmm1
addss xmm4, xmm1
movss xmm1, dword [edx + 0xdc0]
subss xmm6, xmm0
addss xmm3, xmm0
comiss xmm1, xmm5
jb 0x4183b3
movss xmm0, dword [edx + 0xdc4]
comiss xmm0, xmm6
jb 0x4183b3
comiss xmm4, xmm1
jbe 0x4183b3
comiss xmm3, xmm0
jbe 0x4183b3
cmp word [esi + 0x370a], 2
jne 0x4183b3
mov byte [edi + 0xae], 1
cmp byte [edi + 0xae], 0
je 0x418406
mov cl, byte [edi + 0xad]
test cl, cl
sete al
test cl, cl
mov byte [edi + 0xad], al
mov ecx, 1
mov eax, dword [esp + 0x20]
movzx eax, al
cmovne eax, ecx
test dword [edi + 0xc], 0x100
mov dword [esp + 0x20], eax
jne 0x418406
comiss xmm2, dword [edx + 0x5a44]
jb 0x418406
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5a44], eax
jmp 0x418406
mov byte [edi + 0xad], 0
movss xmm0, dword [edi + 0xa0]
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [edi + 0xa4]
mov byte [edi + 0xae], 0
movss dword [esp + 0x58], xmm0
mov dword [edi + 0x54], 0
mov dword [edi + 0x5c], 0
test dl, 1
je 0x418446
xorps xmm3, xmm3
jmp 0x41847b
movss xmm0, dword [edi + 0x25c]
mov edx, dword [edi + 0x2f8]
mulss xmm0, dword [ecx + 0x3bbc]
test edx, edx
je 0x418468
mulss xmm0, dword [edx + 0x25c]
movss xmm3, dword [ecx + 0x37c8]
mov edx, dword [edi + 0xc]
addss xmm3, xmm3
addss xmm3, xmm0
test edx, 0x400
je 0x4184bf
movss xmm1, dword [edi + 0x25c]
mov eax, dword [edi + 0x2f8]
mulss xmm1, dword [ecx + 0x3bbc]
test eax, eax
je 0x4184a5
mulss xmm1, dword [eax + 0x25c]
movss xmm0, dword [ecx + 0x37c8]
addss xmm1, dword [edi + 0x158]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x4184c2
xorps xmm1, xmm1
addss xmm1, xmm3
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, [esp + 0x6c]
movss dword [edi + 0x58], xmm1
call fcn.004159d0
add esp, 4
test byte [esp + 0x14], 0x40
je 0x418543
cmp byte [edi + 0xad], 0
jne 0x418543
cmp byte [esp + 0x11], 0
jne 0x41851f
movss xmm0, dword [esp + 0x68]
movss dword [edi + 0x24], xmm0
mov byte [esp + 0x10], 1
cmp byte [esp + 0x12], 0
jne 0x4185ef
movss xmm0, dword [esp + 0x6c]
mov eax, 1
movss dword [edi + 0x28], xmm0
mov dword [esp + 0x20], eax
jmp 0x4185ef
mov al, byte [edi + 0xc4]
test al, al
jg 0x41855a
cmp byte [edi + 0xc5], 0
jle 0x4185ef
cmp byte [esp + 0x11], 0
jne 0x41858b
test al, al
jle 0x41858b
cmp byte [edi + 0xc7], 0
je 0x41857b
movss xmm0, dword [edi + 0x24]
maxss xmm0, dword [esp + 0x68]
jmp 0x418581
movss xmm0, dword [esp + 0x68]
movss dword [edi + 0x24], xmm0
mov byte [esp + 0x10], 1
cmp byte [esp + 0x12], 0
jne 0x4185c2
cmp byte [edi + 0xc5], 0
jle 0x4185c2
cmp byte [edi + 0xc7], 0
je 0x4185b1
movss xmm0, dword [edi + 0x28]
maxss xmm0, dword [esp + 0x6c]
jmp 0x4185b7
movss xmm0, dword [esp + 0x6c]
mov al, 1
movss dword [edi + 0x28], xmm0
mov dword [esp + 0x20], eax
cmp byte [edi + 0xad], 0
jne 0x4185ef
test dword [edi + 0xc], 0x100
mov ecx, dword [0x889efc]
jne 0x4185ef
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x5a44]
jb 0x4185ef
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x5a44], eax
lea eax, [edi + 0x24]
mov edx, edi
push eax
lea ecx, [esp + 0x8c]
call fcn.00415690
add esp, 4
cmp byte [edi + 0xad], 0
movss xmm2, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [edi + 0x24], xmm2
movss dword [edi + 0x28], xmm0
je 0x41868b
test dword [esp + 0x14], 0x1000000
jne 0x41868b
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x418637
xorps xmm1, xmm1
jmp 0x418669
movss xmm0, dword [ecx + 0x3bbc]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x418659
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 [esp + 0x38], xmm2
movss dword [esp + 0x3c], xmm1
jmp 0x418699
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
cmp byte [esp + 0x1f], 0
lea ecx, [esp + 0x38]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x1c], eax
je 0x4186fb
mov eax, ecx
mov dword [edi + 0xc8], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x4186fb
cmp byte [esp + 0x13], 0
jne 0x4186fb
mov eax, dword [esi + 0x47ac]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x47b4]
movss xmm0, dword [eax + ecx*8 - 0x10]
movss xmm1, dword [eax + ecx*8 - 0xc]
mov ecx, dword [esp + 0x14]
movss dword [edi + 0x14], xmm0
movss dword [edi + 0x18], xmm1
test ecx, 0x1000000
je 0x4187a0
mov edx, dword [esp + 0x40]
mov ax, word [edx + 0x180]
lea ecx, [edx + 0x180]
mov word [edi + 0xba], ax
mov eax, dword [ecx + 4]
mov dword [esp + 0x50], ecx
cmp dword [ecx], eax
jne 0x41875b
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x28], edx
test eax, eax
je 0x418743
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x418748
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.00424190
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x50]
mov ecx, dword [ecx]
mov eax, dword [edx + 0x188]
mov dword [eax + ecx*4], edi
inc dword [edx + 0x180]
mov ecx, dword [esp + 0x14]
mov al, byte [esp + 0x13]
test ecx, 0x4000000
jne 0x4187a4
test al, al
jne 0x4187a4
cmp dword [esp + 0x2c], 0x3000000
je 0x4187a4
mov ecx, dword [edx + 0xf4]
mov eax, dword [edx + 0xf0]
mov dword [edi + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x14], eax
mov al, byte [esp + 0x13]
movss xmm1, dword [edi + 0xd4]
ucomiss xmm1, dword [0x8020b0]
lahf
test ah, 0x44
jnp 0x41880a
cmp byte [edi + 0xcd], 0
jne 0x41880a
movss xmm0, dword [edi + 0xdc]
lea edx, [esp + 0x38]
mulss xmm0, dword [edi + 0x1c]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xd8]
movss dword [esp + 0x3c], xmm1
movss xmm1, dword [edi + 0xe0]
mulss xmm1, dword [edi + 0x20]
subss xmm0, xmm1
movss dword [esp + 0x40], xmm0
call fcn.0041a610
add esp, 4
jmp 0x418858
test ecx, 0x10000000
jne 0x41883a
test ecx, 0x4000000
je 0x418824
test al, al
jne 0x418824
cmp byte [esp + 0x37], al
jg 0x41883a
test ecx, 0x2000000
je 0x41885c
test al, al
jne 0x41885c
cmp dword [esp + 0x2c], 0x3000000
je 0x41885c
mov edx, edi
lea ecx, [esp + 0x38]
call fcn.0041dd00
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0x14], xmm0
movss dword [edi + 0x18], xmm1
mov ecx, dword [esp + 0x14]
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x64]
movss xmm3, dword [esi + 0x3848]
movss xmm2, dword [esi + 0x3844]
maxss xmm3, dword [esi + 0x3850]
movss xmm7, dword [eax + 0x14]
movss xmm6, dword [eax + 0x18]
addss xmm7, dword [eax + 0x1c]
addss xmm6, dword [eax + 0x20]
movss xmm0, dword [eax + 4]
movss xmm1, dword [eax + 8]
movaps xmm5, xmm0
maxss xmm2, dword [esi + 0x384c]
addss xmm5, dword [eax + 0xc]
movaps xmm4, xmm1
movss dword [esp + 0x90], xmm0
addss xmm4, dword [eax + 0x10]
subss xmm6, xmm3
movss dword [esp + 0x94], xmm1
addss xmm3, dword [eax + 0x18]
subss xmm7, xmm2
movss dword [esp + 0x98], xmm5
addss xmm2, dword [eax + 0x14]
movss dword [esp + 0x9c], xmm4
movss dword [esp + 0xbc], xmm6
movss dword [esp + 0xb4], xmm3
movss dword [esp + 0xb8], xmm7
movss dword [esp + 0xb0], xmm2
jne 0x4189bb
test ecx, 0x1000000
jne 0x4189bb
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x4189bb
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x4189bb
mov eax, dword [0x889efc]
movss xmm1, dword [edi + 0x20]
cmp byte [eax + 0x67], 0
je 0x418986
test byte [edi + 0xc], 1
jne 0x418986
mov edx, dword [edi]
mov eax, dword [edi + 0x2f8]
movss xmm0, dword [edx + 0x3bbc]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x418976
mulss xmm0, dword [eax + 0x25c]
movss xmm1, dword [edx + 0x37c8]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x18]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x1c]
comiss xmm3, xmm0
ja 0x4189a0
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x14]
comiss xmm2, xmm0
ja 0x4189b1
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [edi + 0x14], xmm2
movss dword [edi + 0x18], xmm3
cvttss2si eax, dword [edi + 0x14]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x18]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0x14], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x18], xmm0
test ecx, 0x1000000
je 0x4189ef
movss xmm2, dword [esi + 0x37b4]
jmp 0x418a0f
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x418a07
movss xmm2, dword [esi + 0x37bc]
jmp 0x418a0f
movss xmm2, dword [esi + 0x3798]
xor al, al
movss dword [edi + 0x4c], xmm2
mov dword [esp + 0x24], eax
cmp byte [esp + 0x1f], al
je 0x418a4c
test ecx, 0x1000
jne 0x418a4c
test ecx, 0x4000000
je 0x418a37
mov byte [esp + 0x24], 1
jmp 0x418a4c
test ecx, 0x3000000
movzx eax, al
mov edx, 1
cmove eax, edx
mov dword [esp + 0x24], eax
movss xmm1, dword [esi + 0x3bb8]
xorps xmm0, xmm0
addss xmm2, dword [0x801fe8]
movaps xmmword [esp + 0x120], xmm0
xor eax, eax
cmp byte [esi + 0x66], al
movaps xmm0, xmm1
mulss xmm1, dword [0x801f9c]
setne al
mov dword [esp + 0xac], 0xffffffff
mulss xmm0, dword [0x801fec]
inc eax
cmp byte [edi + 0xad], 0
addss xmm1, xmm2
mov dword [esp + 0x88], eax
maxss xmm0, xmm1
cvttss2si esi, xmm0
jne 0x418ae1
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esp + 0x124]
push ecx
push eax
lea eax, [esp + 0xb8]
mov ecx, edi
push eax
lea edx, [esp + 0x78]
call fcn.00415cf0
mov ecx, dword [esp + 0x24]
add esp, 0x10
test al, al
je 0x418ae1
mov dl, 1
mov byte [esp + 0x10], dl
jmp 0x418ae5
mov edx, dword [esp + 0x20]
cmp byte [edi + 0xad], 0
mov al, byte [esp + 0xac]
mov byte [edi + 0xb5], al
jne 0x418c70
cmp dword [esp + 0x60], 0
lea eax, [esp + 0x38]
movss xmm0, dword [edi + 0x60]
movss xmm2, dword [edi + 0x1d8]
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 [esp + 0x18]
addss xmm3, dword [esp + 0x58]
jne 0x418b60
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
jmp 0x418b88
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 [esp + 0x38], xmm0
movss dword [esp + 0x3c], xmm1
cmp byte [esp + 0x10], 0
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
jne 0x418b9b
movaps xmm5, xmm2
test dl, dl
jne 0x418ba2
movaps xmm4, xmm3
test ecx, 0x4000
jne 0x418bb8
comiss xmm6, xmm4
jbe 0x418bb4
test cl, 8
je 0x418bb8
xor al, al
jmp 0x418bba
mov al, 1
mov byte [esp + 0x10], al
mov byte [edi + 0xa9], al
test ecx, 0x8000
jne 0x418c0b
mov edx, dword [esp + 0x30]
xorps xmm0, xmm0
test al, al
je 0x418be1
movss xmm1, dword [edx + 0x37fc]
jmp 0x418be4
xorps xmm1, xmm1
subss xmm5, xmm1
comiss xmm7, xmm5
jbe 0x418bff
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
mov al, byte [esp + 0x10]
je 0x418c0b
mov byte [edi + 0xa8], 0
xorps xmm1, xmm1
jmp 0x418c3b
mov byte [edi + 0xa8], 1
test al, al
jne 0x418c2c
comiss xmm6, xmm4
jbe 0x418c24
test cl, 8
jne 0x418c24
mov al, 1
jmp 0x418c26
xor al, al
mov byte [edi + 0xa9], al
mov edx, dword [esp + 0x30]
xorps xmm0, xmm0
movss xmm1, dword [edx + 0x37fc]
test al, al
je 0x418c47
movss xmm0, dword [edx + 0x37fc]
movss dword [edi + 0xa0], xmm0
addss xmm0, dword [edi + 0x5c]
movss dword [edi + 0xa4], xmm1
movss dword [edi + 0x5c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x60]
movss dword [edi + 0x60], xmm0
jmp 0x418c74
mov edx, dword [esp + 0x30]
mov eax, ecx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x418c97
cmp dword [esp + 0x2c], 0x3000000
je 0x418c97
mov eax, dword [esp + 0x40]
add eax, 0x210
jmp 0x418c9e
lea eax, [esp + 0x90]
test byte [edi + 0xc], 1
movups xmm0, xmmword [eax]
mov eax, dword [edi]
movss xmm6, dword [edi + 0x14]
movss xmm2, dword [edi + 0x18]
movaps xmm3, xmm6
addss xmm3, dword [edi + 0x1c]
movaps xmm5, xmm2
movss dword [esp + 0x28], xmm6
addss xmm5, dword [edi + 0x20]
movups xmmword [esp + 0x70], xmm0
je 0x418cd3
xorps xmm0, xmm0
jmp 0x418d07
movss xmm1, dword [eax + 0x3bbc]
mov eax, dword [edi + 0x2f8]
mulss xmm1, dword [edi + 0x25c]
test eax, eax
je 0x418cf5
mulss xmm1, dword [eax + 0x25c]
mov eax, dword [edi]
movss xmm0, dword [eax + 0x37c8]
addss xmm0, xmm0
addss xmm0, xmm1
movss xmm7, dword [edi + 0x18]
addss xmm0, xmm2
movaps xmm1, xmm6
movss dword [esp + 0x94], xmm7
addss xmm1, dword [edi + 0x24]
movss dword [esp + 0x90], xmm6
mov eax, ecx
and eax, 0x401
xorps xmm4, xmm4
movss dword [esp + 0x9c], xmm0
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x98], xmm1
movss dword [edi + 0x1c0], xmm6
movss dword [edi + 0x1c4], xmm2
movss dword [edi + 0x1c8], xmm3
movss dword [edi + 0x1cc], xmm5
movss xmm0, dword [edi + 0x1c0]
movss xmm5, dword [esp + 0x70]
movss xmm6, dword [esp + 0x74]
maxss xmm0, xmm5
movss dword [esp + 0x64], xmm1
maxss xmm2, xmm6
movss dword [edi + 0x1c0], xmm0
movss dword [edi + 0x1c4], xmm2
movss xmm1, dword [edi + 0x1c8]
movss xmm0, dword [edi + 0x1cc]
minss xmm0, dword [esp + 0x7c]
minss xmm1, dword [esp + 0x78]
movss dword [edi + 0x1cc], xmm0
movss dword [edi + 0x1c8], xmm1
movss xmm7, dword [edi + 0x14]
movaps xmm0, xmm7
addss xmm0, dword [edi + 0x54]
addss xmm7, dword [edi + 0x1c]
movss dword [esp + 0x58], xmm0
movss dword [edi + 0x1d0], xmm0
movss xmm0, dword [edi + 0x18]
movaps xmm1, xmm0
addss xmm0, dword [edi + 0x20]
addss xmm1, dword [edi + 0x58]
subss xmm7, dword [edi + 0x5c]
subss xmm0, dword [edi + 0x60]
movss dword [esp + 0x20], xmm1
movss dword [edi + 0x1d4], xmm1
movss dword [edi + 0x1d8], xmm7
movss dword [esp + 0x5c], xmm0
movss dword [edi + 0x1dc], xmm0
cmp eax, 1
jne 0x418e36
movss xmm0, dword [edi + 0x50]
jmp 0x418e3e
movss xmm0, dword [edx + 0x37d0]
movss xmm2, dword [0x801fb4]
movss dword [esp + 0x18], xmm0
addss xmm7, xmm2
movss xmm0, dword [edi + 0x44]
mulss xmm0, xmm2
movss xmm3, dword [esp + 0x7c]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x58]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x50]
addss xmm0, xmm1
subss xmm7, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e0], xmm0
movss xmm0, dword [esp + 0x20]
addss xmm0, xmm2
addss xmm0, dword [esp + 0x18]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvttss2si ecx, xmm7
movss dword [edi + 0x1e4], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1e8], xmm0
movss xmm0, dword [esp + 0x5c]
addss xmm0, xmm2
subss xmm0, dword [edi + 0x50]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1ec], xmm0
movss xmm0, dword [edi + 0x1e4]
comiss xmm6, xmm0
jbe 0x418efe
movaps xmm1, xmm6
jmp 0x418f05
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm7, dword [esp + 0x78]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm5, xmm2
jbe 0x418f1c
movaps xmm0, xmm5
jmp 0x418f23
movaps xmm0, xmm7
minss xmm0, xmm2
movss dword [edi + 0x1e0], xmm0
movss dword [edi + 0x1e4], xmm1
movss xmm0, dword [edi + 0x1ec]
comiss xmm6, xmm0
ja 0x418f47
movaps xmm6, xmm3
minss xmm6, xmm0
movss xmm0, dword [edi + 0x1e8]
comiss xmm5, xmm0
ja 0x418f5b
movaps xmm5, xmm7
minss xmm5, xmm0
movss dword [edi + 0x1e8], xmm5
movss dword [edi + 0x1ec], xmm6
movss xmm0, dword [edi + 0x1c]
comiss xmm0, xmm4
jbe 0x418f89
test dword [esp + 0x14], 0x2000040
jne 0x418f89
mulss xmm0, dword [0x801fbc]
jmp 0x418f99
movss xmm0, dword [edx + 0x3bb8]
mulss xmm0, dword [0x802060]
cvttss2si eax, xmm0
mov ecx, edi
mov edx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x240], xmm0
lea ecx, [esp + 0x38]
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.0041d220
mov ecx, dword [edi + 0x264]
mov dword [esp + 0x5c], ecx
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x30]
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
lea edi, [ecx + 0x48]
mov eax, dword [eax + 0x3bb4]
mov edx, dword [edi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
cmp edx, eax
jne 0x41909d
lea ecx, [edx + 1]
test eax, eax
je 0x41908b
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x419090
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.00424190
mov edx, dword [edi]
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x18]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x5c]
inc dword [edi]
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x70], eax
call fcn.0042d550
mov ecx, dword [0x889efc]
push 0
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
lea eax, [esp + 0x7c]
mov edi, dword [ecx + 0x3e48]
push eax
lea eax, [esp + 0x78]
push eax
mov ecx, dword [edi + 0x264]
call fcn.0042d6a0
mov eax, dword [edi + 0x264]
mov byte [esp + 0x11], 0
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edi + 0x210], eax
mov eax, dword [esp + 0x14]
movss dword [edi + 0x214], xmm0
and eax, 0x5000000
movss dword [edi + 0x218], xmm1
movss dword [edi + 0x21c], xmm2
cmp eax, 0x1000000
jne 0x419204
cmp dword [esp + 0x2c], 0x3000000
je 0x419204
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x180]
cmp ecx, 2
jl 0x4191c2
mov eax, dword [eax + 0x188]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x4191c2
mov edi, dword [esp + 0x44]
movss xmm5, dword [eax + 0x18]
movss xmm7, dword [eax + 0x14]
movaps xmm0, xmm5
addss xmm0, dword [eax + 0x20]
movss xmm6, dword [edi + 0x14]
movaps xmm3, xmm7
movss xmm2, dword [edi + 0x18]
movaps xmm4, xmm6
addss xmm3, dword [eax + 0x1c]
addss xmm4, dword [edi + 0x1c]
comiss xmm0, dword [edi + 0x18]
addss xmm2, dword [edi + 0x20]
jbe 0x4191c6
comiss xmm2, xmm5
jbe 0x4191c6
comiss xmm3, xmm6
jbe 0x4191c6
comiss xmm4, xmm7
jbe 0x4191c6
mov byte [esp + 0x10], 1
jmp 0x4191cb
mov edi, dword [esp + 0x44]
mov byte [esp + 0x10], 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 0x419208
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x264]
cmp dword [eax + 0x18], 0
je 0x419208
cmp byte [esp + 0x10], 0
jne 0x419208
mov byte [esp + 0x11], 1
mov dword [edi + 0x264], eax
jmp 0x419208
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x4934]
test ecx, ecx
jne 0x41921c
mov ecx, dword [eax + 0x47c8]
cmp byte [esp + 0x24], 0
jne 0x41923c
test ecx, ecx
je 0x419235
mov eax, dword [edi + 0x308]
cmp eax, dword [ecx + 0x308]
je 0x41923c
mov byte [esp + 0x18], 0
jmp 0x419241
mov byte [esp + 0x18], 1
movd xmm0, esi
lea eax, [esp + 0x120]
push ecx
cvtdq2ps xmm0, xmm0
lea edx, [esp + 0x94]
movss dword [esp], xmm0
push eax
push dword [esp + 0x90]
push ecx
push dword [esp + 0x28]
mov ecx, edi
call fcn.00416ca0
add esp, 0x14
cmp byte [esp + 0x11], 0
je 0x419286
lea eax, [edi + 0x268]
mov dword [edi + 0x264], eax
mov ecx, dword [esp + 0x14]
xorps xmm4, xmm4
movss xmm6, dword [edi + 0x3c]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jnp 0x4192ad
movss dword [esp + 0x18], xmm6
jmp 0x4192ef
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 0x4192e2
movss xmm0, dword [edi + 0x2c]
jmp 0x4192e5
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [esp + 0x18], xmm0
movss xmm5, dword [edi + 0x40]
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x419302
movaps xmm7, xmm5
jmp 0x419334
movss xmm0, dword [edi + 0x48]
movss xmm1, dword [edi + 0x20]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [edi + 0x60]
addss xmm0, dword [edi + 0x58]
subss xmm1, xmm0
test dl, dl
je 0x41932d
movss xmm7, dword [edi + 0x30]
jmp 0x419330
xorps xmm7, xmm7
maxss xmm7, xmm1
movss xmm1, dword [edi + 0x44]
movss xmm4, dword [edi + 0x78]
movss xmm0, dword [edi + 0x1d0]
subss xmm0, xmm4
movss dword [esp + 0x88], xmm1
maxss xmm1, dword [edi + 0x50]
movss dword [esp + 0x58], xmm4
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [edi + 0x1f0], xmm2
movss xmm0, dword [edi + 0x7c]
movss xmm1, dword [edi + 0x48]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [edi + 0x1d4]
subss xmm0, dword [esp + 0x20]
movss dword [esp + 0x5c], xmm1
maxss xmm1, dword [edi + 0x50]
addss xmm2, dword [esp + 0x18]
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm7, xmm0
movss dword [edi + 0x1f4], xmm0
movss dword [edi + 0x1f8], xmm2
movss xmm2, dword [esp + 0x88]
movss dword [edi + 0x1fc], xmm7
movups xmm0, xmmword [edi + 0x1f0]
movups xmmword [edi + 0x200], xmm0
movss xmm0, dword [edi + 0x14]
movss xmm3, dword [edi + 0x54]
movaps xmm1, xmm0
subss xmm1, xmm4
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x38], xmm3
addss xmm1, xmm2
addss xmm1, xmm3
movss dword [edi + 0x220], xmm1
movss xmm4, dword [edi + 0x18]
movss xmm0, dword [edi + 0x58]
movaps xmm7, xmm4
subss xmm7, dword [esp + 0x20]
movss dword [esp + 0x88], xmm4
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x2c], xmm7
movss xmm4, dword [esp + 0x2c]
movss xmm7, dword [esp + 0x5c]
addss xmm4, xmm7
addss xmm4, xmm0
movaps xmm0, xmm4
movss dword [esp + 0x2c], xmm4
xorps xmm4, xmm4
movss dword [edi + 0x224], xmm0
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jp 0x419488
movss xmm6, dword [edi + 0x1c]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm6, xmm0
movaps xmm0, xmm3
addss xmm0, dword [edi + 0x5c]
subss xmm6, xmm0
ucomiss xmm5, xmm4
addss xmm1, xmm6
lahf
movss dword [edi + 0x228], xmm1
movss xmm1, dword [esp + 0x18]
test ah, 0x44
jp 0x4194bf
movss xmm5, dword [edi + 0x20]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm5, xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x60]
subss xmm5, xmm0
movss xmm0, dword [esp + 0x2c]
lea ecx, [edi + 0x15c]
addss xmm0, xmm5
mov esi, dword [esp + 0x30]
movss xmm5, dword [esp + 0x58]
movss dword [edi + 0x22c], xmm0
movaps xmm0, xmm3
addss xmm0, xmm2
movss xmm3, dword [esp + 0x44]
cvtps2pd xmm3, xmm3
subss xmm0, xmm5
movss dword [edi + 0x134], xmm0
cvtps2pd xmm0, xmm2
mov dword [edi + 0x13c], 0
mov dword [edi + 0x138], 0
movss xmm2, dword [esp + 0x88]
addsd xmm3, xmm0
cvtps2pd xmm0, xmm5
cvtps2pd xmm2, xmm2
subsd xmm3, xmm0
movss xmm0, dword [esp + 0x38]
cvtps2pd xmm0, xmm0
addsd xmm3, xmm0
cvtps2pd xmm0, xmm7
addsd xmm3, qword [0x801f68]
addsd xmm2, xmm0
movss xmm0, dword [esp + 0x20]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtps2pd xmm0, xmm1
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, xmm4
seta al
cmp byte [esp + 0x1f], 0
mov byte [edi + 0x152], al
lea eax, [ecx + 0x12]
mov byte [edi + 0x153], 0
movss xmm1, dword [esi + 0x37d4]
mov dword [esp + 0x18], eax
je 0x41969a
xorps xmm0, xmm0
movq qword [eax], xmm0
jmp 0x41969e
mov dword [esp + 0x18], eax
cvttss2si eax, xmm1
push ecx
mov word [ecx + 8], ax
call fcn.004422c0
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
movq qword [eax], 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 0x419710
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.00424190
lea eax, [edi + 0x180]
mov dword [eax], 0
lea eax, [edi + 0x244]
mov dword [edi + 0x18c], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 0x190], 0
mov dword [edi + 0x198], 1
test eax, eax
je 0x419746
mov eax, dword [eax + 0x198]
jmp 0x41974b
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 0x419796
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.00424190
lea eax, [edi + 0x1a8]
mov dword [eax], 0
lea eax, [edi + 0x1b4]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x4197cb
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.00424190
lea eax, [edi + 0x1b4]
mov dword [eax], 0
mov al, byte [edi + 0xc4]
test al, al
jle 0x4197e3
dec al
mov byte [edi + 0xc4], al
mov al, byte [edi + 0xc5]
test al, al
jle 0x4197f5
dec al
mov byte [edi + 0xc5], al
cmp byte [esp + 0x24], 0
je 0x419819
mov edx, 2
mov ecx, edi
call fcn.00419e30
cmp edi, dword [esi + 0x47c8]
jne 0x419819
xor dl, dl
mov ecx, edi
call fcn.0041f0a0
test byte [esp + 0x14], 1
jne 0x419876
movss xmm0, dword [esp + 0x28]
lea edx, [esp + 0x70]
addss xmm0, dword [edi + 0x50]
push ecx
push dword [esp + 0x58]
mov ecx, edi
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x6c]
subss xmm0, dword [edi + 0x50]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x84], xmm0
call fcn.00417280
add esp, 8
mov edx, dword [0x889efc]
xor eax, eax
movss xmm3, dword [esp + 0x28]
movss xmm4, dword [esp + 0x64]
movss xmm2, dword [esp + 0x50]
movss xmm5, dword [esp + 0x94]
mov dword [edi + 0x230], eax
movss xmm1, dword [edx + 0x37ec]
movss xmm0, dword [edx + 0x37f0]
subss xmm3, xmm1
addss xmm4, xmm1
movss xmm1, dword [edx + 0xdc0]
addss xmm2, xmm0
subss xmm5, xmm0
comiss xmm1, xmm3
jb 0x4198eb
movss xmm0, dword [edx + 0xdc4]
comiss xmm0, xmm5
jb 0x4198eb
comiss xmm4, xmm1
jbe 0x4198eb
comiss xmm2, xmm0
mov dword [esp + 0x28], 1
ja 0x4198ef
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x70]
mov ecx, dword [esi + 0x46a0]
movaps xmm0, xmmword [esp + 0x90]
mov dword [edx + 0x46bc], eax
mov eax, dword [esp + 0x28]
mov dword [edx + 0x46c0], ecx
mov dword [edx + 0x46c4], eax
movups xmmword [edx + 0x46d8], xmm0
movups xmmword [edx + 0x46c8], xmm0
mov eax, dword [esi + 0x46a4]
test eax, eax
je 0x4199c3
cmp dword [edi + 8], eax
je 0x419940
cmp dword [edi + 0x70], eax
jne 0x4199c3
call fcn.004235d0
jmp 0x4199c3
mov edx, dword [0x889efc]
mov dword [edx + 0x3e48], edi
mov eax, dword [edi + 0x194]
cmp eax, 0xffffffff
je 0x41996f
imul ecx, eax, 0x1e8
add ecx, dword [edx + 0x4a20]
jmp 0x419971
xor ecx, ecx
mov dword [edx + 0x4a04], ecx
mov eax, dword [edi]
movss xmm0, dword [eax + 0x3bbc]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x41999b
mulss xmm0, dword [eax + 0x25c]
movss dword [edx + 0x3bcc], xmm0
movss dword [edx + 0x3bb8], xmm0
test ecx, ecx
jne 0x4199bb
cmp dword [edi + 0x190], ecx
jne 0x4199bb
mov al, 1
jmp 0x4199bd
xor al, al
mov byte [edi + 0x150], al
mov ecx, dword [0x889efc]
push 1
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
lea eax, [edi + 0x1e8]
mov esi, dword [ecx + 0x3e48]
push eax
lea eax, [edi + 0x1e0]
push eax
mov ecx, dword [esi + 0x264]
call fcn.0042d6a0
mov eax, dword [esi + 0x264]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x210], eax
mov eax, dword [esp + 0x48]
movss dword [esi + 0x214], xmm0
movss dword [esi + 0x218], xmm1
movss dword [esi + 0x21c], xmm2
mov byte [edi + 0xac], 0
inc word [edi + 0xb6]
mov dword [ecx + 0x46f8], 0
cmp eax, dword [esp + 0x4c]
je 0x419bc4
mov eax, dword [esp + 0x14]
test eax, 0x1000000
je 0x419b2a
test al, 0x40
jne 0x419af0
cmp byte [edi + 0xc4], 0
jg 0x419af0
cmp byte [edi + 0xc5], 0
jg 0x419af0
test eax, 0x800000
je 0x419ab8
cmp byte [ecx + 0x4804], 0
je 0x419ab8
mov eax, dword [ecx + 0x47c8]
test eax, eax
je 0x419ab8
mov eax, dword [eax + 0x30c]
cmp eax, dword [edi + 0x30c]
jne 0x419ab8
mov al, 1
jmp 0x419aba
xor al, al
cmp byte [ecx + 0x5aa4], 0
jne 0x419af0
test al, al
jne 0x419af0
movss xmm0, dword [edi + 0x1c0]
comiss xmm0, dword [edi + 0x1c8]
jae 0x419ae9
movss xmm0, dword [edi + 0x1c4]
comiss xmm0, dword [edi + 0x1cc]
jb 0x419af0
mov byte [edi + 0xcc], 1
mov eax, dword [esp + 0x40]
test eax, eax
je 0x419b2a
cmp byte [eax + 0xad], 0
jne 0x419b0a
cmp byte [eax + 0xcc], 0
jle 0x419b11
mov byte [edi + 0xcc], 1
cmp byte [eax + 0xad], 0
jne 0x419b23
cmp byte [eax + 0xcd], 0
jle 0x419b2a
mov byte [edi + 0xcd], 1
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x3788]
jb 0x419b3d
mov byte [edi + 0xcc], 1
cmp byte [edi + 0xcc], 0
jg 0x419b5d
cmp byte [edi + 0xcd], 0
jg 0x419b5d
xor dl, dl
cmp byte [edi + 0xce], dl
jg 0x419b5f
xor al, al
jmp 0x419b61
mov dl, 1
mov al, 1
mov byte [edi + 0xb1], al
mov al, byte [edi + 0xcf]
test al, al
jle 0x419b84
dec al
mov byte [edi + 0xcf], al
mov eax, dword [edi + 0xc]
or eax, 0xc0200
mov dword [edi + 0xc], eax
xor al, al
cmp byte [edi + 0xad], al
jne 0x419b9a
cmp byte [edi + 0xaa], al
je 0x419b9a
test dl, dl
je 0x419bbe
cmp byte [edi + 0xc4], 0
jg 0x419bbe
cmp byte [edi + 0xc5], 0
jg 0x419bbe
cmp byte [edi + 0xcd], 0
mov edx, 1
movzx eax, al
cmovle eax, edx
mov byte [edi + 0xaf], al
cmp byte [edi + 0xb2], 0
jne 0x419c1b
cmp byte [ecx + 0x6c], 0
je 0x419bda
cmp dword [esp + 0x60], 0
je 0x419bef
cmp byte [ecx + 0x6d], 0
je 0x419c1b
movsx eax, byte [ecx + 0x5afa]
cmp eax, dword [ecx + 0x3e24]
jne 0x419c1b
mov al, byte [edi + 0xc4]
test al, al
jle 0x419c01
inc al
mov byte [edi + 0xc4], al
mov al, byte [edi + 0xc5]
test al, al
jle 0x419c13
inc al
mov byte [edi + 0xc5], al
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [edi + 0xaf], 0
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret