Function at 0x40f260
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4903b2
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x4be4bc]
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 eax, dword [ebp + 0xc]
lea ecx, [ebp - 0xb8]
mov edi, dword [ebp + 8]
push 0
push 0x49b844
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
call fcn.00402590
push 7
push str.ldptips
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
call fcn.00402590
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00419f30
add esp, 0xc
mov edx, dword [ebp - 0x8c]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x40f356
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f34c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f3a1
push edx
push ecx
call fcn.0048c947
add esp, 8
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
mov edx, dword [ebp - 0xa4]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x40f3b1
mov ecx, dword [ebp - 0xb8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f3a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40f3a7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0048c947
add esp, 8
cmp dword [ebp - 0xd4], 8
lea edx, [ebp - 0xe8]
mov dword [ebp - 0xa8], 0
cmovae edx, dword [ebp - 0xe8]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f400
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00402680
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 5
push eax
call fcn.00404e20
mov edx, dword [ebp - 0x44]
add esp, 4
test al, al
mov byte [ebp - 4], 4
sete bl
cmp edx, 8
jb 0x40f46e
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f464
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40f464
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0048c947
add esp, 8
lea eax, [ebp - 0x88]
test bl, bl
je 0x40f5d7
push eax
call fcn.0047caa0
add esp, 4
push 0x6a
xor eax, eax
mov byte [ebp - 4], 6
push str._wpscloudlaunch__run_plugin__plugin_nameldptips__plugin_typedll__plugin_entryEntryPoint__actionshowtip
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00402680
push 6
push str.__ext
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00402410
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f4c4
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.00402410
push 0xa
push str.__srcfile
lea ecx, [ebp - 0x28]
call fcn.00402410
mov ebx, dword [ebp - 0xec]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f4f7
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.00402410
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
push 0
cmovae eax, dword [ebp - 0x88]
push 0
push 0
push 0
push 0
push ecx
push eax
call fcn.00484290
mov edx, dword [ebp - 0x14]
add esp, 0x20
mov byte [ebp - 4], 6
mov esi, eax
cmp edx, 8
jb 0x40f57e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f574
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5d1
push edx
push ecx
call fcn.0048c947
add esp, 8
mov edx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x40f99c
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f992
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40f992
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 1
push eax
call fcn.00481fc0
add esp, 8
push 8
push 0x49c2f0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 8
call fcn.00402410
cmp dword [ebp - 0xd4], 8
lea edx, [ebp - 0xe8]
mov dword [ebp - 0x30], 0
cmovae edx, dword [ebp - 0xe8]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f625
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00402680
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00452130
add esp, 8
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x40f692
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f688
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40f688
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0048c947
add esp, 8
push 0xc
xor eax, eax
mov dword [ebp - 0x30], 0
push str.ldptips.dll
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00402410
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov dword [ebp - 0x48], 0
cmovae edx, dword [ebp - 0x28]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f6e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00402680
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xc
push eax
call fcn.00404e20
mov edx, dword [ebp - 0x44]
add esp, 4
test al, al
mov byte [ebp - 4], 0xb
sete bl
cmp edx, 8
jb 0x40f74e
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f744
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40f744
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0048c947
add esp, 8
test bl, bl
je 0x40f7e9
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40f790
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f786
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5d1
push edx
push ecx
call fcn.0048c947
add esp, 8
mov edx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x40f7e1
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f7d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5d1
push edx
push ecx
call fcn.0048c947
add esp, 8
or esi, 0xffffffff
jmp 0x40fb90
push 0x18
xor eax, eax
mov dword [ebp - 0x60], 0
push str.Run__InstanceId:ldptips
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.00402680
push 1
push 0x49bb44
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0xd
call fcn.00402410
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x70]
push eax
call fcn.00402410
push 1
push 0x49bb44
lea ecx, [ebp - 0x70]
call fcn.00402410
push 0x10
push str.__actionshowtip
lea ecx, [ebp - 0x70]
call fcn.00402410
push 6
push str.__ext
lea ecx, [ebp - 0x70]
call fcn.00402410
mov ecx, edi
lea edx, [ecx + 2]
jmp 0x40f870
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f870
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x70]
call fcn.00402410
push 0xb
push str.__srcfile_
lea ecx, [ebp - 0x70]
call fcn.00402410
mov ebx, dword [ebp - 0xec]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f8a3
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x70]
call fcn.00402410
push 1
push 0x49bb44
lea ecx, [ebp - 0x70]
call fcn.00402410
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x70]
push 0
cmovae ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
push 0
cmovae eax, dword [ebp - 0x88]
push 0
push 0
push 0
push 0
push ecx
push eax
call fcn.00484290
mov edx, dword [ebp - 0x5c]
add esp, 0x20
mov byte [ebp - 4], 0xb
mov esi, eax
cmp edx, 8
jb 0x40f93d
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f933
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5d1
push edx
push ecx
call fcn.0048c947
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x40f57e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f574
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5d1
jmp 0x40f574
push edx
push ecx
call fcn.0048c947
add esp, 8
xor eax, eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov dword [ebp - 0x78], eax
test esi, esi
jne 0x40fb82
mov eax, dword [0x4c280c]
test eax, eax
jne 0x40fb7b
push eax
push 0x49b844
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
call fcn.00402590
push 7
push str.ldptips
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
call fcn.00402590
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00419f30
add esp, 0xc
mov edx, dword [ebp - 0xbc]
mov byte [ebp - 4], 0x11
cmp edx, 0x10
jb 0x40fa65
mov ecx, dword [ebp - 0xd0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fa5b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5d1
push edx
push ecx
call fcn.0048c947
add esp, 8
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0x12
cmp edx, 0x10
jb 0x40fab8
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40faae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5d1
push edx
push ecx
call fcn.0048c947
add esp, 8
cmp dword [ebp - 0x30], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
je 0x40fbee
push 0xc
push str._ldptips.dll
lea ecx, [ebp - 0x40]
call fcn.00402410
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40fbee
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.showLDPTipDialog
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x2c]
mov dword [0x4c280c], eax
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x40fb63
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fb54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5d1
push edx
push ecx
call fcn.0048c947
mov eax, dword [0x4c280c]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], cx
test eax, eax
je 0x40fb82
push ebx
push edi
call eax
add esp, 8
call fcn.004455f0
mov ecx, eax
call fcn.004457f0
xor esi, esi
mov edx, dword [ebp - 0xd4]
cmp edx, 8
jb 0x40fbd0
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fbc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40f5d1
push edx
push ecx
call fcn.0048c947
add esp, 8
mov eax, esi
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.0048cbb4
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40f7e1
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f7d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40f7d7
jmp 0x40f5d1