Function at 0x6e54fc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdac
xor ecx, ecx
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004042a4
mov eax, dword [ebp - 8]
call fcn.004042a4
xor eax, eax
push ebp
push 0x6e5bc1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x29], 0
mov eax, dword [ebp - 8]
call fcn.004097b8
test al, al
je 0x6e5568
mov byte [ebp - 9], 1
jmp 0x6e5b74
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00409abc
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.00409abc
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.00409be0
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.00409b4c
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x20]
call fcn.00403f0c
mov eax, dword [ebp - 0x24]
call fcn.004040f0
mov ecx, eax
lea eax, [ebp - 0x28]
mov edx, 1
call fcn.00404334
lea eax, [ebp - 0x248]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
call fcn.0040413c
mov eax, dword [ebp - 0x248]
call fcn.004097b8
test al, al
je 0x6e55df
mov byte [ebp - 9], 1
jmp 0x6e5b74
mov eax, dword [0x8420fc]
cmp byte [eax], 0
je 0x6e563b
mov eax, dword [0x841c0c]
mov eax, dword [eax]
call fcn.0044c49c
test al, al
jne 0x6e563b
lea edx, [ebp - 0x34]
mov eax, dword [0x841c0c]
mov eax, dword [eax]
call fcn.0044d760
push dword [ebp - 0x34]
push 0x6e5bd8
push dword [ebp - 0x1c]
lea eax, [ebp - 0x248]
mov edx, 3
call fcn.004041b0
mov eax, dword [ebp - 0x248]
call fcn.004097b8
test al, al
je 0x6e563b
mov byte [ebp - 0x29], 1
jmp 0x6e5b6e
mov eax, dword [0x842200]
cmp byte [eax], 0
je 0x6e5697
mov eax, dword [0x841d64]
mov eax, dword [eax]
call fcn.0044c49c
test al, al
jne 0x6e5697
lea edx, [ebp - 0x34]
mov eax, dword [0x841d64]
mov eax, dword [eax]
call fcn.0044d760
push dword [ebp - 0x34]
push 0x6e5bd8
push dword [ebp - 0x1c]
lea eax, [ebp - 0x248]
mov edx, 3
call fcn.004041b0
mov eax, dword [ebp - 0x248]
call fcn.004097b8
test al, al
je 0x6e5697
mov byte [ebp - 0x29], 1
jmp 0x6e5b6e
mov eax, dword [0x841730]
cmp byte [eax], 0
je 0x6e56f3
mov eax, dword [0x8413a0]
mov eax, dword [eax]
call fcn.0044c49c
test al, al
jne 0x6e56f3
lea edx, [ebp - 0x34]
mov eax, dword [0x8413a0]
mov eax, dword [eax]
call fcn.0044d760
push dword [ebp - 0x34]
push 0x6e5bd8
push dword [ebp - 0x1c]
lea eax, [ebp - 0x248]
mov edx, 3
call fcn.004041b0
mov eax, dword [ebp - 0x248]
call fcn.004097b8
test al, al
je 0x6e56f3
mov byte [ebp - 0x29], 1
jmp 0x6e5b6e
mov eax, dword [0x840ff8]
cmp byte [eax], 0
je 0x6e574f
mov eax, dword [0x840c18]
mov eax, dword [eax]
call fcn.0044c49c
test al, al
jne 0x6e574f
lea edx, [ebp - 0x34]
mov eax, dword [0x840c18]
mov eax, dword [eax]
call fcn.0044d760
push dword [ebp - 0x34]
push 0x6e5bd8
push dword [ebp - 0x1c]
lea eax, [ebp - 0x248]
mov edx, 3
call fcn.004041b0
mov eax, dword [ebp - 0x248]
call fcn.004097b8
test al, al
je 0x6e574f
mov byte [ebp - 0x29], 1
jmp 0x6e5b6e
mov eax, dword [0x841828]
mov eax, dword [eax]
call fcn.004040f0
test eax, eax
jle 0x6e584c
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x250]
mov edx, dword [0x841828]
mov edx, dword [edx]
mov ecx, dword [ebp - 0x10]
mov dl, byte [edx + ecx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x250]
lea eax, [ebp - 0x254]
call fcn.00402d00
mov edx, 0x6e5bdc
lea eax, [ebp - 0x254]
mov cl, 2
call fcn.00402cd0
lea edx, [ebp - 0x254]
lea eax, [ebp - 0x24c]
call fcn.00404094
push dword [ebp - 0x24c]
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
lea eax, [ebp - 0x248]
mov edx, 3
call fcn.004041b0
mov eax, dword [ebp - 0x248]
call fcn.004097b8
test al, al
je 0x6e57f0
mov byte [ebp - 0x29], 1
jmp 0x6e5b6e
lea eax, [ebp - 0x24c]
mov edx, dword [0x841828]
mov edx, dword [edx]
mov ecx, dword [ebp - 0x10]
mov dl, byte [edx + ecx - 1]
call fcn.00404018
push dword [ebp - 0x24c]
push 0x6e5be8
push dword [ebp - 0x1c]
lea eax, [ebp - 0x248]
mov edx, 3
call fcn.004041b0
mov eax, dword [ebp - 0x248]
call fcn.004097b8
test al, al
je 0x6e5840
mov byte [ebp - 0x29], 1
jmp 0x6e5b6e
inc dword [ebp - 0x10]
dec dword [ebp - 0x40]
jne 0x6e576d
mov eax, dword [0x841d60]
cmp byte [eax], 0
je 0x6e5a04
mov byte [ebp - 0x29], 0
mov dword [ebp - 0x3c], 0x200
lea eax, [ebp - 0x244]
push eax
mov eax, dword [ebp - 0x3c]
push eax
call sub.KERNEL32.DLL_GetLogicalDriveStringsA
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x3c]
jle 0x6e5886
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x30]
call fcn.00403e74
mov eax, dword [ebp - 0x38]
dec eax
test eax, eax
jl 0x6e5a04
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
cmp byte [ebp + eax - 0x244], 0
je 0x6e58da
lea eax, [ebp - 0x248]
mov edx, dword [ebp - 0x10]
mov dl, byte [ebp + edx - 0x244]
call fcn.00404018
mov edx, dword [ebp - 0x248]
lea eax, [ebp - 0x30]
call fcn.004040f8
jmp 0x6e59de
mov eax, dword [ebp - 0x30]
call fcn.004042b4
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x248]
push eax
lea edx, [ebp - 0x24c]
mov eax, dword [ebp - 0x30]
call fcn.0044bf5c
mov eax, dword [ebp - 0x24c]
mov ecx, 2
mov edx, 1
call fcn.004042f4
mov eax, dword [ebp - 0x248]
mov edx, 0x6e5bf4
call fcn.00404200
jne 0x6e592e
mov word [ebp - 0x2c], 0
lea eax, [ebp - 0x248]
push eax
lea edx, [ebp - 0x24c]
mov eax, dword [ebp - 0x30]
call fcn.0044bf5c
mov eax, dword [ebp - 0x24c]
mov ecx, 2
mov edx, 1
call fcn.004042f4
mov eax, dword [ebp - 0x248]
mov edx, 0x6e5c00
call fcn.00404200
jne 0x6e5970
mov word [ebp - 0x2c], 0
cmp word [ebp - 0x2c], 5
jne 0x6e59d6
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x30]
call fcn.0044d760
push dword [ebp - 0x34]
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
lea eax, [ebp - 0x248]
mov edx, 3
call fcn.004041b0
mov eax, dword [ebp - 0x248]
call fcn.004097b8
test al, al
je 0x6e59b0
mov byte [ebp - 0x29], 1
jmp 0x6e5a04
lea eax, [ebp - 0x248]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
call fcn.0040413c
mov eax, dword [ebp - 0x248]
call fcn.004097b8
test al, al
je 0x6e59d6
mov byte [ebp - 0x29], 1
jmp 0x6e5a04
lea eax, [ebp - 0x30]
call fcn.00403e74
mov eax, dword [ebp - 0x10]
cmp byte [ebp + eax - 0x244], 0
jne 0x6e59f8
mov eax, dword [ebp - 0x10]
cmp byte [ebp + eax - 0x243], 0
je 0x6e5a04
inc dword [ebp - 0x10]
dec dword [ebp - 0x40]
jne 0x6e58a5
cmp byte [ebp - 0x29], 0
jne 0x6e5a97
mov edx, dword [ebp - 8]
mov eax, 0x6e5c0c
call fcn.004043d8
test eax, eax
jg 0x6e5a30
mov edx, dword [ebp - 8]
mov eax, 0x6e5c24
call fcn.004043d8
test eax, eax
jle 0x6e5a97
mov dword [ebp - 0x14], 0x63
lea eax, [ebp - 0x248]
mov edx, dword [ebp - 0x14]
call fcn.00404018
push dword [ebp - 0x248]
push 0x6e5c38
lea eax, [ebp - 0x24c]
push eax
mov ecx, 0x7d0
mov edx, 3
mov eax, dword [ebp - 8]
call fcn.004042f4
push dword [ebp - 0x24c]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004041b0
mov eax, dword [ebp - 0x30]
call fcn.004097b8
test al, al
je 0x6e5a8e
mov byte [ebp - 0x29], 1
jmp 0x6e5a97
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x67
jl 0x6e5a37
cmp byte [ebp - 0x29], 0
jne 0x6e5b6e
lea edx, [ebp - 0x248]
mov eax, dword [ebp - 8]
call fcn.0044bf5c
mov edx, dword [ebp - 0x248]
mov eax, 0x6e5c4c
call fcn.004043d8
test eax, eax
jg 0x6e5b07
lea edx, [ebp - 0x248]
mov eax, dword [ebp - 8]
call fcn.0044bf5c
mov edx, dword [ebp - 0x248]
mov eax, 0x6e5c68
call fcn.004043d8
test eax, eax
jg 0x6e5b07
lea edx, [ebp - 0x248]
mov eax, dword [ebp - 8]
call fcn.0044bf5c
mov edx, dword [ebp - 0x248]
mov eax, 0x6e5c84
call fcn.004043d8
test eax, eax
jle 0x6e5b6e
mov dword [ebp - 0x14], 0x63
lea eax, [ebp - 0x248]
mov edx, dword [ebp - 0x14]
call fcn.00404018
push dword [ebp - 0x248]
push 0x6e5c9c
lea eax, [ebp - 0x24c]
push eax
mov ecx, 0x7d0
mov edx, 3
mov eax, dword [ebp - 8]
call fcn.004042f4
push dword [ebp - 0x24c]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004041b0
mov eax, dword [ebp - 0x30]
call fcn.004097b8
test al, al
je 0x6e5b65
mov byte [ebp - 0x29], 1
jmp 0x6e5b6e
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x67
jl 0x6e5b0e
mov al, byte [ebp - 0x29]
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6e5bc8
lea eax, [ebp - 0x24c]
mov edx, 2
call fcn.00403e98
lea eax, [ebp - 0x44]
call fcn.00403e74
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00403e98
lea eax, [ebp - 0x28]
mov edx, 5
call fcn.00403e98
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403e98
ret