Function at 0x4505d0
Capabilities:
Delete file
Delete registry value
Get common file path
Get startup folder
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a6a8a
mov eax, dword fs:[0]
push eax
sub esp, 0x670
mov eax, dword [0x4c7894]
xor eax, esp
mov dword [esp + 0x66c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c7894]
xor eax, esp
push eax
lea eax, [esp + 0x684]
mov dword fs:[0], eax
lea eax, [esp + 0x24]
mov esi, ecx
push eax
mov dword [esp + 0x24], esi
call fcn.0046afa0
push str.dialConfig.ini
push eax
lea ecx, [esp + 0x68]
xor ebx, ebx
push ecx
mov dword [esp + 0x69c], ebx
call fcn.00418fe0
add esp, 0x10
cmp dword [esp + 0x3c], 0x10
jb 0x45064b
mov edx, dword [esp + 0x28]
push edx
call fcn.0047964d
add esp, 4
mov edi, 0xf
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x80]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0x6b4], 3
mov byte [ecx + 4], bl
call fcn.00408230
lea ecx, [esp + 0x5c]
call fcn.0046b240
mov ecx, dword [esi + 0x27c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0xf0
push ecx
call ebp
cmp eax, 1
jne 0x450702
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x4ac9a4
mov byte [ecx + 4], bl
call fcn.0040ecf0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push 0xb
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.CloseAction
mov byte [esp + 0x6d0], 4
mov byte [ecx + 4], bl
call fcn.0040ecf0
sub esp, 0x1c
mov byte [esp + 0x6e4], 5
mov dword [esp + 0x74], esp
jmp 0x4507a6
mov edx, dword [esi + 0x298]
push ebx
push ebx
push 0xf0
push edx
call ebp
push 1
sub esp, 0x1c
cmp eax, 1
mov ecx, esp
mov dword [esp + 0x3c], esp
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 1
mov byte [ecx + 4], bl
jne 0x450767
push 0x4add58
call fcn.0040ecf0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 0xb
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.CloseAction
mov byte [esp + 0x6d0], 6
mov byte [ecx + 4], bl
call fcn.0040ecf0
mov byte [esp + 0x6c8], 7
jmp 0x45079f
push 0x4adaf4
call fcn.0040ecf0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 0xb
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.CloseAction
mov byte [esp + 0x6d0], 8
mov byte [ecx + 4], bl
call fcn.0040ecf0
mov byte [esp + 0x6c8], 9
sub esp, 0x1c
mov dword [esp + 0x70], esp
mov ecx, esp
mov dword [ecx + 0x18], edi
push 7
mov dword [ecx + 0x14], ebx
push str.setting
mov byte [ecx + 4], bl
call fcn.0040ecf0
lea ecx, [esp + 0x98]
mov byte [esp + 0x6e4], 3
call fcn.0046b0a0
mov eax, dword [esi + 0x260]
push ebx
push ebx
push 0xf0
push eax
call ebp
mov ecx, dword [esi + 4]
mov ebp, eax
sub ebp, 1
neg ebp
push 0x410
sbb ebp, ebp
push ecx
add ebp, 1
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push ebx
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x20]
mov esi, eax
mov eax, dword [edx + 4]
sub esi, 1
neg esi
push 0x413
sbb esi, esi
push eax
add esi, 1
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push ebx
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp ebp, ebx
mov eax, 0x4ac9a4
jne 0x450845
mov eax, 0x4adaf4
push 1
sub esp, 0x1c
mov ecx, esp
lea edx, [eax + 1]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], esp
mov byte [ecx + 4], bl
mov dword [esp + 0x38], edx
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x450864
sub eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
call fcn.0040ecf0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 9
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.AutoStart
mov byte [esp + 0x6d0], 0xa
mov byte [ecx + 4], bl
call fcn.0040ecf0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 7
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.setting
mov byte [esp + 0x6ec], 0xb
mov byte [ecx + 4], bl
call fcn.0040ecf0
lea ecx, [esp + 0x98]
mov byte [esp + 0x6e4], 3
call fcn.0046b0a0
cmp esi, ebx
mov ecx, 0x4ac9a4
jne 0x4508ea
mov ecx, 0x4adaf4
push 1
sub esp, 0x1c
mov esi, esp
mov eax, ecx
lea edx, [eax + 1]
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov dword [esp + 0x3c], esp
mov byte [esi + 4], bl
mov dword [esp + 0x34], edx
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x450907
sub eax, dword [esp + 0x34]
push eax
push ecx
mov ecx, esi
call fcn.0040ecf0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 0xd
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.NotShowAdvert
mov byte [esp + 0x6d0], 0xc
mov byte [ecx + 4], bl
call fcn.0040ecf0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 7
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.setting
mov byte [esp + 0x6ec], 0xd
mov byte [ecx + 4], bl
call fcn.0040ecf0
lea ecx, [esp + 0x98]
mov byte [esp + 0x6e4], 3
call fcn.0046b0a0
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x18]
push eax
push 0x2001f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push closesocket
mov byte [esp + 0x6a0], 0xe
xor esi, esi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x450a42
cmp ebp, ebx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
je 0x450a1b
push 0x103
lea ecx, [esp + 0x7d]
push ebx
push ecx
mov byte [esp + 0x84], bl
call fcn.00479d70
add esp, 0xc
push 0x104
lea edx, [esp + 0x7c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [esp + 0x18]
add eax, 1
push eax
lea ecx, [esp + 0x7c]
push ecx
push 1
push ebx
push str.xunyou
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
jmp 0x450a27
push str.xunyou
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x450a3a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
cmp esi, ebx
jne 0x450aed
push ebx
push 7
lea eax, [esp + 0x184]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x450aed
push 0x3ff
lea ecx, [esp + 0x285]
push ebx
push ecx
mov byte [esp + 0x28c], bl
call fcn.00479d70
lea edx, [esp + 0x188]
push edx
push str._sxunyou.lnk
lea eax, [esp + 0x294]
push 0x400
push eax
call fcn.0047abf5
add esp, 0x1c
cmp ebp, ebx
je 0x450adf
push 0x103
lea ecx, [esp + 0x7d]
push ebx
push ecx
mov byte [esp + 0x84], bl
call fcn.00479d70
add esp, 0xc
push 0x104
lea edx, [esp + 0x7c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x284]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.0044fe60
jmp 0x450aed
lea edx, [esp + 0x280]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x450afc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 0x10
cmp dword [esp + 0x58], esi
jb 0x450b14
mov eax, dword [esp + 0x44]
push eax
call fcn.0047964d
add esp, 4
cmp dword [esp + 0x74], esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
jb 0x450b33
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0047964d
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x684]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x66c]
xor ecx, esp
call fcn.0047a194
add esp, 0x67c
ret