Function at 0x410630
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x48c46b
mov eax, dword fs:[0]
push eax
sub esp, 0x388
mov eax, dword [0x4b81f4]
xor eax, esp
mov dword [esp + 0x380], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b81f4]
xor eax, esp
push eax
lea eax, [esp + 0x39c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3ac]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
xor esi, esi
push esi
push str.SOFTWARESogouExplorer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
cmp eax, esi
jne 0x41082b
push 0x206
lea eax, [esp + 0x192]
xor edx, edx
push esi
push eax
mov word [esp + 0x198], dx
call fcn.0046f9f0
mov eax, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x190]
push edx
push esi
push eax
mov dword [esp + 0x2c], 0x104
call ebx
cmp eax, esi
jne 0x41082b
push str.SogouExplorer.exe
lea ecx, [esp + 0x190]
push 0x104
push ecx
call fcn.0046eb1f
add esp, 0xc
lea ecx, [esp + 0x5c]
call fcn.0040f730
lea ebp, [esp + 0x18c]
mov edx, ebp
test edx, edx
jne 0x410723
mov ebp, 0x4ac1f8
mov eax, ebp
lea edx, [eax + 2]
jmp 0x410730
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x410730
sub eax, edx
sar eax, 1
lea edi, [eax + 1]
mov ecx, edi
lea esi, [esp + 0x64]
mov dword [esp + 0x60], eax
call fcn.00410400
cmp byte [esp + 0x178], 0
lea eax, [esp + 0x68]
jne 0x410763
mov eax, dword [esp + 0x64]
lea ecx, [edi + edi]
push ecx
add eax, 4
push ebp
push eax
call fcn.0046fa70
add esp, 0xc
cmp byte [esp + 0x178], 0
lea eax, [esp + 0x68]
jne 0x410786
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x2c]
push edx
add eax, 4
push eax
call fcn.0046d65e
add esp, 8
test eax, eax
jne 0x410804
test dword [esp + 0x32], 0x4000
jne 0x410804
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4107b4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x28]
push 0x104
lea eax, [esp + 0x190]
push eax
push 0x104
push ecx
call fcn.0046c2c4
add esp, 0x10
cmp byte [esp + 0x178], 0
mov dword [esp + 0x5c], vtable.t_str.0
jne 0x4107fa
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x68]
cmp eax, edx
je 0x4107fa
push eax
call fcn.0046b865
add esp, 4
mov eax, 1
jmp 0x410a26
cmp byte [esp + 0x178], 0
mov dword [esp + 0x5c], vtable.t_str.0
jne 0x41082b
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x68]
cmp eax, ecx
je 0x41082b
push eax
call fcn.0046b865
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41083a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x18]
push edx
push 0x20019
push 0
push str.HTTP_shellopencommand
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410961
push 0x206
push eax
lea ecx, [esp + 0x196]
push ecx
mov word [esp + 0x198], ax
call fcn.0046f9f0
mov ecx, dword [esp + 0x24]
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x190]
push eax
push 0
push ecx
mov dword [esp + 0x2c], 0x104
call ebx
test eax, eax
jne 0x410961
xor ebp, ebp
cmp word [esp + 0x18c], 0x22
jne 0x4108b2
lea ebp, [eax + 1]
lea eax, [esp + 0x18c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4108c0
sub eax, edx
sar eax, 1
lea esi, [eax - 1]
cmp esi, ebp
jle 0x410961
lea edi, [esp + esi*2 + 0x188]
xor eax, eax
push 3
push edi
mov dword [esp + 0x18e], eax
mov word [esp + 0x192], ax
lea eax, [esp + 0x18c]
xor edx, edx
push 4
push eax
mov word [esp + 0x194], dx
call fcn.0046c2c4
lea edx, [esp + 0x194]
xor ecx, ecx
push 0x4ae0b4
push edx
mov word [esp + 0x1a2], cx
call fcn.0046c231
add esp, 0x18
test eax, eax
je 0x41093b
dec esi
sub edi, 2
cmp esi, ebp
jg 0x4108e1
jmp 0x410961
mov ecx, dword [esp + 0x28]
sub esi, ebp
inc esi
push esi
lea eax, [esp + ebp*2 + 0x190]
push eax
push 0x104
push ecx
call fcn.0046c2c4
add esp, 0x10
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x410970
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x20], 0
jne 0x410a22
lea edx, [esp + 0x24]
push edx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410a13
push 0x206
push eax
lea ecx, [esp + 0x196]
push ecx
mov word [esp + 0x198], ax
call fcn.0046f9f0
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x18c]
push ecx
push 0
push str.ProgramFilesDir
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x410a13
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x18c]
push eax
push str._sInternet_ExplorerIEXPLORE.exe
push 0x104
push ecx
call fcn.0046c641
add esp, 0x10
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x24]
test eax, eax
je 0x410a22
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x39c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x380]
xor ecx, esp
call fcn.0046b4eb
add esp, 0x394
ret