Function at 0x41b7f0
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x506747
mov eax, dword fs:[0]
push eax
sub esp, 0xef8
mov eax, dword [0x543720]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x41b920
mov eax, dword [esi + 0x2038]
test eax, eax
jle 0x41b83c
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edi, [esi + 0x404]
push 0x52a988
push edi
call fcn.004e1f30
add esp, 8
test eax, eax
jne 0x41b927
lea eax, [esi + 0x1824]
push 0x20
push eax
call fcn.004e21a0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x41be32
push 0x207
lea eax, [ebp - 0x21b]
mov byte [ebx], 0
push 0
push eax
mov byte [ebp - 0x21c], 0
call fcn.004e4b60
add esp, 0xc
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x21c]
push 0x208
push eax
call fcn.004e2945
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x52a990
push 0x208
push eax
call fcn.004e1c45
add esp, 0xc
lea eax, [esi + 0x804]
push eax
lea eax, [ebp - 0x21c]
push 0x208
push eax
call fcn.004e2945
add esp, 0xc
lea eax, [ebp - 0x21c]
push edi
push 0x208
push eax
call fcn.004e1c45
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push ecx
push eax
lea eax, [esi + 0x1824]
push eax
push str.open
push ecx
call fcn.00419840
mov ecx, eax
call fcn.0043e6c0
cmp eax, 0x20
jae 0x41be32
xor eax, eax
jmp 0x41be37
push 0x7ff
lea eax, [ebp - 0xe3b]
mov byte [ebp - 0xe3c], 0
push 0
push eax
call fcn.004e4b60
add esp, 0xc
lea eax, [esi + 0x804]
push eax
lea eax, [ebp - 0xe3c]
push 0x800
push eax
call fcn.004e2945
add esp, 0xc
lea eax, [ebp - 0xe3c]
push edi
push 0x800
push eax
call fcn.004e1c45
add esp, 0xc
mov dword [ebp - 0xe44], 0
cmp byte [ebp - 0xe3c], 0
mov dword [ebp - 0xe40], 0
mov dword [ebp - 0xe40], 0xf
mov dword [ebp - 0xe44], 0
mov byte [ebp - 0xe54], 0
jne 0x41b9b0
xor ecx, ecx
jmp 0x41b9c9
lea ecx, [ebp - 0xe3c]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b9c0
sub ecx, edx
push ecx
lea eax, [ebp - 0xe3c]
push eax
lea ecx, [ebp - 0xe54]
call fcn.00402090
mov dword [ebp - 4], 0
lea edi, [esi + 0x1824]
cmp byte [edi], 0
je 0x41ba1c
push 0x52a990
lea eax, [ebp - 0xe3c]
push 0x800
push eax
call fcn.004e1c45
add esp, 0xc
lea eax, [ebp - 0xe3c]
push edi
push 0x800
push eax
call fcn.004e1c45
add esp, 0xc
push 0x40
lea eax, [ebp - 0xec8]
push 0
push eax
call fcn.004e4b60
add esp, 0xc
mov dword [ebp - 0xecc], 0x44
xor eax, eax
mov dword [ebp - 0xea0], 0x101
mov word [ebp - 0xe9c], ax
push eax
lea eax, [ebp - 0xe3c]
push eax
lea eax, [ebp - 0xecc]
push eax
call fcn.0041d290
test eax, eax
jne 0x41bdf9
push eax
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [ebx + 0x12d8]
cmp dword [eax + 0x1d8], 0
je 0x41bdb6
cmp dword [esi + 0x29f0], 0
je 0x41bdb6
cmp dword [esi + 0x2a08], 0
je 0x41bdb6
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x63c], ax
lea eax, [ebp - 0x63a]
push eax
call fcn.004e4b60
add esp, 0xc
lea eax, [ebp - 0x63c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x41bb61
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004e2c4e
add esp, 4
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push eax
lea eax, [ebp - 0x21a]
push eax
call fcn.004e4b60
add esp, 0xc
call fcn.004e2c2d
push eax
lea eax, [ebp - 0x21c]
push str._d.ico
push eax
call fcn.0041f390
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x63c]
push 0x105
push eax
call fcn.004e2e47
lea eax, [esi + 0x29e0]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x41bb44
mov eax, dword [eax]
sub esp, 8
lea ecx, [ebp - 0x63c]
push ecx
push eax
sub esp, 8
call fcn.0041f270
add esp, 4
mov ecx, eax
call fcn.0043f4d0
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x42c], ax
lea eax, [ebp - 0x42a]
push eax
call fcn.004e4b60
add esp, 0xc
lea eax, [ebp - 0x42c]
push 0
push 0x10
push eax
push ecx
call fcn.00419840
mov ecx, eax
call fcn.0043e650
test eax, eax
je 0x41bc0d
lea ecx, [ebp - 0x42c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41bba4
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jbe 0x41bc0d
push 0x529aa8
lea eax, [ebp - 0x42c]
push 0x105
push eax
call fcn.004e2e47
add esi, 0x29f8
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x41bbdf
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x42c]
push 0x105
push eax
call fcn.004e2e47
add esp, 0xc
lea eax, [ebp - 0x42c]
push str..lnk
push 0x105
push eax
call fcn.004e2e47
add esp, 0xc
lea eax, [ebp - 0xed0]
mov dword [ebp - 0xed0], 0
push eax
push 0x522918
push 1
push 0
push 0x522948
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41bdbc
cmp dword [ebp - 0xed0], 0
je 0x41bdbc
push 0
lea edx, [ebp - 0xe54]
lea ecx, [ebp - 0xe84]
call fcn.00453d50
add esp, 4
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0xe5c], 0
mov dword [ebp - 0xe58], 0
mov dword [ebp - 0xe58], 7
mov dword [ebp - 0xe5c], 0
mov word [ebp - 0xe6c], ax
mov byte [ebp - 4], 2
lea edx, [ebp - 0xe84]
mov eax, dword [ebp - 0xed0]
cmp dword [ebp - 0xe70], 8
cmovae edx, dword [ebp - 0xe84]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x50]
cmp byte [edi], 0
je 0x41bd31
push edi
lea ecx, [ebp - 0xeec]
call fcn.00401d30
mov byte [ebp - 4], 3
lea edx, [ebp - 0xeec]
push 0
lea ecx, [ebp - 0xf04]
call fcn.00453d50
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe6c]
push eax
call fcn.00407660
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xf04]
call fcn.004076a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xeec]
call fcn.00401d90
mov eax, dword [ebp - 0xed0]
lea edx, [ebp - 0xe6c]
cmp dword [ebp - 0xe58], 8
cmovae edx, dword [ebp - 0xe6c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xed0]
lea edx, [ebp - 0x63c]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0xed0]
lea edx, [ebp - 0xed4]
push edx
mov dword [ebp - 0xed4], 0
push 0x522958
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
js 0x41bd8c
mov eax, dword [ebp - 0xed4]
lea edx, [ebp - 0x42c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0xed4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xed0]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe6c]
call fcn.004076a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe84]
call fcn.004076a0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xe40], 0x10
jb 0x41bdda
push dword [ebp - 0xe54]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0xe40], 0xf
xor eax, eax
mov dword [ebp - 0xe44], 0
mov byte [ebp - 0xe54], 0
jmp 0x41be37
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xe40], 0x10
jb 0x41be17
push dword [ebp - 0xe54]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0xe40], 0xf
mov dword [ebp - 0xe44], 0
mov byte [ebp - 0xe54], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e03e9
mov esp, ebp
pop ebp
ret 4