Function at 0x405c70
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565e2f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5bfd00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xorps xmm0, xmm0
movups xmmword [edi + 0x40], xmm0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0xf
mov byte [edi + 0x40], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xf4], 0
push 0x5c
mov byte [ebp - 4], 4
call fcn.00563322
mov esi, eax
xorps xmm0, xmm0
lea ecx, [esi + 4]
mov dword [ebp - 0x14], esi
push 2
push ecx
mov byte [esi], 1
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
movups xmmword [ecx + 0xc], xmm0
movq qword [ecx + 0x1c], xmm0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea eax, [esi + 0x34]
push eax
call dword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
mov dword [edi + 0xf8], esi
xorps xmm0, xmm0
movups xmmword [edi + 0x100], xmm0
mov dword [edi + 0x110], 0
mov dword [edi + 0x114], 0xf
mov byte [edi + 0x100], 0
movups xmmword [edi + 0x118], xmm0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0xf
mov byte [edi + 0x118], 0
lea esi, [edi + 0x130]
mov byte [ebp - 4], 7
push 0x40
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00563322
xorps xmm0, xmm0
add esp, 0x14
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
movups xmmword [edi + 0x138], xmm0
mov dword [edi + 0x148], 0
mov dword [edi + 0x14c], 0xf
mov byte [edi + 0x138], 0
mov word [edi], 1
mov byte [edi + 2], 1
mov dword [edi + 4], 1
mov dword [edi + 8], 0x1400000
mov dword [edi + 0x28], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0xc], 0xffffffff
mov dword [edi + 0x10], 0xffffffff
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], 1
mov dword [edi + 0x20], 0xbb8
mov dword [edi + 0x24], 3
lea esi, [edi + 0x58]
mov byte [ebp - 4], 8
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x405e72
mov eax, dword [ecx]
cmp ecx, esi
mov edx, dword [eax + 0x10]
setne al
push eax
call edx
mov dword [esi + 0x24], 0
lea esi, [edi + 0x80]
mov byte [ebp - 4], 9
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x405e97
mov eax, dword [ecx]
cmp ecx, esi
mov edx, dword [eax + 0x10]
setne al
push eax
call edx
mov dword [esi + 0x24], 0
lea esi, [edi + 0xa8]
mov byte [ebp - 4], 0xa
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x405ebc
mov eax, dword [ecx]
cmp ecx, esi
mov edx, dword [eax + 0x10]
setne al
push eax
call edx
mov dword [esi + 0x24], 0
lea esi, [edi + 0xd0]
mov byte [ebp - 4], 0xb
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x405ee2
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x24], 0
mov dword [edi + 0xfc], 0
mov eax, edi
mov dword [edi + 0x150], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret