Function at 0x466db0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572600
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5edd38]
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 eax, dword [0x5f41a0]
xor bh, bh
test eax, eax
jne 0x466f9d
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x84], 0x104
mov dword [ebp - 0x80], 0x104
mov dword [ebp - 0x7c], eax
call fcn.00467200
mov edi, eax
test edi, edi
je 0x4671d9
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x5817c0]
mov ecx, edi
call esi
lea esi, [eax + 0x10]
mov dword [ebp - 0x78], esi
lea eax, [ebp - 0x7c]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x466f6a
mov edx, dword [ebp - 0x80]
test edx, edx
js 0x4671e3
mov eax, dword [esi - 8]
mov edi, 1
mov ecx, edi
sub eax, edx
sub ecx, dword [esi - 4]
or eax, ecx
jge 0x466e84
push edx
lea ecx, [ebp - 0x78]
lfence
call fcn.00467360
mov esi, dword [ebp - 0x78]
lea eax, [ebp - 0x80]
push eax
push esi
push 0
push 0
push str.svcVersion
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x466edf
cmp dword [ebp - 0x80], eax
jbe 0x466f61
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x5f41a0
push str._u._u._u._u
push esi
call fcn.00467570
add esp, 0x18
cmp eax, 4
je 0x466f61
mov dword [0x5f41a0], 0
jmp 0x466f61
mov ecx, dword [ebp - 0x84]
test ecx, ecx
js 0x4671e3
mov eax, dword [esi - 8]
sub edi, dword [esi - 4]
sub eax, ecx
or eax, edi
jge 0x466f08
push ecx
lea ecx, [ebp - 0x78]
lfence
call fcn.00467360
mov esi, dword [ebp - 0x78]
lea eax, [ebp - 0x84]
push eax
push esi
push 0
push 0
push str.Version
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x466f61
cmp dword [ebp - 0x84], eax
jbe 0x466f61
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x5f41a0
push str._u._u._u._u
push esi
call fcn.00467570
mov ecx, dword [0x5f41a0]
xor edx, edx
add esp, 0x18
cmp eax, 4
cmovne ecx, edx
mov dword [0x5f41a0], ecx
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x466f98
lfence
mov edi, dword [esi]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x5817c0]
mov ecx, edi
call esi
mov eax, dword [0x5f41a0]
cmp eax, 7
ja 0x46708b
cmp dword [ebp + 8], 0
je 0x4671bb
mov ecx, dword [0x5f3910]
lea eax, [ebp - 0x5c]
push 0x31
push eax
call fcn.0049ac06
mov edi, dword [0x5f3910]
mov dword [ebp - 4], 1
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [edi + 0x49]
push esi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 0x10
mov byte [ebp - 4], 1
test bl, bl
mov eax, 3
cmovne eax, ecx
mov ecx, dword [0x5f3910]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0049ac06
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
push 0x30
cmovae ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
push ecx
cmovae eax, dword [ebp - 0x5c]
mov ecx, dword [0x5f3910]
push eax
mov byte [ebp - 4], 3
call fcn.004d0f00
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x467052
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 4], 5
cmp eax, 8
jb 0x4671bb
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.0040a2e0
jmp 0x4671bb
cmp byte [0x5f41a4], 0
je 0x46709b
mov bh, 1
jmp 0x4671bb
push eax
call fcn.004687a0
add esp, 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 0
push 0
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4671bb
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x2c], 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004687f0
add esp, 8
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 6
push eax
lea eax, [ebp - 0x2c]
push eax
lea esi, [ebp - 0x74]
cmovae esi, dword [ebp - 0x74]
push 0
push esi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x467146
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push esi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x46716e
jmp 0x467166
test eax, eax
jne 0x46716e
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x14]
je 0x467166
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push esi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov bh, 1
mov byte [0x5f41a4], bh
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x4671bb
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 7
cmp edx, 0x1000
jb 0x4671b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4671ed
push edx
push ecx
call fcn.00409f25
add esp, 8
mov al, bh
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.00401682
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0047f2a0
push 0x80070057
call fcn.0047f2a0
call fcn.0054223b
int3