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

Disassembly:
push 0xffffffffffffffff
push 0x572698
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 fcn.00569c56
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x284]
test ecx, ecx
je 0x43fb3c
call fcn.00569c56
mov eax, dword [eax + 4]
lea ecx, [esp + 0x18]
add eax, 0x288
push eax
call fcn.005593a1
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 fcn.005549b4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2e0], 3
call fcn.00559765
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2dc], 2
call fcn.0055962c
mov esi, dword [esp + 0x2e4]
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.005593a1
mov dword [esp + 0x14], edi
mov byte [esp + 0x2dc], 1
lea ecx, [esp + 0x18]
jmp 0x440024
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.004c3480
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 0x43fbec
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 fcn.005598c1
call fcn.0043f6a0
add esp, 8
test eax, eax
je 0x43fbec
lea eax, [esp + 0x20]
push str.Program_Files
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.005598c1
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 0x43fc7c
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.004c3480
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 fcn.005598c1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2e0], 6
call fcn.00559765
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2dc], bl
call fcn.0055962c
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 fcn.0055962c
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 0x43fffd
mov eax, dword [esp + 0x144]
mov esi, 2
cmp eax, esi
jne 0x43fffd
mov eax, dword [esp + 0x138]
cmp eax, 4
jbe 0x43fffd
cmp eax, 6
jne 0x43ff8a
mov eax, dword [esp + 0x13c]
test eax, eax
jne 0x43ffdf
lea eax, [esp + 0x30]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.004c3480
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2dc], 7
call fcn.00559b2e
mov edx, dword [0x5e8e38]
mov dword [esp + 0x18], edx
push 0x5ed678
lea ecx, [esp + 0x28]
mov byte [esp + 0x2e0], 8
call fcn.0055969a
mov byte [esp + 0x2dc], 9
mov bl, 0x41
movsx eax, bl
push eax
lea ecx, [esp + 0x1c]
push 0x5d9924
push ecx
call fcn.00554dd4
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
call ebp
cmp eax, 3
jne 0x43fdf3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.00541319
add esp, 8
test eax, eax
je 0x43fdf3
mov edx, dword [esp + 0x24]
push 0x5ed678
push edx
call fcn.00541319
add esp, 8
test eax, eax
jne 0x43fda6
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push eax
push str._sProgram_Files
push ecx
call fcn.00554dd4
add esp, 0xc
jmp 0x43fdab
cmp bl, 0x48
jg 0x43fe1f
mov edx, dword [0x5e8e38]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push str._sProgram_Files
push ecx
mov byte [esp + 0x2e8], 0xa
call fcn.00554dd4
mov edx, dword [esp + 0x1c]
push edx
call fcn.0043f760
add esp, 0x10
test al, al
jne 0x43fe00
lea ecx, [esp + 0x10]
mov byte [esp + 0x2dc], 9
call fcn.0055962c
inc bl
cmp bl, 0x5a
jle 0x43fd3b
jmp 0x43fe1f
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
call fcn.00559765
lea ecx, [esp + 0x10]
mov byte [esp + 0x2dc], 9
call fcn.0055962c
mov ecx, dword [esp + 0x2e8]
push 0x5ed678
push ecx
call fcn.00541319
add esp, 8
test eax, eax
je 0x43fea3
mov edx, dword [esp + 0x24]
push 0x5ed678
push edx
call fcn.00541319
add esp, 8
test eax, eax
je 0x43fea3
push 1
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.005593a1
call fcn.0043f6a0
add esp, 8
lea ecx, [esp + 0x2e8]
lea edx, [esp + 0x10]
push ecx
push 0x5d8fbc
push edx
call fcn.00559935
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x2e0], 0xb
call fcn.00559a44
lea ecx, [esp + 0x10]
mov byte [esp + 0x2dc], 9
call fcn.0055962c
mov eax, dword [esp + 0x24]
push 0x5ed678
push eax
call fcn.00541319
add esp, 8
test eax, eax
jne 0x43fed5
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x14]
call fcn.0055969a
mov dword [esp + 0x14], esi
mov byte [esp + 0x2dc], 0xc
jmp 0x43fed9
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
call fcn.005593a1
mov al, byte [esp + 0x14]
mov dword [esp + 0x2dc], 0xe
test al, 2
je 0x43ff09
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
and al, 0xfd
mov dword [esp + 0x14], eax
call fcn.0055962c
push 1
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.005593a1
call fcn.0043f6a0
mov esi, dword [esp + 0x2ec]
add esp, 8
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.005593a1
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x28]
or al, 1
mov byte [esp + 0x2dc], 9
mov dword [esp + 0x14], eax
call fcn.0055962c
lea ecx, [esp + 0x24]
mov byte [esp + 0x2dc], 8
call fcn.0055962c
lea ecx, [esp + 0x18]
mov byte [esp + 0x2dc], 7
call fcn.0055962c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2dc], 4
call fcn.0055962c
jmp 0x440018
cmp eax, ebx
jne 0x43ffdf
mov eax, dword [esp + 0x13c]
cmp eax, esi
jne 0x43ffa0
lea ecx, [esp + 0x30]
push ecx
jmp 0x440002
mov edi, 1
cmp eax, edi
jne 0x43ffc2
mov esi, dword [esp + 0x2e4]
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.0055969a
mov dword [esp + 0x14], edi
jmp 0x440018
test eax, eax
jne 0x43ffe4
mov esi, dword [esp + 0x2e4]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.0055969a
mov dword [esp + 0x14], edi
jmp 0x440018
mov edi, 1
mov esi, dword [esp + 0x2e4]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.0055969a
mov dword [esp + 0x14], edi
jmp 0x440018
lea edx, [esp + 0x30]
push edx
mov esi, dword [esp + 0x2e8]
mov ecx, esi
call fcn.0055969a
mov dword [esp + 0x14], 1
mov byte [esp + 0x2dc], 1
lea ecx, [esp + 0x20]
call fcn.0055962c
lea ecx, [esp + 0x2e8]
mov byte [esp + 0x2dc], 0
call fcn.0055962c
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