Function at 0x657d24
Capabilities:
Get disk information
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x657d2c
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x658047
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x658058
call sub.KERNEL32.DLL_OutputDebugStringW
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 0x3a0]
call fcn.004f8a4c
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.004707ac
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00471d98
mov eax, dword [ebp - 4]
call fcn.00406f68
push eax
call sub.KERNEL32.DLL_GetDriveTypeW
cmp eax, 3
je 0x657d9d
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.006518fc
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x3a0]
call fcn.004f8a84
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 0x3a0]
call fcn.004f8a4c
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004707ac
mov eax, dword [ebp - 0x14]
call fcn.00406f68
push eax
call sub.shlwapi.dll_PathIsNetworkPathW
test eax, eax
je 0x657de0
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.006518fc
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x3a0]
call fcn.004f8a84
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0x3a0]
call fcn.004f8a4c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004707ac
mov eax, dword [ebp - 0x20]
call fcn.00471800
test al, al
je 0x657ee3
lea edx, [ebp - 0x2c]
mov eax, dword [ebx + 0x3a0]
call fcn.004f8a4c
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.004707ac
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x657e34
sub eax, 4
mov eax, dword [eax]
cmp eax, 4
jge 0x657e51
lea edx, [ebp - 0x34]
mov eax, ebx
call fcn.006518fc
mov edx, dword [ebp - 0x34]
mov eax, dword [ebx + 0x3a0]
call fcn.004f8a84
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x3a0]
call fcn.004f8a4c
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.004707ac
mov eax, dword [ebp - 0x38]
call fcn.004717dc
test al, al
je 0x657ec9
push 0
push 0x7800000
lea edx, [ebp - 0x48]
mov eax, dword [ebx + 0x3a0]
call fcn.004f8a4c
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.004707ac
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.00471d98
mov edx, dword [ebp - 0x40]
mov eax, ebx
call fcn.0064fea4
test al, al
je 0x657efb
lea edx, [ebp - 0x4c]
mov eax, ebx
call fcn.006518fc
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebx + 0x3a0]
call fcn.004f8a84
jmp 0x657efb
lea edx, [ebp - 0x50]
mov eax, ebx
call fcn.006518fc
mov edx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x3a0]
call fcn.004f8a84
jmp 0x657efb
lea edx, [ebp - 0x54]
mov eax, ebx
call fcn.006518fc
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx + 0x3a0]
call fcn.004f8a84
lea edx, [ebp - 0x5c]
mov eax, dword [ebx + 0x3a0]
call fcn.004f8a4c
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.004707ac
mov edx, dword [ebp - 0x58]
lea eax, [ebx + 0x610]
call fcn.00406edc
lea edx, [ebp - 0x60]
mov eax, dword [ebx + 0x610]
call fcn.00479f18
mov edx, dword [ebp - 0x60]
lea eax, [ebx + 0x610]
call fcn.00406edc
mov eax, ebx
call fcn.0065bd90
lea edx, [ebp - 0x68]
mov eax, dword [ebx + 0x4c]
call fcn.00471048
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
mov edx, 0x6580bc
call fcn.004072b0
mov eax, dword [ebp - 0x64]
call fcn.00406f68
push eax
call sub.KERNEL32.DLL_OutputDebugStringW
mov eax, ebx
call fcn.0065d9e0
lea edx, [ebp - 0x70]
mov eax, dword [ebx + 0x4c]
call fcn.00471048
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
mov edx, 0x6580bc
call fcn.004072b0
mov eax, dword [ebp - 0x6c]
call fcn.00406f68
push eax
call sub.KERNEL32.DLL_OutputDebugStringW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x658051
lea eax, [ebp - 0x70]
mov edx, 5
call fcn.00406ed4
lea eax, [ebp - 0x5c]
call fcn.00406ecc
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00406ed4
lea eax, [ebp - 0x48]
call fcn.00406ecc
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00406ed4
lea eax, [ebp - 0x3c]
call fcn.00406ecc
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00406ed4
lea eax, [ebp - 0x2c]
call fcn.00406ecc
lea eax, [ebp - 0x28]
call fcn.00406ecc
lea eax, [ebp - 0x24]
call fcn.00406ecc
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00406ed4
lea eax, [ebp - 0x18]
call fcn.00406ecc
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406ed4
lea eax, [ebp - 0xc]
call fcn.00406ecc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406ed4
ret