Function at 0x51f330
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59000e
mov eax, dword fs:[0]
push eax
sub esp, 0x4d4
mov eax, dword [0x5ed80c]
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 + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x4e0], eax
mov dword [ebp - 0x4dc], ecx
mov dword [ebp - 0x4d4], edx
call fcn.00408110
add esp, 4
test al, al
je 0x51fd6d
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x4c0], eax
call ebx
mov dword [ebp - 0x4c8], eax
push str.shortcut.cpp
lea eax, [ebp - 0x4c4]
push eax
mov ecx, 0x5f1460
call fcn.00506650
mov esi, eax
mov ecx, dword [esi]
push 0x59d37c
mov dword [ebp - 4], 0
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x42
call fcn.00506510
mov ecx, eax
call fcn.0040bb90
mov ecx, dword [esi]
push 0x59d378
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [ebp - 0x4c8]
add esp, 8
push ecx
mov ecx, dword [esi]
call fcn.00506510
mov ecx, eax
call fcn.0043e160
mov ecx, dword [esi]
push 0x59d374
call fcn.00506510
push eax
call fcn.0040b260
mov edx, dword [ebp - 0x4c0]
mov ecx, dword [esi]
add esp, 8
push edx
call fcn.00506510
mov ecx, eax
call fcn.0043e160
mov ecx, dword [esi]
push 0x59d370
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push str.mailru::shortcut::change_path_object
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x59c870
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x59d344
call fcn.00506510
push eax
call fcn.0040b260
add esp, 8
push str.come_in_into_change_path_object
mov ecx, esi
call fcn.0042a0c0
mov ecx, dword [ebp - 0x4c4]
mov dword [ebp - 4], 0xffffffff
call fcn.00506510
push eax
call fcn.0040ceb0
add esp, 4
lea eax, [ebp - 0x4d0]
push eax
push 0x5bde90
push 1
push 0
push 0x5c47a8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x51fd6d
call edi
mov dword [ebp - 0x4c0], eax
call ebx
push str.shortcut.cpp
lea ecx, [ebp - 0x4c8]
push ecx
mov ecx, 0x5f1460
mov dword [ebp - 0x4c4], eax
call fcn.00506650
mov esi, eax
mov ecx, dword [esi]
push 0x59d37c
mov dword [ebp - 4], 1
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x4e
call fcn.00506510
mov ecx, eax
call fcn.0040bb90
mov ecx, dword [esi]
push 0x59d378
call fcn.00506510
push eax
call fcn.0040b260
mov edx, dword [ebp - 0x4c4]
mov ecx, dword [esi]
add esp, 8
push edx
call fcn.00506510
mov ecx, eax
call fcn.0043e160
mov ecx, dword [esi]
push 0x59d374
call fcn.00506510
push eax
call fcn.0040b260
mov eax, dword [ebp - 0x4c0]
mov ecx, dword [esi]
add esp, 8
push eax
call fcn.00506510
mov ecx, eax
call fcn.0043e160
mov ecx, dword [esi]
push 0x59d370
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push str.mailru::shortcut::change_path_object
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x59c870
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x59d344
call fcn.00506510
push eax
call fcn.0040b260
add esp, 8
push str.CoCreateInstance_S_OK
mov ecx, esi
call fcn.0042a0c0
mov ecx, dword [ebp - 0x4c8]
mov dword [ebp - 4], 0xffffffff
call fcn.00506510
push eax
call fcn.0040ceb0
mov eax, dword [ebp - 0x4d0]
add esp, 4
mov ecx, dword [eax]
lea edx, [ebp - 0x4d8]
push edx
push 0x5c4798
push eax
mov eax, dword [ecx]
call eax
test eax, eax
js 0x51fd5f
call edi
mov dword [ebp - 0x4c0], eax
call ebx
push str.shortcut.cpp
lea ecx, [ebp - 0x4c8]
push ecx
mov ecx, 0x5f1460
mov dword [ebp - 0x4c4], eax
call fcn.00506650
mov esi, eax
mov ecx, dword [esi]
push 0x59d37c
mov dword [ebp - 4], 2
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x54
call fcn.00506510
mov ecx, eax
call fcn.0040bb90
mov ecx, dword [esi]
push 0x59d378
call fcn.00506510
push eax
call fcn.0040b260
mov edx, dword [ebp - 0x4c4]
mov ecx, dword [esi]
add esp, 8
push edx
call fcn.00506510
mov ecx, eax
call fcn.0043e160
mov ecx, dword [esi]
push 0x59d374
call fcn.00506510
push eax
call fcn.0040b260
mov eax, dword [ebp - 0x4c0]
mov ecx, dword [esi]
add esp, 8
push eax
call fcn.00506510
mov ecx, eax
call fcn.0043e160
mov ecx, dword [esi]
push 0x59d370
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push str.mailru::shortcut::change_path_object
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x59c870
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x59d344
call fcn.00506510
push eax
call fcn.0040b260
add esp, 8
push str.QueryInterface_S_OK
mov ecx, esi
call fcn.0042a0c0
mov ecx, dword [ebp - 0x4c8]
mov dword [ebp - 4], 0xffffffff
call fcn.00506510
push eax
call fcn.0040ceb0
add esp, 4
lea ecx, [ebp - 0x234]
push ecx
mov ecx, dword [ebp - 0x4e0]
call fcn.00407200
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 3
jb 0x51f764
mov eax, dword [eax]
mov ecx, dword [ebp - 0x4d8]
mov edx, dword [ecx]
push 0
push eax
mov eax, dword [edx + 0x14]
push ecx
call eax
cmp dword [ebp - 0x220], 8
mov esi, eax
mov dword [ebp - 4], 0xffffffff
jb 0x51f796
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.0055ae44
add esp, 4
test esi, esi
js 0x51fd51
call edi
mov dword [ebp - 0x4c0], eax
call ebx
push str.shortcut.cpp
lea edx, [ebp - 0x4c8]
push edx
mov ecx, 0x5f1460
mov dword [ebp - 0x4c4], eax
call fcn.00506650
mov esi, eax
mov ecx, dword [esi]
push 0x59d37c
mov dword [ebp - 4], 4
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x59
call fcn.00506510
mov ecx, eax
call fcn.0040bb90
mov ecx, dword [esi]
push 0x59d378
call fcn.00506510
push eax
call fcn.0040b260
mov eax, dword [ebp - 0x4c4]
mov ecx, dword [esi]
add esp, 8
push eax
call fcn.00506510
mov ecx, eax
call fcn.0043e160
mov ecx, dword [esi]
push 0x59d374
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [ebp - 0x4c0]
add esp, 8
push ecx
mov ecx, dword [esi]
call fcn.00506510
mov ecx, eax
call fcn.0043e160
mov ecx, dword [esi]
push 0x59d370
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push str.mailru::shortcut::change_path_object
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x59c870
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x59d344
call fcn.00506510
push eax
call fcn.0040b260
add esp, 8
push str.Load_S_OK
mov ecx, esi
call fcn.0042a0c0
mov ecx, dword [ebp - 0x4c8]
mov dword [ebp - 4], 0xffffffff
call fcn.00506510
push eax
call fcn.0040ceb0
add esp, 4
call edi
mov dword [ebp - 0x4c0], eax
call ebx
push str.shortcut.cpp
lea edx, [ebp - 0x4c8]
push edx
mov ecx, 0x5f1460
mov dword [ebp - 0x4c4], eax
call fcn.00506650
mov esi, eax
mov ecx, dword [esi]
push 0x59d37c
mov dword [ebp - 4], 5
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x5e
call fcn.00506510
mov ecx, eax
call fcn.0040bb90
mov ecx, dword [esi]
push 0x59d378
call fcn.00506510
push eax
call fcn.0040b260
mov eax, dword [ebp - 0x4c4]
mov ecx, dword [esi]
add esp, 8
push eax
call fcn.00506510
mov ecx, eax
call fcn.0043e160
mov ecx, dword [esi]
push 0x59d374
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [ebp - 0x4c0]
add esp, 8
push ecx
mov ecx, dword [esi]
call fcn.00506510
mov ecx, eax
call fcn.0043e160
mov ecx, dword [esi]
push 0x59d370
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push str.mailru::shortcut::change_path_object
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x59c870
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x59d344
call fcn.00506510
push eax
call fcn.0040b260
add esp, 8
push str.Resolve_S_OK
mov ecx, esi
call fcn.0042a0c0
mov ecx, dword [ebp - 0x4c8]
mov dword [ebp - 4], 0xffffffff
call fcn.00506510
push eax
call fcn.0040ceb0
mov eax, dword [ebp - 0x4d0]
mov edx, dword [eax]
add esp, 4
mov edx, dword [edx + 0xc]
push 4
lea ecx, [ebp - 0x4bc]
push ecx
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push eax
call edx
test eax, eax
js 0x51fd51
call edi
mov dword [ebp - 0x4c0], eax
call ebx
mov dword [ebp - 0x4c4], eax
push str.shortcut.cpp
lea eax, [ebp - 0x4c8]
push eax
mov ecx, 0x5f1460
call fcn.00506650
mov esi, eax
mov ecx, dword [esi]
push 0x59d37c
mov dword [ebp - 4], 6
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x64
call fcn.00506510
mov ecx, eax
call fcn.0040bb90
mov ecx, dword [esi]
push 0x59d378
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [ebp - 0x4c4]
add esp, 8
push ecx
mov ecx, dword [esi]
call fcn.00506510
mov ecx, eax
call fcn.0043e160
mov ecx, dword [esi]
push 0x59d374
call fcn.00506510
push eax
call fcn.0040b260
mov edx, dword [ebp - 0x4c0]
mov ecx, dword [esi]
add esp, 8
push edx
call fcn.00506510
mov ecx, eax
call fcn.0043e160
mov ecx, dword [esi]
push 0x59d370
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push str.mailru::shortcut::change_path_object
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x59c870
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x59d344
call fcn.00506510
push eax
call fcn.0040b260
add esp, 8
push str.GetPath_S_OK
mov ecx, esi
call fcn.0042a0c0
mov ecx, dword [ebp - 0x4c8]
mov dword [ebp - 4], 0xffffffff
call fcn.00506510
push eax
call fcn.0040ceb0
add esp, 4
lea eax, [ebp - 0x250]
mov ecx, dword [ebp - 0x4dc]
push eax
call fcn.00407200
mov esi, eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 7
call fcn.00401ec0
push esi
push eax
mov byte [ebp - 4], 8
call fcn.004f2790
add esp, 8
lea ecx, [ebp - 0x234]
mov byte [ebp - 0x4c9], al
call fcn.00413b90
or esi, 0xffffffff
lea ecx, [ebp - 0x250]
mov dword [ebp - 4], esi
call fcn.00413b90
cmp byte [ebp - 0x4c9], 0
je 0x51fd51
mov ecx, dword [ebp - 0x4dc]
lea edx, [ebp - 0x250]
push edx
call fcn.00407200
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 9
jb 0x51fbbf
mov ecx, dword [eax]
jmp 0x51fbc1
mov ecx, eax
mov eax, dword [ebp - 0x4d0]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x50]
call eax
lea ecx, [ebp - 0x250]
mov dword [ebp - 4], esi
call fcn.00413b90
mov eax, dword [ebp - 0x4d4]
cmp dword [eax + 0x14], 8
jb 0x51fbec
mov eax, dword [eax]
mov ecx, dword [ebp - 0x4d0]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x2c]
push ecx
call eax
test eax, eax
js 0x51fd51
call edi
mov edi, eax
call ebx
push str.shortcut.cpp
lea ecx, [ebp - 0x4d4]
push ecx
mov ecx, 0x5f1460
mov ebx, eax
call fcn.00506650
mov esi, eax
mov ecx, dword [esi]
push 0x59d37c
mov dword [ebp - 4], 0xa
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x6c
call fcn.00506510
mov ecx, eax
call fcn.0040bb90
mov ecx, dword [esi]
push 0x59d378
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push ebx
call fcn.00506510
mov ecx, eax
call fcn.0043e160
mov ecx, dword [esi]
push 0x59d374
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push edi
call fcn.00506510
mov ecx, eax
call fcn.0043e160
mov ecx, dword [esi]
push 0x59d370
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push str.mailru::shortcut::change_path_object
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x59c870
call fcn.00506510
push eax
call fcn.0040b260
mov ecx, dword [esi]
add esp, 8
push 0x59d344
call fcn.00506510
push eax
call fcn.0040b260
add esp, 8
push str.SetArguments_S_OK
mov ecx, esi
call fcn.0042a0c0
mov ecx, dword [ebp - 0x4d4]
or esi, 0xffffffff
mov dword [ebp - 4], esi
call fcn.00506510
push eax
call fcn.0040ceb0
add esp, 4
lea edx, [ebp - 0x26c]
push edx
mov ecx, dword [ebp - 0x4e0]
call fcn.00407200
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0xb
jb 0x51fd32
mov eax, dword [eax]
mov ecx, dword [ebp - 0x4d8]
mov edx, dword [ecx]
push 1
push eax
mov eax, dword [edx + 0x18]
push ecx
call eax
lea ecx, [ebp - 0x26c]
mov dword [ebp - 4], esi
call fcn.00413b90
mov eax, dword [ebp - 0x4d8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x4d0]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
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.0055bc32
mov esp, ebp
pop ebp
ret