Function at 0x431f60
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x44eee1
mov eax, dword fs:[0]
push eax
mov eax, 0x123c
call fcn.00435600
mov eax, dword [0x466d98]
xor eax, esp
mov dword [esp + 0x1238], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x466d98]
xor eax, esp
push eax
lea eax, [esp + 0x1250]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1260]
test ebp, ebp
mov ebx, dword [esp + 0x1264]
je 0x432296
cmp byte [ebp], 0
je 0x432296
mov edi, dword [esp + 0x1268]
test edi, edi
je 0x431fdb
test ebx, ebx
je 0x432296
cmp byte [ebx], 0
je 0x432296
push 0xfff
lea eax, [esp + 0x251]
push 0
push eax
mov byte [esp + 0x258], 0
call fcn.00435580
add esp, 0xc
lea ecx, [esp + 0x24c]
push ecx
push 0xfff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x4321f2
mov edx, dword [str._:Recycled]
mov eax, dword [0x454c80]
mov ecx, dword [0x454c84]
push 0x74
mov dword [esp + 0x150], edx
lea edx, [esp + 0x15c]
push 0
push edx
lea esi, [esp + 0x258]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], ecx
call fcn.00435580
mov eax, dword [str._:Recycler]
mov ecx, dword [0x454c74]
mov edx, dword [0x454c78]
push 0x74
mov dword [esp + 0x1dc], eax
lea eax, [esp + 0x1e8]
push 0
push eax
mov dword [esp + 0x1e8], ecx
mov dword [esp + 0x1ec], edx
call fcn.00435580
mov edx, dword [0x454c64]
mov ecx, dword [str._:_Recycle.Bin]
mov eax, dword [0x454c68]
push 0x70
mov dword [esp + 0xec], edx
mov dword [esp + 0xe8], ecx
mov ecx, dword [0x454c6c]
lea edx, [esp + 0xf8]
push 0
push edx
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], ecx
call fcn.00435580
add esp, 0x24
push 0x45734d
lea ecx, [esp + 0xb4]
call fcn.00403c70
test edi, edi
mov dword [esp + 0x1258], 0
lea ecx, [esp + 0xb0]
je 0x4320ff
push str.ywSMPOnlyId.log
jmp 0x432104
push str.ywSMPOnlyId
call fcn.00415120
lea esp, [esp]
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x4321d0
push esi
call fcn.00431d80
add esp, 4
test eax, eax
jne 0x4321d0
cmp dword [esp + 0xc8], 0x10
mov al, byte [esi]
mov byte [esp + 0x14c], al
mov byte [esp + 0x1cc], al
mov byte [esp + 0xcc], al
mov eax, dword [esp + 0xb4]
jae 0x432160
lea eax, [esp + 0xb4]
push edi
push ebx
push ebp
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.004317a0
mov eax, dword [esp + 0xc8]
add esp, 0x14
cmp dword [esp + 0xc8], 0x10
jae 0x43218c
lea eax, [esp + 0xb4]
push edi
push ebx
push ebp
push eax
lea ecx, [esp + 0x15c]
push ecx
call fcn.004317a0
mov eax, dword [esp + 0xc8]
add esp, 0x14
cmp dword [esp + 0xc8], 0x10
jae 0x4321b8
lea eax, [esp + 0xb4]
push edi
push ebx
push ebp
push eax
lea edx, [esp + 0x1dc]
push edx
call fcn.004317a0
add esp, 0x14
lea esp, [esp]
mov al, byte [esi]
add esi, 1
test al, al
jne 0x4321d0
cmp byte [esi], al
jne 0x432110
lea ecx, [esp + 0xb0]
call fcn.00403ce0
jmp 0x432296
push 1
push 2
lea ecx, [esp + 0x38]
call fcn.00404370
lea ecx, [esp + 0x30]
push 0x454a0c
push ecx
mov dword [esp + 0x1260], 1
call fcn.004073a0
add esp, 8
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x34]
call fcn.004044d0
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x1258], 2
jb 0x43223d
mov eax, dword [eax + 4]
jmp 0x432240
add eax, 4
push eax
push str.SaveOnlyIdBuffer
push 0x9a
push str..ywSMPpubDeviceOnlyId.cpp
push 0xf0000000
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
lea ecx, [esp + 0x14]
call fcn.00403ce0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x1258], 0xffffffff
call fcn.00404450
lea eax, [esp + 0x7c]
push eax
mov dword [esp + 0x80], vtable.std::ios_base.0
call fcn.004339e9
add esp, 4
mov ecx, dword [esp + 0x1250]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1238]
xor ecx, esp
call fcn.00433d68
add esp, 0x1248
ret