Function at 0x42c2a3
Capabilities:
Get disk information

Disassembly:
push 0x18
mov eax, 0x449c4d
call fcn.0043bc2e
mov eax, ecx
mov dword [ebp - 0x24], eax
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.00429040
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
mov eax, dword [0x4a18ac]
push dword [eax - 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.004224ed
push dword [0x4a18ac]
push dword [eax]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
mov ebx, eax
pop ecx
mov ecx, dword [ebp - 0x1c]
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
call fcn.00429900
add bl, 1
jne 0x455cba
xor ebx, ebx
cmp dword [edi - 0xc], 0
jle 0x42c321
push ebx
lea ecx, [ebp - 0x10]
call fcn.0042e686
cmp ax, 0x2f
je 0x455ce3
push edi
call dword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathIsUNCW]
test eax, eax
jne 0x42c379
push edi
call dword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathIsUNCServerW]
test eax, eax
jne 0x42c379
push edi
call dword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathIsUNCServerShareW]
test eax, eax
jne 0x42c379
lea ecx, [edi - 0x10]
call fcn.00429040
add eax, 0x10
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0042247f
push dword [ebp - 0x14]
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDriveTypeW]
cmp eax, 4
je 0x455d17
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00429900
lea ecx, [edi - 0x10]
call fcn.00429900
mov al, bl
call fcn.0043bbfc
ret
mov eax, dword [0x4a18ac]
mov ecx, dword [edi - 0xc]
sub ecx, dword [eax - 0xc]
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0042bd21
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004258e2
xor ebx, ebx
jmp 0x455d01
mov eax, dword [edi - 0xc]
lea ecx, [ebp - 0x10]
dec eax
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042bd21
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004258e2
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00429900
mov edi, dword [ebp - 0x10]
jmp 0x42c308
push 1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.0042bd21
push 0x406fdc
mov ecx, eax
call fcn.004259c6
mov ecx, dword [ebp - 0x18]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
call fcn.00429900
add bl, 1
je 0x455d79
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov eax, dword [edi - 0xc]
dec eax
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004224ed
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.004258e2
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00429900
jmp 0x455d17
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
push ebx
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.MPR.dll_WNetGetConnectionW]
mov edi, dword [ebp - 0x10]
cmp eax, 0xea
jne 0x42c36e
push 0x4a1724
lea ecx, [ebp - 0x18]
call fcn.004240ea
mov byte [ebp - 4], 5
xor ecx, ecx
mov esi, dword [ebp - 0x18]
inc ecx
mov edx, dword [ebp - 0x1c]
inc edx
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x455dcd
push edx
lea ecx, [ebp - 0x18]
call fcn.004289b0
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.MPR.dll_WNetGetConnectionW]
test eax, eax
jne 0x455e33
push ecx
lea ecx, [ebp - 0x18]
call fcn.0048f101
push edi
call dword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathSkipRootW]
mov ecx, dword [edi - 0xc]
sub eax, edi
sar eax, 1
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.00486521
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
mov esi, dword [ebp - 0x20]
push esi
call fcn.0048f0b3
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 5
call fcn.00429900
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
call fcn.004258e2
mov esi, dword [ebp - 0x18]
mov bl, 1
lea ecx, [esi - 0x10]
call fcn.00429900
jmp 0x42c36e