Function at 0x44d280
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4955c1
mov eax, dword fs:[0]
push eax
sub esp, 0x69c
mov eax, dword [0x4be4bc]
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 esi, dword [ebp + 8]
cmp dword [esi + 0x10], 3
jb 0x44d5be
mov edi, dword [esi + 0x14]
mov eax, esi
cmp edi, 8
jb 0x44d2c7
mov eax, dword [esi]
cmp word [eax + 2], 0x3a
jne 0x44d5be
mov eax, esi
cmp edi, 8
jb 0x44d2db
mov eax, dword [esi]
cmp word [eax + 4], 0x5c
je 0x44d2f6
mov eax, esi
cmp edi, 8
jb 0x44d2eb
mov eax, dword [esi]
cmp word [eax + 4], 0x2f
jne 0x44d5be
xor eax, eax
push 0x20a
push eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x648]
push eax
call sub.VCRUNTIME140.dll_memset
push 0x20a
lea eax, [ebp - 0x43c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x20a
lea eax, [ebp - 0x230]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x24
mov eax, esi
cmp edi, 8
jb 0x44d34b
mov eax, dword [esi]
push 0x105
lea ecx, [ebp - 0x230]
push ecx
push 0x105
lea ecx, [ebp - 0x43c]
push ecx
push 0x105
lea ecx, [ebp - 0x648]
push ecx
push 0xa
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wsplitpath_s]
lea ecx, [ebp - 0x24]
add esp, 0x24
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44d385
sub ecx, edx
sar ecx, 1
cmp ecx, 2
jne 0x44d5be
mov ecx, dword [ebp - 0x24]
lea eax, [ecx - 0x41]
cmp ax, 0x19
ja 0x44d3b1
add word [ebp - 0x24], 0x20
mov ecx, dword [ebp - 0x24]
lea eax, [ecx - 0x61]
cmp ax, 0x19
ja 0x44d3f0
cmp word [ebp - 0x22], 0x3a
jne 0x44d3f0
push 0x49ba88
lea eax, [ebp - 0x24]
push 0xa
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x44d3e9
cmp eax, 6
jne 0x44d3f0
mov al, 1
jmp 0x44d5c0
lea eax, [ebp - 0x678]
push esi
push eax
call fcn.00486c20
push eax
lea eax, [ebp - 0x660]
mov dword [ebp - 4], 0
push eax
call fcn.00486900
push eax
lea eax, [ebp - 0x6a8]
mov byte [ebp - 4], 1
push eax
call fcn.00487820
add esp, 0x18
mov edx, dword [ebp - 0x64c]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x44d465
mov ecx, dword [ebp - 0x660]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44d45b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d4b8
push edx
push ecx
call fcn.0048c947
add esp, 8
xor eax, eax
mov dword [ebp - 0x650], 0
mov dword [ebp - 0x64c], 7
mov word [ebp - 0x660], ax
mov edx, dword [ebp - 0x664]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x44d4c8
mov ecx, dword [ebp - 0x678]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44d4be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44d4be
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0048c947
add esp, 8
xor eax, eax
mov dword [ebp - 0x668], 0
mov word [ebp - 0x678], ax
lea eax, [ebp - 0x690]
push 1
push eax
mov dword [ebp - 0x664], 7
call fcn.004829a0
add esp, 8
lea ecx, [ebp - 0x6a8]
cmp dword [ebp - 0x694], 8
cmovae ecx, dword [ebp - 0x6a8]
cmp dword [eax + 0x14], 8
jb 0x44d512
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsPrefixW]
mov edx, dword [ebp - 0x67c]
test eax, eax
setne bl
cmp edx, 8
jb 0x44d55b
mov ecx, dword [ebp - 0x690]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44d551
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d5aa
push edx
push ecx
call fcn.0048c947
add esp, 8
mov edx, dword [ebp - 0x694]
xor eax, eax
mov dword [ebp - 0x680], 0
mov dword [ebp - 0x67c], 7
mov word [ebp - 0x690], ax
cmp edx, 8
jb 0x44d5ba
mov ecx, dword [ebp - 0x6a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44d5b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x44d5b0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0048c947
add esp, 8
mov al, bl
jmp 0x44d5c0
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.0048cbb4
mov esp, ebp
pop ebp
ret