Function at 0x1013d9c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1b8
mov esi, esp
mov dword [esi + 0x1a0], ebp
mov dword [esi + 0x1a4], esp
mov dword [esi + 0x1b0], 0xffffffff
mov dword [esi + 0x1ac], 0x1013ff00
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x1a8]
mov edx, dword fs:[0]
mov dword [esi + 0x1a8], edx
mov dword fs:[0], ecx
mov ecx, dword [edi + 0x28]
mov edx, dword [eax]
movsd xmm2, qword [edi + 0x18]
movsd xmm1, qword [edi + 0x10]
mov ebx, dword [eax + 4]
movsd xmm0, qword [edi + 0x20]
mov dword [esi + 0x30], ecx
mov ecx, edx
movsd qword [esi + 0x20], xmm2
movsd qword [esi + 0x18], xmm1
movsd xmm2, qword [edi]
movsd xmm1, qword [edi + 8]
movsd qword [esi + 0x28], xmm0
xor ecx, 3
or ecx, ebx
movzx ecx, byte [eax + 9]
mov ch, byte [eax + 8]
movsd qword [esi + 0x10], xmm1
movsd qword [esi + 8], xmm2
mov byte [esi + 2], cl
mov byte [esi + 3], ch
jne 0x1013db0a
cmp byte [esi + 8], 2
jne 0x1013daa6
mov edi, dword [esi + 0xc]
mov eax, dword [edi]
mov edx, dword [edi + 8]
mov ecx, dword [edi + 4]
mov dword [esi + 4], edi
add edi, 0xc
mov eax, dword [eax + 0x10]
mov dword [esi + 0x1b0], 3
push edx
push ecx
push edi
call eax
add esp, 0xc
push 4
push 0x10
push dword [esi + 4]
call fcn.10013870
add esp, 0xc
movzx ecx, byte [esi + 2]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1013dacf
mov edi, dword [esi + 0x18]
mov eax, dword [eax + 0x10]
mov edx, dword [esi + 0x14]
lea ecx, [esi + 0x1c]
mov dword [esi + 0x1b0], 2
push edi
push edx
push ecx
call eax
movzx ecx, byte [esi + 2]
add esp, 0xc
mov eax, dword [esi + 0x20]
xor edx, edx
mov ebx, 3
test eax, eax
je 0x1013db01
mov edx, dword [esi + 0x24]
mov edi, dword [esi + 0x28]
mov eax, dword [eax + 0x10]
lea ecx, [esi + 0x2c]
mov dword [esi + 0x1b0], 0xffffffff
push edi
push edx
push ecx
call eax
movzx ecx, byte [esi + 2]
xor edx, edx
add esp, 0xc
movzx eax, byte [esi + 3]
jmp 0x1013dce2
mov dword [esi + 4], edx
add eax, 0xa
lea edx, [esi + 0x72]
push 0x7e
push eax
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [edi + 0x28]
movsd xmm0, qword [edi + 0x20]
movsd xmm1, qword [edi + 0x18]
movsd xmm2, qword [edi + 0x10]
movsd xmm3, qword [edi]
movsd xmm4, qword [edi + 8]
mov dword [esi + 0x6c], ebx
lea ecx, [esi + 0x120]
mov dword [esi + 0x1b0], 0
mov dword [esi + 0x148], eax
mov eax, dword [esi + 4]
movsd qword [esi + 0x140], xmm0
movsd qword [esi + 0x138], xmm1
movsd qword [esi + 0x130], xmm2
movsd qword [esi + 0x128], xmm4
movsd qword [esi + 0x120], xmm3
mov dword [esi + 0x68], eax
movzx eax, byte [esi + 3]
mov byte [esi + 0x70], al
movzx eax, byte [esi + 2]
mov byte [esi + 0x71], al
lea eax, [esi + 0xf4]
push ecx
push eax
call fcn.1017cfc0
add esp, 8
movzx ecx, byte [esi + 0xf4]
movzx eax, byte [esi + 0xf5]
cmp cl, 3
mov byte [esi + 2], al
jne 0x1013dbd9
lea ecx, [esi + 0x68]
mov dword [esi + 0x1b0], 0xffffffff
call fcn.1013d7e0
movzx ecx, byte [esi + 2]
xor edx, edx
mov ebx, 3
mov al, 3
jmp 0x1013dce2
movzx eax, byte [esi + 0xf6]
movsd xmm2, qword [esi + 0xff]
movsd xmm1, qword [esi + 0x107]
movsd xmm0, qword [esi + 0xf7]
mov byte [esi + 3], cl
lea ecx, [esi + 0xa8]
mov dword [esi + 0x1b0], 1
mov byte [esi + 4], al
movsd qword [esi + 0x40], xmm2
movsd qword [esi + 0x48], xmm1
movsd xmm2, qword [esi + 0x10f]
movsd xmm1, qword [esi + 0x117]
movzx eax, byte [esi + 0x11f]
movsd qword [esi + 0x38], xmm0
movsd qword [esi + 0x50], xmm2
movsd qword [esi + 0x58], xmm1
mov byte [esi + 0x60], al
call fcn.1002a9c0
movzx eax, byte [esi + 3]
movsd xmm1, qword [esi + 0x40]
movsd xmm0, qword [esi + 0x38]
movsd xmm2, qword [esi + 0x50]
mov byte [esi + 0xa8], al
movzx eax, byte [esi + 2]
mov byte [esi + 0xa9], al
movzx eax, byte [esi + 4]
mov byte [esi + 0xaa], al
movsd qword [esi + 0xb3], xmm1
movsd xmm1, qword [esi + 0x48]
movzx eax, byte [esi + 0x60]
movsd qword [esi + 0xab], xmm0
movsd qword [esi + 0xc3], xmm2
movsd qword [esi + 0xbb], xmm1
movsd xmm1, qword [esi + 0x58]
mov byte [esi + 0xd3], al
movsd qword [esi + 0xcb], xmm1
movzx eax, byte [esi + 0x70]
mov ebx, dword [esi + 0x68]
mov edi, dword [esi + 0x6c]
mov byte [esi + 3], al
movzx eax, byte [esi + 0x71]
mov byte [esi + 2], al
push 0x7e
lea eax, [esi + 0x72]
push eax
lea eax, [esi + 0x120]
push eax
call sub.VCRUNTIME140.dll_memcpy
movzx eax, byte [esi + 3]
movzx ecx, byte [esi + 2]
mov edx, edi
add esp, 0xc
mov edi, dword [ebp + 8]
mov dword [edi], ebx
mov dword [edi + 4], edx
mov byte [edi + 8], al
mov eax, edi
mov byte [edi + 9], cl
lea ecx, [esi + 0x120]
add eax, 0xa
push 0x7e
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0x1a8]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret