Function at 0x4260a0
Capabilities:
Get disk information
Get disk information via ioctl
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e146d
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x660ff8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, edx
mov dword [ebp - 0x284], edi
mov esi, ecx
mov dword [ebp - 0x288], esi
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x3c], 7
movups xmmword [ebp - 0x50], xmm0
mov word [ebp - 0x50], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x50]
push str.GetDriveInformation
mov byte [ebp - 0x54], al
call fcn.00414980
mov dword [ebp - 4], 1
call fcn.0041c750
cmp dword [eax + 4], 4
jl 0x42612a
push ecx
lea ecx, [ebp - 0x54]
call fcn.004127b0
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x426134
mov dword [esi + 4], eax
push 0x322
mov dword [edi], 0
mov dword [edi + 4], 0
mov byte [ebp - 4], 2
call fcn.0048593a
add esp, 4
mov esi, eax
mov dword [ebp - 0x278], esi
push esi
push 0x190
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
nop word [eax + eax]
xor eax, eax
cmp ax, word [esi]
je 0x426394
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x426331
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x280]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x426331
push 0x208
lea eax, [ebp - 0x25c]
push 0
push eax
call fcn.005b4d50
mov edi, dword [ebp - 0x280]
add esp, 0xc
mov eax, dword [ebp - 0x290]
mov edx, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x28c]
mov dword [ebp - 0x26c], edi
sub edi, eax
mov dword [ebp - 0x268], edx
sbb edx, ecx
mov dword [ebp - 0x270], ecx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x264], edi
mov dword [ebp - 0x260], edx
call fcn.004078f2
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
cmp eax, 0x100
jbe 0x42623d
cmp eax, 0xff
jb 0x4263b8
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0xff
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
mov word [eax + 0x1fe], cx
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [ebp - 0x284]
mov ecx, esi
mov eax, dword [ebp - 0x280]
add dword [edi], eax
mov eax, dword [ebp - 0x27c]
adc dword [edi + 4], eax
call fcn.004263d0
cmp eax, 0xffffffff
je 0x4262b8
push 0
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x30], 0
push ecx
push 0xc
lea ecx, [ebp - 0x38]
xorps xmm0, xmm0
push ecx
push 0
push 0
push 0x2d1080
push eax
movq qword [ebp - 0x38], xmm0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4262b8
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0
mov edx, dword [ebp - 0x288]
mov eax, dword [edx + 4]
cmp eax, dword [edx + 8]
je 0x4262e4
mov ecx, 0x88
lea esi, [ebp - 0x274]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
add dword [edx + 4], 0x220
mov esi, dword [ebp - 0x278]
jmp 0x4262f3
lea ecx, [ebp - 0x274]
push ecx
push eax
mov ecx, edx
call fcn.004269f0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x426331
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x426327
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4263bd
push ecx
push edx
call fcn.005b0fc9
add esp, 8
xor eax, eax
cmp ax, word [esi]
je 0x426342
add esi, 2
xor eax, eax
cmp ax, word [esi]
jne 0x426338
add esi, 2
mov dword [ebp - 0x278], esi
jmp 0x426170
lea ecx, [ebp - 0x54]
call fcn.00414280
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b0d47
mov esp, ebp
pop ebp
ret
call fcn.004119f0
call fcn.005b7faf
int3