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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2390
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x522638]
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 [0x525e8c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ebx, ebx
mov byte [ebp - 0x49], bl
cmp eax, ebx
jne 0x43ab51
mov eax, dword [0x523b0c]
mov edx, dword [eax + 0xc]
mov ecx, 0x523b0c
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x58], 0x104
mov dword [ebp - 0x5c], ebx
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x50], esi
lea eax, [ebp - 0x5c]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftInternet_Explorer
push 0x80000002
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43ab29
mov edx, dword [ebp - 0x58]
cmp edx, ebx
jge 0x43aabd
push 0x80070057
call fcn.00443780
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x43aada
push edx
lea ecx, [ebp - 0x50]
call fcn.0043ad20
mov esi, dword [ebp - 0x50]
mov edx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x58]
push ecx
push esi
push ebx
push ebx
push str.Version
push edx
call edi
test eax, eax
jne 0x43ab1f
cmp dword [ebp - 0x58], ebx
jbe 0x43ab1f
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x74]
push edx
push 0x525e8c
push str._d._d._d._d
push esi
call fcn.0043aecf
add esp, 0x18
cmp eax, 4
je 0x43ab1f
mov dword [0x525e8c], ebx
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ab4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x525e8c]
cmp eax, 7
ja 0x43ac05
cmp dword [ebp + 8], ebx
je 0x43acef
push 0x31
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [0x52513c]
call fcn.0043e3fc
mov ecx, dword [0x52513c]
movzx edx, byte [ecx + 0x45]
neg edx
sbb edx, edx
and edx, 0xd
add edx, 3
push edx
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], 1
call fcn.0043e3fc
mov ecx, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x43aba9
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x43abb4
lea eax, [ebp - 0x48]
push 0x30
push ecx
mov ecx, dword [0x52513c]
push eax
call fcn.004434e0
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [ebp - 0x18], esi
jb 0x43abdb
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00406ca9
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x34], esi
jb 0x43acef
mov eax, dword [ebp - 0x48]
push eax
call fcn.00406ca9
add esp, 4
jmp 0x43acef
cmp byte [0x525e88], bl
je 0x43ac16
mov byte [ebp - 0x49], 1
jmp 0x43acef
cmp eax, 8
jne 0x43ac24
mov dword [ebp - 0x50], 0x22b8
jmp 0x43ac36
xor ecx, ecx
cmp eax, 9
setne cl
lea ecx, [ecx + ecx + 0x270f]
mov dword [ebp - 0x50], ecx
push ebx
lea edx, [ebp - 0x54]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push 0x80000001
mov dword [ebp - 0x54], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43acef
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x68]
push edx
push ebx
push 0x509034
mov esi, 4
push eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x68], esi
call edi
cmp eax, 2
jne 0x43acaa
mov edx, dword [ebp - 0x54]
push esi
lea ecx, [ebp - 0x50]
push ecx
push esi
push ebx
push 0x509034
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x43ace5
mov eax, dword [ebp - 0x54]
push eax
jmp 0x43acd4
cmp eax, ebx
jne 0x43ace5
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [ebp - 0x50]
je 0x43acda
mov eax, dword [ebp - 0x54]
push esi
lea edx, [ebp - 0x50]
push edx
push esi
push ebx
push 0x509034
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x43acda
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov byte [0x525e88], 1
mov byte [ebp - 0x49], 1
mov edx, dword [ebp - 0x54]
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.00401306
mov esp, ebp
pop ebp
ret