Function at 0x10110030
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x218], 0
call fcn.10003180
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10110071
push esi
call ebx
push 0x31
call fcn.10003680
add esp, 4
test eax, eax
je 0x1011009b
lea ecx, [ebp - 0x218]
push ecx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallSogou_Input
push reloc.OLEAUT32.dll_SysReAllocString
call eax
jmp 0x101100b9
lea eax, [ebp - 0x218]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallSogou_Input
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x214], eax
test esi, esi
je 0x101100cc
push esi
call edi
cmp dword [ebp - 0x214], 0
jne 0x10110380
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x218]
add esp, 0xc
mov dword [ebp - 0x220], 0x208
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], eax
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x10110121
push esi
call ebx
push 0x41
call fcn.10003680
add esp, 4
test eax, eax
je 0x10110155
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x214]
push ecx
push 0
push str.UninstallString
push dword [ebp - 0x210]
call eax
jmp 0x1011017d
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push str.UninstallString
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x210], eax
test esi, esi
je 0x1011018a
push esi
call edi
cmp dword [ebp - 0x210], 0
jne 0x1011033d
mov eax, dword [ebp - 0x214]
cmp eax, 1
je 0x101101ab
cmp eax, 2
jne 0x1011033d
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x210]
call fcn.10002490
mov eax, dword [ebp - 0x210]
cmp dword [eax - 0xc], 0
je 0x10110325
push 0x10202940
push 0x10209334
lea ecx, [ebp - 0x210]
call fcn.10003450
mov edi, dword [ebp - 0x210]
push 0x5c
push edi
call sub.msvcrt.dll_wcsrchr
add esp, 8
or ebx, 0xffffffff
test eax, eax
je 0x101102de
sub eax, edi
sar eax, 1
cmp eax, ebx
je 0x101102de
xor ebx, ebx
test eax, eax
sets bl
dec ebx
and ebx, eax
cmp ebx, dword [edi - 0xc]
jl 0x10110230
lea ebx, [edi - 0x10]
push ebx
call fcn.10002a60
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x21c], esi
jmp 0x10110281
mov ecx, dword [edi - 0x10]
test ecx, ecx
je 0x10110240
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x1011024c
call fcn.10002d70
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
push 2
push ebx
call dword [edx]
test eax, eax
je 0x101103a7
lea esi, [eax + 0x10]
xor ecx, ecx
lea eax, [ebx + ebx]
mov dword [esi - 0xc], ebx
push eax
push edi
push eax
push esi
mov dword [ebp - 0x21c], esi
mov word [eax + esi], cx
call fcn.10004510
add esp, 0x10
lea ebx, [edi - 0x10]
lea ecx, [esi - 0x10]
cmp ecx, ebx
je 0x101102d0
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x101102bb
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x101102bb
push ecx
call fcn.10002a60
add esp, 4
mov esi, eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x101102b6
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
lea edi, [esi + 0x10]
jmp 0x101102d0
push dword [esi - 0xc]
lea ecx, [ebp - 0x210]
push esi
call fcn.10003740
mov edi, dword [ebp - 0x210]
lea ecx, [ebp - 0x21c]
call fcn.10007e10
or ebx, 0xffffffff
push dword [ebp - 0x218]
call fcn.10034ac0
add edi, 0xfffffff0
push edi
call fcn.10002a60
mov esi, dword [ebp - 0x224]
add eax, 0x10
add esp, 4
mov dword [esi], eax
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10110312
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
lea edx, [eax - 0x10]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1011033d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x21c], eax
call fcn.10003180
mov esi, dword [eax + 0x154]
test esi, esi
je 0x1011035b
push esi
call ebx
push 0x44
call fcn.10003680
add esp, 4
push dword [ebp - 0x21c]
test eax, eax
je 0x10110373
call eax
jmp 0x10110379
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x10110380
push esi
call edi
mov ecx, dword [ebp - 0x224]
push 0x10202940
call fcn.10002490
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x224]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret
call fcn.10003970
int3