Function at 0x460853
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x5c5244]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x2bc]
push 0x56c9a8
mov dword [ebp - 0x2b8], 0
call fcn.0042b850
mov dword [ebp - 4], 0
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x460a52
push 0
push eax
lea ecx, [ebp - 0x184]
call fcn.0044c1a0
mov byte [ebp - 4], 1
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
lea esi, [ecx + 1]
mov byte [ebp - 0xb8], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4605b5
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xb8]
call fcn.00420e20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x180]
mov eax, dword [ebp - 0x184]
cmp eax, ecx
je 0x4605e8
push eax
call fcn.004fe668
add esp, 4
cmp word [0x5cce10], 0
jne 0x460601
push 0x400
push 0x5cce10
call fcn.004d3d10
push 0
push 0x5cce10
lea ecx, [ebp - 0x184]
call fcn.0044c1a0
mov byte [ebp - 4], 4
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
lea esi, [ecx + 1]
mov byte [ebp - 0x28], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460640
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00420e20
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x180]
mov eax, dword [ebp - 0x184]
cmp eax, ecx
je 0x460670
push eax
call fcn.004fe668
add esp, 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004dd1a0
add esp, 0xc
test eax, eax
je 0x460a2b
push 1
push 3
lea ecx, [ebp - 0x1b0]
call fcn.0045d0d0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1a0]
push dword [ebp + 0xc]
call fcn.0045da90
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov dword [ebp - 0x2b8], 2
test cl, 2
jne 0x460735
mov eax, dword [ebp - 0x178]
mov edx, dword [eax]
test edx, edx
je 0x460735
mov eax, dword [ebp - 0x188]
cmp edx, dword [ebp - 0x160]
cmovb edx, dword [ebp - 0x160]
mov ecx, dword [eax]
sub edx, ecx
jmp 0x460758
test cl, 4
jne 0x460765
mov eax, dword [ebp - 0x17c]
mov edx, dword [eax]
test edx, edx
je 0x460765
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax]
sub edx, ecx
mov eax, dword [ebp - 0x16c]
add edx, dword [eax]
push edx
push ecx
lea ecx, [ebp - 0x88]
call fcn.00420e20
mov esi, 2
mov dword [ebp - 0x2b8], esi
and esi, 0xfffffffd
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 4], 9
or esi, 1
mov dword [ebp - 0x2b8], esi
mov byte [ebp - 4], 0xb
or esi, 4
mov dword [ebp - 0x2b8], esi
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
push eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00462f00
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
push eax
call fcn.0041e870
push 1
push 0x57428c
lea ecx, [ebp - 0x58]
call fcn.0041e870
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x58]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0041e870
mov dword [ebp - 0xd8], 0
or esi, 8
mov dword [ebp - 0xd4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xe8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xd8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x2b8], esi
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xe8]
push 1
push 0x57428c
call fcn.0041e870
mov dword [ebp - 0xc0], 0
or esi, 0x10
mov dword [ebp - 0xbc], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0xd0]
mov dword [ebp - 0x2b8], esi
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.0045c480
add esp, 0xc
mov byte [ebp - 4], 0xe
and esi, 0xffffffef
mov dword [ebp - 0x2b8], esi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xd0]
call fcn.00421360
and esi, 0xfffffff7
mov dword [ebp - 0x2b8], esi
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xe8]
call fcn.00421360
and esi, 0xfffffffb
mov dword [ebp - 0x2b8], esi
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x58]
call fcn.00421360
and esi, 0xfffffffe
mov dword [ebp - 0x2b8], esi
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x88]
call fcn.00421360
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xa0]
push 0x24
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
push str.6804FACB_33CC_48a8_99B1_4E2A487F9638
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
call fcn.00420e20
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.004dd1a0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xa0]
call fcn.00421360
test esi, esi
je 0x460a01
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
push 0
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x2b4]
push eax
call fcn.0044bfd0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2bc]
push dword [eax]
call fcn.00443580
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2b0]
mov eax, dword [ebp - 0x2b4]
cmp eax, ecx
je 0x460a01
push eax
call fcn.004fe668
add esp, 4
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x70]
call fcn.00421360
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x100]
call fcn.00421360
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1b0]
call fcn.0045dc60
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.00421360
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00421360
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb8]
call fcn.00421360
mov eax, dword [ebp - 0x2bc]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [eax - 0xc]
lea ecx, [ecx*2 + 2]
push ecx
push eax
push 1
push str.url0
push str.SOFTWARELudashi
push SysReAllocString
call esi
push dword [edi]
test eax, eax
jne 0x460a92
push 0x574368
call fcn.00492250
add esp, 8
jmp 0x460aa6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.FAIL__SetHomePage_to_HKEY_CURRENT_USERSOFTWARELudashiurl0__error___d__url___s
call fcn.00492250
add esp, 0xc
push 0x574270
lea ecx, [ebp - 0x2c0]
call fcn.0042b850
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [eax - 0xc]
lea ecx, [ecx*2 + 2]
push ecx
push eax
push 1
push str.url_pid
push str.SOFTWARELudashi
push SysReAllocString
call esi
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp - 0x2c0]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x460b03
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2bc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x460b25
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004da3bd
mov esp, ebp
pop ebp
ret