Function at 0x1009cac0
Capabilities:
Access peb ldr_data
Check os version
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
mov esi, esp
mov dword [esi + 0xd8], ebp
mov ebx, ecx
mov edx, dword [ebp + 8]
mov dword [esi + 0xdc], esp
mov dword [esi + 0xe8], 0xffffffff
lea eax, [esi + 0xe0]
mov dword [esi + 0xe4], 0x100a3720
mov ecx, dword fs:[0]
mov dword [esi + 0xe0], ecx
mov dword fs:[0], eax
xorps xmm0, xmm0
movaps xmmword [esi + 0xa0], xmm0
lea eax, [edx + 4]
mov dword [esi + 0xbc], eax
lea eax, [ebx + 0x30]
mov dword [esi + 0xc], eax
lea eax, [ebx + 0x5c]
mov dword [esi + 0x9c], eax
mov dword [esi + 0x98], 0
lea edi, [esi + 0x40]
lea edx, [esi + 0x60]
mov dword [esi + 8], ebx
jmp 0x1009cb5a
mov ecx, dword [esi + 0xc]
call fcn.10097900
mov ebx, dword [esi + 8]
mov dword [ebx + 0x28], eax
lea edi, [esi + 0x40]
lea edx, [esi + 0x60]
test byte [esi + 0x98], 1
jne 0x1009ce20
mov eax, dword [ebx + 0x28]
dec eax
cmp eax, 0xd
ja case.0x1009cb74.10
jmp dword [eax*4 + 0x1009dba0]
mov byte [esi + 0x60], 2
mov dword [esi + 0xe8], 0
mov ecx, dword [ebp + 8]
push edx
call fcn.100a1bb0
mov dword [esi + 0x40], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
cmp edx, dword [ecx + 0xc]
je 0x1009ccf7
mov dword [edx], eax
add dword [ecx + 8], 4
jmp 0x1009cd07
mov byte [esi + 0x60], 1
mov dword [esi + 0xe8], 0
mov ecx, dword [ebp + 8]
push edx
call fcn.100a1bb0
mov dword [esi + 0x40], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
cmp edx, dword [ecx + 0xc]
je 0x1009cbdd
mov dword [edx], eax
add dword [ecx + 8], 4
jmp 0x1009cbed
mov ecx, dword [esi + 0xbc]
lea eax, [esi + 0x40]
push eax
push edx
call fcn.10018320
mov ecx, dword [esi + 0xc]
call fcn.10097900
mov ecx, dword [esi + 8]
mov dword [ecx + 0x28], eax
cmp eax, 0xb
jne 0x1009cc90
mov eax, dword [ebp + 8]
add dword [eax + 8], 0xfffffffc
mov edx, dword [esi + 0xac]
test edx, edx
je 0x1009d18a
mov eax, edx
and eax, 0x1f
lea ecx, [eax - 1]
shr ecx, 5
sub eax, 1
mov edi, 0xffffffff
cmovb ecx, edi
mov edi, edx
shr edi, 5
test edx, edx
lea edx, [edi + 0x38000000]
cmovns edx, edi
shl edx, 2
add edx, dword [esi + 0xa0]
mov ecx, dword [edx + ecx*4]
bt ecx, eax
mov dword [esi + 0xe8], 0
jae 0x1009cd3f
mov ecx, dword [esi + 0xc]
call fcn.10097900
mov ebx, dword [esi + 8]
mov dword [ebx + 0x28], eax
cmp eax, 0xd
je 0x1009cb46
cmp eax, 0xa
je 0x1009cdbd
jmp 0x1009d323
cmp eax, 4
mov eax, dword [ebp + 8]
jne 0x1009d1dd
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov ecx, dword [eax + 8]
push dword [esi + 0x9c]
lea eax, [esi + 0x40]
push eax
call fcn.10018bb0
mov eax, dword [esi + 0x40]
add eax, 0x28
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
mov ecx, dword [esi + 0xc]
call fcn.10097900
mov ecx, dword [esi + 8]
mov dword [ecx + 0x28], eax
cmp eax, 0xc
jne 0x1009d280
mov byte [esi + 0x40], 0
lea ecx, [esi + 0xa0]
lea eax, [esi + 0x40]
push eax
call fcn.1009dc80
mov ecx, dword [esi + 0xc]
call fcn.10097900
jmp 0x1009cb4e
mov ecx, dword [esi + 0xbc]
lea eax, [esi + 0x40]
push eax
push edx
call fcn.10018320
mov ecx, dword [esi + 0xc]
call fcn.10097900
mov ecx, dword [esi + 8]
mov dword [ecx + 0x28], eax
cmp eax, 0xa
je 0x1009cc04
mov byte [esi + 0x40], 1
lea ecx, [esi + 0xa0]
lea eax, [esi + 0x40]
push eax
call fcn.1009dc80
lea edi, [esi + 0x40]
mov ebx, dword [esi + 8]
lea edx, [esi + 0x60]
jmp 0x1009cb5a
mov ecx, dword [esi + 0xc]
call fcn.10097900
mov ebx, dword [esi + 8]
mov dword [ebx + 0x28], eax
cmp eax, 0xd
jne 0x1009cdb4
mov ecx, dword [esi + 0xc]
call fcn.10097900
mov ecx, dword [esi + 8]
mov dword [ecx + 0x28], eax
cmp eax, 4
jne 0x1009d469
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax - 4]
mov ecx, dword [eax + 8]
push dword [esi + 0x9c]
lea eax, [esi + 0x40]
push eax
call fcn.10018bb0
mov eax, dword [esi + 0x40]
add eax, 0x28
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
mov ecx, dword [esi + 0xc]
call fcn.10097900
mov ecx, dword [esi + 8]
mov dword [ecx + 0x28], eax
cmp eax, 0xc
jne 0x1009d50c
mov ecx, dword [esi + 0xc]
call fcn.10097900
jmp 0x1009cb4e
cmp eax, 0xb
jne 0x1009d3c6
mov eax, dword [ebp + 8]
add dword [eax + 8], 0xfffffffc
mov edx, dword [esi + 0xac]
mov eax, edx
and eax, 0x1f
lea ecx, [eax - 1]
shr ecx, 5
sub eax, 1
mov edi, 0xffffffff
cmovb ecx, edi
mov edi, edx
shr edi, 5
test edx, edx
lea edx, [edi + 0x38000000]
cmovns edx, edi
shl edx, 2
add edx, dword [esi + 0xa0]
lea edx, [edx + ecx*4]
and eax, 0x1f
lea ecx, [esi + 0xa0]
push eax
push edx
lea edi, [esi + 0x40]
push edi
call fcn.100a1180
mov al, 1
mov dword [esi + 0x98], eax
lea edx, [esi + 0x60]
jmp 0x1009cb5a
mov dword [esi + 0x98], 0
jmp 0x1009cc0b
movsd xmm0, qword [ebx + 0x78]
movsd qword [esi + 0x40], xmm0
mov dword [esi + 0xe8], 0
mov ecx, dword [ebp + 8]
push edi
call fcn.100a2940
jmp 0x1009cc0b
movsd xmm0, qword [ebx + 0x88]
movsd qword [esi + 0xd0], xmm0
movsd qword [esi + 0x40], xmm0
push edi
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__dtest]
add esp, 4
mov dword [esi + 0xe8], 0
test ax, ax
jg 0x1009d5d1
movsd xmm0, qword [esi + 0xd0]
movsd qword [esi + 0x40], xmm0
mov ecx, dword [ebp + 8]
push edi
call fcn.100a1f60
jmp 0x1009cc0b
movsd xmm0, qword [ebx + 0x80]
movsd qword [esi + 0x40], xmm0
mov dword [esi + 0xe8], 0
mov ecx, dword [ebp + 8]
push edi
call fcn.100a30b0
jmp 0x1009cc0b
mov byte [esi + 0x40], 0
mov dword [esi + 0xe8], 0
mov ecx, dword [ebp + 8]
push edi
call fcn.100a22c0
jmp 0x1009cc0b
mov byte [esi + 0x40], 1
mov dword [esi + 0xe8], 0
mov ecx, dword [ebp + 8]
push edi
call fcn.100a22c0
jmp 0x1009cc0b
mov dword [esi + 0xe8], 0
mov ecx, dword [ebp + 8]
push dword [esi + 0x9c]
call fcn.100a2ca0
jmp 0x1009cc0b
mov dword [esi + 0x40], 0
mov dword [esi + 0xe8], 0
mov ecx, dword [ebp + 8]
push edi
call fcn.100a2630
jmp 0x1009cc0b
mov dword [esi + 0x20], 5
mov dword [esi + 0x24], 0xf
movaps xmm0, xmmword [str.valu]
movups xmmword [esi + 0x10], xmm0
mov byte [esi + 0x14], 0x65
mov dword [esi + 0xe8], 0x1a
lea eax, [esi + 0x10]
lea edx, [esi + 0x28]
mov ecx, ebx
push eax
push 0
push edx
call fcn.1009b990
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x4c]
mov dword [esi + 0xc8], eax
movsd xmm0, qword [ecx + 0x44]
movsd qword [esi + 0xc0], xmm0
mov dword [esi + 0xe8], 0x1b
lea eax, [esi + 0xc0]
lea ecx, [esi + 0x28]
push ecx
push eax
push 0x65
lea eax, [esi + 0x60]
push eax
call fcn.1009b3f0
add esp, 0x10
mov dword [esi + 0xe8], 0x1c
lea eax, [esi + 0x80]
mov ecx, dword [esi + 0xc]
push eax
call fcn.1009c7f0
mov eax, dword [ebp + 8]
mov byte [eax + 0x14], 1
cmp byte [eax + 0x15], 0
je 0x1009d099
lea edi, [esi + 0x40]
mov ecx, edi
lea eax, [esi + 0x60]
push eax
call fcn.100a1730
mov dword [esi + 0xe8], 0x1d
push 0x10170f8c
push edi
call sub.VCRUNTIME140.dll__CxxThrowException
add esp, 8
mov dword [esi + 0x20], 5
mov dword [esi + 0x24], 0xf
movaps xmm0, xmmword [str.valu]
movups xmmword [esi + 0x10], xmm0
mov byte [esi + 0x14], 0x65
mov dword [esi + 0xe8], 0x16
lea eax, [esi + 0x10]
lea edx, [esi + 0x28]
mov ecx, ebx
push eax
push 0x10
push edx
call fcn.1009b990
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x4c]
mov dword [esi + 0xc8], eax
movsd xmm0, qword [ecx + 0x44]
movsd qword [esi + 0xc0], xmm0
mov dword [esi + 0xe8], 0x17
lea eax, [esi + 0xc0]
lea ecx, [esi + 0x28]
push ecx
push eax
push 0x65
lea eax, [esi + 0x60]
push eax
call fcn.1009b3f0
add esp, 0x10
mov dword [esi + 0xe8], 0x18
lea eax, [esi + 0x80]
mov ecx, dword [esi + 0xc]
push eax
call fcn.1009c7f0
mov eax, dword [ebp + 8]
mov byte [eax + 0x14], 1
cmp byte [eax + 0x15], 0
jne 0x1009d6af
mov eax, dword [esi + 0x94]
cmp eax, 0x10
jb 0x1009d0d7
mov ecx, dword [esi + 0x80]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x1009d0cd
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x1009d6a9
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.100f14b0
add esp, 8
mov dword [esi + 0x60], vtable.nlohmann::detail::exception.0
mov dword [esi + 0x70], vtable.std::exception.0
lea eax, [esi + 0x74]
push eax
call sub.VCRUNTIME140.dll___std_exception_destroy
add esp, 4
mov dword [esi + 0x60], vtable.std::exception.0
lea eax, [esi + 0x64]
push eax
call sub.VCRUNTIME140.dll___std_exception_destroy
add esp, 4
mov eax, dword [esi + 0x3c]
cmp eax, 0x10
jb 0x1009d13c
mov ecx, dword [esi + 0x28]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x1009d132
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x1009d6a9
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.100f14b0
add esp, 8
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0xf
mov byte [esi + 0x28], 0
mov eax, dword [esi + 0x24]
cmp eax, 0x10
jb 0x1009d186
mov ecx, dword [esi + 0x10]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x1009d17c
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x1009d6a9
add eax, 0x24
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.100f14b0
add esp, 8
xor ebx, ebx
jmp 0x1009d18c
mov bl, 1
mov ecx, dword [esi + 0xa0]
test ecx, ecx
je 0x1009d1c5
mov eax, dword [esi + 0xa8]
sub eax, ecx
cmp eax, 0x1000
jb 0x1009d1bb
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x1009d6a9
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.100f14b0
add esp, 8
mov eax, dword [esi + 0xe0]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea ecx, [esi + 0x28]
push str.object_key
call fcn.10016910
mov dword [esi + 0xe8], 0x22
mov ecx, dword [esi + 8]
lea eax, [esi + 0x28]
push eax
push 4
lea eax, [esi + 0x60]
push eax
call fcn.1009b990
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x4c]
mov dword [esi + 0x88], eax
movsd xmm0, qword [ecx + 0x44]
movsd qword [esi + 0x80], xmm0
mov dword [esi + 0xe8], 0x23
lea eax, [esi + 0x80]
lea ecx, [esi + 0x60]
push ecx
push eax
push 0x65
lea eax, [esi + 0x40]
push eax
call fcn.1009b3f0
add esp, 0x10
mov dword [esi + 0xe8], 0x24
lea eax, [esi + 0x10]
mov ecx, dword [esi + 0xc]
push eax
call fcn.1009c7f0
mov eax, dword [esi + 8]
add eax, 0x44
mov eax, dword [eax]
mov dword [esi + 0xe8], 0x25
mov ecx, dword [ebp + 8]
lea edx, [esi + 0x40]
push edx
lea edx, [esi + 0x10]
push edx
push eax
call fcn.1009dbe0
jmp 0x1009d5aa
lea ecx, [esi + 0x28]
push str.object_separator
call fcn.10016910
mov dword [esi + 0xe8], 0x1e
mov ecx, dword [esi + 8]
lea eax, [esi + 0x28]
push eax
push 0xc
lea eax, [esi + 0x60]
push eax
call fcn.1009b990
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x4c]
mov dword [esi + 0x88], eax
movsd xmm0, qword [ecx + 0x44]
movsd qword [esi + 0x80], xmm0
mov dword [esi + 0xe8], 0x1f
lea eax, [esi + 0x80]
lea ecx, [esi + 0x60]
push ecx
push eax
push 0x65
lea eax, [esi + 0x40]
push eax
call fcn.1009b3f0
add esp, 0x10
mov dword [esi + 0xe8], 0x20
lea eax, [esi + 0x10]
mov ecx, dword [esi + 0xc]
push eax
call fcn.1009c7f0
mov eax, dword [esi + 8]
add eax, 0x44
mov eax, dword [eax]
mov dword [esi + 0xe8], 0x21
mov ecx, dword [ebp + 8]
lea edx, [esi + 0x40]
push edx
lea edx, [esi + 0x10]
push edx
push eax
call fcn.1009dbe0
jmp 0x1009d5aa
lea ecx, [esi + 0x28]
push str.array
call fcn.10016910
mov dword [esi + 0xe8], 0x12
mov ecx, dword [esi + 8]
lea eax, [esi + 0x28]
push eax
push 0xa
lea eax, [esi + 0x60]
push eax
call fcn.1009b990
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x4c]
mov dword [esi + 0x88], eax
movsd xmm0, qword [ecx + 0x44]
movsd qword [esi + 0x80], xmm0
mov dword [esi + 0xe8], 0x13
lea eax, [esi + 0x80]
lea ecx, [esi + 0x60]
push ecx
push eax
push 0x65
lea eax, [esi + 0x40]
push eax
call fcn.1009b3f0
add esp, 0x10
mov dword [esi + 0xe8], 0x14
lea eax, [esi + 0x10]
mov ecx, dword [esi + 0xc]
push eax
call fcn.1009c7f0
mov eax, dword [esi + 8]
add eax, 0x44
mov eax, dword [eax]
mov dword [esi + 0xe8], 0x15
mov ecx, dword [ebp + 8]
lea edx, [esi + 0x40]
push edx
lea edx, [esi + 0x10]
push edx
push eax
call fcn.1009dbe0
jmp 0x1009d5aa
lea ecx, [esi + 0x28]
push str.object
call fcn.10016910
mov dword [esi + 0xe8], 6
mov ecx, dword [esi + 8]
lea eax, [esi + 0x28]
push eax
push 0xb
lea eax, [esi + 0x60]
push eax
call fcn.1009b990
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x4c]
mov dword [esi + 0x88], eax
movsd xmm0, qword [ecx + 0x44]
movsd qword [esi + 0x80], xmm0
mov dword [esi + 0xe8], 7
lea eax, [esi + 0x80]
lea ecx, [esi + 0x60]
push ecx
push eax
push 0x65
lea eax, [esi + 0x40]
push eax
call fcn.1009b3f0
add esp, 0x10
mov dword [esi + 0xe8], 8
lea eax, [esi + 0x10]
mov ecx, dword [esi + 0xc]
push eax
call fcn.1009c7f0
mov eax, dword [esi + 8]
add eax, 0x44
mov eax, dword [eax]
mov dword [esi + 0xe8], 9
mov ecx, dword [ebp + 8]
lea edx, [esi + 0x40]
push edx
lea edx, [esi + 0x10]
push edx
push eax
call fcn.1009dbe0
jmp 0x1009d5aa
lea ecx, [esi + 0x28]
push str.object_key
call fcn.10016910
mov dword [esi + 0xe8], 0xe
mov ecx, dword [esi + 8]
lea eax, [esi + 0x28]
push eax
push 4
lea eax, [esi + 0x60]
push eax
call fcn.1009b990
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x4c]
mov dword [esi + 0x88], eax
movsd xmm0, qword [ecx + 0x44]
movsd qword [esi + 0x80], xmm0
mov dword [esi + 0xe8], 0xf
lea eax, [esi + 0x80]
lea ecx, [esi + 0x60]
push ecx
push eax
push 0x65
lea eax, [esi + 0x40]
push eax
call fcn.1009b3f0
add esp, 0x10
mov dword [esi + 0xe8], 0x10
lea eax, [esi + 0x10]
mov ecx, dword [esi + 0xc]
push eax
call fcn.1009c7f0
mov eax, dword [esi + 8]
add eax, 0x44
mov eax, dword [eax]
mov dword [esi + 0xe8], 0x11
mov ecx, dword [ebp + 8]
lea edx, [esi + 0x40]
push edx
lea edx, [esi + 0x10]
push edx
push eax
call fcn.1009dbe0
jmp 0x1009d5aa
lea ecx, [esi + 0x28]
push str.object_separator
call fcn.10016910
mov dword [esi + 0xe8], 0xa
mov ecx, dword [esi + 8]
lea eax, [esi + 0x28]
push eax
push 0xc
lea eax, [esi + 0x60]
push eax
call fcn.1009b990
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x4c]
mov dword [esi + 0x88], eax
movsd xmm0, qword [ecx + 0x44]
movsd qword [esi + 0x80], xmm0
mov dword [esi + 0xe8], 0xb
lea eax, [esi + 0x80]
lea ecx, [esi + 0x60]
push ecx
push eax
push 0x65
lea eax, [esi + 0x40]
push eax
call fcn.1009b3f0
add esp, 0x10
mov dword [esi + 0xe8], 0xc
lea eax, [esi + 0x10]
mov ecx, dword [esi + 0xc]
push eax
call fcn.1009c7f0
mov eax, dword [esi + 8]
add eax, 0x44
mov eax, dword [eax]
mov dword [esi + 0xe8], 0xd
mov ecx, dword [ebp + 8]
lea edx, [esi + 0x40]
push edx
lea edx, [esi + 0x10]
push edx
push eax
call fcn.1009dbe0
mov ebx, eax
lea ecx, [esi + 0x10]
call fcn.10007600
lea ecx, [esi + 0x40]
call fcn.1001b2d0
lea ecx, [esi + 0x60]
call fcn.10007600
lea ecx, [esi + 0x28]
call fcn.10007600
jmp 0x1009d18c
lea eax, [esi + 0x10]
mov ecx, dword [esi + 0xc]
push eax
call fcn.1009c7f0
mov dword [esi + 0xe8], 1
lea eax, [esi + 0x28]
lea ecx, [esi + 0x10]
push ecx
push str.number_overflow_parsing_
push eax
call fcn.100189a0
add esp, 0xc
mov dword [esi + 0xe8], 2
push 0x101696d7
lea eax, [esi + 0x28]
push eax
lea eax, [esi + 0x60]
push eax
call fcn.100175c0
add esp, 0xc
mov dword [esi + 0xe8], 3
lea eax, [esi + 0x60]
push eax
push 0x196
lea eax, [esi + 0x40]
push eax
call fcn.1001aff0
add esp, 0xc
mov dword [esi + 0xe8], 4
lea eax, [esi + 0x80]
mov ecx, dword [esi + 0xc]
push eax
call fcn.1009c7f0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x44]
mov dword [esi + 0xe8], 5
mov ecx, dword [ebp + 8]
lea edx, [esi + 0x40]
push edx
lea edx, [esi + 0x80]
push edx
push eax
call fcn.100a1b60
mov ebx, eax
lea ecx, [esi + 0x80]
call fcn.10007600
lea ecx, [esi + 0x40]
call fcn.1001b2d0
lea ecx, [esi + 0x60]
call fcn.10007600
lea ecx, [esi + 0x28]
call fcn.10007600
lea ecx, [esi + 0x10]
call fcn.10007600
jmp 0x1009d18c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea edi, [esi + 0x40]
mov ecx, edi
lea eax, [esi + 0x60]
push eax
call fcn.100a1730
mov dword [esi + 0xe8], 0x19
push 0x10170f8c
push edi
call sub.VCRUNTIME140.dll__CxxThrowException
add esp, 8
nop word cs:[eax + eax]
push ebp
sub esp, 0x10
lea esi, [ebp - 0xec]
mov ebp, dword [esi + 0xd8]
lea ecx, [esi + 0x10]
call fcn.10007600
add esp, 0x10
pop ebp
ret