Function at 0x409680
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 [0x448044]
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.004279d0
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.004279d0
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0xa2a]
push edx
mov word [ebp - 0xa2c], cx
call fcn.004279d0
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x61a]
push ecx
mov word [ebp - 0x61c], ax
call fcn.004279d0
add esp, 0x30
xor eax, eax
jmp 0x409720
movzx ecx, word [eax + str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders]
mov word [ebp + eax - 0x414], cx
add eax, 2
test cx, cx
jne 0x409720
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 0x40976b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fb1e
mov esp, ebp
pop ebp
ret
push esi
push 0x208
lea ecx, [ebp - 0x414]
push 0
push ecx
call fcn.004279d0
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 0x4097cf
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fb1e
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push ebx
push str.ICON.ico
push 0x48b008
lea ecx, [ebp - 0x61c]
push 0x43ab00
push ecx
xor bl, bl
call esi
lea edx, [ebp - 0x61c]
push 0
push edx
call fcn.0042017e
add esp, 0x18
test eax, eax
jne 0x409835
push 0x48b008
lea eax, [ebp - 0xc34]
push 0x43be8c
push eax
mov bl, 1
call esi
push 0x43be98
push 0x48b008
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.004279d0
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x822]
push edx
mov word [ebp - 0x824], cx
call fcn.004279d0
push str.WiNet.lnk
push 0x48b008
lea eax, [ebp - 0x824]
push 0x43ab00
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 0x4098e7
and eax, 0xfc00
cmp eax, 0x400
jne 0x4098e7
cmp bl, 1
jne 0x4098cd
push 0x43bed8
lea edx, [ebp - 0x414]
push edx
push str._s_s.lnk
lea eax, [ebp - 0x20c]
push eax
jmp 0x409956
push 0x43befc
lea ecx, [ebp - 0x414]
push ecx
push str._s_s.lnk
lea edx, [ebp - 0x20c]
push edx
jmp 0x409956
call edi
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp ecx, 4
jne 0x40993e
and eax, 0xfc00
cmp eax, 0x800
jne 0x40993e
cmp bl, 1
jne 0x409924
push 0x43bf14
lea edx, [ebp - 0x414]
push edx
push str._s_s.lnk
lea eax, [ebp - 0x20c]
push eax
jmp 0x409956
push 0x43bf24
lea ecx, [ebp - 0x414]
push ecx
push str._s_s.lnk
lea edx, [ebp - 0x20c]
push edx
jmp 0x409956
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 [0x44963c], 0
je 0x4099e3
lea edx, [ebp - 0x61c]
push 0
push edx
call fcn.0042017e
add esp, 8
test eax, eax
jne 0x4099ab
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.00409620
add esp, 8
jmp 0x409ab0
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 0x409ab0
push 0x43befc
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 0x43bed8
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 0x43bf24
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 0x43bf14
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.0041fb1e
mov esp, ebp
pop ebp
ret