Function at 0x10035440
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1007ca70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [0x10098a04]
push ebx
push ebp
mov ebp, dword [esp + 0x64]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ecx
mov ecx, 0x10098a04
mov dword [esp + 0x20], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov edx, dword [0x10098a04]
xor ebx, ebx
mov ecx, 0x10098a04
mov dword [esp + 0x60], ebx
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [edi - 0xea61]
cmp eax, 0x10
mov byte [esp + 0x60], 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], 1
ja case.0x100354bf.60004
movzx eax, byte [eax + 0x10035ad0]
jmp dword [eax*4 + 0x10035ab8]
mov eax, 0x10097810
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100354d0
sub eax, edx
mov dword [esp + 0x6c], eax
je 0x10035a52
add edi, 0x3e8
push edi
lea ecx, [esp + 0x14]
call fcn.10004e40
mov ecx, dword [ebp + 0x10]
dec ecx
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x18]
call fcn.10008ae0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 2
call fcn.10004aa0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x60], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10035538
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
push 0x10097810
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.10004e20
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0xc]
add esp, 0xc
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x10035556
jmp 0x10035a52
add edi, 0x3e8
push edi
lea ecx, [esp + 0x14]
call fcn.10004e40
mov edx, dword [ebp + 0x10]
dec edx
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
call fcn.10008ae0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 3
call fcn.10004aa0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x60], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100355ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.UnreadChannel
lea ecx, [esp + 0x2c]
call fcn.10005e50
push str.SoftwareSohu_RDRSS
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 4
call fcn.10005e50
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
push SysReAllocStringLen
mov byte [esp + 0x70], 5
call fcn.1004a4a0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x60], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1003561f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x60], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10035642
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [esp + 0x2c]
push eax
push 0x20019
push ebx
push str.SOFTWARESohu_RDRSS
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10035694
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
push ebx
push str.UnreadChannel
push ecx
mov dword [esp + 0x84], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10035694
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.10004e20
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x100356c0
jmp 0x10035a52
add edi, 0x3e8
push edi
lea ecx, [esp + 0x14]
call fcn.10004e40
push str.Enable
lea ecx, [esp + 0x38]
call fcn.10005e50
mov bl, 6
push str.Encyclopedia
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], bl
call fcn.10005e50
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x38]
push edx
push SysReAllocStringLen
mov byte [esp + 0x70], 7
call fcn.1004a4a0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x60], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10035744
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x60], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10035767
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10035780
mov eax, dword [esp + 0x10]
push 0x10083e5c
push eax
lea ecx, [esp + 0x1c]
push ecx
jmp 0x1003578f
mov edx, dword [esp + 0x10]
push 0x10083e4c
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.10004e20
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0xc]
add esp, 0xc
mov edi, edi
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x100357a0
jmp 0x10035a52
lea esi, [edi + 0x3e8]
push ebx
push esi
call fcn.10001450
add esp, 8
cmp eax, ebx
je 0x100357ce
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.10004800
mov ecx, dword [ebp + 0x10]
dec ecx
push ecx
lea edx, [esp + 0x48]
push edx
lea ecx, [esp + 0x18]
call fcn.10008ae0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 8
call fcn.10004aa0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x60], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10035813
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0xc]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x10035820
jmp 0x10035a52
mov dword [esp + 0x1c], ebx
mov eax, dword [0x10098a04]
mov ecx, 0x10098a04
mov byte [esp + 0x60], 9
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x168]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
mov bl, 0xa
push eax
mov byte [esp + 0x68], bl
call dword [ecx + 0x78]
mov edx, dword [esp + 0x1c]
mov esi, dword [esi + 0x268]
mov eax, dword [esi]
lea ecx, [esp + 0x6c]
push ecx
push edx
push esi
call dword [eax + 0x2c]
cmp word [esp + 0x6c], 0xffff
lea ecx, [esp + 0x20]
jne 0x1003588c
push 0xee4c
jmp 0x10035891
push 0xee4b
call fcn.10004e40
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push eax
call fcn.10009980
lea ecx, [esp + 0x4c]
push ecx
call fcn.10021c70
mov edx, dword [eax]
mov esi, dword [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push esi
push eax
mov byte [esp + 0x74], 0xb
call fcn.10004e20
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
add esp, 0x14
mov byte [esp + 0x60], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100358ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0x10]
dec eax
push eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x18]
call fcn.10008ae0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 0xc
call fcn.10004aa0
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov byte [esp + 0x60], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10035931
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0xc]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x10035938
lea eax, [esi - 0x10]
mov byte [esp + 0x60], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10035961
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10035a52
mov edx, dword [esi + 0x354]
mov eax, dword [edx + 4]
cmp byte [eax + 0x9d], 0
mov ebx, dword [esi + 0x354]
lea ecx, [esi + 0x350]
jne 0x100359a7
nop
cmp dword [eax + 0xc], edi
jge 0x1003599a
mov eax, dword [eax + 8]
jmp 0x1003599e
mov edx, eax
mov eax, dword [eax]
cmp byte [eax + 0x9d], 0
je 0x10035990
mov eax, dword [ecx + 4]
cmp edx, eax
mov dword [esp + 0x6c], edx
je 0x100359bd
cmp edi, dword [edx + 0xc]
jl 0x100359bd
lea eax, [esp + 0x6c]
jmp 0x100359c5
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x4c]
cmp dword [eax], ebx
je 0x10035a52
mov edx, dword [ebp + 0x10]
dec edx
push edx
lea eax, [esp + 0x54]
push eax
lea edx, [esp + 0x28]
push edx
call fcn.10031ed0
mov ecx, eax
add ecx, 8
call fcn.10008ae0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 0xd
call fcn.10004aa0
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov byte [esp + 0x60], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10035a1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
push 0x10083e44
push eax
call fcn.10068d19
add esp, 8
test eax, eax
jne 0x10035a41
push 0x10083e14
lea ecx, [esp + 0x14]
call fcn.10005d60
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0xc]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x10035a48
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x60], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10035a75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x60], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10035a9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x54
ret 0xc