Function at 0x410ad0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push esi
push edi
lea edi, [ebp - 0x34]
mov ecx, 0xd
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
cmp dword [0x41d680], 0
jne 0x410b38
mov esi, esp
push str.localeconv
call fcn.00411890
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00414df0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x410b22
mov eax, dword [ebp - 8]
mov dword [ebp - 0xf4], eax
jmp 0x410b2c
mov dword [ebp - 0xf4], 0xffffffff
mov ecx, dword [ebp - 0xf4]
mov dword [0x41d680], ecx
cmp dword [0x41d680], 0
jne 0x410b48
xor eax, eax
jmp 0x411122
mov esi, esp
call dword [0x41d680]
cmp esi, esp
call fcn.00414df0
mov dword [ebp - 0x14], eax
call fcn.0040e320
cmp eax, 0x60001
jb 0x410b6e
mov eax, dword [ebp - 0x14]
jmp 0x411122
call sub.msvcrt.dll____lc_codepage_func
mov dword [ebp - 0x20], eax
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + 0x10]
cmp ecx, dword [eax]
je 0x410bf3
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [edx + 0x10], ecx
push 2
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
add edx, 0x60
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.00410a30
mov dword [ebp - 0xf4], eax
mov ecx, dword [0x41d6d4]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 0x40], ecx
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + 0x14]
cmp ecx, dword [eax + 4]
je 0x410c73
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
mov dword [edx + 0x14], ecx
push 2
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
add edx, 0x64
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 4]
mov ecx, dword [ebp - 0x20]
call fcn.00410a30
mov dword [ebp - 0xf4], eax
mov ecx, dword [0x41d6d4]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 0x44], ecx
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
mov dword [edx + 0x18], ecx
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + 0x1c]
cmp ecx, dword [eax + 0xc]
je 0x410d8c
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc], 0
je 0x410d73
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
add edx, 0x68
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0x48], edx
mov dword [ebp - 0x2c], 0
jmp 0x410d13
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 3
je 0x410d55
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x2c]
movsx eax, byte [ecx + edx]
test eax, eax
je 0x410d55
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x2c]
movsx ax, byte [ecx + edx]
mov ecx, dword [0x41d6d4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
mov edx, dword [ebp - 0x2c]
mov word [ecx + edx*2 + 0x68], ax
jmp 0x410d0a
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
xor eax, eax
mov ecx, dword [ebp - 0x2c]
mov word [edx + ecx*2 + 0x68], ax
jmp 0x410d8c
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov dword [edx + 0x48], 0
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + 0x20]
cmp ecx, dword [eax + 0x10]
je 0x410e0f
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x20], ecx
push 0x80
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
add edx, 0x70
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x10]
mov ecx, dword [ebp - 0x20]
call fcn.00410a30
mov dword [ebp - 0xf4], eax
mov ecx, dword [0x41d6d4]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 0x4c], ecx
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + 0x24]
cmp ecx, dword [eax + 0x14]
je 0x410e92
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x24], ecx
push 0x80
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
add edx, 0x170
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x14]
mov ecx, dword [ebp - 0x20]
call fcn.00410a30
mov dword [ebp - 0xf4], eax
mov ecx, dword [0x41d6d4]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 0x50], ecx
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + 0x28]
cmp ecx, dword [eax + 0x18]
je 0x410f15
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x28], ecx
push 0x80
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
add edx, 0x270
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x18]
mov ecx, dword [ebp - 0x20]
call fcn.00410a30
mov dword [ebp - 0xf4], eax
mov ecx, dword [0x41d6d4]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 0x54], ecx
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x2c], ecx
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + 0x30]
cmp ecx, dword [eax + 0x20]
je 0x410fb3
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x30], ecx
push 0x80
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
add edx, 0x370
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x20]
mov ecx, dword [ebp - 0x20]
call fcn.00410a30
mov dword [ebp - 0xf4], eax
mov ecx, dword [0x41d6d4]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 0x58], ecx
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + 0x34]
cmp ecx, dword [eax + 0x24]
je 0x411036
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x34], ecx
push 0x80
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
add edx, 0x470
push edx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x24]
mov ecx, dword [ebp - 0x20]
call fcn.00410a30
mov dword [ebp - 0xf4], eax
mov ecx, dword [0x41d6d4]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 0x5c], ecx
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 0x28]
mov byte [edx + 0x38], cl
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 0x29]
mov byte [edx + 0x39], cl
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 0x2a]
mov byte [edx + 0x3a], cl
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 0x2b]
mov byte [edx + 0x3b], cl
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 0x2c]
mov byte [edx + 0x3c], cl
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 0x2d]
mov byte [edx + 0x3d], cl
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 0x2e]
mov byte [edx + 0x3e], cl
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x14]
mov cl, byte [eax + 0x2f]
mov byte [edx + 0x3f], cl
mov eax, dword [0x41d6d4]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
add eax, 0x10
pop edi
pop esi
pop ebx
add esp, 0xf4
cmp ebp, esp
call fcn.00414df0
mov esp, ebp
pop ebp
ret