Function at 0x404800
Capabilities:
Copy file
Create shortcut via ishelllink
Get common file path
Get graphical window text
Persist via run registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5cbb81
mov eax, dword fs:[0]
push eax
sub esp, 0x874
mov eax, dword [0x613ad0]
xor eax, esp
mov dword [esp + 0x870], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x613ad0]
xor eax, esp
push eax
lea eax, [esp + 0x888]
mov dword fs:[0], eax
mov eax, dword [esp + 0x898]
mov ecx, dword [esp + 0x89c]
mov esi, dword [esp + 0x8a0]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0x104
call fcn.0057e772
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x404880
push 0x80004005
call fcn.00401a10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x890], ebx
call fcn.0057e772
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4048b1
push 0x80004005
call fcn.00401a10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x890], 1
call fcn.0057e772
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4048e3
push 0x80004005
call fcn.00401a10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
cmp esi, ebx
mov byte [esp + 0x890], 2
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
je 0x404919
mov dword [esi], ebx
push 0x615414
lea ecx, [esp + 0x1c]
mov word [esp + 0x478], bx
call fcn.004024f0
mov edx, dword [0x6152f8]
mov eax, dword [edx + 0x20]
push ebx
lea ecx, [esp + 0x1c]
push ecx
push 0x2656
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0x5d869c
lea ecx, [esp + 0x20]
call fcn.00403a10
push 0xd
push str.ltsModule.exe
lea ecx, [esp + 0x20]
call fcn.00403a10
push 0x104
lea ecx, [esp + 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
mov ebp, 0x5c
jne 0x4049ba
cmp word [esp + 0x26e], 0x3a
jne 0x4049ba
cmp word [esp + 0x270], bp
jne 0x4049ba
lea edx, [esp + 0x26c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4049ba
mov word [esp + 0x26c], bx
lea eax, [esp + 0x26c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4049c4
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x26a], bp
je 0x404a03
lea edi, [esp + 0x26c]
add edi, 0xfffffffe
jmp 0x4049f0
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x4049f0
mov eax, dword [0x5d869c]
mov dword [edi], eax
lea edi, [esp + 0x26c]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x404a10
mov ecx, 7
mov esi, str.ltsModule.exe
lea eax, [esp + 0x26c]
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404a32
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x270]
push ecx
lea ecx, [esp + 0x24]
call fcn.00402270
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ebx
push edi
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [esp + 0x24]
push eax
push 1
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404aae
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x478]
push edx
lea eax, [esp + 0x44]
push eax
push ebx
push str.Desktop
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [esp + 0x474], bx
jne 0x404b5e
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x890], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404ae4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x890], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404b07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x890], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404b32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x888]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x870]
xor ecx, esp
call fcn.005aac48
add esp, 0x880
ret 0xc
lea eax, [esp + 0x474]
lea edx, [eax + 2]
jmp 0x404b70
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404b70
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x478]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402270
mov edx, dword [esp + 0x14]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x404d72
cmp eax, ecx
jg 0x404d72
movzx eax, word [edx + eax*2]
cmp ax, bp
je 0x404bc2
push 0x5d869c
lea ecx, [esp + 0x18]
call fcn.00404560
mov esi, dword [esp + 0x2c]
cmp esi, ebx
jne 0x404bce
xor eax, eax
jmp 0x404be2
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404bd3
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.00403a10
push 4
push 0x5d86a0
lea ecx, [esp + 0x1c]
call fcn.00403a10
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
mov esi, dword [esp + 0x14]
je 0x404c1e
lea edx, [esp + 0x40]
push edx
push esi
call fcn.0059b714
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp], eax
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x20]
push eax
push 0x5f72a8
push 1
push ebx
push 0x5f72b8
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x404cf0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push 0x5f72f8
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jl 0x404ce4
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push edi
push eax
call edx
test eax, eax
jge 0x404c93
lea ecx, [esp + 0x18]
call fcn.00401f40
lea ecx, [esp + 0x1c]
call fcn.00401f40
lea ecx, [esp + 0x14]
call fcn.00401f40
jmp 0x404b32
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
cmp eax, ebx
jl 0x404c73
lea edx, [esp + 0x67c]
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x404cb3
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x680]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x890], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404d1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x890], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404d41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x890], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404d68
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x404b34
push 0x80070057
call fcn.00401a10
int3