Function at 0x409f10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df531
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x513200]
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 esi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x134]
mov dword [ebp - method.t_reg.virtual_0], vtable.t_reg.0
call fcn.00403480
push str.MACHINE
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x140]
call fcn.00423d10
push 1
push 0
push 0
push str.SoftwareSogouInput
push ebx
lea ecx, [ebp - 0x140]
mov dword [ebp - 4], 0
call fcn.00423fd0
test al, al
jne 0x409fa2
push 0x4fc5b0
mov ecx, ebx
call fcn.004058b0
xor bl, bl
jmp 0x40a267
lea ecx, [ebp - 0x388]
call fcn.00403480
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x380]
push 0x105
mov dword [ebp - 0x268], 0x105
call fcn.004056f0
cmp byte [ebp - 0x26c], 0
lea eax, [ebp - 0x37c]
lea ecx, [ebp - 0x4b0]
mov dword [ebp - 0x4b4], 0
cmove eax, dword [ebp - 0x380]
push ecx
add eax, 4
mov dword [ebp - 0x4b0], 0x208
push eax
lea eax, [ebp - 0x4b4]
push eax
push 0
push 0
push dword [ebp - 0x13c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x40a058
cmp byte [ebp - 0x18], 0
lea edi, [ebp - 0x128]
push eax
cmove edi, dword [ebp - 0x12c]
mov ecx, ebx
call fcn.004272c0
push 0x4ff5c8
mov esi, eax
push 0x4fc47c
push esi
call fcn.004048f0
lea eax, [edi + 4]
push eax
push 0x4fc47c
push esi
call fcn.004048f0
add esp, 0x18
jmp 0x40a092
cmp dword [ebp - 0x4b4], 1
je 0x40a0b0
cmp byte [ebp - 0x18], 0
lea esi, [ebp - 0x128]
push 0x4ff5d8
cmove esi, dword [ebp - 0x12c]
mov ecx, ebx
call fcn.004058b0
mov ecx, eax
lea eax, [esi + 4]
push eax
push 0x4fc47c
push ecx
call fcn.004048f0
add esp, 0xc
lea ecx, [ebp - 0x388]
call fcn.004036f0
push 0x4fc5b0
mov ecx, ebx
call fcn.004058b0
xor bl, bl
jmp 0x40a23b
lea ecx, [ebp - 0x388]
call fcn.00403f40
lea ecx, [ebp - 0x264]
call fcn.00403480
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x25c]
push 0x105
mov dword [ebp - 0x144], 0x105
call fcn.004056f0
cmp byte [ebp - 0x148], 0
lea eax, [ebp - 0x258]
push 1
cmove eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x4b0]
push str.Version
push ecx
add eax, 4
mov dword [ebp - 0x4b0], 0x208
push eax
push ebx
lea ecx, [ebp - 0x140]
call fcn.00424290
lea ecx, [ebp - 0x264]
test al, al
jne 0x40a142
call fcn.004036f0
push 0x4fc5d4
mov ecx, ebx
call fcn.004058b0
xor bl, bl
jmp 0x40a20f
call fcn.00403f40
cmp byte [ebp - 0x26c], 0
lea eax, [ebp - 0x37c]
lea ecx, [ebp - 0x4ac]
cmove eax, dword [ebp - 0x380]
sub esp, 0x10
add eax, 4
push 0
push eax
call fcn.0040e650
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [esi + 0xc]
call fcn.0040ecf0
cmp byte [ebp - 0x390], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x40a1aa
mov eax, dword [ebp - 0x4a4]
lea ecx, [ebp - 0x4a0]
cmp eax, ecx
je 0x40a1aa
push eax
call fcn.00496f41
add esp, 4
cmp byte [ebp - 0x148], 0
lea eax, [ebp - 0x258]
lea ecx, [ebp - 0x4ac]
cmove eax, dword [ebp - 0x25c]
sub esp, 0x10
add eax, 4
push 0
push eax
call fcn.0040e650
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [esi + 0xc]
call fcn.0040ebd0
cmp byte [ebp - 0x390], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x40a20d
mov eax, dword [ebp - 0x4a4]
lea ecx, [ebp - 0x4a0]
cmp eax, ecx
je 0x40a20d
push eax
call fcn.00496f41
add esp, 4
mov bl, 1
cmp byte [ebp - 0x148], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x40a23b
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x258]
cmp eax, ecx
je 0x40a23b
push eax
call fcn.00496f41
add esp, 4
cmp byte [ebp - 0x26c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x40a267
mov eax, dword [ebp - 0x380]
lea ecx, [ebp - 0x37c]
cmp eax, ecx
je 0x40a267
push eax
call fcn.00496f41
add esp, 4
mov eax, dword [ebp - 0x13c]
mov dword [ebp - method.t_reg.virtual_0], vtable.t_reg.0
test eax, eax
je 0x40a282
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x18], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x40a2b5
mov ecx, dword [ebp - 0x12c]
lea eax, [ebp - 0x128]
cmp ecx, eax
je 0x40a2b5
push ecx
call fcn.00496f41
add esp, 4
mov al, bl
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.00489940
mov esp, ebp
pop ebp
ret 4