Function at 0x41dd50
Capabilities:
Get disk information
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e1f6
mov eax, dword fs:[0]
push eax
sub esp, 0x384
mov eax, dword [0x4c6374]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.004793f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push str.SystemDrive
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x41df52
push 0x98
push eax
lea eax, [ebp - 0x2b0]
push eax
call fcn.004793f0
add esp, 4
lea ecx, [ebp - 0x2b0]
call fcn.00408c30
mov edx, str.Get_SystemDrive__Errror:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2b0]
call fcn.0040b820
lea edx, [ebp - 0x218]
mov ecx, eax
call fcn.0040b820
push 0x17
push str.CInstall::GetSystemPath
lea ecx, [ebp - 0x378]
mov dword [ebp - 0x364], 0xf
mov dword [ebp - 0x368], 0
mov byte [ebp - 0x378], 0
call fcn.0040f450
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x360]
push 0xb
push str.Install.cpp
mov dword [ebp - 0x34c], 0xf
mov dword [ebp - 0x350], 0
mov byte [ebp - 0x360], 0
call fcn.0040f450
lea eax, [ebp - 0x390]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00408b50
push eax
lea eax, [ebp - 0x378]
mov byte [ebp - 4], 3
push eax
push 0x6a
lea eax, [ebp - 0x360]
push eax
push ecx
call fcn.0041f440
mov ecx, eax
call fcn.0041f910
mov eax, dword [ebp - 0x37c]
cmp eax, 8
jb 0x41deac
inc eax
lea ecx, [ebp - 0x390]
push eax
push dword [ebp - 0x390]
call fcn.0040f5b0
xor eax, eax
mov dword [ebp - 0x37c], 7
mov word [ebp - 0x390], ax
mov eax, dword [ebp - 0x34c]
mov dword [ebp - 0x380], 0
cmp eax, 0x10
jb 0x41dee7
inc eax
lea ecx, [ebp - 0x360]
push eax
push dword [ebp - 0x360]
call fcn.0040f330
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x34c], 0xf
mov dword [ebp - 0x350], 0
mov byte [ebp - 0x360], 0
cmp eax, 0x10
jb 0x41df20
inc eax
lea ecx, [ebp - 0x378]
push eax
push dword [ebp - 0x378]
call fcn.0040f330
lea ecx, [ebp - 0x260]
call fcn.00408b70
lea eax, [ebp - 0x260]
mov dword [ebp - 4], 4
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0042f0f8
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp word [ebp - 0x218], 0
jne 0x41df60
xor ecx, ecx
jmp 0x41df7f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41df70
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.0040e610
cmp dword [esi + 0x10], 3
jbe 0x41e133
push 0x98
lea eax, [ebp - 0x2b0]
push 0
push eax
call fcn.004793f0
add esp, 4
lea ecx, [ebp - 0x2b0]
call fcn.00408c30
mov edx, str.SystemPath_length_Error:
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x2b0]
call fcn.0040b820
mov edx, esi
mov ecx, eax
call fcn.0040be40
push 0x17
push str.CInstall::GetSystemPath
lea ecx, [ebp - 0x378]
mov dword [ebp - 0x364], 0xf
mov dword [ebp - 0x368], 0
mov byte [ebp - 0x378], 0
call fcn.0040f450
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x360]
push 0xb
push str.Install.cpp
mov dword [ebp - 0x34c], 0xf
mov dword [ebp - 0x350], 0
mov byte [ebp - 0x360], 0
call fcn.0040f450
lea eax, [ebp - 0x390]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00408b50
push eax
lea eax, [ebp - 0x378]
mov byte [ebp - 4], 8
push eax
push 0x6e
lea eax, [ebp - 0x360]
push eax
push ecx
call fcn.0041f440
mov ecx, eax
call fcn.0041f910
mov eax, dword [ebp - 0x37c]
cmp eax, 8
jb 0x41e08d
inc eax
lea ecx, [ebp - 0x390]
push eax
push dword [ebp - 0x390]
call fcn.0040f5b0
xor eax, eax
mov dword [ebp - 0x37c], 7
mov word [ebp - 0x390], ax
mov eax, dword [ebp - 0x34c]
mov dword [ebp - 0x380], 0
cmp eax, 0x10
jb 0x41e0c8
inc eax
lea ecx, [ebp - 0x360]
push eax
push dword [ebp - 0x360]
call fcn.0040f330
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x34c], 0xf
mov dword [ebp - 0x350], 0
mov byte [ebp - 0x360], 0
cmp eax, 0x10
jb 0x41e101
inc eax
lea ecx, [ebp - 0x378]
push eax
push dword [ebp - 0x378]
call fcn.0040f330
lea ecx, [ebp - 0x260]
call fcn.00408b70
lea eax, [ebp - 0x260]
mov dword [ebp - 4], 9
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0042f0f8
add esp, 4
xor al, al
jmp 0x41e2f3
cmp dword [esi + 0x14], 8
jb 0x41e13d
mov eax, dword [esi]
jmp 0x41e13f
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
jne 0x41e2f1
push 0x98
push eax
lea eax, [ebp - 0x348]
push eax
call fcn.004793f0
add esp, 4
lea ecx, [ebp - 0x348]
call fcn.00408c30
mov edx, str.Error
mov dword [ebp - 4], 0xa
lea ecx, [ebp - 0x348]
call fcn.0040b820
mov edx, esi
mov ecx, eax
call fcn.0040be40
mov edx, str.:DRIVE_UNKNOWN
mov ecx, eax
call fcn.0040b820
push 0x17
push str.CInstall::GetSystemPath
lea ecx, [ebp - 0x378]
mov dword [ebp - 0x364], 0xf
mov dword [ebp - 0x368], 0
mov byte [ebp - 0x378], 0
call fcn.0040f450
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x360]
push 0xb
push str.Install.cpp
mov dword [ebp - 0x34c], 0xf
mov dword [ebp - 0x350], 0
mov byte [ebp - 0x360], 0
call fcn.0040f450
lea eax, [ebp - 0x390]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x348]
call fcn.00408b50
push eax
lea eax, [ebp - 0x378]
mov byte [ebp - 4], 0xd
push eax
push 0x74
lea eax, [ebp - 0x360]
push eax
push ecx
call fcn.0041f440
mov ecx, eax
call fcn.0041f910
mov eax, dword [ebp - 0x37c]
cmp eax, 8
jb 0x41e24e
inc eax
lea ecx, [ebp - 0x390]
push eax
push dword [ebp - 0x390]
call fcn.0040f5b0
xor eax, eax
mov dword [ebp - 0x37c], 7
mov word [ebp - 0x390], ax
mov eax, dword [ebp - 0x34c]
mov dword [ebp - 0x380], 0
cmp eax, 0x10
jb 0x41e289
inc eax
lea ecx, [ebp - 0x360]
push eax
push dword [ebp - 0x360]
call fcn.0040f330
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x34c], 0xf
mov dword [ebp - 0x350], 0
mov byte [ebp - 0x360], 0
cmp eax, 0x10
jb 0x41e2c2
inc eax
lea ecx, [ebp - 0x378]
push eax
push dword [ebp - 0x378]
call fcn.0040f330
lea ecx, [ebp - 0x2f8]
call fcn.00408b70
lea eax, [ebp - 0x2f8]
mov dword [ebp - 4], 0xe
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0042f0f8
add esp, 4
xor al, al
jmp 0x41e2f3
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00475cda
mov esp, ebp
pop ebp
ret 4