Function at 0x40be20
Capabilities:
Copy file
Delete file
Persist via lnk shortcut
Print debug messages
Query or enumerate registry value
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc40
mov eax, dword [0x44c044]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.00428490
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0xc32]
push eax
mov dword [ebp - 0xc40], 0xc8
mov dword [ebp - 0xc3c], 1
mov word [ebp - 0xc34], dx
call fcn.00428490
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0xa2a]
push edx
mov word [ebp - 0xa2c], cx
call fcn.00428490
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x61a]
push ecx
mov word [ebp - 0x61c], ax
call fcn.00428490
add esp, 0x30
xor eax, eax
jmp 0x40bec0
movzx ecx, word [eax + str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders]
mov word [ebp + eax - 0x414], cx
add eax, 2
test cx, cx
jne 0x40bec0
lea edx, [ebp - 0xc38]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x414]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40bf0b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004217e4
mov esp, ebp
pop ebp
ret
push esi
push 0x208
lea ecx, [ebp - 0x414]
push 0
push ecx
call fcn.00428490
add esp, 0xc
lea edx, [ebp - 0xc40]
push edx
mov edx, dword [ebp - 0xc38]
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0xc3c]
push ecx
push 0
push str.Common_Start_Menu
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [ebp - 0xc38]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x40bf6f
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004217e4
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push ebx
push str.ICON.ico
push 0x48ef90
lea ecx, [ebp - 0x61c]
push 0x43bff0
push ecx
xor bl, bl
call esi
lea edx, [ebp - 0x61c]
push 0
push edx
call fcn.00422560
add esp, 0x18
test eax, eax
jne 0x40bfd5
push 0x48ef90
lea eax, [ebp - 0xc34]
push 0x43fa34
push eax
mov bl, 1
call esi
push 0x43fa40
push 0x48ef90
lea ecx, [ebp - 0xa2c]
push str.__s_s_
push ecx
call esi
add esp, 0x1c
push edi
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20a]
push eax
mov word [ebp - 0x20c], dx
call fcn.00428490
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x822]
push edx
mov word [ebp - 0x824], cx
call fcn.00428490
push str.WiNet.lnk
push 0x48ef90
lea eax, [ebp - 0x824]
push 0x43bff0
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
add esp, 0x28
call edi
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp ecx, 4
jne 0x40c087
and eax, 0xfc00
cmp eax, 0x400
jne 0x40c087
cmp bl, 1
jne 0x40c06d
push 0x43fa80
lea edx, [ebp - 0x414]
push edx
push str._s_s.lnk
lea eax, [ebp - 0x20c]
push eax
jmp 0x40c0f6
push 0x43faa4
lea ecx, [ebp - 0x414]
push ecx
push str._s_s.lnk
lea edx, [ebp - 0x20c]
push edx
jmp 0x40c0f6
call edi
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp ecx, 4
jne 0x40c0de
and eax, 0xfc00
cmp eax, 0x800
jne 0x40c0de
cmp bl, 1
jne 0x40c0c4
push 0x43fabc
lea edx, [ebp - 0x414]
push edx
push str._s_s.lnk
lea eax, [ebp - 0x20c]
push eax
jmp 0x40c0f6
push 0x43facc
lea ecx, [ebp - 0x414]
push ecx
push str._s_s.lnk
lea edx, [ebp - 0x20c]
push edx
jmp 0x40c0f6
push str.WiNet7
lea eax, [ebp - 0x414]
push eax
push str._s_s.lnk
lea ecx, [ebp - 0x20c]
push ecx
call esi
add esp, 0x10
cmp dword [0x44d62c], 0
je 0x40c183
lea edx, [ebp - 0x61c]
push 0
push edx
call fcn.00422560
add esp, 8
test eax, eax
jne 0x40c14b
push str.Icon_exist
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea ebx, [ebp - 0xc34]
lea edi, [ebp - 0xa2c]
call fcn.0040bda0
add esp, 8
jmp 0x40c250
push str.Icon_Path_not_exist__
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0x80
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x40c250
push 0x43faa4
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x20c]
push str._s_s.lnk
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x10
lea ecx, [ebp - 0x20c]
push ecx
call edi
push 0x43fa80
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x20c]
push str._s_s.lnk
push eax
call esi
add esp, 0x10
lea ecx, [ebp - 0x20c]
push ecx
call edi
push 0x43facc
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x20c]
push str._s_s.lnk
push eax
call esi
add esp, 0x10
lea ecx, [ebp - 0x20c]
push ecx
call edi
push 0x43fabc
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x20c]
push str._s_s.lnk
push eax
call esi
add esp, 0x10
lea ecx, [ebp - 0x20c]
push ecx
call edi
push str.WiNet7
lea edx, [ebp - 0x414]
push edx
lea eax, [ebp - 0x20c]
push str._s_s.lnk
push eax
call esi
add esp, 0x10
lea ecx, [ebp - 0x20c]
push ecx
call edi
lea edx, [ebp - 0x824]
push edx
call edi
mov ecx, dword [ebp - 4]
pop edi
pop ebx
xor ecx, ebp
mov eax, 1
pop esi
call fcn.004217e4
mov esp, ebp
pop ebp
ret