Function at 0x47e750
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ed96b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd48
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], ebx
call fcn.004cccda
mov ecx, 9
mov esi, str..PHYSICALDRIVE0
lea edi, [esp + 0x58]
mov eax, dword [0x512050]
rep movsd dword es:[edi], dword [esi]
mov cx, word [0x512054]
push 0x4011
movsw word es:[edi], word [esi]
lea edx, [esp + 0x2a8]
xor esi, esi
push 0x2b4
push edx
push esi
push 0x516740
mov dword [esp + 0xd74], 0
mov dword [esp + 0x38], eax
mov word [esp + 0x3c], cx
mov dword [esp + 0x48], 0x27
mov dword [esp + 0x4c], 0xffffffff
call dword [0x534e5c]
push eax
lea ecx, [esp + 0x1c]
call fcn.004ccdc7
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
and eax, edx
push eax
mov eax, dword [ebx + 0x1c]
push esi
push 0x402
push eax
call dword [0x534f28]
push eax
call fcn.004ccd6c
lea ecx, [esp + 0x18]
call fcn.004ccd2c
xor edi, edi
mov dword [esp + 0x14], edi
push esi
call fcn.00487eb0
add esp, 4
lea edx, [esp + 0x58]
lea ecx, [edi + 0x30]
push 0
push 0
push 3
push 0
push 1
push 0xc0000000
push edx
mov word [esp + 0x96], cx
call dword [0x534d60]
mov esi, eax
cmp esi, 0xffffffff
jne 0x47e85a
xor esi, esi
jmp 0x47eaeb
push esi
push 0
call fcn.0047e3f0
add esp, 8
test eax, eax
je 0x47eaeb
lea eax, [esp + 0x10]
lea ecx, [esp + 0x80]
push eax
push ecx
push esi
call fcn.0047e240
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jle 0x47eaeb
shl eax, 4
push eax
call fcn.00487e70
mov edx, dword [esp + 0x14]
mov ebp, eax
add edx, 0x80
mov dword [esp + 0x24], ebp
shl edx, 4
push edx
call fcn.00487e70
add esp, 8
mov dword [esp + 0x2c], eax
test ebp, ebp
je 0x47eaeb
test eax, eax
je 0x47eaeb
mov eax, dword [esp + 0x10]
xor edi, edi
test eax, eax
jle 0x47e91f
lea ebx, [esp + 0x80]
xor eax, eax
mov ax, word [ebx]
push eax
push 0x529bf8
push ebp
call fcn.004b7592
mov ecx, dword [esp + 0x1c]
add esp, 0xc
dec ecx
cmp edi, ecx
je 0x47e908
mov edx, dword [esp + 0x20]
push 0x513d40
push edx
call fcn.004b71a3
add esp, 8
mov eax, dword [esp + 0x10]
inc edi
add ebx, 2
add ebp, 6
cmp edi, eax
jl 0x47e8d9
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
mov ecx, 0x79
xor eax, eax
lea edi, [esp + 0xc0]
push eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc4]
push 1
push eax
push esi
call fcn.0049dcb0
add esp, 0x10
test eax, eax
je 0x47e9a9
lea ecx, [esp + 0xc1]
push ecx
call fcn.0048a060
lea edx, [esp + 0xce]
push edx
call fcn.0048a060
mov edx, dword [0x548c7c]
lea eax, [esp + 0xd2]
lea ecx, [esp + 0xc9]
push eax
push ecx
push str._s__s
push 0x40000
push edx
call fcn.004b9fb0
mov ecx, dword [0x548c7c]
push 0x400
lea eax, [esp + 0x978]
push 0
push eax
push 0xffffffffffffffff
push ecx
call fcn.00420f90
add esp, 0x30
jmp 0x47e9c9
push str.USB_Drive
push 0x21d
call fcn.004a6ea0
lea edx, [esp + 0x960]
push eax
push edx
call fcn.004b71cd
add esp, 0x10
push esi
call fcn.0043e460
add esp, 4
push 0
push 0x200
push 0
push eax
call fcn.004b74a0
test edx, edx
ja 0x47e9ec
cmp eax, 0x3b9aca00
jb 0x47ea27
push 0
push 0x3e8
push edx
push eax
call fcn.004b7610
push 0
push 0x3e8
push edx
push eax
call fcn.004b7610
push 0
push 0x3e8
push edx
push eax
call fcn.004b7610
push edx
push eax
lea eax, [esp + 0x560]
push str._d_GB
push eax
jmp 0x47ea52
push 0
push 0x3e8
push edx
push eax
call fcn.004b7610
push 0
push 0x3e8
push edx
push eax
call fcn.004b7610
push edx
push eax
lea ecx, [esp + 0x560]
push str._d_MB
push ecx
call fcn.004b7592
mov edi, dword [esp + 0x3c]
add esp, 0x10
lea edx, [esp + 0x558]
lea eax, [esp + 0x958]
push edx
push ebp
push eax
push str._s___s__s_
push edi
call fcn.004b7592
mov cx, word [esp + 0x94]
add esp, 0x14
lea edx, [esp + 0x2a4]
lea eax, [esp + 0x24]
push 0x4211
push 0x2b4
push edx
push 0x10
push eax
mov word [esp + 0x38], cx
call dword [0x534e5c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x2a8]
lea edx, [esp + 0x34]
mov dword [esp + 0x54], ecx
push edx
mov ecx, ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
call fcn.004cce3c
push esi
call fcn.00487eb0
push ebp
xor esi, esi
call fcn.00487ea0
push edi
call fcn.00487ea0
mov edi, dword [esp + 0x20]
add esp, 0xc
inc edi
cmp edi, 0x64
mov dword [esp + 0x14], edi
jl 0x47e81e
push esi
call fcn.00487eb0
mov eax, dword [ebx + 0x40]
add esp, 4
push 0
push eax
mov eax, dword [ebx + 0x1c]
push 0x14e
push eax
call dword [0x534f28]
lea ecx, [esp + 0x18]
mov dword [esp + 0xd60], 0xffffffff
call fcn.004ccd03
mov ecx, dword [esp + 0xd58]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd54
ret 4