Function at 0x42d6c0
Capabilities:
Check if file exists
Check os version
Create directory
Delete file
Move file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9025
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x501108]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
call fcn.004047a0
mov ecx, eax
test ecx, ecx
jne 0x42d713
push 0x80004005
call fcn.00404500
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 1
call fcn.004047a0
mov ecx, eax
test ecx, ecx
jne 0x42d737
push 0x80004005
call fcn.00404500
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x38], vtable.CCheckCloudMgr.0
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 0
push ecx
mov byte [ebp - 4], 3
lea eax, [esi - 0x10]
mov edi, esp
mov dword [ebp - 0x264], esp
push eax
mov dword [ebp - 0x270], edi
call fcn.004043f0
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 4
mov edi, esp
mov dword [ebp - 0x270], edi
mov eax, dword [ebx + 0x144]
sub eax, 0x10
push eax
call fcn.004043f0
add esp, 4
lea ecx, [ebp - 0x38]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 3
call fcn.00435340
push 0
push 0xa
mov ecx, ebx
call fcn.0042f4d0
mov eax, dword [ebp + 0x14]
mov ecx, ebx
mov dword [ebx + 0x184], eax
lea eax, [ebp - 0x268]
push eax
mov dword [ebp - 0x27c], 0
mov dword [ebp - 0x268], 0
call fcn.0042f980
or edi, 0xffffffff
mov dword [ebp - 0x274], eax
test eax, eax
jns 0x42d80f
mov ecx, dword [ebp - 0x268]
test ecx, ecx
jne 0x42df95
lea ecx, [edi + 2]
jmp 0x42df95
push ecx
lea ecx, [ebx + 4]
call fcn.004314a0
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x26c], 1
je 0x42d84f
mov ecx, ebx
call fcn.0042ee10
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
mov dword [ebp - 0x26c], esi
jne 0x42d84b
push str._update__shell_is_install_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test esi, esi
je 0x42d85a
lea ecx, [ebx + 0x124]
call fcn.004354d0
push 0x11c
lea eax, [ebp - 0x25c]
push 0
push eax
call fcn.0049bdc0
add esp, 0xc
mov dword [ebp - 0x25c], 0x11c
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x258], 6
jb 0x42d8bf
cmp dword [ebp + 0xc], 0
je 0x42d8bf
lea ecx, [ebp - 0x270]
call fcn.00454720
mov edx, str.3.1.5.9
mov dword [ebp - 0x14], 1
mov ecx, eax
call fcn.00401e10
mov byte [ebp - 0x25d], 1
test al, al
jne 0x42d8c6
mov byte [ebp - 0x25d], 0
test byte [ebp - 0x14], 1
je 0x42d8e9
mov edx, dword [ebp - 0x270]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d8e9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x25d], 0
je 0x42d8f7
call fcn.00457110
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0x30], 0
je 0x42d90d
call fcn.0042f550
lea ecx, [ebp - 0x264]
call fcn.00454720
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00401fe0
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x264]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d946
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x28]
cmp dword [esi - 0xc], 0
je 0x42daa9
push str.2.7.2.2
mov ecx, esi
call fcn.0042fbf0
test eax, eax
jns 0x42d9a7
mov edx, str.login.dat
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
call fcn.00454210
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42d98d
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x20]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42d9a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi - 0xc], 0
je 0x42daa9
push str.2.7.3.1
mov ecx, esi
call fcn.0042fbf0
test eax, eax
jns 0x42da55
mov edx, str.webviewWebView.dll
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
call fcn.00454100
mov byte [ebp - 4], 6
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42d9f3
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, 0x4e5ec8
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x24]
call fcn.00454100
push dword [ebp - 0x24]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42da1d
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x24]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42da37
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42da55
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi - 0xc], 0
je 0x42daa9
push str.2.7.3.1
mov ecx, esi
call fcn.0042fbf0
test eax, eax
jns 0x42daa9
mov edx, str.mini
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
call fcn.00454100
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.004642e0
mov byte [ebp - 4], 3
mov eax, edi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42daa9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 1
push 0x1e
mov ecx, ebx
call fcn.0042f4d0
mov ecx, ebx
call fcn.0042e580
mov dword [ebp - 0x274], eax
test eax, eax
jns 0x42dacf
mov ecx, 2
jmp 0x42df95
push str.CheckPreInstall
push ebx
call fcn.0042fd00
add esp, 8
cmp dword [ebp + 0xc], 0
jne 0x42db1f
cmp dword [ebp + 0x44], 0
jne 0x42db1f
cmp dword [ebp + 8], 0
je 0x42db1f
lea eax, [ebp + 0x10]
mov ecx, ebx
push eax
call fcn.0042efd0
test eax, eax
jne 0x42db1f
add ebx, 0x10c
cmp dword [ebx + 0x14], 8
jb 0x42db0c
mov ebx, dword [ebx]
push ecx
push 0
push ebx
call fcn.00431620
mov ecx, 7
jmp 0x42df95
push 4
push 0x32
mov ecx, ebx
call fcn.0042f4d0
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x18], 1
je 0x42db54
call fcn.0042ff90
test eax, eax
je 0x42db54
push str._update__driver_is_install_
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x42db65
call fcn.00430400
lea eax, [ebx + 0x124]
push eax
call fcn.00435780
cmp dword [ebx + 0x138], 8
lea edi, [ebx + 0x124]
jb 0x42db78
mov eax, dword [edi]
jmp 0x42db7a
mov eax, edi
push ecx
push 1
push eax
call fcn.00431620
cmp dword [edi + 0x14], 8
jb 0x42db8d
mov eax, dword [edi]
jmp 0x42db8f
mov eax, edi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [edi + 0x14], 8
jb 0x42dba7
mov ecx, dword [edi]
mov dword [ebp - 0x14], ecx
jmp 0x42dbac
mov ecx, edi
mov dword [ebp - 0x14], edi
cmp dword [ebx + 0x120], 8
lea eax, [ebx + 0x10c]
jb 0x42dbbd
mov eax, dword [eax]
push ecx
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x42dbd7
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
call fcn.00431cf0
cmp dword [ebx + 0x120], 8
lea eax, [ebx + 0x10c]
jb 0x42dbe8
mov eax, dword [eax]
push ecx
push 0
push eax
call fcn.00431620
push 2
push 0x3c
mov ecx, ebx
call fcn.0042f4d0
cmp dword [ebp + 0x18], 0
je 0x42dc46
cmp dword [ebp + 0xc], 0
jne 0x42dc46
push ecx
mov edi, esp
mov dword [ebp - 0x264], edi
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
push eax
call fcn.004043f0
add esp, 4
add eax, 0x10
mov ecx, ebx
mov dword [edi], eax
push 0
call fcn.0042e6b0
mov dword [ebp - 0x274], eax
test eax, eax
jns 0x42dcd2
mov ecx, 3
jmp 0x42df92
cmp dword [edi + 0x14], 8
jb 0x42dc50
mov eax, dword [edi]
jmp 0x42dc52
mov eax, edi
push eax
lea ecx, [ebp - 0x278]
call fcn.00404260
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 8
push eax
call fcn.00436390
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov edx, dword [ebp - 0x278]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42dc90
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp + 0x44], 0
jne 0x42dc9c
cmp dword [ebp + 0xc], 0
je 0x42dcd8
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebx + 4]
call fcn.004323d0
cmp dword [ebp - 0xb4], 8
lea eax, [ebp - 0xc8]
cmovae eax, dword [ebp - 0xc8]
push eax
call fcn.00436f20
lea ecx, [ebp - 0x140]
call fcn.0042e050
jmp 0x42dcd8
lea edi, [ebx + 0x124]
cmp dword [ebp + 0x40], 0
je 0x42dce3
call fcn.00436650
push 3
push 0x41
mov ecx, ebx
call fcn.0042f4d0
cmp dword [ebp + 0x1c], 0
je 0x42dd04
cmp dword [ebp - 0x26c], 0
je 0x42dd04
mov ecx, ebx
call fcn.0042ec80
push 6
push 0x46
mov ecx, ebx
call fcn.0042f4d0
cmp dword [ebp + 0x20], 0
je 0x42dd22
cmp dword [ebp + 0xc], 0
jne 0x42dd22
mov ecx, ebx
call fcn.0042eaf0
push 7
push 0x50
mov ecx, ebx
call fcn.0042f4d0
push 5
push 0x5a
mov ecx, ebx
call fcn.0042f4d0
mov ecx, dword [ebp + 0x2c]
cmp ecx, 0xffffffff
je 0x42dd97
xor eax, eax
test ecx, ecx
setne al
push eax
lea eax, [ebp - 0x2c]
push 0x4e4154
push eax
call fcn.00413b70
add esp, 0xc
lea ecx, [ebp - 0x26c]
call fcn.00454320
push dword [eax]
push dword [ebp - 0x2c]
push str.AutoDetectPdfAssoc
push str.masterpdf
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x26c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42dd97
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp + 0x2c], 0
je 0x42dde0
cmp dword [ebp + 0xc], 0
je 0x42ddb9
call fcn.00457ef0
test eax, eax
je 0x42ddb9
push str._update__AssociatePdf
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x42dde0
call fcn.00457b80
test eax, eax
jne 0x42ddd9
push ecx
mov ecx, esp
push 0x4e3224
call fcn.00404260
call fcn.00456f90
add esp, 4
jmp 0x42dde0
mov ecx, ebx
call fcn.0042f450
cmp dword [ebp + 0x38], 0
je 0x42ddfc
cmp dword [ebp - 0x34], 0
je 0x42ddfc
cmp dword [ebp - 0x18], 0
je 0x42ddfc
push dword [ebp + 0x2c]
mov ecx, ebx
call fcn.004300a0
push 8
push 0x5f
mov ecx, ebx
call fcn.0042f4d0
cmp dword [ebp + 0x34], 0
je 0x42df47
cmp dword [ebp + 0xc], 0
je 0x42de6f
push ecx
mov ecx, esp
mov dword [ebp - 0x264], esp
push str.PDFEngine
call fcn.00404260
mov byte [ebp - 4], 9
cmp dword [0x5071d0], 0
jne 0x42de52
push 4
call fcn.00482f1a
mov dword [ebp - 0x264], eax
add esp, 4
mov dword [0x5071d0], eax
mov dword [eax], vtable.CAutoRunManager.0
mov byte [ebp - 4], 3
call fcn.00464d00
test eax, eax
je 0x42de6f
push str._update__task_is_run
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x42df47
push str.PDFEngine.exe
mov edx, edi
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x294]
call fcn.004337a0
add esp, 4
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x42de97
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x14]
call fcn.00404260
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x280]
cmp eax, 8
jb 0x42dec2
inc eax
lea ecx, [ebp - 0x294]
push eax
push dword [ebp - 0x294]
call fcn.00424c20
push ecx
xor eax, eax
mov dword [ebp - 0x280], 7
mov edi, esp
mov word [ebp - 0x294], ax
mov dword [ebp - 0x264], edi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 0x284], 0
push eax
call fcn.004043f0
add esp, 4
add eax, 0x10
mov ecx, 1
mov dword [edi], eax
call fcn.004585c0
test eax, eax
mov edx, str.fail
mov ecx, str.start
push str.frominstall
cmove ecx, edx
push ecx
push str.auto_run_pdfspeedup
call fcn.0045f5a0
mov byte [ebp - 4], 3
add esp, 0x10
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42df47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 9
push 0x64
mov ecx, ebx
call fcn.0042f4d0
cmp dword [ebp + 8], 0
mov dword [ebp - 0x27c], 1
je 0x42df8c
mov eax, dword [0x506c34]
test eax, eax
je 0x42df8c
cmp dword [eax + 0x14], 0
je 0x42df89
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call esi
mov eax, dword [0x506c34]
cmp dword [eax + 0x14], 0
jne 0x42df77
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x268]
or edi, 0xffffffff
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x27c]
push str.result_dsilent_dupdate_derror_d
push 0x4df414
push str.install
call fcn.0045f5a0
add esp, 0x1c
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x38], vtable.CCheckCloudMgr.0
test ecx, ecx
je 0x42dfd1
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42dfef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42e00a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x42e029
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00483426
mov esp, ebp
pop ebp
ret 0x40