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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x636390
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x6cd400]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push esi
push edi
mov eax, dword [0x6cd400]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
mov eax, dword [case.0x79a990.0]
mov ebx, 2
test al, 1
jne 0x4871e9
or eax, 1
mov dword [case.0x79a990.0], eax
mov dword [esp + 0x170], 0
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov dword [esp + 0x170], 0xffffffff
mov eax, dword [case.0x79a990.0]
mov edi, dword [0x6d6d4c]
mov dword [esp + 0x14], edi
test al, 1
jne 0x48722d
or eax, 1
mov dword [case.0x79a990.0], eax
mov dword [esp + 0x170], 1
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov dword [esp + 0x170], 0xffffffff
cmp byte [0x6d680c], 0
mov eax, 1
cmove ebx, eax
lea eax, [esp + 0x98]
mov dword [esp + 0x98], 0
mov ecx, eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0xa0], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
call fcn.0040d520
mov dword [esp + 0x98], eax
mov dword [esp + 0x170], 6
lea eax, [esp + 0xa0]
mov ecx, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
call fcn.0040d520
mov dword [esp + 0xa0], eax
mov dword [esp + 0x170], 0xc
mov esi, dword [edi + 0xb4]
cmp esi, dword [edi + 0xb8]
je 0x487bb3
mov eax, dword [esp + 0x14]
mov edi, dword [esi]
test edi, edi
je 0x487ba4
cmp byte [edi + 0x80], 0
jne 0x487ba4
call fcn.00423ff0
mov eax, dword [case.0x79a990.0]
test al, 1
jne 0x48733a
or eax, 1
mov dword [case.0x79a990.0], eax
mov byte [esp + 0x170], 0xd
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov byte [esp + 0x170], 0xc
mov eax, dword [case.0x79a990.0]
cmp dword [0x6d664c], 0
je 0x487398
test al, 1
jne 0x487377
or eax, 1
mov dword [case.0x79a990.0], eax
mov byte [esp + 0x170], 0xe
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov byte [esp + 0x170], 0xc
cmp dword [0x6d6650], 8
mov eax, 0x6d663c
cmovae eax, dword [0x6d663c]
push eax
call fcn.005eaf27
mov eax, dword [case.0x79a990.0]
add esp, 4
mov ebx, 0x64
mov dword [esp + 0x18], ebx
test al, 1
jne 0x4873da
or eax, 1
mov dword [case.0x79a990.0], eax
mov byte [esp + 0x170], 0xf
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov byte [esp + 0x170], 0xc
mov eax, dword [case.0x79a990.0]
cmp dword [0x6d68cc], 0x870
jl 0x487430
test al, 1
jne 0x48741a
or eax, 1
mov dword [case.0x79a990.0], eax
mov byte [esp + 0x170], 0x10
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov byte [esp + 0x170], 0xc
cmp dword [0x6d68d0], 0xf00
mov eax, 0xc8
cmovge ebx, eax
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + 0xcc]
call fcn.004669c0
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov word [esp + 0xe0], cx
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
push eax
lea ecx, [esp + 0xe4]
mov dword [esp + 0xf8], 7
mov dword [esp + 0xf4], 0
call fcn.00403b10
mov byte [esp + 0x170], 0x11
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [esp + 0xb0], ax
lea eax, [esp + 0xe0]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
push eax
lea ecx, [esp + 0xb4]
mov dword [esp + 0xc8], 7
mov dword [esp + 0xc4], 0
call fcn.00403b10
mov byte [esp + 0x170], 0x12
lea eax, [esp + 0x18]
push eax
lea ecx, [edi + 0xd4]
call fcn.004669c0
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov word [esp + 0x110], cx
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
push eax
lea ecx, [esp + 0x114]
mov dword [esp + 0x128], 7
mov dword [esp + 0x124], 0
call fcn.00403b10
mov byte [esp + 0x170], 0x13
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [esp + 0x128], ax
lea eax, [esp + 0x110]
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
push eax
lea ecx, [esp + 0x12c]
mov dword [esp + 0x140], 7
mov dword [esp + 0x13c], 0
call fcn.00403b10
mov byte [esp + 0x170], 0x14
xor eax, eax
cmp byte [edi], al
je 0x487742
push 0xd
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
push 0x68b824
lea ecx, [esp + 0x88]
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], eax
mov word [esp + 0x88], ax
call fcn.00403c30
mov byte [esp + 0x170], 0x15
lea eax, [edi + 0x34]
push eax
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xa0]
call fcn.00468080
mov byte [esp + 0x170], 0x14
cmp dword [esp + 0x94], 8
jb 0x48761c
push dword [esp + 0x80]
call fcn.004c56c2
add esp, 4
xor eax, eax
push 0xa
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
push 0x68b840
lea ecx, [esp + 0x3c]
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], 0
mov word [esp + 0x88], ax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], eax
mov word [esp + 0x3c], ax
call fcn.00403c30
mov byte [esp + 0x170], 0x16
lea eax, [edi + 0x1c]
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xa0]
call fcn.00468080
mov byte [esp + 0x170], 0x14
cmp dword [esp + 0x48], 8
jb 0x48769d
push dword [esp + 0x34]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
cmp dword [esp + 0xe8], eax
je 0x487a9c
lea edx, [esp + 0xa8]
lea ecx, [esp + 0xd8]
call fcn.00424200
test al, al
je 0x487a9c
push 0x68bf88
lea ecx, [esp + 0x20]
call fcn.004035b0
mov byte [esp + 0x170], 0x17
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xa0]
call fcn.00468080
mov byte [esp + 0x170], 0x14
cmp dword [esp + 0x30], 8
jb 0x487726
push dword [esp + 0x1c]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
jmp 0x487a9c
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x104], 7
mov dword [esp + 0x100], 0
mov word [esp + 0xf0], ax
mov byte [esp + 0x170], 0x18
mov ebx, dword [esp + 0x4c]
xor eax, eax
xorps xmm0, xmm0
push ebx
mov word [esp + 0x13c], ax
mov dword [esp + 0x15e], eax
mov word [esp + 0x162], ax
lea eax, [esp + 0x13c]
push 0x67a950
push eax
movq qword [esp + 0x146], xmm0
movq qword [esp + 0x14e], xmm0
movq qword [esp + 0x156], xmm0
movq qword [esp + 0x15e], xmm0
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
cmp word [esp + 0x138], 0
jne 0x4877e8
xor ecx, ecx
jmp 0x487801
lea ecx, [esp + 0x138]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4877f2
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0xf8]
call fcn.00403c30
push 7
xor eax, eax
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
push 0x68bc6c
lea ecx, [esp + 0xc8]
mov dword [esp + 0xdc], 7
mov dword [esp + 0xd8], 0
mov word [esp + 0xc8], ax
call fcn.00403c30
mov byte [esp + 0x170], 0x19
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0xcc]
call fcn.00403f80
push 5
push 0x68bca0
lea ecx, [esp + 0xc8]
call fcn.004039e0
lea eax, [edi + 0x34]
push eax
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0xa0]
call fcn.00468080
push 7
push 0x68bc6c
lea ecx, [esp + 0xc8]
call fcn.00403c30
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0xcc]
call fcn.00403f80
push 2
push 0x68bc7c
lea ecx, [esp + 0xc8]
call fcn.004039e0
add edi, 0x1c
push edi
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0xa0]
call fcn.00468080
cmp dword [esp + 0xe8], 0
je 0x48797b
lea edx, [esp + 0xa8]
lea ecx, [esp + 0xd8]
call fcn.00424200
test al, al
je 0x48797b
push 7
push 0x68bc6c
lea ecx, [esp + 0xc8]
call fcn.00403c30
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0xcc]
call fcn.00403f80
push 5
push 0x68bcac
lea ecx, [esp + 0xc8]
call fcn.004039e0
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0xa0]
call fcn.00468080
cmp dword [esp + 0x118], 0
je 0x4879f6
lea edx, [esp + 0x120]
lea ecx, [esp + 0x108]
call fcn.00424200
test al, al
je 0x4879f6
push 7
push 0x68bc6c
lea ecx, [esp + 0xc8]
call fcn.00403c30
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0xcc]
call fcn.00403f80
push 6
push 0x68bc84
lea ecx, [esp + 0xc8]
call fcn.004039e0
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0xa0]
call fcn.00468080
cmp ebx, 1
jne 0x487a15
call fcn.00401520
add eax, 0x290
cmp eax, edi
je 0x487a15
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.00403b10
inc ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x170], 0x18
cmp dword [esp + 0xd4], 8
jb 0x487a3b
push dword [esp + 0xc0]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd0], 0
mov word [esp + 0xc0], ax
mov byte [esp + 0x170], 0x14
cmp dword [esp + 0x104], 8
jb 0x487a7c
push dword [esp + 0xf0]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x104], 7
mov dword [esp + 0x100], 0
mov word [esp + 0xf0], ax
mov byte [esp + 0x170], 0x13
cmp dword [esp + 0x134], 8
jb 0x487abd
push dword [esp + 0x120]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x134], 7
mov dword [esp + 0x130], 0
mov word [esp + 0x120], ax
mov byte [esp + 0x170], 0x12
cmp dword [esp + 0x11c], 8
jb 0x487afe
push dword [esp + 0x108]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x11c], 7
mov dword [esp + 0x118], 0
mov word [esp + 0x108], ax
mov byte [esp + 0x170], 0x11
cmp dword [esp + 0xbc], 8
jb 0x487b3f
push dword [esp + 0xa8]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0xbc], 7
mov dword [esp + 0xb8], 0
mov word [esp + 0xa8], ax
mov byte [esp + 0x170], 0xc
cmp dword [esp + 0xec], 8
jb 0x487b80
push dword [esp + 0xd8]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov word [esp + 0xd8], ax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xec], 7
mov dword [esp + 0xe8], 0
add esi, 4
cmp esi, dword [eax + 0xb8]
jne 0x4872e0
push ecx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xa0]
call fcn.00468180
mov byte [esp + 0x170], 0x1a
push 0
push 0x676964
push dword [eax + 0x10]
mov ecx, eax
push 0
call fcn.004048b0
test eax, eax
sete bl
mov byte [esp + 0x170], 0xc
cmp dword [esp + 0x30], 8
jb 0x487c00
push dword [esp + 0x1c]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
test bl, bl
je 0x487d9d
push 1
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
push 0x677708
lea ecx, [esp + 0x58]
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], eax
mov word [esp + 0x58], ax
call fcn.00403c30
mov byte [esp + 0x170], 0x1b
push 0xc
xor eax, eax
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
push 0x68bfa4
lea ecx, [esp + 0xb0]
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], 0
mov word [esp + 0xb0], ax
call fcn.00403c30
mov byte [esp + 0x170], 0x1c
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x9c]
call fcn.004181d0
mov esi, eax
mov eax, dword [esp + 0x98]
cmp esi, eax
je 0x487cf6
cmp dword [esi + 0x24], 8
mov ecx, dword [esi + 0x20]
lea eax, [esi + 0x10]
jb 0x487cd0
mov eax, dword [eax]
push ecx
push eax
push dword [esp + 0xc0]
lea ecx, [esp + 0xb4]
push 0
call fcn.004048b0
test eax, eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], esi
jns 0x487cfa
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
cmp dword [ecx], eax
jne 0x487d2a
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x9c]
call fcn.004497a0
lea ecx, [esp + 0x50]
cmp eax, ecx
je 0x487d2a
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00403b10
mov byte [esp + 0x170], 0x1b
cmp dword [esp + 0xbc], 8
jb 0x487d4b
push dword [esp + 0xa8]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0xbc], 7
mov dword [esp + 0xb8], 0
mov word [esp + 0xa8], ax
mov byte [esp + 0x170], 0xc
cmp dword [esp + 0x64], 8
jb 0x487d86
push dword [esp + 0x50]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
mov eax, dword [case.0x79a990.0]
test al, 1
jne 0x487dd6
or eax, 1
mov dword [case.0x79a990.0], eax
mov byte [esp + 0x170], 0x1d
push ecx
call fcn.004015a0
call fcn.0042d900
push 0x639710
call fcn.005e9ef6
add esp, 4
mov byte [esp + 0x170], 0xc
push 9
push 0x6777b4
push dword [0x6d67ec]
mov ecx, 0x6d67dc
push 0
call fcn.004048b0
test eax, eax
jne 0x487f83
push 4
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
push 0x679a3c
lea ecx, [esp + 0x70]
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], eax
mov word [esp + 0x70], ax
call fcn.00403c30
mov byte [esp + 0x170], 0x1e
push 0xb
xor eax, eax
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
push 0x682a28
lea ecx, [esp + 0xb0]
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], 0
mov word [esp + 0xb0], ax
call fcn.00403c30
mov byte [esp + 0x170], 0x1f
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x9c]
call fcn.004181d0
mov esi, eax
mov eax, dword [esp + 0x98]
cmp esi, eax
je 0x487ed7
cmp dword [esi + 0x24], 8
mov ecx, dword [esi + 0x20]
lea eax, [esi + 0x10]
jb 0x487eb1
mov eax, dword [eax]
push ecx
push eax
push dword [esp + 0xc0]
lea ecx, [esp + 0xb4]
push 0
call fcn.004048b0
test eax, eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], esi
jns 0x487edb
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
cmp dword [ecx], eax
jne 0x487f0b
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x9c]
call fcn.004497a0
lea ecx, [esp + 0x68]
cmp eax, ecx
je 0x487f0b
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00403b10
mov byte [esp + 0x170], 0x1e
cmp dword [esp + 0xbc], 8
jb 0x487f2c
push dword [esp + 0xa8]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0xbc], 7
mov dword [esp + 0xb8], 0
mov word [esp + 0xa8], ax
mov byte [esp + 0x170], 0xc
cmp dword [esp + 0x7c], 8
jb 0x487f67
push dword [esp + 0x68]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
jmp 0x488029
push 0x679a48
lea ecx, [esp + 0x38]
call fcn.004035b0
mov byte [esp + 0x170], 0x20
push 0x682a28
lea ecx, [esp + 0x20]
call fcn.004035b0
mov byte [esp + 0x170], 0x21
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xa0]
call fcn.00468080
mov byte [esp + 0x170], 0x20
cmp dword [esp + 0x30], 8
jb 0x487fe0
push dword [esp + 0x1c]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov byte [esp + 0x170], 0xc
cmp dword [esp + 0x48], 8
jb 0x488012
push dword [esp + 0x34]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
push ecx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xa0]
call fcn.00468180
mov byte [esp + 0x170], 0x22
push eax
push 4
call fcn.00405290
mov ecx, eax
call fcn.0045c400
mov byte [esp + 0x170], 0xc
cmp dword [esp + 0x30], 8
jb 0x48806d
push dword [esp + 0x1c]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov dword [esp + 0x170], 0xffffffff
lea ecx, [esp + 0x98]
call fcn.00467300
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret