Function at 0x419b90
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f1ffb
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x545628]
xor eax, esp
mov dword [esp + 0x42c], eax
push ebp
push esi
push edi
mov eax, dword [0x545628]
xor eax, esp
push eax
lea eax, [esp + 0x440]
mov dword fs:[0], eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SOFTWARESogouExplorer
mov edi, ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
call ebp
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x419d14
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x23e]
push edx
mov word [esp + 0x240], cx
call fcn.004d6770
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x238]
push ecx
push 0
push edx
mov dword [esp + 0x24], 0x104
call esi
test eax, eax
jne 0x419d14
push str.SogouExplorer.exe
lea eax, [esp + 0x238]
push 0x104
push eax
call fcn.004d3269
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.00410c10
lea eax, [esp + 0x234]
lea edx, [esp + 0x2c]
call fcn.00410e40
lea ecx, [esp + 0x2c]
call fcn.00416500
test al, al
je 0x419ced
mov eax, dword [esp + 0x10]
test eax, eax
je 0x419ca1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x104
lea ecx, [esp + 0x238]
push ecx
push 0x104
push edi
call fcn.004d4a58
add esp, 0x10
cmp byte [esp + 0x148], 0
mov dword [esp + 0x2c], vtable.t_str.0
jne 0x419ce3
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x38]
cmp eax, edx
je 0x419ce3
push eax
call fcn.004d1d15
add esp, 4
mov eax, 1
jmp 0x419edd
cmp byte [esp + 0x148], 0
mov dword [esp + 0x2c], vtable.t_str.0
jne 0x419d14
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x38]
cmp eax, ecx
je 0x419d14
push eax
call fcn.004d1d15
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x419d23
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
push str.HTTP_shellopencommand
push SysReAllocString
call ebp
test eax, eax
jne 0x419e1b
push 0x206
push eax
lea ecx, [esp + 0x36]
push ecx
mov word [esp + 0x38], ax
call fcn.004d6770
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x30]
push eax
push 0
push ecx
mov dword [esp + 0x24], 0x104
call esi
test eax, eax
jne 0x419e1b
xor ebp, ebp
cmp word [esp + 0x2c], 0x22
jne 0x419d8b
lea ebp, [eax + 1]
lea eax, [esp + 0x2c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419d92
sub eax, edx
sar eax, 1
lea esi, [eax - 1]
cmp esi, ebp
jle 0x419e1b
lea edi, [esp + esi*2 + 0x28]
lea esp, [esp]
xor eax, eax
push 3
push edi
mov dword [esp + 0x2e], eax
mov word [esp + 0x32], ax
lea eax, [esp + 0x2c]
xor edx, edx
push 4
push eax
mov word [esp + 0x34], dx
call fcn.004d4a58
lea edx, [esp + 0x34]
xor ecx, ecx
push 0x52bec8
push edx
mov word [esp + 0x42], cx
call fcn.004d1734
add esp, 0x18
test eax, eax
je 0x419df8
dec esi
sub edi, 2
cmp esi, ebp
jg 0x419db0
jmp 0x419e1b
mov ecx, dword [esp + 0x20]
sub esi, ebp
inc esi
push esi
lea eax, [esp + ebp*2 + 0x30]
push eax
push 0x104
push ecx
call fcn.004d4a58
add esp, 0x10
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x419e2a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x18], 0
jne 0x419ed9
lea edx, [esp + 0x1c]
push edx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x419eca
push 0x206
push eax
lea ecx, [esp + 0x23e]
push ecx
mov word [esp + 0x240], ax
call fcn.004d6770
add esp, 0xc
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x238]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
push str.ProgramFilesDir
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x419eca
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x234]
push eax
push str._sInternet_ExplorerIEXPLORE.exe
push 0x104
push ecx
call fcn.004d1968
add esp, 0x10
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x419ed9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x42c]
xor ecx, esp
call fcn.004d158d
add esp, 0x43c
ret