Function at 0x420a50
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x47ac00
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebp
push esi
push edi
mov eax, dword [0x4a9128]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
lea ecx, [esp + 0x20]
call fcn.004409a8
mov dword [esp + 0x3c], 0
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x420aa1
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x3c], 1
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x420ad0
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
push 0
mov byte [esp + 0x44], 2
call ebp
mov edi, eax
lea ecx, [edi + 1]
push ecx
call fcn.0043379c
add esp, 4
mov esi, eax
push esi
push edi
call ebp
mov eax, esi
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x420b10
sub eax, ecx
mov edi, eax
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x420b37
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
test edi, edi
mov byte [esp + 0x3c], 3
jbe 0x420c05
test esi, esi
jne 0x420b5c
xor eax, eax
jmp 0x420b6c
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x420b61
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00401910
mov ebp, dword [esp + 0x14]
cmp dword [ebp - 0xc], 0
jl 0x420c9f
mov cl, byte [ebp]
mov byte [esp + 0x1c], cl
mov edx, dword [esp + 0x1c]
push edx
call fcn.0040ad80
add esp, 4
test eax, eax
je 0x420bb1
lea esi, [esi + edi + 1]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x420ba6
jmp 0x420bf9
cmp dword [ebp - 0xc], 0
jl 0x420c9f
movsx eax, byte [ebp]
push eax
lea ecx, [esp + 0x14]
push str._c:computer.._
push ecx
call fcn.00401c20
mov edx, dword [esp + 0x1c]
push edx
call fcn.0040a6c0
add esp, 0x10
test eax, eax
jne 0x420ca9
lea esi, [esi + edi + 1]
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x420bf0
sub eax, edx
mov edi, eax
test edi, edi
ja 0x420b54
push esi
call fcn.00433797
lea eax, [ebp - 0x10]
add esp, 4
mov byte [esp + 0x3c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420c2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420c54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420c79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00440d9f
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x30
ret
push 0x80070057
call fcn.00401000
push esi
call fcn.00433797
lea eax, [ebp - 0x10]
add esp, 4
mov byte [esp + 0x3c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420cd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420cf8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x3c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420d1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00440d9f
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x30
ret