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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473035
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.00456e27
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x41168a
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 0x41185f
push eax
push edi
call esi
mov eax, dword [ebp - 0x30]
mov edi, eax
cmp word [eax], 0
je 0x411842
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.0x4116da.5
jmp dword [esi*4 + 0x4118a0]
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 0x411700
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00419d90
mov byte [ebp - 4], 1
jmp 0x4117b0
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 0x411740
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00419d90
mov byte [ebp - 4], 2
jmp 0x4117b0
cmp byte [0x4970c2], 0
je case.0x4116da.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 0x411790
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00419d90
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
je 0x4117e1
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 0x4117f1
lea ecx, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.0041c5f0
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 0
cmp eax, 8
jb case.0x4116da.5
mov ecx, dword [ebp - 0x48]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41181e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411899
push edx
push ecx
call fcn.00437415
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 0x4116a0
mov eax, dword [ebp - 0x30]
push eax
call fcn.004567ea
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.00418ea0
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.004373d4
mov esp, ebp
pop ebp
ret
call fcn.0045219a
nop
and eax, 0xe1004117
push ss
inc ecx
add byte [edx + 0x17], ah
inc ecx
add byte [eax], ch
sbb byte [ecx], al