Function at 0x4359b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47774b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4c0
mov eax, dword [0x4bb050]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x4c8], edi
lea ecx, [ebp - 0x13c]
mov dword [ebp - method.t_reg.virtual_0], vtable.t_reg.0
call fcn.00434790
push 8
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x138], 7
call fcn.00435000
cmp byte [ebp - 0x20], 0
lea eax, [ebp - 0x130]
movups xmm0, xmmword [str.MACHINE]
cmove eax, dword [ebp - 0x134]
movups xmmword [eax + 4], xmm0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x144]
test eax, eax
je 0x435a6f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [str.SoftwareSogouInput], 0
mov dword [ebp - 0x144], 0
je 0x435ae8
push 0x49b470
lea eax, [ebp - 0x13c]
push 0x49c2fc
push eax
call fcn.00434d80
add esp, 0xc
lea eax, [ebp - 0x13c]
push str.SoftwareSogouInput
push 0x49c2fc
push eax
call fcn.00434d80
add esp, 0xc
lea eax, [ebp - 0x144]
push eax
push 0x20019
push 0
push str.SoftwareSogouInput
push dword [ebp - 0x140]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x435b7b
mov dword [ebp - 0x4cc], 0x49c280
jmp 0x435b1a
push 0
lea eax, [ebp - 0x144]
push eax
push 0
push 0x20019
push 0
push 0
push 0
push 0
push dword [ebp - 0x140]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x435b7b
mov dword [ebp - 0x4cc], 0x49c26c
cmp byte [ebp - 0x20], 0
lea edi, [ebp - 0x130]
mov ecx, dword [ebp - 0x4c8]
cmove edi, dword [ebp - 0x134]
push eax
call fcn.0042c5d0
push dword [ebp - 0x4cc]
mov esi, eax
push 0x49c2fc
push esi
call fcn.00434d80
add esp, 0xc
lea edx, [edi + 4]
push edx
push 0x49c2fc
push esi
call fcn.00434d80
mov ecx, dword [ebp - 0x4c8]
add esp, 0xc
push 0x49bc60
call fcn.0042c400
mov byte [ebp - 0x4c1], 0
jmp 0x435dbb
lea ecx, [ebp - 0x270]
call fcn.00434790
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x268]
push 0x105
mov dword [ebp - 0x150], 0x105
call fcn.00435000
cmp byte [ebp - 0x154], 0
lea eax, [ebp - 0x264]
lea ecx, [ebp - 0x4c8]
mov dword [ebp - 0x4cc], 0
cmove eax, dword [ebp - 0x268]
push ecx
add eax, 4
mov dword [ebp - 0x4c8], 0x208
push eax
lea eax, [ebp - 0x4cc]
push eax
push 0
push 0
push dword [ebp - 0x144]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x435c2c
cmp byte [ebp - 0x20], 0
lea esi, [ebp - 0x130]
push eax
cmove esi, dword [ebp - 0x134]
mov ecx, edi
call fcn.0042c5d0
push 0x49c294
push 0x49c2fc
push eax
mov dword [ebp - 0x4d0], eax
call fcn.00434d80
mov ecx, dword [ebp - 0x4d0]
add esp, 0xc
jmp 0x435c58
cmp dword [ebp - 0x4cc], 1
je 0x435cbd
cmp byte [ebp - 0x20], 0
lea esi, [ebp - 0x130]
push 0x49c2a4
cmove esi, dword [ebp - 0x134]
mov ecx, edi
call fcn.0042c400
mov ecx, eax
lea eax, [esi + 4]
push eax
push 0x49c2fc
push ecx
call fcn.00434d80
add esp, 0xc
mov dword [ebp - 0x150], 0
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x26c], 0
push 1
call fcn.00435000
cmp byte [ebp - 0x154], 0
lea eax, [ebp - 0x264]
push 0x49bc60
cmove eax, dword [ebp - 0x268]
xor ecx, ecx
mov word [eax + 4], cx
mov ecx, edi
call fcn.0042c400
mov byte [ebp - 0x4c1], 0
jmp 0x435d8f
lea ecx, [ebp - 0x270]
call fcn.00434ca0
cmp byte [ebp - 0x154], 0
lea eax, [ebp - 0x264]
push 0
cmove eax, dword [ebp - 0x268]
lea ecx, [ebp - 0x398]
push 0
push 0
push 0
push 0
add eax, 4
push eax
call fcn.0042cbb0
lea eax, [ebp - 0x398]
mov ecx, esi
push eax
call fcn.0042d2b0
cmp byte [ebp - 0x27c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x435d2f
mov eax, dword [ebp - 0x390]
lea ecx, [ebp - 0x38c]
cmp eax, ecx
je 0x435d2f
push eax
call fcn.0045dc2d
add esp, 4
push 0
push 0
push 0
push 0
push 0
push ecx
call fcn.0043f5a0
add esp, 4
lea ecx, [ebp - 0x4c0]
push eax
call fcn.0042cbb0
lea eax, [ebp - 0x4c0]
mov ecx, esi
push eax
call fcn.0042d190
cmp byte [ebp - 0x3a4], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x435d88
mov eax, dword [ebp - 0x4b8]
lea ecx, [ebp - 0x4b4]
cmp eax, ecx
je 0x435d88
push eax
call fcn.0045dc2d
add esp, 4
mov byte [ebp - 0x4c1], 1
cmp byte [ebp - 0x154], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x435dbb
mov eax, dword [ebp - 0x268]
lea ecx, [ebp - 0x264]
cmp eax, ecx
je 0x435dbb
push eax
call fcn.0045dc2d
add esp, 4
mov eax, dword [ebp - 0x144]
mov dword [ebp - method.t_reg.virtual_0], vtable.t_reg.0
test eax, eax
je 0x435dd6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x20], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x435e09
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x130]
cmp eax, ecx
je 0x435e09
push eax
call fcn.0045dc2d
add esp, 4
mov al, byte [ebp - 0x4c1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045a329
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret