Function at 0x100455b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050d4c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
mov dword [ebp - 0x1c], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push ecx
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x1c], 1
call fcn.100453d0
cmp byte [ebp - 0x80], 0
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
jne 0x10045623
xor ecx, ecx
jmp 0x10045639
lea ecx, [ebp - 0x80]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045630
sub ecx, edx
push ecx
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10001a10
push 0
mov dword [ebp - 4], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
call edi
mov esi, eax
push esi
call fcn.10013326
add esp, 4
mov dword [ebp - 0x18], eax
push eax
push esi
call edi
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esi, 0xfffffffe
cmp esi, 3
jl 0x100457a6
lea ecx, [ecx]
xor eax, eax
mov dword [ebp - 0x20], 0xf
mov word [ebp - 0x14], ax
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
mov al, byte [eax + esi - 3]
mov byte [ebp - 0x14], al
test al, al
jne 0x100456ad
xor eax, eax
jmp 0x100456bc
lea eax, [ebp - 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100456b3
sub eax, edx
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x34]
call fcn.10001a10
mov ecx, dword [ebp - 0x18]
movzx eax, byte [ecx + esi - 2]
mov byte [ebp - 0x13], al
movzx eax, byte [ecx + esi]
mov byte [ebp - 0x12], al
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x10045788
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
mov byte [ebp - 4], al
cmp byte [ebp - 0x14], 0
jne 0x1004570d
xor ecx, ecx
jmp 0x1004571c
lea ecx, [ebp - 0x14]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045713
sub ecx, edx
push ecx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x64]
call fcn.10001a10
push dword [ebp - 0x24]
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
push 0
cmovae eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x4c]
push eax
call fcn.10004040
cmp eax, 0xffffffff
jne 0x1004577a
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x98]
push eax
call sym.KwLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_KwLib::StringUtility::Str2Lower_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 8
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.10003f80
cmp dword [ebp - 0x84], 0x10
jb 0x1004577a
push dword [ebp - 0x98]
call edi
add esp, 4
cmp dword [ebp - 0x50], 0x10
jb 0x10045788
push dword [ebp - 0x64]
call edi
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], 0x10
jb 0x1004579a
push dword [ebp - 0x34]
call edi
add esp, 4
sub esi, 4
cmp esi, 3
jge 0x10045680
mov eax, dword [ebp - 0x18]
push eax
call edi
mov edx, dword [ebx + 4]
mov eax, 0x2aaaaaab
mov ecx, dword [ebx]
add esp, 4
sub edx, ecx
imul edx
push dword [ebp + 8]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebx + 4]
push eax
call fcn.1000d3a0
add esp, 8
cmp dword [ebp - 0x38], 0x10
jb 0x100457e4
push dword [ebp - 0x4c]
call edi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4