Function at 0x4ae780
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f02e8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x53f100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x544f78]
mov edi, ebx
call fcn.004aef10
mov eax, dword [ebp + 0xc]
mov eax, dword [eax - 0xc]
mov ecx, dword [ebx + 4]
lea edx, [ecx + eax + 3]
cmp edx, 0x1000
jb 0x4ae8ef
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push str._BroadcastCmd:_queue_is_full__Changing_revision__note:_perf_impact_
push eax
call fcn.00478610
add esp, 8
call fcn.004ae4d0
add esp, 4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
push ecx
mov esi, esp
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x18], esi
call fcn.004bcd4c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4ae81c
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, str.CIpcCfgValidator.BroadcastCmd.ChangeRevision
mov byte [ebp - 4], 1
test ecx, 0xffff0000
jne 0x4ae855
mov edx, ecx
movzx edi, dx
push edi
call fcn.004c4eeb
test eax, eax
je 0x4ae86f
push edi
push eax
mov ecx, esi
call fcn.00424e60
jmp 0x4ae86f
push str.CIpcCfgValidator.BroadcastCmd.ChangeRevision
call fcn.004cbe7a
add esp, 4
push eax
push str.CIpcCfgValidator.BroadcastCmd.ChangeRevision
mov ecx, esi
call fcn.004253b1
mov byte [ebp - 4], 0
call fcn.00480fc0
add esp, 8
mov eax, esp
mov dword [ebp - 0x1c], esp
push str.BroadcastCmd:_about_to_save_data_to_disk__OnRevisionChangedByMe_
push eax
call fcn.00478610
add esp, 8
call fcn.004ae4d0
mov edx, dword [ebx]
mov eax, dword [edx + 8]
add esp, 4
push 0
mov ecx, ebx
call eax
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.BroadcastCmd:_about_to_broadcast_change_to_others__BroadcastRevisionChange_
push ecx
call fcn.00478610
add esp, 8
call fcn.004ae4d0
add esp, 4
mov eax, ebx
call fcn.004ae540
push ecx
mov edx, esp
mov dword [ebp - 0x1c], esp
push str.BroadcastCmd:_done_emptying_queue
push edx
call fcn.00478610
add esp, 8
call fcn.004ae4d0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
add esp, 4
push eax
call fcn.004811e0
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.00478610
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.00478610
add esp, 0xc
call fcn.004ae4d0
mov esi, dword [ebx + 0x18]
add esp, 4
add esi, 4
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ae937
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
cmp edi, ecx
jl 0x4aea17
push eax
mov eax, edi
sub eax, ecx
lea ecx, [esi + eax*2]
push ecx
call fcn.004cbbc8
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x10]
jne 0x4aea17
mov ecx, dword [eax - 0xc]
cmp edi, ecx
je 0x4ae987
sub edi, ecx
cmp word [esi + edi*2 - 2], 0x3e
jne 0x4aea17
push ecx
mov esi, esp
mov dword [ebp + 8], esp
mov dword [ebp + 8], esi
call fcn.004bcd4c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4ae9aa
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, str._BroadcastCmd:_DUPLICATE__not_adding_
mov byte [ebp - 4], 3
test ecx, 0xffff0000
jne 0x4ae9ef
mov edx, ecx
movzx edi, dx
push edi
call fcn.004c4eeb
test eax, eax
je 0x4aea09
push edi
push eax
mov ecx, esi
call fcn.00424e60
mov byte [ebp - 4], 2
call fcn.004ae4d0
add esp, 4
jmp 0x4aea3c
push str._BroadcastCmd:_DUPLICATE__not_adding_
call fcn.004cbe7a
add esp, 4
push eax
push str._BroadcastCmd:_DUPLICATE__not_adding_
mov ecx, esi
call fcn.004253b1
mov byte [ebp - 4], 2
call fcn.004ae4d0
add esp, 4
jmp 0x4aea3c
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x18]
push eax
mov eax, 0x1000
sub eax, ecx
push eax
lea eax, [edx + ecx*2 + 4]
push eax
call fcn.004d0825
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx - 0xc]
add esp, 0xc
add dword [ebx + 4], eax
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x18]
push eax
push ecx
mov esi, esp
mov dword [ebp + 8], esp
mov dword [ebp + 8], esi
call fcn.004bcd4c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4aea67
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, str.CIpcCfgValidator.BroadcastCmd.DataIntegrity
mov byte [ebp - 4], 4
test ecx, 0xffff0000
jne 0x4aeaa0
mov edx, ecx
movzx edi, dx
push edi
call fcn.004c4eeb
test eax, eax
je 0x4aeaba
push edi
push eax
mov ecx, esi
call fcn.00424e60
jmp 0x4aeaba
push str.CIpcCfgValidator.BroadcastCmd.DataIntegrity
call fcn.004cbe7a
add esp, 4
push eax
push str.CIpcCfgValidator.BroadcastCmd.DataIntegrity
mov ecx, esi
call fcn.004253b1
mov byte [ebp - 4], 2
call fcn.00480fc0
mov esi, dword [ebx + 0x14]
add esp, 0xc
test esi, esi
je 0x4aeb03
mov edx, dword [ebx + 0x18]
add edx, 4
mov eax, edx
lea edi, [eax + 2]
jmp 0x4aeae0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4aeae0
sub eax, edi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push 0
push str.DataIntegrity
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp - 0x18]
push ecx
call fcn.004811e0
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 0x4aeb35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
jne 0x4aeb66
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov edx, esp
mov dword [ebp + 8], esp
push eax
push str._Lock:_failed_releasing__LE_d
push edx
call fcn.00478610
add esp, 0xc
call fcn.004ae4d0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4aeb8c
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