Function at 0x4a3f60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x560d1f
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x5c5244]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
lea ebx, [eax + 0x28]
push 0x3ef
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.004a44c0
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004a3320
add esp, 8
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x4a3fe1
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4a3fe1
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x4a3fe1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push 0x3f0
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.004a44c0
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004a3320
add esp, 8
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x4a402c
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4a402c
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x4a402c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push 0x3f1
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.004a44c0
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004a3320
add esp, 8
mov byte [ebp - 4], 8
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x4a4077
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4a4077
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x4a4077
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
cmp dword [ebp - 0x44], 0
je 0x4a43d9
cmp dword [ebp - 0x3c], 0
je 0x4a43d9
cmp dword [ebp - 0x34], 0
je 0x4a43d9
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
push eax
mov ecx, ebx
call fcn.004a4580
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x14]
call fcn.004426c0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x3c]
call fcn.00467db0
test eax, eax
je 0x4a4281
push 0
push 0
push 0x147
push dword [ebx + 0x6c]
call dword [sym.imp.USER32.dll_SendMessageW]
sub eax, 0
je 0x4a412c
sub eax, 1
je 0x4a4261
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x6c]
call fcn.004a45e0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], 2
cmp dword [eax - 0xc], 0
jne 0x4a4115
push 0xb
push str.about:blank
lea ecx, [ebp - 0x14]
call fcn.00429710
mov edi, 2
jmp 0x4a4144
push str.360
push eax
call fcn.0051070a
add esp, 8
mov edi, 2
test eax, eax
jne 0x4a4144
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00427b10
mov dword [ebp - 0x18], 1
mov edi, 1
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp dword [eax - 0xc], ecx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
setne cl
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], ecx
push eax
push fcn.00460510
lea ecx, [ebx + 0x114]
call fcn.004a2ed0
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x4a41f5
push 0
call fcn.00428a60
mov ecx, eax
call fcn.00428f70
test eax, eax
jne 0x4a41f5
push eax
push 0x80
push 3
push eax
push 7
push 0xc0000000
push 0x57d4e8
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4a41e5
push 0
lea eax, [ebp - 0x20]
mov byte [ebp - 0xe], 0
push eax
push 0
lea eax, [ebp - 0xd]
mov byte [ebp - 0xd], 0
push eax
push 0
lea eax, [ebp - 0xe]
mov dword [ebp - 0x20], 0
push eax
push 0x8000c004
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push ebx
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x18]
push 0x57d5b0
call fcn.00492250
add esp, 8
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp dword [eax - 0xc], ecx
sete cl
push ecx
call fcn.00460c30
add esp, 4
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x24]
push 4
push eax
push 4
push str.newlock
push str.SOFTWARELudashi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp edi, 1
jne 0x4a42ae
push 0
push 0x57235c
push edi
push 0
push str.guide_lds_hp2
call fcn.00430130
mov ecx, eax
call fcn.004cfd30
push 0
push 0x57235c
push edi
push 0
push str.lds_hp2
jmp 0x4a4391
push 0xb
push str.about:blank
lea ecx, [ebp - 0x14]
call fcn.00429710
mov dword [ebp - 0x18], 2
mov edi, 2
jmp 0x4a4144
mov ecx, dword [ebp - 0x34]
call fcn.00467db0
test eax, eax
je 0x4a412c
push 0
push 0x56c9a8
lea ecx, [ebp - 0x14]
call fcn.00429710
mov dword [ebp - 0x18], 0
xor edi, edi
jmp 0x4a4144
cmp edi, 2
jne 0x4a437f
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x4a439d
push 0
push 0x57235c
push 1
push 0
push str.guide_lds_hp1
call fcn.00430130
mov ecx, eax
call fcn.004cfd30
mov edx, dword [0x5cd678]
test edx, edx
jne 0x4a433d
push 0x5c47c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5cd678], 0
jne 0x4a432c
push 4
call fcn.004d9f7d
mov ecx, eax
add esp, 4
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 0xb
test ecx, ecx
je 0x4a431d
mov dword [ecx], vtable.CStatisticHelper.0
jmp 0x4a431f
xor ecx, ecx
mov byte [ebp - 4], 0xa
xchg dword [ebp - 0x20], eax
mov dword [0x5cd678], ecx
push 0x5c47c0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [0x5cd678]
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x18], eax
mov dword [eax + 0x24], 0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx]
push 1
push eax
push str.guide_lds_hp1
push 0x57235c
push edx
mov byte [ebp - 4], 0xa
call dword [ecx + 8]
push 0
push 0x57235c
push 1
push 0
push str.lds_hp1
jmp 0x4a4391
test edi, edi
jne 0x4a439d
push edi
push 0x57235c
push 1
push edi
push str.lds_hp0
call fcn.00430130
mov ecx, eax
call fcn.004cfd30
mov byte [ebp - 4], 9
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a43bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov eax, esi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a43d9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x4a4403
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4a4403
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x4a4403
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x38]
test edi, edi
je 0x4a442d
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4a442d
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x4a442d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x40]
test edi, edi
je 0x4a4459
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4a4459
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x4a4459
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret