Function at 0x420050
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4892f8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b2098]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0x49317c
mov ecx, 0x4b36dc
call fcn.0044fa66
push 1
push 0x48ffe0
mov ecx, eax
call fcn.00402100
mov ecx, 0x4b37f0
call fcn.00411b00
cmp eax, 3
mov ebp, dword [sym.imp.USER32.dll_GetPropW]
mov esi, dword [esp + 0x30]
jge 0x4200fc
push 0
call fcn.00431d30
cmp dword [0x4b37f8], 0
je 0x420200
test esi, esi
je 0x4200fc
push str.qupdater.exitwhenwndkilled
push esi
call ebp
cmp eax, 0x7b6
jne 0x4200e3
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x420200
push str.qupdater.paused
push esi
call ebp
cmp eax, 0x7b6
jne 0x4200fc
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4200c5
mov ecx, 0x4b37f0
call fcn.00411b00
cmp eax, 3
mov ebx, 4
jg 0x42031a
mov eax, dword [0x4b3778]
cmp eax, 8
je 0x420200
cmp eax, 9
jne 0x42023d
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.For_best_service_recommend_buy_the_official_license.
call fcn.00402410
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.GENCODE
mov dword [esp + 0x34], 0
call fcn.00402410
lea eax, [esp + 0x38]
or edi, 0xffffffff
push eax
mov dword [esp + 0x34], edi
call fcn.00413c80
add esp, 0xc
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x48fd60
mov dword [esp + 0x34], 1
call fcn.00402410
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x48fda4
mov byte [esp + 0x38], 2
call fcn.00402410
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x38], 1
call fcn.00413c80
mov eax, dword [eax]
mov edx, dword [esp + 0x40]
add esp, 0xc
push eax
push edx
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4201da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0041ac50
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x28], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x420200
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push 0xd
mov ecx, 0x4b37f0
call fcn.00412700
call fcn.0041db60
push 0
call fcn.0040dac0
add esp, 4
call fcn.0041dab0
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
cmp eax, 2
jl 0x42031a
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.For_best_service_recommend_buy_the_official_license.
call fcn.00402410
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.GENCODE
mov dword [esp + 0x34], 3
call fcn.00402410
lea ecx, [esp + 0x38]
or edi, 0xffffffff
push ecx
mov dword [esp + 0x34], edi
call fcn.00413c80
add esp, 0xc
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x48fd60
mov dword [esp + 0x34], ebx
call fcn.00402410
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x48fda4
mov byte [esp + 0x38], 5
call fcn.00402410
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x38], bl
call fcn.00413c80
mov eax, dword [eax]
add esp, 0xc
push eax
mov eax, dword [esp + 0x38]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4202f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0041ac50
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov dword [esp + 0x28], edi
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42031d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42031d
or edi, 0xffffffff
mov ecx, 0x4b37f0
call fcn.00411b00
cmp eax, 3
jne 0x4203aa
push 0
call fcn.00423f20
add esp, 4
xor edi, edi
jmp 0x420340
mov ecx, 0x4b37f0
call fcn.00411b00
cmp eax, 5
jne 0x420367
cmp dword [0x4b394c], 0
je 0x420367
push 0
call fcn.00423f20
inc edi
add esp, 4
cmp edi, ebx
jl 0x420340
test esi, esi
je 0x4203a7
jmp 0x420370
push str.qupdater.exitwhenwndkilled
push esi
call ebp
cmp eax, 0x7b6
jne 0x42038e
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x420200
push str.qupdater.paused
push esi
call ebp
cmp eax, 0x7b6
jne 0x4203a7
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x420370
or edi, 0xffffffff
mov ecx, 0x4b37f0
call fcn.00411b00
cmp eax, 6
jne 0x4203fb
push 0
call fcn.004296d0
test esi, esi
je 0x4203fb
push str.qupdater.exitwhenwndkilled
push esi
call ebp
cmp eax, 0x7b6
jne 0x4203e2
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x420200
push str.qupdater.paused
push esi
call ebp
cmp eax, 0x7b6
jne 0x4203fb
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4203c4
cmp byte [0x4b36ac], 0
je 0x420411
push edi
push 0
mov ecx, 0x4b3a48
call fcn.0043ec8f
cmp dword [0x4b3a50], 0
jle 0x4204e0
push edi
push ecx
mov dword [esp + 0x38], esp
mov ebx, esp
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.continue_update_as_administrator
call fcn.00402410
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x48fda4
mov dword [esp + 0x3c], 6
call fcn.00402410
push ebx
mov dword [esp + 0x3c], edi
call fcn.00413c80
add esp, 0xc
push esi
call fcn.00408510
add esp, 8
mov ecx, esp
mov dword [esp + 0x34], esp
push str.continue_update_as_administrator
call fcn.00402410
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x48fda4
mov dword [esp + 0x34], 7
call fcn.00402410
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x34], edi
call fcn.00413c80
mov eax, dword [eax]
push eax
mov dword [esp + 0x38], 8
call fcn.0040ad00
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0x28], edi
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x4204d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
call fcn.0040b800
add esp, 4
jmp 0x420222
mov ecx, 0x4b37f0
call fcn.00411b00
cmp eax, 9
jne 0x420200
push 0
call fcn.00427520
test esi, esi
je 0x420200
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push str.qupdater.exitwhenwndkilled
push esi
call ebp
cmp eax, 0x7b6
jne 0x420522
push esi
call edi
test eax, eax
je 0x420200
push str.qupdater.paused
push esi
call ebp
cmp eax, 0x7b6
jne 0x420200
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x420508