Function at 0x460310
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53dd1e
mov eax, dword fs:[0]
push eax
mov eax, 0x44a0
call fcn.00498310
mov eax, dword [0x597644]
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 esi, ecx
push 0x800
lea eax, [ebp - 0xc98]
push 0
push eax
call fcn.004dda00
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0xc98]
add esp, 0xc
push 1
push 0x19
push eax
push 0
call ebx
lea eax, [ebp - 0x498]
mov ecx, esi
push eax
call fcn.0045e270
cmp dword [ebp - 0x488], 0
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [ebp - 4], 0
je 0x4603dd
push 0x800
lea eax, [ebp - 0x2c98]
push 0
push eax
call fcn.004dda00
add esp, 0xc
lea eax, [ebp - 0x498]
cmp dword [ebp - 0x484], 8
cmovae eax, dword [ebp - 0x498]
push eax
lea eax, [ebp - 0xc98]
push eax
lea eax, [ebp - 0x2c98]
push eax
call edi
lea eax, [ebp - 0x2c98]
push eax
call fcn.00455ea0
add esp, 4
push 0x800
lea eax, [ebp - 0x3498]
push 0
push eax
call fcn.004dda00
add esp, 0xc
lea eax, [ebp - 0xc98]
push 0x55b0fc
push eax
lea eax, [ebp - 0x3498]
push eax
call edi
lea eax, [ebp - 0x3498]
push eax
call fcn.00455ea0
push 0x800
lea eax, [ebp - 0x1498]
push 0
push eax
call fcn.004dda00
add esp, 0x10
lea eax, [ebp - 0x1498]
push 0
push 0x10
push eax
push 0
call ebx
push 0x55b10c
lea eax, [ebp - 0x1498]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x1498]
push eax
call fcn.00455ea0
push 0x800
lea eax, [ebp - 0x3c98]
push 0
push eax
call fcn.004dda00
add esp, 0x10
lea eax, [ebp - 0xc98]
push 0x55b120
push eax
lea eax, [ebp - 0x3c98]
push eax
call edi
lea eax, [ebp - 0x3c98]
push eax
call fcn.00455ea0
push 0x800
lea eax, [ebp - 0x4498]
push 0
push eax
call fcn.004dda00
add esp, 0x10
lea eax, [ebp - 0xc98]
push 0x55b138
push eax
lea eax, [ebp - 0x4498]
push eax
call edi
lea eax, [ebp - 0x4498]
push eax
call fcn.00455ea0
push 0x800
lea eax, [ebp - 0x1c98]
push 0
push eax
call fcn.004dda00
add esp, 0x10
lea eax, [ebp - 0xc98]
push 0x55b150
push eax
lea eax, [ebp - 0x1c98]
push eax
call edi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004dda00
push 0x104
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x1c98]
push eax
call fcn.00470650
add esp, 0x18
or ebx, 0xffffffff
test eax, eax
je 0x4605e0
push str.ComputerZTray.exe
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x449c]
push eax
call fcn.0045d880
add esp, 0xc
mov eax, dword [ebp - 0x449c]
mov byte [ebp - 4], 1
cmp dword [eax - 4], 1
jle 0x460565
push dword [eax - 0xc]
lea ecx, [ebp - 0x449c]
call fcn.0040c600
mov eax, dword [ebp - 0x449c]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x460586
lea eax, [ebp - 0x1c98]
push eax
call fcn.00455ea0
add esp, 4
mov eax, dword [ebp - 0x449c]
push dword [eax - 8]
push eax
call fcn.0050b8dc
mov edx, eax
add esp, 8
test edx, edx
js 0x460b1b
mov ecx, dword [ebp - 0x449c]
cmp edx, dword [ecx - 8]
jg 0x460b1b
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x449c]
mov byte [ebp - 4], cl
mov word [eax + edx*2], cx
mov eax, ebx
mov edx, dword [ebp - 0x449c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4605e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x800
lea eax, [ebp - 0x2498]
push 0
push eax
call fcn.004dda00
add esp, 0xc
lea eax, [ebp - 0xc98]
push str._OGY
push eax
lea eax, [ebp - 0x2498]
push eax
call edi
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004dda00
push 0x104
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x2498]
push eax
call fcn.00470650
add esp, 0x18
test eax, eax
je 0x4606f8
push str.Utilsldsgamecenter_ludashi.exe
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x449c]
push eax
call fcn.0045d880
add esp, 0xc
mov eax, dword [ebp - 0x449c]
mov byte [ebp - 4], 2
cmp dword [eax - 4], 1
jle 0x46067d
push dword [eax - 0xc]
lea ecx, [ebp - 0x449c]
call fcn.0040c600
mov eax, dword [ebp - 0x449c]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x46069e
lea eax, [ebp - 0x2498]
push eax
call fcn.00455ea0
add esp, 4
mov eax, dword [ebp - 0x449c]
push dword [eax - 8]
push eax
call fcn.0050b8dc
mov edx, eax
add esp, 8
test edx, edx
js 0x460b1b
mov ecx, dword [ebp - 0x449c]
cmp edx, dword [ecx - 8]
jg 0x460b1b
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x449c]
mov byte [ebp - 4], cl
mov word [eax + edx*2], cx
mov eax, ebx
mov edx, dword [ebp - 0x449c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4606f8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Plugingame_loader.tpi
add esi, 8
lea eax, [ebp - 0x449c]
push esi
push eax
call fcn.0045d880
add esp, 0xc
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 3
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460740
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x438]
call fcn.004282d0
mov edx, dword [ebp - 0x449c]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46077d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4607f7
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call fcn.00475cd0
add esp, 4
test eax, eax
je 0x4607f7
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x4607f7
push str.ChangeAccurateIconOnUninstall
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4607f0
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x44a8], 0
mov dword [ebp - 0x44a4], 0
mov dword [ebp - 0x44a0], 0
push str.UtilsRunIcon.exe
lea eax, [ebp - 0x449c]
mov byte [ebp - 4], 6
push esi
push eax
call fcn.0045d880
add esp, 0xc
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 7
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460856
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x450]
call fcn.004282d0
mov edx, dword [ebp - 0x449c]
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x460891
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x43c], 8
lea edx, [ebp - 0x450]
mov dword [ebp - 0x458], 0
cmovae edx, dword [ebp - 0x450]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4608c7
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x468]
call fcn.004282d0
lea eax, [ebp - 0x44a8]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00470040
mov edx, dword [ebp - 0x454]
add esp, 8
mov byte [ebp - 4], 9
mov edi, eax
cmp edx, 8
jb 0x460943
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460939
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460b16
push edx
push ecx
call fcn.00497eef
add esp, 8
test edi, edi
je 0x460956
lea eax, [ebp - 0x44a8]
push eax
call fcn.0046ffc0
add esp, 4
mov edx, dword [esi]
cmp dword [edx - 4], 1
jle 0x46096a
push dword [edx - 0xc]
mov ecx, esi
call fcn.0040c600
mov edx, dword [esi]
sub esp, 0x18
mov ecx, edx
mov esi, esp
xor eax, eax
lea edi, [ecx + 2]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460987
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.004282d0
lea ecx, [ebp - 0x480]
call fcn.004717c0
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 0xb
call fcn.00471f70
mov edx, dword [ebp - 0x46c]
cmp edx, 8
jb 0x4609f9
mov ecx, dword [ebp - 0x480]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4609ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460b25
push edx
push ecx
call fcn.00497eef
add esp, 8
mov edx, dword [ebp - 0x43c]
xor eax, eax
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 7
mov word [ebp - 0x480], ax
cmp edx, 8
jb 0x460a56
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460a4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460b2a
push edx
push ecx
call fcn.00497eef
add esp, 8
lea ecx, [ebp - 0x44a8]
call fcn.004305d0
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x460aa1
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460a97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460b2f
push edx
push ecx
call fcn.00497eef
add esp, 8
mov edx, dword [ebp - 0x484]
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
cmp edx, 8
jb 0x460afa
mov ecx, dword [ebp - 0x498]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460af0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460b34
push edx
push ecx
call fcn.00497eef
add esp, 8
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.004982ff
mov esp, ebp
pop ebp
ret
call fcn.004e9178
push 0x80070057
call fcn.0040ada0
call fcn.004e9178
call fcn.004e9178
call fcn.004e9178
call fcn.004e9178
int3