Function at 0x407930
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 [0x43e044]
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.00422210
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.00422210
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0xa2a]
push edx
mov word [ebp - 0xa2c], cx
call fcn.00422210
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x61a]
push ecx
mov word [ebp - 0x61c], ax
call fcn.00422210
add esp, 0x30
xor eax, eax
jmp 0x4079d0
movzx ecx, word [eax + str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders]
mov word [ebp + eax - 0x414], cx
add eax, 2
test cx, cx
jne 0x4079d0
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 0x407a1b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041a70e
mov esp, ebp
pop ebp
ret
push esi
push 0x208
lea ecx, [ebp - 0x414]
push 0
push ecx
call fcn.00422210
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 0x407a7f
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041a70e
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push ebx
push str.ICON.ico
push 0xb5b1f0
lea ecx, [ebp - 0x61c]
push str._s_s
push ecx
xor bl, bl
call esi
lea edx, [ebp - 0x61c]
push 0
push edx
call fcn.0041ad6e
add esp, 0x18
test eax, eax
jne 0x407ae5
push 0xb5b1f0
lea eax, [ebp - 0xc34]
push 0x43492c
push eax
mov bl, 1
call esi
push 0x434938
push 0xb5b1f0
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.00422210
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x822]
push edx
mov word [ebp - 0x824], cx
call fcn.00422210
push str.WiNet.lnk
push 0xb5b1f0
lea eax, [ebp - 0x824]
push str._s_s
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 0x407b97
and eax, 0xfc00
cmp eax, 0x400
jne 0x407b97
cmp bl, 1
jne 0x407b7d
push 0x434978
lea edx, [ebp - 0x414]
push edx
push str._s_s.lnk
lea eax, [ebp - 0x20c]
push eax
jmp 0x407c06
push 0x43499c
lea ecx, [ebp - 0x414]
push ecx
push str._s_s.lnk
lea edx, [ebp - 0x20c]
push edx
jmp 0x407c06
call edi
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp ecx, 4
jne 0x407bee
and eax, 0xfc00
cmp eax, 0x800
jne 0x407bee
cmp bl, 1
jne 0x407bd4
push 0x4349b4
lea edx, [ebp - 0x414]
push edx
push str._s_s.lnk
lea eax, [ebp - 0x20c]
push eax
jmp 0x407c06
push 0x4349c4
lea ecx, [ebp - 0x414]
push ecx
push str._s_s.lnk
lea edx, [ebp - 0x20c]
push edx
jmp 0x407c06
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 [0x43f6b4], 0
je 0x407c93
lea edx, [ebp - 0x61c]
push 0
push edx
call fcn.0041ad6e
add esp, 8
test eax, eax
jne 0x407c5b
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.004078d0
add esp, 8
jmp 0x407d57
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 0x407d57
push 0x43499c
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 0x434978
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 0x4349c4
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 0x4349b4
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
mov ecx, dword [ebp - 4]
pop edi
pop ebx
xor ecx, ebp
mov eax, 1
pop esi
call fcn.0041a70e
mov esp, ebp
pop ebp
ret