Function at 0x438f80
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1874
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x5080f4]
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 - 0x29c], edi
mov dword [ebp - 0x29c], edi
push 0x40
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov esi, eax
mov dword [ebp - 0x29c], esi
mov byte [ebp - 4], 1
cmp esi, 0xffffffff
je 0x439303
nop word [eax + eax]
lea eax, [ebp - 0x90]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x439000
sub eax, edx
sar eax, 1
je 0x4390cf
cmp word [ebp + eax*2 - 0x92], 0x5c
jne 0x439038
dec eax
add eax, eax
cmp eax, 0x80
jae 0x439354
xor ecx, ecx
mov word [ebp + eax - 0x90], cx
push 4
lea eax, [ebp - 0x90]
push 0x4ebf54
push eax
call fcn.004afce7
add esp, 0xc
lea ecx, [ebp - 0x88]
test eax, eax
lea eax, [ebp - 0x90]
cmovne ecx, eax
lea eax, [ebp - 0x298]
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x4390cf
push 0x4eafcc
lea eax, [ebp - 0x298]
push 0x104
push eax
call fcn.004b0787
lea ecx, [ebp - 0x298]
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4390a0
sub ecx, edx
lea eax, [ebp + 8]
sar ecx, 1
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x298]
push ecx
push eax
call fcn.004adb09
add esp, 0xc
test eax, eax
je 0x4390fe
push 0x40
lea eax, [ebp - 0x90]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x438ff0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp + 8]
cmp eax, 0x12
je 0x43932b
jmp 0x4392ed
movups xmm0, xmmword [ebp + 8]
movups xmmword [ebp - 0x2b4], xmm0
movq xmm0, qword [ebp + 0x18]
movq qword [ebp - 0x2a4], xmm0
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
mov dword [ebp - 0x30c], eax
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x2f8], 7
lea edx, [ecx + 2]
mov word [ebp - 0x30c], ax
mov byte [ebp - 4], 4
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439154
sub ecx, edx
lea eax, [ebp - 0x90]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x30c]
call fcn.004123e0
push 1
push 0x4eafcc
lea ecx, [ebp - 0x30c]
mov byte [ebp - 4], 6
call fcn.0040b4c0
mov dword [ebp - 0x2e4], 0
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2d0], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2e4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2d4], xmm0
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
cmp dword [ebp - 0x2d0], 8
lea eax, [ebp - 0x2e4]
mov dword [ebp - 0x2cc], ecx
cmovae eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x2bc], ecx
xor eax, eax
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x2b8], 7
mov word [ebp - 0x2cc], ax
lea edx, [ecx + 2]
mov byte [ebp - 4], 9
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439226
sub ecx, edx
lea eax, [ebp - 0x298]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2cc]
call fcn.004123e0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x2cc]
cmp dword [ebp - 0x2b8], 8
lea edx, [ebp - 0x2f4]
lea ecx, [ebp - 0x2b4]
cmovae eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2f0], eax
lea eax, [ebp - 0x2ec]
push eax
call fcn.0040f2f0
add esp, 4
mov ecx, edi
push eax
call fcn.00412740
lea ecx, [ebp - 0x2cc]
call fcn.004127e0
lea ecx, [ebp - 0x2e4]
call fcn.004127e0
lea ecx, [ebp - 0x30c]
call fcn.004127e0
lea ecx, [ebp - 0x2b4]
call fcn.004127e0
push esi
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
lea ecx, [ebp + 8]
call fcn.004127e0
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.00484d55
mov esp, ebp
pop ebp
ret
call fcn.00412590
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push str.Unable_to_convert_NT_path__ls_to_a_volume_GUID_path_
push eax
jmp 0x439338
push str.Unable_to_enumerate_volumes_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x2c8]
call fcn.0043e0b0
push 0x5057bc
lea eax, [ebp - 0x2c8]
push eax
call fcn.004a0209
call fcn.00412590
push eax
push str.Unable_to_convert_NT_path__ls_to_a_volume_GUID_path_
push 3
lea ecx, [ebp - 0x2c8]
call fcn.0041bc90
push 0x5057bc
lea eax, [ebp - 0x2c8]
push eax
call fcn.004a0209
call fcn.00485487
int3