Function at 0x45ed60
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 0x530416
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x398
mov eax, dword [0x5c6150]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x3a8], esi
lea ecx, [ebp - 0x13c]
mov dword [ebp - method.t_reg.virtual_0], vtable.t_reg.0
call fcn.0044fd40
push 8
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], reloc.WS2_32.dll_bind
mov dword [ebp - 0x138], 7
call fcn.00450b00
cmp byte [ebp - 0x20], 0
lea eax, [ebp - 0x130]
movups xmm0, xmmword [str.MACHINE]
cmove eax, dword [ebp - 0x134]
movups xmmword [eax + 4], xmm0
push 1
push 0
push 0
push str.SoftwareSogouInput
push esi
lea ecx, [ebp - 0x148]
mov dword [ebp - 4], 0
call fcn.0044f620
test al, al
jne 0x45ee4f
mov ecx, esi
call fcn.00450c80
push 0x5573b4
push 0x5971f4
push eax
call fcn.00450580
add esp, 0xc
mov byte [ebp - 0x399], 0
jmp 0x45f0a2
lea ecx, [ebp - 0x398]
call fcn.0044fd40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x390]
push 0x105
mov dword [ebp - 0x278], 0x105
call fcn.00450b00
cmp byte [ebp - 0x27c], 0
lea eax, [ebp - 0x38c]
lea ecx, [ebp - 0x3a4]
mov dword [ebp - 0x3a0], 0
cmove eax, dword [ebp - 0x390]
push ecx
add eax, 4
mov dword [ebp - 0x3a4], 0x208
push eax
lea eax, [ebp - 0x3a0]
push eax
push 0
push 0
push dword [ebp - 0x144]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x45eef4
cmp byte [ebp - 0x20], 0
lea edi, [ebp - 0x130]
push eax
cmove edi, dword [ebp - 0x134]
mov ecx, esi
call fcn.00450c80
mov ecx, eax
call fcn.00450ff0
mov ecx, esi
call fcn.00450c80
push 0x59d0a8
jmp 0x45ef1a
cmp dword [ebp - 0x3a0], 1
je 0x45ef71
cmp byte [ebp - 0x20], 0
lea edi, [ebp - 0x130]
mov ecx, esi
cmove edi, dword [ebp - 0x134]
call fcn.00450c80
push 0x59d0b8
mov esi, eax
push 0x5971f4
push esi
call fcn.00450580
add esp, 0xc
lea ecx, [edi + 4]
push ecx
push 0x5971f4
push esi
call fcn.00450580
add esp, 0xc
lea ecx, [ebp - 0x398]
call fcn.0044ff00
mov ecx, dword [ebp - 0x3a8]
call fcn.00450c80
push 0x5573b4
push 0x5971f4
push eax
call fcn.00450580
add esp, 0xc
mov byte [ebp - 0x399], 0
jmp 0x45f076
lea ecx, [ebp - 0x398]
call fcn.004502b0
cmp byte [ebp - 0x27c], 0
lea eax, [ebp - 0x38c]
push 0
cmove eax, dword [ebp - 0x390]
lea ecx, [ebp - 0x270]
push 0
push 0
push 0
push 0
add eax, 4
push eax
call fcn.00451610
cmp byte [ebp - 0x154], 0
lea eax, [ebp - 0x264]
mov ecx, edi
cmove eax, dword [ebp - 0x268]
add eax, 4
push eax
call fcn.0044ff70
cmp byte [ebp - 0x154], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x45eff4
mov eax, dword [ebp - 0x268]
lea ecx, [ebp - 0x264]
cmp eax, ecx
je 0x45eff4
push eax
call fcn.004e1b56
add esp, 4
push 0
push 0
push 0
push 0
push 0
push ecx
call fcn.004602e0
add esp, 4
lea ecx, [ebp - 0x270]
push eax
call fcn.00451610
cmp byte [ebp - 0x154], 0
lea eax, [ebp - 0x264]
mov ecx, edi
cmove eax, dword [ebp - 0x268]
cmp word [eax + 4], 0x2e
lea eax, [ebp - 0x270]
push eax
jne 0x45f03e
call fcn.004527a0
jmp 0x45f043
call fcn.00451c90
cmp byte [ebp - 0x154], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x45f06f
mov eax, dword [ebp - 0x268]
lea ecx, [ebp - 0x264]
cmp eax, ecx
je 0x45f06f
push eax
call fcn.004e1b56
add esp, 4
mov byte [ebp - 0x399], 1
cmp byte [ebp - 0x27c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x45f0a2
mov eax, dword [ebp - 0x390]
lea ecx, [ebp - 0x38c]
cmp eax, ecx
je 0x45f0a2
push eax
call fcn.004e1b56
add esp, 4
mov eax, dword [ebp - 0x144]
mov dword [ebp - method.t_reg.virtual_0], vtable.t_reg.0
test eax, eax
je 0x45f0bd
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 0x45f0f0
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x130]
cmp eax, ecx
je 0x45f0f0
push eax
call fcn.004e1b56
add esp, 4
mov al, byte [ebp - 0x399]
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.004d6cfd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret