Function at 0x429170
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48b180
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4291b6
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x58], eax
mov dword [esp + 0x68], 0
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4291e8
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0
mov byte [esp + 0x6c], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
call edi
mov esi, eax
lea ecx, [esi + 1]
push ecx
call fcn.00446d76
mov ebx, eax
add esp, 4
push ebx
push esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x5c], ebx
call edi
mov eax, ebx
lea ecx, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x429230
sub eax, ecx
mov dword [esp + 0x20], eax
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x429259
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0x20]
test edi, edi
mov byte [esp + 0x68], 2
jbe 0x42974e
lea ebx, [ebx]
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x42928c
xor eax, eax
jmp 0x42929c
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x429291
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x20]
call fcn.004068a0
mov ebx, dword [esp + 0x18]
cmp dword [ebx - 0xc], 0
jl 0x4297e3
mov cl, byte [ebx]
mov byte [esp + 0x24], cl
mov edx, dword [esp + 0x24]
push edx
call fcn.00414c30
add esp, 4
test eax, eax
je 0x4292ed
lea eax, [esi + edi + 1]
mov dword [esp + 0x1c], eax
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4292d7
sub eax, edx
mov edi, eax
mov dword [esp + 0x20], edi
jmp 0x429746
cmp dword [ebx - 0xc], 0
jl 0x4297e3
mov al, byte [ebx]
mov byte [esp + 0x28], al
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00414f30
add esp, 4
cmp dword [ebx - 0xc], 0
jl 0x4297e3
mov dl, byte [ebx]
mov byte [esp + 0x2c], dl
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00426cb0
mov byte [esp + 0x68], 3
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x429389
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x42937b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42937b
push eax
call fcn.00406990
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x42936e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x18]
jmp 0x429389
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004068a0
mov byte [esp + 0x68], 2
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4293ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push 0
push esi
call fcn.0046b81d
add esp, 8
cmp eax, 0xffffffff
je 0x4293d1
push 1
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00427d50
cmp dword [ebx - 0xc], 0
jl 0x4297e3
mov dl, byte [ebx]
mov byte [esp + 0x34], dl
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00426d50
mov byte [esp + 0x68], 4
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x42944c
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x42943e
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x42943e
push eax
call fcn.00406990
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x429431
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x18]
jmp 0x42944c
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004068a0
mov byte [esp + 0x68], 2
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429471
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push 0
push esi
call fcn.0046b81d
add esp, 8
cmp eax, 0xffffffff
je 0x429494
push 1
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00427d50
cmp dword [ebx - 0xc], 0
jl 0x4297e3
mov dl, byte [ebx]
mov byte [esp + 0x3c], dl
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.00426df0
mov byte [esp + 0x68], 5
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x42950f
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x429501
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x429501
push eax
call fcn.00406990
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4294f4
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x18]
jmp 0x42950f
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004068a0
mov byte [esp + 0x68], 2
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429534
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push 0
push esi
call fcn.0046b81d
add esp, 8
cmp eax, 0xffffffff
je 0x429557
push 1
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00427d50
cmp dword [ebx - 0xc], 0
jl 0x4297e3
mov dl, byte [ebx]
mov byte [esp + 0x44], dl
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.00426e90
mov byte [esp + 0x68], 6
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4295d2
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4295c4
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4295c4
push eax
call fcn.00406990
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4295b7
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x18]
jmp 0x4295d2
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004068a0
mov byte [esp + 0x68], 2
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4295f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push 0
push esi
call fcn.0046b81d
add esp, 8
cmp eax, 0xffffffff
je 0x42961a
push 1
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00427d50
cmp dword [ebx - 0xc], 0
jl 0x4297e3
mov dl, byte [ebx]
mov byte [esp + 0x4c], dl
mov eax, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.00427130
mov byte [esp + 0x68], 7
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x429695
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x429687
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x429687
push eax
call fcn.00406990
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x42967a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x18]
jmp 0x429695
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004068a0
mov byte [esp + 0x68], 2
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4296ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push 0
push ecx
call fcn.0046b81d
add esp, 8
cmp eax, 0xffffffff
je 0x4296dd
mov ecx, dword [ebp + 8]
push 1
lea edx, [esp + 0x18]
push edx
call fcn.00427d50
cmp dword [ebx - 0xc], 0
jl 0x4297e3
mov ecx, dword [0x4b92b0]
cmp dword [ecx - 0xc], 0
mov al, byte [ebx]
jle 0x429711
movzx eax, al
push eax
push ecx
call fcn.0046b659
add esp, 8
test eax, eax
je 0x429711
sub eax, dword [0x4b92b0]
cmp eax, 0xffffffff
jne 0x429722
cmp dword [ebx - 0xc], 0
jl 0x4297e3
mov cl, byte [ebx]
call fcn.00414d50
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [ecx + edx + 1]
mov dword [esp + 0x1c], eax
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x429735
sub eax, edx
mov edi, eax
mov dword [esp + 0x20], eax
test edi, edi
ja 0x429280
mov eax, dword [esp + 0x54]
push eax
call fcn.00446d7b
lea eax, [ebx - 0x10]
add esp, 4
mov byte [esp + 0x68], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42977c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x68], 0
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 0x4297a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4297c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00401db0
int3