Function at 0x4e4ea0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6023a0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x6b000c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4e52b3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4e52bd
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x20]
push 1
push 0
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 1
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x28], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], 0
push eax
push ecx
mov edi, esp
mov dword [ebp - 0x30], esp
mov dword [ebp - 0x2c], edi
mov ecx, dword [ebx + 0x920]
sub ecx, 0x10
call fcn.0040c950
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 5
push ecx
mov edi, esp
mov dword [ebp - 0x2c], esp
mov dword [ebp - 0x38], edi
mov ecx, dword [ebx + 0x91c]
sub ecx, 0x10
call fcn.0040c950
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 7
push 0
mov byte [ebp - 4], 3
call fcn.00557b60
mov edi, dword [ebp - 0x14]
or ebx, 0xffffffff
test eax, eax
mov eax, dword [ebp - 0x10]
je 0x4e5259
cmp dword [ebp - 0x18], 0
jne 0x4e5001
mov edx, dword [eax + 4]
mov ecx, str.PassIsError
push 0
push 0x10
call fcn.00495040
add esp, 8
mov byte [ebp - 4], 1
or ebx, ebx
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4e4fde
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4e52a1
mov ecx, dword [edx]
push edx
jmp 0x4e529c
cmp dword [ebp - 0x1c], 3
jbe 0x4e503b
mov edx, dword [eax + 4]
mov ecx, str.UIdOverflow
push 0
push 0x10
call fcn.00495040
add esp, 8
mov byte [ebp - 4], 1
or ebx, 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4e5039
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4e4fde
mov edx, dword [eax + 0x91c]
lea ecx, [eax + 0x900]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ecx]
sub ecx, 0x10
lea edi, [edx - 0x10]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x18], edi
cmp edi, ecx
mov edi, dword [ebp - 0x14]
je 0x4e50b2
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x2c], eax
jl 0x4e50a3
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x4e50a3
mov ecx, dword [ebp - 0x18]
call fcn.0040c950
mov edx, dword [ebp - 0x2c]
mov ecx, ebx
mov dword [ebp - 0x18], eax
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e5099
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4e50af
push dword [edx - 0xc]
mov ecx, dword [ebp - 0x1c]
push edx
call fcn.0040c9d0
mov eax, dword [ebp - 0x10]
push dword [eax + 0x950]
push dword [eax + 0x918]
push dword [eax + 0x920]
push dword [eax + 0x91c]
call fcn.0055a800
cmp dword [ebp - 0x20], 0
je 0x4e519b
push 4
lea eax, [ebp - 0x30]
mov byte [0x6b6c1b], 1
push eax
push 4
push str.CheckNet
push 0x650fc8
push SysReAllocString
mov dword [ebp - 0x30], 0x50
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x91c]
lea ecx, [edx - 0x10]
mov dword [ebp - 0x30], ecx
lea eax, [edx - 0x10]
mov ecx, dword [0x6b9698]
add ecx, 0xfffffff0
mov dword [ebp - 0x20], ecx
cmp eax, ecx
je 0x4e517a
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x14]
jl 0x4e516c
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4e516c
mov ecx, dword [ebp - 0x30]
call fcn.0040c950
mov dword [ebp - 0x30], eax
mov ecx, ebx
mov eax, dword [ebp - 0x2c]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e515f
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x30]
add eax, 0x10
mov dword [0x6b9698], eax
jmp 0x4e517a
push dword [edx - 0xc]
mov ecx, 0x6b9698
push edx
call fcn.0040c9d0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x924]
test eax, eax
je 0x4e522e
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 0x409
jmp 0x4e5227
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x91c]
lea ecx, [edx - 0x10]
mov dword [ebp - 0x30], ecx
lea eax, [edx - 0x10]
mov ecx, dword [0x6b9698]
add ecx, 0xfffffff0
mov dword [ebp - 0x28], ecx
cmp eax, ecx
je 0x4e5211
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x14]
jl 0x4e5203
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4e5203
mov ecx, dword [ebp - 0x30]
call fcn.0040c950
mov dword [ebp - 0x30], eax
mov ecx, ebx
mov eax, dword [ebp - 0x2c]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4e51f6
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x30]
add eax, 0x10
mov dword [0x6b9698], eax
jmp 0x4e5211
push dword [edx - 0xc]
mov ecx, 0x6b9698
push edx
call fcn.0040c9d0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x924]
test eax, eax
je 0x4e522e
push 0
push 0
push 0x406
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push 0x6b6c1b
push 4
push str.memid
push 0x650fc8
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 0x10]
push 1
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CWindowWnd::Close_unsigned_int_]
jmp 0x4e526a
mov edx, dword [eax + 4]
mov ecx, edi
push 0
push 0x10
call fcn.00495040
add esp, 8
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4e5285
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4e52a1
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
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
push 0x80004005
call fcn.0040b250
push 0x80004005
call fcn.0040b250
int3