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

Disassembly:
push ebp
lea ebp, [esp - 0x28]
sub esp, 0x28
push 0xffffffffffffffff
push 0x46145e
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x47a0bc]
xor eax, ebp
mov dword [ebp + 0x24], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0x30]
lea ecx, [ebp - 0x54]
mov dword [ebp], 0
mov dword [ebp + 8], ebx
mov dword [ebp - 0xbc], 0x463b9c
mov dword [ebp - 0xac], 0x463ba4
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xbc]
mov dword [ebp], 2
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 4], 1
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xbc], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc0], eax
lea ecx, [ebp - 0xa4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xa4], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov eax, dword [edi + 0xc]
mov dword [ebp - 4], 2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
cmp byte [edi + 0x30], 0
addsd xmm0, qword [eax*8 + 0x463c30]
cvtpd2ps xmm0, xmm0
movss dword [ebp + 8], xmm0
je 0x404054
lea eax, [ebp - 0xac]
push 0x463b50
push eax
call fcn.00401ca0
mov esi, eax
add esp, 8
mov eax, dword [edi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x463c30]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [ebp + 8]
mulss xmm0, dword [0x463c28]
call fcn.00460310
mov ecx, 0x64
cmp eax, ecx
push 0x463bac
cmova eax, ecx
mov ecx, esi
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
push eax
call fcn.00401ca0
add esp, 8
cmp byte [edi + 0x2c], 0
je 0x40409f
lea eax, [ebp - 0xac]
push 0x463bb0
push eax
call fcn.00401ca0
add esp, 8
lea eax, [ebp - 0xac]
cmp byte [edi + 0x24], 0
je 0x404091
push dword [edi + 0xec]
push dword [edi + 0xe8]
push eax
call fcn.00405ad0
add esp, 0xc
jmp 0x40409f
push str.00:00s
push eax
call fcn.00401ca0
add esp, 8
cmp byte [edi + 0x28], 0
mov cl, byte [edi + 0x2c]
je 0x4041a4
test cl, cl
mov edx, 0x463bbc
mov eax, 0x463bb0
cmovne eax, edx
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.00401ca0
add esp, 8
cmp byte [edi + 0x24], 0
je 0x40418e
mov esi, dword [edi]
test esi, esi
je 0x404138
mov edx, dword [edi + 0xec]
mov ecx, dword [edi + 0xe8]
call fcn.00460430
xorps xmm1, xmm1
sub esp, 8
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
mulss xmm1, dword [ebp + 8]
cvtsi2sd xmm0, esi
shr esi, 0x1f
addsd xmm0, qword [esi*8 + 0x463c30]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [ebp + 8], xmm1
fld dword [ebp + 8]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [ebp + 8]
movss xmm0, dword [ebp + 8]
call fcn.00460310
jmp 0x404146
xorps xmm0, xmm0
movlpd qword [ebp + 4], xmm0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov esi, dword [edi + 0xec]
mov ecx, dword [edi + 0xe8]
cmp esi, edx
jg 0x404173
jl 0x40415c
cmp ecx, eax
jae 0x404173
sub eax, ecx
sbb edx, esi
push edx
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.00405ad0
add esp, 0xc
jmp 0x4041a8
sub ecx, eax
mov eax, ecx
sbb esi, edx
mov edx, esi
push edx
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.00405ad0
add esp, 0xc
jmp 0x4041a8
lea eax, [ebp - 0xac]
push str.00:00s
push eax
call fcn.00401ca0
add esp, 8
jmp 0x4041a8
test cl, cl
je 0x4041bc
lea eax, [ebp - 0xac]
push 0x463bc0
push eax
call fcn.00401ca0
add esp, 8
lea eax, [ebp - 0xac]
push 0x463b50
push eax
call fcn.00401ca0
mov ecx, dword [edi + 0xc4]
add edi, 0xb4
add esp, 8
cmp dword [edi + 0x14], 0x10
jb 0x4041e4
mov edi, dword [edi]
push ecx
push edi
push eax
call fcn.00401f10
add esp, 0xc
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0xbc]
push eax
call fcn.00405370
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 3
push eax
call fcn.004033a0
add esp, 4
mov esi, eax
lea eax, [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.00402120
mov ecx, dword [ebp + 0x20]
mov dword [ebx + 0x18], esi
cmp ecx, 0x10
jb 0x404254
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40424a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40424a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045fabc
add esp, 8
mov eax, dword [ebp - 0xbc]
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp + 0xc], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xbc], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 4]
lea ecx, [edx - 0x68]
mov dword [ebp + edx - 0xc0], ecx
lea ecx, [ebp - 0xa4]
call fcn.00402510
lea ecx, [ebp - 0x9c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x24]
xor ecx, ebp
call fcn.0045faca
lea esp, [ebp + 0x28]
pop ebp
ret 4