Function at 0x442e80
Capabilities:
Enumerate disk volumes
Get disk information
Get disk size

Disassembly:
sub esp, 0x234
mov eax, dword [0x5b0c20]
xor eax, esp
mov dword [esp + 0x230], eax
mov eax, dword [esp + 0x238]
push ebx
push esi
push edi
mov dword [esp + 0x24], eax
call fcn.00441fa0
xor ecx, ecx
xor edx, edx
mov word [0x5f1d60], cx
mov word [0x5efe60], dx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
mov ebx, eax
test bl, 1
je 0x442ee7
push 0x80
push 0x5f1d60
push 0x55118c
call esi
test eax, eax
jne 0x442ee7
mov word [0x5f1d60], ax
test bl, 2
je 0x442f0a
push 0x80
push 0x5efe60
push 0x551184
call esi
test eax, eax
jne 0x442f0a
xor ecx, ecx
mov word [0x5efe60], cx
push 0x104
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov edi, eax
mov dword [esp + 0x28], edi
cmp edi, 0xffffffff
je 0x4431b2
push ebp
lea ebx, [ebx]
mov eax, dword [esp + 0x254]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00441d40
add esp, 8
test eax, eax
je 0x443198
push 0x3bc
call fcn.00501894
mov esi, eax
add esp, 4
test esi, esi
je 0x442f30
lea eax, [esp + 0x38]
mov edx, esi
mov ecx, eax
sub edx, ecx
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x442f70
lea edx, [esp + 0x38]
push edx
call fcn.00441e90
add esp, 4
mov word [esi + 0x288], ax
test ax, ax
jne 0x442fb6
lea eax, [esp + 0x38]
push eax
mov dword [0x5f1e64], 0
call fcn.00441e90
add esp, 4
mov word [esi + 0x288], ax
xor ecx, ecx
push 0x10
lea eax, [esi + 0x208]
mov word [eax], cx
xor edx, edx
mov word [esi + 0x32a], cx
lea ebp, [esi + 0x32a]
lea ecx, [esi + 0x28a]
push ecx
mov word [ecx], dx
mov word [esi + 0x2aa], dx
mov dword [esi + 0x3b8], edx
mov edx, dword [esp + 0x30]
lea ebx, [esi + 0x2aa]
mov dword [esi + 0x3ac], 0xffffffff
lea ecx, [esp + 0x38]
push ecx
mov dword [edx], 1
lea edx, [esp + 0x40]
push edx
push 0
push 0x40
push eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x443132
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x443030
sub eax, edx
sar eax, 1
movzx eax, word [esi + eax*2 - 2]
cmp ax, 0x5c
je 0x44306d
cmp ax, 0x2f
je 0x44306d
mov edi, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x443055
mov ecx, dword [0x554368]
mov dword [edi], ecx
mov edi, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x443132
mov eax, dword [esp + 0x24]
imul eax, dword [esp + 0x20]
mov ecx, eax
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
test ecx, ecx
jge 0x4430ad
fadd dword [0x552108]
imul eax, dword [esp + 0x14]
fmul qword [0x552fa0]
fstp dword [esp + 0x1c]
shr eax, 0xa
mov dword [esi + 0x3b0], eax
mov edx, dword [esp + 0x24]
imul edx, dword [esp + 0x20]
imul edx, dword [esp + 0x18]
shr edx, 0xa
mov dword [esi + 0x3b4], edx
mov eax, dword [esp + 0x14]
fild dword [esp + 0x14]
push ebx
test eax, eax
jge 0x4430ef
fadd dword [0x552108]
fmul dword [esp + 0x20]
push ecx
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp]
call fcn.0044f140
mov ecx, dword [esp + 0x20]
fild dword [esp + 0x20]
add esp, 8
push ebp
test ecx, ecx
jge 0x44311a
fadd dword [0x552108]
fmul dword [esp + 0x20]
push ecx
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp]
call fcn.0044f140
add esp, 8
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x443137
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 - 2], 0x5c
jne 0x443169
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x443153
sub eax, edx
sar eax, 1
xor edx, edx
mov word [esi + eax*2 - 2], dx
mov eax, dword [0x5f1e60]
test eax, eax
jne 0x443180
mov dword [0x5f1e60], esi
jmp 0x443198
mov ecx, dword [eax + 0x3b8]
test ecx, ecx
je 0x443192
mov eax, ecx
test eax, eax
jne 0x443180
jmp 0x443198
mov dword [eax + 0x3b8], esi
push 0x104
lea eax, [esp + 0x3c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x442f30
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00524d83
add esp, 0x234
ret