Function at 0x40100a
Capabilities:
Get disk information

Disassembly:
jmp 0x401a17
mov eax, 0x461c2c
call fcn.00410d14
sub esp, 0x5c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
xor ebx, ebx
mov byte [ebp - 0xd], bl
cmp esi, dword [edi + 0x1f88]
jne 0x401a84
push ebx
push esi
call fcn.00401014
lea esi, [edi + 0x1f8c]
push esi
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cmp byte [esi], bl
je 0x401d32
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
mov ecx, edi
push dword [edi + 0x1f88]
push esi
call fcn.00401172
push esi
call fcn.00410d40
cmp byte [esi + eax + 1], bl
lea esi, [esi + eax + 1]
pop ecx
jne 0x401a5a
jmp 0x401d4d
mov eax, dword [0x47841c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], eax
push esi
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 1
call fcn.0043af26
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.0040119f
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0043b2ea
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0043b1b1
push ebx
push esi
mov ecx, edi
call fcn.00401014
lea eax, [ebp - 0x14]
push 0x477ffc
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0043b446
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0043b2ea
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0043b1b1
lea ecx, [ebp - 0x4c]
call fcn.00433b3a
mov esi, 0x466178
mov dword [ebp - 0x4c], esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00433b3a
mov dword [ebp - 0x38], esi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.004052dd
push ebx
lea ecx, [ebp - 0x68]
push dword [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.004053a0
cmp eax, ebx
je 0x401bb0
lea ecx, [ebp - 0x68]
call fcn.004055c0
mov esi, eax
mov eax, dword [ebp - 0x68]
push 0x10
lea ecx, [ebp - 0x68]
call dword [eax + 0x38]
cmp eax, ebx
je 0x401bac
lea ecx, [ebp - 0x68]
call fcn.00405587
test eax, eax
jne 0x401bac
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x68]
push eax
mov byte [ebp - 0xd], 1
call fcn.004057b8
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 7
call fcn.0043b3e0
push eax
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.00433e0f
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.0043b1b1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.0043b1b1
cmp esi, ebx
jne 0x401b3d
lea ecx, [ebp - 0x4c]
call fcn.00401177
xor esi, esi
cmp dword [ebp - 0x44], ebx
jle 0x401c12
lea eax, [ebp - 0x20]
push esi
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040103c
mov eax, dword [eax]
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 9
push eax
call fcn.00401172
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 6
call fcn.0043b1b1
push 0xffff0002
mov ecx, edi
push dword [ebp - 0x1c]
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x47b718
push 0x23
call fcn.004318f9
inc esi
cmp esi, dword [ebp - 0x44]
jl 0x401bbf
push ebx
lea ecx, [ebp - 0x68]
push dword [ebp - 0x18]
call fcn.004053a0
cmp eax, ebx
je 0x401cae
lea ecx, [ebp - 0x68]
call fcn.004055c0
mov esi, eax
mov eax, dword [ebp - 0x68]
push 0x10
lea ecx, [ebp - 0x68]
call dword [eax + 0x38]
cmp eax, ebx
jne 0x401ca6
push ecx
lea ecx, [ebp - 0x68]
mov eax, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.004057b8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xb8]
cmp al, bl
je 0x401ca6
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x68]
push eax
mov byte [ebp - 0xd], 1
call fcn.004057b8
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xa
call fcn.0043b3e0
push eax
lea ecx, [ebp - 0x38]
push dword [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.00433e0f
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.0043b1b1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.0043b1b1
cmp esi, ebx
jne 0x401c26
lea ecx, [ebp - 0x38]
call fcn.00401177
xor esi, esi
cmp dword [ebp - 0x30], ebx
jle 0x401cf2
lea eax, [ebp - 0x20]
push esi
push eax
lea ecx, [ebp - 0x38]
call fcn.0040103c
mov eax, dword [eax]
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 0xc
push eax
call fcn.00401172
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.0043b1b1
inc esi
cmp esi, dword [ebp - 0x30]
jl 0x401cbd
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.0040531a
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00433b6d
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00433b6d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0043b1b1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0043b1b1
cmp byte [ebp - 0xd], bl
jne 0x401d4d
push 0xffff0002
mov ecx, edi
push dword [ebp + 8]
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x47b718
push 1
call fcn.004318f9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4