Function at 0x45c540
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b06d
mov eax, dword fs:[0]
push eax
mov eax, 0x446c
call fcn.00493de0
mov eax, dword [0x594624]
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.004daa30
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.0045a4c0
cmp dword [ebp - 0x458], 0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [ebp - 4], 0
je 0x45c60d
push 0x800
lea eax, [ebp - 0x2c68]
push 0
push eax
call fcn.004daa30
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.00452a80
add esp, 4
push 0x800
lea eax, [ebp - 0x3468]
push 0
push eax
call fcn.004daa30
add esp, 0xc
lea eax, [ebp - 0xc68]
push 0x557c2c
push eax
lea eax, [ebp - 0x3468]
push eax
call ebx
lea eax, [ebp - 0x3468]
push eax
call fcn.00452a80
push 0x800
lea eax, [ebp - 0x1468]
push 0
push eax
call fcn.004daa30
add esp, 0x10
lea eax, [ebp - 0x1468]
push 0
push 0x10
push eax
push 0
call edi
push 0x557c3c
lea eax, [ebp - 0x1468]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x1468]
push eax
call fcn.00452a80
push 0x800
lea eax, [ebp - 0x3c68]
push 0
push eax
call fcn.004daa30
add esp, 0x10
lea eax, [ebp - 0xc68]
push 0x557c50
push eax
lea eax, [ebp - 0x3c68]
push eax
call ebx
lea eax, [ebp - 0x3c68]
push eax
call fcn.00452a80
push 0x800
lea eax, [ebp - 0x4468]
push 0
push eax
call fcn.004daa30
add esp, 0x10
lea eax, [ebp - 0xc68]
push 0x557c68
push eax
lea eax, [ebp - 0x4468]
push eax
call ebx
lea eax, [ebp - 0x4468]
push eax
call fcn.00452a80
push 0x800
lea eax, [ebp - 0x1c68]
push 0
push eax
call fcn.004daa30
add esp, 0x10
lea eax, [ebp - 0xc68]
push 0x557c80
push eax
lea eax, [ebp - 0x1c68]
push eax
call ebx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004daa30
push 0x104
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x1c68]
push eax
call fcn.0046c5a0
add esp, 0x18
or edi, 0xffffffff
test eax, eax
je 0x45c810
push str.ComputerZTray.exe
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x446c]
push eax
call fcn.00459b10
add esp, 0xc
mov eax, dword [ebp - 0x446c]
mov byte [ebp - 4], 1
cmp dword [eax - 4], 1
jle 0x45c795
push dword [eax - 0xc]
lea ecx, [ebp - 0x446c]
call fcn.0040cd20
mov eax, dword [ebp - 0x446c]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x45c7b6
lea eax, [ebp - 0x1c68]
push eax
call fcn.00452a80
add esp, 4
mov eax, dword [ebp - 0x446c]
push dword [eax - 8]
push eax
call fcn.0050891c
mov edx, eax
add esp, 8
test edx, edx
js 0x45cb34
mov ecx, dword [ebp - 0x446c]
cmp edx, dword [ecx - 8]
jg 0x45cb34
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 0x45c810
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.004daa30
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.004daa30
push 0x104
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x2468]
push eax
call fcn.0046c5a0
add esp, 0x18
test eax, eax
je 0x45c928
push str.Utilsldsgamecenter_ludashi.exe
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x446c]
push eax
call fcn.00459b10
add esp, 0xc
mov eax, dword [ebp - 0x446c]
mov byte [ebp - 4], 2
cmp dword [eax - 4], 1
jle 0x45c8ad
push dword [eax - 0xc]
lea ecx, [ebp - 0x446c]
call fcn.0040cd20
mov eax, dword [ebp - 0x446c]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x45c8ce
lea eax, [ebp - 0x2468]
push eax
call fcn.00452a80
add esp, 4
mov eax, dword [ebp - 0x446c]
push dword [eax - 8]
push eax
call fcn.0050891c
mov edx, eax
add esp, 8
test edx, edx
js 0x45cb34
mov ecx, dword [ebp - 0x446c]
cmp edx, dword [ecx - 8]
jg 0x45cb34
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 0x45c928
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.00459b10
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 0x45c990
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x438]
call fcn.00432180
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 0x45c9cb
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 0x45ca01
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x450]
call fcn.00432180
lea eax, [ebp - 0x4478]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x450]
push eax
call fcn.0046bf60
mov edx, dword [ebp - 0x43c]
add esp, 8
mov byte [ebp - 4], 6
mov esi, eax
cmp edx, 8
jb 0x45ca7d
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45ca73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45cb2f
push edx
push ecx
call fcn.004939be
add esp, 8
test esi, esi
je 0x45ca90
lea eax, [ebp - 0x4478]
push eax
call fcn.0046bee0
add esp, 4
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x45cacc
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45cac2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45cb3e
push edx
push ecx
call fcn.004939be
add esp, 8
lea ecx, [ebp - 0x4478]
call fcn.0042bcd0
mov edx, dword [ebp - 0x454]
cmp edx, 8
jb 0x45cb13
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45cb09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45cb43
push edx
push ecx
call fcn.004939be
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.00493dce
mov esp, ebp
pop ebp
ret
call fcn.004e61b8
push 0x80070057
call fcn.0040b4c0
call fcn.004e61b8
call fcn.004e61b8
int3