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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48bc4c
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4bc704]
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 [ebp + 8]
lea eax, [ebp - 0x230]
mov edi, ecx
push eax
mov ecx, str.SoftwareMicrosoftInternet_ExplorerMain
call fcn.00404d20
lea ecx, [ebp - 0x224]
push ecx
mov ecx, str.Start_Page
mov dword [ebp - 4], 0
call fcn.00404d20
mov byte [ebp - 4], 1
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x21c]
push ecx
push 0xf013f
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x230]
push 0
push edx
push 0x80000002
mov dword [ebp - 0x21c], 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x422272
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.0046ae60
add esp, 0xc
lea edx, [ebp - 0x234]
push edx
mov edx, dword [ebp - 0x224]
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x21c]
lea ecx, [ebp - 0x22c]
push ecx
push esi
push edx
push eax
mov dword [ebp - 0x234], 0x208
mov dword [ebp - 0x22c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4221b6
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x220]
push edx
call fcn.00404c30
push edi
lea edi, [ebp - 0x220]
call fcn.00422a50
test al, al
jne 0x422263
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff0
lea esi, [ecx + ecx]
call fcn.00404780
lea edi, [eax + 0x10]
mov dword [ebp - 0x228], edi
mov byte [ebp - 4], 3
cmp dword [edi - 4], 1
jle 0x422222
mov eax, dword [edi - 0xc]
push eax
lea ecx, [ebp - 0x228]
push ecx
call fcn.00404af0
mov edi, dword [ebp - 0x228]
mov edx, dword [ebp - 0x22c]
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x21c]
push esi
push edi
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x422263
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x220]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42229b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4222c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x230]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4222ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
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.00467ce1
mov esp, ebp
pop ebp
ret 4