Function at 0x431200
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 0x477426
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x5e8
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, ecx
mov edi, dword [ebx + 8]
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 0x4312ba
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [str.SoftwareSogouInput], 0
mov dword [ebp - 0x144], 0
je 0x431335
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]
mov ecx, eax
test ecx, ecx
je 0x4313d0
mov dword [ebp - 0x5f4], 0x49c280
jmp 0x431369
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]
mov ecx, eax
test ecx, ecx
je 0x4313d0
mov dword [ebp - 0x5f4], 0x49c26c
cmp byte [ebp - 0x20], 0
lea eax, [ebp - 0x130]
push ecx
cmove eax, dword [ebp - 0x134]
mov dword [ebp - 0x5f0], eax
mov eax, edi
mov ecx, eax
call fcn.0042c5d0
push dword [ebp - 0x5f4]
mov esi, eax
push 0x49c2fc
push esi
call fcn.00434d80
mov edx, dword [ebp - 0x5f0]
add esp, 0xc
add edx, 4
push edx
push 0x49c2fc
push esi
call fcn.00434d80
add esp, 0xc
mov ecx, edi
push 0x49bc60
call fcn.0042c400
mov byte [ebp - 0x5e9], 0
jmp 0x431713
lea ecx, [ebp - 0x398]
call fcn.00434790
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x390]
push 0x105
mov dword [ebp - 0x278], 0x105
call fcn.00435000
cmp byte [ebp - 0x27c], 0
lea eax, [ebp - 0x38c]
lea ecx, [ebp - 0x5f4]
mov dword [ebp - 0x5f0], 0
cmove eax, dword [ebp - 0x390]
push ecx
add eax, 4
mov dword [ebp - 0x5f4], 0x208
push eax
lea eax, [ebp - 0x5f0]
push eax
push 0
push 0
push dword [ebp - 0x144]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x431481
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 - 0x5f8], eax
call fcn.00434d80
mov ecx, dword [ebp - 0x5f8]
add esp, 0xc
jmp 0x4314ad
cmp dword [ebp - 0x5f0], 1
je 0x431512
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 - 0x278], 0
lea ecx, [ebp - 0x390]
mov dword [ebp - 0x394], 0
push 1
call fcn.00435000
cmp byte [ebp - 0x27c], 0
lea eax, [ebp - 0x38c]
push 0x49bc60
cmove eax, dword [ebp - 0x390]
xor ecx, ecx
mov word [eax + 4], cx
mov ecx, edi
call fcn.0042c400
mov byte [ebp - 0x5e9], 0
jmp 0x4316e7
lea ecx, [ebp - 0x398]
call fcn.00434ca0
lea ecx, [ebp - 0x270]
call fcn.00434790
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x268]
push 0x105
mov dword [ebp - 0x150], 0x105
call fcn.00435000
cmp byte [ebp - 0x154], 0
lea eax, [ebp - 0x264]
push 1
cmove eax, dword [ebp - 0x268]
lea ecx, [ebp - 0x5f8]
push str.Version
push ecx
add eax, 4
mov dword [ebp - 0x5f8], 0x208
push eax
push edi
lea ecx, [ebp - 0x148]
call fcn.00434530
test al, al
jne 0x4315d9
push 1
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x26c], 0
call fcn.00435000
cmp byte [ebp - 0x154], 0
lea eax, [ebp - 0x264]
push 0x49bc84
cmove eax, dword [ebp - 0x268]
xor ecx, ecx
mov word [eax + 4], cx
mov ecx, edi
call fcn.0042c400
mov byte [ebp - 0x5e9], 0
jmp 0x4316bb
lea ecx, [ebp - 0x270]
call fcn.00434ca0
cmp byte [ebp - 0x27c], 0
lea eax, [ebp - 0x38c]
push 0
cmove eax, dword [ebp - 0x390]
lea ecx, [ebp - 0x4c0]
push 0
push 0
push 0
push 0
add eax, 4
push eax
call fcn.0042cbb0
lea eax, [ebp - 0x4c0]
push eax
lea ecx, [esi + 0xc]
call fcn.0042d2b0
cmp byte [ebp - 0x3a4], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x43164c
mov eax, dword [ebp - 0x4b8]
lea ecx, [ebp - 0x4b4]
cmp eax, ecx
je 0x43164c
push eax
call fcn.0045dc2d
add esp, 4
cmp byte [ebp - 0x154], 0
lea eax, [ebp - 0x264]
push 0
cmove eax, dword [ebp - 0x268]
lea ecx, [ebp - 0x5e8]
push 0
push 0
push 0
push 0
add eax, 4
push eax
call fcn.0042cbb0
lea eax, [ebp - 0x5e8]
push eax
lea ecx, [esi + 0xc]
call fcn.0042d190
cmp byte [ebp - 0x4cc], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4316b4
mov eax, dword [ebp - 0x5e0]
lea ecx, [ebp - 0x5dc]
cmp eax, ecx
je 0x4316b4
push eax
call fcn.0045dc2d
add esp, 4
mov byte [ebp - 0x5e9], 1
cmp byte [ebp - 0x154], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x4316e7
mov eax, dword [ebp - 0x268]
lea ecx, [ebp - 0x264]
cmp eax, ecx
je 0x4316e7
push eax
call fcn.0045dc2d
add esp, 4
cmp byte [ebp - 0x27c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x431713
mov eax, dword [ebp - 0x390]
lea ecx, [ebp - 0x38c]
cmp eax, ecx
je 0x431713
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 0x43172e
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 0x431761
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x130]
cmp eax, ecx
je 0x431761
push eax
call fcn.0045dc2d
add esp, 4
mov al, byte [ebp - 0x5e9]
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 4