Function at 0x102b718
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1034060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov ebx, 0x1001a3c
push ebx
mov dword [ebp - 0x18], edi
call fcn.0102b096
test al, al
jne 0x102b75b
push 0x1001aac
mov ecx, edi
call fcn.0102b096
mov dword [ebp - 0x14], 0x800
test al, al
je 0x102b762
mov dword [ebp - 0x14], 0x104
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x102b767
sub eax, edx
sar eax, 1
cmp eax, dword [ebp - 0x14]
jae 0x102ba93
push dword [edi + 0x1c]
call fcn.010319b5
mov ecx, dword [ebp - 0x18]
movzx edi, ax
push 0x2e
pop eax
mov word [ebp - 0xe], ax
mov word [ebp - 0xc], ax
xor eax, eax
push ebx
mov dword [ebp - 0x14], edi
mov word [ebp - 0x10], di
mov word [ebp - 0xa], di
mov word [ebp - 8], ax
call fcn.0102b096
mov ebx, dword [sym.imp.msvcrt.dll_wcsncmp]
test al, al
je 0x102b867
mov ecx, 0x1001dd0
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x102b7e9
test dx, dx
je 0x102b7e5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x102b7e9
add eax, 4
add ecx, 4
test dx, dx
jne 0x102b7c3
xor eax, eax
jmp 0x102b7ee
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x102b85d
push 3
lea eax, [ebp - 0xe]
push eax
push esi
call ebx
add esp, 0xc
test eax, eax
je 0x102b85d
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
jne 0x102b85d
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x102b818
sub eax, edx
sar eax, 1
cmp eax, 3
jb 0x102b856
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x102b830
sub eax, edx
sar eax, 1
push 3
lea ecx, [ebp - 0x10]
push ecx
lea eax, [esi + eax*2 - 6]
push eax
call ebx
add esp, 0xc
neg eax
sbb eax, eax
neg eax
jmp 0x102b859
xor eax, eax
inc eax
test eax, eax
jne 0x102b867
mov ebx, 0xc00d132b
jmp 0x102ba98
mov ecx, dword [ebp - 0x18]
push 0x1001a3c
call fcn.0102b096
test al, al
je 0x102b89d
push esi
call fcn.01031eb8
test al, al
je 0x102b8d2
push 4
push 0x1001dc4
push esi
call ebx
add esp, 0xc
test eax, eax
je 0x102b8d2
add esi, 4
xor ebx, ebx
jmp 0x102ba7f
mov ebx, dword [ebp - 0x18]
push 0x1001a74
mov ecx, ebx
call fcn.0102b096
test al, al
je 0x102b900
mov ebx, dword [sym.imp.msvcrt.dll_iswdigit]
jmp 0x102b8ba
inc esi
inc esi
movzx eax, word [esi]
push eax
call ebx
pop ecx
test eax, eax
jne 0x102b8b8
movzx eax, word [esi]
cmp ax, di
je 0x102b8dc
test ax, ax
je 0x102b8ee
mov ebx, 0xc00d1327
jmp 0x102ba98
test ax, ax
je 0x102b8ee
inc esi
inc esi
movzx eax, word [esi]
push eax
call ebx
pop ecx
test eax, eax
jne 0x102b8e1
movzx ebx, word [esi]
neg ebx
sbb ebx, ebx
and ebx, 0xc00d1327
jmp 0x102ba7b
push 0x1001a6c
mov ecx, ebx
call fcn.0102b096
test al, al
jne 0x102b896
push 0x1001a9c
mov ecx, ebx
call fcn.0102b096
test al, al
je 0x102b993
movzx eax, word [esi]
mov ebx, 0xc00d1327
cmp ax, 0x41
jb 0x102b934
cmp ax, 0x5a
jbe 0x102b948
cmp ax, 0x61
jb 0x102ba98
cmp ax, 0x7a
ja 0x102ba98
movzx eax, word [esi + 2]
cmp ax, di
jne 0x102b98e
mov edi, dword [sym.imp.msvcrt.dll_iswdigit]
add esi, 4
jmp 0x102b95e
inc esi
inc esi
movzx eax, word [esi]
push eax
call edi
pop ecx
test eax, eax
jne 0x102b95c
movzx eax, word [esi]
cmp ax, word [ebp - 0x14]
jne 0x102b98e
inc esi
inc esi
movzx eax, word [esi]
push eax
call edi
pop ecx
test eax, eax
jne 0x102b972
cmp word [esi], 0
jne 0x102ba98
jmp 0x102b896
test ax, ax
jmp 0x102b983
push 0x1001aac
mov ecx, ebx
call fcn.0102b096
test al, al
je 0x102ba2f
lea ecx, [ebp - 0x30]
mov ebx, 0xc00d1327
call fcn.0102994e
push 3
push esi
lea ecx, [ebp - 0x30]
call fcn.0102a151
test eax, eax
jl 0x102ba25
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
jne 0x102ba25
mov edi, 0x10038b0
push edi
lea ecx, [ebp - 0x3c]
call fcn.0102a4d2
push esi
lea ecx, [ebp - 0x24]
call fcn.0102a4d2
lea ecx, [ebp - 0x3c]
call fcn.01029a19
add eax, 2
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], eax
call fcn.01029a19
cmp eax, dword [ebp - 0x14]
jne 0x102ba15
push 2
push edi
lea ecx, [ebp - 0x24]
call fcn.01029b73
cmp eax, 2
jne 0x102ba15
xor ebx, ebx
lea ecx, [ebp - 0x24]
call fcn.0102a0ff
lea ecx, [ebp - 0x3c]
call fcn.0102a0ff
lea ecx, [ebp - 0x30]
call fcn.0102a0ff
jmp 0x102ba7b
push 0x1001ae8
mov ecx, ebx
call fcn.0102b096
test al, al
jne 0x102ba5d
push 0x1001b08
mov ecx, ebx
call fcn.0102b096
test al, al
jne 0x102ba5d
cmp word [esi], di
jne 0x102b8d2
jmp 0x102b896
push 4
push 0x1001db8
push esi
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x102b896
mov ebx, 0xc00d1327
test ebx, ebx
jl 0x102ba98
mov ecx, dword [ebp - 0x18]
push esi
call fcn.0102b690
test eax, eax
je 0x102ba98
mov ebx, 0xc00d1325
jmp 0x102ba98
mov ebx, 0xc00d1331
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.01029060
leave
ret 4