Function at 0x140027170
Capabilities:
Create shortcut via ishelllink
Set file attributes

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x350
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x340], rbx
mov qword [rbp + 0x348], rsi
mov qword [rbp + 0x350], rdi
mov rax, qword [0x1400cf070]
xor rax, rbp
mov qword [rbp + 0x300], rax
xor esi, esi
mov r13d, esi
mov rdx, qword [0x1400d42b0]
mov rcx, qword [0x1400d42a8]
call fcn.140008a70
mov rax, qword [0x1400d42a8]
mov qword [0x1400d42b0], rax
call fcn.1400254c0
mov r15d, esi
mov rax, qword [0x1400d42b0]
mov rcx, qword [0x1400d42a8]
sub rax, rcx
sar rax, 5
test rax, rax
je 0x140027782
mov r12d, esi
mov r9d, esi
nop
mov r8, r12
shl r8, 5
add r8, rcx
cmp qword [r8 + 0x18], 0x10
jb 0x140027214
mov r8, qword [r8]
lea rdx, str._homePagelock_
lea rcx, [0x1400c1cd8]
call fcn.140023fc0
shl r9, 5
add r9, qword [0x1400d42a8]
mov rdx, r9
lea rcx, [rbp + 0x60]
call fcn.1400024e0
nop
xor r14b, r14b
cmp qword [0x1400d0290], 0
jbe 0x140027720
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x140027720
lea rcx, [rbp + 0x60]
mov rbx, qword [rbp + 0x60]
mov rdi, qword [rbp + 0x78]
cmp rdi, 0x10
cmovae rcx, rbx
mov qword [rsp + 0x20], 4
lea r9, str..lnk
mov rsi, qword [rbp + 0x70]
mov rdx, rsi
call fcn.14001d300
cmp rax, 0xffffffffffffffff
je 0x1400277c6
xor esi, esi
mov qword [rbp + 0x50], rsi
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x1400843c8]
xor edx, edx
lea r8d, [rsi + 1]
lea rcx, [0x1400843b8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400277ba
mov qword [rbp + 0x48], rsi
mov rcx, qword [rbp + 0x50]
mov rax, qword [rcx]
lea r8, [rbp + 0x48]
lea rdx, [0x140084398]
call qword [rax]
test eax, eax
js 0x1400276d8
lea r8, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
jb 0x1400272ff
mov r8, qword [rbp + 0x60]
test r8, r8
je 0x140027373
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], sil
jne 0x140027306
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x140027373
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140027337
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140074280
sub rsp, rcx
lea rdi, [rsp + 0x40]
test rdi, rdi
je 0x140027373
mov word [rdi], si
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rdi
xor edx, edx
lea ecx, [rdx + 3]
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
cmove rdi, rsi
jmp 0x140027376
mov rdi, rsi
mov rcx, qword [rbp + 0x50]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, rdi
call qword [rax + Ordinal_41]
test eax, eax
js 0x1400276c6
mov qword [rbp + 0xc0], rsi
mov qword [rbp + 0xd0], rsi
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xc0], sil
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0xe0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x1f0]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8d, 0x104
lea rdx, [rbp + 0xe0]
call qword [rax + Ordinal_26]
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
mov r8d, 0x104
lea rdx, [rbp + 0x1f0]
call qword [rax + 0x50]
lea r9, [rbp + 0x1f0]
lea r8, [rbp + 0xe0]
lea rdx, str._homePagelock_
lea rcx, [0x1400c1d10]
call fcn.140023fc0
lea rax, [rbp + 0x28]
mov qword [rbp + 0x58], rax
lea rdx, [0x1400d0280]
lea rcx, [rbp + 0x28]
call fcn.1400024e0
mov rbx, rax
mov qword [rbp], rsi
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
lea rax, [rbp + 0xe0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140027465
lea rdx, [rbp + 0xe0]
lea rcx, [rbp]
call fcn.140003160
nop
mov rdx, rbx
lea rcx, [rbp]
call fcn.140026c70
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x90], rsi
mov qword [rbp + 0x98], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x80], 0
lea rax, [rbp + 0xe0]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400274c0
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x80]
call fcn.140003160
nop
mov qword [rbp + 0xa0], rsi
mov qword [rbp + 0xb0], rsi
mov qword [rbp + 0xb8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa0], 0
lea rax, [rbp + 0x1f0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140027510
lea rdx, [rbp + 0x1f0]
lea rcx, [rbp + 0xa0]
call fcn.140003160
nop
mov qword [rbp], rsi
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], rsi
mov rsi, qword [rbp + 0x70]
lea r14, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae r14, qword [rbp + 0x60]
cmp rsi, 0x10
jae 0x140027564
movups xmm0, xmmword [r14]
movups xmmword [rbp], xmm0
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
jmp 0x1400275dd
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400275b8
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140027b5f
mov rcx, rax
call fcn.1400738c8
mov rcx, rax
test rax, rax
je 0x140027b3c
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400275c6
test rcx, rcx
je 0x1400275c4
call fcn.1400738c8
jmp 0x1400275c6
xor eax, eax
mov qword [rbp], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x10], rsi
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov r9, qword [rbp + 0x48]
mov r8, qword [rbp + 0x50]
lea rdx, [rbp]
call fcn.140027b70
movzx r14d, al
test al, al
je 0x14002761a
inc r13d
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x14002765b
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027656
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140027b43
call fcn.140073b54
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0xb8], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa0], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x1400276ba
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400276b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140027b4a
call fcn.140073b54
nop
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x1400276de
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x1400276de
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
test r14b, r14b
je 0x140027720
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae rcx, qword [rbp + 0x60]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae rcx, qword [rbp + 0x60]
call fcn.1400258b0
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x14002775b
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027756
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140027b58
call fcn.140073b54
inc r15d
inc r12
movsxd r9, r15d
mov rax, qword [0x1400d42b0]
mov rcx, qword [0x1400d42a8]
sub rax, rcx
sar rax, 5
cmp r9, rax
jb 0x140027200
mov eax, r13d
mov rcx, qword [rbp + 0x300]
xor rcx, rbp
call fcn.140073640
mov rbx, qword [rbp + 0x340]
mov rsi, qword [rbp + 0x348]
mov rdi, qword [rbp + 0x350]
lea rsp, [rbp + 0x310]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
jmp 0x1400276e8
lea rcx, [rbp + 0x60]
cmp rdi, 0x10
cmovae rcx, rbx
mov qword [rsp + 0x20], 4
lea r9, str..url
mov rdx, rsi
call fcn.14001d300
cmp rax, 0xffffffffffffffff
je 0x1400276e8
xor esi, esi
mov qword [rbp + 0x48], rsi
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [0x1400843a8]
xor edx, edx
lea r8d, [rsi + 1]
lea rcx, [0x140084388]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400276e8
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x1400276e8
mov qword [rbp + 0x50], rsi
mov rax, qword [rcx]
lea r8, [rbp + 0x50]
lea rdx, [0x1400843c8]
call qword [rax]
test eax, eax
js 0x140027b27
mov r9, qword [rbp + 0x50]
test r9, r9
je 0x140027b27
lea r8, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
jb 0x14002786f
mov r8, qword [rbp + 0x60]
test r8, r8
je 0x1400278e7
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], sil
jne 0x140027876
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x1400278e7
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1400278a7
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140074280
sub rsp, rcx
lea rdi, [rsp + 0x40]
test rdi, rdi
je 0x1400278e7
mov word [rdi], si
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rdi
xor edx, edx
lea ecx, [rdx + 3]
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
cmove rdi, rsi
mov r9, qword [rbp + 0x50]
jmp 0x1400278ea
mov rdi, rsi
mov rax, qword [r9]
xor r8d, r8d
mov rdx, rdi
mov rcx, r9
call qword [rax + Ordinal_41]
test eax, eax
js 0x140027b1d
mov qword [rbp + 0x58], rsi
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
lea rdx, [rbp + 0x58]
call qword [rax + 0x20]
test eax, eax
js 0x140027b1d
mov r8, qword [rbp + 0x58]
test r8, r8
je 0x140027b1d
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [r8 + rax*2], si
jne 0x140027930
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x1400279ab
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140027962
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140074280
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x1400279ab
mov byte [rbx], sil
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
xor edx, edx
lea ecx, [rdx + 3]
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, rsi
jmp 0x1400279ae
mov rbx, rsi
mov r8, rbx
lea rdx, str._homePagelock_
lea rcx, str._surl_lnk:_s_n
call fcn.140023fc0
mov qword [rbp + 0x80], rsi
mov qword [rbp + 0x90], rsi
mov qword [rbp + 0x98], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x80], sil
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rbx + r8], sil
jne 0x1400279f0
mov rdx, rbx
lea rcx, [rbp + 0x80]
call fcn.140003160
nop
lea rcx, [rbp + 0x80]
call fcn.1400242c0
test al, al
jne 0x140027ad5
lea r8, [0x1400d0280]
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
jb 0x140027a3a
mov r8, qword [0x1400d0280]
test r8, r8
je 0x140027aaf
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], 0
jne 0x140027a41
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x140027aaf
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140027a73
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140074280
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x140027aaf
mov word [rbx], si
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], rbx
xor edx, edx
lea ecx, [rdx + 3]
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
cmove rbx, rsi
jmp 0x140027ab2
mov rbx, rsi
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, rbx
call qword [rax + Ordinal_26]
mov rcx, qword [rbp + 0x50]
mov rax, qword [rcx]
mov r8d, 1
mov rdx, rdi
call qword [rax + 0x30]
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x140027b1d
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027b18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140027b51
call fcn.140073b54
mov rcx, qword [rbp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x140027720
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400017a0
int3