Function at 0x40bc70
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 [0x44a044]
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.00427f40
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.00427f40
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0xa2a]
push edx
mov word [ebp - 0xa2c], cx
call fcn.00427f40
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x61a]
push ecx
mov word [ebp - 0x61c], ax
call fcn.00427f40
add esp, 0x30
xor eax, eax
jmp 0x40bd10
movzx ecx, word [eax + str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders]
mov word [ebp + eax - 0x414], cx
add eax, 2
test cx, cx
jne 0x40bd10
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 0x40bd5b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421294
mov esp, ebp
pop ebp
ret
push esi
push 0x208
lea ecx, [ebp - 0x414]
push 0
push ecx
call fcn.00427f40
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 0x40bdbf
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00421294
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push ebx
push str.ICON.ico
push 0x48cf90
lea ecx, [ebp - 0x61c]
push 0x43aff8
push ecx
xor bl, bl
call esi
lea edx, [ebp - 0x61c]
push 0
push edx
call fcn.00422010
add esp, 0x18
test eax, eax
jne 0x40be25
push 0x48cf90
lea eax, [ebp - 0xc34]
push 0x43e80c
push eax
mov bl, 1
call esi
push 0x43e818
push 0x48cf90
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.00427f40
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x822]
push edx
mov word [ebp - 0x824], cx
call fcn.00427f40
push str.WiNet.lnk
push 0x48cf90
lea eax, [ebp - 0x824]
push 0x43aff8
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 0x40bed7
and eax, 0xfc00
cmp eax, 0x400
jne 0x40bed7
cmp bl, 1
jne 0x40bebd
push 0x43e858
lea edx, [ebp - 0x414]
push edx
push str._s_s.lnk
lea eax, [ebp - 0x20c]
push eax
jmp 0x40bf46
push 0x43e87c
lea ecx, [ebp - 0x414]
push ecx
push str._s_s.lnk
lea edx, [ebp - 0x20c]
push edx
jmp 0x40bf46
call edi
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp ecx, 4
jne 0x40bf2e
and eax, 0xfc00
cmp eax, 0x800
jne 0x40bf2e
cmp bl, 1
jne 0x40bf14
push 0x43e894
lea edx, [ebp - 0x414]
push edx
push str._s_s.lnk
lea eax, [ebp - 0x20c]
push eax
jmp 0x40bf46
push 0x43e8a4
lea ecx, [ebp - 0x414]
push ecx
push str._s_s.lnk
lea edx, [ebp - 0x20c]
push edx
jmp 0x40bf46
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 [0x44b62c], 0
je 0x40bfd3
lea edx, [ebp - 0x61c]
push 0
push edx
call fcn.00422010
add esp, 8
test eax, eax
jne 0x40bf9b
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.0040bc10
add esp, 8
jmp 0x40c0a0
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 0x40c0a0
push 0x43e87c
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 0x43e858
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 0x43e8a4
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 0x43e894
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.00421294
mov esp, ebp
pop ebp
ret