Function at 0x443770
Capabilities:
Check os version
Get common file path
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x578de8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c4
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], 0
mov edi, 1
mov dword [esp + 0x2dc], edi
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x288]
test ecx, ecx
je 0x44383c
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x18]
add eax, 0x28c
push eax
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2dc], 2
mov eax, dword [eax - 8]
add eax, 0xfffffffb
push eax
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2e0], 3
call fcn.00572d3c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2dc], 2
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x2e4]
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 0x14], edi
mov byte [esp + 0x2dc], 1
lea ecx, [esp + 0x18]
jmp 0x443d19
lea eax, [esp + 0x1d0]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x1d0]
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.004e0740
add esp, 8
mov eax, dword [esp + 0x20]
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
push eax
mov byte [esp + 0x2e0], 4
call ebp
cmp eax, 3
mov ebx, 5
jne 0x4438ec
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
lea edx, [esp + 0x28]
push str.Program_Files
push edx
push ecx
call sub.MFC42.DLL_operator
call fcn.00443380
add esp, 8
test eax, eax
je 0x4438ec
lea eax, [esp + 0x20]
push str.Program_Files
lea ecx, [esp + 0x20]
push eax
push ecx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x30]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
jmp 0x44397c
lea ecx, [esp + 0x30]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x30]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.004e0740
add esp, 8
lea ecx, [esp + 0x10]
push str.Program_Files
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x2e8], bl
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2e0], 6
call fcn.00572d3c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2dc], bl
call sub.MFC42.DLL_CString::CString
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x30]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x2dc], 4
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 0x134]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x134]
mov dword [esp + 0x134], 0x94
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x443cf2
mov eax, dword [esp + 0x144]
mov edi, 2
cmp eax, edi
jne 0x443cf2
mov eax, dword [esp + 0x138]
cmp eax, 4
jbe 0x443cf2
cmp eax, 6
jne 0x443c7f
mov eax, dword [esp + 0x13c]
test eax, eax
jne 0x443cd4
lea eax, [esp + 0x30]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.004e0740
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2dc], 7
call sub.MFC42.DLL_CString::MakeUpper
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_5
push 0x5f3788
lea ecx, [esp + 0x28]
mov byte [esp + 0x2e0], 8
call sub.MFC42.DLL_CString::CString_3
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
mov byte [esp + 0x2dc], 9
mov bl, 0x41
movsx edx, bl
push edx
lea eax, [esp + 0x1c]
push 0x5e38f0
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
call ebp
cmp eax, 3
jne 0x443af1
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push edx
push eax
call esi
add esp, 8
test eax, eax
je 0x443af1
mov ecx, dword [esp + 0x24]
push 0x5f3788
push ecx
call esi
add esp, 8
test eax, eax
jne 0x443aa5
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push edx
push str._sProgram_Files
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x443aaa
cmp bl, 0x48
jg 0x443b1d
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_5
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
push str._sProgram_Files
push edx
mov byte [esp + 0x2e8], 0xa
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
push eax
call fcn.00443450
add esp, 0x10
test al, al
jne 0x443afe
lea ecx, [esp + 0x10]
mov byte [esp + 0x2dc], 9
call sub.MFC42.DLL_CString::CString
inc bl
cmp bl, 0x5a
jle 0x443a40
jmp 0x443b1d
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x28]
call fcn.00572d3c
lea ecx, [esp + 0x10]
mov byte [esp + 0x2dc], 9
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x2e8]
push 0x5f3788
push edx
call esi
add esp, 8
test eax, eax
je 0x443b9b
mov eax, dword [esp + 0x24]
push 0x5f3788
push eax
call esi
add esp, 8
test eax, eax
je 0x443b9b
push 1
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_4
call fcn.00443380
add esp, 8
lea eax, [esp + 0x2e8]
lea ecx, [esp + 0x10]
push eax
push 0x5e2e34
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x2e0], 0xb
call fcn.00572d2a
lea ecx, [esp + 0x10]
mov byte [esp + 0x2dc], 9
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x24]
push 0x5f3788
push edx
call esi
add esp, 8
test eax, eax
jne 0x443bca
lea eax, [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x14], edi
mov byte [esp + 0x2dc], 0xc
jmp 0x443bce
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_4
mov al, byte [esp + 0x14]
mov dword [esp + 0x2dc], 0xe
test al, 2
je 0x443bfe
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
and al, 0xfd
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_CString::CString
push 1
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_4
call fcn.00443380
mov esi, dword [esp + 0x2ec]
add esp, 8
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x28]
or al, 1
mov byte [esp + 0x2dc], 9
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x2dc], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2dc], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2dc], 4
call sub.MFC42.DLL_CString::CString
jmp 0x443d0d
cmp eax, ebx
jne 0x443cd4
mov eax, dword [esp + 0x13c]
cmp eax, edi
jne 0x443c95
lea ecx, [esp + 0x30]
push ecx
jmp 0x443cf7
mov edi, 1
cmp eax, edi
jne 0x443cb7
mov esi, dword [esp + 0x2e4]
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x14], edi
jmp 0x443d0d
test eax, eax
jne 0x443cd9
mov esi, dword [esp + 0x2e4]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x14], edi
jmp 0x443d0d
mov edi, 1
mov esi, dword [esp + 0x2e4]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x14], edi
jmp 0x443d0d
lea edx, [esp + 0x30]
push edx
mov esi, dword [esp + 0x2e8]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x14], 1
mov byte [esp + 0x2dc], 1
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2e8]
mov byte [esp + 0x2dc], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2d4]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2d0
ret