Function at 0x52024e
Capabilities:
Check if file exists
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4d0
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push ebx
push esi
push edi
push eax
push 0x5d748c
xor ebx, ebx
mov edi, ecx
inc ebx
push ebx
push 0
push 0x5da66c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
mov eax, dword [ebp - 4]
js 0x5206eb
test eax, eax
je 0x5206eb
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [edi + 0x8c]
call fcn.0051f97a
mov esi, eax
cmp dword [esi + 0x14], 8
jb 0x5202a6
mov esi, dword [esi]
lea eax, [edi + 0xc0]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x28], eax
push ecx
mov ecx, eax
call fcn.0051f97a
cmp dword [eax + 0x14], 8
jb 0x5202c2
mov eax, dword [eax]
push esi
push eax
push 0x5d57f0
push 2
call fcn.005bb560
push eax
call fcn.005bb420
add esp, 0x14
lea ecx, [ebp - 0x40]
call fcn.00403f80
lea ecx, [ebp - 0x24]
call fcn.00403f80
lea eax, [ebp - 0x24]
push eax
lea ecx, [edi + 0xc0]
call fcn.0051f97a
cmp dword [eax + 0x14], 8
jb 0x520300
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.00403f80
test esi, esi
je 0x5204bc
and dword [ebp - 8], 0
mov esi, dword [ebp - 4]
test esi, esi
je 0x5204bf
mov eax, dword [esi]
lea ecx, [ebp - 8]
push ecx
push 0x5ff944
push esi
call dword [eax]
mov esi, dword [ebp - 8]
xor ecx, ecx
test eax, eax
cmovs esi, ecx
mov dword [ebp - 8], esi
test esi, esi
je 0x5204bc
lea eax, [ebp - 0x24]
push eax
lea ecx, [edi + 0xc0]
call fcn.0051f97a
cmp dword [eax + 0x14], 8
jb 0x520362
mov eax, dword [eax]
mov ecx, dword [esi]
push 2
push eax
push esi
call dword [ecx + 0x14]
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.00403f80
test esi, esi
jns 0x52038f
mov eax, dword [ebp - 8]
test eax, eax
je 0x5204bc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x5204bc
lea eax, [ebp - 0x24]
lea esi, [edi + 0xc0]
push eax
mov ecx, esi
call fcn.0051f97a
cmp dword [eax + 0x14], 8
jb 0x5203a8
mov eax, dword [eax]
push eax
push 0x5d5830
push 2
call fcn.005bb560
push eax
call fcn.005bb420
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.00403f80
push 0x208
lea eax, [ebp - 0x280]
push 0
push eax
call fcn.00548bf0
push 0x250
lea eax, [ebp - 0x4d0]
push 0
push eax
call fcn.00548bf0
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x4d0]
add esp, 0x18
mov ecx, dword [eax]
push 6
push edx
push 0x104
lea edx, [ebp - 0x280]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x520467
lea eax, [ebp - 0x24]
push eax
lea ecx, [edi + 0x8c]
call fcn.0051f97a
cmp dword [eax + 0x14], 8
jb 0x520428
mov eax, dword [eax]
push 0x104
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.00579d77
add esp, 0xc
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.00403f80
test esi, esi
jne 0x520461
mov eax, dword [ebp - 8]
test eax, eax
je 0x52059e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x52059e
lea esi, [edi + 0xc0]
mov eax, dword [ebp - 8]
test eax, eax
je 0x520474
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x78]
call fcn.005afe10
push 0
lea ecx, [ebp - 0x78]
call fcn.005adb50
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.0051f97a
cmp dword [eax + 0x14], 8
jb 0x520499
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0040921d
lea ecx, [ebp - 0x78]
call fcn.005adc60
lea ecx, [ebp - 0x24]
call fcn.00403f80
lea ecx, [ebp - 0x78]
call fcn.005afd10
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x24]
push eax
lea ecx, [edi + 0x8c]
call fcn.0051f97a
cmp dword [eax + 0x14], 8
jb 0x5204d6
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push esi
call dword [ecx + 0x50]
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.00403f80
test esi, esi
js 0x52059c
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x24]
push eax
lea ecx, [edi + 0x8c]
call fcn.0051f95f
cmp dword [eax + 0x14], 8
jb 0x520509
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push esi
call dword [ecx + 0x24]
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.00403f80
test esi, esi
js 0x52059c
lea ecx, [edi + 0x58]
call fcn.005200fd
test eax, eax
je 0x5205a6
mov eax, dword [ebp - 4]
lea ecx, [edi + 0x58]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x24]
push eax
call fcn.0051f97a
cmp dword [eax + 0x14], 8
jb 0x520544
mov eax, dword [eax]
mov edx, dword [ebp - 8]
push 0
push eax
push edx
mov ecx, dword [edx]
call dword [ecx + 0x44]
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.00403f80
test esi, esi
js 0x52059c
cmp dword [edi + 0x38], 0
je 0x52057d
lea edx, [edi + 0x28]
cmp dword [edx + 0x14], 8
jb 0x52056f
mov edx, dword [edx]
mov eax, dword [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
js 0x52059c
cmp dword [edi + 0x50], 0
je 0x5205c8
lea edx, [edi + 0x40]
cmp dword [edx + 0x14], 8
jb 0x52058e
mov edx, dword [edx]
mov eax, dword [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x5205c8
xor ebx, ebx
mov eax, dword [ebp - 4]
jmp 0x5206ed
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x24]
push eax
lea ecx, [edi + 0x8c]
call fcn.0051f97a
cmp dword [eax + 0x14], 8
jb 0x5205c0
mov eax, dword [eax]
mov ecx, dword [esi]
push 0
push eax
push esi
jmp 0x52054d
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
test eax, eax
je 0x5206eb
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x5ff944
push eax
call dword [ecx]
mov esi, dword [ebp - 0xc]
xor ecx, ecx
test eax, eax
cmovs esi, ecx
mov dword [ebp - 0xc], esi
test esi, esi
je 0x5206e8
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
call fcn.0051f97a
cmp dword [eax + 0x14], 8
jb 0x52060e
mov eax, dword [eax]
mov ecx, dword [esi]
push ebx
push eax
push esi
call dword [ecx + 0x18]
lea ecx, [ebp - 0x24]
mov edi, eax
call fcn.00403f80
mov ebx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
mov ecx, ebx
call fcn.0051f97a
cmp dword [eax + 0x14], 8
jb 0x520636
mov eax, dword [eax]
push eax
push edi
push str.shell_link_file_Save_result___d____ls
push 2
call fcn.005bb560
push eax
call fcn.005bb420
add esp, 0x14
lea ecx, [ebp - 0x24]
call fcn.00403f80
test edi, edi
jns 0x520675
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5d58a0
push 2
call fcn.005bb560
push eax
call fcn.005bb420
add esp, 0x10
mov esi, dword [0x62a358]
sub esp, 0x18
mov ecx, ebx
push esp
call fcn.0051f97a
lea eax, [ebp - 0x40]
push eax
call fcn.005af950
add esp, 0x1c
mov ecx, eax
push esi
call fcn.00454f43
lea ecx, [ebp - 0x40]
mov bl, al
call fcn.00403f80
test bl, bl
je 0x5206d9
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
call fcn.0051f97a
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x5206be
mov ecx, dword [ecx]
xor eax, eax
inc eax
push eax
push eax
push str.Tencent.QQBrowser.Default
push ecx
call fcn.005b3d40
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.00403f80
mov eax, dword [ebp - 0xc]
xor ebx, ebx
test edi, edi
setns bl
jmp 0x52044e
mov eax, dword [ebp - 4]
xor ebx, ebx
test eax, eax
je 0x5206f7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret