Function at 0x51fc10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5dd8a5
mov eax, dword fs:[0]
push eax
mov eax, 0x1264
call fcn.005c2160
mov eax, dword [0x66d4f4]
xor eax, esp
mov dword [esp + 0x1260], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x66d4f4]
xor eax, esp
push eax
lea eax, [esp + 0x1278]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1288]
push 1
xor ebx, ebx
push 2
lea ecx, [esp + 0x60]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
call fcn.0040a750
push 0xfff
lea eax, [esp + 0x279]
push ebx
push eax
mov dword [esp + 0x128c], 1
mov byte [esp + 0x280], bl
call fcn.005c0cf0
add esp, 0xc
lea ecx, [esp + 0x274]
push ecx
push 0xfff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
lea ebp, [ebx + 0x10]
je 0x520097
mov edx, dword [str._:Recycled]
mov eax, dword [0x602b80]
mov ecx, dword [0x602b84]
push 0x74
mov dword [esp + 0x1f8], edx
lea edx, [esp + 0x204]
push ebx
lea esi, [esp + 0x27c]
push edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x204], eax
mov dword [esp + 0x208], ecx
call fcn.005c0cf0
mov eax, dword [str._:Recycler]
mov ecx, dword [0x602b74]
mov edx, dword [0x602b78]
push 0x74
mov dword [esp + 0x184], eax
lea eax, [esp + 0x190]
push ebx
push eax
mov dword [esp + 0x190], ecx
mov dword [esp + 0x194], edx
call fcn.005c0cf0
mov edx, dword [0x602b64]
mov ecx, dword [str._:_Recycle.Bin]
mov eax, dword [0x602b68]
push 0x70
mov dword [esp + 0x114], edx
mov dword [esp + 0x110], ecx
mov ecx, dword [0x602b6c]
lea edx, [esp + 0x120]
push ebx
push edx
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], ecx
call fcn.005c0cf0
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x51fed0
push esi
call fcn.0051f510
add esp, 4
test eax, eax
jne 0x51fed0
cmp dword [esp + 0x128c], ebx
mov al, byte [esi]
mov byte [esp + 0x1f4], al
mov byte [esp + 0x174], al
mov byte [esp + 0xf4], al
je 0x51feea
push str.ywSMPOnlyId.log
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0051f100
mov esi, eax
push str.ywSMPOnlyId.log
lea edx, [esp + 0x184]
push edx
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x1298], 2
call fcn.0051f100
mov edi, eax
push str.ywSMPOnlyId.log
lea ecx, [esp + 0x210]
push ecx
lea edx, [esp + 0xf8]
push edx
mov byte [esp + 0x12a4], 3
call fcn.0051f100
add esp, 0x24
push esi
push 0x63a84c
push edi
push 0x63a84c
push eax
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0x1298], 4
call fcn.00408950
add esp, 8
push eax
call fcn.00409270
add esp, 8
push eax
call fcn.00408950
add esp, 8
push eax
call fcn.00409270
add esp, 8
push eax
call fcn.00408950
add esp, 8
cmp dword [esp + 0xf0], ebp
jb 0x51fe73
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.005a1b1d
add esp, 4
cmp dword [esp + 0x54], ebp
mov esi, 0xf
mov dword [esp + 0xf0], esi
mov dword [esp + 0xec], ebx
mov byte [esp + 0xdc], bl
jb 0x51fea0
mov edx, dword [esp + 0x40]
push edx
call fcn.005a1b1d
add esp, 4
cmp dword [esp + 0x38], ebp
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
mov byte [esp + 0x1280], 1
jb 0x51fec7
mov eax, dword [esp + 0x24]
push eax
call fcn.005a1b1d
add esp, 4
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
nop
mov dl, byte [esi]
add esi, 1
test dl, dl
jne 0x51fed0
cmp byte [esi], bl
mov dword [esp + 0x14], esi
jne 0x51fd70
jmp 0x520097
push ebx
push 0x63a990
lea ecx, [esp + 0xe0]
mov dword [esp + 0xf8], 0xf
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
call fcn.00408ea0
push str.ywSMPOnlyId
lea ecx, [esp + 0xf8]
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x128c], 5
call fcn.0051f100
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xe4]
mov byte [esp + 0x128c], 6
call fcn.00407630
cmp dword [esp + 0x38], ebp
mov byte [esp + 0x1280], 5
jb 0x51ff6a
mov eax, dword [esp + 0x24]
push eax
call fcn.005a1b1d
add esp, 4
cmp dword [esp + 0xec], ebx
jne 0x520051
push str.ywSMPOnlyId
lea ecx, [esp + 0x178]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0051f100
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xe4]
mov byte [esp + 0x128c], 7
call fcn.00407630
cmp dword [esp + 0x38], ebp
mov byte [esp + 0x1280], 5
jb 0x51ffc4
mov eax, dword [esp + 0x24]
push eax
call fcn.005a1b1d
add esp, 4
cmp dword [esp + 0xec], ebx
jne 0x520051
push str.ywSMPOnlyId
lea ecx, [esp + 0x1f8]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.0051f100
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xe4]
mov byte [esp + 0x128c], 8
call fcn.00407630
cmp dword [esp + 0x38], ebp
mov byte [esp + 0x1280], 5
jb 0x52001e
mov eax, dword [esp + 0x24]
push eax
call fcn.005a1b1d
add esp, 4
cmp dword [esp + 0xec], ebx
jne 0x520051
cmp dword [esp + 0xf0], ebp
mov byte [esp + 0x1280], 1
jb 0x51fed0
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.005a1b1d
add esp, 4
jmp 0x51fed0
cmp dword [esp + 0xf0], ebp
mov eax, dword [esp + 0xdc]
jae 0x520068
lea eax, [esp + 0xdc]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.00409270
add esp, 8
cmp dword [esp + 0xf0], ebp
mov byte [esp + 0x1280], 1
jb 0x520097
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.005a1b1d
add esp, 4
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x5c]
call fcn.00408c00
cmp dword [eax + 0x18], ebp
mov byte [esp + 0x1280], 9
jb 0x5200b7
mov esi, dword [eax + 4]
jmp 0x5200ba
lea esi, [eax + 4]
mov eax, esi
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x5200d0
sub eax, edx
push eax
push esi
mov ecx, edi
call fcn.00408ea0
cmp dword [esp + 0x54], ebp
mov dword [esp + 0x1c], 1
jb 0x5200ff
mov eax, dword [esp + 0x40]
push eax
call fcn.005a1b1d
add esp, 4
lea ecx, [esp + 0xa4]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
mov byte [esp + 0x1280], bl
call fcn.00409510
lea ecx, [esp + 0xa4]
push ecx
mov dword [esp + 0xa8], vtable.std::ios_base.0
call fcn.005d9cc4
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x1278]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1260]
xor ecx, esp
call fcn.005bd2d7
add esp, 0x1270
ret