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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov eax, dword [0x52fe80]
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.00420bd2
push eax
lea ecx, [ebp - 0x2b8]
call fcn.00423e41
push ebx
push str.Softwareliebao
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x2a0]
call fcn.0049dd67
test eax, eax
je 0x49f57d
push edi
push str.Install_Path_Dir
lea ecx, [ebp - 0x2a0]
call fcn.0049efd9
test eax, eax
je 0x49f68c
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.0049c489
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x49f102
mov eax, dword [eax]
push eax
push 0x512fe4
lea ecx, [ebp - 0x2a0]
call fcn.0049efd9
mov ebx, eax
lea ecx, [ebp - 0x224]
push 0
neg ebx
push 1
sbb bl, bl
call fcn.00403650
inc bl
jne 0x49f68c
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.004bf240
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 0x4fcc68
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x20c], bx
jne 0x49f1c2
call fcn.004b5b90
mov ecx, eax
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x49f1a8
mov ecx, dword [ecx]
add eax, eax
push eax
push ecx
push esi
push 0x4fcc68
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0xc
pop eax
call fcn.004bf2f0
mov eax, esp
push 3
push 5
push 0x4fcd78
push eax
call fcn.0049b3a5
push eax
lea ecx, [ebp - 0x2a8]
call fcn.00425b88
call fcn.00420bd2
push eax
lea ecx, [ebp - 0x2b0]
call fcn.00423e41
push edi
lea ecx, [ebp - 0x2a4]
call fcn.00425b88
mov esi, 0x50f8e4
push esi
call fcn.004241d7
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2a4]
call fcn.0043be5f
mov esi, str.browserpacket.xml
push esi
call fcn.004241d7
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2a4]
call fcn.0043be5f
lea ecx, [ebp - 0x298]
call fcn.0049219a
mov edi, dword [ebp - 0x2a4]
lea ecx, [ebp - 0x298]
push edi
call fcn.00492340
test eax, eax
je 0x49f2af
push ebx
push str.packetpid
lea ecx, [ebp - 0x298]
call fcn.004923a1
test eax, eax
je 0x49f283
lea eax, [ebp - 0x2a8]
push eax
push 0x51017c
lea ecx, [ebp - 0x298]
call fcn.00492474
push ebx
push str.packet_spid
lea ecx, [ebp - 0x298]
call fcn.004923a1
test eax, eax
je 0x49f2af
lea eax, [ebp - 0x2b0]
push eax
push 0x4fcdbc
lea ecx, [ebp - 0x298]
call fcn.00492474
mov eax, dword [ebp - 0x2a8]
cmp dword [eax - 0xc], ebx
jne 0x49f2e9
push 0xc
pop eax
call fcn.004bf2f0
mov eax, esp
push 3
push 5
push 0x4fcd78
push eax
call fcn.0049b3a5
mov esi, eax
push esi
call fcn.004241d7
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2a8]
call fcn.0042415e
call fcn.00420bd2
push eax
lea ecx, [ebp - 0x2a4]
call fcn.00423e41
lea ecx, [ebp - 0x2a4]
call fcn.00423c59
lea eax, [ebp - 0x2a4]
push eax
push 0x4fcdc4
lea ecx, [ebp - 0x2a0]
call fcn.0049e0a2
mov esi, dword [ebp - 0x2a4]
cmp dword [esi - 0xc], ebx
jne 0x49f389
push dword [ebp - 0x2a8]
lea ecx, [ebp - 0x2a0]
push 0x4fcdc4
call fcn.0049efd9
test eax, eax
jne 0x49f389
mov ebx, dword [ebp - 0x29c]
lea ecx, [esi - 0x10]
call fcn.004206ab
lea ecx, [ebp - 0x298]
call fcn.004921f5
lea ecx, [edi - 0x10]
call fcn.004206ab
mov ecx, dword [ebp - 0x2b0]
lea ecx, [ecx - 0x10]
call fcn.004206ab
mov ecx, dword [ebp - 0x2a8]
lea ecx, [ecx - 0x10]
call fcn.004206ab
mov esi, dword [ebp - 0x2bc]
jmp 0x49f692
mov ecx, dword [ebp - 0x2ac]
mov eax, dword [ecx]
cmp dword [eax - 0xc], ebx
jne 0x49f4bc
mov eax, dword [ebp - 0x2b0]
cmp dword [eax - 0xc], ebx
jne 0x49f4b3
lea eax, [ebp - 0x2c0]
push ebx
push eax
call fcn.0049c3fe
mov esi, dword [ebp - 0x2c0]
push 0x5f
push esi
call fcn.004c07d5
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x49f48e
sub ebx, esi
sar ebx, 1
cmp ebx, 0xffffffff
je 0x49f48e
call fcn.00420bd2
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00423e41
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.004319d0
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00425c4a
mov ecx, dword [ebp - 0x2ac]
lea ecx, [ecx - 0x10]
call fcn.004206ab
xor ebx, ebx
lea ecx, [ebp - 0x2b4]
push ebx
push str..exe
call fcn.0049bf19
push eax
push ebx
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.004319d0
push eax
lea ecx, [ebp - 0x2b4]
call fcn.00425c4a
mov ecx, dword [ebp - 0x2ac]
lea ecx, [ecx - 0x10]
call fcn.004206ab
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.00425c4a
mov ecx, dword [ebp - 0x2b4]
lea ecx, [ecx - 0x10]
call fcn.004206ab
jmp 0x49f4a9
mov ebx, 0x5122d0
push ebx
call fcn.004241d7
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x2a8]
call fcn.0042415e
xor ebx, ebx
lea ecx, [esi - 0x10]
call fcn.004206ab
jmp 0x49f4c8
lea eax, [ebp - 0x2b0]
push eax
jmp 0x49f4bd
push ecx
lea ecx, [ebp - 0x2b8]
call fcn.00425c4a
lea ecx, [ebp - 0x2a4]
call fcn.00423c59
lea eax, [ebp - 0x2a4]
push eax
push 0x4f9598
lea ecx, [ebp - 0x2a0]
call fcn.0049e0a2
mov esi, dword [ebp - 0x2a4]
cmp dword [esi - 0xc], ebx
jne 0x49f513
push dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2a0]
push 0x4f9598
call fcn.0049efd9
test eax, eax
je 0x49f341
cmp dword [ebp - 0x2a0], 0
je 0x49f528
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.004206ab
lea ecx, [ebp - 0x298]
call fcn.004921f5
lea ecx, [edi - 0x10]
call fcn.004206ab
mov ecx, dword [ebp - 0x2b0]
lea ecx, [ecx - 0x10]
call fcn.004206ab
mov ecx, dword [ebp - 0x2a8]
lea ecx, [ecx - 0x10]
call fcn.004206ab
mov ebx, dword [ebp - 0x2cc]
mov esi, dword [ebp - 0x2bc]
jmp 0x49f583
mov ebx, dword [ebp - 0x29c]
push ebx
push esi
push str.PRODUCE_INSTALL_KEY_bRet_d_code_d
push 0x55b31c
call fcn.004a9913
add esp, 0x10
lea ecx, [ebp - 0x2a0]
push 0
push str.SoftwareliebaoCoop
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0049dd67
test eax, eax
je 0x49f68c
test esi, esi
je 0x49f68c
mov edi, str.h_home
lea ecx, [ebp - 0x2a0]
push edi
push 0x4fce2c
call fcn.0049efd9
test eax, eax
je 0x49f692
push edi
push str.OEMNAME
lea ecx, [ebp - 0x2a0]
call fcn.0049efd9
test eax, eax
je 0x49f692
push edi
push str.PreOEM
lea ecx, [ebp - 0x2a0]
call fcn.0049efd9
test eax, eax
je 0x49f692
cmp dword [ebp - 0x2a0], 0
je 0x49f623
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 0x55b31c
mov esi, edi
call fcn.004a9913
add esp, 0x10
lea ecx, [ebp - 0x2a0]
push edi
push str.SOFTWAREPoliciesChromium
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0049dd67
test eax, eax
je 0x49f692
push edi
push str.MetricsReportingEnabled
lea ecx, [ebp - 0x2a0]
call fcn.0049f028
cmp dword [ebp - 0x2a0], 0
je 0x49f683
push dword [ebp - 0x2a0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x2a0], 0
jmp 0x49f692
mov ebx, dword [ebp - 0x29c]
mov eax, dword [ebp - 0x2c4]
test eax, eax
je 0x49f69e
mov dword [eax], ebx
push ebx
push str.write_Exit0_errcode_d
push 0x55b31c
call fcn.004a9913
add esp, 0xc
cmp dword [ebp - 0x2a0], 0
je 0x49f6c6
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.004206ab
cmp dword [ebp - 0x2a0], 0
je 0x49f6f0
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.004bc1bd
mov esp, ebp
pop ebp
ret