Function at 0x4794ad
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x6120f2
call fcn.0060c3a8
sub esp, 0x790
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov edi, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x38], ebx
call fcn.00404f47
push eax
lea ecx, [ebp - 0x48]
call fcn.004065d8
mov dword [ebp - 4], ebx
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x479cbd
call fcn.00472c5d
test eax, eax
je 0x479cbd
mov ebx, dword [ecx + 0x1c]
sub ebx, dword [ecx + 0x18]
sar ebx, 2
push ebx
push str.ExecuteAllInstall__file_num:_d
push 0x6c88e0
mov dword [ebp - 0x54], ebx
call fcn.0048e513
add esp, 0xc
test ebx, ebx
jle 0x479ce9
xor eax, eax
inc eax
mov ebx, eax
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0xbc]
lea eax, [ebx - 1]
push eax
call fcn.00472d86
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x479c79
mov ecx, edi
call fcn.004727ec
test eax, eax
je 0x479c79
lea ecx, [edi + 0x48]
push ecx
mov ecx, esi
call fcn.0047a08d
test eax, eax
jne 0x47958e
mov eax, dword [0x6c8854]
lea ecx, [esi + 4]
push 0
push 0
mov edx, 0x107
mov dword [esi + 0x44], eax
mov eax, dword [ecx]
mov edi, edx
push ebx
push edx
push 0x33
call dword [eax + 4]
push ebx
push str.ExecuteAllInstall__file_node__d__abtest_failed
jmp 0x479c9e
and dword [ebp - 0x20], 0
mov dword [esi + 0xe8], 1
call fcn.00404f47
push eax
lea ecx, [ebp - 0x28]
call fcn.004065d8
xor eax, eax
inc eax
mov byte [ebp - 4], al
mov ecx, dword [edi + 0x4c]
sub ecx, 0x10
call fcn.00409008
mov dword [ebp - 0x30], eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x58], edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x20]
push eax
push edi
lea ecx, [esi + 0xa4]
call fcn.00473ad3
push eax
push ebx
push str.ExecuteAllInstall__file_node__d__CheckInstallCondition_ret:_d
push 0x6c88e0
mov dword [ebp - 0x1c], eax
call fcn.0048e513
mov eax, dword [ebp - 0x1c]
add esp, 0x10
test eax, eax
je 0x479634
mov eax, dword [0x6c8854]
lea ecx, [esi + 4]
mov edi, dword [ebp - 0x1c]
mov dword [esi + 0x44], eax
mov esi, dword [ebp - 0x28]
mov eax, dword [ecx]
push esi
push dword [ebp - 0x20]
push ebx
push edi
push 0x33
call dword [eax + 4]
mov ecx, dword [ebp - 0x30]
call fcn.00404ea9
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.00404ea9
mov esi, dword [ebp - 0x14]
jmp 0x479cab
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x58], 0
je 0x479780
cmp dword [0x6c8864], 0
jne 0x479780
push str.install_resRecommdPopBackground.png
mov edx, 0x6c8884
lea ecx, [ebp - 0x2c]
call fcn.0040aec1
mov byte [ebp - 4], 3
mov dword [esp], str.DownLoadRecommendPopBackgroundPng
push 0x6c88e0
call fcn.0048e513
pop ecx
pop ecx
push str.http:__config.i.duba.net_aldconfig_resource.png
lea ecx, [ebp - 0x4c]
call fcn.00406173
push 0x1f4
push 0
push 0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call fcn.004745c4
mov byte [ebp - 4], 3
add esp, 0xc
mov ecx, dword [ebp - 0x4c]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00404ea9
test esi, esi
jne 0x4798a6
push dword [ebp - 0x2c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4798a6
mov ebx, dword [ebp - 0x14]
push esi
push 1
mov eax, dword [ebx + 4]
lea ecx, [ebx + 4]
call dword [eax + 0xc]
lea ecx, [ebp - 0x798]
call fcn.00495c2a
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x26c]
call fcn.00406123
push 0x6c8888
lea ecx, [ebp - 0x268]
call fcn.00406123
push ecx
push ecx
lea ecx, [ebp - 0x794]
call fcn.0047b12e
mov edx, dword [ebx + 4]
lea ecx, [ebx + 4]
mov esi, eax
xor eax, eax
push esi
inc eax
push eax
call dword [edx + 0xc]
xor eax, eax
inc eax
cmp esi, eax
je 0x479750
mov ebx, dword [ebp - 0x18]
push ebx
push str.ExecuteAllInstall__file_node__d__popDlg_failed
push 0x6c88e0
call fcn.0048e513
add esp, 0xc
lea ecx, [ebp - 0x798]
call fcn.00495d31
jmp 0x4798b9
mov esi, dword [ebp - 0x14]
mov ecx, esi
push eax
mov dword [0x6c8868], eax
call fcn.00478ac9
lea ecx, [ebp - 0x798]
call fcn.00495d31
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, esi
call fcn.004774b5
call fcn.00404f47
push eax
lea ecx, [ebp - 0x34]
call fcn.004065d8
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 6
push eax
push dword [ebp - 0x10]
call fcn.0047a43a
mov eax, dword [ebp - 0x10]
add eax, 0x14
mov dword [ebp - 0x24], eax
push dword [eax]
push ebx
push str.ExecuteAllInstall__file_node__d__path:_s
push 0x6c88e0
call fcn.0048e513
add esp, 0x10
push dword [ebp - 0x10]
call fcn.0047af91
mov ebx, dword [ebp - 0x34]
test eax, eax
je 0x4798e6
push 3
lea eax, [ebp - 0x25c]
push ebx
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x260], eax
call fcn.004066f6
mov byte [ebp - 4], 7
lea eax, [ebp - 0x158]
mov edi, dword [ebp - 0x24]
lea ecx, [ebp - 0x15c]
push 3
mov dword [ebp - 0x15c], eax
push dword [edi]
call fcn.004066f6
push ecx
xor eax, eax
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x260]
inc eax
mov ecx, dword [ebp - 0x15c]
push eax
push 0
call fcn.0046f770
add esp, 0xc
neg eax
sbb al, al
inc al
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x158]
cmp dword [ebp - 0x15c], eax
je 0x479855
push dword [ebp - 0x15c]
call fcn.005f06f3
pop ecx
lea eax, [ebp - 0x25c]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x260], eax
je 0x479873
push dword [ebp - 0x260]
call fcn.005f06f3
pop ecx
cmp byte [ebp - 0x20], 0
je 0x479c46
push dword [edi]
mov edi, dword [ebp - 0x18]
push edi
push str.ExecuteAllInstall__file_node__d__run_app:_s
push 0x6c88e0
mov dword [ebp - 0x20], 0x133
call fcn.0048e513
add esp, 0x10
mov edx, 0x133
jmp 0x479bee
push ebx
push str.ExecuteAllInstall__file_node__d__DownLoadRecommendPopBackgroundPng_failed
push 0x6c88e0
call fcn.0048e513
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x30]
call fcn.00404ea9
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
jmp 0x479cab
call fcn.00404f47
push eax
lea ecx, [ebp - 0x3c]
call fcn.004065d8
push dword [ebp - 0x18]
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 9
push eax
mov ecx, esi
call fcn.00478a1c
test eax, eax
jne 0x479958
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x260], eax
lea ecx, [ebp - 0x260]
mov eax, dword [ebp - 0x24]
push 3
push dword [eax]
call fcn.004066f6
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x260]
call fcn.004060f8
lea eax, [ebp - 0x25c]
mov byte [ebp - 4], 9
cmp dword [ebp - 0x260], eax
je 0x479958
push dword [ebp - 0x260]
call fcn.005f06f3
pop ecx
mov esi, dword [ebp - 0x3c]
lea eax, [ebp - 0xd8]
push 3
push esi
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xdc], eax
call fcn.00408f48
mov byte [ebp - 4], 0xb
push dword [ebp - 0xdc]
mov ecx, dword [ebp - 0x24]
call fcn.00405d0b
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 9
cmp dword [ebp - 0xdc], eax
je 0x4799a5
push dword [ebp - 0xdc]
call fcn.005f06f3
pop ecx
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x260], eax
lea ecx, [ebp - 0x260]
mov eax, dword [ebp - 0x10]
push 3
push dword [eax + 0xc]
call fcn.004066f6
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x40]
push dword [ebp - 0x260]
call fcn.00406173
lea eax, [ebp - 0x25c]
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x260], eax
je 0x4799f4
push dword [ebp - 0x260]
call fcn.005f06f3
pop ecx
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.00470fa6
mov ecx, dword [ebp - 0x14]
test eax, eax
jne 0x479a62
mov eax, dword [0x6c8854]
mov edx, 0x131
mov ebx, dword [ebp - 0x18]
push 0
mov dword [ecx + 0x44], eax
add ecx, 4
push 0
push ebx
push edx
mov eax, dword [ecx]
push 0x33
mov dword [ebp - 0x1c], edx
call dword [eax + 4]
push esi
push ebx
push str.ExecuteAllInstall__file_node__d__check_md5_failed
push 0x6c88e0
call fcn.0048e513
mov ecx, dword [ebp - 0x40]
add esp, 0x10
lea ecx, [ecx - 0x10]
call fcn.00404ea9
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
lea ecx, [edi - 0x10]
jmp 0x4798c7
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x34]
push eax
push edi
push dword [ebp - 0x10]
call fcn.004781cc
push eax
push edi
push str.ExecuteAllInstall__file_node__d___ExecuteSingleInstall_Errorcode:_d
push 0x6c88e0
mov dword [ebp - 0x20], eax
call fcn.0048e513
add esp, 0x10
cmp dword [ebp - 0x20], 0
jne 0x479baa
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x50], 0
je 0x479ac6
cmp dword [edx + 0x68], 0
je 0x479ac6
call fcn.00478537
test eax, eax
jle 0x479ac6
lea eax, [ebp - 0x48]
push eax
push edx
call fcn.0047afad
mov edx, dword [ebp - 0x38]
test eax, eax
push 1
pop eax
cmovne edx, eax
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x10]
cmp dword [ebp - 0x38], 0
je 0x479b84
cmp dword [edx + 0x50], 0
jne 0x479b84
push 0x69ddfc
lea ecx, [edx + 0x10]
call fcn.0046f12e
test eax, eax
jne 0x479b84
and dword [ebp - 0x38], eax
lea ecx, [ebp - 0x15c]
lea eax, [ebp - 0x158]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x24]
push 3
push dword [eax]
call fcn.004066f6
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x50]
push dword [ebp - 0x15c]
call fcn.00406173
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x15c], eax
je 0x479b40
push dword [ebp - 0x15c]
call fcn.005f06f3
pop ecx
push ecx
mov edi, esp
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
push eax
call fcn.004067cf
pop ecx
push dword [ebp - 0x48]
add eax, 0x10
mov dword [edi], eax
mov edi, dword [ebp - 0x14]
call fcn.005e9be0
pop ecx
lea edx, [edi + 0xdc]
mov ecx, eax
call fcn.004720ff
pop ecx
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
push dword [eax + 0x74]
call fcn.0047abca
test eax, eax
je 0x479baa
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 3
push eax
call fcn.0048a6e3
mov ecx, eax
call fcn.0048ae8d
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x3c], 0
jne 0x479bcd
push esi
call fcn.0047a403
push esi
push edi
push str.ExecuteAllInstall__file_node__d__delete_file
push 0x6c88e0
call fcn.0048e513
add esp, 0x10
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 6
call fcn.00404ea9
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x14]
test edx, edx
je 0x479c46
mov eax, dword [0x6c8854]
lea ecx, [esi + 4]
push 0
push 0
push edi
mov dword [esi + 0x44], eax
mov eax, dword [ecx]
push edx
push 0x33
mov dword [ebp - 0x1c], edx
call dword [eax + 4]
push dword [ebp - 0x20]
push edi
push str.ExecuteAllInstall__file_node__d__error_code:_d
push 0x6c88e0
call fcn.0048e513
add esp, 0x10
lea ecx, [ebx - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x30]
call fcn.00404ea9
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov ebx, dword [ebp - 0x18]
jmp 0x4798de
mov eax, dword [0x6c8854]
lea ecx, [esi + 4]
mov edi, dword [ebp - 0x18]
xor edx, edx
push edx
push edx
push edi
mov dword [esi + 0x44], eax
mov eax, dword [ecx]
push edx
push 0x33
call dword [eax + 4]
push edi
push str.ExecuteAllInstall__file_node__d__succeed
push 0x6c88e0
call fcn.0048e513
add esp, 0xc
inc dword [ebp - 0x44]
jmp 0x479c1f
mov eax, dword [0x6c8854]
lea ecx, [esi + 4]
push 0
push 0
mov edx, 0xfd
mov dword [esi + 0x44], eax
mov eax, dword [ecx]
mov edi, edx
push ebx
push edx
push 0x33
call dword [eax + 4]
push ebx
push str.ExecuteAllInstall__file_node__d__failed
push 0x6c88e0
call fcn.0048e513
add esp, 0xc
inc ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebx - 1]
cmp eax, dword [ebp - 0x54]
jl 0x47952a
jmp 0x479ce9
mov eax, dword [0x6c8854]
lea ecx, [esi + 4]
push ebx
push ebx
push ebx
mov dword [esi + 0x44], eax
mov edi, 0x132
mov eax, dword [ecx]
push edi
push 0x33
call dword [eax + 4]
push str.ExecuteAllInstall__tryno_info_invalid
push 0x6c88e0
call fcn.0048e513
pop ecx
pop ecx
mov esi, dword [ebp - 0x44]
push edi
push esi
push str.ExecuteAllInstall__nCount:_d__nRet:_d
push 0x6c88e0
call fcn.0048e513
mov ecx, dword [ebp - 0x48]
xor eax, eax
add esp, 0x10
test esi, esi
cmovg edi, eax
add ecx, 0xfffffff0
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret