Function at 0x414dd7
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
movsx eax, byte [0x4b40dc]
test eax, eax
je 0x414df5
mov eax, 0x4b40dc
jmp 0x415044
push 0x497438
call fcn.00441140
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x414fa9
mov ecx, dword [ebp - 8]
movsx edx, byte [ecx + 1]
cmp edx, 0x3a
jne 0x414e40
mov eax, dword [ebp - 8]
mov cl, byte [eax]
mov byte [ebp - 0x10c], cl
mov byte [ebp - 0x10b], 0x3a
mov byte [ebp - 0x10a], 0x5c
mov byte [ebp - 0x109], 0
jmp 0x414f48
mov edx, dword [ebp - 8]
movsx eax, byte [edx]
cmp eax, 0x5c
jne 0x414f41
mov ecx, dword [ebp - 8]
movsx edx, byte [ecx + 1]
cmp edx, 0x5c
jne 0x414f41
mov byte [ebp - 0x10c], 0x5c
mov byte [ebp - 0x10b], 0x5c
mov eax, dword [ebp - 8]
add eax, 2
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 2
mov ecx, dword [ebp - 0xc]
movsx edx, byte [ecx]
test edx, edx
je 0x414eb9
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax]
cmp ecx, 0x5c
je 0x414eb5
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov byte [ebp + edx - 0x10c], cl
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x414eb7
jmp 0x414eb9
jmp 0x414e7d
mov ecx, dword [ebp - 0xc]
movsx edx, byte [ecx]
test edx, edx
je 0x414f20
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx]
mov byte [ebp + eax - 0x10c], dl
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
movsx eax, byte [edx]
test eax, eax
je 0x414f20
mov ecx, dword [ebp - 0xc]
movsx edx, byte [ecx]
cmp edx, 0x5c
je 0x414f1c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx]
mov byte [ebp + eax - 0x10c], dl
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x414f1e
jmp 0x414f20
jmp 0x414ee4
mov edx, dword [ebp - 0x10]
mov byte [ebp + edx - 0x10c], 0x5c
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov byte [ebp + ecx - 0x10c], 0
jmp 0x414f48
xor eax, eax
jmp 0x415044
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 4
je 0x414f61
xor eax, eax
jmp 0x415044
mov eax, dword [ebp - 8]
push eax
push 0x4b40dc
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x4b40dc
call sub.MSVCRT.dll_strlen
add esp, 4
movsx ecx, byte [eax + 0x4b40db]
cmp ecx, 0x5c
jne 0x414f9f
push 0x4b40dc
call sub.MSVCRT.dll_strlen
add esp, 4
mov byte [eax + 0x4b40db], 0
mov eax, 0x4b40dc
jmp 0x415044
mov dword [ebp - 0x110], 0x497444
mov edx, dword [ebp - 0x110]
push edx
call fcn.00415048
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x414ff5
push 0x4b40dc
push 0x497460
call fcn.00415090
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x414fed
mov byte [0x4b40dc], 0
call fcn.00414d0b
mov dword [ebp - 4], eax
movsx eax, byte [0x4b40dc]
test eax, eax
jne 0x415012
push 0x49746c
push 0x4b40dc
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x4b40dc
call sub.MSVCRT.dll_strlen
add esp, 4
movsx ecx, byte [eax + 0x4b40db]
cmp ecx, 0x5c
jne 0x41503f
push 0x4b40dc
call sub.MSVCRT.dll_strlen
add esp, 4
mov byte [eax + 0x4b40db], 0
mov eax, 0x4b40dc
mov esp, ebp
pop ebp
ret