Function at 0x406580
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x427da7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
mov dword [esp + 0x5c], 0
push 0x439958
lea ecx, [esp + 0x24]
mov dword [esp + 0x7c], 5
call fcn.00421a83
lea eax, [esp + 0x84]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x7c], 6
call fcn.004217a8
push 0x439958
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 7
call fcn.00421a83
push 0x439958
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 8
call fcn.00421a83
lea ecx, [esp + 0x8c]
mov byte [esp + 0x78], 9
push ecx
lea ecx, [esp + 0x2c]
call fcn.004217a8
push 0x439958
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c], 0xa
call fcn.00421a83
push 0x439958
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 0xb
call fcn.00421a83
push 0x439958
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 0xc
call fcn.00421a83
push 0x1f
lea edx, [esp + 0x18]
mov bl, 0xd
push 0x4355ac
push edx
mov byte [esp + 0x84], bl
call fcn.004212e2
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x30]
push eax
push ecx
push edx
call fcn.00421bf8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 0xe
call fcn.00421b02
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], bl
call fcn.00421a15
push 0x8b
lea eax, [esp + 0x18]
push 0x4355ac
push eax
call fcn.004212e2
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
call fcn.00421bf8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 0xf
call fcn.00421b02
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], bl
call fcn.00421a15
push 8
lea ecx, [esp + 0x18]
push 0x4355ac
push ecx
call fcn.004212e2
add esp, 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x30]
push edx
push eax
push ecx
call fcn.00421bf8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 0x10
call fcn.00421b02
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], bl
call fcn.00421a15
xor esi, esi
mov edx, dword [esp + 0x10]
inc esi
push edx
push str.AutoLocation_s_n_n_n
call fcn.00414aa3
add esp, 4
lea eax, [esp + 0x94]
mov ecx, esp
mov dword [esp + 0x64], esp
push eax
call fcn.004217a8
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
mov byte [esp + 0x84], 0x11
call fcn.004217a8
push ecx
lea eax, [esp + 0x94]
mov ecx, esp
mov dword [esp + 0x74], esp
push eax
mov byte [esp + 0x88], 0x12
call fcn.004217a8
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x7c], esp
push edx
mov byte [esp + 0x8c], 0x13
call fcn.004217a8
lea eax, [esp + 0x40]
mov byte [esp + 0x88], bl
push eax
call fcn.00402760
add esp, 0x14
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 0x14
call fcn.00421b02
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], bl
call fcn.00421a15
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
call fcn.00421b02
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x70], esp
push edx
call fcn.004217a8
lea eax, [esp + 0x38]
push eax
call fcn.00402160
add esp, 8
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 0x15
call fcn.00421b02
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], bl
call fcn.00421a15
push 0x439958
lea ecx, [esp + 0x14]
call fcn.00421b52
mov ecx, dword [esp + 0x94]
push str.1__:___
push ecx
call fcn.004149c5
add esp, 8
test eax, eax
jne 0x40689f
push ecx
lea edx, [esp + 0x24]
mov edi, esp
mov dword [esp + 0x70], esp
push ecx
mov ecx, esp
mov dword [esp + 0x74], esp
push edx
call fcn.004217a8
push edi
call fcn.00404590
add esp, 8
lea eax, [esp + 0x3c]
push eax
call fcn.00401a20
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0x16
call fcn.00421b02
lea ecx, [esp + 0x38]
mov byte [esp + 0x78], bl
call fcn.00421a15
mov ecx, dword [esp + 0x10]
push str.document.location.href
push ecx
call fcn.004149c5
add esp, 8
test eax, eax
jne 0x40689f
push 0x439958
lea ecx, [esp + 0x14]
call fcn.00421b52
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x70], esp
push edx
call fcn.004217a8
lea eax, [esp + 0x40]
push eax
call fcn.004051f0
add esp, 8
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x7c], 0x17
call fcn.00421b02
lea ecx, [esp + 0x3c]
mov byte [esp + 0x78], bl
call fcn.00421a15
mov ecx, dword [esp + 0x10]
push 0x439958
push ecx
call fcn.004149c5
add esp, 8
test eax, eax
je 0x406a57
lea edx, [esp + 0x10]
lea ecx, [esp + 0x1c]
push edx
call fcn.00421b02
lea ecx, [esp + 0x1c]
call fcn.00421e7b
push 7
lea eax, [esp + 0x44]
push 0
push eax
lea ecx, [esp + 0x28]
call fcn.00420e4e
mov eax, dword [eax]
push str.http:__
push eax
call fcn.004149c5
add esp, 8
lea ecx, [esp + 0x40]
test eax, eax
setne byte [esp + 0xf]
call fcn.00421a15
mov al, byte [esp + 0xf]
test al, al
je 0x406a4e
push 1
lea ecx, [esp + 0x48]
push 0
push ecx
lea ecx, [esp + 0x28]
call fcn.00420e4e
mov eax, dword [eax]
push 0x43551c
push eax
call fcn.004149c5
add esp, 8
lea ecx, [esp + 0x44]
test eax, eax
setne byte [esp + 0xf]
call fcn.00421a15
mov al, byte [esp + 0xf]
test al, al
je 0x4069f8
lea edx, [esp + 0x24]
lea eax, [esp + 0x50]
push edx
push str.http:__
push eax
call fcn.00421cd2
push 0x43551c
lea ecx, [esp + 0x50]
push eax
push ecx
mov byte [esp + 0x84], 0x18
call fcn.00421c5e
lea edx, [esp + 0x10]
mov byte [esp + 0x78], 0x19
push edx
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00421bf8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0x1a
call fcn.00421b02
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 0x19
call fcn.00421a15
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 0x18
call fcn.00421a15
mov byte [esp + 0x78], bl
lea ecx, [esp + 0x50]
jmp 0x406a49
lea ecx, [esp + 0x24]
lea edx, [esp + 0x58]
push ecx
push str.http:__
push edx
call fcn.00421cd2
lea ecx, [esp + 0x10]
lea edx, [esp + 0x54]
push ecx
push eax
push edx
mov byte [esp + 0x84], 0x1b
call fcn.00421bf8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0x1c
call fcn.00421b02
lea ecx, [esp + 0x54]
mov byte [esp + 0x78], 0x1b
call fcn.00421a15
mov byte [esp + 0x78], bl
lea ecx, [esp + 0x58]
call fcn.00421a15
cmp esi, 0xa
jl 0x40671e
mov esi, dword [esp + 0x80]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.004217a8
mov dword [esp + 0x5c], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 0xc
call fcn.00421a15
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 0xb
call fcn.00421a15
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 0xa
call fcn.00421a15
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 9
call fcn.00421a15
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 8
call fcn.00421a15
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 7
call fcn.00421a15
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], 6
call fcn.00421a15
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 5
call fcn.00421a15
lea ecx, [esp + 0x84]
mov byte [esp + 0x78], 4
call fcn.00421a15
lea ecx, [esp + 0x88]
mov byte [esp + 0x78], 3
call fcn.00421a15
lea ecx, [esp + 0x8c]
mov byte [esp + 0x78], 2
call fcn.00421a15
lea ecx, [esp + 0x90]
mov byte [esp + 0x78], 1
call fcn.00421a15
lea ecx, [esp + 0x94]
mov byte [esp + 0x78], 0
call fcn.00421a15
mov ecx, dword [esp + 0x70]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x70
ret