Function at 0x413f90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x4c8578]
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 0x46c510
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x310]
push 0x104
push eax
mov dword [ebp - 0x424], edi
call fcn.00449eee
push 0x470174
push esi
call fcn.00453ccf
add esp, 0x18
test eax, eax
je 0x413ff3
add eax, 7
push eax
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00449d78
lea eax, [ebp - 0x108]
push 0x2f
push eax
call fcn.00454913
add esp, 0x14
test eax, eax
je 0x414038
nop word [eax + eax]
mov byte [eax], 0x5c
lea eax, [ebp - 0x108]
push 0x2f
push eax
call fcn.00454913
add esp, 8
test eax, eax
jne 0x414020
lea eax, [ebp - 0x108]
push 0x47017c
push eax
call fcn.00453ccf
mov ebx, eax
lea eax, [ebp - 0x108]
push 0x470188
push eax
call fcn.00453ccf
mov esi, eax
lea eax, [ebp - 0x108]
push 0x470190
push eax
mov dword [ebp - 0x420], esi
call fcn.00453ccf
add esp, 0x18
test eax, eax
je 0x414117
push 0x104
lea eax, [ebp - 0x414]
mov ecx, 0x50fb40
push eax
call fcn.00410be0
lea eax, [ebp - 0x414]
push 0x5c
push eax
call fcn.00454913
add esp, 8
test eax, eax
je 0x4140af
mov byte [eax + 1], 0
lea ecx, [ebp - 0x414]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4140b8
push 0x104
lea eax, [ebp - 0x20c]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x414]
mov ecx, 0x53f400
push eax
push 9
push 0x470190
push 0x104
lea eax, [ebp - 0x108]
push eax
call fcn.00440850
push 0x104
lea eax, [ebp - 0x310]
mov ecx, edi
push eax
push dword [ebp - 0x418]
lea eax, [ebp - 0x20c]
push eax
call fcn.004115f0
jmp 0x414253
test esi, esi
jne 0x414144
test ebx, ebx
jne 0x414144
push 0x104
lea eax, [ebp - 0x310]
mov ecx, edi
push eax
push dword [ebp - 0x418]
lea eax, [ebp - 0x108]
push eax
call fcn.004115f0
jmp 0x414253
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.00449f1f
add esp, 4
mov dword [ebp - 0x41c], eax
push eax
push esi
call edi
test eax, eax
mov eax, dword [ebp - 0x41c]
je 0x41424a
cmp byte [eax], 0
mov esi, eax
je 0x41424a
mov edi, dword [ebp - 0x420]
test ebx, ebx
je 0x4141c0
push esi
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeA]
cmp eax, 2
jne 0x4141c0
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4141a0
push 0x104
lea eax, [ebp - 0x20c]
sub ecx, edx
push eax
push ecx
push esi
push 0xc
push 0x47017c
jmp 0x4141ee
test edi, edi
je 0x414204
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4141d0
push 0x104
lea eax, [ebp - 0x20c]
sub ecx, edx
push eax
push ecx
push esi
push 6
push 0x470188
push 0x104
lea eax, [ebp - 0x108]
mov ecx, 0x53f400
push eax
call fcn.00440850
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.004115f0
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414230
sub ecx, edx
inc esi
add esi, ecx
cmp byte [esi], al
jne 0x414187
mov eax, dword [ebp - 0x41c]
push eax
call fcn.00449f04
add esp, 4
lea eax, [ebp - 0x310]
push eax
push dword [ebp + 0x14]
push dword [ebp - 0x428]
call fcn.00449d78
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00443fa5
mov esp, ebp
pop ebp
ret 0x10