Function at 0x412990
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a880
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x43c51c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
push 2
push edi
mov dword [ebp - 0x58], edi
call sub.MSVCP140.dll__Mtx_init_in_situ
lea eax, [edi + 0x30]
mov dword [ebp - 4], 0
push 2
push eax
call sub.MSVCP140.dll__Mtx_init_in_situ
lea eax, [edi + 0x60]
push 0x102
push eax
call sub.MSVCP140.dll__Mtx_init_in_situ
lea esi, [edi + 0x90]
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], esi
mov dword [esi], 0
push 0x28
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00427b87
add esp, 0x1c
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
push dword [esi + 4]
mov byte [ebp - 4], 4
push 0x10
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
call fcn.00402220
add edi, 0xb0
mov byte [ebp - 4], 5
mov dword [ebp - 0x3c], edi
push 0x24
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.00427b87
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 4], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 7
mov esi, eax
mov dword [edi + 0x1c], 8
mov dword [edi], 0x3f800000
mov ecx, dword [edi + 0x10]
mov eax, ecx
sar eax, 2
mov byte [ebp - 4], 7
mov dword [ebp - 0x30], eax
cmp eax, 0x10
jae 0x412b3b
push 0x40
call fcn.00427b87
mov ecx, dword [ebp - 0x30]
add esp, 4
mov edi, eax
test ecx, ecx
je 0x412b12
mov eax, dword [ebp - 0x2c]
shl ecx, 2
mov eax, dword [eax + 0xbc]
cmp ecx, 0x1000
jb 0x412b08
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412edf
mov eax, edx
push ecx
push eax
call fcn.00427bb7
add esp, 8
mov eax, dword [ebp - 0x2c]
lea ecx, [edi + 0x40]
mov dword [eax + 0xbc], edi
mov dword [eax + 0xc0], ecx
mov dword [eax + 0xc4], ecx
cmp edi, ecx
je 0x412b4b
nop
mov dword [edi], esi
add edi, 4
cmp edi, ecx
jne 0x412b30
jmp 0x412b4b
add ecx, 3
shr ecx, 2
test ecx, ecx
je 0x412b4b
mov eax, esi
xor edi, edi
rep stosd dword es:[edi], eax
push 0x98
mov byte [ebp - 4], 8
call fcn.00427b87
mov edi, eax
mov dword [ebp - 0x3c], edi
sub esp, 0x14
mov byte [ebp - 4], 9
mov esi, esp
push 2
push 0x42ea50
push esi
mov dword [esi], 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 2
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 2], 0
mov ecx, edi
push 0
call fcn.004127a0
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0xd0], eax
mov dword [ecx + 0xd4], 2
mov dword [ecx + 0xd8], 6
mov dword [ecx + 0x104], 0
mov dword [ecx + 0x108], 0
mov dword [ecx + 0x10c], 0
mov dword [ecx + 0x110], 0
mov dword [ecx + 0x114], 0
mov dword [ecx + 0x118], 0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0xe
push eax
mov byte [ecx + 0x11c], 1
mov dword [ecx + 0x120], 0
call fcn.0040af00
push 0xc0
mov byte [ebp - 4], 0xf
call fcn.00427b87
mov edi, eax
add esp, 8
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp - 0x4c]
lea esi, [edi + 0x10]
mov ecx, dword [ebp - 0x48]
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj2_class_spdlog::logger_.0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
movups xmm1, xmmword [ebp - 0x28]
movq xmm0, qword [ebp - 0x18]
movups xmmword [ebp - 0x70], xmm1
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x60], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x60], 0
push eax
sub esp, 0x18
mov dword [ebp - 0x5c], 0xf
mov eax, esp
mov byte [ebp - 0x70], 0
mov ecx, esi
movups xmmword [eax], xmm1
movq qword [eax + 0x10], xmm0
call fcn.00404630
mov dword [esi], vtable.spdlog::logger.0
push 0x413c00
push 1
push 8
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x17
push eax
call fcn.00427c84
mov eax, dword [ebp - 0x2c]
mov dword [esi], vtable.spdlog::logger.0
mov dword [eax + 0x114], esi
mov esi, dword [eax + 0x118]
mov dword [eax + 0x118], edi
or edi, 0xffffffff
test esi, esi
je 0x412d41
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x412d41
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x412d41
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push 0x811c9dc5
push eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x18
lea esi, [edi + 0x90]
push eax
mov ecx, esi
call fcn.00405710
mov ecx, dword [ebp - 0x40]
test ecx, ecx
jne 0x412e70
cmp dword [esi + 8], 0x6666666
je 0x412f0c
lea eax, [esi + 4]
mov dword [ebp - 0x38], eax
push 0x28
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x34], ecx
call fcn.00427b87
add esp, 4
mov dword [ebp - 0x34], eax
mov dword [eax + 8], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [eax + 8], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x18], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
movq qword [eax + 0x20], xmm0
mov dword [eax + 0x24], 0
mov eax, dword [esi + 8]
inc eax
mov byte [ebp - 4], 0x1a
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x42d990]
mov eax, dword [esi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x42d990]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [esi]
jbe 0x412e5b
mov ecx, esi
call fcn.00416d00
mov eax, dword [ebp - 0x34]
mov ecx, esi
push 0x811c9dc5
add eax, 8
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00405710
mov ecx, dword [eax]
jmp 0x412e5e
mov ecx, dword [ebp - 0x44]
push dword [ebp - 0x34]
push ecx
push 0x811c9dc5
mov ecx, esi
call fcn.00416ca0
mov ecx, eax
mov edx, dword [edi + 0x118]
test edx, edx
je 0x412e84
lock inc dword [edx + 4]
mov edx, dword [edi + 0x118]
mov esi, dword [ecx + 0x24]
mov eax, dword [edi + 0x114]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
test esi, esi
je 0x412eb9
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x412eb9
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x412eb9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x412eef
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412ee5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x412ee5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00427bb7
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.00427b79
mov esp, ebp
pop ebp
ret
push str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3