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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
push esi
mov esi, dword [0x6bb530]
mov eax, ecx
push edi
mov dword [esp + 0xac], edx
xor edx, edx
push 0
mov dword [esp + 0x58], eax
mov dword [esp + 0x30], esi
call fcn.00518860
add esp, 4
mov ecx, eax
call fcn.005208a0
mov edi, eax
mov dword [esp + 0x64], eax
test edi, edi
mov dword [esp + 0x38], edi
sete byte [esp + 0x10]
test eax, eax
jne 0x522def
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x54]
call fcn.00520b80
mov edi, eax
mov dword [esp + 0x38], 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 0x522e36
cmp byte [esi + 0x3dd5], 0
je 0x522e36
mov al, 1
jmp 0x522e38
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 0x522e8a
mov eax, dword [esi + 0x47ac]
lea esi, [eax + eax*4]
mov eax, dword [esp + 0x2c]
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 + 0x2c]
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 0x522ea9
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 0x522f06
push edx
mov dl, byte [esp + 0x14]
mov ecx, edi
call fcn.00520900
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 0x522f0d
mov edx, dword [edi + 0xc]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3e24]
test eax, eax
jne 0x522f1b
xor ecx, ecx
jmp 0x522f28
imul ecx, eax, 0x54
mov eax, dword [esi + 0x3e2c]
mov ecx, dword [ecx + eax - 0x54]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], ecx
cmp eax, dword [esp + 0x4c]
je 0x522f45
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x522f4b
mov eax, dword [edi + 0x2f8]
cmp dword [edi + 0xe4], 0
mov dword [esp + 0x44], eax
lea eax, [edi + 0xe4]
jne 0x522f84
cmp dword [eax + 4], 0
jne 0x522f73
push 8
mov ecx, eax
call fcn.0052fcb0
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 0x5230cd
inc ecx
test eax, eax
je 0x5230b5
cdq
sub eax, edx
lea edx, [esi + 0x3e24]
sar eax, 1
add eax, dword [esp + 0x28]
jmp 0x5230ba
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00530470
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 0x52312c
inc dword [esi + 0x47b8]
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x4c]
je 0x5231e1
mov edx, dword [esp + 0x44]
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 0x5231aa
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x52317a
mov eax, dword [edx + 0x300]
mov dword [edi + 0x300], eax
test ecx, 0x4000000
je 0x52318e
mov eax, dword [edx + 0x304]
mov dword [edi + 0x304], eax
test ecx, 0x8000000
jne 0x5231aa
test ecx, 0x5000000
je 0x5231aa
mov eax, dword [edx + 0x308]
mov dword [edi + 0x308], eax
test dword [edi + 0xc], 0x800000
je 0x5231d7
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 0x5231c0
mov eax, dword [esp + 0x30]
mov dword [edi + 0x2fc], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x24], eax
mov eax, dword [0x6bb530]
mov ecx, dword [eax + 0x4780]
lea edx, [eax + 0x477c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], edx
cmp dword [edx], ecx
jne 0x523235
test ecx, ecx
je 0x523218
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, ecx
jmp 0x52321d
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.0052fcb0
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov edi, dword [esp + 0x24]
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 + 0x38]
mov dword [ecx + 0x469c], eax
mov eax, dword [esi + 0x469c]
mov dword [edi + 0x34c], eax
mov dword [esi + 0x3e48], 0
je 0x5232b2
mov eax, dword [esi + 0x47ac]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x47a8]
mov dword [eax + ecx*8 + 4], edi
lea esi, [eax + ecx*8]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push esi
mov eax, dword [eax + 0x148]
lea ecx, [ecx + 0x47ac]
mov dword [esi + 0xc], eax
call fcn.0052fa20
mov eax, dword [esi]
mov esi, dword [esp + 0x2c]
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 0x52336c
mov dl, byte [edi + 0xd0]
mov ecx, dword [esi + 0x46fc]
movsx eax, dl
test ecx, eax
setne byte [esp + 0x13]
test ecx, eax
je 0x52335b
movss xmm1, dword [esi + 0x4714]
movss xmm0, dword [esi + 0x4710]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x58a7d4]
jbe 0x52335b
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 0x52336c
push ecx
lea edx, [esi + 0x4708]
mov ecx, edi
call fcn.00525c30
add esp, 4
test byte [esi + 0x46f8], 2
xorps xmm1, xmm1
je 0x5233d2
movsx eax, byte [edi + 0xd1]
mov ecx, dword [esi + 0x4700]
and eax, ecx
je 0x52339d
movss xmm0, dword [esi + 0x4718]
comiss xmm0, xmm1
jbe 0x52339d
mov byte [esp + 0x11], 1
jmp 0x5233a7
xor dl, dl
mov byte [esp + 0x11], dl
test eax, eax
je 0x5233b9
movss xmm0, dword [esi + 0x471c]
comiss xmm0, xmm1
mov byte [esp + 0x12], 1
ja 0x5233be
mov byte [esp + 0x12], 0
push ecx
lea edx, [esi + 0x4718]
mov ecx, edi
call fcn.00525d90
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x46f8], 0x80
je 0x523419
movss xmm0, dword [esi + 0x4728]
comiss xmm0, xmm1
jb 0x5233fa
movss dword [edi + 0x88], xmm0
mov dword [edi + 0x90], 0
movss xmm0, dword [esi + 0x472c]
comiss xmm0, xmm1
jb 0x523419
movss dword [edi + 0x8c], xmm0
mov dword [edi + 0x94], 0
test byte [esi + 0x46f8], 4
je 0x523436
mov eax, dword [esi + 0x4720]
mov ecx, dword [esi + 0x4724]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
jmp 0x52344e
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x4c]
je 0x52344e
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
test byte [esi + 0x46f8], 8
je 0x52349b
mov ecx, dword [esi + 0x4704]
mov dl, byte [esi + 0x4730]
test ecx, ecx
je 0x523472
movsx eax, byte [edi + 0xd2]
test ecx, eax
je 0x52349b
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 0x5234ad
xor edx, edx
mov ecx, edi
call fcn.00525460
cmp byte [edi + 0xb0], 0
je 0x5234cb
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 0x524f7c
mov eax, dword [esp + 0x14]
and eax, 0x3000000
mov byte [edi + 0xaa], 1
cmp dword [esp + 0xac], 0
mov dword [esp + 0x30], eax
mov al, byte [edi + 0xcd]
mov byte [esp + 0x37], 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 [edi + 0xe8]
cmp eax, 1
jge 0x52356e
test eax, eax
je 0x523551
cdq
sub eax, edx
lea edx, [edi + 0xe4]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x52355c
mov ecx, 8
lea edx, [edi + 0xe4]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.0052fcb0
mov dword [edi + 0xe4], 1
mov ecx, dword [edi + 0x264]
call fcn.00538f50
cmp byte [edi + 0x358], 0
mov dword [edi + 0x194], 0xffffffff
je 0x5235d9
mov ecx, dword [edi + 0x264]
push dword [edi + 0x350]
add ecx, 0xc
mov byte [edi + 0x358], 0
call fcn.00530240
mov ecx, dword [edi + 0x264]
push dword [edi + 0x354]
add ecx, 0x18
call fcn.00530050
mov dword [edi + 0x354], 0
mov dword [edi + 0x350], 0
cmp dword [esi + 0x493c], 0
je 0x5236ca
test dword [edi + 0xc], 0x80000
jne 0x5236ca
cmp dword [esp + 0x64], 0
je 0x5236ca
mov eax, dword [edi + 4]
mov ecx, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x54]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x523630
test dl, dl
je 0x52362c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x523630
add eax, 2
add ecx, 2
test dl, dl
jne 0x523610
xor eax, eax
jmp 0x523635
sbb eax, eax
or eax, 1
test eax, eax
je 0x5236ca
mov ecx, dword [esp + 0x54]
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x18], edx
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x523650
sub ecx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
cmp edx, eax
mov eax, dword [esp + 0x24]
jae 0x5236ae
test eax, eax
je 0x52367e
mov ecx, dword [0x6bb530]
test ecx, ecx
je 0x52367e
dec dword [ecx + 0xb4]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [0x6bb530]
add esp, 4
test eax, eax
je 0x523697
inc dword [eax + 0xb4]
push dword [esp + 0x20]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x18], ecx
jmp 0x5236b2
mov ecx, dword [esp + 0x20]
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.00520f70
mov al, byte [edi + 0xcc]
add esp, 4
test al, al
jle 0x5236ed
dec al
mov byte [edi + 0xcc], al
mov al, byte [edi + 0xcd]
test al, al
jle 0x5236ff
dec al
mov byte [edi + 0xcd], al
mov al, byte [edi + 0xce]
test al, al
jle 0x523711
dec al
mov byte [edi + 0xce], al
cmp dword [esp + 0x64], 0
mov al, byte [esp + 0x11]
mov cl, byte [esp + 0x12]
jne 0x52372f
test al, al
je 0x523728
test cl, cl
jne 0x52372f
mov byte [edi + 0xcd], 1
cmp byte [esp + 0x1f], 0
mov edx, dword [esp + 0x14]
je 0x52378e
test edx, 0x6000000
je 0x52378e
mov byte [edi + 0xcd], 1
test dl, 0x40
je 0x52378e
test al, al
jne 0x523760
mov dword [edi + 0x24], 0
mov dword [edi + 0x1c], 0
test cl, cl
jne 0x523772
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 [0x6bb530]
mov dword [esp + 0x20], ecx
mov eax, dword [ecx + 0x47c4]
mov eax, dword [eax]
mov dword [edi + 0x10], eax
mov dword [esp + 0x50], eax
mov dword [ecx + 0x3e48], edi
mov eax, dword [edi + 0x194]
cmp eax, 0xffffffff
je 0x5237c6
imul eax, eax, 0x1e8
add eax, dword [ecx + 0x4a20]
jmp 0x5237c8
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 0x5237f6
mulss xmm0, dword [eax + 0x25c]
cmp dword [esp + 0x18], 0
movss dword [ecx + 0x3bcc], xmm0
movss dword [ecx + 0x3bb8], xmm0
jne 0x52381a
cmp dword [edi + 0x190], 0
jne 0x52381a
mov al, 1
jmp 0x52381c
xor al, al
mov byte [edi + 0x150], al
test edx, 0x1000000
je 0x523834
movss xmm0, dword [esi + 0x37b8]
jmp 0x523856
test edx, 0x6000000
je 0x52384e
test edx, 0x8000000
jne 0x52384e
movss xmm0, dword [esi + 0x37c0]
jmp 0x523856
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 0x5238aa
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x5238aa
test edx, 0x400
je 0x52389b
movss xmm0, dword [esi + 0x3794]
jmp 0x52389e
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 + 0x24], eax
test dl, 0x21
jne 0x523a27
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x5238f1
xorps xmm3, xmm3
jmp 0x523923
movss xmm0, dword [ecx + 0x3bbc]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x523913
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 + 0x20]
cmp dword [esi + 0x3e4c], edi
jne 0x5239db
cmp dword [esi + 0x3e80], 0
jne 0x5239db
cmp dword [esi + 0x3e84], 0
jne 0x5239db
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 0x5239db
movss xmm0, dword [edx + 0xdc4]
comiss xmm0, xmm6
jb 0x5239db
comiss xmm4, xmm1
jbe 0x5239db
comiss xmm3, xmm0
jbe 0x5239db
cmp word [esi + 0x370a], 2
jne 0x5239db
mov byte [edi + 0xae], 1
cmp byte [edi + 0xae], 0
je 0x523a2e
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 + 0x24]
movzx eax, al
cmovne eax, ecx
test dword [edi + 0xc], 0x100
mov dword [esp + 0x24], eax
jne 0x523a2e
comiss xmm2, dword [edx + 0x5a44]
jb 0x523a2e
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5a44], eax
jmp 0x523a2e
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 0x523a6e
xorps xmm3, xmm3
jmp 0x523aa3
movss xmm0, dword [edi + 0x25c]
mov edx, dword [edi + 0x2f8]
mulss xmm0, dword [ecx + 0x3bbc]
test edx, edx
je 0x523a90
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 0x523ae7
movss xmm1, dword [edi + 0x25c]
mov eax, dword [edi + 0x2f8]
mulss xmm1, dword [ecx + 0x3bbc]
test eax, eax
je 0x523acd
mulss xmm1, dword [eax + 0x25c]
movss xmm0, dword [ecx + 0x37c8]
addss xmm1, dword [edi + 0x158]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x523aea
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.005210a0
add esp, 4
test byte [esp + 0x14], 0x40
je 0x523b6b
cmp byte [edi + 0xad], 0
jne 0x523b6b
cmp byte [esp + 0x11], 0
jne 0x523b47
movss xmm0, dword [esp + 0x68]
movss dword [edi + 0x24], xmm0
mov byte [esp + 0x10], 1
cmp byte [esp + 0x12], 0
jne 0x523c17
movss xmm0, dword [esp + 0x6c]
mov eax, 1
movss dword [edi + 0x28], xmm0
mov dword [esp + 0x24], eax
jmp 0x523c17
mov al, byte [edi + 0xc4]
test al, al
jg 0x523b82
cmp byte [edi + 0xc5], 0
jle 0x523c17
cmp byte [esp + 0x11], 0
jne 0x523bb3
test al, al
jle 0x523bb3
cmp byte [edi + 0xc7], 0
je 0x523ba3
movss xmm0, dword [edi + 0x24]
maxss xmm0, dword [esp + 0x68]
jmp 0x523ba9
movss xmm0, dword [esp + 0x68]
movss dword [edi + 0x24], xmm0
mov byte [esp + 0x10], 1
cmp byte [esp + 0x12], 0
jne 0x523bea
cmp byte [edi + 0xc5], 0
jle 0x523bea
cmp byte [edi + 0xc7], 0
je 0x523bd9
movss xmm0, dword [edi + 0x28]
maxss xmm0, dword [esp + 0x6c]
jmp 0x523bdf
movss xmm0, dword [esp + 0x6c]
mov al, 1
movss dword [edi + 0x28], xmm0
mov dword [esp + 0x24], eax
cmp byte [edi + 0xad], 0
jne 0x523c17
test dword [edi + 0xc], 0x100
mov ecx, dword [0x6bb530]
jne 0x523c17
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x5a44]
jb 0x523c17
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.00520d50
add esp, 4
cmp byte [edi + 0xad], 0
movss xmm3, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [edi + 0x24], xmm3
movss dword [edi + 0x28], xmm0
je 0x523cb7
test dword [esp + 0x14], 0x1000000
jne 0x523cb7
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x523c5f
xorps xmm2, xmm2
jmp 0x523c91
movss xmm0, dword [ecx + 0x3bbc]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x523c81
mulss xmm0, dword [eax + 0x25c]
movss xmm2, dword [ecx + 0x37c8]
addss xmm2, xmm2
addss xmm2, xmm0
movss xmm0, dword [edi + 0x14]
addss xmm2, dword [edi + 0x18]
addss xmm0, xmm3
subss xmm2, dword [edi + 0x18]
subss xmm0, dword [edi + 0x14]
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x3c], xmm0
jmp 0x523cc5
mov eax, dword [edi + 0x24]
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
cmp byte [esp + 0x1f], 0
lea ecx, [esp + 0x3c]
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 0x523d27
mov eax, ecx
mov dword [edi + 0xc8], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x523d27
cmp byte [esp + 0x13], 0
jne 0x523d27
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 0x523dcc
mov edx, dword [esp + 0x44]
mov ax, word [edx + 0x180]
lea ecx, [edx + 0x180]
mov word [edi + 0xba], ax
mov eax, dword [ecx + 4]
mov dword [esp + 0x60], ecx
cmp dword [ecx], eax
jne 0x523d87
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x28], edx
test eax, eax
je 0x523d6f
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x523d74
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.0052fcb0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x60]
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 0x523dd0
test al, al
jne 0x523dd0
cmp dword [esp + 0x30], 0x3000000
je 0x523dd0
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 [0x58a9c0]
lahf
test ah, 0x44
jnp 0x523e36
cmp byte [edi + 0xcd], 0
jne 0x523e36
movss xmm0, dword [edi + 0x1c]
lea edx, [esp + 0x3c]
mulss xmm0, dword [edi + 0xdc]
mov ecx, edi
push 0
subss xmm1, xmm0
movss xmm0, dword [edi + 0xd8]
movss dword [esp + 0x40], xmm1
movss xmm1, dword [edi + 0xe0]
mulss xmm1, dword [edi + 0x20]
subss xmm0, xmm1
movss dword [esp + 0x44], xmm0
call fcn.00525c30
add esp, 4
jmp 0x523e84
test ecx, 0x10000000
jne 0x523e66
test ecx, 0x4000000
je 0x523e50
test al, al
jne 0x523e50
cmp byte [esp + 0x37], al
jg 0x523e66
test ecx, 0x2000000
je 0x523e88
test al, al
jne 0x523e88
cmp dword [esp + 0x30], 0x3000000
je 0x523e88
mov edx, edi
lea ecx, [esp + 0x3c]
call fcn.00529bb0
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 + 0x50]
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 0x523fe7
test ecx, 0x1000000
jne 0x523fe7
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x523fe7
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x523fe7
mov eax, dword [0x6bb530]
movss xmm1, dword [edi + 0x20]
cmp byte [eax + 0x67], 0
je 0x523fb2
test byte [edi + 0xc], 1
jne 0x523fb2
mov edx, dword [edi]
mov eax, dword [edi + 0x2f8]
movss xmm0, dword [edx + 0x3bbc]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x523fa2
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 0x523fcc
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x14]
comiss xmm2, xmm0
ja 0x523fdd
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 0x52401b
movss xmm2, dword [esi + 0x37b4]
jmp 0x52403b
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x524033
movss xmm2, dword [esi + 0x37bc]
jmp 0x52403b
movss xmm2, dword [esi + 0x3798]
xor al, al
movss dword [edi + 0x4c], xmm2
mov dword [esp + 0x20], eax
cmp byte [esp + 0x1f], al
je 0x524078
test ecx, 0x1000
jne 0x524078
test ecx, 0x4000000
je 0x524063
mov byte [esp + 0x20], 1
jmp 0x524078
test ecx, 0x3000000
movzx eax, al
mov edx, 1
cmove eax, edx
mov dword [esp + 0x20], eax
movss xmm1, dword [esi + 0x3bb8]
xorps xmm0, xmm0
addss xmm2, dword [0x58a87c]
movaps xmmword [esp + 0x120], xmm0
xor eax, eax
cmp byte [esi + 0x66], al
movaps xmm0, xmm1
mulss xmm1, dword [0x58a810]
setne al
mov dword [esp + 0xa8], 0xffffffff
mulss xmm0, dword [0x58a880]
inc eax
cmp byte [edi + 0xad], 0
addss xmm1, xmm2
mov dword [esp + 0x88], eax
maxss xmm0, xmm1
cvttss2si esi, xmm0
jne 0x52410d
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esp + 0x124]
push ecx
push eax
lea eax, [esp + 0xb4]
mov ecx, edi
push eax
lea edx, [esp + 0x78]
call fcn.005213c0
mov ecx, dword [esp + 0x24]
add esp, 0x10
test al, al
je 0x52410d
mov dl, 1
mov byte [esp + 0x10], dl
jmp 0x524111
mov edx, dword [esp + 0x24]
cmp byte [edi + 0xad], 0
mov al, byte [esp + 0xa8]
mov byte [edi + 0xb5], al
jne 0x52429c
cmp dword [esp + 0x64], 0
lea eax, [esp + 0x3c]
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 0x52418c
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
jmp 0x5241b4
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 + 0x3c], xmm0
movss dword [esp + 0x40], xmm1
cmp byte [esp + 0x10], 0
movss xmm7, dword [eax]
movss xmm6, dword [eax + 4]
jne 0x5241c7
movaps xmm5, xmm2
test dl, dl
jne 0x5241ce
movaps xmm4, xmm3
test ecx, 0x4000
jne 0x5241e4
comiss xmm6, xmm4
jbe 0x5241e0
test cl, 8
je 0x5241e4
xor al, al
jmp 0x5241e6
mov al, 1
mov byte [esp + 0x10], al
mov byte [edi + 0xa9], al
test ecx, 0x8000
jne 0x524237
mov edx, dword [esp + 0x2c]
xorps xmm0, xmm0
test al, al
je 0x52420d
movss xmm1, dword [edx + 0x37fc]
jmp 0x524210
xorps xmm1, xmm1
subss xmm5, xmm1
comiss xmm7, xmm5
jbe 0x52422b
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
mov al, byte [esp + 0x10]
je 0x524237
mov byte [edi + 0xa8], 0
xorps xmm1, xmm1
jmp 0x524267
mov byte [edi + 0xa8], 1
test al, al
jne 0x524258
comiss xmm6, xmm4
jbe 0x524250
test cl, 8
jne 0x524250
mov al, 1
jmp 0x524252
xor al, al
mov byte [edi + 0xa9], al
mov edx, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm1, dword [edx + 0x37fc]
test al, al
je 0x524273
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 0x5242a0
mov edx, dword [esp + 0x2c]
mov eax, ecx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x5242c3
cmp dword [esp + 0x30], 0x3000000
je 0x5242c3
mov eax, dword [esp + 0x44]
add eax, 0x210
jmp 0x5242ca
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 0x5242ff
xorps xmm1, xmm1
jmp 0x524333
movss xmm0, dword [eax + 0x3bbc]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x524321
mulss xmm0, dword [eax + 0x25c]
mov eax, dword [edi]
movss xmm1, dword [eax + 0x37c8]
addss xmm1, xmm1
addss xmm1, xmm0
movaps xmm0, xmm6
movss dword [esp + 0x90], xmm6
addss xmm0, dword [edi + 0x24]
movaps xmm7, xmm2
mov eax, ecx
addss xmm7, xmm1
and eax, 0x401
movss xmm1, dword [edi + 0x18]
xorps xmm4, xmm4
movss dword [esp + 0x94], xmm1
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x9c], xmm7
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 + 0x60], xmm7
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 + 0x50], 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 0x524465
movss xmm0, dword [edi + 0x50]
jmp 0x52446d
movss xmm0, dword [edx + 0x37d0]
movss xmm2, dword [0x58a834]
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 + 0x50]
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 0x52452d
movaps xmm1, xmm6
jmp 0x524534
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm7, dword [esp + 0x78]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm5, xmm2
jbe 0x52454b
movaps xmm0, xmm5
jmp 0x524552
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 0x524576
movaps xmm6, xmm3
minss xmm6, xmm0
movss xmm0, dword [edi + 0x1e8]
comiss xmm5, xmm0
ja 0x52458a
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 0x5245b8
test dword [esp + 0x14], 0x2000040
jne 0x5245b8
mulss xmm0, dword [0x58a840]
jmp 0x5245c8
movss xmm0, dword [edx + 0x3bb8]
mulss xmm0, dword [0x58a918]
cvttss2si eax, xmm0
mov ecx, edi
mov edx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x240], xmm0
lea ecx, [esp + 0x3c]
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.00528c40
mov ecx, dword [edi + 0x264]
mov dword [esp + 0x5c], ecx
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x2c]
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 0x5246cc
lea ecx, [edx + 1]
test eax, eax
je 0x5246ba
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x5246bf
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.0052fcb0
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.00539350
mov ecx, dword [0x6bb530]
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.005394f0
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 0x524833
cmp dword [esp + 0x30], 0x3000000
je 0x524833
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x180]
cmp ecx, 2
jl 0x5247f1
mov eax, dword [eax + 0x188]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x5247f1
mov edi, dword [esp + 0x38]
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 0x5247f5
comiss xmm2, xmm5
jbe 0x5247f5
comiss xmm3, xmm6
jbe 0x5247f5
comiss xmm4, xmm7
jbe 0x5247f5
mov byte [esp + 0x10], 1
jmp 0x5247fa
mov edi, dword [esp + 0x38]
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 0x524837
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x264]
cmp dword [eax + 0x18], 0
je 0x524837
cmp byte [esp + 0x10], 0
jne 0x524837
mov byte [esp + 0x11], 1
mov dword [edi + 0x264], eax
jmp 0x524837
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x4934]
test ecx, ecx
jne 0x52484b
mov ecx, dword [eax + 0x47c8]
cmp byte [esp + 0x20], 0
jne 0x52486b
test ecx, ecx
je 0x524864
mov eax, dword [edi + 0x308]
cmp eax, dword [ecx + 0x308]
je 0x52486b
mov byte [esp + 0x18], 0
jmp 0x524870
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.00522270
add esp, 0x14
cmp byte [esp + 0x11], 0
je 0x5248b5
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 0x5248dc
movss dword [esp + 0x18], xmm6
jmp 0x52491e
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 0x524911
movss xmm0, dword [edi + 0x2c]
jmp 0x524914
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [esp + 0x18], xmm0
movss xmm5, dword [edi + 0x40]
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x524931
movaps xmm7, xmm5
jmp 0x524963
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 0x52495c
movss xmm7, dword [edi + 0x30]
jmp 0x52495f
xorps xmm7, xmm7
maxss xmm7, xmm1
movss xmm0, dword [edi + 0x44]
movss xmm4, dword [edi + 0x78]
movss xmm1, dword [edi + 0x1d0]
movss dword [esp + 0x88], xmm0
subss xmm1, xmm4
maxss xmm0, 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 + 0x38], xmm0
movss xmm0, dword [edi + 0x1d4]
subss xmm0, dword [esp + 0x38]
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 + 0x50], xmm0
movss dword [esp + 0x3c], 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 + 0x38]
movss dword [esp + 0x88], xmm4
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x30], xmm7
movss xmm4, dword [esp + 0x30]
movss xmm7, dword [esp + 0x5c]
addss xmm4, xmm7
addss xmm4, xmm0
movaps xmm0, xmm4
movss dword [esp + 0x30], xmm4
xorps xmm4, xmm4
movss dword [edi + 0x224], xmm0
ucomiss xmm6, xmm4
lahf
test ah, 0x44
jp 0x524ab7
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 0x524aee
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 + 0x30]
lea ecx, [edi + 0x15c]
addss xmm0, xmm5
mov esi, dword [esp + 0x2c]
movss xmm5, dword [esp + 0x58]
movss dword [edi + 0x22c], xmm0
movaps xmm0, xmm3
addss xmm0, xmm2
movss xmm3, dword [esp + 0x50]
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 + 0x3c]
cvtps2pd xmm0, xmm0
addsd xmm3, xmm0
cvtps2pd xmm0, xmm7
addsd xmm3, qword [0x58a7c0]
addsd xmm2, xmm0
movss xmm0, dword [esp + 0x38]
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 0x524cc9
xorps xmm0, xmm0
movq qword [eax], xmm0
jmp 0x524ccd
mov dword [esp + 0x18], eax
cvttss2si eax, xmm1
push ecx
mov word [ecx + 8], ax
call fcn.005561d0
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 0x524d3f
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.0052fcb0
lea eax, [edi + 0x180]
mov dword [eax], 0
lea eax, [edi + 0x244]
mov dword [edi + 0x18c], eax
mov eax, dword [esp + 0x44]
mov dword [edi + 0x190], 0
mov dword [edi + 0x198], 1
test eax, eax
je 0x524d75
mov eax, dword [eax + 0x198]
jmp 0x524d7a
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 0x524dc5
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.0052fcb0
lea eax, [edi + 0x1a8]
mov dword [eax], 0
lea eax, [edi + 0x1b4]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x524dfa
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.0052fcb0
lea eax, [edi + 0x1b4]
mov dword [eax], 0
mov al, byte [edi + 0xc4]
test al, al
jle 0x524e12
dec al
mov byte [edi + 0xc4], al
mov al, byte [edi + 0xc5]
test al, al
jle 0x524e24
dec al
mov byte [edi + 0xc5], al
cmp byte [esp + 0x20], 0
je 0x524e48
mov edx, 2
mov ecx, edi
call fcn.00525460
cmp edi, dword [esi + 0x47c8]
jne 0x524e48
xor dl, dl
mov ecx, edi
call fcn.0052af50
test byte [esp + 0x14], 1
jne 0x524eab
movss xmm0, dword [esp + 0x28]
lea edx, [esp + 0x70]
addss xmm0, dword [edi + 0x50]
push dword [esp + 0xac]
mov ecx, edi
push dword [esp + 0x58]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esp + 0x2c]
subss xmm0, dword [edi + 0x50]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x84], xmm0
call fcn.00522850
add esp, 8
mov edx, dword [0x6bb530]
xor eax, eax
movss xmm2, dword [esp + 0x28]
movss xmm3, dword [esp + 0x24]
movss xmm4, dword [esp + 0x60]
movss xmm5, dword [esp + 0x94]
mov dword [edi + 0x230], eax
movss xmm1, dword [edx + 0x37ec]
movss xmm0, dword [edx + 0x37f0]
subss xmm2, xmm1
addss xmm3, xmm1
movss xmm1, dword [edx + 0xdc0]
addss xmm4, xmm0
subss xmm5, xmm0
comiss xmm1, xmm2
jb 0x524f20
movss xmm0, dword [edx + 0xdc4]
comiss xmm0, xmm5
jb 0x524f20
comiss xmm3, xmm1
jbe 0x524f20
comiss xmm4, xmm0
mov dword [esp + 0x28], 1
ja 0x524f24
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 0x524ff5
cmp dword [edi + 8], eax
je 0x524f75
cmp dword [edi + 0x70], eax
jne 0x524ff5
call fcn.0052f2b0
jmp 0x524ff5
mov edx, dword [0x6bb530]
mov dword [edx + 0x3e48], edi
mov eax, dword [edi + 0x194]
cmp eax, 0xffffffff
je 0x524fa1
imul ecx, eax, 0x1e8
add ecx, dword [edx + 0x4a20]
jmp 0x524fa3
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 0x524fcd
mulss xmm0, dword [eax + 0x25c]
movss dword [edx + 0x3bcc], xmm0
movss dword [edx + 0x3bb8], xmm0
test ecx, ecx
jne 0x524fed
cmp dword [edi + 0x190], ecx
jne 0x524fed
mov al, 1
jmp 0x524fef
xor al, al
mov byte [edi + 0x150], al
mov ecx, dword [0x6bb530]
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.005394f0
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 + 0x2c]
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 0x5251f2
mov eax, dword [esp + 0x14]
test eax, 0x1000000
je 0x525158
test al, 0x40
jne 0x52511e
cmp byte [edi + 0xc4], 0
jg 0x52511e
cmp byte [edi + 0xc5], 0
jg 0x52511e
test eax, 0x800000
je 0x5250e6
cmp byte [ecx + 0x4804], 0
je 0x5250e6
mov eax, dword [ecx + 0x47c8]
test eax, eax
je 0x5250e6
mov eax, dword [eax + 0x30c]
cmp eax, dword [edi + 0x30c]
jne 0x5250e6
mov al, 1
jmp 0x5250e8
xor al, al
cmp byte [ecx + 0x5aa4], 0
jne 0x52511e
test al, al
jne 0x52511e
movss xmm0, dword [edi + 0x1c0]
comiss xmm0, dword [edi + 0x1c8]
jae 0x525117
movss xmm0, dword [edi + 0x1c4]
comiss xmm0, dword [edi + 0x1cc]
jb 0x52511e
mov byte [edi + 0xcc], 1
mov eax, dword [esp + 0x44]
test eax, eax
je 0x525158
cmp byte [eax + 0xad], 0
jne 0x525138
cmp byte [eax + 0xcc], 0
jle 0x52513f
mov byte [edi + 0xcc], 1
cmp byte [eax + 0xad], 0
jne 0x525151
cmp byte [eax + 0xcd], 0
jle 0x525158
mov byte [edi + 0xcd], 1
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x3788]
jb 0x52516b
mov byte [edi + 0xcc], 1
cmp byte [edi + 0xcc], 0
jg 0x52518b
cmp byte [edi + 0xcd], 0
jg 0x52518b
xor dl, dl
cmp byte [edi + 0xce], dl
jg 0x52518d
xor al, al
jmp 0x52518f
mov dl, 1
mov al, 1
mov byte [edi + 0xb1], al
mov al, byte [edi + 0xcf]
test al, al
jle 0x5251b2
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 0x5251c8
cmp byte [edi + 0xaa], al
je 0x5251c8
test dl, dl
je 0x5251ec
cmp byte [edi + 0xc4], 0
jg 0x5251ec
cmp byte [edi + 0xc5], 0
jg 0x5251ec
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 0x525249
cmp byte [ecx + 0x6c], 0
je 0x525208
cmp dword [esp + 0x64], 0
je 0x52521d
cmp byte [ecx + 0x6d], 0
je 0x525249
movsx eax, byte [ecx + 0x5afa]
cmp eax, dword [ecx + 0x3e24]
jne 0x525249
mov al, byte [edi + 0xc4]
test al, al
jle 0x52522f
inc al
mov byte [edi + 0xc4], al
mov al, byte [edi + 0xc5]
test al, al
jle 0x525241
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