Function at 0x514ec0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5d0aa5
mov eax, dword fs:[0]
push eax
mov eax, 0x1264
call fcn.005b5ef0
mov eax, dword [0x65b4e4]
xor eax, esp
mov dword [esp + 0x1260], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65b4e4]
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.0040b160
push 0xfff
lea eax, [esp + 0x279]
push ebx
push eax
mov dword [esp + 0x128c], 1
mov byte [esp + 0x280], bl
call fcn.005b4520
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 0x515347
mov edx, dword [str._:Recycled]
mov eax, dword [0x5f49e8]
mov ecx, dword [0x5f49ec]
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.005b4520
mov eax, dword [str._:Recycler]
mov ecx, dword [0x5f49dc]
mov edx, dword [0x5f49e0]
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.005b4520
mov edx, dword [0x5f49cc]
mov ecx, dword [str._:_Recycle.Bin]
mov eax, dword [0x5f49d0]
push 0x70
mov dword [esp + 0x114], edx
mov dword [esp + 0x110], ecx
mov ecx, dword [0x5f49d4]
lea edx, [esp + 0x120]
push ebx
push edx
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], ecx
call fcn.005b4520
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x515180
push esi
call fcn.005147c0
add esp, 4
test eax, eax
jne 0x515180
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 0x51519a
push str.ywSMPOnlyId.log
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.005143b0
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.005143b0
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.005143b0
add esp, 0x24
push esi
push 0x62a35c
push edi
push 0x62a35c
push eax
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0x1298], 4
call fcn.00409360
add esp, 8
push eax
call fcn.00409c80
add esp, 8
push eax
call fcn.00409360
add esp, 8
push eax
call fcn.00409c80
add esp, 8
push eax
call fcn.00409360
add esp, 8
cmp dword [esp + 0xf0], ebp
jb 0x515123
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.00594e98
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 0x515150
mov edx, dword [esp + 0x40]
push edx
call fcn.00594e98
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 0x515177
mov eax, dword [esp + 0x24]
push eax
call fcn.00594e98
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 0x515180
cmp byte [esi], bl
mov dword [esp + 0x14], esi
jne 0x515020
jmp 0x515347
push ebx
push 0x62a4a0
lea ecx, [esp + 0xe0]
mov dword [esp + 0xf8], 0xf
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
call fcn.004098b0
push str.ywSMPOnlyId
lea ecx, [esp + 0xf8]
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x128c], 5
call fcn.005143b0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xe4]
mov byte [esp + 0x128c], 6
call fcn.004080b0
cmp dword [esp + 0x38], ebp
mov byte [esp + 0x1280], 5
jb 0x51521a
mov eax, dword [esp + 0x24]
push eax
call fcn.00594e98
add esp, 4
cmp dword [esp + 0xec], ebx
jne 0x515301
push str.ywSMPOnlyId
lea ecx, [esp + 0x178]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.005143b0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xe4]
mov byte [esp + 0x128c], 7
call fcn.004080b0
cmp dword [esp + 0x38], ebp
mov byte [esp + 0x1280], 5
jb 0x515274
mov eax, dword [esp + 0x24]
push eax
call fcn.00594e98
add esp, 4
cmp dword [esp + 0xec], ebx
jne 0x515301
push str.ywSMPOnlyId
lea ecx, [esp + 0x1f8]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.005143b0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xe4]
mov byte [esp + 0x128c], 8
call fcn.004080b0
cmp dword [esp + 0x38], ebp
mov byte [esp + 0x1280], 5
jb 0x5152ce
mov eax, dword [esp + 0x24]
push eax
call fcn.00594e98
add esp, 4
cmp dword [esp + 0xec], ebx
jne 0x515301
cmp dword [esp + 0xf0], ebp
mov byte [esp + 0x1280], 1
jb 0x515180
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.00594e98
add esp, 4
jmp 0x515180
cmp dword [esp + 0xf0], ebp
mov eax, dword [esp + 0xdc]
jae 0x515318
lea eax, [esp + 0xdc]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.00409c80
add esp, 8
cmp dword [esp + 0xf0], ebp
mov byte [esp + 0x1280], 1
jb 0x515347
mov ecx, dword [esp + 0xdc]
push ecx
call fcn.00594e98
add esp, 4
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x5c]
call fcn.00409610
cmp dword [eax + 0x18], ebp
mov byte [esp + 0x1280], 9
jb 0x515367
mov esi, dword [eax + 4]
jmp 0x51536a
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 0x515380
sub eax, edx
push eax
push esi
mov ecx, edi
call fcn.004098b0
cmp dword [esp + 0x54], ebp
mov dword [esp + 0x1c], 1
jb 0x5153af
mov eax, dword [esp + 0x40]
push eax
call fcn.00594e98
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.00409f20
lea ecx, [esp + 0xa4]
push ecx
mov dword [esp + 0xa8], vtable.std::ios_base.0
call fcn.005cccbe
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.005b0968
add esp, 0x1270
ret