Function at 0x402d3f
Capabilities:
Copy file
Delete file
Get common file path
Persist via lnk shortcut

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x680
and byte [ebp - 0x1f4], 0
push ebx
push esi
push edi
lea eax, [ebp - 0x1f4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x40309d
lea eax, [ebp - 0x1f4]
push eax
call fcn.00404ad0
test eax, eax
pop ecx
jle 0x40309d
push 1
pop eax
push eax
mov dword [ebp - 8], eax
call fcn.00402c2e
test eax, eax
pop ecx
je 0x402e9d
push eax
mov ecx, 0x40cc58
call fcn.00401d01
mov esi, eax
cmp byte [esi], 0
je 0x402e9d
push 0x3b
push esi
call fcn.00401da1
mov ebx, eax
pop ecx
test ebx, ebx
pop ecx
jne 0x402dcd
push esi
call fcn.00404ad0
mov ebx, eax
pop ecx
add ebx, esi
and dword [ebp - 8], 0
jmp 0x402dd0
and byte [ebx], 0
push 0x2c
push esi
mov dword [ebp - 4], 0x7cd
mov dword [ebp - 0xc], 4
call fcn.004051d0
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x402e15
and byte [edi], 0
inc edi
push edi
call fcn.00405330
pop ecx
mov dword [ebp - 4], eax
push 0x2c
push edi
call fcn.004051d0
pop ecx
test eax, eax
pop ecx
je 0x402e15
inc eax
push eax
call fcn.00405330
pop ecx
mov dword [ebp - 0xc], eax
push esi
lea eax, [ebp - 0x334]
push 0x40cb38
push eax
call fcn.0040274a
add esp, 0xc
lea eax, [ebp - 0x1f4]
push esi
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.0040274a
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.00402bc0
pop ecx
cmp eax, 1
pop ecx
jne 0x402e6c
movzx eax, word [ebp - 0x28]
cmp eax, dword [ebp - 4]
jl 0x402e6c
jne 0x402e82
movzx eax, word [ebp - 0x26]
cmp eax, dword [ebp - 0xc]
jge 0x402e82
lea eax, [ebp - 0x474]
push 0
push eax
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 8], 0
je 0x402e9d
lea esi, [ebx + 1]
jmp 0x402da3
push 2
call fcn.00402c2e
test eax, eax
pop ecx
je 0x403098
push eax
mov ecx, 0x40cc58
call fcn.00401d01
mov ebx, eax
mov dword [ebp - 0x10], ebx
cmp byte [ebx], 0
je 0x403098
push 3
call fcn.00402c2e
mov esi, eax
pop ecx
test esi, esi
je 0x403098
lea eax, [ebp - 0x14]
xor edi, edi
push eax
call fcn.00402831
test eax, eax
pop ecx
mov dword [ebp - 0xc], eax
je 0x403085
push ebx
lea eax, [ebp - 0x52c]
push str._CreateGroup___s___
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x52c]
push dword [ebp - 0xc]
push eax
call fcn.00402807
and dword [ebp - 4], edi
pop ecx
lea eax, [esi + 1]
pop ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 8], eax
push esi
mov ecx, 0x40cc58
call fcn.00401d01
mov ebx, eax
push ebx
call fcn.00402c13
test eax, eax
pop ecx
je 0x402f49
push 4
call fcn.00402c2e
cmp eax, dword [ebp - 8]
pop ecx
jne 0x402fa7
jmp 0x402f9e
cmp byte [ebx], 0
je 0x402f9e
push 0x2c
push ebx
call fcn.004051d0
pop ecx
test eax, eax
pop ecx
je 0x402f9e
and byte [eax], 0
inc eax
push eax
call fcn.00401d1a
mov edi, eax
pop ecx
cmp byte [edi], 0
je 0x402f9e
push ebx
lea eax, [ebp - 0x334]
push 0x40cb38
push eax
call fcn.0040274a
add esp, 0xc
lea eax, [ebp - 0x334]
push edi
push eax
push dword [ebp - 0xc]
call fcn.00402930
add esp, 0xc
cmp esi, dword [ebp - 0x18]
jne 0x402f9e
mov dword [ebp - 4], edi
inc esi
inc dword [ebp - 8]
jmp 0x402f22
push dword [ebp - 0xc]
call sub.USER32.dll_DdeDisconnect
push dword [ebp - 0x14]
call sub.USER32.dll_DdeUninitialize
cmp dword [ebp - 4], 0
push 1
pop edi
je 0x403085
and byte [ebp - 0x1f4], 0
lea eax, [ebp - 0x1f4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x403085
lea eax, [ebp - 0x1f4]
push eax
call fcn.00404ad0
test eax, eax
pop ecx
jbe 0x403085
lea eax, [ebp - 0x1f4]
push str.Start_MenuPrograms
push eax
lea eax, [ebp - 0x1f4]
push eax
call fcn.0040274a
add esp, 0xc
lea eax, [ebp - 0x1f4]
push dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x1f4]
push eax
call fcn.0040274a
add esp, 0xc
lea eax, [ebp - 0x1f4]
push dword [ebp - 4]
push eax
lea eax, [ebp - 0x1f4]
push eax
call fcn.0040274a
add esp, 0xc
lea eax, [ebp - 0x1f4]
push str..LNK
push eax
call fcn.00404b60
pop ecx
lea eax, [ebp - 0x680]
pop ecx
push dword [ebp - 4]
push eax
call fcn.00402793
pop ecx
test eax, eax
pop ecx
je 0x403085
lea eax, [ebp - 0x680]
push 0
push eax
lea eax, [ebp - 0x1f4]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test edi, edi
jne 0x403098
push 0x30
push 0x40a184
push 0x40a160
push edi
jmp 0x4030af
push 1
pop eax
jmp 0x4030b7
push 0x10
push 0x40a154
push 0x40a13c
push dword [0x40d13c]
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret