Function at 0x522d10
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.00518800
add esp, 4
mov ecx, eax
call fcn.00520820
mov edi, eax
mov dword [esp + 0x64], eax
test edi, edi
mov dword [esp + 0x38], edi
sete byte [esp + 0x10]
test eax, eax
jne 0x522d6f
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x54]
call fcn.00520b00
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 0x522db6
cmp byte [esi + 0x3dd5], 0
je 0x522db6
mov al, 1
jmp 0x522db8
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 0x522e0a
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 0x522e29
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 0x522e86
push edx
mov dl, byte [esp + 0x14]
mov ecx, edi
call fcn.00520880
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 0x522e8d
mov edx, dword [edi + 0xc]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3e24]
test eax, eax
jne 0x522e9b
xor ecx, ecx
jmp 0x522ea8
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 0x522ec5
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x522ecb
mov eax, dword [edi + 0x2f8]
cmp dword [edi + 0xe4], 0
mov dword [esp + 0x44], eax
lea eax, [edi + 0xe4]
jne 0x522f04
cmp dword [eax + 4], 0
jne 0x522ef3
push 8
mov ecx, eax
call fcn.0052fc20
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 0x52304d
inc ecx
test eax, eax
je 0x523035
cdq
sub eax, edx
lea edx, [esi + 0x3e24]
sar eax, 1
add eax, dword [esp + 0x28]
jmp 0x52303a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.005303d0
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 0x5230ac
inc dword [esi + 0x47b8]
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x4c]
je 0x523161
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 0x52312a
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x5230fa
mov eax, dword [edx + 0x300]
mov dword [edi + 0x300], eax
test ecx, 0x4000000
je 0x52310e
mov eax, dword [edx + 0x304]
mov dword [edi + 0x304], eax
test ecx, 0x8000000
jne 0x52312a
test ecx, 0x5000000
je 0x52312a
mov eax, dword [edx + 0x308]
mov dword [edi + 0x308], eax
test dword [edi + 0xc], 0x800000
je 0x523157
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 0x523140
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 0x5231b5
test ecx, ecx
je 0x523198
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, ecx
jmp 0x52319d
mov eax, 8
mov ecx, dword [edx]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.0052fc20
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 0x523232
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.0052f990
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 0x5232ec
mov dl, byte [edi + 0xd0]
mov ecx, dword [esi + 0x46fc]
movsx eax, dl
test ecx, eax
setne byte [esp + 0x13]
test ecx, eax
je 0x5232db
movss xmm1, dword [esi + 0x4714]
movss xmm0, dword [esi + 0x4710]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x58a83c]
jbe 0x5232db
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 0x5232ec
push ecx
lea edx, [esi + 0x4708]
mov ecx, edi
call fcn.00525bb0
add esp, 4
test byte [esi + 0x46f8], 2
xorps xmm1, xmm1
je 0x523352
movsx eax, byte [edi + 0xd1]
mov ecx, dword [esi + 0x4700]
and eax, ecx
je 0x52331d
movss xmm0, dword [esi + 0x4718]
comiss xmm0, xmm1
jbe 0x52331d
mov byte [esp + 0x11], 1
jmp 0x523327
xor dl, dl
mov byte [esp + 0x11], dl
test eax, eax
je 0x523339
movss xmm0, dword [esi + 0x471c]
comiss xmm0, xmm1
mov byte [esp + 0x12], 1
ja 0x52333e
mov byte [esp + 0x12], 0
push ecx
lea edx, [esi + 0x4718]
mov ecx, edi
call fcn.00525d10
add esp, 4
xorps xmm1, xmm1
test byte [esi + 0x46f8], 0x80
je 0x523399
movss xmm0, dword [esi + 0x4728]
comiss xmm0, xmm1
jb 0x52337a
movss dword [edi + 0x88], xmm0
mov dword [edi + 0x90], 0
movss xmm0, dword [esi + 0x472c]
comiss xmm0, xmm1
jb 0x523399
movss dword [edi + 0x8c], xmm0
mov dword [edi + 0x94], 0
test byte [esi + 0x46f8], 4
je 0x5233b6
mov eax, dword [esi + 0x4720]
mov ecx, dword [esi + 0x4724]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
jmp 0x5233ce
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x4c]
je 0x5233ce
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
test byte [esi + 0x46f8], 8
je 0x52341b
mov ecx, dword [esi + 0x4704]
mov dl, byte [esi + 0x4730]
test ecx, ecx
je 0x5233f2
movsx eax, byte [edi + 0xd2]
test ecx, eax
je 0x52341b
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 0x52342d
xor edx, edx
mov ecx, edi
call fcn.005253e0
cmp byte [edi + 0xb0], 0
je 0x52344b
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 0x524efc
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 0x5234ee
test eax, eax
je 0x5234d1
cdq
sub eax, edx
lea edx, [edi + 0xe4]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x5234dc
mov ecx, 8
lea edx, [edi + 0xe4]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.0052fc20
mov dword [edi + 0xe4], 1
mov ecx, dword [edi + 0x264]
call fcn.00538eb0
cmp byte [edi + 0x358], 0
mov dword [edi + 0x194], 0xffffffff
je 0x523559
mov ecx, dword [edi + 0x264]
push dword [edi + 0x350]
add ecx, 0xc
mov byte [edi + 0x358], 0
call fcn.005301a0
mov ecx, dword [edi + 0x264]
push dword [edi + 0x354]
add ecx, 0x18
call fcn.0052ffb0
mov dword [edi + 0x354], 0
mov dword [edi + 0x350], 0
cmp dword [esi + 0x493c], 0
je 0x52364a
test dword [edi + 0xc], 0x80000
jne 0x52364a
cmp dword [esp + 0x64], 0
je 0x52364a
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 0x5235b0
test dl, dl
je 0x5235ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x5235b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x523590
xor eax, eax
jmp 0x5235b5
sbb eax, eax
or eax, 1
test eax, eax
je 0x52364a
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 0x5235d0
sub ecx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esp + 0x20], eax
cmp edx, eax
mov eax, dword [esp + 0x24]
jae 0x52362e
test eax, eax
je 0x5235fe
mov ecx, dword [0x6bb530]
test ecx, ecx
je 0x5235fe
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 0x523617
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 0x523632
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.00520ef0
mov al, byte [edi + 0xcc]
add esp, 4
test al, al
jle 0x52366d
dec al
mov byte [edi + 0xcc], al
mov al, byte [edi + 0xcd]
test al, al
jle 0x52367f
dec al
mov byte [edi + 0xcd], al
mov al, byte [edi + 0xce]
test al, al
jle 0x523691
dec al
mov byte [edi + 0xce], al
cmp dword [esp + 0x64], 0
mov al, byte [esp + 0x11]
mov cl, byte [esp + 0x12]
jne 0x5236af
test al, al
je 0x5236a8
test cl, cl
jne 0x5236af
mov byte [edi + 0xcd], 1
cmp byte [esp + 0x1f], 0
mov edx, dword [esp + 0x14]
je 0x52370e
test edx, 0x6000000
je 0x52370e
mov byte [edi + 0xcd], 1
test dl, 0x40
je 0x52370e
test al, al
jne 0x5236e0
mov dword [edi + 0x24], 0
mov dword [edi + 0x1c], 0
test cl, cl
jne 0x5236f2
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 0x523746
imul eax, eax, 0x1e8
add eax, dword [ecx + 0x4a20]
jmp 0x523748
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 0x523776
mulss xmm0, dword [eax + 0x25c]
cmp dword [esp + 0x18], 0
movss dword [ecx + 0x3bcc], xmm0
movss dword [ecx + 0x3bb8], xmm0
jne 0x52379a
cmp dword [edi + 0x190], 0
jne 0x52379a
mov al, 1
jmp 0x52379c
xor al, al
mov byte [edi + 0x150], al
test edx, 0x1000000
je 0x5237b4
movss xmm0, dword [esi + 0x37b8]
jmp 0x5237d6
test edx, 0x6000000
je 0x5237ce
test edx, 0x8000000
jne 0x5237ce
movss xmm0, dword [esi + 0x37c0]
jmp 0x5237d6
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 0x52382a
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x52382a
test edx, 0x400
je 0x52381b
movss xmm0, dword [esi + 0x3794]
jmp 0x52381e
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 0x5239a7
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x523871
xorps xmm3, xmm3
jmp 0x5238a3
movss xmm0, dword [ecx + 0x3bbc]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x523893
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 0x52395b
cmp dword [esi + 0x3e80], 0
jne 0x52395b
cmp dword [esi + 0x3e84], 0
jne 0x52395b
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 0x52395b
movss xmm0, dword [edx + 0xdc4]
comiss xmm0, xmm6
jb 0x52395b
comiss xmm4, xmm1
jbe 0x52395b
comiss xmm3, xmm0
jbe 0x52395b
cmp word [esi + 0x370a], 2
jne 0x52395b
mov byte [edi + 0xae], 1
cmp byte [edi + 0xae], 0
je 0x5239ae
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 0x5239ae
comiss xmm2, dword [edx + 0x5a44]
jb 0x5239ae
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x5a44], eax
jmp 0x5239ae
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 0x5239ee
xorps xmm3, xmm3
jmp 0x523a23
movss xmm0, dword [edi + 0x25c]
mov edx, dword [edi + 0x2f8]
mulss xmm0, dword [ecx + 0x3bbc]
test edx, edx
je 0x523a10
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 0x523a67
movss xmm1, dword [edi + 0x25c]
mov eax, dword [edi + 0x2f8]
mulss xmm1, dword [ecx + 0x3bbc]
test eax, eax
je 0x523a4d
mulss xmm1, dword [eax + 0x25c]
movss xmm0, dword [ecx + 0x37c8]
addss xmm1, dword [edi + 0x158]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x523a6a
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.00521020
add esp, 4
test byte [esp + 0x14], 0x40
je 0x523aeb
cmp byte [edi + 0xad], 0
jne 0x523aeb
cmp byte [esp + 0x11], 0
jne 0x523ac7
movss xmm0, dword [esp + 0x68]
movss dword [edi + 0x24], xmm0
mov byte [esp + 0x10], 1
cmp byte [esp + 0x12], 0
jne 0x523b97
movss xmm0, dword [esp + 0x6c]
mov eax, 1
movss dword [edi + 0x28], xmm0
mov dword [esp + 0x24], eax
jmp 0x523b97
mov al, byte [edi + 0xc4]
test al, al
jg 0x523b02
cmp byte [edi + 0xc5], 0
jle 0x523b97
cmp byte [esp + 0x11], 0
jne 0x523b33
test al, al
jle 0x523b33
cmp byte [edi + 0xc7], 0
je 0x523b23
movss xmm0, dword [edi + 0x24]
maxss xmm0, dword [esp + 0x68]
jmp 0x523b29
movss xmm0, dword [esp + 0x68]
movss dword [edi + 0x24], xmm0
mov byte [esp + 0x10], 1
cmp byte [esp + 0x12], 0
jne 0x523b6a
cmp byte [edi + 0xc5], 0
jle 0x523b6a
cmp byte [edi + 0xc7], 0
je 0x523b59
movss xmm0, dword [edi + 0x28]
maxss xmm0, dword [esp + 0x6c]
jmp 0x523b5f
movss xmm0, dword [esp + 0x6c]
mov al, 1
movss dword [edi + 0x28], xmm0
mov dword [esp + 0x24], eax
cmp byte [edi + 0xad], 0
jne 0x523b97
test dword [edi + 0xc], 0x100
mov ecx, dword [0x6bb530]
jne 0x523b97
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x5a44]
jb 0x523b97
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.00520cd0
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 0x523c37
test dword [esp + 0x14], 0x1000000
jne 0x523c37
test byte [edi + 0xc], 1
mov ecx, dword [edi]
je 0x523bdf
xorps xmm2, xmm2
jmp 0x523c11
movss xmm0, dword [ecx + 0x3bbc]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x523c01
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 0x523c45
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 0x523ca7
mov eax, ecx
mov dword [edi + 0xc8], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x523ca7
cmp byte [esp + 0x13], 0
jne 0x523ca7
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 0x523d4c
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 0x523d07
mov edx, dword [ecx]
inc edx
mov dword [esp + 0x28], edx
test eax, eax
je 0x523cef
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x523cf4
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.0052fc20
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 0x523d50
test al, al
jne 0x523d50
cmp dword [esp + 0x30], 0x3000000
je 0x523d50
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 [0x58aa28]
lahf
test ah, 0x44
jnp 0x523db6
cmp byte [edi + 0xcd], 0
jne 0x523db6
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.00525bb0
add esp, 4
jmp 0x523e04
test ecx, 0x10000000
jne 0x523de6
test ecx, 0x4000000
je 0x523dd0
test al, al
jne 0x523dd0
cmp byte [esp + 0x37], al
jg 0x523de6
test ecx, 0x2000000
je 0x523e08
test al, al
jne 0x523e08
cmp dword [esp + 0x30], 0x3000000
je 0x523e08
mov edx, edi
lea ecx, [esp + 0x3c]
call fcn.00529b30
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 0x523f67
test ecx, 0x1000000
jne 0x523f67
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x523f67
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x523f67
mov eax, dword [0x6bb530]
movss xmm1, dword [edi + 0x20]
cmp byte [eax + 0x67], 0
je 0x523f32
test byte [edi + 0xc], 1
jne 0x523f32
mov edx, dword [edi]
mov eax, dword [edi + 0x2f8]
movss xmm0, dword [edx + 0x3bbc]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x523f22
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 0x523f4c
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x14]
comiss xmm2, xmm0
ja 0x523f5d
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 0x523f9b
movss xmm2, dword [esi + 0x37b4]
jmp 0x523fbb
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x523fb3
movss xmm2, dword [esi + 0x37bc]
jmp 0x523fbb
movss xmm2, dword [esi + 0x3798]
xor al, al
movss dword [edi + 0x4c], xmm2
mov dword [esp + 0x20], eax
cmp byte [esp + 0x1f], al
je 0x523ff8
test ecx, 0x1000
jne 0x523ff8
test ecx, 0x4000000
je 0x523fe3
mov byte [esp + 0x20], 1
jmp 0x523ff8
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 [0x58a8e4]
movaps xmmword [esp + 0x120], xmm0
xor eax, eax
cmp byte [esi + 0x66], al
movaps xmm0, xmm1
mulss xmm1, dword [0x58a878]
setne al
mov dword [esp + 0xa8], 0xffffffff
mulss xmm0, dword [0x58a8e8]
inc eax
cmp byte [edi + 0xad], 0
addss xmm1, xmm2
mov dword [esp + 0x88], eax
maxss xmm0, xmm1
cvttss2si esi, xmm0
jne 0x52408d
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.00521340
mov ecx, dword [esp + 0x24]
add esp, 0x10
test al, al
je 0x52408d
mov dl, 1
mov byte [esp + 0x10], dl
jmp 0x524091
mov edx, dword [esp + 0x24]
cmp byte [edi + 0xad], 0
mov al, byte [esp + 0xa8]
mov byte [edi + 0xb5], al
jne 0x52421c
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 0x52410c
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
jmp 0x524134
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 0x524147
movaps xmm5, xmm2
test dl, dl
jne 0x52414e
movaps xmm4, xmm3
test ecx, 0x4000
jne 0x524164
comiss xmm6, xmm4
jbe 0x524160
test cl, 8
je 0x524164
xor al, al
jmp 0x524166
mov al, 1
mov byte [esp + 0x10], al
mov byte [edi + 0xa9], al
test ecx, 0x8000
jne 0x5241b7
mov edx, dword [esp + 0x2c]
xorps xmm0, xmm0
test al, al
je 0x52418d
movss xmm1, dword [edx + 0x37fc]
jmp 0x524190
xorps xmm1, xmm1
subss xmm5, xmm1
comiss xmm7, xmm5
jbe 0x5241ab
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
mov al, byte [esp + 0x10]
je 0x5241b7
mov byte [edi + 0xa8], 0
xorps xmm1, xmm1
jmp 0x5241e7
mov byte [edi + 0xa8], 1
test al, al
jne 0x5241d8
comiss xmm6, xmm4
jbe 0x5241d0
test cl, 8
jne 0x5241d0
mov al, 1
jmp 0x5241d2
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 0x5241f3
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 0x524220
mov edx, dword [esp + 0x2c]
mov eax, ecx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x524243
cmp dword [esp + 0x30], 0x3000000
je 0x524243
mov eax, dword [esp + 0x44]
add eax, 0x210
jmp 0x52424a
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 0x52427f
xorps xmm1, xmm1
jmp 0x5242b3
movss xmm0, dword [eax + 0x3bbc]
mov eax, dword [edi + 0x2f8]
mulss xmm0, dword [edi + 0x25c]
test eax, eax
je 0x5242a1
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 0x5243e5
movss xmm0, dword [edi + 0x50]
jmp 0x5243ed
movss xmm0, dword [edx + 0x37d0]
movss xmm2, dword [0x58a89c]
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 0x5244ad
movaps xmm1, xmm6
jmp 0x5244b4
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm7, dword [esp + 0x78]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm5, xmm2
jbe 0x5244cb
movaps xmm0, xmm5
jmp 0x5244d2
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 0x5244f6
movaps xmm6, xmm3
minss xmm6, xmm0
movss xmm0, dword [edi + 0x1e8]
comiss xmm5, xmm0
ja 0x52450a
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 0x524538
test dword [esp + 0x14], 0x2000040
jne 0x524538
mulss xmm0, dword [0x58a8a8]
jmp 0x524548
movss xmm0, dword [edx + 0x3bb8]
mulss xmm0, dword [0x58a980]
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.00528bc0
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 0x52464c
lea ecx, [edx + 1]
test eax, eax
je 0x52463a
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi + 4]
jmp 0x52463f
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.0052fc20
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.005392b0
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.00539450
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 0x5247b3
cmp dword [esp + 0x30], 0x3000000
je 0x5247b3
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x180]
cmp ecx, 2
jl 0x524771
mov eax, dword [eax + 0x188]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x524771
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 0x524775
comiss xmm2, xmm5
jbe 0x524775
comiss xmm3, xmm6
jbe 0x524775
comiss xmm4, xmm7
jbe 0x524775
mov byte [esp + 0x10], 1
jmp 0x52477a
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 0x5247b7
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x264]
cmp dword [eax + 0x18], 0
je 0x5247b7
cmp byte [esp + 0x10], 0
jne 0x5247b7
mov byte [esp + 0x11], 1
mov dword [edi + 0x264], eax
jmp 0x5247b7
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x4934]
test ecx, ecx
jne 0x5247cb
mov ecx, dword [eax + 0x47c8]
cmp byte [esp + 0x20], 0
jne 0x5247eb
test ecx, ecx
je 0x5247e4
mov eax, dword [edi + 0x308]
cmp eax, dword [ecx + 0x308]
je 0x5247eb
mov byte [esp + 0x18], 0
jmp 0x5247f0
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.005221f0
add esp, 0x14
cmp byte [esp + 0x11], 0
je 0x524835
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 0x52485c
movss dword [esp + 0x18], xmm6
jmp 0x52489e
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 0x524891
movss xmm0, dword [edi + 0x2c]
jmp 0x524894
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [esp + 0x18], xmm0
movss xmm5, dword [edi + 0x40]
ucomiss xmm5, xmm4
lahf
test ah, 0x44
jnp 0x5248b1
movaps xmm7, xmm5
jmp 0x5248e3
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 0x5248dc
movss xmm7, dword [edi + 0x30]
jmp 0x5248df
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 0x524a37
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 0x524a6e
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 [0x58a828]
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 0x524c49
xorps xmm0, xmm0
movq qword [eax], xmm0
jmp 0x524c4d
mov dword [esp + 0x18], eax
cvttss2si eax, xmm1
push ecx
mov word [ecx + 8], ax
call fcn.00556110
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 0x524cbf
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.0052fc20
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 0x524cf5
mov eax, dword [eax + 0x198]
jmp 0x524cfa
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 0x524d45
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.0052fc20
lea eax, [edi + 0x1a8]
mov dword [eax], 0
lea eax, [edi + 0x1b4]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x524d7a
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.0052fc20
lea eax, [edi + 0x1b4]
mov dword [eax], 0
mov al, byte [edi + 0xc4]
test al, al
jle 0x524d92
dec al
mov byte [edi + 0xc4], al
mov al, byte [edi + 0xc5]
test al, al
jle 0x524da4
dec al
mov byte [edi + 0xc5], al
cmp byte [esp + 0x20], 0
je 0x524dc8
mov edx, 2
mov ecx, edi
call fcn.005253e0
cmp edi, dword [esi + 0x47c8]
jne 0x524dc8
xor dl, dl
mov ecx, edi
call fcn.0052aed0
test byte [esp + 0x14], 1
jne 0x524e2b
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.005227d0
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 0x524ea0
movss xmm0, dword [edx + 0xdc4]
comiss xmm0, xmm5
jb 0x524ea0
comiss xmm3, xmm1
jbe 0x524ea0
comiss xmm4, xmm0
mov dword [esp + 0x28], 1
ja 0x524ea4
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 0x524f75
cmp dword [edi + 8], eax
je 0x524ef5
cmp dword [edi + 0x70], eax
jne 0x524f75
call fcn.0052f220
jmp 0x524f75
mov edx, dword [0x6bb530]
mov dword [edx + 0x3e48], edi
mov eax, dword [edi + 0x194]
cmp eax, 0xffffffff
je 0x524f21
imul ecx, eax, 0x1e8
add ecx, dword [edx + 0x4a20]
jmp 0x524f23
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 0x524f4d
mulss xmm0, dword [eax + 0x25c]
movss dword [edx + 0x3bcc], xmm0
movss dword [edx + 0x3bb8], xmm0
test ecx, ecx
jne 0x524f6d
cmp dword [edi + 0x190], ecx
jne 0x524f6d
mov al, 1
jmp 0x524f6f
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.00539450
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 0x525172
mov eax, dword [esp + 0x14]
test eax, 0x1000000
je 0x5250d8
test al, 0x40
jne 0x52509e
cmp byte [edi + 0xc4], 0
jg 0x52509e
cmp byte [edi + 0xc5], 0
jg 0x52509e
test eax, 0x800000
je 0x525066
cmp byte [ecx + 0x4804], 0
je 0x525066
mov eax, dword [ecx + 0x47c8]
test eax, eax
je 0x525066
mov eax, dword [eax + 0x30c]
cmp eax, dword [edi + 0x30c]
jne 0x525066
mov al, 1
jmp 0x525068
xor al, al
cmp byte [ecx + 0x5aa4], 0
jne 0x52509e
test al, al
jne 0x52509e
movss xmm0, dword [edi + 0x1c0]
comiss xmm0, dword [edi + 0x1c8]
jae 0x525097
movss xmm0, dword [edi + 0x1c4]
comiss xmm0, dword [edi + 0x1cc]
jb 0x52509e
mov byte [edi + 0xcc], 1
mov eax, dword [esp + 0x44]
test eax, eax
je 0x5250d8
cmp byte [eax + 0xad], 0
jne 0x5250b8
cmp byte [eax + 0xcc], 0
jle 0x5250bf
mov byte [edi + 0xcc], 1
cmp byte [eax + 0xad], 0
jne 0x5250d1
cmp byte [eax + 0xcd], 0
jle 0x5250d8
mov byte [edi + 0xcd], 1
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x3788]
jb 0x5250eb
mov byte [edi + 0xcc], 1
cmp byte [edi + 0xcc], 0
jg 0x52510b
cmp byte [edi + 0xcd], 0
jg 0x52510b
xor dl, dl
cmp byte [edi + 0xce], dl
jg 0x52510d
xor al, al
jmp 0x52510f
mov dl, 1
mov al, 1
mov byte [edi + 0xb1], al
mov al, byte [edi + 0xcf]
test al, al
jle 0x525132
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 0x525148
cmp byte [edi + 0xaa], al
je 0x525148
test dl, dl
je 0x52516c
cmp byte [edi + 0xc4], 0
jg 0x52516c
cmp byte [edi + 0xc5], 0
jg 0x52516c
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 0x5251c9
cmp byte [ecx + 0x6c], 0
je 0x525188
cmp dword [esp + 0x64], 0
je 0x52519d
cmp byte [ecx + 0x6d], 0
je 0x5251c9
movsx eax, byte [ecx + 0x5afa]
cmp eax, dword [ecx + 0x3e24]
jne 0x5251c9
mov al, byte [edi + 0xc4]
test al, al
jle 0x5251af
inc al
mov byte [edi + 0xc4], al
mov al, byte [edi + 0xc5]
test al, al
jle 0x5251c1
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