Function at 0x407940
Capabilities:
Get number of processors

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474a64
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x487080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
mov edi, dword [ebx + 8]
mov dword [ebp - 0x38], esi
call fcn.00407350
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov byte [esi + 1], 0
movups xmmword [esi + 4], xmm0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
movups xmmword [esi + 0x1c], xmm0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0xf
mov byte [esi + 0x1c], 0
movups xmmword [esi + 0x34], xmm0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0xf
mov byte [esi + 0x34], 0
movups xmmword [esi + 0x4c], xmm0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0xf
mov byte [esi + 0x4c], 0
movups xmmword [esi + 0x64], xmm0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0xf
mov byte [esi + 0x64], 0
mov byte [ebp - 4], 5
mov ecx, edi
cmp dword [edi + 0x14], 0xf
jbe 0x407a18
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
lea eax, [edi + 0x10]
push 3
push 0x478af0
push 0
mov dword [ebp - 0x14], eax
call fcn.0041f950
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x407b3c
mov esi, dword [ebp - 0x14]
mov edx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0
cmp dword [esi], eax
mov eax, edi
cmovb edx, dword [esi]
cmp dword [edi + 0x14], 0xf
mov esi, dword [ebp - 0x1c]
jbe 0x407a6a
mov eax, dword [edi]
push edx
push eax
lea ecx, [ebp - 0x34]
call fcn.0041fb70
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 4]
call fcn.0041c100
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x407ab4
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407aaa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407e35
push ecx
push edx
call fcn.00473531
add esp, 8
mov ecx, dword [ebp - 0x18]
xorps xmm0, xmm0
mov eax, dword [edi + 0x10]
add ecx, 3
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x34], xmm0
cmp eax, ecx
jb 0x407e89
sub eax, ecx
or edx, 0xffffffff
cmp eax, 0xffffffff
cmovb edx, eax
cmp dword [edi + 0x14], 0xf
jbe 0x407aed
mov edi, dword [edi]
lea eax, [edi + ecx]
push edx
push eax
lea ecx, [ebp - 0x34]
call fcn.0041fb70
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 0x64]
call fcn.0041c100
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x407b65
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407b30
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407e35
push ecx
push edx
call fcn.00473531
add esp, 8
jmp 0x407b65
push 4
push str.http
lea ecx, [esi + 4]
call fcn.0041dad0
lea ecx, [esi + 0x64]
cmp ecx, edi
je 0x407b65
cmp dword [edi + 0x14], 0xf
jbe 0x407b5a
mov edi, dword [edi]
mov eax, dword [ebp - 0x14]
push dword [eax]
push edi
call fcn.0041dad0
cmp dword [esi + 0x78], 0xf
lea edi, [esi + 0x64]
jbe 0x407b71
mov edi, dword [esi + 0x64]
mov eax, dword [esi + 0x74]
test eax, eax
je 0x407b9a
push eax
push 0x23
push edi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
je 0x407b9a
sub eax, edi
cmp eax, 0xffffffff
je 0x407b9a
push 0
push eax
lea ecx, [esi + 0x64]
call fcn.0041bf10
mov edi, dword [esi + 0x78]
lea eax, [esi + 0x64]
mov dword [ebp - 0x1c], eax
mov ecx, eax
mov dword [ebp - 0x14], edi
cmp edi, 0xf
jbe 0x407bb2
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x407cdf
push eax
push 0x2f
push ecx
call sub.VCRUNTIME140.dll_memchr
mov edi, eax
add esp, 0xc
test edi, edi
je 0x407cd9
sub edi, dword [ebp - 0x1c]
cmp edi, 0xffffffff
je 0x407cd9
cmp dword [ebp - 0x18], edi
lea eax, [esi + 0x64]
mov ecx, edi
mov dword [ebp - 0x24], 0
cmovb ecx, dword [ebp - 0x18]
xorps xmm0, xmm0
cmp dword [ebp - 0x14], 0xf
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0
jbe 0x407c0b
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.0041fb70
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 0x1c]
call fcn.0041c100
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x407c55
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407c4b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407e35
push ecx
push edx
call fcn.00473531
add esp, 8
mov ecx, dword [esi + 0x74]
lea eax, [esi + 0x64]
mov dword [ebp - 0x24], 0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x34], xmm0
cmp ecx, edi
jb 0x407e89
sub ecx, edi
or edx, 0xffffffff
cmp ecx, 0xffffffff
cmovb edx, ecx
cmp dword [eax + 0x14], 0xf
jbe 0x407c8b
mov eax, dword [eax]
push edx
add eax, edi
lea ecx, [ebp - 0x34]
push eax
call fcn.0041fb70
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 0x64]
call fcn.0041c100
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x407d06
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407ccd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407e35
push ecx
push edx
call fcn.00473531
add esp, 8
jmp 0x407d06
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
lea edx, [esi + 0x64]
lea ecx, [esi + 0x1c]
cmp ecx, edx
je 0x407cf7
cmp edi, 0xf
jbe 0x407cf0
mov edx, dword [edx]
push eax
push edx
call fcn.0041dad0
push 1
push 0x478afc
lea ecx, [esi + 0x64]
call fcn.0041dad0
mov edx, dword [esi + 0x30]
lea eax, [esi + 0x1c]
mov dword [ebp - 0x1c], eax
mov ecx, eax
mov dword [ebp - 0x14], edx
cmp edx, 0xf
jbe 0x407d1e
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x407d3f
push eax
push 0x3a
push ecx
call sub.VCRUNTIME140.dll_memchr
mov edi, eax
add esp, 0xc
test edi, edi
je 0x407d3f
sub edi, dword [ebp - 0x1c]
jmp 0x407d42
or edi, 0xffffffff
lea eax, [esi + 0x1c]
cmp edi, 0xffffffff
je 0x407e47
cmp dword [ebp - 0x18], edi
mov edx, edi
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
cmovb edx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0xf
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0
jbe 0x407d74
mov eax, dword [eax]
push edx
push eax
lea ecx, [ebp - 0x34]
call fcn.0041fb70
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 0x34]
call fcn.0041c100
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x407dbe
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407db4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407e35
push ecx
push edx
call fcn.00473531
add esp, 8
mov ecx, dword [esi + 0x2c]
lea eax, [esi + 0x1c]
inc edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
cmp ecx, edi
jb 0x407e89
sub ecx, edi
mov edx, 0xffffffff
cmp ecx, 0xffffffff
cmovb edx, ecx
cmp dword [eax + 0x14], 0xf
jbe 0x407df7
mov eax, dword [eax]
push edx
add eax, edi
lea ecx, [ebp - 0x34]
push eax
call fcn.0041fb70
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 0x4c]
call fcn.0041c100
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x407e71
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x407e3b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407e3b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00473531
add esp, 8
jmp 0x407e71
lea edx, [esi + 0x34]
cmp edx, eax
je 0x407e62
cmp dword [ebp - 0x14], 0xf
jbe 0x407e56
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
push ecx
push eax
mov ecx, edx
call fcn.0041dad0
push 2
push 0x478b00
lea ecx, [esi + 0x4c]
call fcn.0041dad0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.0041e700
int3