Function at 0x6787fcf0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67938f23
mov eax, dword fs:[0]
push eax
mov eax, 0x1094
call fcn.67935380
mov eax, dword [0x67ad7034]
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 - 0x1064], edi
mov dword [ebp - 0x1084], edi
xorps xmm0, xmm0
mov dword [ebp - 0x1080], 0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
push 0x104
mov dword [ebp - 0x1080], 1
call fcn.67934d46
push 0x104
mov esi, eax
push 0
push esi
mov dword [ebp - 0x1064], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
push esi
push 0x104
call dword [sym.imp.kernel32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x6788006c
xor ecx, ecx
mov dword [ebp - 0x1060], ecx
nop word [eax + eax]
mov al, byte [ecx + esi]
test al, al
je 0x6788005a
mov dword [ebp - 0x1040], 0
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0xf
mov byte [ebp - 0x1040], 0
mov dword [ebp - 0x1028], 0
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
mov dword [ebp - 4], 3
mov byte [ebp - 0x105c], al
movzx eax, byte [ecx + esi + 1]
mov byte [ebp - 0x105b], al
movzx eax, byte [ecx + esi + 2]
mov byte [ebp - 0x105a], al
mov dword [ebp - 0x107c], 0
push 3
lea eax, [ebp - 0x105c]
mov dword [ebp - 0x106c], 0
push eax
lea ecx, [ebp - 0x107c]
mov dword [ebp - 0x1068], 0xf
mov byte [ebp - 4], 3
call fcn.677d7ac0
lea eax, [ebp - 0x107c]
push eax
lea ecx, [ebp - 0x1040]
call fcn.67877c80
mov edx, dword [ebp - 0x1068]
cmp edx, 0x10
jb 0x6787feaa
mov ecx, dword [ebp - 0x107c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6787fea0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x67880092
push edx
push ecx
call fcn.67934867
add esp, 8
cmp dword [ebp - 0x1014], 0x10
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x1018], 0
lea edx, [ebp - 0x1040]
cmovae eax, dword [ebp - 0x1028]
lea ecx, [ebp - 0x1058]
mov byte [eax], 0
call fcn.678770e0
push 0
push 0
push 0
push 0
push 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1010]
cmp dword [ebp - 0x1044], 8
lea eax, [ebp - 0x1058]
push 0x800
cmovae eax, dword [ebp - 0x1058]
push ecx
push eax
call dword [sym.imp.kernel32.dll_GetVolumeInformationW]
test eax, eax
je 0x6787fff7
mov dword [ebp - 0x107c], 0
xor eax, eax
mov dword [ebp - 0x106c], 0
mov word [ebp - 0x107c], ax
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1068], 7
lea edx, [eax + 2]
mov byte [ebp - 4], 5
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6787ff50
sub eax, edx
lea ecx, [ebp - 0x107c]
sar eax, 1
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.677d7880
lea edx, [ebp - 0x107c]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10a0]
call fcn.6787f720
push eax
lea ecx, [ebp - 0x1028]
call fcn.67877c80
mov edx, dword [ebp - 0x108c]
cmp edx, 0x10
jb 0x6787ffcd
mov ecx, dword [ebp - 0x10a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x6787ffc3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x67880092
push edx
push ecx
call fcn.67934867
add esp, 8
lea ecx, [ebp - 0x107c]
mov dword [ebp - 0x1090], 0
mov dword [ebp - 0x108c], 0xf
mov byte [ebp - 0x10a0], 0
mov byte [ebp - 4], 5
call fcn.677d8a30
mov esi, dword [edi + 4]
lea eax, [ebp - 0x1040]
push eax
cmp esi, dword [edi + 8]
je 0x6788002c
mov ecx, esi
mov dword [ebp - 0x1088], esi
call fcn.677d84b0
lea eax, [ebp - 0x1028]
mov byte [ebp - 4], 9
lea ecx, [esi + 0x18]
push eax
call fcn.677d84b0
add dword [edi + 4], 0x30
jmp 0x67880034
push esi
mov ecx, edi
call fcn.67890e70
lea ecx, [ebp - 0x1058]
call fcn.677d8a30
lea ecx, [ebp - 0x1040]
mov byte [ebp - 4], 0
call fcn.678800a0
mov ecx, dword [ebp - 0x1060]
mov esi, dword [ebp - 0x1064]
add ecx, 4
mov dword [ebp - 0x1060], ecx
cmp ecx, 0x64
jl 0x6787fdb0
push esi
call fcn.67934d41
add esp, 4
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.679343f5
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3