Function at 0x415c90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4ce6a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x104
mov dword [ebp - 0x418], eax
mov edi, ecx
mov eax, dword [ebp + 0x10]
push 0x4705a0
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x310]
push 0x104
push eax
mov dword [ebp - 0x424], edi
call fcn.0044dcbe
push 0x474ba4
push esi
call fcn.00457c9e
add esp, 0x18
test eax, eax
je 0x415cf3
add eax, 7
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0044db48
lea eax, [ebp - 0x108]
push 0x2f
push eax
call fcn.00458755
add esp, 0x14
test eax, eax
je 0x415d38
nop word [eax + eax]
mov byte [eax], 0x5c
lea eax, [ebp - 0x108]
push 0x2f
push eax
call fcn.00458755
add esp, 8
test eax, eax
jne 0x415d20
lea eax, [ebp - 0x108]
push 0x474bac
push eax
call fcn.00457c9e
mov ebx, eax
lea eax, [ebp - 0x108]
push 0x474bb8
push eax
call fcn.00457c9e
mov esi, eax
lea eax, [ebp - 0x108]
push 0x474bc0
push eax
mov dword [ebp - 0x420], esi
call fcn.00457c9e
add esp, 0x18
test eax, eax
je 0x415e17
push 0x104
lea eax, [ebp - 0x414]
mov ecx, 0x51efe8
push eax
call fcn.00412880
lea eax, [ebp - 0x414]
push 0x5c
push eax
call fcn.00458755
add esp, 8
test eax, eax
je 0x415daf
mov byte [eax + 1], 0
lea ecx, [ebp - 0x414]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415db8
push 0x104
lea eax, [ebp - 0x20c]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x414]
mov ecx, 0x556050
push eax
push 9
push 0x474bc0
push 0x104
lea eax, [ebp - 0x108]
push eax
call fcn.00444540
push 0x104
lea eax, [ebp - 0x310]
mov ecx, edi
push eax
push dword [ebp - 0x418]
lea eax, [ebp - 0x20c]
push eax
call fcn.00413680
jmp 0x415f53
test esi, esi
jne 0x415e44
test ebx, ebx
jne 0x415e44
push 0x104
lea eax, [ebp - 0x310]
mov ecx, edi
push eax
push dword [ebp - 0x418]
lea eax, [ebp - 0x108]
push eax
call fcn.00413680
jmp 0x415f53
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
push 0
call edi
mov esi, eax
lea ecx, [esi + 1]
push ecx
call fcn.0044dcef
add esp, 4
mov dword [ebp - 0x41c], eax
push eax
push esi
call edi
test eax, eax
mov eax, dword [ebp - 0x41c]
je 0x415f4a
cmp byte [eax], 0
mov esi, eax
je 0x415f4a
mov edi, dword [ebp - 0x420]
test ebx, ebx
je 0x415ec0
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x415ec0
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415ea0
push 0x104
lea eax, [ebp - 0x20c]
sub ecx, edx
push eax
push ecx
push esi
push 0xc
push 0x474bac
jmp 0x415eee
test edi, edi
je 0x415f04
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415ed0
push 0x104
lea eax, [ebp - 0x20c]
sub ecx, edx
push eax
push ecx
push esi
push 6
push 0x474bb8
push 0x104
lea eax, [ebp - 0x108]
mov ecx, 0x556050
push eax
call fcn.00444540
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x310]
push 0x104
push eax
push dword [ebp - 0x418]
lea eax, [ebp - 0x20c]
push eax
call fcn.00413680
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415f30
sub ecx, edx
inc esi
add esi, ecx
cmp byte [esi], al
jne 0x415e87
mov eax, dword [ebp - 0x41c]
push eax
call fcn.0044dcd4
add esp, 4
lea eax, [ebp - 0x310]
push eax
push dword [ebp + 0x14]
push dword [ebp - 0x428]
call fcn.0044db48
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00447cbd
mov esp, ebp
pop ebp
ret 0x10