Function at 0x4b7aa0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502a70
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x53f030]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0043ae40
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x4b7ae6
push 0x80004005
call fcn.0043a9b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 8]
lea ecx, [edi + 0x70]
call fcn.004a64d0
or ebx, 0xffffffff
test eax, eax
je 0x4b7ba7
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.0043a9d0
lea esi, [eax + 0x10]
push esi
call fcn.004dad74
add esi, 0xfffffff0
add esp, 8
mov ebx, eax
or edx, 0xffffffff
lea ecx, [esi + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b7b46
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0x10]
cmp esi, 0xfffffff4
jl 0x4b7b61
cmp esi, 0xfffffff6
jle 0x4b7b9c
test esi, esi
jne 0x4b7b61
lea eax, [ebx + 8]
cmp eax, 3
ja 0x4b7b61
mov esi, ebx
or ebx, 0xffffffff
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
lea ecx, [edi + 0xac]
push dword [eax]
call fcn.00497ef0
test eax, eax
je 0x4b7bb6
cmp esi, 1
jne 0x4b7bac
cmp dword [eax + 4], 0
mov esi, 0xffffffec
mov ecx, 5
cmovne esi, ecx
jmp 0x4b7bb6
lea eax, [ebx + 0xc]
cmp eax, 2
cmovbe esi, ebx
jmp 0x4b7b61
mov esi, dword [ebp + 0x10]
jmp 0x4b7b64
test esi, esi
mov eax, 0xffffffeb
cmovle esi, eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
lea ecx, [edi + 0xdc]
push dword [eax]
call fcn.00497ef0
test eax, eax
je 0x4b7be1
cmp esi, 1
mov eax, 6
cmove esi, eax
lea eax, [ebp + 0x10]
push esi
push eax
call fcn.004b6de0
add esp, 8
push eax
push dword [ebp + 8]
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 1
call fcn.004a6850
mov edx, dword [ebp + 0x10]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b7c1e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
push 2
push dword [edi + 0x16c]
mov dword [ebp + 0x10], esi
mov eax, dword [ebx]
push reloc.WS2_32.dll_accept
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call fcn.0043b290
test eax, eax
mov eax, dword [ebp - 0x24]
jne 0x4b7c71
push 4
lea ecx, [ebp + 0x10]
push ecx
push 4
push 0
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4b7c7c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.ie_browserRestarted
push dword [ebx]
call fcn.004da111
add esp, 8
test eax, eax
je 0x4b7cdd
push str.ff_browserRestarted
push dword [ebx]
call fcn.004da111
add esp, 8
test eax, eax
je 0x4b7cdd
push str.cr_browserRestarted
push dword [ebx]
call fcn.004da111
add esp, 8
test eax, eax
je 0x4b7cdd
mov eax, dword [edi + 0x1e8]
test eax, eax
je 0x4b7cc4
cmp eax, 1
jne 0x4b7cdd
xor eax, eax
lea ecx, [edi + 0x1a0]
cmp esi, 0xfffffffd
setne al
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.004b6af0
mov edx, dword [ebp - 0x10]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b7d01
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc