Function at 0x4076c0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4815d3
mov eax, dword fs:[0]
push eax
mov eax, 0x14d0
call fcn.00463e50
mov eax, dword [0x4a97e0]
xor eax, esp
mov dword [esp + 0x14c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a97e0]
xor eax, esp
push eax
lea eax, [esp + 0x14e4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x14f4]
push str.____CheckPwdTT____
mov dword [esp + 0x30], ebp
call fcn.00421450
mov edi, eax
call fcn.00421970
xor ebx, ebx
add esp, 4
lea esi, [esp + 0xa4]
mov dword [esp + 0x18], ebx
lea edi, [ebx + 1]
call fcn.00402120
lea eax, [esp + 0x18]
push eax
push ebp
mov dword [esp + 0x14f4], ebx
call fcn.0040a150
test eax, eax
je 0x407d8d
cmp dword [esp + 0x18], ebx
je 0x407d50
jmp 0x407760
lea ecx, [esp + 0x65c]
push ecx
call fcn.0042f860
xor eax, eax
mov byte [esp + 0x14ec], 1
neg edi
sbb edi, edi
add edi, 0x3ba
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov ecx, 8
lea esi, [esp + 0x4c]
lea edi, [esp + 0x938]
mov dword [esp + 0x64], 0xd9
mov dword [esp + 0x68], 0xd7
mov dword [esp + 0x5c], 0x11e
mov dword [esp + 0x60], 0x243
mov dword [esp + 0x50], 0x3dc
rep movsd dword es:[edi], dword [esi]
push 0x100
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov ecx, 7
lea esi, [esp + 0x8c]
lea edi, [esp + 0x95c]
mov dword [esp + 0x8c], ebx
push str.PRINTER_SERIES_NAME
rep movsd dword es:[edi], dword [esi]
call fcn.0041ee10
push eax
lea edi, [esp + 0x12e8]
call fcn.0041f690
mov edx, edi
push edx
lea eax, [esp + 0x6fc]
push 0x100
push eax
call fcn.0045ea06
add esp, 0xc
lea ecx, [esp + 0x65c]
call fcn.004427ec
cmp eax, 2
je 0x407cbc
mov ecx, 0x100
lea esi, [esp + 0x974]
lea edi, [esp + 0x25c]
push 0x1fe
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xee2]
push ebx
push ecx
mov word [esp + 0xee8], bx
call fcn.00461780
add esp, 0xc
push 0x1fe
lea edx, [esp + 0x10e2]
push ebx
push edx
mov word [esp + 0x10e8], bx
call fcn.00461780
add esp, 0xc
lea edx, [esp + 0x10dc]
mov ecx, ebp
call fcn.004211f0
cmp eax, ebx
lea eax, [esp + 0x10dc]
jne 0x4078d6
mov eax, ebp
push eax
lea eax, [esp + 0xee0]
push str.SoftwareMarvellmvhlewsi_s
push eax
call fcn.0045ea72
add esp, 0xc
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x800
lea ecx, [esp + 0x1d4]
push ecx
mov byte [esp + 0x14f0], 2
call fcn.00401110
mov byte [esp + 0x14ec], 3
lea eax, [esp + 0x45c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407940
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x460]
push edx
lea esi, [esp + 0x38]
call fcn.00401b80
mov byte [esp + 0x14ec], 4
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x1c]
add ecx, 0x20
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.00401060
cmp dword [esp + 0x48], 8
mov eax, dword [esp + 0x34]
jae 0x407991
lea eax, [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x1c]
push ecx
lea ecx, [edx + edx]
push ecx
lea edx, [esp + 0x1dc]
push edx
mov ecx, ebp
call fcn.00401350
mov esi, eax
mov byte [esp + 0x14ec], 3
cmp dword [esp + 0x48], 8
mov dword [esp + 0x20], esi
jb 0x4079d3
mov eax, dword [esp + 0x34]
push eax
call fcn.0044204a
add esp, 4
push esi
push ebp
lea eax, [esp + 0xee4]
call fcn.00420fc0
push 0x63
lea ecx, [esp + 0xe79]
push ebx
push ecx
mov byte [esp + 0xe80], bl
call fcn.00461780
mov edi, 0xf
add esp, 0xc
mov dword [esp + 0x1b4], edi
mov dword [esp + 0x1b0], ebx
mov byte [esp + 0x1a0], bl
lea eax, [esp + 0x45c]
mov byte [esp + 0x14ec], 5
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407a27
sub eax, edx
sar eax, 1
mov esi, eax
lea eax, [esp + 0x45c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407a42
push ebx
push ebx
push 0x64
sub eax, edx
lea edx, [esp + 0xe80]
push edx
sar eax, 1
push eax
lea eax, [esp + 0x470]
push eax
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp esi, 0x64
jae 0x407a7e
mov byte [esp + esi + 0xe74], bl
lea eax, [esp + 0xe74]
mov dword [esp + 0x18], str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x407aa2
sub eax, edx
push eax
lea ecx, [esp + 0xe78]
push ecx
lea ecx, [esp + 0x74]
call fcn.00401960
mov byte [esp + 0x14ec], 6
push 1
push 0x48d1a8
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00401960
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x34]
push eax
lea edi, [esp + 0x1c0]
mov byte [esp + 0x14f4], 7
call fcn.0040e950
add esp, 8
mov esi, 0x10
cmp dword [esp + 0x48], esi
jb 0x407b1c
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0044204a
add esp, 4
mov edi, 0xf
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov byte [esp + 0x14ec], 0xa
cmp dword [esp + 0x84], esi
jb 0x407b4b
mov edx, dword [esp + 0x70]
push edx
call fcn.0044204a
add esp, 4
cmp dword [esp + 0x1d0], esi
mov eax, dword [esp + 0x1bc]
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
jae 0x407b74
lea eax, [esp + 0x1bc]
mov edx, dword [esp + 0x1cc]
lea ecx, [esp + 0x19c]
push ecx
push edx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00403290
cmp dword [esp + 0x1b4], esi
mov eax, dword [esp + 0x1a0]
jae 0x407ba6
lea eax, [esp + 0x1a0]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call fcn.0040a570
mov edi, eax
cmp edi, ebx
jne 0x407ceb
cmp dword [esp + 0x1d0], esi
jb 0x407bd4
mov edx, dword [esp + 0x1bc]
push edx
call fcn.0044204a
add esp, 4
cmp dword [esp + 0x1b4], esi
mov dword [esp + 0x1d0], 0xf
mov dword [esp + 0x1cc], ebx
mov byte [esp + 0x1bc], bl
jb 0x407c06
mov eax, dword [esp + 0x1a0]
push eax
call fcn.0044204a
add esp, 4
mov eax, dword [esp + 0x254]
cmp eax, ebx
mov dword [esp + 0x1b4], 0xf
mov dword [esp + 0x1b0], ebx
mov byte [esp + 0x1a0], bl
je 0x407c3a
push eax
call fcn.0044204a
add esp, 4
mov dword [esp + 0x254], ebx
mov eax, dword [esp + 0x258]
cmp eax, ebx
je 0x407c55
push eax
call fcn.0044204a
add esp, 4
mov dword [esp + 0x258], ebx
cmp dword [esp + 0x1ec], esi
jb 0x407c6e
mov ecx, dword [esp + 0x1d8]
push ecx
call fcn.0044204a
add esp, 4
cmp ebp, ebx
mov dword [esp + 0x1ec], 0xf
mov dword [esp + 0x1e8], ebx
mov byte [esp + 0x1d8], bl
je 0x407c98
push ebp
call fcn.0044204a
add esp, 4
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x65c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14ec], bl
call fcn.0042f990
mov ebp, dword [esp + 0x2c]
jmp 0x407760
lea ecx, [esp + 0x65c]
mov byte [esp + 0x14ec], bl
call fcn.0042f990
lea esi, [esp + 0xa4]
mov dword [esp + 0x14ec], 0xffffffff
call fcn.00402240
jmp 0x407dd7
lea ecx, [esp + 0x1b8]
call fcn.004017d0
lea ecx, [esp + 0x19c]
call fcn.004017d0
lea esi, [esp + 0x1d4]
call fcn.004012f0
cmp ebp, ebx
je 0x407d1c
push ebp
call fcn.0044204a
add esp, 4
lea ecx, [esp + 0x65c]
mov byte [esp + 0x14ec], bl
call fcn.0042f990
lea esi, [esp + 0xa4]
mov dword [esp + 0x14ec], 0xffffffff
call fcn.00402240
mov eax, 1
jmp 0x407dd9
mov dword [esp + 0x14ec], 0xffffffff
mov ecx, dword [esp + 0xac]
cmp ecx, ebx
je 0x407d74
mov eax, dword [esp + 0xc0]
cmp eax, ebx
je 0x407d74
push ecx
call eax
mov eax, dword [esp + 0xa8]
cmp eax, ebx
je 0x407d86
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
jmp 0x407dd9
push str.____ChoosedIsEnable______Get_admin_pwd_status_failed
call fcn.00421450
mov edi, eax
call fcn.00421970
mov dword [esp + 0x14f0], 0xffffffff
mov ecx, dword [esp + 0xb0]
add esp, 4
cmp ecx, ebx
je 0x407dc5
mov eax, dword [esp + 0xc0]
cmp eax, ebx
je 0x407dc5
push ecx
call eax
mov eax, dword [esp + 0xa8]
cmp eax, ebx
je 0x407dd7
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [esp + 0x14e4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14c8]
xor ecx, esp
call fcn.0045e88c
add esp, 0x14dc
ret 4