Function at 0x51f920
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60bc1e
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x6b000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x6b9760]
cmp dword [eax - 0xc], 0
je 0x51f967
push eax
push str.DlgFrame
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::SetControlBkImage_wchar_t_const___wchar_t_const__]
mov eax, dword [0x6b9764]
test eax, eax
je 0x51f97e
push eax
push str.DlgFrameBottom
mov ecx, ebx
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::SetControlBKColor_wchar_t_const___unsigned_long_int_]
call fcn.005548c0
test eax, eax
jne 0x51f995
push eax
push str.wxPay
mov ecx, ebx
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::WindowImplBase::ShowWindow_wchar_t_const___bool_]
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x51fd19
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x9c], eax
mov dword [ebp - 4], 1
call fcn.0040bf10
mov ecx, eax
test ecx, ecx
je 0x51fd23
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 3
xor dl, dl
lea ecx, [ebp - 0xb0]
call fcn.004dbed0
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [ebp - 0xac]
push eax
call fcn.0055a5d0
mov esi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0
push eax
push 0
push str.type
push dword [0x6b9660]
mov dword [ebp - 0xa8], 4
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor ecx, ecx
test eax, eax
jne 0x51fa4d
cmp dword [ebp - 0xa4], 2
cmovbe ecx, dword [ebp - 0xa4]
push dword [esi]
lea eax, [ebx + 0x908]
push ecx
push str.reg_type_dnickname_s
push eax
call fcn.0040d300
add esp, 0x10
mov byte [ebp - 4], 4
or esi, 0xffffffff
mov edx, dword [ebp - 0xac]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x51fa88
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, esi
mov edx, dword [ebp - 0xb0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x51faa9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x6b9748]
mov ecx, ebx
mov edi, dword [sym.imp.ycomuiu.dll_public:_class_DuiLib::CStdString___thiscall_DuiLib::WindowImplBase::GetDlgItemTextW_wchar_t_const___bool_]
push 0
push str.Title
cmp dword [eax - 0xc], 0
lea eax, [ebp - 0x98]
push eax
je 0x51fbae
call edi
mov byte [ebp - 4], 8
mov ecx, eax
call dword [sym.imp.ycomuiu.dll_public:_wchar_t_const____thiscall_DuiLib::CStdString::operator_wchar_t_const__void_const]
mov edx, eax
test edx, edx
jne 0x51fae6
xor ecx, ecx
jmp 0x51faff
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x51faf0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x9c]
call fcn.0040c9d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CStdString::destructor_void_]
push dword [0x6b9748]
lea eax, [ebp - 0xa0]
push dword [ebp - 0x9c]
push eax
call fcn.0040d300
add esp, 0xc
mov ecx, ebx
push dword [ebp - 0xa0]
push str.Title
call dword [sym.imp.ycomuiu.dll_public:_int___thiscall_DuiLib::WindowImplBase::SetDlgItemTextW_wchar_t_const___wchar_t_const__]
push 0
push str.SubTitle
lea eax, [ebp - 0x98]
mov ecx, ebx
push eax
call edi
mov byte [ebp - 4], 9
mov ecx, eax
call dword [sym.imp.ycomuiu.dll_public:_wchar_t_const____thiscall_DuiLib::CStdString::operator_wchar_t_const__void_const]
mov edx, eax
test edx, edx
jne 0x51fb72
xor ecx, ecx
jmp 0x51fb86
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x51fb77
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x9c]
call fcn.0040c9d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CStdString::destructor_void_]
push dword [0x6b9748]
jmp 0x51fc89
call edi
mov byte [ebp - 4], 0xa
mov ecx, eax
call dword [sym.imp.ycomuiu.dll_public:_wchar_t_const____thiscall_DuiLib::CStdString::operator_wchar_t_const__void_const]
mov edx, eax
test edx, edx
jne 0x51fbc6
xor ecx, ecx
jmp 0x51fbdf
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x51fbd0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x9c]
call fcn.0040c9d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CStdString::destructor_void_]
push dword [0x6b92e0]
lea eax, [ebp - 0xa0]
push dword [ebp - 0x9c]
push eax
call fcn.0040d300
add esp, 0xc
mov ecx, ebx
push dword [ebp - 0xa0]
push str.Title
call dword [sym.imp.ycomuiu.dll_public:_int___thiscall_DuiLib::WindowImplBase::SetDlgItemTextW_wchar_t_const___wchar_t_const__]
push 0
push str.SubTitle
lea eax, [ebp - 0x98]
mov ecx, ebx
push eax
call edi
mov byte [ebp - 4], 0xb
mov ecx, eax
call dword [sym.imp.ycomuiu.dll_public:_wchar_t_const____thiscall_DuiLib::CStdString::operator_wchar_t_const__void_const]
mov edx, eax
test edx, edx
jne 0x51fc52
xor ecx, ecx
jmp 0x51fc66
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x51fc57
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x9c]
call fcn.0040c9d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call dword [sym.imp.ycomuiu.dll_public:_void___thiscall_DuiLib::CStdString::destructor_void_]
push dword [0x6b92e0]
mov esi, dword [ebp - 0x9c]
lea eax, [ebp - 0xa0]
push esi
push eax
call fcn.0040d300
mov edi, dword [ebp - 0xa0]
add esp, 0xc
mov ecx, ebx
push edi
push str.SubTitle
call dword [sym.imp.ycomuiu.dll_public:_int___thiscall_DuiLib::WindowImplBase::SetDlgItemTextW_wchar_t_const___wchar_t_const__]
mov ecx, ebx
call fcn.0051fd30
mov ecx, ebx
call fcn.0051fec0
mov byte [ebp - 4], 1
or ebx, 0xffffffff
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x51fcdf
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x51fcfb
mov ecx, dword [esi]
push esi
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0040b250
push 0x80004005
call fcn.0040b250
int3