Function at 0x5bfc94
Capabilities:
Get disk information
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x47
push 0
push 0
dec ecx
jne 0x5bfc9c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5c0001
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5c0010
call sub.KERNEL32.DLL_OutputDebugStringW
mov dl, 1
mov eax, dword [0x59ad38]
call fcn.0059ba5c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x5bffb9
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x5bff63
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, dword [ebp - 8]
lea edx, [ebx + 0x548]
mov eax, ebx
call fcn.005bfa64
push 0x5c0038
call sub.KERNEL32.DLL_OutputDebugStringW
push 0
push 0x6400000
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040eb80
mov edx, dword [ebp - 0x218]
mov eax, ebx
call fcn.005bf164
test al, al
je 0x5bfe26
push 0x5c0060
call sub.KERNEL32.DLL_OutputDebugStringW
lea eax, [ebp - 0x214]
push eax
push 0x103
call sub.KERNEL32.DLL_GetLogicalDriveStringsW
push 0x5c008c
call sub.KERNEL32.DLL_OutputDebugStringW
xor esi, esi
lea eax, [ebp - 4]
lea edx, [ebp - 0x214]
mov ecx, esi
add ecx, ecx
add ecx, ecx
add ecx, ecx
add edx, ecx
call fcn.00406e10
mov eax, dword [ebp - 4]
test eax, eax
je 0x5bfd80
sub eax, 4
mov eax, dword [eax]
dec eax
jl 0x5bfe1c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0040eb80
mov eax, dword [ebp - 0x21c]
call fcn.00406cf0
push eax
call sub.KERNEL32.DLL_GetDriveTypeW
cmp eax, 3
jne 0x5bfe12
push 0
push 0x6400000
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.005bf164
test al, al
jne 0x5bfe12
movzx eax, byte [0x5c00b8]
push eax
lea eax, [ebp - 0x220]
push eax
lea edx, [ebp - 0x224]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040eb80
lea eax, [ebp - 0x224]
mov edx, 0x5c00c8
call fcn.00406fb8
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
call fcn.00417074
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 8]
call fcn.00406c64
jmp 0x5bfe1c
inc esi
cmp esi, 0x42
jne 0x5bfd5c
push 0x5c00cc
call sub.KERNEL32.DLL_OutputDebugStringW
push 0x5c00f8
call sub.KERNEL32.DLL_OutputDebugStringW
push 0
push 0x6400000
lea edx, [ebp - 0x228]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040eb80
mov edx, dword [ebp - 0x228]
mov eax, ebx
call fcn.005bf164
test al, al
je 0x5bff2d
mov dword [ebx + 0x580], 3
push 0
lea edx, [ebp - 0x22c]
mov eax, dword [ebx + 0x4e0]
call fcn.004d9970
mov eax, dword [ebp - 0x22c]
call fcn.00406cf0
push eax
lea eax, [ebp - 0x230]
push eax
mov ecx, 0x5c012c
mov edx, 0x5c0260
mov eax, ebx
call fcn.005c1094
mov eax, dword [ebp - 0x230]
call fcn.00406cf0
push eax
mov eax, ebx
call fcn.004e2270
push eax
call sub.user32.dll_MessageBoxW
mov eax, dword [ebx + 0x448]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0x5c0288
push 0x5c0288
lea edx, [ebp - 0x234]
mov eax, 3
call fcn.0040df48
mov eax, dword [ebp - 0x234]
push eax
push 0x5c0288
push 0x5c0298
push 0x5c0288
mov eax, dword [ebx + 0x55c]
push eax
push 0
mov edx, dword [ebx + 0x57c]
mov ecx, 0x5c0288
mov eax, ebx
call fcn.005c76cc
push 0
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.KERNEL32.DLL_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.004055a8
jmp 0x5bffc0
push 0x5c02a4
call sub.KERNEL32.DLL_OutputDebugStringW
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040e698
test al, al
jne 0x5bff4f
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040e6bc
push 0x5c02a4
call sub.KERNEL32.DLL_OutputDebugStringW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5bffa3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bffc0
mov eax, dword [ebp - 0xc]
call fcn.0040461c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c0008
lea eax, [ebp - 0x23c]
mov edx, 4
call fcn.00406c5c
lea eax, [ebp - 0x22c]
call fcn.00406c54
lea eax, [ebp - 0x228]
mov edx, 5
call fcn.00406c5c
lea eax, [ebp - 4]
call fcn.00406c54
ret