Function at 0x4038a0
Capabilities:
Access peb ldr_data
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c4c6
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x4730bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x13c], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x140], ecx
mov esi, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov dword [ebp - 0x124], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
movzx eax, word [0x45e77c]
mov dword [ebp - 0x100], 0
mov word [ebp - 0x100], ax
movzx eax, byte [0x45e77e]
mov dword [ebp - 0xf0], 3
mov dword [ebp - 0xec], 0xf
mov byte [ebp - 0xfe], al
mov byte [ebp - 0xfd], 0
movzx eax, word [0x45e780]
mov dword [ebp - 0xe8], 0
mov word [ebp - 0xe8], ax
movzx eax, byte [0x45e782]
mov dword [ebp - 0xd8], 3
mov dword [ebp - 0xd4], 0xf
mov byte [ebp - 0xe6], al
mov byte [ebp - 0xe5], 0
movzx eax, word [0x45e784]
mov dword [ebp - 0xd0], 0
mov word [ebp - 0xd0], ax
movzx eax, byte [0x45e786]
mov dword [ebp - 0xc0], 3
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xce], al
mov byte [ebp - 0xcd], 0
movzx eax, word [0x45e788]
mov dword [ebp - 0xb8], 0
mov word [ebp - 0xb8], ax
movzx eax, byte [0x45e78a]
mov dword [ebp - 0xa8], 3
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb6], al
mov byte [ebp - 0xb5], 0
movzx eax, word [0x45e78c]
mov dword [ebp - 0xa0], 0
mov word [ebp - 0xa0], ax
movzx eax, byte [0x45e78e]
mov dword [ebp - 0x90], 3
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0x9e], al
mov byte [ebp - 0x9d], 0
movzx eax, word [0x45e790]
mov dword [ebp - 0x88], 0
mov word [ebp - 0x88], ax
movzx eax, byte [0x45e792]
mov dword [ebp - 0x78], 3
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x86], al
mov byte [ebp - 0x85], 0
movzx eax, word [0x45e794]
mov dword [ebp - 0x70], 0
mov word [ebp - 0x70], ax
movzx eax, byte [0x45e796]
mov dword [ebp - 0x60], 3
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x6e], al
mov byte [ebp - 0x6d], 0
mov dword [ebp - 0x58], 0
movzx eax, word [0x45e798]
mov word [ebp - 0x58], ax
movzx eax, byte [0x45e79a]
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x56], al
mov byte [ebp - 0x55], 0
movzx eax, word [0x45e79c]
mov dword [ebp - 0x40], 0
mov word [ebp - 0x40], ax
movzx eax, byte [0x45e79e]
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x3e], al
mov byte [ebp - 0x3d], 0
movzx eax, word [0x45e7a0]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x28], ax
movzx eax, byte [0x45e7a2]
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0
lea eax, [ebp - 0x119]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x100]
push edx
lea ecx, [ebp - 0x164]
call fcn.00404540
mov edx, eax
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0xf
mov edi, dword [edx + 8]
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [edx + 8], 0
mov dword [edx + 4], 0
mov dword [edx], 0
mov dword [ebp - 0x130], edi
mov edi, dword [ebp - 0x120]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], ecx
mov dword [edi], esi
mov esi, dword [ebp - 0x124]
mov dword [edi + 4], 0x64
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi], 0
mov esi, dword [ebp - 0x128]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], edx
mov eax, dword [esi]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi], 0
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], edx
mov dword [edi + 0x20], 0
mov byte [edi + 0x24], 0
mov byte [edi + 0x28], 0
mov byte [edi + 0x2c], 1
mov byte [edi + 0x30], 0
mov byte [edi + 0x34], 0
movzx eax, byte [eax]
mov byte [edi + 0x38], al
mov dword [edi + 0x3c], 0
mov eax, dword [ebp - 0x12c]
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x3c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x4c], xmm0
movups xmm0, xmmword [ebp - 0x118]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x54], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
movups xmmword [edi + 0x54], xmm0
movq xmm0, qword [ebp - 0x108]
movq qword [edi + 0x64], xmm0
mov eax, dword [eax]
mov dword [edi + 0x6c], eax
lea ecx, [ebp - 0x138]
call fcn.00407e60
lea ecx, [ebp - 0x164]
call fcn.00407e60
push fcn.004014e0
push 0xa
push 0x18
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0xd
push eax
call fcn.0045b491
lea ecx, [edi + 0x80]
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
push 2
push ecx
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
call sub.MSVCP140.dll__Mtx_init_in_situ
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045aaf4
mov esp, ebp
pop ebp
ret 0x14