Function at 0x4342a0
Capabilities:
Create shortcut via ishelllink
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5473a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
xor eax, eax
mov dword [ebp - 0x48], 0
push esi
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov dword [ebp - 4], eax
cmp byte [ebp + 0x18], al
jne 0x434336
push 1
push eax
movzx eax, byte [ebp + 8]
xor eax, 1
push 1
add eax, 3
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0042fb90
mov esi, eax
add esp, 0x14
lea eax, [ebp - 0x48]
cmp eax, esi
je 0x434378
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x43434a
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x434340
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43457b
jmp 0x434340
push 0
push 0
push 0
push 6
jmp 0x4342ef
push edx
push ecx
call fcn.004b9160
add esp, 8
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], eax
mov word [ebp - 0x48], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x38], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x30]
call fcn.00416700
cmp dword [ebp - 0x38], 0
je 0x434580
mov byte [ebp - 4], 1
call fcn.00413290
mov ecx, eax
test ecx, ecx
je 0x43459b
mov eax, dword [ecx]
push edi
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push dword [ebp + 0xc]
cmovae eax, dword [ebp - 0x48]
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push str._s_s.lnk
push eax
call fcn.00432890
mov esi, dword [ebp - 0x10]
push esi
call fcn.0042e210
movzx edi, al
add esp, 0x14
mov ax, word [0x5cc2dc]
test al, al
je 0x434410
mov dword [ebp - 0x18], 0xb7e5c4
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
sub eax, 0x624800
push edi
push esi
push eax
movzx eax, word [0x5cc2dc]
push eax
call fcn.004bad80
mov ax, word [0x5cc2dc]
add esp, 0x10
cmp byte [ebp + 0x1c], 0
jne 0x43441e
test edi, edi
je 0x43451d
test al, al
je 0x434446
mov dword [ebp + 0x18], 0xb8d1d8
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp - 0x10]
sub eax, 0x6333e0
push esi
push eax
movzx eax, word [0x5cc2dc]
push eax
call fcn.004bad80
add esp, 0xc
mov dword [ebp + 0x18], 0
push str.CLSID_ShellLink_failed
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 3
push eax
push 0x5968dc
push 1
push 0
push 0x5a85fc
call dword [sym.imp.ole32.dll_CoCreateInstance]
push eax
call fcn.004377a0
mov eax, dword [ebp + 0x18]
add esp, 8
mov ecx, dword [eax]
push str.psl__SetPath_failed
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x50]
push eax
call fcn.004377a0
mov edx, dword [ebp + 0x14]
add esp, 8
test edx, edx
je 0x4344b0
mov eax, dword [ebp + 0x18]
push str.psl__SetArguments_failed
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push eax
call fcn.004377a0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0x18]
lea edx, [ebp - 0x14]
push str.IID_IPersistFile_failed
push edx
push 0x5a85ec
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 4
call dword [ecx]
push eax
call fcn.004377a0
mov eax, dword [ebp - 0x14]
add esp, 8
mov ecx, dword [eax]
push str.IPersistFile_Save_failed
push 1
push esi
push eax
call dword [ecx + 0x18]
push eax
call fcn.004377a0
add esp, 8
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
test eax, eax
je 0x43450c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 6
test eax, eax
je 0x43451d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
pop edi
test eax, eax
jg 0x434536
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x34]
pop esi
cmp edx, 8
jb 0x43456d
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x434563
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43457b
push edx
push ecx
call fcn.004b9160
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0051bb5f
push str.Failed_to_create_Shortcuts_folder
lea ecx, [ebp - 0x24]
call fcn.00415fb0
push 0x5bd8e4
lea eax, [ebp - 0x24]
push eax
call fcn.00518295
push 0x80004005
call fcn.004178c0
int3