Function at 0x45ac20
Capabilities:
Check if file exists
Create directory
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590006
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5ea110]
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 dword [ebp - 0x38], ecx
mov dword [ebp - 4], 0
call fcn.00407fd0
mov ecx, eax
test ecx, ecx
jne 0x45ac6a
push 0x80004005
call fcn.00407ba0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 1
call fcn.00407fd0
mov ecx, eax
test ecx, ecx
jne 0x45ac8e
push 0x80004005
call fcn.00407ba0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], vtable.CCheckCloudMgr.0
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 0
push ecx
mov byte [ebp - 4], 3
lea eax, [esi - 0x10]
mov ebx, esp
mov dword [ebp - 0x40], esp
push eax
mov dword [ebp - 0x30], ebx
call fcn.004079b0
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [ebp - 0x38]
mov ebx, esp
mov byte [ebp - 4], 4
mov dword [ebp - 0x30], ebx
mov eax, dword [eax + 0x144]
sub eax, 0x10
push eax
call fcn.004079b0
add esp, 4
lea ecx, [ebp - 0x2c]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 3
call fcn.00467c00
mov ebx, dword [ebp - 0x38]
mov ecx, ebx
push 0
push 0xa
call fcn.0045ca60
mov eax, dword [ebp + 0x14]
mov ecx, ebx
mov dword [ebx + 0x178], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0
call fcn.0045cf80
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x45ad56
mov ecx, dword [ebp - 0x3c]
mov ebx, dword [ebp + 8]
test ecx, ecx
jne 0x45b22c
mov ecx, 1
jmp 0x45b22c
push 0
lea ecx, [ebx + 4]
call fcn.00460e80
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 0x2c], 0
je 0x45ad76
call fcn.0045caf0
lea ecx, [ebp - 0x34]
call fcn.00495fa0
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00402eb0
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45adaa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x1c]
cmp dword [esi - 0xc], 0
je 0x45af11
push str.2.7.2.2
mov ecx, esi
call fcn.0045d980
test eax, eax
jns 0x45ae0c
mov edx, str.login.dat
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
call fcn.004a06c0
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45adf1
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x18]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ae0c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi - 0xc], 0
je 0x45af11
push str.2.7.3.1
mov ecx, esi
call fcn.0045d980
test eax, eax
jns 0x45aebc
mov edx, str.webviewWebView.dll
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
call fcn.004a05b0
mov byte [ebp - 4], 6
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45ae58
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, 0x5be018
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
call fcn.004a05b0
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45ae82
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x18]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45ae9d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45aebc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi - 0xc], 0
je 0x45af11
push str.2.7.3.1
mov ecx, esi
call fcn.0045d980
test eax, eax
jns 0x45af11
mov edx, str.mini
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
call fcn.004a05b0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.004beab0
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45af11
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 1
push 0x1e
mov ecx, ebx
call fcn.0045ca60
mov ecx, ebx
call fcn.0045bb20
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x45af37
mov ebx, dword [ebp + 8]
mov ecx, 2
jmp 0x45b22c
push str.CheckPreInstall
push ebx
call fcn.0045da90
add esp, 8
cmp dword [ebp + 0xc], 0
jne 0x45af85
cmp dword [ebp + 8], 0
je 0x45af85
lea eax, [ebp + 0x10]
mov ecx, ebx
push eax
call fcn.0045c4f0
test eax, eax
jne 0x45af85
add ebx, 0x10c
cmp dword [ebx + 0x14], 8
jb 0x45af6e
mov ebx, dword [ebx]
push 0
push 0
push ebx
call fcn.00461080
mov ebx, dword [ebp + 8]
mov ecx, 7
jmp 0x45b22c
push 4
push 0x32
mov ecx, ebx
call fcn.0045ca60
call fcn.0045e0c0
lea eax, [ebx + 0x124]
push eax
mov dword [ebp - 0x40], eax
call fcn.00468b30
cmp dword [ebx + 0x138], 8
lea eax, [ebx + 0x124]
jb 0x45afb5
mov eax, dword [eax]
push 0
push 1
push eax
call fcn.00461080
cmp dword [ebx + 0x138], 8
lea eax, [ebx + 0x124]
jb 0x45afd0
mov eax, dword [eax]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [ebx + 0x138], 8
lea eax, [ebx + 0x124]
jb 0x45aff1
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
jmp 0x45aff6
mov ecx, eax
mov dword [ebp - 0x14], eax
cmp dword [ebx + 0x120], 8
lea eax, [ebx + 0x10c]
jb 0x45b007
mov eax, dword [eax]
push ecx
push eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x45b021
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x34]
call fcn.00461770
cmp dword [ebx + 0x120], 8
lea eax, [ebx + 0x10c]
jb 0x45b032
mov eax, dword [eax]
push 0
push 0
push eax
call fcn.00461080
push 2
push 0x3c
mov ecx, ebx
call fcn.0045ca60
cmp dword [ebp + 0x18], 0
je 0x45b088
push ecx
mov ebx, esp
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
push eax
call fcn.004079b0
add esp, 4
add eax, 0x10
mov dword [ebx], eax
mov ebx, dword [ebp - 0x38]
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.0045bc50
mov dword [ebp - 0x18], eax
test eax, eax
jns 0x45b08d
mov ebx, dword [ebp + 8]
mov ecx, 3
jmp 0x45b22c
call fcn.004699c0
push 3
push 0x41
mov ecx, ebx
call fcn.0045ca60
cmp dword [ebp + 0x1c], 0
je 0x45b0a5
mov ecx, ebx
call fcn.0045c330
push 6
push 0x46
mov ecx, ebx
call fcn.0045ca60
cmp dword [ebp + 0x20], 0
je 0x45b0c3
cmp dword [ebp + 0xc], 0
jne 0x45b0c3
mov ecx, ebx
call fcn.0045c240
push 7
push 0x50
mov ecx, ebx
call fcn.0045ca60
cmp dword [ebp + 0x24], 0
je 0x45b0db
mov ecx, ebx
call fcn.0045b3c0
push 5
push 0x5a
mov ecx, ebx
call fcn.0045ca60
mov ecx, dword [ebp + 0x28]
cmp ecx, 0xffffffff
je 0x45b140
xor eax, eax
test ecx, ecx
setne al
push eax
lea eax, [ebp - 0x20]
push 0x5bdf20
push eax
call fcn.0041ee80
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.004a0e60
mov edi, dword [ebp - 0x20]
push dword [eax]
push edi
push str.AutoDetectPdfAssoc
push str.masterpdf
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x30]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b140
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp + 0x28], 0
je 0x45b15d
call fcn.0049ac00
test eax, eax
jne 0x45b156
call fcn.0045c4d0
jmp 0x45b15d
mov ecx, ebx
call fcn.0045c970
cmp dword [ebp + 0x38], 0
je 0x45b173
cmp dword [ebp - 0x28], 0
je 0x45b173
push dword [ebp + 0x28]
mov ecx, ebx
call fcn.0045dd30
push 8
push 0x5f
mov ecx, ebx
call fcn.0045ca60
cmp dword [ebp + 0x30], 0
je 0x45b20b
mov eax, dword [ebp - 0x40]
push str.pdfspeedup.exe
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x14], 0
push eax
call fcn.00463430
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
jb 0x45b1ad
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x14]
call fcn.004077e0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.0043ece0
push ecx
mov ebx, esp
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.004079b0
add esp, 4
add eax, 0x10
mov ecx, 1
mov dword [ebx], eax
call fcn.0049b8b0
mov byte [ebp - 4], 3
add esp, 4
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45b208
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x38]
push 9
push 0x64
mov ecx, ebx
call fcn.0045ca60
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x30], 1
test ebx, ebx
je 0x45b229
call fcn.0046c050
mov ecx, dword [ebp - 0x3c]
push ecx
push dword [ebp + 0xc]
push ebx
push dword [ebp - 0x30]
push str.result_dsilent_dupdate_derror_d
push 0x5b4bf8
push str.install
call fcn.00495920
add esp, 0x1c
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], vtable.CCheckCloudMgr.0
test ecx, ecx
je 0x45b263
mov eax, dword [ecx]
push 1
call dword [eax]
or ebx, 0xffffffff
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x45b281
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45b29c
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], ebx
dec ebx
test ebx, ebx
jg 0x45b2bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
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.0050ed39
mov esp, ebp
pop ebp
ret 0x34