Function at 0x402af0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x676300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
xor ebx, ebx
mov eax, ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x402b38
sub eax, esi
push eax
push ecx
lea ecx, [ebp - 0x64]
call fcn.0040a3f0
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], ebx
push ecx
lea edi, [ebp - 0x64]
mov byte [ebp - 0x68], 0x5c
call fcn.0040a4f0
cmp eax, 0xffffffff
jne 0x402b76
cmp dword [ebp - 0x50], 0x10
jb 0x402d30
mov edx, dword [ebp - 0x64]
push edx
jmp 0x402d28
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
call fcn.00408ae0
push 7
push ebx
push str.History
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00408a00
push 0xd
push ebx
push str.places.sqlite
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.00408a00
mov ecx, dword [ebp - 0x38]
cmp esi, 0xffffffff
je 0x402bb9
cmp ecx, 7
je 0x402bcb
cmp eax, 0xffffffff
je 0x402cfb
cmp ecx, 0xd
jne 0x402cfb
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
call ebx
mov edi, eax
push edi
call fcn.00538174
add esp, 4
mov dword [ebp - 0x70], eax
mov esi, eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
push eax
push edi
mov byte [ebp - 4], 2
call ebx
mov edi, esi
cmp byte [edi], 0
je 0x402c77
mov ebx, dword [ebp - 0x74]
inc ebx
lea ebx, [ebx]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402c15
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040a3f0
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402c30
sub eax, edx
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0040b110
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x402c4f
lea eax, [ebp - 0x2c]
push 0
push eax
call fcn.0053861d
add esp, 8
cmp eax, 0xffffffff
jne 0x402cd7
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402c64
sub eax, edx
cmp byte [esi + eax + 1], cl
lea esi, [esi + eax + 1]
jne 0x402c10
mov ebx, 0x10
push edi
call fcn.005383cd
add esp, 4
cmp dword [ebp - 0x18], ebx
jb 0x402c96
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00535f7c
add esp, 4
xor edi, edi
mov esi, 0xf
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
cmp dword [ebp - 0x34], ebx
jb 0x402cb8
mov eax, dword [ebp - 0x48]
push eax
call fcn.00535f7c
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
mov byte [ebp - 0x48], 0
cmp dword [ebp - 0x50], ebx
jb 0x402cd3
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00535f7c
add esp, 4
mov al, 1
jmp 0x402d32
mov eax, dword [ebp - 0x2c]
mov ebx, 0x10
cmp dword [ebp - 0x18], ebx
jae 0x402ce7
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x6c]
push 0x103
push eax
push ecx
call fcn.00537970
add esp, 0xc
jmp 0x402c7c
mov esi, 0x10
cmp dword [ebp - 0x34], esi
jb 0x402d11
mov edx, dword [ebp - 0x48]
push edx
call fcn.00535f7c
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], 0
cmp dword [ebp - 0x50], esi
jb 0x402d30
mov eax, dword [ebp - 0x64]
push eax
call fcn.00535f7c
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00534bba
mov esp, ebp
pop ebp
ret 4