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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x48
push 0
push 0
dec ecx
jne 0x5bc1c4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5bc549
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5bc558
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 0x5bc501
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x5bc4c1
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, dword [ebp - 8]
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0059b448
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004165f4
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 8]
mov ecx, 0x5bc58c
call fcn.00407078
push 0x5bc5b8
call sub.KERNEL32.DLL_OutputDebugStringW
push 0x5bc5e0
call sub.KERNEL32.DLL_OutputDebugStringW
push 0
push 0x3200000
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040eb80
mov edx, dword [ebp - 0x21c]
mov eax, ebx
call fcn.005bf164
test al, al
je 0x5bc368
lea eax, [ebp - 0x214]
push eax
push 0x103
call sub.KERNEL32.DLL_GetLogicalDriveStringsW
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 0x5bc2bd
sub eax, 4
mov eax, dword [eax]
dec eax
jl 0x5bc368
lea edx, [ebp - 0x220]
mov eax, dword [ebp - 4]
call fcn.0040eb80
mov eax, dword [ebp - 0x220]
call fcn.00406cf0
push eax
call sub.KERNEL32.DLL_GetDriveTypeW
cmp eax, 3
jne 0x5bc35e
push 0
push 0x3200000
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.005bf164
test al, al
jne 0x5bc34f
movzx eax, byte [0x5bc604]
push eax
lea eax, [ebp - 0x224]
push eax
lea edx, [ebp - 0x228]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040eb80
lea eax, [ebp - 0x228]
mov edx, 0x5bc614
call fcn.00406fb8
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
call fcn.00417074
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp - 8]
call fcn.00406c64
jmp 0x5bc368
mov eax, dword [ebp - 4]
test eax, eax
je 0x5bc35b
sub eax, 4
mov eax, dword [eax]
dec eax
jl 0x5bc368
inc esi
cmp esi, 0x42
jne 0x5bc299
push 0x5bc618
call sub.KERNEL32.DLL_OutputDebugStringW
push 0
push 0x3200000
lea edx, [ebp - 0x22c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040eb80
mov edx, dword [ebp - 0x22c]
mov eax, ebx
call fcn.005bf164
test al, al
je 0x5bc46f
mov dword [ebx + 0x580], 3
push 0
lea edx, [ebp - 0x230]
mov eax, dword [ebx + 0x4e0]
call fcn.004d9970
mov eax, dword [ebp - 0x230]
call fcn.00406cf0
push eax
lea eax, [ebp - 0x234]
push eax
mov ecx, 0x5bc64c
mov edx, 0x5bc780
mov eax, ebx
call fcn.005c1094
mov eax, dword [ebp - 0x234]
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 0x5bc7a8
push 0x5bc7a8
lea edx, [ebp - 0x238]
mov eax, 3
call fcn.0040df48
mov eax, dword [ebp - 0x238]
push eax
push 0x5bc7a8
push 0x5bc7b8
push 0x5bc7a8
mov eax, dword [ebx + 0x55c]
push eax
push 0
mov edx, dword [ebx + 0x57c]
mov ecx, 0x5bc7a8
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 0x5bc508
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
lea eax, [ebp - 0x23c]
mov edx, 0x5bc7d0
call fcn.00407078
mov eax, dword [ebp - 0x23c]
call fcn.00406cf0
push eax
call sub.KERNEL32.DLL_OutputDebugStringW
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040e698
test al, al
jne 0x5bc4ad
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0040e6bc
push 0x5bc808
call sub.KERNEL32.DLL_OutputDebugStringW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5bc4eb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bc508
mov eax, dword [ebp - 0xc]
call fcn.0040461c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bc550
lea eax, [ebp - 0x240]
mov edx, 4
call fcn.00406c5c
lea eax, [ebp - 0x230]
call fcn.00406c54
lea eax, [ebp - 0x22c]
mov edx, 6
call fcn.00406c5c
lea eax, [ebp - 4]
call fcn.00406c54
ret