Function at 0x556e20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x615140
mov eax, dword fs:[0]
push eax
sub esp, 0x14
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 eax, dword [0x6b9760]
cmp dword [eax - 0xc], 0
je 0x556e61
push eax
push str.DlgFrame
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::SetControlBkImage_wchar_t_const___wchar_t_const__]
mov edi, dword [sym.imp.ycomuiu.dll_public:_int___thiscall_DuiLib::WindowImplBase::SetDlgItemTextW_wchar_t_const___wchar_t_const__]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push str.type
push dword [0x6b9660]
or esi, 0xffffffff
mov dword [ebp - 0x14], 4
cmp dword [0x6b0c60], 0x3a8
push reloc.OLEAUT32.dll_SysReAllocString
je 0x556fef
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x556f3d
mov eax, dword [ebp - 0x10]
cmp eax, 2
ja 0x556f3d
test eax, eax
je 0x556f3d
lea ecx, [ebp - 0x14]
call fcn.004dbd20
mov dword [ebp - 4], 0xa
mov ecx, ebx
push dword [eax]
push str.userID
call edi
mov dword [ebp - 4], esi
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x556ef7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor dl, dl
lea ecx, [ebp - 0x14]
call fcn.004dbed0
mov dword [ebp - 4], 0xc
mov ecx, ebx
push dword [eax]
push 0x662938
call edi
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x557094
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x557094
lea ecx, [ebp - 0x14]
call fcn.004dbd20
mov dword [ebp - 4], 0
mov ecx, ebx
push dword [eax]
push str.username
call edi
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x556f78
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.tabStep
lea ecx, [ebx + 0x34]
call dword [sym.imp.ycomuiu.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x557094
lea ecx, [ebp - 0x14]
call fcn.004dbd20
mov dword [ebp - 4], 4
mov ecx, ebx
push dword [eax]
push 0x650ee8
call edi
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x556fcc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x16
push 0xdc
push 0x17c
mov ecx, ebx
call fcn.004dafc0
mov ecx, dword [ebp - 0x10]
push 1
call dword [sym.imp.ycomuiu.dll_public:_bool___thiscall_DuiLib::CTabLayoutUI::SelectItem_int_]
jmp 0x557094
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x55708b
mov eax, dword [ebp - 0x10]
cmp eax, 2
ja 0x55708b
test eax, eax
je 0x55708b
call fcn.004dc390
cmp eax, 1
jne 0x557087
push str.tabStep
lea ecx, [ebx + 0x34]
call dword [sym.imp.ycomuiu.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x557094
lea ecx, [ebp - 0x14]
call fcn.004dbd20
mov dword [ebp - 4], 0x10
mov ecx, ebx
push dword [eax]
push 0x650ee8
call edi
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x557067
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x16
push 0xdc
push 0x17c
mov ecx, ebx
call fcn.004dafc0
mov ecx, dword [ebp - 0x10]
push 1
call dword [sym.imp.ycomuiu.dll_public:_bool___thiscall_DuiLib::CTabLayoutUI::SelectItem_int_]
jmp 0x557094
push 2
jmp 0x55708d
push 0
mov ecx, ebx
call fcn.005572a0
mov eax, dword [ebx + 0x900]
or eax, dword [ebx + 0x904]
je 0x55726d
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x557281
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0x17
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x55728b
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x19
lea eax, [ebx + 0x900]
push eax
call fcn.005b8667
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x557125
push dword [ecx + 4]
mov eax, dword [ecx + 0x10]
push dword [ecx + 8]
inc eax
push dword [ecx + 0xc]
push eax
mov eax, dword [ecx + 0x14]
add eax, 0x76c
push eax
lea eax, [ebp - 0x14]
push str._d__d__d__02d:_02d
push eax
call fcn.0040d300
mov edi, dword [ebp - 0x14]
add esp, 0x1c
mov eax, dword [ebx + 0x908]
lea ecx, [ebx + 0x908]
or eax, dword [ecx + 4]
jne 0x5571d1
push 0x650a3c
mov edx, str.ForverUse
lea ecx, [ebp - 0x20]
call fcn.004db870
add esp, 4
mov byte [ebp - 4], 0x1a
lea ecx, [esi - 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x1c], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x18], eax
cmp eax, ecx
je 0x5571b0
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x5571a1
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x5571a1
mov ecx, dword [ebp - 0x18]
call fcn.0040c950
mov dword [ebp - 0x18], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x557199
mov esi, dword [ebp - 0x1c]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
jmp 0x5571b0
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.0040c9d0
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 0x19
or eax, 0xffffffff
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x55720b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x55720b
push ecx
call fcn.005b8667
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x55720b
push dword [ecx + 4]
mov eax, dword [ecx + 0x10]
push dword [ecx + 8]
inc eax
push dword [ecx + 0xc]
push eax
mov eax, dword [ecx + 0x14]
add eax, 0x76c
push eax
lea eax, [ebp - 0x10]
push str._d__d__d__02d:_02d
push eax
call fcn.0040d300
mov esi, dword [ebp - 0x10]
add esp, 0x1c
cmp dword [edi - 0xc], 0
je 0x557233
cmp dword [esi - 0xc], 0
je 0x557233
push edi
push str.viptime1
mov ecx, ebx
call dword [sym.imp.ycomuiu.dll_public:_int___thiscall_DuiLib::WindowImplBase::SetDlgItemTextW_wchar_t_const___wchar_t_const__]
push esi
push str.viptime2
mov ecx, ebx
call dword [sym.imp.ycomuiu.dll_public:_int___thiscall_DuiLib::WindowImplBase::SetDlgItemTextW_wchar_t_const___wchar_t_const__]
mov byte [ebp - 4], 0x17
or ebx, 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x557251
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 0x55726d
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 4
push 0x80004005
call fcn.0040b250
push 0x80004005
call fcn.0040b250
int3