Function at 0x49ec8a
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x2bc], esi
mov dword [ebp - 0x2a0], ebx
mov dword [ebp - 0x29c], ebx
mov dword [ebp - 0x2cc], ebx
call fcn.00420e4a
push eax
lea ecx, [ebp - 0x2b8]
call fcn.00423e50
push ebx
push str.Softwareliebao
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x2a0]
call fcn.0049d995
test eax, eax
je 0x49f1ab
push edi
push str.Install_Path_Dir
lea ecx, [ebp - 0x2a0]
call fcn.0049ec07
test eax, eax
je 0x49f2ba
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.0049c0b7
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x49ed30
mov eax, dword [eax]
push eax
push 0x510efc
lea ecx, [ebp - 0x2a0]
call fcn.0049ec07
mov ebx, eax
lea ecx, [ebp - 0x224]
push 0
neg ebx
push 1
sbb bl, bl
call fcn.00402540
inc bl
jne 0x49f2ba
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.004bf4f0
add esp, 0xc
mov dword [ebp - 0x2c8], 0x208
lea eax, [ebp - 0x2c8]
xor esi, esi
inc esi
mov dword [ebp - 0x2d0], esi
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x2d0]
push eax
push 0x4fbc58
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x20c], bx
jne 0x49edf0
call fcn.004b5e30
mov ecx, eax
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x49edd6
mov ecx, dword [ecx]
add eax, eax
push eax
push ecx
push esi
push 0x4fbc58
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0xc
pop eax
call fcn.004bf5a0
mov eax, esp
push 3
push 5
push 0x4fbd68
push eax
call fcn.0049afdf
push eax
lea ecx, [ebp - 0x2a8]
call fcn.00425ac1
call fcn.00420e4a
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00423e50
push edi
lea ecx, [ebp - 0x2a4]
call fcn.00425ac1
mov esi, 0x50c8fc
push esi
call fcn.004241e6
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2a4]
call fcn.0043ae55
mov esi, str.browserpacket.xml
push esi
call fcn.004241e6
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2a4]
call fcn.0043ae55
lea ecx, [ebp - 0x298]
call fcn.00491df5
mov edi, dword [ebp - 0x2a4]
lea ecx, [ebp - 0x298]
push edi
call fcn.00491f9b
test eax, eax
je 0x49eedd
push ebx
push str.packetpid
lea ecx, [ebp - 0x298]
call fcn.00491ffc
test eax, eax
je 0x49eeb1
lea eax, [ebp - 0x2a8]
push eax
push 0x50d2bc
lea ecx, [ebp - 0x298]
call fcn.004920cf
push ebx
push str.packet_spid
lea ecx, [ebp - 0x298]
call fcn.00491ffc
test eax, eax
je 0x49eedd
lea eax, [ebp - 0x2b0]
push eax
push 0x4fbdac
lea ecx, [ebp - 0x298]
call fcn.004920cf
mov eax, dword [ebp - 0x2a8]
cmp dword [eax - 0xc], ebx
jne 0x49ef17
push 0xc
pop eax
call fcn.004bf5a0
mov eax, esp
push 3
push 5
push 0x4fbd68
push eax
call fcn.0049afdf
mov esi, eax
push esi
call fcn.004241e6
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2a8]
call fcn.0042416d
call fcn.00420e4a
push eax
lea ecx, [ebp - 0x2a4]
call fcn.00423e50
lea ecx, [ebp - 0x2a4]
call fcn.00423c71
lea eax, [ebp - 0x2a4]
push eax
push 0x4fbdb4
lea ecx, [ebp - 0x2a0]
call fcn.0049dcd0
mov esi, dword [ebp - 0x2a4]
cmp dword [esi - 0xc], ebx
jne 0x49efb7
push dword [ebp - 0x2a8]
lea ecx, [ebp - 0x2a0]
push 0x4fbdb4
call fcn.0049ec07
test eax, eax
jne 0x49efb7
mov ebx, dword [ebp - 0x29c]
lea ecx, [esi - 0x10]
call fcn.0042095b
lea ecx, [ebp - 0x298]
call fcn.00491e50
lea ecx, [edi - 0x10]
call fcn.0042095b
mov ecx, dword [ebp - 0x2b0]
lea ecx, [ecx - 0x10]
call fcn.0042095b
mov ecx, dword [ebp - 0x2a8]
lea ecx, [ecx - 0x10]
call fcn.0042095b
mov esi, dword [ebp - 0x2bc]
jmp 0x49f2c0
mov ecx, dword [ebp - 0x2ac]
mov eax, dword [ecx]
cmp dword [eax - 0xc], ebx
jne 0x49f0ea
mov eax, dword [ebp - 0x2b0]
cmp dword [eax - 0xc], ebx
jne 0x49f0e1
lea eax, [ebp - 0x2c0]
push ebx
push eax
call fcn.0049c02c
mov esi, dword [ebp - 0x2c0]
push 0x5f
push esi
call fcn.004c0a85
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x49f0bc
sub ebx, esi
sar ebx, 1
cmp ebx, 0xffffffff
je 0x49f0bc
call fcn.00420e4a
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00423e50
mov eax, dword [esi - 0xc]
lea ecx, [ebx + 1]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x2c0]
call fcn.0043124d
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00425b83
mov ecx, dword [ebp - 0x2ac]
lea ecx, [ecx - 0x10]
call fcn.0042095b
xor ebx, ebx
lea ecx, [ebp - 0x2b4]
push ebx
push str..exe
call fcn.0049bb47
push eax
push ebx
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.0043124d
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00425b83
mov ecx, dword [ebp - 0x2ac]
lea ecx, [ecx - 0x10]
call fcn.0042095b
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.00425b83
mov ecx, dword [ebp - 0x2b4]
lea ecx, [ecx - 0x10]
call fcn.0042095b
jmp 0x49f0d7
mov ebx, 0x5101f8
push ebx
call fcn.004241e6
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x2a8]
call fcn.0042416d
xor ebx, ebx
lea ecx, [esi - 0x10]
call fcn.0042095b
jmp 0x49f0f6
lea eax, [ebp - 0x2b0]
push eax
jmp 0x49f0eb
push ecx
lea ecx, [ebp - 0x2b8]
call fcn.00425b83
lea ecx, [ebp - 0x2a4]
call fcn.00423c71
lea eax, [ebp - 0x2a4]
push eax
push 0x4f858c
lea ecx, [ebp - 0x2a0]
call fcn.0049dcd0
mov esi, dword [ebp - 0x2a4]
cmp dword [esi - 0xc], ebx
jne 0x49f141
push dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2a0]
push 0x4f858c
call fcn.0049ec07
test eax, eax
je 0x49ef6f
cmp dword [ebp - 0x2a0], 0
je 0x49f156
push dword [ebp - 0x2a0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esi - 0x10]
mov dword [ebp - 0x2a0], ebx
mov dword [ebp - 0x2bc], 1
call fcn.0042095b
lea ecx, [ebp - 0x298]
call fcn.00491e50
lea ecx, [edi - 0x10]
call fcn.0042095b
mov ecx, dword [ebp - 0x2b0]
lea ecx, [ecx - 0x10]
call fcn.0042095b
mov ecx, dword [ebp - 0x2a8]
lea ecx, [ecx - 0x10]
call fcn.0042095b
mov ebx, dword [ebp - 0x2cc]
mov esi, dword [ebp - 0x2bc]
jmp 0x49f1b1
mov ebx, dword [ebp - 0x29c]
push ebx
push esi
push str.PRODUCE_INSTALL_KEY_bRet_d_code_d
push 0x55913c
call fcn.004a9ba2
add esp, 0x10
lea ecx, [ebp - 0x2a0]
push 0
push str.SoftwareliebaoCoop
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0049d995
test eax, eax
je 0x49f2ba
test esi, esi
je 0x49f2ba
mov edi, str.h_home
lea ecx, [ebp - 0x2a0]
push edi
push 0x4fbe1c
call fcn.0049ec07
test eax, eax
je 0x49f2c0
push edi
push str.OEMNAME
lea ecx, [ebp - 0x2a0]
call fcn.0049ec07
test eax, eax
je 0x49f2c0
push edi
push str.PreOEM
lea ecx, [ebp - 0x2a0]
call fcn.0049ec07
test eax, eax
je 0x49f2c0
cmp dword [ebp - 0x2a0], 0
je 0x49f251
push dword [ebp - 0x2a0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x2a0], 0
xor edi, edi
push ebx
inc edi
push edi
push str.PRODUCE_INSTALL_COOP_bRet_d_code_d
push 0x55913c
mov esi, edi
call fcn.004a9ba2
add esp, 0x10
lea ecx, [ebp - 0x2a0]
push edi
push str.SOFTWAREPoliciesChromium
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0049d995
test eax, eax
je 0x49f2c0
push edi
push str.MetricsReportingEnabled
lea ecx, [ebp - 0x2a0]
call fcn.0049ec56
cmp dword [ebp - 0x2a0], 0
je 0x49f2b1
push dword [ebp - 0x2a0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x2a0], 0
jmp 0x49f2c0
mov ebx, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x2c4]
test eax, eax
je 0x49f2cc
mov dword [eax], ebx
push ebx
push str.write_Exit0_errcode_d
push 0x55913c
call fcn.004a9ba2
add esp, 0xc
cmp dword [ebp - 0x2a0], 0
je 0x49f2f4
push dword [ebp - 0x2a0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2b8]
and dword [ebp - 0x2a0], 0
lea ecx, [ecx - 0x10]
call fcn.0042095b
cmp dword [ebp - 0x2a0], 0
je 0x49f31e
push dword [ebp - 0x2a0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
lea esp, [ebp - 0x2dc]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bc45f
mov esp, ebp
pop ebp
ret