Function at 0x4079a0
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 [0x441044]
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.004238b0
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.004238b0
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0xa2a]
push edx
mov word [ebp - 0xa2c], cx
call fcn.004238b0
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x61a]
push ecx
mov word [ebp - 0x61c], ax
call fcn.004238b0
add esp, 0x30
xor eax, eax
jmp 0x407a40
movzx ecx, word [eax + str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders]
mov word [ebp + eax - 0x414], cx
add eax, 2
test cx, cx
jne 0x407a40
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 0x407a8b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041bcde
mov esp, ebp
pop ebp
ret
push esi
push 0x208
lea ecx, [ebp - 0x414]
push 0
push ecx
call fcn.004238b0
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 0x407aef
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041bcde
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push ebx
push str.ICON.ico
push 0xc38c90
lea ecx, [ebp - 0x61c]
push 0x435890
push ecx
xor bl, bl
call esi
lea edx, [ebp - 0x61c]
push 0
push edx
call fcn.0041c33e
add esp, 0x18
test eax, eax
jne 0x407b55
push 0xc38c90
lea eax, [ebp - 0xc34]
push 0x4369f4
push eax
mov bl, 1
call esi
push 0x436a00
push 0xc38c90
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.004238b0
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x822]
push edx
mov word [ebp - 0x824], cx
call fcn.004238b0
push str.WiNet.lnk
push 0xc38c90
lea eax, [ebp - 0x824]
push 0x435890
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 0x407c07
and eax, 0xfc00
cmp eax, 0x400
jne 0x407c07
cmp bl, 1
jne 0x407bed
push 0x436a40
lea edx, [ebp - 0x414]
push edx
push str._s_s.lnk
lea eax, [ebp - 0x20c]
push eax
jmp 0x407c76
push 0x436a64
lea ecx, [ebp - 0x414]
push ecx
push str._s_s.lnk
lea edx, [ebp - 0x20c]
push edx
jmp 0x407c76
call edi
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp ecx, 4
jne 0x407c5e
and eax, 0xfc00
cmp eax, 0x800
jne 0x407c5e
cmp bl, 1
jne 0x407c44
push 0x436a7c
lea edx, [ebp - 0x414]
push edx
push str._s_s.lnk
lea eax, [ebp - 0x20c]
push eax
jmp 0x407c76
push 0x436a8c
lea ecx, [ebp - 0x414]
push ecx
push str._s_s.lnk
lea edx, [ebp - 0x20c]
push edx
jmp 0x407c76
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 [0x4426a4], 0
je 0x407d03
lea edx, [ebp - 0x61c]
push 0
push edx
call fcn.0041c33e
add esp, 8
test eax, eax
jne 0x407ccb
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.00407940
add esp, 8
jmp 0x407dd0
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 0x407dd0
push 0x436a64
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 0x436a40
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 0x436a8c
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 0x436a7c
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.0041bcde
mov esp, ebp
pop ebp
ret