Function at 0x6900a2d0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x170
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov dword [esp + 0x10], ebp
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
xor ecx, ecx
cmp esi, ebp
mov dword [esp + 0x14], ecx
je 0x6900a443
mov ebx, dword [esp + 0x18]
mov eax, 1
shl eax, cl
test esi, eax
je 0x6900a430
not eax
and esi, eax
lea eax, [esp + 0x24]
add cl, 0x41
push eax
mov dword [esp + 0x1c], esi
mov byte [esp + 0x28], cl
mov byte [esp + 0x29], 0x3a
mov byte [esp + 0x2a], 0x5c
mov byte [esp + 0x2b], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x6900a42a
lea ecx, [esp + 0x100]
push 0x7f
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
push ebp
lea ecx, [esp + 0x94]
push 0x7f
lea edx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x6900a42a
mov ebx, dword [section..data]
mov byte [esp + 0x8b], 0
mov dword [0x690c0b04], ebp
mov esi, ebp
xor edi, edi
test esi, esi
mov ecx, ebx
lea edx, [esp + 0x40]
je 0x6900a39f
mov al, byte [ecx]
test al, al
je 0x6900a39f
cmp al, 0xa
jne 0x6900a39a
dec esi
inc ecx
test esi, esi
jne 0x6900a38f
mov al, byte [ecx]
test al, al
je 0x6900a3b5
cmp al, 0xa
je 0x6900a3b5
mov byte [edx], al
mov al, byte [ecx + 1]
inc edx
inc ecx
inc edi
test al, al
jne 0x6900a3a5
test edi, edi
mov byte [edx], 0
je 0x6900a41a
mov byte [esp + 0x4b], 0
lea esi, [esp + 0x40]
lea eax, [esp + 0x80]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x6900a3f0
test cl, cl
je 0x6900a3ec
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x6900a3f0
add eax, 2
add esi, 2
test cl, cl
jne 0x6900a3cc
xor eax, eax
jmp 0x6900a3f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x6900a405
inc ebp
mov dword [0x690c0b04], ebp
jmp 0x6900a381
mov eax, dword [esp + 0x14]
add eax, 0x41
mov dword [0x690bfa48], eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x6900a457
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
xor ebp, ebp
inc ecx
cmp esi, ebp
mov dword [esp + 0x14], ecx
jne 0x6900a2fa
cmp dword [esp + 0x10], ebp
jne 0x6900a457
push 0x10
push 2
push 9
push ebp
call fcn.6900be00
add esp, 0x10
jmp 0x6900a510
xor ebp, ebp
push ebp
call fcn.6900ae50
add esp, 4
cmp eax, 0xffffffff
je 0x6900a4ec
cmp eax, ebp
je 0x6900a4fb
cmp eax, 1
je 0x6900a481
mov dword [esp + 0x10], ebp
jmp 0x6900a510
mov cl, bl
lea edx, [esp + 0x24]
add cl, 0x41
push edx
mov byte [esp + 0x28], cl
mov byte [esp + 0x29], 0x3a
mov byte [esp + 0x2a], 0x5c
mov byte [esp + 0x2b], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x6900a4d7
lea eax, [esp + 0x100]
push 0x7f
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
push ebp
lea eax, [esp + 0x94]
push 0x7f
lea ecx, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x6900a501
push 0x10
push 2
push 9
push ebp
call fcn.6900be00
add esp, 0x10
mov dword [esp + 0x10], ebp
jmp 0x6900a510
push 0x10
push 2
push 6
push ebp
call fcn.6900be00
add esp, 0x10
mov dword [esp + 0x10], ebp
jmp 0x6900a510
cmp dword [esp + 0x10], ebp
je 0x6900a510
push ebx
call fcn.6900a290
add esp, 4
mov ecx, dword [esp + 0x10]
xor eax, eax
pop edi
cmp ecx, ebp
pop esi
pop ebp
setne al
pop ebx
add esp, 0x170
ret