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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505d28
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x556620]
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 ecx, dword [0x55bd98]
xor bh, bh
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ecx, ecx
jne 0x443a02
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x68], 0x104
mov dword [ebp - 0x64], 0
call fcn.00405d50
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x443920
push 0x80004005
call fcn.00454340
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push 0x537138
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4439db
mov edx, dword [ebp - 0x68]
test edx, edx
jns 0x443966
push 0x80070057
call fcn.00454340
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x443983
push edx
lea ecx, [ebp - 0x14]
call fcn.00443bf0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x68]
push eax
push esi
push 0
push 0
push str.Version
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4439d6
cmp dword [ebp - 0x68], eax
jbe 0x4439d6
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x55bd98
push str._u._u._u._u
push esi
call fcn.00443d75
mov ecx, dword [0x55bd98]
xor edx, edx
add esp, 0x18
cmp eax, 4
cmovne ecx, edx
mov dword [0x55bd98], ecx
push dword [ebp - 0x64]
call edi
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4439fc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x55bd98]
cmp ecx, 7
ja 0x443ad5
cmp dword [ebp + 8], 0
je 0x443bb8
mov ecx, dword [0x55b408]
lea eax, [ebp - 0x5c]
push 0x31
push eax
call fcn.0046730b
mov edi, dword [0x55b408]
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
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 0x10
test bl, bl
mov eax, 3
cmovne eax, ecx
mov ecx, dword [0x55b408]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0046730b
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 [0x55b408]
push eax
mov byte [ebp - 4], 2
call fcn.00454f10
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 0x30], 8
jb 0x443aa7
push dword [ebp - 0x44]
call fcn.0040823e
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x443bb8
push dword [ebp - 0x5c]
call fcn.0040823e
add esp, 4
jmp 0x443bb8
cmp byte [0x55bd9c], 0
je 0x443ae5
mov bh, 1
jmp 0x443bb8
cmp ecx, 8
jne 0x443af3
mov dword [ebp - 0x14], 0x22b8
jmp 0x443b05
xor eax, eax
cmp ecx, 9
setne al
lea eax, [eax*2 + 0x270f]
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 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 0x443bb8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x28], 4
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 4
push eax
push 0
push 0x511930
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x443b87
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push 0x511930
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x443bb3
jmp 0x443bab
test eax, eax
jne 0x443bb3
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
je 0x443bab
push 4
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push 0x511930
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov bh, 1
mov byte [0x55bd9c], bh
push dword [ebp - 0x60]
call edi
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.00401580
mov esp, ebp
pop ebp
ret