Function at 0x41bc10
Capabilities:
Get common file path
Get disk information
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x41f7e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x934
mov eax, dword [0x424038]
push esi
push edi
mov dword [esp + 8], eax
mov ecx, dword [0x4244d8]
mov eax, dword [0x4244dc]
mov dword [esp + 0x18], ecx
mov cl, byte [0x4244e0]
xor edx, edx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], cl
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x540]
mov dword [esp + 0x53c], edx
mov byte [esp + 0x13c], al
rep stosd dword es:[edi], eax
mov ecx, 0xff
lea edi, [esp + 0x13d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x944], edx
mov byte [esp + 0x34], dl
stosb byte es:[edi], al
mov dword [esp + 0x10], edx
lea edx, [esp + 0x13c]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x35]
push edx
rep stosd dword es:[edi], eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x41bcf6
mov al, byte [esp + 0x13c]
lea edx, [esp + 0x13c]
test al, al
je 0x41bcf6
lea esi, [esp + 0x53c]
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
mov dword [esi], edx
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x10]
add esi, 4
not ecx
dec ecx
inc edi
mov dword [esp + 0x10], edi
mov al, byte [edx + ecx + 1]
lea edx, [edx + ecx + 1]
test al, al
jne 0x41bcd0
lea eax, [esp + 0x34]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x41bd25
lea ecx, [esp + 0x34]
push 0x424560
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x41bd25
mov byte [eax + 1], 0
mov eax, dword [esp + 0x10]
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x34], 0
test eax, eax
mov dword [esp + 0x14], 0xffffffff
jle 0x41bde9
lea edx, [esp + 0x544]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
mov edi, dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x41bdc9
mov esi, edi
lea eax, [esp + 0x3c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x41bd8e
test cl, cl
je 0x41bd8a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x41bd8e
add eax, 2
add esi, 2
test cl, cl
jne 0x41bd6a
xor eax, eax
jmp 0x41bd93
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41bdc9
push 0
lea eax, [esp + 0x30]
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x41bdc9
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
cmp eax, ebx
jb 0x41bdc9
ja 0x41bdbf
cmp ecx, dword [esp + 0x34]
jbe 0x41bdc9
mov dword [esp + 0x34], ecx
mov ebx, eax
mov dword [esp + 0x14], ebp
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
inc ebp
add ecx, 4
cmp ebp, eax
mov dword [esp + 0x1c], ecx
jl 0x41bd52
mov eax, dword [esp + 0x14]
test eax, eax
jge 0x41be18
lea ecx, [esp + 0x3c]
test ecx, ecx
jne 0x41bdf5
xor ebp, ebp
jmp 0x41be02
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, eax
push ebp
lea ecx, [esp + 0x14]
call fcn.00414720
test eax, eax
je 0x41be61
mov ecx, ebp
lea esi, [esp + 0x3c]
jmp 0x41be40
mov esi, dword [esp + eax*4 + 0x544]
test esi, esi
jne 0x41be27
xor ebp, ebp
jmp 0x41be30
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, eax
push ebp
lea ecx, [esp + 0x14]
call fcn.00414720
test eax, eax
je 0x41be61
mov ecx, ebp
mov edi, dword [esp + 0x10]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], ebp
mov edx, dword [esp + 0x10]
mov byte [edx + ebp], 0
mov esi, dword [esp + 0x954]
push 0x424940
mov eax, dword [esi]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
pop ebp
pop ebx
jne 0x41bf1f
lea eax, [esp + 0x18]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
call fcn.00411c80
mov edi, eax
mov ecx, dword [esi]
mov eax, dword [edi]
cmp ecx, eax
mov byte [esp + 0x944], 1
je 0x41bee7
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x41bebd
mov edx, dword [0x42403c]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x41bec4
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x41bed2
push eax
mov eax, dword [eax - 8]
push eax
mov ecx, esi
call fcn.00413790
jmp 0x41bee7
mov ecx, esi
call fcn.004105b0
mov eax, dword [edi]
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0xc]
mov edx, dword [0x42403c]
mov byte [esp + 0x944], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41bfb6
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41bfb6
mov edx, dword [esp + 0xc]
jmp 0x41bfaa
lea eax, [esp + 8]
push esi
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.00413840
mov edi, eax
mov ecx, dword [esi]
mov eax, dword [edi]
cmp ecx, eax
mov byte [esp + 0x944], 2
je 0x41bf7f
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x41bf55
mov edx, dword [0x42403c]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x41bf5c
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x41bf6a
mov edx, dword [eax - 8]
push eax
push edx
mov ecx, esi
call fcn.00413790
jmp 0x41bf7f
mov ecx, esi
call fcn.004105b0
mov edi, dword [edi]
mov dword [esi], edi
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0xc]
mov edx, dword [0x42403c]
mov byte [esp + 0x944], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41bfb6
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41bfb6
mov edx, dword [esp + 0xc]
lea eax, [edx - 0xc]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 8]
mov dword [esp + 0x944], 0xffffffff
call fcn.0040e080
mov ecx, dword [esp + 0x93c]
pop edi
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x940
ret