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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472fc5
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.00456dd7
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x41165a
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 0x41182f
push eax
push edi
call esi
mov eax, dword [ebp - 0x30]
mov edi, eax
cmp word [eax], 0
je 0x411812
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.0x4116aa.5
jmp dword [esi*4 + 0x411870]
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 0x4116d0
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00419d70
mov byte [ebp - 4], 1
jmp 0x411780
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 0x411710
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00419d70
mov byte [ebp - 4], 2
jmp 0x411780
cmp byte [0x4970c2], 0
je case.0x4116aa.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 0x411760
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00419d70
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
je 0x4117b1
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 0x4117c1
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.0041c5a0
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 0
cmp eax, 8
jb case.0x4116aa.5
mov ecx, dword [ebp - 0x48]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4117ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411869
push edx
push ecx
call fcn.004373c7
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 0x411670
mov eax, dword [ebp - 0x30]
push eax
call fcn.0045679a
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.00418e80
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.00437386
mov esp, ebp
pop ebp
ret
call fcn.0045214a
nop
cmc
push ss
inc ecx
add byte [ecx + 0x32004116], dh
pop ss
inc ecx
add al, bh
pop ss
inc ecx
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp