Function at 0x473050
Capabilities:
Get disk information
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50a2d6
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x5512c0]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
mov eax, dword [0x5512c0]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x206
xor edi, edi
lea edx, [esp + 0x2a]
xor ecx, ecx
push edi
push edx
mov dword [esp + 0x24], eax
mov word [esp + 0x30], cx
call fcn.004e8ae0
add esp, 0xc
lea eax, [esp + 0x24]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x473228
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x5191b4
call fcn.004594a0
lea edx, [esp + 0x10]
push edx
mov ecx, 0x5191b4
mov dword [esp + 0x244], edi
call fcn.004594a0
mov byte [esp + 0x240], 1
mov dword [esp + 0x1c], edi
lea esi, [esp + 0x24]
cmp word [esp + 0x24], di
je 0x4731cb
test esi, esi
jne 0x473113
xor eax, eax
jmp 0x47312f
mov eax, esi
lea edx, [eax + 2]
jmp 0x473120
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x473120
sub eax, edx
sar eax, 1
push esi
lea ecx, [esp + 0x14]
push ecx
mov ebx, eax
call fcn.004593b0
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
je 0x4731d9
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push eax
call ebx
mov edx, dword [esp + 0x10]
push edx
call ebx
cmp eax, 3
jne 0x47319f
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov ebx, esp
call fcn.0045cad0
add eax, 0x10
mov dword [ebx], eax
call fcn.00472fb0
add esp, 8
test eax, eax
je 0x4731cb
mov ebx, dword [esp + 0x1c]
cmp ebx, edi
jl 0x47319f
lea eax, [esp + 0x10]
lea edi, [esp + 0x14]
call fcn.0045c9e0
mov edi, ebx
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4731a4
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 + 2], cx
lea esi, [esi + eax*2 + 2]
jne 0x47310b
cmp edi, 0x64
jge 0x47324e
mov byte [esp + 0x240], 0
mov eax, dword [esp + 0x10]
jmp 0x4731e1
mov byte [esp + 0x240], 0
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4731fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x240], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473228
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004e3e00
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edi, dword [edx]
lea eax, [ecx - 0x10]
sub edi, 0x10
cmp eax, edi
je 0x4732a7
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x473299
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x473299
call fcn.0045cad0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x47328e
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x18]
add ebx, 0x10
mov dword [ecx], ebx
jmp 0x4732a7
mov edx, dword [esp + 0x18]
mov ebx, dword [ecx - 0xc]
push ecx
push edx
call fcn.004593b0
mov byte [esp + 0x240], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4732cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x240], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4732fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x47322a