Function at 0x409c00
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x410775
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x48600c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x34], edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor ecx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
shr eax, cl
test al, 1
je 0x409d9e
mov al, cl
mov word [ebp - 0x13], 0x5c3a
add al, 0x41
mov byte [ebp - 0x11], 0
mov byte [ebp - 0x14], al
xorps xmm0, xmm0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x38], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409c76
sub eax, edx
lea ecx, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403470
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x38]
mov eax, edx
mov ecx, dword [ebp - 0x3c]
sub eax, ecx
push 0x25
push str.ProgramDataMicrosoft_Manager_INC_vdb
cmp eax, 0x25
jb 0x409ccd
cmp edx, 0x10
lea esi, [ebp - 0x4c]
lea eax, [ecx + 0x25]
cmovae esi, dword [ebp - 0x4c]
add esi, ecx
mov dword [ebp - 0x3c], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x25], 0
lea eax, [ebp - 0x4c]
jmp 0x409cde
mov byte [ebp - 0x50], 0
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x50]
push 0x25
call fcn.00403690
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x409d38
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409d2e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409daf
push ecx
push edx
call fcn.0040f0fe
add esp, 8
sub esp, 0x18
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x38], 0xf
mov ecx, esp
mov byte [ebp - 0x4c], 0
push eax
call fcn.00402c00
call fcn.004065b0
add esp, 0x18
test al, al
jne 0x409db5
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x409d9b
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409d91
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409daf
push ecx
push edx
call fcn.0040f0fe
add esp, 8
mov ecx, dword [ebp - 0x30]
inc ecx
mov dword [ebp - 0x30], ecx
cmp ecx, 0x1a
jge 0x409ddc
mov eax, dword [ebp - 0x34]
jmp 0x409c40
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x2c]
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [edi + 0x10], xmm0
jmp 0x409dfe
xorps xmm0, xmm0
mov ecx, edi
push 0
movups xmmword [edi], xmm0
push 0x4124f0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.00403470
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040eba8
mov esp, ebp
pop ebp
ret