Function at 0x45fa90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d2ad
mov eax, dword fs:[0]
push eax
mov eax, 0x446c
call fcn.00496d60
mov eax, dword [0x596634]
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 - 0xc68]
push 0
push eax
call fcn.004dcfa0
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0xc68]
add esp, 0xc
push 1
push 0x19
push eax
push 0
call edi
lea eax, [ebp - 0x468]
mov ecx, esi
push eax
call fcn.0045da10
cmp dword [ebp - 0x458], 0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [ebp - 4], 0
je 0x45fb5d
push 0x800
lea eax, [ebp - 0x2c68]
push 0
push eax
call fcn.004dcfa0
add esp, 0xc
lea eax, [ebp - 0x468]
cmp dword [ebp - 0x454], 8
cmovae eax, dword [ebp - 0x468]
push eax
lea eax, [ebp - 0xc68]
push eax
lea eax, [ebp - 0x2c68]
push eax
call ebx
lea eax, [ebp - 0x2c68]
push eax
call fcn.00455f30
add esp, 4
push 0x800
lea eax, [ebp - 0x3468]
push 0
push eax
call fcn.004dcfa0
add esp, 0xc
lea eax, [ebp - 0xc68]
push 0x55a02c
push eax
lea eax, [ebp - 0x3468]
push eax
call ebx
lea eax, [ebp - 0x3468]
push eax
call fcn.00455f30
push 0x800
lea eax, [ebp - 0x1468]
push 0
push eax
call fcn.004dcfa0
add esp, 0x10
lea eax, [ebp - 0x1468]
push 0
push 0x10
push eax
push 0
call edi
push 0x55a03c
lea eax, [ebp - 0x1468]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x1468]
push eax
call fcn.00455f30
push 0x800
lea eax, [ebp - 0x3c68]
push 0
push eax
call fcn.004dcfa0
add esp, 0x10
lea eax, [ebp - 0xc68]
push 0x55a050
push eax
lea eax, [ebp - 0x3c68]
push eax
call ebx
lea eax, [ebp - 0x3c68]
push eax
call fcn.00455f30
push 0x800
lea eax, [ebp - 0x4468]
push 0
push eax
call fcn.004dcfa0
add esp, 0x10
lea eax, [ebp - 0xc68]
push 0x55a068
push eax
lea eax, [ebp - 0x4468]
push eax
call ebx
lea eax, [ebp - 0x4468]
push eax
call fcn.00455f30
push 0x800
lea eax, [ebp - 0x1c68]
push 0
push eax
call fcn.004dcfa0
add esp, 0x10
lea eax, [ebp - 0xc68]
push 0x55a080
push eax
lea eax, [ebp - 0x1c68]
push eax
call ebx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004dcfa0
push 0x104
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x1c68]
push eax
call fcn.0046fac0
add esp, 0x18
or edi, 0xffffffff
test eax, eax
je 0x45fd60
push str.ComputerZTray.exe
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x446c]
push eax
call fcn.0045d020
add esp, 0xc
mov eax, dword [ebp - 0x446c]
mov byte [ebp - 4], 1
cmp dword [eax - 4], 1
jle 0x45fce5
push dword [eax - 0xc]
lea ecx, [ebp - 0x446c]
call fcn.0040c7c0
mov eax, dword [ebp - 0x446c]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x45fd06
lea eax, [ebp - 0x1c68]
push eax
call fcn.00455f30
add esp, 4
mov eax, dword [ebp - 0x446c]
push dword [eax - 8]
push eax
call fcn.0050ae7c
mov edx, eax
add esp, 8
test edx, edx
js 0x460084
mov ecx, dword [ebp - 0x446c]
cmp edx, dword [ecx - 8]
jg 0x460084
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x446c]
mov byte [ebp - 4], cl
mov word [eax + edx*2], cx
mov eax, edi
mov edx, dword [ebp - 0x446c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45fd60
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x800
lea eax, [ebp - 0x2468]
push 0
push eax
call fcn.004dcfa0
add esp, 0xc
lea eax, [ebp - 0xc68]
push str._OGY
push eax
lea eax, [ebp - 0x2468]
push eax
call ebx
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004dcfa0
push 0x104
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x2468]
push eax
call fcn.0046fac0
add esp, 0x18
test eax, eax
je 0x45fe78
push str.Utilsldsgamecenter_ludashi.exe
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x446c]
push eax
call fcn.0045d020
add esp, 0xc
mov eax, dword [ebp - 0x446c]
mov byte [ebp - 4], 2
cmp dword [eax - 4], 1
jle 0x45fdfd
push dword [eax - 0xc]
lea ecx, [ebp - 0x446c]
call fcn.0040c7c0
mov eax, dword [ebp - 0x446c]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x45fe1e
lea eax, [ebp - 0x2468]
push eax
call fcn.00455f30
add esp, 4
mov eax, dword [ebp - 0x446c]
push dword [eax - 8]
push eax
call fcn.0050ae7c
mov edx, eax
add esp, 8
test edx, edx
js 0x460084
mov ecx, dword [ebp - 0x446c]
cmp edx, dword [ecx - 8]
jg 0x460084
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x446c]
mov byte [ebp - 4], cl
mov word [eax + edx*2], cx
mov eax, edi
mov edx, dword [ebp - 0x446c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45fe78
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x4478], 0
mov dword [ebp - 0x4474], 0
mov dword [ebp - 0x4470], 0
push str.UtilsRunIcon.exe
lea eax, [esi + 8]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x446c]
push eax
call fcn.0045d020
add esp, 0xc
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 4
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45fee0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x438]
call fcn.00428460
mov edx, dword [ebp - 0x446c]
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x45ff1b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x424], 8
lea edx, [ebp - 0x438]
mov dword [ebp - 0x440], 0
cmovae edx, dword [ebp - 0x438]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ff51
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x450]
call fcn.00428460
lea eax, [ebp - 0x4478]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.0046f4b0
mov edx, dword [ebp - 0x43c]
add esp, 8
mov byte [ebp - 4], 6
mov esi, eax
cmp edx, 8
jb 0x45ffcd
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45ffc3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46007f
push edx
push ecx
call fcn.00496936
add esp, 8
test esi, esi
je 0x45ffe0
lea eax, [ebp - 0x4478]
push eax
call fcn.0046f430
add esp, 4
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x46001c
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460012
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46008e
push edx
push ecx
call fcn.00496936
add esp, 8
lea ecx, [ebp - 0x4478]
call fcn.00430750
mov edx, dword [ebp - 0x454]
cmp edx, 8
jb 0x460063
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460059
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x460093
push edx
push ecx
call fcn.00496936
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.00496d46
mov esp, ebp
pop ebp
ret
call fcn.004e8718
push 0x80070057
call fcn.0040af60
call fcn.004e8718
call fcn.004e8718
int3