Function at 0x1003eb27
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1003eb8d
lea eax, [ebp + 0x20]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x1003eb6f
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov byte [eax], 1
jmp 0x1003eb88
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x58], eax
mov edx, 0xe8f32037
mov ecx, dword [ebp - 0x58]
call fcn.1003a4d2
jmp 0x1003edd3
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x1003ebc6
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
jmp 0x1003edd3
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x1003ec1b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jg 0x1003edd3
mov dword [ebp - 4], 0xa162
mov dword [ebp - 0x18], 0xfffffffc
mov dword [ebp - 4], 0x555b7cef
mov dword [ebp - 4], 0
jmp 0x1003ec4c
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jg 0x1003edce
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.10009f14
cmp dword [eax], 0
jne 0x1003ed30
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.10009f14
cmp esi, dword [eax]
je 0x1003ec87
mov dword [ebp - 0x24], 1
jmp 0x1003ec8b
and dword [ebp - 0x24], 0
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.10009f14
mov eax, dword [eax]
add eax, 0x6efe0cd1
mov ecx, dword [ebp - 0x10]
sub eax, dword [ecx]
cmp eax, 0xfffffffe
jg 0x1003ecb0
mov dword [ebp - 0x14], 1
jmp 0x1003ecb4
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
cmp dword [ebp - 0x14], 0
jne 0x1003eccb
mov dword [ebp - 0x1c], 1
jmp 0x1003eccf
and dword [ebp - 0x1c], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.10009f14
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax]
je 0x1003ece9
mov dword [ebp - 0x34], 1
jmp 0x1003eced
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x34]
jge 0x1003ecfe
mov dword [ebp - 0x2c], 1
jmp 0x1003ed02
and dword [ebp - 0x2c], 0
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.10009f14
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax]
sub ecx, dword [ebp - 4]
je 0x1003ed23
cmp dword [ebp - 4], 0
jne 0x1003ed23
and dword [ebp - 0x20], 0
jmp 0x1003ed2a
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x20], 3
jae 0x1003ed46
cmp dword [ebp - 4], 0
je 0x1003ed46
xor eax, eax
je 0x1003ed46
mov dword [ebp - 0x84], 1
jmp 0x1003ed4d
and dword [ebp - 0x84], 0
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.10009f14
push 0
mov ecx, dword [ebp - 8]
call fcn.10009f14
mov eax, dword [eax]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp - 4]
je 0x1003ed75
mov dword [ebp - 0x28], 1
jmp 0x1003ed79
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jne 0x1003ed92
mov dword [ebp - 0x30], 1
jmp 0x1003ed96
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [eax]
je 0x1003edb2
mov eax, 0xc2a4
test eax, eax
je 0x1003edb2
mov dword [ebp - 0x38], 1
jmp 0x1003edb6
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
cmp dword [ebp - 0x18], 0
je 0x1003edc9
jmp 0x1003edce
jmp 0x1003ec45
jmp 0x1003ec10
pop esi
mov esp, ebp
pop ebp
ret