Function at 0x4f9400
Capabilities:
Query or enumerate registry value
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a593
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x531304]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x11c], 0
push 0x103
push 0
lea eax, [ebp - 0x11b]
push eax
call fcn.00415fc0
add esp, 0xc
mov dword [ebp - 0x170], 0x104
push 0x80
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x16c]
call fcn.00433bc0
mov dword [ebp - 4], 0
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x16c]
call fcn.004335b0
movzx eax, al
test eax, eax
je 0x4f97eb
lea ecx, [ebp - 0x16c]
call fcn.00413800
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0
je 0x4f97eb
mov ecx, dword [ebp - 0x174]
call fcn.00413800
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x178], 0
je 0x4f97eb
mov ecx, dword [ebp + 0xc]
push ecx
push 0x51faa8
mov ecx, dword [ebp - 0x178]
call fcn.00433c50
push 0x51fab4
push str.homepagetype50
mov ecx, dword [ebp - 0x178]
call fcn.00433c50
push 0x51fac8
push str.homepagetype
mov ecx, dword [ebp - 0x178]
call fcn.00433c50
mov edx, dword [ebp + 0xc]
push edx
push str.opentabpagetypedefinepagestring
mov ecx, dword [ebp - 0x178]
call fcn.00433c50
push 0x51fafc
push str.opentabpagetype50
mov ecx, dword [ebp - 0x178]
call fcn.00433c50
push 0x51fb14
push str.opentabpagetype
mov ecx, dword [ebp - 0x178]
call fcn.00433c50
push 0x104
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.00415fc0
add esp, 0xc
lea ecx, [ebp - 0x170]
push ecx
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x10]
push eax
push 0x51fb28
push str.SoftwareSogouExplorer
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4f97e1
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00415e20
add esp, 4
cmp eax, 5
jb 0x4f97e1
mov byte [ebp - 0x298], 0
xor edx, edx
mov dword [ebp - 0x297], edx
mov dword [ebp - 0x293], edx
mov dword [ebp - 0x28f], edx
mov dword [ebp - 0x28b], edx
mov word [ebp - 0x287], dx
mov byte [ebp - 0x285], dl
push 0x51fb44
lea eax, [ebp - 0x11c]
push eax
call fcn.00415ec0
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x11c]
push edx
call fcn.00415ec0
add esp, 8
lea eax, [ebp - 0x11c]
push eax
push 0x51fb48
call fcn.004e4170
add esp, 8
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00415e20
add esp, 4
push eax
lea edx, [ebp - 0x11c]
push edx
push 0
call fcn.004f4950
add esp, 0xc
push eax
push 0x51fb7c
lea eax, [ebp - 0x298]
push eax
call fcn.0041603a
add esp, 0xc
lea ecx, [ebp - 0x298]
push ecx
push 0x51fb80
mov ecx, dword [ebp - 0x178]
call fcn.00433c50
lea edx, [ebp - 0x298]
push edx
push str._DEBUGINFO__LOCK__SET_LockSogou_xml_cc___s_n
call fcn.004e4170
add esp, 8
mov byte [ebp - 0x29c], 9
mov byte [ebp - 0x29b], 0
mov byte [ebp - 0x2a0], 0xa
mov byte [ebp - 0x29f], 0
mov byte [ebp - 0x284], 0
push 0x103
push 0
lea eax, [ebp - 0x283]
push eax
call fcn.00415fc0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x284]
push edx
call fcn.00415eb0
add esp, 8
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x284]
push ecx
call fcn.00415ec0
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x284]
push eax
call fcn.00415ec0
add esp, 8
lea ecx, [ebp - 0x2a0]
push ecx
lea edx, [ebp - 0x284]
push edx
call fcn.00415ec0
add esp, 8
lea eax, [ebp - 0x284]
push eax
push str.homepages
mov ecx, dword [ebp - 0x178]
call fcn.00433c50
lea ecx, [ebp - 0x29c]
push ecx
lea edx, [ebp - 0x11c]
push edx
call fcn.00415ec0
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00415ec0
add esp, 8
lea edx, [ebp - 0x2a0]
push edx
lea eax, [ebp - 0x11c]
push eax
call fcn.00415ec0
add esp, 8
lea ecx, [ebp - 0x11c]
push ecx
push str._DEBUGINFO__LOCK__SET_LockSogou_xml_szData___s_n
call fcn.004e4170
add esp, 8
push 0x14
push 0
lea edx, [ebp - 0x298]
push edx
call fcn.00415fc0
add esp, 0xc
lea eax, [ebp - 0x11c]
push eax
call fcn.00415e20
add esp, 4
push eax
lea ecx, [ebp - 0x11c]
push ecx
push 0
call fcn.004f4950
add esp, 0xc
push eax
push 0x51fbf4
lea edx, [ebp - 0x298]
push edx
call fcn.0041603a
add esp, 0xc
lea eax, [ebp - 0x298]
push eax
push str.cc_apollo
mov ecx, dword [ebp - 0x178]
call fcn.00433c50
lea ecx, [ebp - 0x298]
push ecx
push str._DEBUGINFO__LOCK__SET_LockSogou_xml_cc_apollo___s_n
call fcn.004e4170
add esp, 8
mov dword [ebp - 0x120], 1
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x16c]
call fcn.00432dd0
movzx eax, al
test eax, eax
je 0x4f9810
push str._DEBUGINFO__LOCK__SET_LockSogou_SaveFile_ok_n
call fcn.004e4170
add esp, 4
jmp 0x4f981a
mov dword [ebp - 0x120], 0
lea ecx, [ebp - 0x16c]
call fcn.00432ae0
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x2a4], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x16c]
call fcn.00413830
mov eax, dword [ebp - 0x2a4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004158f4
mov esp, ebp
pop ebp
ret 8