Function at 0x45a360
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 0x4ba430
mov eax, dword fs:[0]
push eax
sub esp, 0x674
mov eax, dword [0x4de57c]
xor eax, esp
mov dword [esp + 0x670], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4de57c]
xor eax, esp
push eax
lea eax, [esp + 0x688]
mov dword fs:[0], eax
lea eax, [esp + 0x28]
mov edi, ecx
push eax
mov dword [esp + 0x28], edi
call fcn.0046a740
push str.dialConfig.ini
push eax
lea ecx, [esp + 0x6c]
xor ebx, ebx
push ecx
mov dword [esp + 0x6a0], ebx
call fcn.00416030
add esp, 0x10
cmp dword [esp + 0x40], 0x10
jb 0x45a3db
mov edx, dword [esp + 0x2c]
push edx
call fcn.0048d433
add esp, 4
mov ebp, 0xf
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x84]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0x6b8], 3
mov byte [ecx + 4], bl
call fcn.00401cf0
lea ecx, [esp + 0x60]
call fcn.0046a9e0
mov ecx, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x402
push ecx
call esi
push ebx
push ebx
push pe_nt_image_headers32
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
jne 0x45a494
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 0x4bfcf8
mov byte [ecx + 4], bl
call fcn.00401e90
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 0xb
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.CloseAction
mov byte [esp + 0x6d4], 4
mov byte [ecx + 4], bl
call fcn.00401e90
mov byte [esp + 0x6cc], 5
jmp 0x45a53a
mov edx, dword [edi + 4]
push 0x403
push edx
call esi
push ebx
push ebx
push pe_nt_image_headers32
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
sub esp, 0x1c
cmp eax, 1
mov ecx, esp
mov dword [esp + 0x34], esp
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push 1
mov byte [ecx + 4], bl
jne 0x45a502
push 0x4c2bb0
call fcn.00401e90
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 0xb
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.CloseAction
mov byte [esp + 0x6d4], 6
mov byte [ecx + 4], bl
call fcn.00401e90
mov byte [esp + 0x6cc], 7
jmp 0x45a53a
push 0x4bfd0c
call fcn.00401e90
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 0xb
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.CloseAction
mov byte [esp + 0x6d4], 8
mov byte [ecx + 4], bl
call fcn.00401e90
mov byte [esp + 0x6cc], 9
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
mov dword [ecx + 0x18], ebp
push 7
mov dword [ecx + 0x14], ebx
push str.setting
mov byte [ecx + 4], bl
call fcn.00401e90
lea ecx, [esp + 0x9c]
mov byte [esp + 0x6e8], 3
call fcn.0046a840
mov eax, dword [edi + 4]
push 0x3f2
push eax
call esi
push ebx
push ebx
push pe_nt_image_headers32
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi + 4]
sub eax, 1
neg eax
sbb eax, eax
push 0x3f3
add eax, 1
push ecx
mov dword [esp + 0x24], eax
call esi
push ebx
push ebx
push pe_nt_image_headers32
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [edi + 4]
mov esi, eax
sub esi, 1
neg esi
push 0x410
sbb esi, esi
push edx
add esi, 1
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push ebx
push pe_nt_image_headers32
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
sub edi, 1
neg edi
sbb edi, edi
add edi, 1
cmp dword [esp + 0x1c], ebx
mov eax, 0x4bfcf8
jne 0x45a5f1
mov eax, 0x4bfd0c
push 1
sub esp, 0x1c
mov ecx, esp
lea edx, [eax + 1]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], esp
mov byte [ecx + 4], bl
mov dword [esp + 0x34], edx
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x45a610
sub eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x3c]
push eax
call fcn.00401e90
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 9
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.AutoStart
mov byte [esp + 0x6d4], 0xa
mov byte [ecx + 4], bl
call fcn.00401e90
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 7
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.setting
mov byte [esp + 0x6f0], 0xb
mov byte [ecx + 4], bl
call fcn.00401e90
lea ecx, [esp + 0x9c]
mov byte [esp + 0x6e8], 3
call fcn.0046a840
cmp esi, ebx
mov ecx, 0x4bfcf8
jne 0x45a696
mov ecx, 0x4bfd0c
push 1
sub esp, 0x1c
mov esi, esp
mov eax, ecx
lea edx, [eax + 1]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
mov dword [esp + 0x40], esp
mov byte [esi + 4], bl
mov dword [esp + 0x34], edx
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x45a6b3
sub eax, dword [esp + 0x34]
push eax
push ecx
mov ecx, esi
call fcn.00401e90
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 0xb
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.autostartjs
mov byte [esp + 0x6d4], 0xc
mov byte [ecx + 4], bl
call fcn.00401e90
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 7
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.setting
mov byte [esp + 0x6f0], 0xd
mov byte [ecx + 4], bl
call fcn.00401e90
lea ecx, [esp + 0x9c]
mov byte [esp + 0x6e8], 3
call fcn.0046a840
cmp edi, ebx
mov edi, 0x4bfcf8
jne 0x45a737
mov edi, 0x4bfd0c
push 1
sub esp, 0x1c
mov esi, esp
mov eax, edi
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
mov dword [esp + 0x40], esp
mov byte [esi + 4], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x45a750
sub eax, ecx
push eax
push edi
mov ecx, esi
call fcn.00401e90
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x50], esp
push 0xa
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.dispDetail
mov byte [esp + 0x6d4], 0xe
mov byte [ecx + 4], bl
call fcn.00401e90
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 7
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push str.setting
mov byte [esp + 0x6f0], 0xf
mov byte [ecx + 4], bl
call fcn.00401e90
lea ecx, [esp + 0x9c]
mov byte [esp + 0x6e8], 3
call fcn.0046a840
xor edi, edi
mov dword [esp + 0x14], edi
lea eax, [esp + 0x18]
push eax
push 0x2001f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
mov byte [esp + 0x6a4], 0x10
xor esi, esi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x45a896
cmp dword [esp + 0x1c], ebx
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], edi
je 0x45a86d
push 0x103
lea ecx, [esp + 0x81]
push ebx
push ecx
mov byte [esp + 0x88], bl
call fcn.0048ea70
add esp, 0xc
push 0x104
lea edx, [esp + 0x80]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
lea ecx, [esp + 0x80]
push ecx
push 1
push ebx
push str.xunyou
mov edx, edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
neg esi
sbb esi, esi
add esi, 1
jmp 0x45a879
push str.xunyou
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x45a88e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [esp + 0x14], edi
cmp esi, ebx
jne 0x45a949
push ebx
push 7
lea eax, [esp + 0x188]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x45a949
push 0x3ff
lea ecx, [esp + 0x289]
push ebx
push ecx
mov byte [esp + 0x290], bl
call fcn.0048ea70
lea edx, [esp + 0x18c]
push edx
push str._sxunyou.lnk
lea eax, [esp + 0x298]
push 0x400
push eax
call fcn.0048f10b
add esp, 0x1c
cmp dword [esp + 0x1c], ebx
je 0x45a93b
push 0x103
lea ecx, [esp + 0x81]
push ebx
push ecx
mov byte [esp + 0x88], bl
call fcn.0048ea70
add esp, 0xc
push 0x104
lea edx, [esp + 0x80]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x288]
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.00459e60
jmp 0x45a949
lea edx, [esp + 0x284]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp edi, ebx
je 0x45a954
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 0x10
cmp dword [esp + 0x5c], esi
jb 0x45a96c
mov eax, dword [esp + 0x48]
push eax
call fcn.0048d433
add esp, 4
cmp dword [esp + 0x78], esi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
jb 0x45a98b
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0048d433
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x688]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x670]
xor ecx, esp
call fcn.0048de34
add esp, 0x680
ret