Function at 0x4115a0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473085
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x493018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x30], eax
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push 0
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
call esi
mov edi, eax
xor ecx, ecx
mov edx, 2
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00456f2a
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x41164a
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esi], eax
mov dword [esi + 8], ecx
jmp 0x41181f
push eax
push edi
call esi
mov eax, dword [ebp - 0x30]
mov edi, eax
cmp word [eax], 0
je 0x411802
nop dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0
mov esi, eax
lea eax, [ebp - 0x2c]
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov cx, word [edi]
xorps xmm0, xmm0
add esi, 0xfffffffe
movlpd qword [ebp - 0x18], xmm0
mov word [ebp - 0x18], cx
mov dword [ebp - 0x16], 0x5c003a
cmp esi, 3
ja case.0x41169a.5
jmp dword [esi*4 + 0x411860]
xor eax, eax
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4116c0
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00419d50
mov byte [ebp - 4], 1
jmp 0x411770
xor eax, eax
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411700
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00419d50
mov byte [ebp - 4], 2
jmp 0x411770
cmp byte [0x4970c2], 0
je case.0x41169a.5
xor eax, eax
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411750
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00419d50
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
je 0x4117a1
movups xmm0, xmmword [ebp - 0x48]
mov dword [eax + 0x10], 0
xor ecx, ecx
mov word [ebp - 0x48], cx
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x38]
movq qword [eax + 0x10], xmm0
mov eax, 7
add dword [ebp - 0x20], 0x18
jmp 0x4117b1
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.0041c580
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 0
cmp eax, 8
jb case.0x41169a.5
mov ecx, dword [ebp - 0x48]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4117de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411859
push edx
push ecx
call fcn.004373a7
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2]
add edi, 2
cmp word [edi], 0
jne 0x411660
mov eax, dword [ebp - 0x30]
push eax
call fcn.00456849
mov esi, dword [ebp - 0x4c]
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [esi], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 8], eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.00418e60
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.00437366
mov esp, ebp
pop ebp
ret
call fcn.0045212a
nop
in eax, 0x16
inc ecx
add byte [ecx + 0x22004116], ah
pop ss
inc ecx
add al, ch
pop ss
inc ecx
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp