Function at 0x4a4a40
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x52e0f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd70
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], ebp
call fcn.0050c47e
mov ecx, 9
mov esi, 0x6611d0
lea edi, [esp + 0x60]
mov eax, dword [0x614128]
rep movsd dword es:[edi], dword [esi]
mov cx, word [0x61412c]
mov edx, dword [0x66f704]
movsw word es:[edi], word [esi]
mov dword [esp + 0xd88], 0
xor esi, esi
mov dword [esp + 0x30], eax
mov word [esp + 0x34], cx
mov dword [esp + 0x20], edx
mov eax, dword [ebp + 0x1c]
mov edi, dword [0x671be8]
push esi
push esi
or ebx, 0xffffffff
push 0x146
push eax
mov byte [esp + 0xd98], 1
mov dword [esp + 0x34], ebx
call edi
test eax, eax
jle 0x4a4aef
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.004a5080
mov edx, dword [ebp + 0x1c]
push esi
push esi
push 0x14b
push edx
mov dword [esp + 0x34], eax
call edi
push 0x4011
lea eax, [esp + 0x2d0]
push 0x2b4
push eax
push 0
push 0x64029c
mov dword [esp + 0x50], 0x27
mov dword [esp + 0x54], ebx
call dword [0x671b14]
push eax
lea ecx, [esp + 0x2c]
call fcn.0050c56b
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
mov ecx, dword [ebp + 0x1c]
neg eax
sbb eax, eax
and eax, edx
push eax
push 0
push 0x402
push ecx
call edi
push eax
call fcn.0050c510
lea ecx, [esp + 0x28]
call fcn.0050c4d0
xor edi, edi
mov dword [esp + 0x18], edi
jmp 0x4a4b5b
mov esi, dword [esp + 0x10]
push esi
call fcn.004b6a60
add esp, 4
lea edx, [esp + 0x60]
add edi, 0x30
push 0
push 0
push 3
push 0
push 1
push 0xc0000000
push edx
mov word [esp + 0x9e], di
call dword [0x671a1c]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
jne 0x4a4ba1
mov dword [esp + 0x10], 0
jmp 0x4a4e65
push esi
push 0
call fcn.004a45e0
add esp, 8
test eax, eax
je 0x4a4e65
lea eax, [esp + 0x14]
lea ecx, [esp + 0x88]
push eax
push ecx
push esi
call fcn.004a4440
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
jle 0x4a4e65
shl eax, 4
push eax
call fcn.004b6a20
mov edx, dword [esp + 0x18]
mov edi, eax
add edx, 0x80
mov dword [esp + 0x20], edi
shl edx, 4
push edx
call fcn.004b6a20
add esp, 8
mov ebx, eax
test edi, edi
je 0x4a4e65
test ebx, ebx
je 0x4a4e65
mov eax, dword [esp + 0x14]
xor esi, esi
test eax, eax
jle 0x4a4c62
mov ebp, edi
lea edi, [esp + 0x88]
xor eax, eax
mov ax, word [edi]
push eax
push 0x66350c
push ebp
call fcn.004f5dd2
mov ecx, dword [esp + 0x20]
add esp, 0xc
dec ecx
cmp esi, ecx
je 0x4a4c4f
mov edx, dword [esp + 0x1c]
push 0x613ad0
push edx
call fcn.004f59c8
add esp, 8
mov eax, dword [esp + 0x14]
inc esi
add edi, 2
add ebp, 6
cmp esi, eax
jl 0x4a4c20
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xc8]
rep stosd dword es:[edi], eax
push eax
lea eax, [esp + 0xcc]
push 1
push eax
push esi
call fcn.004d3360
add esp, 0x10
test eax, eax
je 0x4a4cf0
lea ecx, [esp + 0xc9]
push ecx
call fcn.004b92a0
lea edx, [esp + 0xd6]
push edx
call fcn.004b92a0
mov edx, dword [0x683854]
lea eax, [esp + 0xda]
lea ecx, [esp + 0xd1]
push eax
push ecx
push 0x63f01c
push 0x40000
push edx
call fcn.004f84bb
mov ecx, dword [0x683854]
push 0x400
lea eax, [esp + 0x9a0]
push 0
push eax
push 0xffffffffffffffff
push ecx
call fcn.0042a3e0
add esp, 0x30
jmp 0x4a4d10
push str.USB_Drive
push 0x1068
call fcn.004dd120
lea edx, [esp + 0x988]
push eax
push edx
call fcn.004f59f2
add esp, 0x10
push esi
call fcn.004b5f00
add esp, 4
push 0
push 0x200
push edx
push eax
call fcn.004f5ce0
test edx, edx
ja 0x4a4d32
cmp eax, 0x3b9aca00
jb 0x4a4d6c
push 0
push 0x3e8
push edx
push eax
call fcn.004f5e50
push 0
push 0x3e8
push edx
push eax
call fcn.004f5e50
push 0
push 0x3e8
push edx
push eax
call fcn.004f5e50
push eax
lea eax, [esp + 0x584]
push str._d_GB
push eax
jmp 0x4a4d96
push 0
push 0x3e8
push edx
push eax
call fcn.004f5e50
push 0
push 0x3e8
push edx
push eax
call fcn.004f5e50
push eax
lea ecx, [esp + 0x584]
push str._d_MB
push ecx
call fcn.004f5dd2
mov esi, dword [esp + 0x28]
add esp, 0xc
lea edx, [esp + 0x580]
lea eax, [esp + 0x980]
push edx
push esi
push eax
push str._s___s__s_
push ebx
call fcn.004f5dd2
mov cx, word [esp + 0x9c]
add esp, 0x14
lea edx, [esp + 0x2cc]
lea eax, [esp + 0x30]
push 0x4211
push 0x2b4
push edx
push 0x10
push eax
mov word [esp + 0x44], cx
call dword [0x671b14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x2d0]
lea ecx, [esp + 0x60]
push ebx
push ecx
push str._s___s_r_n
mov dword [esp + 0x50], ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
call fcn.004b4fc0
add esp, 0xc
lea edx, [esp + 0x3c]
mov ecx, ebp
push edx
call fcn.0050c5e0
cmp dword [esp + 0x24], edi
jne 0x4a4e44
mov eax, dword [ebp + 0x1c]
push 0
push 0
push 0x146
push eax
call dword [0x671be8]
dec eax
mov dword [ebp + 0x40], eax
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004b6a60
push esi
mov dword [esp + 0x18], 0
call fcn.004b6a50
push ebx
call fcn.004b6a50
add esp, 0xc
mov edi, dword [esp + 0x18]
inc edi
cmp edi, 0x64
mov dword [esp + 0x18], edi
jl 0x4a4b57
mov edx, dword [esp + 0x10]
push edx
call fcn.004b6a60
mov eax, dword [ebp + 0x40]
add esp, 4
test eax, eax
jl 0x4a4e9d
push 0
push eax
mov eax, dword [ebp + 0x1c]
push 0x14e
push eax
call dword [0x671be8]
mov eax, dword [ebp + 0x50]
test eax, eax
je 0x4a4ec7
mov ecx, dword [ebp + 0x1c]
push ecx
mov ecx, ebp
call fcn.005127f4
mov edx, dword [ebp + 0x50]
add eax, 0x10000
push eax
push 0x111
mov eax, dword [edx + 0x1c]
push eax
call dword [0x671bc8]
lea ecx, [esp + 0x20]
mov byte [esp + 0xd88], 0
call fcn.0050dfa8
lea ecx, [esp + 0x28]
mov dword [esp + 0xd88], 0xffffffff
call fcn.0050c4a7
mov ecx, dword [esp + 0xd80]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd7c
ret 4