Function at 0x49edbd
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.00420e9a
push eax
lea ecx, [ebp - 0x2b8]
call fcn.00423ea0
push ebx
push str.Softwareliebao
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x2a0]
call fcn.0049da6c
test eax, eax
je 0x49f2de
push edi
push str.Install_Path_Dir
lea ecx, [ebp - 0x2a0]
call fcn.0049ed3a
test eax, eax
je 0x49f3ed
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.0049c18e
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x49ee63
mov eax, dword [eax]
push eax
push 0x510ec4
lea ecx, [ebp - 0x2a0]
call fcn.0049ed3a
mov ebx, eax
lea ecx, [ebp - 0x224]
push 0
neg ebx
push 1
sbb bl, bl
call fcn.00402540
inc bl
jne 0x49f3ed
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.004bf1a0
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 0x49ef23
call fcn.004b5af0
mov ecx, eax
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x49ef09
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.004bf250
mov eax, esp
push 3
push 5
push 0x4fbd68
push eax
call fcn.0049b0b6
push eax
lea ecx, [ebp - 0x2a8]
call fcn.00425b11
call fcn.00420e9a
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00423ea0
push edi
lea ecx, [ebp - 0x2a4]
call fcn.00425b11
mov esi, 0x50c8cc
push esi
call fcn.00424236
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2a4]
call fcn.0043af25
mov esi, str.browserpacket.xml
push esi
call fcn.00424236
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2a4]
call fcn.0043af25
lea ecx, [ebp - 0x298]
call fcn.00491ecf
mov edi, dword [ebp - 0x2a4]
lea ecx, [ebp - 0x298]
push edi
call fcn.00492075
test eax, eax
je 0x49f010
push ebx
push str.packetpid
lea ecx, [ebp - 0x298]
call fcn.004920d6
test eax, eax
je 0x49efe4
lea eax, [ebp - 0x2a8]
push eax
push 0x50d278
lea ecx, [ebp - 0x298]
call fcn.004921a9
push ebx
push str.packet_spid
lea ecx, [ebp - 0x298]
call fcn.004920d6
test eax, eax
je 0x49f010
lea eax, [ebp - 0x2b0]
push eax
push 0x4fbdac
lea ecx, [ebp - 0x298]
call fcn.004921a9
mov eax, dword [ebp - 0x2a8]
cmp dword [eax - 0xc], ebx
jne 0x49f04a
push 0xc
pop eax
call fcn.004bf250
mov eax, esp
push 3
push 5
push 0x4fbd68
push eax
call fcn.0049b0b6
mov esi, eax
push esi
call fcn.00424236
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2a8]
call fcn.004241bd
call fcn.00420e9a
push eax
lea ecx, [ebp - 0x2a4]
call fcn.00423ea0
lea ecx, [ebp - 0x2a4]
call fcn.00423cc1
lea eax, [ebp - 0x2a4]
push eax
push 0x4fbdb4
lea ecx, [ebp - 0x2a0]
call fcn.0049de03
mov esi, dword [ebp - 0x2a4]
cmp dword [esi - 0xc], ebx
jne 0x49f0ea
push dword [ebp - 0x2a8]
lea ecx, [ebp - 0x2a0]
push 0x4fbdb4
call fcn.0049ed3a
test eax, eax
jne 0x49f0ea
mov ebx, dword [ebp - 0x29c]
lea ecx, [esi - 0x10]
call fcn.004209ab
lea ecx, [ebp - 0x298]
call fcn.00491f2a
lea ecx, [edi - 0x10]
call fcn.004209ab
mov ecx, dword [ebp - 0x2b0]
lea ecx, [ecx - 0x10]
call fcn.004209ab
mov ecx, dword [ebp - 0x2a8]
lea ecx, [ecx - 0x10]
call fcn.004209ab
mov esi, dword [ebp - 0x2bc]
jmp 0x49f3f3
mov ecx, dword [ebp - 0x2ac]
mov eax, dword [ecx]
cmp dword [eax - 0xc], ebx
jne 0x49f21d
mov eax, dword [ebp - 0x2b0]
cmp dword [eax - 0xc], ebx
jne 0x49f214
lea eax, [ebp - 0x2c0]
push ebx
push eax
call fcn.0049c103
mov esi, dword [ebp - 0x2c0]
push 0x5f
push esi
call fcn.004c0735
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x49f1ef
sub ebx, esi
sar ebx, 1
cmp ebx, 0xffffffff
je 0x49f1ef
call fcn.00420e9a
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00423ea0
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.00431320
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00425bd3
mov ecx, dword [ebp - 0x2ac]
lea ecx, [ecx - 0x10]
call fcn.004209ab
xor ebx, ebx
lea ecx, [ebp - 0x2b4]
push ebx
push str..exe
call fcn.0049bc1e
push eax
push ebx
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00431320
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00425bd3
mov ecx, dword [ebp - 0x2ac]
lea ecx, [ecx - 0x10]
call fcn.004209ab
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.00425bd3
mov ecx, dword [ebp - 0x2b4]
lea ecx, [ecx - 0x10]
call fcn.004209ab
jmp 0x49f20a
mov ebx, 0x510188
push ebx
call fcn.00424236
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x2a8]
call fcn.004241bd
xor ebx, ebx
lea ecx, [esi - 0x10]
call fcn.004209ab
jmp 0x49f229
lea eax, [ebp - 0x2b0]
push eax
jmp 0x49f21e
push ecx
lea ecx, [ebp - 0x2b8]
call fcn.00425bd3
lea ecx, [ebp - 0x2a4]
call fcn.00423cc1
lea eax, [ebp - 0x2a4]
push eax
push 0x4f858c
lea ecx, [ebp - 0x2a0]
call fcn.0049de03
mov esi, dword [ebp - 0x2a4]
cmp dword [esi - 0xc], ebx
jne 0x49f274
push dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2a0]
push 0x4f858c
call fcn.0049ed3a
test eax, eax
je 0x49f0a2
cmp dword [ebp - 0x2a0], 0
je 0x49f289
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.004209ab
lea ecx, [ebp - 0x298]
call fcn.00491f2a
lea ecx, [edi - 0x10]
call fcn.004209ab
mov ecx, dword [ebp - 0x2b0]
lea ecx, [ecx - 0x10]
call fcn.004209ab
mov ecx, dword [ebp - 0x2a8]
lea ecx, [ecx - 0x10]
call fcn.004209ab
mov ebx, dword [ebp - 0x2cc]
mov esi, dword [ebp - 0x2bc]
jmp 0x49f2e4
mov ebx, dword [ebp - 0x29c]
push ebx
push esi
push str.PRODUCE_INSTALL_KEY_bRet_d_code_d
push 0x55913c
call fcn.004a985e
add esp, 0x10
lea ecx, [ebp - 0x2a0]
push 0
push str.SoftwareliebaoCoop
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0049da6c
test eax, eax
je 0x49f3ed
test esi, esi
je 0x49f3ed
mov edi, str.h_home
lea ecx, [ebp - 0x2a0]
push edi
push 0x4fbe1c
call fcn.0049ed3a
test eax, eax
je 0x49f3f3
push edi
push str.OEMNAME
lea ecx, [ebp - 0x2a0]
call fcn.0049ed3a
test eax, eax
je 0x49f3f3
push edi
push str.PreOEM
lea ecx, [ebp - 0x2a0]
call fcn.0049ed3a
test eax, eax
je 0x49f3f3
cmp dword [ebp - 0x2a0], 0
je 0x49f384
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.004a985e
add esp, 0x10
lea ecx, [ebp - 0x2a0]
push edi
push str.SOFTWAREPoliciesChromium
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0049da6c
test eax, eax
je 0x49f3f3
push edi
push str.MetricsReportingEnabled
lea ecx, [ebp - 0x2a0]
call fcn.0049ed89
cmp dword [ebp - 0x2a0], 0
je 0x49f3e4
push dword [ebp - 0x2a0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x2a0], 0
jmp 0x49f3f3
mov ebx, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x2c4]
test eax, eax
je 0x49f3ff
mov dword [eax], ebx
push ebx
push str.write_Exit0_errcode_d
push 0x55913c
call fcn.004a985e
add esp, 0xc
cmp dword [ebp - 0x2a0], 0
je 0x49f427
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.004209ab
cmp dword [ebp - 0x2a0], 0
je 0x49f451
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.004bc11d
mov esp, ebp
pop ebp
ret