Function at 0x1004c450
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x101715fd
mov eax, dword fs:[0]
push eax
mov eax, 0x1278
call fcn.1010efa0
mov eax, dword [0x101c52b4]
xor eax, esp
mov dword [esp + 0x1274], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c52b4]
xor eax, esp
push eax
lea eax, [esp + 0x128c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x12a8]
mov eax, dword [esp + 0x129c]
mov edi, dword [esp + 0x12a4]
xor ebx, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], eax
mov esi, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebp
mov ch, ch
lea ecx, [esp + 0x28]
call fcn.10100c99
mov dword [esp + 0x1294], 1
push edx
pop edx
push esi
lea ecx, [esp + 0x2c]
call fcn.1010107f
mov ch, ch
push 0xffffff
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
call fcn.101009cd
mov edi, edi
lea ecx, [esp + 0x28]
call fcn.101010b2
mov edx, edx
push 1
lea eax, [esp + 0x1c]
push eax
push 1
lea ecx, [esp + 0x12ac]
push ecx
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov edi, edi
mov dl, dl
push edx
pop edx
mov bl, bl
push 0x200
lea edx, [esp + 0x28c]
push ebx
push edx
call fcn.1010efd0
add esp, 0xc
mov dl, dl
mov ecx, ecx
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov bl, bl
mov dword [esp + 0x38], 0x28
mov bh, bh
mov dword [esp + 0x3c], edi
push eax
pop eax
mov eax, ebp
neg eax
mov dword [esp + 0x40], eax
mov cl, cl
mov word [esp + 0x44], 1
push edx
pop edx
mov word [esp + 0x46], 0x20
push eax
pop eax
mov dword [esp + 0x48], ebx
xchg ebx, eax
xchg ebx, eax
lea edi, [edi*4 + 3]
and edi, 0xfffffffc
mov ecx, edi
imul ecx, ebp
push ecx
call fcn.1010df39
add esp, 4
mov ebx, eax
mov edi, edi
test ebx, ebx
jne 0x1004c5e3
mov esi, dword [esp + 0x68]
push eax
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], eax
push 0x10178a34
mov ecx, esi
mov byte [esi + 4], al
call fcn.1000a180
jmp 0x1004c8c2
mov edx, dword [esp + 0x14]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x14], eax
push edx
pop edx
push 0
lea ecx, [esp + 0x3c]
push ecx
push ebx
push ebp
push 0
push eax
push esi
call dword [sym.imp.GDI32.dll_GetDIBits]
mov bh, bh
mov edx, dword [esp + 0x14]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ch, ch
mov eax, dword [esp + 0x12a4]
push ebp
push eax
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x2a0]
push eax
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0x90]
push eax
push edi
push ebx
call fcn.10046140
add esp, 0x30
push edx
pop edx
push ebx
call fcn.1010dffc
add esp, 4
push eax
pop eax
lea eax, [esp + 0x288]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1004c673
sub eax, edx
je 0x1004c887
cmp dword [esp + 0x14], 1
jl 0x1004c887
mov byte [esp + 0x60], 0x24
mov byte [esp + 0x61], cl
mov ebp, ebp
lea eax, [esp + 0x60]
mov esi, eax
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1004c6a0
lea edi, [esp + 0x288]
sub eax, esi
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x1004c6b5
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cl, cl
mov cl, cl
push 0x200
lea ecx, [esp + 0x8c]
push 0
push ecx
call fcn.1010efd0
add esp, 0xc
mov edi, edi
push 0
push 0
push 0x200
lea edx, [esp + 0x94]
push edx
push 1
lea eax, [esp + 0x12b4]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov esi, esi
lea eax, [esp + 0x88]
mov ecx, eax
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1004c720
lea edi, [esp + 0x288]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x1004c737
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
pop eax
lea eax, [esp + 0x60]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1004c757
lea edi, [esp + 0x288]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov edi, edi
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x1004c770
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ah, ah
mov bl, 0x64
mov al, 0x2e
mov byte [esp + 0x7c], 0x25
mov byte [esp + 0x7d], bl
mov byte [esp + 0x7e], al
mov byte [esp + 0x7f], 0x25
mov byte [esp + 0x80], bl
mov byte [esp + 0x81], al
mov byte [esp + 0x82], 0x25
mov byte [esp + 0x83], bl
mov byte [esp + 0x84], 0
push eax
pop eax
lea eax, [esp + 0x288]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1004c7d1
mov ecx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x70]
sub eax, edx
mov edx, dword [esp + 0x7c]
push edx
push ecx
lea edx, [esp + 0x88]
push edx
lea eax, [esp + eax + 0x298]
push eax
call fcn.1010fdb0
add esp, 0x14
push eax
pop eax
lea eax, [esp + 0x60]
mov ecx, eax
jmp 0x1004c810
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1004c810
lea edi, [esp + 0x288]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x1004c827
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov bl, bl
mov byte [esp + 0x14], 0x25
mov byte [esp + 0x15], bl
mov byte [esp + 0x16], 0
mov dh, dh
lea eax, [esp + 0x288]
lea edx, [eax + 1]
jmp 0x1004c860
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1004c860
mov ecx, dword [esp + 0x74]
sub eax, edx
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + eax + 0x290]
push eax
call fcn.1010fdb0
add esp, 0xc
mov bl, bl
mov esi, dword [esp + 0x68]
lea eax, [esp + 0x288]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
mov byte [esi + 4], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1004c8a7
sub eax, edx
push eax
lea ecx, [esp + 0x28c]
push ecx
mov ecx, esi
call fcn.1000a180
mov dword [esp + 0x64], 1
mov byte [esp + 0x1294], 0
lea ecx, [esp + 0x28]
call fcn.101010e3
mov eax, esi
mov ecx, dword [esp + 0x128c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1274]
xor ecx, esp
call fcn.1010e4d7
add esp, 0x1284
ret