Function at 0x41ecd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c9fc
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebp - 0x21c]
call fcn.004369c0
mov dword [ebp - 4], 0
mov ecx, 0x594e8c
mov eax, dword [0x5c6ad0]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x214], eax
mov eax, ecx
shr eax, 0x10
test eax, eax
jne 0x41ed42
movzx eax, cx
lea ecx, [ebp - 0x214]
push eax
call fcn.00413df0
jmp 0x41ed76
push 0x594e8c
call edi
mov esi, eax
test esi, esi
je 0x41ed76
push esi
lea ecx, [ebp - 0x214]
call fcn.00413af0
test eax, eax
je 0x41ed76
lea eax, [esi + esi]
push eax
push 0x594e8c
push dword [ebp - 0x214]
call fcn.004d9a60
add esp, 0xc
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x21c]
test esi, esi
je 0x41ed98
push esi
call edi
test eax, eax
je 0x41ed98
push esi
push eax
lea ecx, [ebp - 0x214]
call fcn.00415220
mov eax, dword [0x5c6ad0]
mov dword [ebp - 0x218], eax
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 2
call fcn.00436b00
push 0x594e94
call edi
test eax, eax
je 0x41edce
push 0x594e94
push eax
lea ecx, [ebp - 0x214]
call fcn.00415220
mov esi, dword [ebp - 0x218]
mov eax, dword [esi - 8]
test eax, eax
je 0x41ede8
push esi
push eax
lea ecx, [ebp - 0x214]
call fcn.00415220
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
push 0x20019
push str.SOFTWARESogouInput
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 3
call fcn.00419440
test eax, eax
mov eax, dword [ebp - 0x22c]
jne 0x41ef16
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004d9fe0
add esp, 0xc
mov dword [ebp - 0x230], 0x200
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push 0x597160
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41ef10
mov eax, dword [ebp - 0x220]
cmp eax, 1
je 0x41ee92
cmp eax, 2
jne 0x41ef10
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x41eeaf
test al, 1
jne 0x41ef10
shr eax, 1
cmp word [ebp + eax*2 - 0x212], 0
je 0x41eeb8
jmp 0x41ef10
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push eax
call edi
mov esi, eax
lea ecx, [ebp - 0x218]
push esi
mov dword [ebp - 0x220], esi
call fcn.00413c20
test eax, eax
je 0x41ef0a
lea edi, [esi + esi]
mov esi, dword [ebp - 0x218]
push edi
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.004d9a60
mov eax, dword [ebp - 0x220]
add esp, 0xc
mov dword [esi - 8], eax
xor eax, eax
mov word [edi + esi], ax
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x41ef10
mov esi, dword [ebp - 0x218]
mov eax, dword [ebp - 0x22c]
mov byte [ebp - 4], 2
test eax, eax
je 0x41ef25
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x594e9c
call edi
test eax, eax
je 0x41ef41
push 0x594e9c
push eax
lea ecx, [ebp - 0x214]
call fcn.00415220
mov eax, dword [esi - 8]
test eax, eax
je 0x41ef55
push esi
push eax
lea ecx, [ebp - 0x214]
call fcn.00415220
mov eax, dword [ebp - 0x214]
cmp dword [eax - 8], 0x104
jg 0x41ef73
push eax
push 0x104
push ebx
call fcn.004e1af2
add esp, 0xc
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x41ef76
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [esi - 0xc]
sub ebx, ecx
sar ebx, 1
cmp eax, 0x5c6ad4
je 0x41efa8
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x41efa8
push esi
call fcn.004d71b8
add esp, 4
mov eax, dword [ebp - 0x214]
lea ecx, [eax - 0xc]
cmp ecx, 0x5c6ad4
je 0x41efcc
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x41efcc
push esi
call fcn.004d71b8
add esp, 4
mov eax, dword [ebp - 0x21c]
lea ecx, [eax - 0xc]
cmp ecx, 0x5c6ad4
je 0x41eff9
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x41eff9
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff4
push ecx
call fcn.004d71b8
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6cfd
mov esp, ebp
pop ebp
ret