Function at 0x415080
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4c42a9
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e5d60]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x4c], edi
call fcn.004990cf
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4150c7
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x48], eax
mov dword [esp + 0x70], edi
call fcn.004990cf
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4150f5
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x70], 1
call fcn.004990cf
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x415124
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 2
push ecx
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x64]
movzx eax, word [esp + 0x62]
movzx ecx, word [esp + 0x60]
push edx
movzx edx, word [esp + 0x62]
push eax
movzx eax, word [esp + 0x62]
push ecx
movzx ecx, word [esp + 0x64]
push edx
push eax
push ecx
lea edx, [esp + 0x44]
push str._d_02d_02d_02d_02d_02d
push edx
call fcn.0040e520
add esp, 0x20
mov dword [esp + 0x40], edi
call fcn.004990cf
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41519c
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x70], 3
call fcn.004990cf
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4151cb
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x70], 4
call fcn.004990cf
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4151fa
push 0x80004005
call fcn.0040f160
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x44], ebp
push 0x19
lea esi, [esp + 0x34]
mov byte [esp + 0x74], 5
call fcn.00411460
add esp, 4
push edi
lea esi, [esp + 0x40]
mov byte [esp + 0x74], 6
call fcn.00411460
add esp, 4
push 0x16
lea esi, [esp + 0x3c]
mov byte [esp + 0x74], 7
call fcn.00411460
add esp, 4
push 0xb
lea esi, [esp + 0x38]
mov byte [esp + 0x74], 8
call fcn.00411460
add esp, 4
push 0x1a
lea esi, [esp + 0x28]
mov byte [esp + 0x74], 9
call fcn.00411460
add esp, 4
mov bl, 0xa
mov byte [esp + 0x70], bl
mov ecx, dword [esp + 0x30]
cmp dword [ecx - 0xc], edi
je 0x415824
mov edx, dword [esp + 0x3c]
cmp dword [edx - 0xc], edi
je 0x415824
mov eax, dword [esp + 0x38]
cmp dword [eax - 0xc], edi
je 0x415824
mov ecx, dword [esp + 0x34]
cmp dword [ecx - 0xc], edi
je 0x415824
mov edx, dword [esp + 0x24]
cmp dword [edx - 0xc], edi
jne 0x415348
push 0x1c
lea esi, [esp + 0x50]
call fcn.00411460
add esp, 4
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 0xb
call fcn.0040ebc0
mov ecx, esi
mov byte [esp + 0x70], bl
call fcn.0040ed20
mov eax, dword [esp + 0x24]
cmp dword [eax - 0xc], edi
jne 0x415348
lea ecx, [esp + 0x24]
call fcn.0040ed20
lea ecx, [esp + 0x34]
call fcn.0040ed20
lea ecx, [esp + 0x38]
call fcn.0040ed20
lea ecx, [esp + 0x3c]
call fcn.0040ed20
lea ecx, [esp + 0x30]
call fcn.0040ed20
lea ecx, [esp + 0x44]
call fcn.0040ed20
lea ecx, [esp + 0x20]
call fcn.0040ed20
lea ecx, [esp + 0x28]
call fcn.0040ed20
lea ecx, [esp + 0x1c]
call fcn.0040ed20
lea ecx, [esp + 0x2c]
call fcn.0040ed20
lea ecx, [esp + 0x48]
call fcn.0040ed20
jmp 0x4159ba
lea ebx, [esp + 0x40]
mov edi, str.dwShortcut
call fcn.004109a0
test eax, eax
jne 0x415360
cmp dword [esp + 0x40], eax
je 0x4152e0
lea ebx, [esp + 0x18]
mov edi, str.dwReport
call fcn.004109a0
test byte [esp + 0x40], 4
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
je 0x415455
test byte [esp + 0x18], 8
jne 0x415455
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x4c]
push 0x4d3aa0
push ecx
call fcn.00401bb0
add esp, 8
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 0xc
call fcn.0040ebc0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 0xa
call fcn.0040ed20
mov edi, dword [esp + 0x28]
lea edx, [esp + 0x4c]
push str.Home.vn.lnk
push edx
call fcn.00401bb0
add esp, 8
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 0xd
call fcn.0040ebc0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 0xa
call fcn.0040ed20
mov eax, dword [esp + 0x20]
push eax
call ebp
test eax, eax
jne 0x415455
mov ecx, dword [esp + 0x2c]
push str.rmv_tb
push ecx
lea edx, [esp + 0x24]
push str.rpt.aspx_Time_sTypeUninstallAct_s_r_n
push edx
call fcn.0040e520
mov ebx, dword [esp + 0x2c]
add esp, 0x10
call fcn.00415be0
mov esi, eax
test esi, esi
je 0x415455
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415430
sub eax, edx
push eax
push esi
call fcn.004159d0
add esp, 8
test eax, eax
je 0x41544c
or dword [esp + 0x18], 8
push esi
call fcn.00498c5e
add esp, 4
test byte [esp + 0x40], 2
je 0x41556d
test byte [esp + 0x18], 4
jne 0x41556d
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x4c]
push 0x4d3b20
push eax
call fcn.00401bb0
add esp, 8
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 0xe
call fcn.0040ebc0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 0xa
call fcn.0040ed20
mov ecx, dword [esp + 0x28]
push ecx
call ebp
test eax, eax
jne 0x4154dc
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x4c]
push 0x4d3c70
push edx
call fcn.00401bb0
add esp, 8
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 0xf
call fcn.0040ebc0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 0xa
call fcn.0040ed20
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x4c]
push str.Home.vn.lnk
push eax
call fcn.00401bb0
add esp, 8
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 0x10
call fcn.0040ebc0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 0xa
call fcn.0040ed20
mov ecx, dword [esp + 0x20]
push ecx
call ebp
test eax, eax
jne 0x41556d
mov edx, dword [esp + 0x2c]
push str.rmv_st
push edx
lea eax, [esp + 0x24]
push str.rpt.aspx_Time_sTypeUninstallAct_s_r_n
push eax
call fcn.0040e520
mov ebx, dword [esp + 0x2c]
add esp, 0x10
call fcn.00415be0
mov esi, eax
test esi, esi
je 0x41556d
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415548
sub eax, edx
push eax
push esi
call fcn.004159d0
add esp, 8
test eax, eax
je 0x415564
or dword [esp + 0x18], 4
push esi
call fcn.00498c5e
add esp, 4
test byte [esp + 0x40], 1
je 0x415775
test byte [esp + 0x18], 2
jne 0x415695
mov edi, dword [esp + 0x30]
lea ecx, [esp + 0x4c]
push str.Home.vn.lnk
push ecx
call fcn.00401bb0
add esp, 8
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 0x11
call fcn.0040ebc0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 0xa
call fcn.0040ed20
mov edi, dword [esp + 0x30]
lea edx, [esp + 0x54]
push str.Home.vn.lnk
push edx
call fcn.00401bb0
add esp, 8
mov byte [esp + 0x70], 0x12
mov eax, dword [eax]
mov ebx, 1
push eax
mov dword [esp + 0x50], ebx
call ebp
test eax, eax
jne 0x41560c
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x50]
push str.Home.vn.lnk
push eax
call fcn.00401bb0
mov eax, dword [eax]
add esp, 8
push eax
mov ebx, 3
call ebp
mov byte [esp + 0x17], 1
test eax, eax
je 0x415611
mov byte [esp + 0x17], 0
test bl, 2
je 0x415622
lea ecx, [esp + 0x50]
and ebx, 0xfffffffd
call fcn.0040ed20
mov dword [esp + 0x70], 0xa
test bl, 1
je 0x415638
lea ecx, [esp + 0x54]
call fcn.0040ed20
cmp byte [esp + 0x17], 0
je 0x415695
mov ecx, dword [esp + 0x2c]
push 0x4d3cd4
push ecx
lea edx, [esp + 0x24]
push str.rpt.aspx_Time_sTypeUninstallAct_s_r_n
push edx
call fcn.0040e520
mov ebx, dword [esp + 0x2c]
add esp, 0x10
call fcn.00415be0
mov esi, eax
test esi, esi
je 0x415695
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415670
sub eax, edx
push eax
push esi
call fcn.004159d0
add esp, 8
test eax, eax
je 0x41568c
or dword [esp + 0x18], 2
push esi
call fcn.00498c5e
add esp, 4
test byte [esp + 0x18], 1
jne 0x415775
mov edi, dword [esp + 0x38]
lea eax, [esp + 0x54]
push str.Home.vn.lnk
push eax
call fcn.00401bb0
add esp, 8
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 0x13
call fcn.0040ebc0
lea ecx, [esp + 0x54]
mov byte [esp + 0x70], 0xa
call fcn.0040ed20
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0x54]
push str.Home.vn.lnk
push ecx
call fcn.00401bb0
add esp, 8
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x74], 0x14
call fcn.0040ebc0
lea ecx, [esp + 0x54]
mov byte [esp + 0x70], 0xa
call fcn.0040ed20
mov edx, dword [esp + 0x20]
push edx
call ebp
test eax, eax
jne 0x415775
mov eax, dword [esp + 0x44]
push eax
call ebp
test eax, eax
jne 0x415775
mov ecx, dword [esp + 0x2c]
push str.rmv_ap
push ecx
lea edx, [esp + 0x24]
push str.rpt.aspx_Time_sTypeUninstallAct_s_r_n
push edx
call fcn.0040e520
mov ebx, dword [esp + 0x2c]
add esp, 0x10
call fcn.00415be0
mov esi, eax
test esi, esi
je 0x415775
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415750
sub eax, edx
push eax
push esi
call fcn.004159d0
add esp, 8
test eax, eax
je 0x41576c
or dword [esp + 0x18], 1
push esi
call fcn.00498c5e
add esp, 4
mov eax, dword [esp + 0x18]
push eax
push str.dwReport
call fcn.00410a60
add esp, 8
test eax, eax
jne 0x4157a8
call fcn.00411a00
neg eax
sbb eax, eax
inc eax
push eax
lea ecx, [esp + 0x1c]
push ecx
push str.dwReport
call fcn.00410d60
add esp, 0xc
lea ecx, [esp + 0x24]
call fcn.0040ed20
lea ecx, [esp + 0x34]
call fcn.0040ed20
lea ecx, [esp + 0x38]
call fcn.0040ed20
lea ecx, [esp + 0x3c]
call fcn.0040ed20
lea ecx, [esp + 0x30]
call fcn.0040ed20
lea ecx, [esp + 0x44]
call fcn.0040ed20
lea ecx, [esp + 0x20]
call fcn.0040ed20
lea ecx, [esp + 0x28]
call fcn.0040ed20
lea ecx, [esp + 0x1c]
call fcn.0040ed20
lea ecx, [esp + 0x2c]
call fcn.0040ed20
lea ecx, [esp + 0x48]
call fcn.0040ed20
mov eax, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov byte [esp + 0x70], 9
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415849
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 8
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41586e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 7
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415893
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 6
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4158b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 5
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4158dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x70], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4158fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415923
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415948
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41596d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x70], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415992
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4159ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret