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

Disassembly:
sub esp, 0x164
mov eax, dword [0x5c2e80]
xor eax, esp
mov dword [esp + 0x160], eax
mov edx, dword [esp + 0x16c]
mov ecx, dword [esp + 0x174]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x174]
push edi
mov edi, dword [esp + 0x18c]
mov dword [esp + 0x50], esi
cmp dword [esi + 0x7608], 1
mov dword [esp + 0xac], edx
jne 0x50cd8e
mov eax, dword [esi + 0x7600]
jmp 0x50cd97
mov eax, dword [esp + 0x180]
add eax, edx
mov ebp, dword [esi + 0x7604]
mov ebx, edx
mov edx, dword [esi + 0x7578]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x74b0]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x74b4]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x74b8]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], eax
test edi, edi
je 0x50ece8
push 8
pop eax
push dword [esp + 0x188]
cmp edi, eax
mov dword [esi + 0x750c], 1
push ecx
cmovl eax, edi
add esi, 0x682c
lea edi, [esp + 0x10c]
mov dword [esp + 0x54], eax
lea eax, [esp + 0xe0]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.005085d9
add esp, 0xc
cmp eax, 0xffffff88
jbe 0x50ce2a
push 0xffffffffffffffec
pop ebx
jmp 0x50ed46
mov ebx, dword [esp + 0x50]
lea eax, [esp + 0xd8]
push dword [ebx]
push eax
lea eax, [esp + 0xf4]
push eax
call fcn.0051199c
push dword [ebx + 8]
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0x108]
push eax
call fcn.0051199c
push dword [ebx + 4]
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0x11c]
push eax
call fcn.0051199c
mov ebp, dword [esp + 0x104]
lea eax, [esp + 0x134]
mov ebx, dword [esp + 0x100]
add esp, 0x24
mov dword [esp + 0x64], eax
xor edi, edi
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x48], edi
cmp ebx, 0x20
jbe 0x50ceb3
push 3
pop esi
jmp 0x50cf61
cmp ebp, dword [esp + 0xe8]
jb 0x50ceec
mov eax, ebx
and ebx, 7
shr eax, 3
sub ebp, eax
mov dword [esp + 0xdc], ebx
push 4
lea eax, [esp + 0x5c]
mov dword [esp + 0xe4], ebp
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x64]
add esp, 0xc
xor esi, esi
jmp 0x50cf44
mov ecx, dword [esp + 0xe4]
cmp ebp, ecx
jne 0x50cf01
cmp ebx, 0x20
sbb esi, esi
add esi, 2
jmp 0x50cf68
mov edx, ebx
mov eax, ebp
shr edx, 3
xor esi, esi
sub eax, edx
cmp eax, ecx
jae 0x50cf15
mov edx, ebp
sub edx, ecx
inc esi
imul eax, edx, 0xfffffff8
sub ebp, edx
push 4
push ebp
mov dword [esp + 0xe8], ebp
add ebx, eax
lea eax, [esp + 0x8c]
push eax
mov dword [esp + 0xe8], ebx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x90]
add esp, 0xc
mov ebx, dword [esp + 0xdc]
mov ebp, dword [esp + 0xe0]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xd8], eax
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xe4]
cmp edi, dword [esp + 0x4c]
jge 0x50d566
cmp esi, 2
ja 0x50ce22
mov ecx, dword [esp + 0x100]
mov esi, dword [esp + 0xfc]
mov edi, dword [esp + 0xec]
mov edx, dword [esp + 0xf4]
mov eax, dword [esp + 0xf8]
mov ebx, dword [ecx + esi*8 + 4]
mov esi, ebx
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0xf0]
mov dword [esp + 0x6c], esi
mov esi, dword [ebx + edi*8 + 4]
mov cl, byte [ebx + edi*8 + 2]
mov dword [esp + 0x60], esi
mov dword [esp + 0x68], esi
mov esi, dword [eax + edx*8 + 4]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0xfc]
mov byte [esp + 0x2f], cl
mov ecx, dword [esp + 0x100]
mov bl, byte [ecx + esi*8 + 2]
mov byte [esp + 0x3a], bl
mov bl, byte [eax + edx*8 + 2]
mov byte [esp + 0x3b], bl
mov ebx, dword [esp + 0xf0]
movzx esi, word [ebx + edi*8]
mov dword [esp + 0x8c], esi
mov esi, dword [esp + 0xfc]
movzx ebx, word [ecx + esi*8]
movzx ecx, byte [ecx + esi*8 + 3]
mov dword [esp + 0x78], ebx
movzx ebx, word [eax + edx*8]
movzx eax, byte [eax + edx*8 + 3]
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0xf0]
mov dword [esp + 0x7c], eax
mov al, byte [esp + 0x3b]
mov dword [esp + 0x74], ecx
movzx edi, byte [ebx + edi*8 + 3]
mov dword [esp + 0x88], edi
cmp al, 1
jbe 0x50d1ff
cmp dword [esp + 0x190], 0
je 0x50d151
cmp al, 0x19
jb 0x50d151
movzx eax, al
sub eax, 5
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.0050bff6
mov edi, dword [esp + 0xe4]
mov esi, eax
shl esi, 5
add esi, dword [esp + 0x20]
pop ecx
pop ecx
cmp edi, 0x20
ja 0x50d0f1
mov ecx, dword [esp + 0xe0]
cmp ecx, dword [esp + 0xe8]
jb 0x50d0aa
lea eax, [esp + 0xd8]
push eax
call fcn.005086fc
jmp 0x50d0f0
cmp ecx, dword [esp + 0xe4]
je 0x50d0f1
mov edx, edi
mov eax, ecx
shr edx, 3
sub eax, edx
cmp eax, dword [esp + 0xe4]
jae 0x50d0ce
mov edx, ecx
sub edx, dword [esp + 0xe4]
imul eax, edx, 0xfffffff8
sub ecx, edx
push ecx
mov dword [esp + 0xe4], ecx
add edi, eax
mov dword [esp + 0xe0], edi
call fcn.00504f4e
mov dword [esp + 0xdc], eax
pop ecx
lea eax, [esp + 0xd8]
push 5
push eax
call fcn.0050bff6
pop ecx
add esi, eax
mov eax, dword [esp + 0xe0]
pop ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0xe4]
mov ebp, dword [esp + 0xe0]
mov eax, dword [esp + 0x108]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0x108], eax
jmp 0x50d2a7
movzx eax, al
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.0050bff6
pop ecx
pop ecx
mov ecx, dword [esp + 0xdc]
mov esi, eax
add esi, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
cmp ecx, 0x20
ja 0x50d10f
mov ebp, dword [esp + 0xe0]
cmp ebp, dword [esp + 0xe8]
jb 0x50d19c
lea eax, [esp + 0xd8]
push eax
call fcn.005086fc
jmp 0x50d103
mov edi, dword [esp + 0xe4]
cmp ebp, edi
je 0x50d1ef
mov edx, ecx
mov eax, ebp
shr edx, 3
sub eax, edx
cmp eax, edi
jae 0x50d1b8
mov edx, ebp
sub edx, edi
imul eax, edx, 0xfffffff8
sub ebp, edx
push ebp
mov dword [esp + 0xe4], ebp
add ecx, eax
mov dword [esp + 0xe0], ecx
call fcn.00504f4e
mov dword [esp + 0x14], eax
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0xe0]
pop ecx
mov dword [esp + 0x14], eax
jmp 0x50d11a
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x10], eax
jmp 0x50d128
mov ecx, dword [esp + 0x60]
xor ebx, ebx
test ecx, ecx
sete bl
test al, al
jne 0x50d236
mov esi, dword [esp + ebx*4 + 0x104]
mov eax, ecx
mov edx, dword [esp + 0x14]
neg eax
mov ebx, dword [esp + 0x10]
sbb eax, eax
and eax, 4
mov eax, dword [esp + eax + 0x104]
mov dword [esp + 0x108], eax
jmp 0x50d2a0
lea eax, [esp + 0xd8]
push 1
push eax
call fcn.0050bff6
mov edx, dword [esp + 0x10c]
pop ecx
pop ecx
lea ecx, [ebx + eax]
add ecx, dword [esp + 0x18]
lea esi, [edx - 1]
cmp ecx, 3
je 0x50d264
mov esi, dword [esp + ecx*4 + 0x104]
xor eax, eax
test esi, esi
sete al
add esi, eax
cmp ecx, 1
je 0x50d280
mov eax, dword [esp + 0x108]
mov dword [esp + 0x10c], eax
mov ebx, dword [esp + 0xd8]
mov ebp, dword [esp + 0xe0]
mov dword [esp + 0x108], edx
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x10], ebx
mov edi, dword [esp + 0xe4]
mov al, byte [esp + 0x3a]
mov dword [esp + 0x104], esi
mov dword [esp + 0x70], esi
test al, al
je 0x50d2fb
movzx eax, al
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.0050bff6
mov ebx, dword [esp + 0xe0]
mov ebp, dword [esp + 0xe8]
mov edx, dword [esp + 0xe4]
mov edi, dword [esp + 0xec]
pop ecx
pop ecx
mov ecx, dword [esp + 0x5c]
add ecx, eax
mov dword [esp + 0x10], ebx
mov al, byte [esp + 0x3a]
mov dword [esp + 0x6c], ecx
movzx ecx, al
movzx eax, byte [esp + 0x2f]
add ecx, eax
cmp ecx, 0x14
jb 0x50d381
cmp edx, 0x20
ja 0x50d381
cmp ebp, dword [esp + 0xe8]
jb 0x50d32e
lea eax, [esp + 0xd8]
push eax
call fcn.005086fc
mov ebx, dword [esp + 0xdc]
jmp 0x50d367
cmp ebp, edi
je 0x50d381
mov ecx, edx
mov eax, ebp
shr ecx, 3
sub eax, ecx
cmp eax, edi
jae 0x50d343
mov ecx, ebp
sub ecx, edi
imul eax, ecx, 0xfffffff8
sub ebp, ecx
push ebp
mov dword [esp + 0xe4], ebp
add edx, eax
mov dword [esp + 0xe0], edx
call fcn.00504f4e
mov ebx, eax
mov dword [esp + 0xdc], ebx
mov edi, dword [esp + 0xe8]
mov edx, dword [esp + 0xe0]
mov ebp, dword [esp + 0xe4]
mov dword [esp + 0x14], ebx
pop ecx
mov al, byte [esp + 0x2f]
test al, al
je 0x50d3c6
movzx eax, al
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.0050bff6
mov ebx, dword [esp + 0xe0]
mov ebp, dword [esp + 0xe8]
mov edx, dword [esp + 0xe4]
mov edi, dword [esp + 0xec]
pop ecx
pop ecx
mov ecx, dword [esp + 0x60]
add ecx, eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x68], ecx
cmp edx, 0x20
ja 0x50d43d
cmp ebp, dword [esp + 0xe8]
jb 0x50d3ea
lea eax, [esp + 0xd8]
push eax
call fcn.005086fc
mov ebx, dword [esp + 0xdc]
jmp 0x50d423
cmp ebp, edi
je 0x50d43d
mov ecx, edx
mov eax, ebp
shr ecx, 3
sub eax, ecx
cmp eax, edi
jae 0x50d3ff
mov ecx, ebp
sub ecx, edi
imul eax, ecx, 0xfffffff8
sub ebp, ecx
push ebp
mov dword [esp + 0xe4], ebp
add edx, eax
mov dword [esp + 0xe0], edx
call fcn.00504f4e
mov ebx, eax
mov dword [esp + 0xdc], ebx
mov edi, dword [esp + 0xe8]
mov edx, dword [esp + 0xe0]
mov ebp, dword [esp + 0xe4]
mov dword [esp + 0x14], ebx
pop ecx
mov eax, dword [esp + 0x88]
lea esi, [eax + edx]
mov edx, ebx
mov ecx, esi
neg ecx
and ecx, 0x1f
shr edx, cl
and edx, dword [eax*4 + 0x5ab258]
mov eax, dword [esp + 0x8c]
movzx eax, ax
add edx, eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xec], edx
lea ecx, [eax + esi]
lea ebx, [eax + esi]
neg ecx
mov esi, dword [esp + 0x10]
and ecx, 0x1f
mov edx, esi
mov dword [esp + 0xdc], ebx
shr edx, cl
and edx, dword [eax*4 + 0x5ab258]
mov eax, dword [esp + 0x78]
movzx eax, ax
add edx, eax
mov dword [esp + 0xfc], edx
cmp ebx, 0x20
ja 0x50d516
cmp ebp, dword [esp + 0xe8]
jb 0x50d4c6
lea eax, [esp + 0xd8]
push eax
call fcn.005086fc
pop ecx
mov ecx, dword [esp + 0xd8]
jmp 0x50d502
cmp ebp, edi
je 0x50d516
mov ecx, ebx
mov eax, ebp
shr ecx, 3
sub eax, ecx
cmp eax, edi
jae 0x50d4db
mov ecx, ebp
sub ecx, edi
mov eax, ecx
sub ebp, ecx
shl eax, 3
sub ebx, eax
mov dword [esp + 0xe0], ebp
push ebp
mov dword [esp + 0xe0], ebx
call fcn.00504f4e
pop ecx
mov ecx, eax
mov dword [esp + 0xd8], ecx
mov ebx, dword [esp + 0xdc]
mov esi, ecx
mov ebp, dword [esp + 0xe0]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x7c]
mov edx, esi
add ebx, eax
lea esi, [esp + 0x68]
mov ecx, ebx
mov dword [esp + 0xdc], ebx
neg ecx
and ecx, 0x1f
shr edx, cl
mov ecx, dword [esp + 0x64]
mov edi, ecx
and edx, dword [eax*4 + 0x5ab258]
mov eax, dword [esp + 0x80]
movzx eax, ax
movsd dword es:[edi], dword [esi]
add edx, eax
mov dword [esp + 0xf4], edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x48]
inc edi
add ecx, 0xc
mov dword [esp + 0x64], ecx
jmp 0x50ce9e
cmp ebx, 0x20
jbe 0x50d573
push 3
pop esi
jmp 0x50d62b
cmp ebp, dword [esp + 0xe8]
jb 0x50d5bd
mov eax, ebx
and ebx, 7
shr eax, 3
sub ebp, eax
mov dword [esp + 0xdc], ebx
push 4
lea eax, [esp + 0x84]
mov dword [esp + 0xe4], ebp
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x8c]
add esp, 0xc
mov dword [esp + 0x10], ecx
xor esi, esi
mov dword [esp + 0xd8], ecx
jmp 0x50d619
cmp ebp, ecx
jne 0x50d5cb
cmp ebx, 0x20
sbb esi, esi
add esi, 2
jmp 0x50d62b
mov edx, ebx
mov eax, ebp
shr edx, 3
xor esi, esi
sub eax, edx
cmp eax, ecx
jae 0x50d5df
mov edx, ebp
sub edx, ecx
inc esi
imul eax, edx, 0xfffffff8
sub ebp, edx
push 4
push ebp
mov dword [esp + 0xe8], ebp
add ebx, eax
lea eax, [esp + 0x84]
push eax
mov dword [esp + 0xe8], ebx
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [esp + 0x88]
add esp, 0xc
mov dword [esp + 0x10], edx
mov dword [esp + 0xd8], edx
mov eax, dword [esp + 0xdc]
mov ebp, dword [esp + 0xe0]
mov dword [esp + 0x14], eax
cmp edi, dword [esp + 0x18c]
jge 0x50e4ef
cmp esi, 2
ja 0x50ce22
mov ecx, dword [esp + 0x100]
mov esi, dword [esp + 0xfc]
mov edi, dword [esp + 0xec]
mov edx, dword [esp + 0xf4]
mov eax, dword [esp + 0xf8]
mov ebx, dword [ecx + esi*8 + 4]
mov esi, ebx
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0xf0]
mov dword [esp + 0x6c], esi
mov esi, dword [ebx + edi*8 + 4]
mov cl, byte [ebx + edi*8 + 2]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x68], esi
mov esi, dword [eax + edx*8 + 4]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0xfc]
mov byte [esp + 0x3a], cl
mov ecx, dword [esp + 0x100]
mov bl, byte [ecx + esi*8 + 2]
mov byte [esp + 0x2f], bl
mov bl, byte [eax + edx*8 + 2]
mov byte [esp + 0x3b], bl
mov ebx, dword [esp + 0xf0]
movzx esi, word [ebx + edi*8]
mov dword [esp + 0x94], esi
mov esi, dword [esp + 0xfc]
movzx ebx, word [ecx + esi*8]
movzx ecx, byte [ecx + esi*8 + 3]
mov dword [esp + 0x98], ebx
movzx ebx, word [eax + edx*8]
movzx eax, byte [eax + edx*8 + 3]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0xf0]
mov dword [esp + 0x54], eax
mov al, byte [esp + 0x3b]
mov dword [esp + 0x58], ecx
movzx edi, byte [ebx + edi*8 + 3]
mov dword [esp + 0x90], edi
cmp al, 1
jbe 0x50d92c
cmp dword [esp + 0x190], 0
je 0x50d817
cmp al, 0x19
jb 0x50d817
mov ebx, dword [esp + 0x14]
mov ecx, ebx
mov edx, dword [esp + 0x10]
and ecx, 0x1f
movzx eax, al
mov esi, edx
shl esi, cl
sub eax, 5
mov ecx, eax
add ebx, eax
neg ecx
and ecx, 0x1f
shr esi, cl
shl esi, 5
add esi, dword [esp + 0x18]
cmp ebx, 0x20
ja 0x50d7f2
cmp ebp, dword [esp + 0xe8]
jb 0x50d78f
mov eax, ebx
and ebx, 7
shr eax, 3
sub ebp, eax
mov dword [esp + 0xdc], ebx
push 4
lea eax, [esp + 0x7c]
mov dword [esp + 0xe4], ebp
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [esp + 0x84]
jmp 0x50d7d6
mov edi, dword [esp + 0xe4]
cmp ebp, edi
je 0x50d7f9
mov ecx, ebx
mov eax, ebp
shr ecx, 3
sub eax, ecx
cmp eax, edi
jae 0x50d7ab
mov ecx, ebp
sub ecx, edi
mov eax, ecx
sub ebp, ecx
shl eax, 3
sub ebx, eax
mov dword [esp + 0xe0], ebp
push 4
lea eax, [esp + 0x78]
mov dword [esp + 0xe0], ebx
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0xe8]
add esp, 0xc
mov ebp, dword [esp + 0xe0]
mov dword [esp + 0xd8], edx
mov dword [esp + 0x10], edx
mov edi, dword [esp + 0xe4]
mov ecx, ebx
mov eax, edx
and ecx, 0x1f
add ebx, 5
shl eax, cl
shr eax, 0x1b
add esi, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x64], esi
jmp 0x50d8ff
mov ebx, dword [esp + 0x14]
mov ecx, ebx
mov esi, dword [esp + 0x10]
and ecx, 0x1f
shl esi, cl
movzx edx, al
mov ecx, edx
add ebx, edx
neg ecx
mov dword [esp + 0x14], ebx
and ecx, 0x1f
shr esi, cl
add esi, dword [esp + 0x18]
mov dword [esp + 0x64], esi
cmp ebx, 0x20
ja 0x50d8f8
cmp ebp, dword [esp + 0xe8]
jb 0x50d88e
mov eax, ebx
and ebx, 7
shr eax, 3
sub ebp, eax
mov dword [esp + 0xdc], ebx
push 4
lea eax, [esp + 0x90]
mov dword [esp + 0xe4], ebp
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xe4], ecx
jmp 0x50d8e3
mov edi, dword [esp + 0xe4]
cmp ebp, edi
je 0x50d8ff
mov ecx, ebx
mov eax, ebp
shr ecx, 3
sub eax, ecx
cmp eax, edi
jae 0x50d8aa
mov ecx, ebp
sub ecx, edi
mov eax, ecx
sub ebp, ecx
shl eax, 3
sub ebx, eax
mov dword [esp + 0xe0], ebp
push 4
lea eax, [esp + 0x8c]
mov dword [esp + 0xe0], ebx
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x94]
mov dword [esp + 0x1c], eax
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xe8]
add esp, 0xc
mov ebp, dword [esp + 0xe0]
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0xe4]
mov eax, dword [esp + 0x108]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 0x104], esi
mov esi, dword [esp + 0x10]
jmp 0x50d9c3
mov esi, dword [esp + 0x5c]
xor edx, edx
mov ebx, dword [esp + 0x14]
test esi, esi
sete dl
test al, al
jne 0x50d95a
mov ecx, dword [esp + edx*4 + 0x104]
neg esi
sbb eax, eax
mov esi, dword [esp + 0x10]
and eax, 4
mov eax, dword [esp + eax + 0x104]
jmp 0x50d9b5
mov esi, dword [esp + 0x10]
mov ecx, ebx
and ecx, 0x1f
mov eax, esi
shl eax, cl
shr eax, 0x1f
inc ebx
add edx, eax
mov dword [esp + 0x14], ebx
add edx, dword [esp + 0x18]
mov dword [esp + 0xdc], ebx
cmp edx, 3
jne 0x50d98b
mov ecx, dword [esp + 0x104]
dec ecx
jmp 0x50d992
mov ecx, dword [esp + edx*4 + 0x104]
xor eax, eax
test ecx, ecx
sete al
add ecx, eax
cmp edx, 1
je 0x50d9ae
mov eax, dword [esp + 0x108]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x104]
mov edi, dword [esp + 0xe4]
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], eax
mov al, byte [esp + 0x2f]
mov dword [esp + 0x70], ecx
test al, al
je 0x50d9ff
movzx edx, al
mov ecx, ebx
and ecx, 0x1f
mov eax, esi
shl eax, cl
add ebx, edx
mov ecx, edx
mov dword [esp + 0x14], ebx
neg ecx
and ecx, 0x1f
shr eax, cl
mov ecx, dword [esp + 0x60]
add ecx, eax
mov al, byte [esp + 0x2f]
mov dword [esp + 0x6c], ecx
mov bl, byte [esp + 0x3a]
movzx ecx, al
movzx eax, bl
add ecx, eax
cmp ecx, 0x14
mov ecx, dword [esp + 0x14]
jb 0x50dac5
cmp ecx, 0x20
ja 0x50dac5
cmp ebp, dword [esp + 0xe8]
jb 0x50da82
mov eax, ecx
and ecx, 7
shr eax, 3
sub ebp, eax
mov dword [esp + 0xdc], ecx
push 4
lea eax, [esp + 0x88]
mov dword [esp + 0xe4], ebp
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0xe8]
add esp, 0xc
mov ebp, dword [esp + 0xe0]
mov edi, dword [esp + 0xe4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0x14], ecx
jmp 0x50dac9
cmp ebp, edi
je 0x50dac5
mov edx, ecx
mov eax, ebp
shr edx, 3
sub eax, edx
cmp eax, edi
jae 0x50da97
mov edx, ebp
sub edx, edi
imul eax, edx, 0xfffffff8
sub ebp, edx
push 4
push ebp
mov dword [esp + 0xe8], ebp
add ecx, eax
lea eax, [esp + 0xac]
push eax
mov dword [esp + 0xe8], ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0xb0]
jmp 0x50da59
mov eax, dword [esp + 0x10]
test bl, bl
je 0x50daee
and ecx, 0x1f
movzx edx, bl
shl eax, cl
mov ecx, edx
neg ecx
and ecx, 0x1f
shr eax, cl
mov ecx, dword [esp + 0x14]
add ecx, edx
mov edx, dword [esp + 0x5c]
add edx, eax
mov dword [esp + 0x68], edx
cmp ecx, 0x20
ja 0x50db93
cmp ebp, dword [esp + 0xe8]
jb 0x50db50
mov eax, ecx
and ecx, 7
shr eax, 3
sub ebp, eax
mov dword [esp + 0xdc], ecx
push 4
lea eax, [esp + 0xac]
mov dword [esp + 0xe4], ebp
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xec]
add esp, 0xc
mov ecx, dword [esp + 0xdc]
mov edi, dword [esp + 0xe4]
mov dword [esp + 0xd8], ebx
jmp 0x50db97
cmp ebp, edi
je 0x50db93
mov edx, ecx
mov eax, ebp
shr edx, 3
sub eax, edx
cmp eax, edi
jae 0x50db65
mov edx, ebp
sub edx, edi
imul eax, edx, 0xfffffff8
sub ebp, edx
push 4
push ebp
mov dword [esp + 0xe8], ebp
add ecx, eax
lea eax, [esp + 0xb8]
push eax
mov dword [esp + 0xe8], ecx
call sub.VCRUNTIME140.dll_memcpy
mov ebx, dword [esp + 0xbc]
jmp 0x50db2f
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x90]
mov edx, ebx
lea esi, [eax + ecx]
mov ecx, esi
neg ecx
and ecx, 0x1f
shr edx, cl
and edx, dword [eax*4 + 0x5ab258]
mov eax, dword [esp + 0x94]
movzx eax, ax
add edx, eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xec], edx
mov edx, ebx
lea ecx, [eax + esi]
neg ecx
and ecx, 0x1f
shr edx, cl
and edx, dword [eax*4 + 0x5ab258]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x58]
movzx eax, ax
add ecx, esi
add edx, eax
mov dword [esp + 0xfc], edx
cmp ecx, 0x20
ja 0x50dc8d
cmp ebp, dword [esp + 0xe8]
jb 0x50dc39
mov eax, ecx
and ecx, 7
shr eax, 3
sub ebp, eax
mov dword [esp + 0xdc], ecx
push 4
lea eax, [esp + 0xa0]
mov dword [esp + 0xe4], ebp
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ebx, dword [esp + 0xa8]
jmp 0x50dc7c
cmp ebp, edi
je 0x50dc8d
mov edx, ecx
mov eax, ebp
shr edx, 3
sub eax, edx
cmp eax, edi
jae 0x50dc4e
mov edx, ebp
sub edx, edi
mov eax, edx
sub ebp, edx
shl eax, 3
sub ecx, eax
mov dword [esp + 0xe0], ebp
push 4
lea eax, [esp + 0xa4]
mov dword [esp + 0xe0], ecx
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ebx, dword [esp + 0xac]
mov ecx, dword [esp + 0xe8]
add esp, 0xc
mov dword [esp + 0xd8], ebx
mov eax, dword [esp + 0x54]
add ecx, eax
mov edx, dword [esp + 0x50]
mov dword [esp + 0xdc], ecx
neg ecx
and ecx, 0x1f
shr ebx, cl
and ebx, dword [eax*4 + 0x5ab258]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + 0x7608]
movzx eax, ax
add ebx, eax
mov dword [esp + 0xf4], ebx
cmp ecx, 2
jne 0x50df8a
mov eax, dword [esp + 0x48]
lea ebx, [esp + 0x110]
mov esi, dword [edx + 0x7604]
and eax, 7
mov edx, dword [esp + 0x20]
imul eax, eax, 0xc
add ebx, eax
mov dword [esp + 0x1c], ebx
mov edi, dword [ebx]
lea eax, [edi + edx]
cmp eax, esi
jbe 0x50df8a
mov ebp, dword [esp + 0x28]
sub esi, edx
je 0x50dd24
mov eax, dword [esp + 0x30]
sub eax, ebp
cmp esi, eax
ja 0x50e4e8
push esi
push edx
push ebp
call fcn.00511ba8
sub edi, esi
add esp, 0xc
add ebp, esi
mov dword [ebx], edi
mov dword [esp + 0x28], ebp
mov edx, dword [esp + 0x50]
lea edi, [esp + 0xb4]
mov esi, ebx
and dword [edx + 0x7608], 0
lea eax, [edx + 0x1760c]
movsd dword es:[edi], dword [esi]
lea ecx, [edx + 0x760c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xb4]
mov esi, dword [esp + 0xb8]
lea edx, [eax + ebp]
lea ebx, [esi + eax]
mov dword [esp + 0x18], edx
add eax, ecx
mov edi, edx
sub edi, dword [esp + 0xbc]
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x3c]
ja 0x50df81
mov eax, dword [esp + 0x30]
lea ecx, [ebx + ebp]
add eax, 0xffffffe0
cmp ecx, eax
ja 0x50df81
mov ecx, dword [esp + 0x30]
lea eax, [ebx + 0x20]
sub ecx, ebp
cmp ecx, eax
jb 0x50df81
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0xb4]
movups xmm0, xmmword [ecx + 0x760c]
movups xmmword [ebp], xmm0
cmp eax, 0x10
jbe 0x50de09
add eax, 0xfffffff0
lea esi, [ecx + 0x761c]
lea ecx, [ebp + 0x10]
movups xmm0, xmmword [esi]
lea ebp, [ecx + eax]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x28]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x50de02
mov eax, dword [esp + 0x1c]
add ecx, 0x10
add esi, 0x10
movups xmm0, xmmword [esi]
lea esi, [esi + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esi - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x50ddea
mov esi, dword [esp + 0xb8]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x34], eax
mov eax, edx
sub eax, dword [esp + 0x24]
cmp ecx, eax
jbe 0x50de80
mov eax, edx
sub eax, dword [esp + 0x44]
cmp ecx, eax
ja 0x50ce22
mov ecx, dword [esp + 0x40]
mov eax, ecx
sub eax, dword [esp + 0x24]
add edi, eax
lea eax, [edi + esi]
cmp eax, ecx
jbe 0x50e31d
mov esi, ecx
sub esi, edi
push esi
push edi
push edx
call sub.VCRUNTIME140.dll_memmove
mov edx, dword [esp + 0x24]
add esp, 0xc
mov edi, dword [esp + 0x24]
add edx, esi
sub dword [esp + 0xb8], esi
mov esi, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x18], edx
mov dword [esp + 0xb8], esi
cmp ecx, 0x10
jb 0x50deba
movups xmm0, xmmword [edi]
push 0x10
pop ecx
lea eax, [esi + edx]
movups xmmword [edx], xmm0
cmp esi, ecx
jle 0x50e48d
add edx, ecx
add edi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
cmp edx, eax
jb 0x50de9d
jmp 0x50e48d
cmp ecx, 8
jae 0x50defd
mov al, byte [edi]
mov esi, dword [ecx*4 + 0x5ab138]
mov byte [edx], al
mov al, byte [edi + 1]
mov byte [edx + 1], al
mov al, byte [edi + 2]
mov byte [edx + 2], al
mov al, byte [edi + 3]
add edi, dword [ecx*4 + 0x5ab118]
push 4
mov byte [edx + 3], al
lea eax, [edx + 4]
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
sub edi, esi
mov esi, dword [esp + 0xb8]
jmp 0x50df06
push edi
push edx
call fcn.0050c539
pop ecx
pop ecx
cmp esi, 8
jbe 0x50e48d
lea ecx, [esi - 8]
add edi, 8
mov esi, dword [esp + 0x18]
add esi, 8
mov eax, esi
sub eax, edi
lea edx, [esi + ecx]
mov dword [esp + 0x1c], edx
cmp eax, 0x10
jge 0x50df4c
sub edi, esi
mov ebp, edx
lea eax, [esi + edi]
push eax
push esi
call fcn.0050c539
add esi, 8
pop ecx
pop ecx
cmp esi, ebp
jb 0x50df30
mov ebp, dword [esp + 0x28]
jmp 0x50e48d
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
cmp ecx, 0x10
jle 0x50e48d
push 0x10
add esi, 0x10
add edi, 0x10
pop ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
cmp esi, edx
jb 0x50df64
jmp 0x50e48d
mov esi, dword [esp + 0x1c]
jmp 0x50e459
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x110]
mov ebp, dword [esp + 0x28]
and eax, 7
imul eax, eax, 0xc
add edx, eax
mov dword [esp + 0x58], edx
mov esi, edx
cmp ecx, 2
jne 0x50e21c
lea edi, [esp + 0xc0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc0]
mov esi, dword [esp + 0xc4]
lea ecx, [edi - 0x20]
add ecx, dword [edx]
lea edx, [eax + ebp]
lea ebx, [esi + eax]
mov dword [esp + 0x1c], ecx
add eax, edi
mov dword [esp + 0x18], edx
mov edi, edx
mov dword [esp + 0x54], eax
sub edi, dword [esp + 0xc8]
cmp eax, dword [esp + 0x3c]
ja 0x50e1e8
lea eax, [ebx + ebp]
cmp eax, ecx
ja 0x50e1e8
mov ecx, dword [esp + 0x30]
lea eax, [ebx + 0x20]
sub ecx, ebp
cmp ecx, eax
jb 0x50e1e4
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0xc0]
movups xmm0, xmmword [ecx]
movups xmmword [ebp], xmm0
cmp eax, 0x10
jbe 0x50e073
add eax, 0xfffffff0
lea esi, [ecx + 0x10]
lea ecx, [ebp + 0x10]
movups xmm0, xmmword [esi]
lea ebp, [ecx + eax]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x28]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x50e06c
mov eax, dword [esp + 0x1c]
add ecx, 0x10
add esi, 0x10
movups xmm0, xmmword [esi]
lea esi, [esi + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esi - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x50e054
mov esi, dword [esp + 0xc4]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
mov eax, edx
sub eax, dword [esp + 0x24]
cmp ecx, eax
jbe 0x50e0ee
mov eax, edx
sub eax, dword [esp + 0x44]
cmp ecx, eax
ja 0x50e302
mov ecx, dword [esp + 0x40]
mov eax, ecx
sub eax, dword [esp + 0x24]
add edi, eax
lea eax, [edi + esi]
cmp eax, ecx
jbe 0x50e31d
mov esi, ecx
sub esi, edi
push esi
push edi
push edx
call sub.VCRUNTIME140.dll_memmove
mov edx, dword [esp + 0x24]
add esp, 0xc
mov edi, dword [esp + 0x24]
add edx, esi
sub dword [esp + 0xc4], esi
mov esi, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x18], edx
mov dword [esp + 0xc4], esi
cmp ecx, 0x10
jb 0x50e128
movups xmm0, xmmword [edi]
push 0x10
pop ecx
lea eax, [esi + edx]
movups xmmword [edx], xmm0
cmp esi, ecx
jle 0x50e48d
add edx, ecx
add edi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
cmp edx, eax
jb 0x50e10b
jmp 0x50e48d
cmp ecx, 8
jae 0x50e15a
mov al, byte [edi]
mov byte [edx], al
mov al, byte [edi + 1]
mov byte [edx + 1], al
mov al, byte [edi + 2]
mov byte [edx + 2], al
mov al, byte [edi + 3]
add edi, dword [ecx*4 + 0x5ab118]
mov byte [edx + 3], al
mov eax, edi
sub edi, dword [ecx*4 + 0x5ab138]
add edx, 4
push 4
jmp 0x50e15e
mov eax, edi
push 8
pop ecx
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp esi, 8
jbe 0x50e48d
lea ecx, [esi - 8]
add edi, 8
mov esi, dword [esp + 0x18]
add esi, 8
mov eax, esi
sub eax, edi
lea edx, [esi + ecx]
mov dword [esp + 0x1c], edx
cmp eax, 0x10
jge 0x50e1af
sub edi, esi
mov ebp, edx
push 8
lea eax, [edi + esi]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esi, 8
add esp, 0xc
cmp esi, ebp
jb 0x50e194
jmp 0x50df43
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
cmp ecx, 0x10
jle 0x50e48d
push 0x10
add esi, 0x10
add edi, 0x10
pop ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
cmp esi, edx
jb 0x50e1c7
jmp 0x50e48d
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x40]
mov esi, dword [esp + 0x5c]
lea eax, [esp + 0x38]
push dword [esp + 0x48]
push dword [esp + 0x2c]
push dword [esp + 0x48]
push eax
sub esp, 0xc
mov edi, esp
push ecx
push dword [esp + 0x54]
movsd dword es:[edi], dword [esi]
push ebp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00511804
add esp, 0x2c
jmp 0x50e483
lea edi, [esp + 0xcc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xcc]
mov esi, dword [esp + 0xd0]
lea edx, [eax + ebp]
lea ebx, [esi + eax]
mov dword [esp + 0x18], edx
add eax, dword [esp + 0x20]
mov edi, edx
sub edi, dword [esp + 0xd4]
mov dword [esp + 0x54], eax
cmp eax, dword [esp + 0x3c]
ja 0x50e455
mov eax, dword [esp + 0x30]
lea ecx, [ebx + ebp]
add eax, 0xffffffe0
cmp ecx, eax
ja 0x50e455
mov ecx, dword [esp + 0x30]
lea eax, [ebx + 0x20]
sub ecx, ebp
cmp ecx, eax
jb 0x50e455
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0xcc]
movups xmm0, xmmword [ecx]
movups xmmword [ebp], xmm0
cmp eax, 0x10
jbe 0x50e2db
add eax, 0xfffffff0
lea esi, [ecx + 0x10]
lea ecx, [ebp + 0x10]
movups xmm0, xmmword [esi]
lea ebp, [ecx + eax]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x28]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x50e2d4
mov eax, dword [esp + 0x1c]
add ecx, 0x10
add esi, 0x10
movups xmm0, xmmword [esi]
lea esi, [esi + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esi - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x50e2bc
mov esi, dword [esp + 0xd0]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
mov eax, edx
sub eax, dword [esp + 0x24]
cmp ecx, eax
jbe 0x50e366
mov eax, edx
sub eax, dword [esp + 0x44]
cmp ecx, eax
jbe 0x50e30a
push 0xffffffffffffffec
pop ebx
jmp 0x50e48d
mov ecx, dword [esp + 0x40]
mov eax, ecx
sub eax, dword [esp + 0x24]
add edi, eax
lea eax, [edi + esi]
cmp eax, ecx
ja 0x50e32d
push esi
push edi
push edx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
jmp 0x50e48d
mov esi, ecx
sub esi, edi
push esi
push edi
push edx
call sub.VCRUNTIME140.dll_memmove
mov edx, dword [esp + 0x24]
add esp, 0xc
mov edi, dword [esp + 0x24]
add edx, esi
sub dword [esp + 0xd0], esi
mov esi, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x18], edx
mov dword [esp + 0xd0], esi
cmp ecx, 0x10
jb 0x50e3a0
movups xmm0, xmmword [edi]
push 0x10
pop ecx
lea eax, [esi + edx]
movups xmmword [edx], xmm0
cmp esi, ecx
jle 0x50e48d
add edx, ecx
add edi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
cmp edx, eax
jb 0x50e383
jmp 0x50e48d
cmp ecx, 8
jae 0x50e3d2
mov al, byte [edi]
mov byte [edx], al
mov al, byte [edi + 1]
mov byte [edx + 1], al
mov al, byte [edi + 2]
mov byte [edx + 2], al
mov al, byte [edi + 3]
add edi, dword [ecx*4 + 0x5ab118]
mov byte [edx + 3], al
mov eax, edi
sub edi, dword [ecx*4 + 0x5ab138]
add edx, 4
push 4
jmp 0x50e3d6
mov eax, edi
push 8
pop ecx
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp esi, 8
jbe 0x50e48d
lea ecx, [esi - 8]
add edi, 8
mov esi, dword [esp + 0x18]
add esi, 8
mov eax, esi
sub eax, edi
lea edx, [esi + ecx]
mov dword [esp + 0x1c], edx
cmp eax, 0x10
jge 0x50e427
sub edi, esi
mov ebp, edx
push 8
lea eax, [esi + edi]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esi, 8
add esp, 0xc
cmp esi, ebp
jb 0x50e40c
jmp 0x50df43
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
cmp ecx, 0x10
jle 0x50e48d
push 0x10
add esi, 0x10
add edi, 0x10
pop ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
cmp esi, edx
jb 0x50e43b
jmp 0x50e48d
mov esi, dword [esp + 0x58]
push dword [esp + 0x40]
lea eax, [esp + 0x38]
push dword [esp + 0x48]
push dword [esp + 0x2c]
push dword [esp + 0x48]
push eax
sub esp, 0xc
mov edi, esp
push dword [esp + 0x50]
movsd dword es:[edi], dword [esi]
push ebp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0051171f
add esp, 0x28
mov ebx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], eax
cmp ebx, 0xffffff88
ja 0x50ed46
mov eax, dword [esp + 0x48]
lea edi, [esp + 0x110]
mov ecx, dword [esp + 0xe4]
lea esi, [esp + 0x68]
and eax, 7
add ebp, ebx
mov ebx, dword [esp + 0xdc]
imul eax, eax, 0xc
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0xe0]
mov dword [esp + 0x14], ebx
add edi, eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x10], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x48]
inc edi
mov dword [esp + 0x48], edi
jmp 0x50d566
push 0xffffffffffffffba
jmp 0x50ce24
sub edi, dword [esp + 0x4c]
jmp 0x50ecb3
mov edx, dword [esp + 0x50]
lea ebx, [esp + 0x110]
mov ebp, dword [esp + 0x28]
and edi, 7
imul eax, edi, 0xc
add ebx, eax
cmp dword [edx + 0x7608], 2
mov dword [esp + 0x14], ebx
jne 0x50ea26
mov edi, dword [ebx]
mov ecx, dword [esp + 0x20]
mov esi, dword [edx + 0x7604]
lea eax, [edi + ecx]
cmp eax, esi
jbe 0x50e7b6
sub esi, ecx
je 0x50e55e
mov eax, dword [esp + 0x30]
sub eax, ebp
cmp esi, eax
ja 0x50e4e8
push esi
push ecx
push ebp
call fcn.00511ba8
mov edx, dword [esp + 0x5c]
sub edi, esi
add esp, 0xc
mov dword [ebx], edi
add ebp, esi
mov dword [esp + 0x28], ebp
and dword [edx + 0x7608], 0
lea edi, [esp + 0xcc]
mov esi, ebx
lea eax, [edx + 0x1760c]
mov dword [esp + 0x3c], eax
lea ecx, [edx + 0x760c]
mov dword [esp + 0x34], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xcc]
mov esi, dword [esp + 0xd0]
lea edx, [eax + ebp]
lea ebx, [esi + eax]
mov dword [esp + 0x18], edx
add eax, ecx
mov edi, edx
sub edi, dword [esp + 0xd4]
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x3c]
ja 0x50ec67
mov eax, dword [esp + 0x30]
lea ecx, [ebx + ebp]
add eax, 0xffffffe0
cmp ecx, eax
ja 0x50ec67
mov ecx, dword [esp + 0x30]
lea eax, [ebx + 0x20]
sub ecx, ebp
cmp ecx, eax
jb 0x50ec67
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0xcc]
movups xmm0, xmmword [ecx + 0x760c]
movups xmmword [ebp], xmm0
cmp eax, 0x10
jbe 0x50e645
add ecx, 0x761c
add eax, 0xfffffff0
mov dword [esp + 0x4c], ecx
lea ecx, [ebp + 0x10]
lea esi, [ecx + eax]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x4c]
movups xmm0, xmmword [esi]
mov esi, dword [esp + 0xd0]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x50e645
mov eax, dword [esp + 0x4c]
add ecx, 0x10
add eax, 0x10
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, dword [esp + 0x1c]
jb 0x50e62b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x34], eax
mov eax, edx
sub eax, dword [esp + 0x24]
cmp ecx, eax
jbe 0x50e6bc
mov eax, edx
sub eax, dword [esp + 0x44]
cmp ecx, eax
ja 0x50ce22
mov ecx, dword [esp + 0x40]
mov eax, ecx
sub eax, dword [esp + 0x24]
add edi, eax
lea eax, [edi + esi]
cmp eax, ecx
jbe 0x50eb2f
mov esi, ecx
sub esi, edi
push esi
push edi
push edx
call sub.VCRUNTIME140.dll_memmove
mov edx, dword [esp + 0x24]
add esp, 0xc
mov edi, dword [esp + 0x24]
add edx, esi
sub dword [esp + 0xd0], esi
mov esi, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd4]
mov dword [esp + 0x18], edx
mov dword [esp + 0xd0], esi
cmp ecx, 0x10
jb 0x50e6f6
movups xmm0, xmmword [edi]
push 0x10
pop ecx
lea eax, [esi + edx]
movups xmmword [edx], xmm0
cmp esi, ecx
jle 0x50ec9f
add edx, ecx
add edi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
cmp edx, eax
jb 0x50e6d9
jmp 0x50ec9f
cmp ecx, 8
jae 0x50e728
mov al, byte [edi]
mov byte [edx], al
mov al, byte [edi + 1]
mov byte [edx + 1], al
mov al, byte [edi + 2]
mov byte [edx + 2], al
mov al, byte [edi + 3]
add edi, dword [ecx*4 + 0x5ab118]
mov byte [edx + 3], al
mov eax, edi
sub edi, dword [ecx*4 + 0x5ab138]
add edx, 4
push 4
jmp 0x50e72c
mov eax, edi
push 8
pop ecx
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp esi, 8
jbe 0x50ec9f
lea ecx, [esi - 8]
add edi, 8
mov esi, dword [esp + 0x18]
add esi, 8
mov eax, esi
sub eax, edi
lea edx, [esi + ecx]
mov dword [esp + 0x1c], edx
cmp eax, 0x10
jge 0x50e781
sub edi, esi
mov ebp, edx
push 8
lea eax, [esi + edi]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esi, 8
add esp, 0xc
cmp esi, ebp
jb 0x50e762
mov ebp, dword [esp + 0x28]
jmp 0x50ec9f
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
cmp ecx, 0x10
jle 0x50ec9f
push 0x10
add esi, 0x10
add edi, 0x10
pop ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
cmp esi, edx
jb 0x50e799
jmp 0x50ec9f
mov esi, ebx
lea edi, [esp + 0xc0]
lea ecx, [eax - 0x20]
mov dword [esp + 0x1c], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xc0]
mov esi, dword [esp + 0xc4]
lea edx, [eax + ebp]
lea ebx, [esi + eax]
mov dword [esp + 0x18], edx
add eax, dword [esp + 0x20]
mov edi, edx
sub edi, dword [esp + 0xc8]
mov dword [esp + 0x54], eax
cmp eax, dword [esp + 0x3c]
ja 0x50e9f2
lea eax, [ebx + ebp]
cmp eax, ecx
ja 0x50e9f2
mov ecx, dword [esp + 0x30]
lea eax, [ebx + 0x20]
sub ecx, ebp
cmp ecx, eax
jb 0x50e9ee
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0xc0]
movups xmm0, xmmword [ecx]
movups xmmword [ebp], xmm0
cmp eax, 0x10
jbe 0x50e87d
add ecx, 0x10
add eax, 0xfffffff0
mov dword [esp + 0x4c], ecx
lea ecx, [ebp + 0x10]
lea esi, [ecx + eax]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x4c]
movups xmm0, xmmword [esi]
mov esi, dword [esp + 0xc4]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x50e87d
mov eax, dword [esp + 0x4c]
add ecx, 0x10
add eax, 0x10
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, dword [esp + 0x1c]
jb 0x50e863
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
mov eax, edx
sub eax, dword [esp + 0x24]
cmp ecx, eax
jbe 0x50e8f8
mov eax, edx
sub eax, dword [esp + 0x44]
cmp ecx, eax
ja 0x50eb14
mov ecx, dword [esp + 0x40]
mov eax, ecx
sub eax, dword [esp + 0x24]
add edi, eax
lea eax, [edi + esi]
cmp eax, ecx
jbe 0x50eb2f
mov esi, ecx
sub esi, edi
push esi
push edi
push edx
call sub.VCRUNTIME140.dll_memmove
mov edx, dword [esp + 0x24]
add esp, 0xc
mov edi, dword [esp + 0x24]
add edx, esi
sub dword [esp + 0xc4], esi
mov esi, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x18], edx
mov dword [esp + 0xc4], esi
cmp ecx, 0x10
jb 0x50e932
movups xmm0, xmmword [edi]
push 0x10
pop ecx
lea eax, [esi + edx]
movups xmmword [edx], xmm0
cmp esi, ecx
jle 0x50ec9f
add edx, ecx
add edi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
cmp edx, eax
jb 0x50e915
jmp 0x50ec9f
cmp ecx, 8
jae 0x50e964
mov al, byte [edi]
mov byte [edx], al
mov al, byte [edi + 1]
mov byte [edx + 1], al
mov al, byte [edi + 2]
mov byte [edx + 2], al
mov al, byte [edi + 3]
add edi, dword [ecx*4 + 0x5ab118]
mov byte [edx + 3], al
mov eax, edi
sub edi, dword [ecx*4 + 0x5ab138]
add edx, 4
push 4
jmp 0x50e968
mov eax, edi
push 8
pop ecx
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp esi, 8
jbe 0x50ec9f
lea ecx, [esi - 8]
add edi, 8
mov esi, dword [esp + 0x18]
add esi, 8
mov eax, esi
sub eax, edi
lea edx, [esi + ecx]
mov dword [esp + 0x1c], edx
cmp eax, 0x10
jge 0x50e9b9
sub edi, esi
mov ebp, edx
push 8
lea eax, [esi + edi]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esi, 8
add esp, 0xc
cmp esi, ebp
jb 0x50e99e
jmp 0x50e778
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
cmp ecx, 0x10
jle 0x50ec9f
push 0x10
add esi, 0x10
add edi, 0x10
pop ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
cmp esi, edx
jb 0x50e9d1
jmp 0x50ec9f
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x40]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x38]
push dword [esp + 0x48]
push dword [esp + 0x2c]
push dword [esp + 0x48]
push eax
sub esp, 0xc
mov edi, esp
push ecx
push dword [esp + 0x54]
movsd dword es:[edi], dword [esi]
push ebp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00511804
add esp, 0x2c
jmp 0x50ec95
mov esi, ebx
lea edi, [esp + 0xb4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xb4]
mov esi, dword [esp + 0xb8]
lea edx, [eax + ebp]
lea ebx, [esi + eax]
mov dword [esp + 0x18], edx
add eax, dword [esp + 0x20]
mov edi, edx
sub edi, dword [esp + 0xbc]
mov dword [esp + 0x54], eax
cmp eax, dword [esp + 0x3c]
ja 0x50ec67
mov eax, dword [esp + 0x30]
lea ecx, [ebx + ebp]
add eax, 0xffffffe0
cmp ecx, eax
ja 0x50ec67
mov ecx, dword [esp + 0x30]
lea eax, [ebx + 0x20]
sub ecx, ebp
cmp ecx, eax
jb 0x50ec67
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0xb4]
movups xmm0, xmmword [ecx]
movups xmmword [ebp], xmm0
cmp eax, 0x10
jbe 0x50eaed
add ecx, 0x10
add eax, 0xfffffff0
mov dword [esp + 0x4c], ecx
lea ecx, [ebp + 0x10]
lea esi, [ecx + eax]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x4c]
movups xmm0, xmmword [esi]
mov esi, dword [esp + 0xb8]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x50eaed
mov eax, dword [esp + 0x4c]
add ecx, 0x10
add eax, 0x10
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax - 0x10]
movups xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, dword [esp + 0x1c]
jb 0x50ead3
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
mov eax, edx
sub eax, dword [esp + 0x24]
cmp ecx, eax
jbe 0x50eb78
mov eax, edx
sub eax, dword [esp + 0x44]
cmp ecx, eax
jbe 0x50eb1c
push 0xffffffffffffffec
pop ebx
jmp 0x50ec9f
mov ecx, dword [esp + 0x40]
mov eax, ecx
sub eax, dword [esp + 0x24]
add edi, eax
lea eax, [edi + esi]
cmp eax, ecx
ja 0x50eb3f
push esi
push edi
push edx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
jmp 0x50ec9f
mov esi, ecx
sub esi, edi
push esi
push edi
push edx
call sub.VCRUNTIME140.dll_memmove
mov edx, dword [esp + 0x24]
add esp, 0xc
mov edi, dword [esp + 0x24]
add edx, esi
sub dword [esp + 0xb8], esi
mov esi, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x18], edx
mov dword [esp + 0xb8], esi
cmp ecx, 0x10
jb 0x50ebb2
movups xmm0, xmmword [edi]
push 0x10
pop ecx
lea eax, [esi + edx]
movups xmmword [edx], xmm0
cmp esi, ecx
jle 0x50ec9f
add edx, ecx
add edi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [edx], xmm0
add edx, ecx
cmp edx, eax
jb 0x50eb95
jmp 0x50ec9f
cmp ecx, 8
jae 0x50ebe4
mov al, byte [edi]
mov byte [edx], al
mov al, byte [edi + 1]
mov byte [edx + 1], al
mov al, byte [edi + 2]
mov byte [edx + 2], al
mov al, byte [edi + 3]
add edi, dword [ecx*4 + 0x5ab118]
mov byte [edx + 3], al
mov eax, edi
sub edi, dword [ecx*4 + 0x5ab138]
add edx, 4
push 4
jmp 0x50ebe8
mov eax, edi
push 8
pop ecx
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp esi, 8
jbe 0x50ec9f
lea ecx, [esi - 8]
add edi, 8
mov esi, dword [esp + 0x18]
add esi, 8
mov eax, esi
sub eax, edi
lea edx, [esi + ecx]
mov dword [esp + 0x1c], edx
cmp eax, 0x10
jge 0x50ec39
sub edi, esi
mov ebp, edx
push 8
lea eax, [esi + edi]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esi, 8
add esp, 0xc
cmp esi, ebp
jb 0x50ec1e
jmp 0x50e778
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
cmp ecx, 0x10
jle 0x50ec9f
push 0x10
add esi, 0x10
add edi, 0x10
pop ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
movups xmm0, xmmword [edi]
add edi, ecx
movups xmmword [esi], xmm0
add esi, ecx
cmp esi, edx
jb 0x50ec4d
jmp 0x50ec9f
push dword [esp + 0x40]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x38]
push dword [esp + 0x48]
push dword [esp + 0x2c]
push dword [esp + 0x48]
push eax
sub esp, 0xc
mov edi, esp
push dword [esp + 0x50]
movsd dword es:[edi], dword [esi]
push ebp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0051171f
add esp, 0x28
mov ebx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], eax
cmp ebx, 0xffffff88
ja 0x50ed46
mov edi, dword [esp + 0x48]
add ebp, ebx
mov dword [esp + 0x28], ebp
inc edi
mov dword [esp + 0x48], edi
cmp edi, dword [esp + 0x18c]
jl 0x50e4f8
mov edi, dword [esp + 0x50]
lea esi, [esp + 0x104]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x3c]
lea edi, [edi + 0x682c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x50]
cmp dword [esi + 0x7608], 2
jne 0x50ed1e
mov eax, dword [esp + 0x30]
sub ebp, edx
sub eax, ebx
cmp ebp, eax
ja 0x50e4e8
test ebx, ebx
je 0x50ed12
push ebp
push edx
push ebx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
add ebx, ebp
lea edx, [esi + 0x760c]
lea ebp, [esi + 0x1760c]
mov eax, dword [esp + 0x30]
sub ebp, edx
sub eax, ebx
cmp ebp, eax
ja 0x50e4e8
test ebx, ebx
je 0x50ed3f
push ebp
push edx
push ebx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
add ebx, ebp
sub ebx, dword [esp + 0xac]
mov ecx, dword [esp + 0x170]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005256c9
add esp, 0x164
ret