Function at 0x10077100
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bd3a1
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x102258ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], 0
lea ebx, [ecx + 0x30]
xor eax, eax
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x14], ax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x1c]
push 4
push eax
mov dword [ebp - 0x1c], 0x6f006c
mov dword [ebp - 0x18], 0x6f0067
mov dword [ebp - 0x28], 7
call fcn.1001e830
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
mov ecx, ebx
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x3c]
push eax
call fcn.100d1350
mov edx, dword [ebp - 0x28]
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x100771c5
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100771bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100776d1
push edx
push ecx
call fcn.101454bc
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x28], 7
call fcn.1003b6b0
add esp, 4
or edi, 0xffffffff
mov dword [ebp - 4], 1
test ebx, ebx
je 0x10077268
mov eax, dword [ebp - 0x5c]
cmp dword [eax - 0xc], 0
je 0x10077268
mov eax, dword [ebx]
lea ecx, [ebp - 0x55]
mov esi, dword [eax + 0x160]
lea eax, [ebp - 0x64]
push eax
call fcn.10076b50
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.10025c60
add esp, 0xc
push dword [eax]
mov ecx, ebx
mov byte [ebp - 4], 3
push str.bkimage
call esi
mov edx, dword [ebp - 0x60]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007724e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x64]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10077268
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x5c]
mov eax, edi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10077289
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x60]
push eax
call fcn.1003c2c0
add esp, 4
mov dword [ebp - 4], 5
call fcn.10020d50
mov ecx, eax
test ecx, ecx
je 0x100776d6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x55]
mov byte [ebp - 4], 6
cmp dword [eax - 0xc], 0
jne 0x100772e1
lea eax, [ebp - 0x64]
push eax
call fcn.1004cb50
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
call fcn.10020000
mov edx, dword [ebp - 0x64]
jmp 0x1007734f
lea eax, [ebp - 0x70]
push eax
call fcn.1004cb50
mov esi, eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 8
push eax
call fcn.1003c2c0
push esi
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 9
push eax
call fcn.10025c60
add esp, 0x10
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xa
call fcn.10020000
mov edx, dword [ebp - 0x64]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10077332
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x6c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007734c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x70]
mov eax, edi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007736a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x1c], 0x690074
mov word [ebp - 0x3c], ax
lea ecx, [ebp - 0x3c]
push 5
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x6c0074
push eax
mov dword [ebp - 0x14], 0x65
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
call fcn.1001e830
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x68]
cmovae eax, dword [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0xb
call fcn.100d1350
mov edx, dword [ebp - 0x28]
mov ebx, eax
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x100773f9
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100773ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100776e0
push edx
push ecx
call fcn.101454bc
add esp, 8
mov esi, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
test ebx, ebx
je 0x10077421
cmp dword [esi - 0xc], eax
je 0x10077421
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 0x30]
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10077438
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x60]
mov eax, edi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10077459
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x24], 0x640061
mov word [ebp - 0x3c], ax
lea ecx, [ebp - 0x3c]
push 9
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], 0x6c005f
push eax
mov dword [ebp - 0x1c], 0x790061
mov dword [ebp - 0x18], 0x75006f
mov dword [ebp - 0x14], 0x74
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
call fcn.1001e830
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x68]
cmovae eax, dword [ebp - 0x3c]
push eax
mov dword [ebp - 4], 0xc
call fcn.100d1350
mov edx, dword [ebp - 0x28]
mov esi, eax
mov dword [ebp - 0x5c], esi
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x100774ff
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100774f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100776e5
push edx
push ecx
call fcn.101454bc
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
lea ecx, [ebp - 0x54]
mov word [ebp - 0x14], ax
mov dword [ebp - 0x44], eax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x20]
push 6
push eax
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x20], 0x740062
mov dword [ebp - 0x1c], 0x5f006e
mov dword [ebp - 0x18], 0x6b006f
mov dword [ebp - 0x40], 7
call fcn.1001e830
mov ebx, 0x3c
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
mov ecx, dword [ebp - 0x68]
cmovae eax, dword [ebp - 0x54]
push eax
mov dword [ebp - 4], 0xd
call fcn.100d1350
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x100775ac
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100775a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100776ea
push edx
push ecx
call fcn.101454bc
add esp, 8
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
test esi, esi
je 0x10077643
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x55]
call fcn.1002fa30
mov esi, eax
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0xe
push 1
push eax
mov dword [ebp - 0x60], 0x3d
call fcn.10030f30
mov ebx, 0x3f
add esp, 8
mov dword [ebp - 0x60], ebx
mov ecx, dword [esi]
mov dword [ebp - 4], 0xf
test ecx, ecx
je 0x100776ef
mov eax, dword [eax]
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10077636
test dx, dx
je 0x10077632
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10077636
add eax, 4
add ecx, 4
test dx, dx
jne 0x10077610
xor eax, eax
jmp 0x1007763b
sbb eax, eax
or eax, 1
mov byte [ebp - 0x55], 1
test eax, eax
jne 0x10077647
mov byte [ebp - 0x55], 0
test bl, 2
je 0x10077669
mov edx, dword [ebp - 0x70]
and ebx, 0xfffffffd
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10077669
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x1007768d
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x1007768d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x55], 0
je 0x100776b5
mov ecx, dword [ebp - 0x64]
push str.207_0_0_0
push str.padding
mov eax, dword [ecx]
call dword [eax + 0x160]
mov ecx, dword [ebp - 0x5c]
push 0
mov eax, dword [ecx]
call dword [eax + 0x114]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101454ca
mov esp, ebp
pop ebp
ret
call fcn.1018b109
push 0x80004005
call fcn.1001bf60
call fcn.1018b109
call fcn.1018b109
call fcn.1018b109
push 0x80004005
call fcn.1001bf60
int3