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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50db70
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x553948]
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 ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor edi, edi
mov byte [ebp - 0x49], 0
cmp dword [0x556c3c], edi
jne 0x4422ef
mov eax, 0x104
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov eax, dword [0x554e1c]
mov edx, dword [eax + 0xc]
mov ecx, 0x554e1c
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x54], edi
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x50], esi
lea eax, [ebp - 0x54]
push eax
push 0x20019
push edi
push str.SOFTWAREMicrosoftInternet_Explorer
push 0x80000002
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4422cc
mov edx, dword [ebp - 0x58]
cmp edx, edi
jge 0x442205
push 0x80070057
call fcn.0044b6f0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x442222
push edx
lea ecx, [ebp - 0x50]
call fcn.004424c0
mov esi, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x58]
push ecx
push esi
push edi
push edi
push str.svcVersion
push edx
call ebx
test eax, eax
jne 0x44224f
cmp dword [ebp - 0x58], edi
jbe 0x4422c2
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x6c]
push edx
jmp 0x4422a4
mov edx, dword [ebp - 0x5c]
cmp edx, edi
jge 0x442260
push 0x80070057
call fcn.0044b6f0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x44227d
push edx
lea ecx, [ebp - 0x50]
call fcn.004424c0
mov esi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x5c]
push eax
push esi
push edi
push edi
push str.Version
push ecx
call ebx
test eax, eax
jne 0x4422c2
cmp dword [ebp - 0x5c], edi
jbe 0x4422c2
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x6c]
push ecx
push 0x556c3c
push str._u._u._u._u
push esi
call fcn.0044266f
add esp, 0x18
cmp eax, 4
je 0x4422c2
mov dword [0x556c3c], edi
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4422ef
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, dword [0x556c3c]
cmp eax, 7
ja 0x4423c6
cmp dword [ebp + 8], edi
je 0x442487
push 0x31
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [0x5563e8]
call fcn.00461fb8
mov eax, dword [0x5563e8]
lea esi, [eax + 4]
push esi
mov dword [ebp - 4], 1
mov edi, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [edi + 0x51]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x5563e8]
movzx edx, bl
neg edx
sbb edx, edx
and edx, 0xd
add edx, 3
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.00461fb8
mov ecx, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x442366
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x442371
lea eax, [ebp - 0x48]
push 0x30
push ecx
mov ecx, dword [0x5563e8]
push eax
call fcn.0044b400
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 0x18], esi
jb 0x442398
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00406fa9
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x34], esi
jb 0x442487
mov eax, dword [ebp - 0x48]
push eax
call fcn.00406fa9
add esp, 4
jmp 0x442487
cmp byte [0x556c38], 0
je 0x4423d8
mov byte [ebp - 0x49], 1
jmp 0x442487
push eax
call fcn.00443d70
add esp, 4
push edi
lea ecx, [ebp - 0x50]
push ecx
push edi
push 0x2001f
push edi
push edi
push edi
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push 0x80000001
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x50], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x442487
lea edx, [ebp - 0x78]
push edx
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x74]
push ecx
push edi
push 0x511798
mov esi, 4
push edx
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], esi
call ebx
cmp eax, 2
jne 0x442450
mov ecx, dword [ebp - 0x50]
push esi
lea eax, [ebp - 0x60]
push eax
push esi
push edi
push 0x511798
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x44247d
jmp 0x442472
cmp eax, edi
jne 0x44247d
mov edx, dword [ebp - 0x68]
cmp edx, dword [ebp - 0x60]
je 0x442472
mov ecx, dword [ebp - 0x50]
push esi
lea eax, [ebp - 0x60]
push eax
push esi
push edi
push 0x511798
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [0x556c38], 1
mov byte [ebp - 0x49], 1
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 0x49]
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.00401316
mov esp, ebp
pop ebp
ret