Function at 0x4b4b30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6998
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5470b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov esi, dword [0x54d1d4]
mov eax, dword [esi + 0xc]
push 1
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx - 0xc]
mov edx, dword [esi + 4]
lea eax, [edx + eax + 3]
cmp eax, 0x1000
jb 0x4b4c82
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str._BroadcastCmd:_Queue_is_full__Changing_revision__note:_perf_impact_
push ecx
call fcn.00475230
add esp, 8
call fcn.004b4930
add esp, 4
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x18]
push eax
push ecx
mov edi, esp
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x18], edi
call fcn.004c31da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4b4bd2
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, str.CIpcCfgValidator.BroadcastCmd.ChangeRevision
mov byte [ebp - 4], 1
test ecx, 0xffff0000
jne 0x4b4c0b
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004cb124
test eax, eax
je 0x4b4c25
push ebx
push eax
mov ecx, edi
call fcn.00424e92
jmp 0x4b4c25
push str.CIpcCfgValidator.BroadcastCmd.ChangeRevision
call fcn.004d1e6a
add esp, 4
push eax
push str.CIpcCfgValidator.BroadcastCmd.ChangeRevision
mov ecx, edi
call fcn.00425415
mov byte [ebp - 4], 0
call fcn.0047d8a0
mov eax, dword [esi]
mov edx, dword [eax + 8]
add esp, 0xc
mov ecx, esi
call edx
mov eax, dword [esi + 0xc]
push 1
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x18]
mov dword [esi + 8], eax
xor edx, edx
mov dword [esi + 4], 0
mov word [ecx + 4], dx
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 8]
mov dword [eax], ecx
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
push eax
call fcn.0047dae0
add esp, 4
mov ecx, dword [ebp + 0xc]
movzx edx, word [ebp + 8]
push ecx
push edx
lea eax, [ebp - 0x10]
push str._c_s_
push eax
call fcn.00475230
add esp, 0xc
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x10]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
push str.BroadcastCmd:__s
push ecx
call fcn.00475230
add esp, 0xc
call fcn.004b4930
mov edi, dword [esi + 0x18]
add esp, 4
add edi, 4
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b4cd0
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
cmp ebx, ecx
jl 0x4b4db0
push eax
mov eax, ebx
sub eax, ecx
lea ecx, [edi + eax*2]
push ecx
call fcn.004d1bae
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x10]
jne 0x4b4db0
mov ecx, dword [eax - 0xc]
cmp ebx, ecx
je 0x4b4d20
sub ebx, ecx
cmp word [edi + ebx*2 - 2], 0x3e
jne 0x4b4db0
push ecx
mov edi, esp
mov dword [ebp + 8], esp
mov dword [ebp + 8], edi
call fcn.004c31da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4b4d43
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, str._BroadcastCmd:_DUPLICATE__not_adding_
mov byte [ebp - 4], 3
test ecx, 0xffff0000
jne 0x4b4d88
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004cb124
test eax, eax
je 0x4b4da2
push ebx
push eax
mov ecx, edi
call fcn.00424e92
mov byte [ebp - 4], 2
call fcn.004b4930
add esp, 4
jmp 0x4b4dd5
push str._BroadcastCmd:_DUPLICATE__not_adding_
call fcn.004d1e6a
add esp, 4
push eax
push str._BroadcastCmd:_DUPLICATE__not_adding_
mov ecx, edi
call fcn.00425415
mov byte [ebp - 4], 2
call fcn.004b4930
add esp, 4
jmp 0x4b4dd5
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x18]
push eax
mov eax, 0x1000
sub eax, ecx
push eax
lea eax, [edx + ecx*2 + 4]
push eax
call fcn.004d6845
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 0xc]
add esp, 0xc
add dword [esi + 4], eax
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x18]
push eax
push ecx
mov edi, esp
mov dword [ebp + 8], esp
mov dword [ebp + 8], edi
call fcn.004c31da
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4b4e00
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov ecx, str.CIpcCfgValidator.BroadcastCmd.DataIntegrity
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x4b4e39
mov edx, ecx
movzx ebx, dx
push ebx
call fcn.004cb124
test eax, eax
je 0x4b4e53
push ebx
push eax
mov ecx, edi
call fcn.00424e92
jmp 0x4b4e53
push str.CIpcCfgValidator.BroadcastCmd.DataIntegrity
call fcn.004d1e6a
add esp, 4
push eax
push str.CIpcCfgValidator.BroadcastCmd.DataIntegrity
mov ecx, edi
call fcn.00425415
mov byte [ebp - 4], 2
call fcn.0047d8a0
mov edi, dword [esi + 0x14]
add esp, 0xc
test edi, edi
je 0x4b4e94
mov edx, dword [esi + 0x18]
add edx, 4
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b4e71
sub eax, ebx
sar eax, 1
add eax, eax
push eax
push edx
push 1
push 0
push str.DataIntegrity
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 0x18]
push ecx
call fcn.0047dae0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b4ec6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b4ef6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8