Function at 0x42e4b0
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1fec
call fcn.00424210
mov eax, dword [0x43e004]
xor eax, esp
mov dword [esp + 0x1fe8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [esp + 0x1c], eax
xor edi, edi
mov eax, dword [ebp + 0x10]
push 0x110
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x50]
push edi
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
call fcn.00407d30
add esp, 0xc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42e9b7
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42e9b7
push 0x800
call eax
test eax, eax
je 0x42e9b7
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42e9b7
mov eax, dword [esp + 0x4c]
cmp eax, 7
jae 0x42e66e
cmp eax, 6
jb 0x42e56f
cmp dword [esp + 0x50], 2
jae 0x42e66e
push 4
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x42e9b7
push 0x410
xor esi, esi
lea eax, [esp + 0x1e4]
push esi
push eax
call fcn.00407d30
add esp, 0xc
lea eax, [esp + 0x1e0]
push 0x208
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x42e65f
lea eax, [esp + 0x1e0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x5c
lea esi, [esp + eax*2 + 0x1e2]
lea eax, [esp + 0x1e4]
push eax
call fcn.004078b9
add esp, 8
cmp eax, esi
je 0x42e605
lea edi, [esp + 0x1e0]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x42e5f2
mov eax, dword [0x43a200]
mov dword [edi], eax
lea ecx, [esp + 0x1e0]
add ecx, 0xfffffffe
nop
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x42e610
mov eax, dword [str.sspicli.dll]
mov dword [ecx], eax
mov eax, dword [0x43aa9c]
mov dword [ecx + 4], eax
mov eax, dword [0x43aaa0]
mov dword [ecx + 8], eax
mov eax, dword [0x43aaa4]
mov dword [ecx + 0xc], eax
mov eax, dword [0x43aaa8]
mov dword [ecx + 0x10], eax
mov eax, dword [0x43aaac]
push 0
mov dword [ecx + 0x14], eax
lea eax, [esp + 0x1e4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov edi, 1
mov dword [ebx], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], edi
push 0x80
lea eax, [esp + 0x164]
push 0
push eax
call fcn.00407d30
add esp, 0xc
mov dword [esp + 0x1e0], 0x11c
lea eax, [esp + 0x1e0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42e6d7
cmp dword [esp + 0x1f0], 2
jne 0x42e6d7
cmp dword [esp + 0x1e4], 5
jb 0x42e6d7
jne 0x42e748
mov eax, dword [esp + 0x1e8]
test eax, eax
je 0x42e6d7
cmp eax, 1
jne 0x42e722
cmp word [esp + 0x2f4], 2
jae 0x42e74a
push 0x40
lea eax, [esp + 0x164]
push eax
push 0x442
push dword [0x43fbf8]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x30
lea eax, [esp + 0x164]
push eax
push str._SFARC_MSGID_0038__n
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1fe8]
xor ecx, esp
call fcn.00406bb3
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 2
jne 0x42e748
cmp byte [esp + 0x2fa], 1
je 0x42e74a
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x42e74a
cmp word [esp + 0x2f4], 1
jmp 0x42e6d5
jbe 0x42e6d7
push str._version
push dword [esp + 0x1c]
call fcn.0041398b
add esp, 8
test eax, eax
jne 0x42e7ca
push 0x100
lea eax, [esp + 0x5f4]
push eax
push 0x3d
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
call esi
push str.13_10
lea eax, [esp + 0x5f4]
push eax
lea eax, [esp + 0x7f8]
push eax
call fcn.00401d40
add esp, 0xc
lea eax, [esp + 0x160]
push 0x40
push eax
push 0x442
push dword [0x43fbf8]
call esi
push 0
lea eax, [esp + 0x164]
push eax
lea eax, [esp + 0x7f8]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x42e966
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [esp + 0x160]
push 0x40
push eax
push 0x442
push dword [0x43fbf8]
call esi
call fcn.00405ec0
push eax
push 0x67
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push dword [esp + 0x24]
lea ecx, [esp + 0x16c]
push dword [esp + 0x1c]
call fcn.00401db0
add esp, 0x10
test eax, eax
je 0x42e966
cmp dword [0x43f9e8], 0
je 0x42e895
cmp dword [0x43fbfc], 0
jne 0x42e895
mov eax, dword [0x43fbf8]
push 0x7f8a
mov dword [esp + 0x34], eax
mov eax, dword [0x43fc00]
push 0
mov dword [esp + 0x28], 3
mov dword [esp + 0x2c], 0x405fe0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0xf
mov dword [esp + 0x3c], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], str.progressbarwindowclass
call dword [sym.imp.USER32.dll_RegisterClassW]
xor eax, eax
mov dword [0x43fc0c], 0
mov word [0x43fe18], ax
mov dword [0x43fc08], eax
mov word [0x43fc10], ax
mov word [0x43fe98], ax
call fcn.0042daa0
mov edx, dword [0x43fc0c]
cmp edx, 0xe
ja case.0x42e8cf.3
movzx eax, byte [edx + 0x42e9dc]
jmp dword [eax*4 + 0x42e9d4]
mov eax, dword [0x43ea50]
xor ecx, ecx
test eax, eax
je 0x42e8f1
cmp edx, eax
je 0x42e8f1
mov eax, dword [ecx*8 + 0x43ea58]
inc ecx
test eax, eax
jne 0x42e8e1
push 0x100
lea eax, [esp + 0x1e4]
push eax
push dword [ecx*8 + 0x43ea54]
push dword [0x43fbf8]
call esi
push dword [0x43fc08]
lea eax, [esp + 0x1e4]
push 0x43fc10
push 0x43fe18
push eax
lea eax, [esp + 0x1000]
push eax
call fcn.00401d40
add esp, 0x14
lea eax, [esp + 0xff0]
push 0x30
push 0x43f9ec
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [0x43fbf4]
test eax, eax
je 0x42e95c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x43f9e8], 0
test ebx, ebx
je 0x42e99e
xor esi, esi
test edi, edi
je 0x42e98e
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebx + esi*4]
test eax, eax
je 0x42e987
push eax
call edi
mov dword [ebx + esi*4], 0
inc esi
cmp esi, dword [esp + 0x14]
jb 0x42e976
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1fe8]
xor ecx, esp
call fcn.00406bb3
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x1ff4]
mov eax, 0x63
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00406bb3
mov esp, ebp
pop ebp
ret 0x10