Function at 0x439360
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d18cd
mov eax, dword fs:[0]
push eax
sub esp, 0x68
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 esi, ecx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
setae byte [ebp - 0x49]
mov dword [ebp - 0x48], ecx
cmp eax, 4
jbe 0x4393e4
lea edx, [eax - 4]
add ecx, 8
xor edi, edi
test edx, edx
je 0x4393d9
cmp word [ecx], 0x5c
je 0x4393d4
cmp edx, 1
je 0x4393d6
add ecx, 2
dec edx
cmp word [ecx], 0x5c
jne 0x4393c5
mov edi, ecx
mov eax, dword [ebp + 0x18]
test edi, edi
je 0x4393e4
sub edi, dword [ebp - 0x48]
sar edi, 1
jmp 0x4393e7
or edi, 0xffffffff
mov dword [ebp - 0x28], 0
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], cl
mov word [ebp - 0x28], cx
lea ecx, [edi + 1]
cmp eax, ecx
mov dword [ebp - 0x14], 7
cmovb ecx, eax
cmp byte [ebp - 0x49], 0
lea eax, [ebp + 8]
cmovne eax, dword [ebp + 8]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004123e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
mov dword [ebp - 0x48], 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
mov eax, dword [ebp - 0x48]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00485139
mov edi, eax
add esp, 4
mov dword [ebp - 0x2c], edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x28]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x4395c5
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x439493
movups xmm0, xmmword [ebp + 8]
sub eax, edx
sar eax, 1
jne 0x4394e2
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp + 0x18]
movq qword [esi + 0x10], xmm0
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
jmp 0x43958f
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [ebp + 0x18]
movq qword [ebp - 0x34], xmm0
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
mov dword [ebp - 0x6c], eax
mov ecx, edi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
mov byte [ebp - 4], 8
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439520
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x6c]
call fcn.004123e0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x58], 8
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x44]
cmovae eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x54]
push eax
call fcn.0040f2f0
add esp, 4
mov ecx, esi
push eax
call fcn.00412740
lea ecx, [ebp - 0x6c]
call fcn.004127e0
lea ecx, [ebp - 0x44]
call fcn.004127e0
push edi
call fcn.00485360
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.004127e0
lea ecx, [ebp + 8]
call fcn.004127e0
mov eax, esi
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
lea ecx, [ebp - 0x28]
call fcn.00412590
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push str.Unable_to_retrieve_volume_paths_for_volume__ls_
push eax
lea ecx, [ebp - 0x68]
call fcn.0041bc90
push 0x5057bc
lea eax, [ebp - 0x68]
push eax
call fcn.004a0209
int3