Function at 0x4bca30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fbe39
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
push 0
lea ecx, [ebp - 0x38]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CWaitCursor::constructor_struct_HWND____]
mov dword [ebp - 4], 0
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x4bcc89
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
push 0
push 1
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x24], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x20], 0
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
call fcn.004dc3e0
mov byte [ebp - 4], 3
push ecx
mov esi, esp
mov dword [ebp - 0x2c], esp
mov dword [ebp - 0x30], esi
mov ecx, dword [0x6b9698]
lea ecx, [ecx - 0x10]
call fcn.0040c950
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 5
push 0
mov byte [ebp - 4], 2
call fcn.00557b60
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x4bcbfb
cmp dword [ebp - 0x14], 3
jbe 0x4bcbbb
mov edx, dword [ebx + 4]
mov ecx, str.UIdOverflow
push 0
push 0x40
call fcn.00495040
add esp, 8
call fcn.0055aaa0
mov edi, dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::ShowWindow_wchar_t_const___bool_]
mov ecx, ebx
push 0
push str.labelUserName
call edi
push 0
push str.btnPay
mov ecx, ebx
call edi
push 1
push str.btnReg
mov ecx, ebx
call edi
mov ecx, ebx
call fcn.004c3900
push 4
push 0x6b6c1b
push 4
push str.memid
push 0x650fc8
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4bcb99
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CWaitCursor::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x18], 0
je 0x4bcb2c
cmp dword [ebp - 0x1c], 0
je 0x4bcbe4
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0x409
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4bcb5f
push 0
push 0
push 0x406
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4bcb5f
mov ecx, str.SignErr
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4bcc28
test dx, dx
je 0x4bcc24
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4bcc28
add eax, 4
add ecx, 4
test dx, dx
jne 0x4bcc02
xor eax, eax
jmp 0x4bcc2d
sbb eax, eax
or eax, 1
test eax, eax
je 0x4bcb2c
mov ecx, str.UserNotExist
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4bcc66
test dx, dx
je 0x4bcc62
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4bcc66
add eax, 4
add ecx, 4
test dx, dx
jne 0x4bcc40
xor eax, eax
jmp 0x4bcc6b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4bcb2c
mov edx, dword [ebx + 4]
mov ecx, esi
push 0
push 0x40
call fcn.00495040
add esp, 8
jmp 0x4bcb5f
push 0x80004005
call fcn.0040b250
int3