Function at 0x403300
Capabilities:
Create directory
Create process on windows
Create shortcut via ishelllink
Get common file path
Move file
Persist via lnk shortcut
Persist via run registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4222e4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x594
push ebx
push ebp
push esi
push edi
xor esi, esi
mov dword [esp + 0x5ac], esi
mov eax, dword [str.Desktop]
mov ecx, dword [0x42b7c8]
mov edx, dword [str.Programs]
mov dword [esp + 0x48], eax
mov eax, dword [0x42b7bc]
mov dword [esp + 0x4c], ecx
mov cl, byte [0x42b7c0]
mov dword [esp + 0x2c], edx
mov edx, dword [str.Start_Menu]
mov dword [esp + 0x30], eax
mov eax, dword [0x42b7b0]
mov byte [esp + 0x34], cl
mov cx, word [0x42b7b4]
mov dword [esp + 0x3c], edx
mov dl, byte [0x42b7b6]
mov dword [esp + 0x40], eax
mov eax, dword [0x42e030]
mov dword [esp + 0x28], 0x104
mov word [esp + 0x44], cx
mov byte [esp + 0x46], dl
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov ebp, 1
mov byte [esp + 0x5ac], 6
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], esi
call fcn.00420a51
test eax, eax
je 0x4035ce
mov ebx, dword [esp + 0x5b8]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x298]
cmp ebx, esi
rep stosd dword es:[edi], eax
jne 0x4033d9
lea edi, [esp + 0x48]
jmp 0x4033e2
cmp ebx, 2
jne 0x403406
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x298]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x5b4]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x90]
rep stosd dword es:[edi], eax
push eax
lea ecx, [esp + 0x94]
push ebx
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x4035a7
lea eax, [esp + 0x90]
push eax
push ebx
call fcn.00404010
add esp, 8
test eax, eax
jne 0x4035a7
lea ecx, [esp + 0x20]
push ecx
push 0xf003f
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403556
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x28]
lea eax, [esp + 0x90]
push edx
lea ecx, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x2a4]
push 0
push edx
push eax
call ebp
test eax, eax
jne 0x4034b4
lea ecx, [esp + 0x90]
push ecx
call fcn.004045c0
add esp, 4
jmp 0x403535
mov eax, dword [0x42b760]
mov cl, byte [0x42b764]
mov edx, dword [str.Common]
mov dword [esp + 0x54], eax
mov byte [esp + 0x58], cl
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 0x59]
mov dword [esp + 0x50], edx
lea edx, [esp + 0x50]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [esp + 0x298]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x28]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x94]
lea edx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
lea eax, [esp + 0x5c]
push 0
push eax
push ecx
call ebp
test eax, eax
jne 0x40353d
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
mov ebp, 1
cmp eax, 1
jne 0x4035a7
lea eax, [esp + 0x194]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x194]
push ecx
call fcn.004045c0
lea edx, [esp + 0x30]
lea eax, [esp + 0x40]
push edx
push 0x42a264
push eax
lea ecx, [esp + 0x1a4]
push 0x42a264
push ecx
lea edx, [esp + 0xa8]
push str._s_s_s_s_s
push edx
call fcn.0040b8ea
add esp, 0x20
lea eax, [esp + 0x90]
push eax
call fcn.004045c0
lea ecx, [esp + 0x94]
push 0
push ecx
call fcn.0040c5e5
add esp, 0xc
test eax, eax
je 0x40365e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5ac], 5
call fcn.0041e239
lea ecx, [esp + 0x14]
mov byte [esp + 0x5ac], 4
call fcn.0041e239
lea ecx, [esp + 0x5bc]
mov byte [esp + 0x5ac], 3
call fcn.0041e239
lea ecx, [esp + 0x5c0]
mov byte [esp + 0x5ac], 2
call fcn.0041e239
lea ecx, [esp + 0x5c4]
mov byte [esp + 0x5ac], 1
call fcn.0041e239
lea ecx, [esp + 0x5c8]
mov byte [esp + 0x5ac], 0
call fcn.0041e239
lea ecx, [esp + 0x5cc]
mov dword [esp + 0x5ac], 0xffffffff
call fcn.0041e239
xor eax, eax
jmp 0x4039ea
mov eax, dword [esp + 0x5d4]
test eax, eax
jne 0x4038b1
cmp ebx, 2
jne 0x4036d2
mov edi, 0x42a264
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x90]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x90]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x42a5a4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x42a264
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x90]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x5c4]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x94]
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.0041e397
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x5b0], 7
call fcn.0041e2e2
lea ecx, [esp + 0x10]
mov byte [esp + 0x5ac], 6
call fcn.0041e239
lea eax, [esp + 0x18]
xor esi, esi
push eax
push 0x425fc8
push ebp
push esi
push 0x425fd8
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x40395d
mov eax, dword [esp + 0x5bc]
mov dword [esp + 0x10], esi
cmp byte [eax], 0
je 0x40377c
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x50]
mov eax, dword [esp + 0x5c0]
cmp byte [eax], 0
je 0x403793
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov eax, dword [esp + 0x5c8]
cmp byte [eax], 0
je 0x4037aa
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, dword [esp + 0x5cc]
cmp byte [ecx], 0
je 0x4037c2
mov eax, dword [esp + 0x18]
push esi
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push 0x426008
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp eax, esi
jl 0x40387b
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
call fcn.0041e2e2
lea ecx, [esp + 0x1c]
call fcn.0041e528
push str..lnk
lea ecx, [esp + 0x20]
call fcn.00419271
cmp eax, 0xffffffff
jne 0x403815
push str..lnk
lea ecx, [esp + 0x18]
call fcn.0041e46a
push 0x42b744
push 0x42a264
push 0x431980
lea ecx, [esp + 0x1a0]
push str._s_s_s
push ecx
call fcn.0040b8ea
add esp, 0x14
lea edx, [esp + 0x39c]
lea eax, [esp + 0x194]
push 0x104
push edx
push 0xffffffffffffffff
push eax
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x39c]
push ebp
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
jne 0x403871
mov esi, ebp
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 8]
cmp esi, ebp
jne 0x40395d
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x194]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x40395d
mov dword [esp + 0x24], ebp
jmp 0x40395d
mov edi, 0x42a264
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x90]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x5c4]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x94]
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.0041e397
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x5b0], 8
call fcn.0041e2e2
lea ecx, [esp + 0x10]
mov byte [esp + 0x5ac], 6
call fcn.0041e239
mov eax, dword [esp + 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x403934
mov dword [esp + 0x24], ebp
cmp dword [esp + 0x5d0], ebp
jne 0x40395d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x5b4]
push 5
push eax
push 0x432ffc
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5ac], 5
call fcn.0041e239
lea ecx, [esp + 0x14]
mov byte [esp + 0x5ac], 4
call fcn.0041e239
lea ecx, [esp + 0x5bc]
mov byte [esp + 0x5ac], 3
call fcn.0041e239
lea ecx, [esp + 0x5c0]
mov byte [esp + 0x5ac], 2
call fcn.0041e239
lea ecx, [esp + 0x5c4]
mov byte [esp + 0x5ac], 1
call fcn.0041e239
lea ecx, [esp + 0x5c8]
mov byte [esp + 0x5ac], 0
call fcn.0041e239
lea ecx, [esp + 0x5cc]
mov dword [esp + 0x5ac], 0xffffffff
call fcn.0041e239
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x5a4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5a0
ret