Function at 0x515ef0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5d1ac5
mov eax, dword fs:[0]
push eax
mov eax, 0x1264
call fcn.005b6f10
mov eax, dword [0x65d4e4]
xor eax, esp
mov dword [esp + 0x1260], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65d4e4]
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.0040b040
push 0xfff
lea eax, [esp + 0x279]
push ebx
push eax
mov dword [esp + 0x128c], 1
mov byte [esp + 0x280], bl
call fcn.005b5540
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 0x516377
mov edx, dword [str._:Recycled]
mov eax, dword [0x5f59e8]
mov ecx, dword [0x5f59ec]
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.005b5540
mov eax, dword [str._:Recycler]
mov ecx, dword [0x5f59dc]
mov edx, dword [0x5f59e0]
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.005b5540
mov edx, dword [0x5f59cc]
mov ecx, dword [str._:_Recycle.Bin]
mov eax, dword [0x5f59d0]
push 0x70
mov dword [esp + 0x114], edx
mov dword [esp + 0x110], ecx
mov ecx, dword [0x5f59d4]
lea edx, [esp + 0x120]
push ebx
push edx
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], ecx
call fcn.005b5540
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x5161b0
push esi
call fcn.005157f0
add esp, 4
test eax, eax
jne 0x5161b0
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 0x5161ca
push str.ywSMPOnlyId.log
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.005153e0
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.005153e0
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.005153e0
add esp, 0x24
push esi
push 0x62b4bc
push edi
push 0x62b4bc
push eax
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0x1298], 4
call fcn.00409240
add esp, 8
push eax
call fcn.00409b60
add esp, 8
push eax
call fcn.00409240
add esp, 8
push eax
call fcn.00409b60
add esp, 8
push eax
call fcn.00409240
add esp, 8
cmp dword [esp + 0xf0], ebp
jb 0x516153
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.00595eb8
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 0x516180
mov edx, dword [esp + 0x40]
push edx
call fcn.00595eb8
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 0x5161a7
mov eax, dword [esp + 0x24]
push eax
call fcn.00595eb8
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 0x5161b0
cmp byte [esi], bl
mov dword [esp + 0x14], esi
jne 0x516050
jmp 0x516377
push ebx
push 0x62b600
lea ecx, [esp + 0xe0]
mov dword [esp + 0xf8], 0xf
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
call fcn.00409790
push str.ywSMPOnlyId
lea ecx, [esp + 0xf8]
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x128c], 5
call fcn.005153e0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xe4]
mov byte [esp + 0x128c], 6
call fcn.00407e40
cmp dword [esp + 0x38], ebp
mov byte [esp + 0x1280], 5
jb 0x51624a
mov eax, dword [esp + 0x24]
push eax
call fcn.00595eb8
add esp, 4
cmp dword [esp + 0xec], ebx
jne 0x516331
push str.ywSMPOnlyId
lea ecx, [esp + 0x178]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.005153e0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xe4]
mov byte [esp + 0x128c], 7
call fcn.00407e40
cmp dword [esp + 0x38], ebp
mov byte [esp + 0x1280], 5
jb 0x5162a4
mov eax, dword [esp + 0x24]
push eax
call fcn.00595eb8
add esp, 4
cmp dword [esp + 0xec], ebx
jne 0x516331
push str.ywSMPOnlyId
lea ecx, [esp + 0x1f8]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.005153e0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xe4]
mov byte [esp + 0x128c], 8
call fcn.00407e40
cmp dword [esp + 0x38], ebp
mov byte [esp + 0x1280], 5
jb 0x5162fe
mov eax, dword [esp + 0x24]
push eax
call fcn.00595eb8
add esp, 4
cmp dword [esp + 0xec], ebx
jne 0x516331
cmp dword [esp + 0xf0], ebp
mov byte [esp + 0x1280], 1
jb 0x5161b0
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.00595eb8
add esp, 4
jmp 0x5161b0
cmp dword [esp + 0xf0], ebp
mov eax, dword [esp + 0xdc]
jae 0x516348
lea eax, [esp + 0xdc]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.00409b60
add esp, 8
cmp dword [esp + 0xf0], ebp
mov byte [esp + 0x1280], 1
jb 0x516377
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.00595eb8
add esp, 4
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x5c]
call fcn.004094f0
cmp dword [eax + 0x18], ebp
mov byte [esp + 0x1280], 9
jb 0x516397
mov esi, dword [eax + 4]
jmp 0x51639a
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 0x5163b0
sub eax, edx
push eax
push esi
mov ecx, edi
call fcn.00409790
cmp dword [esp + 0x54], ebp
mov dword [esp + 0x1c], 1
jb 0x5163df
mov eax, dword [esp + 0x40]
push eax
call fcn.00595eb8
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.00409e00
lea ecx, [esp + 0xa4]
push ecx
mov dword [esp + 0xa8], vtable.std::ios_base.0
call fcn.005cdcde
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.005b1988
add esp, 0x1270
ret