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

Disassembly:
push 0xffffffffffffffff
push 0x48e37c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa90
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x1c], ebx
call fcn.0044bde0
test eax, eax
je 0x40f905
push 0
lea eax, [esp + 0x9a4]
push str.CUninstall_::_TestIfThisIsASelfDeleteCase_n
push eax
call fcn.00471c30
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x59c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x59c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x9a0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x59c]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
lea ecx, [esp + 0x89c]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x89c]
lea ecx, [esp + 0x14]
push edx
call fcn.004822f6
mov eax, dword [0x4b538c]
mov dword [esp + 0xaa8], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
push 0x403790
push 0x403770
push 5
lea eax, [esp + 0x58]
push 8
push eax
mov byte [esp + 0xabc], 7
call fcn.00472400
mov eax, dword [0x4b538c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov ebx, dword [ebx + 0xcc]
mov byte [esp + 0xaa8], 8
test ebx, ebx
je 0x40fad4
mov esi, ebx
mov ebx, dword [ebx]
add esi, 8
lea ecx, [esp + 0x20]
push esi
call fcn.00482375
lea ecx, [esi + 4]
push ecx
lea ecx, [esp + 0x28]
call fcn.00482375
lea edx, [esi + 8]
lea ecx, [esp + 0x28]
push edx
call fcn.00482375
lea eax, [esi + 0xc]
lea ecx, [esp + 0x2c]
push eax
call fcn.00482375
lea ecx, [esi + 0x10]
push ecx
lea ecx, [esp + 0x34]
call fcn.00482375
lea edx, [esi + 0x14]
lea ecx, [esp + 0x34]
push edx
call fcn.00482375
lea eax, [esi + 0x18]
lea ecx, [esp + 0x38]
push eax
call fcn.00482375
lea ecx, [esi + 0x1c]
lea ebp, [esi + 0x2c]
lea edi, [esp + 0x50]
mov dword [esp + 0x10], 5
mov edx, dword [ecx]
mov dword [esp + 0x3c], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x40], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x44], edx
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], eax
mov eax, esi
sub eax, ecx
mov dword [esp + 0x18], eax
push ebp
lea ecx, [edi - 4]
call fcn.00482375
mov edx, dword [esp + 0x18]
mov ecx, edi
add edx, edi
push edx
call fcn.00482375
mov eax, dword [esp + 0x10]
add ebp, 8
add edi, 8
dec eax
mov dword [esp + 0x10], eax
jne 0x40fa36
lea eax, [esi + 0x54]
lea ecx, [esp + 0x74]
push eax
call fcn.00482375
lea ecx, [esi + 0x58]
push ecx
lea ecx, [esp + 0x7c]
call fcn.00482375
lea edx, [esi + 0x5c]
lea ecx, [esp + 0x7c]
push edx
call fcn.00482375
mov eax, dword [esi + 0x60]
mov edx, dword [esp + 0x14]
add esi, 0x64
mov ecx, 0x146
lea edi, [esp + 0x84]
mov dword [esp + 0x80], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x7c]
push ecx
push edx
call fcn.004720f0
add esp, 8
test eax, eax
je 0x40fac0
test ebx, ebx
jne 0x40f99e
jmp 0x40fad4
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xb8]
or dword [eax + 0xb90], 0x4000000
call fcn.0044bde0
test eax, eax
je 0x40fb74
push 0
lea ecx, [esp + 0x7a0]
push str.CUninstall_::_TestIfThisIsASelfDeleteCase_n
push ecx
call fcn.00471c30
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x69c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x69c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x79c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x69c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bd70
mov ecx, eax
call fcn.0044be20
lea ecx, [esp + 0x7c]
mov byte [esp + 0xaa8], 0x12
call fcn.00482288
lea ecx, [esp + 0x78]
mov byte [esp + 0xaa8], 0x11
call fcn.00482288
lea ecx, [esp + 0x74]
mov byte [esp + 0xaa8], 0x10
call fcn.00482288
push 0x403790
push 5
lea ecx, [esp + 0x54]
push 8
push ecx
mov byte [esp + 0xab8], 0xf
call fcn.00472130
lea ecx, [esp + 0x38]
mov byte [esp + 0xaa8], 0xe
call fcn.00482288
lea ecx, [esp + 0x34]
mov byte [esp + 0xaa8], 0xd
call fcn.00482288
lea ecx, [esp + 0x30]
mov byte [esp + 0xaa8], 0xc
call fcn.00482288
lea ecx, [esp + 0x2c]
mov byte [esp + 0xaa8], 0xb
call fcn.00482288
lea ecx, [esp + 0x28]
mov byte [esp + 0xaa8], 0xa
call fcn.00482288
lea ecx, [esp + 0x24]
mov byte [esp + 0xaa8], 9
call fcn.00482288
lea ecx, [esp + 0x20]
mov byte [esp + 0xaa8], 0
call fcn.00482288
lea ecx, [esp + 0x14]
mov dword [esp + 0xaa8], 0xffffffff
call fcn.00482288
mov ecx, dword [esp + 0xaa0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa9c
ret