Function at 0x42e970
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x68
mov dword [ebp - 0x74], ecx
mov eax, dword [0x49f070]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x30]
mov ecx, esi
xor edx, edx
push 0
push str.ServicesSettingsServer
call fcn.0042ba80
add esp, 8
mov dword [ebp - 0x70], esp
sub esp, 0x20
mov ebx, esp
lea edi, [ebx + 4]
push 0x40
call fcn.0044fa55
add esp, 4
movups xmm0, xmmword [str.https:__firefox.settings.services.mozilla.com_v1]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x497cae]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x497cbe]
movups xmmword [eax + 0x20], xmm0
mov byte [eax + 0x30], 0
mov dword [ebx + 4], eax
mov dword [ebx + 0x14], 0x30
mov dword [ebx + 0x18], 0x3f
mov byte [ebx + 0x1c], 1
lea eax, [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov dword [ebx], eax
cmp dword [esi + 0x1c], 0
jne 0x42eddd
lea ebx, [ebp - 0x14]
lea esi, [ebp - 0x48]
xorps xmm0, xmm0
movups xmmword [esi - 0x13], xmm0
movups xmmword [esi - 0x1c], xmm0
mov ecx, esi
mov edx, ebx
call fcn.00453dc0
mov ecx, edi
call fcn.00453b00
mov esp, dword [ebp - 0x70]
push 0x40
call fcn.0044fa55
add esp, 4
mov edi, eax
movups xmm0, xmmword [0x497cbe]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x497cae]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [str.https:__firefox.settings.services.mozilla.com_v1]
movups xmmword [eax], xmm0
mov byte [eax + 0x30], 0
cmp byte [esi - 4], 0
jne 0x42ea84
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x38], 0x30
mov dword [ebp - 0x34], 0x3f
lea ecx, [ebp - 0x64]
call fcn.00453b00
cmp byte [edi + 0x2f], 0x2f
jne 0x42eaa9
mov edi, 0x30
mov ebx, 0x3f
jmp 0x42eb53
mov esi, dword [ebp - 0x54]
cmp dword [ebp - 0x50], 0x10
jb 0x42ea93
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
cmp esi, 0xf
ja 0x42eab3
mov eax, dword [ebp - 0x6c]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x48], xmm0
mov ebx, 0xf
jmp 0x42eb02
mov esi, 0x30
jmp 0x42eb41
mov ebx, esi
or ebx, 0xf
mov eax, SysReAllocString
cmp ebx, eax
cmovae ebx, eax
cmp ebx, 0xfff
jb 0x42eae3
lea eax, [ebx + 0x24]
push eax
call fcn.0044fa55
add esp, 4
mov ecx, eax
add eax, 0x23
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x42eaef
lea eax, [ebx + 1]
push eax
call fcn.0044fa55
add esp, 4
mov dword [ebp - 0x48], eax
lea ecx, [esi + 1]
push ecx
push dword [ebp - 0x6c]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], ebx
push 0x40
push edi
call fcn.0044fa85
add esp, 8
lea ecx, [ebp - 0x64]
call fcn.00453b00
xor edi, edi
test esi, esi
je 0x42eb53
cmp ebx, 0x10
jb 0x42eb2b
mov edi, dword [ebp - 0x48]
jmp 0x42eb2e
lea edi, [ebp - 0x48]
cmp byte [esi + edi - 1], 0x2f
jne 0x42eb39
mov edi, esi
jmp 0x42eb53
cmp esi, ebx
jae 0x42ecf7
lea eax, [esi + 1]
mov dword [ebp - 0x38], eax
mov word [edi + esi], 0x2f
mov edi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x34]
mov eax, ebx
sub eax, edi
cmp eax, 0x44
jae 0x42eb84
sub esp, 0x10
mov al, byte [ebp - 0x64]
mov byte [esp + 4], al
mov eax, 0x44
mov dword [esp + 0xc], eax
mov dword [esp], eax
mov dword [esp + 8], str.buckets_main_collections_windows_default_browser_agent_records_state
lea ecx, [ebp - 0x48]
call fcn.00403e70
jmp 0x42ebaf
lea eax, [edi + 0x44]
mov dword [ebp - 0x38], eax
cmp ebx, 0x10
jb 0x42eb94
mov esi, dword [ebp - 0x48]
jmp 0x42eb97
lea esi, [ebp - 0x48]
lea eax, [esi + edi]
push 0x44
push str.buckets_main_collections_windows_default_browser_agent_records_state
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi + edi + 0x44], 0
push str.default_browser_agent:_Remote_service_disabled_state_URL:_
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.00453ba0
add esp, 8
lea edi, [ebp - 0x48]
mov ecx, dword [edi + 0x10]
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x42ebd3
mov edx, dword [ebp - 0x48]
push ecx
push edx
push eax
call fcn.00403060
add esp, 0xc
push 0x497fcd
push eax
call fcn.00453ba0
add esp, 8
mov esi, eax
mov eax, dword [eax]
mov ecx, dword [eax + 4]
add ecx, esi
mov eax, 0xa
push eax
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movsx eax, al
mov ecx, esi
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::put_char_]
mov ebx, dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::flush_void_]
mov ecx, esi
call ebx
cmp dword [ebp - 0x34], 0x10
jb 0x42ec20
mov edi, dword [ebp - 0x48]
lea eax, [ebp - 0x68]
push eax
push edi
call fcn.0043f160
add esp, 8
mov edi, eax
push str.default_browser_agent:_HRESULT:_0x
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.00453ba0
add esp, 8
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, 0xfffff1ff
and edx, dword [eax + ecx + 0x14]
or edx, 0x800
mov dword [eax + ecx + 0x14], edx
mov ecx, eax
push edi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov esi, eax
mov eax, dword [eax]
mov ecx, dword [eax + 4]
add ecx, esi
mov eax, 0xa
push eax
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movsx eax, al
mov ecx, esi
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::put_char_]
mov ecx, esi
call ebx
test edi, edi
js 0x42ed1d
cmp dword [ebp - 0x68], 0
setne al
xor edi, edi
mov ebx, dword [ebp - 0x74]
mov byte [ebx], al
mov dword [ebx + 4], edi
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x42ecd9
mov ecx, dword [ebp - 0x48]
lea esi, [eax + 1]
cmp esi, 0x1000
jb 0x42eccf
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x42ede5
add eax, 0x24
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.0044fa85
add esp, 8
cmp dword [ebp - 0x14], 0
je 0x42edd0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00450100
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0xc
mov al, byte [ebp - 0x64]
mov byte [esp + 4], al
mov dword [esp + 8], 0x2f
mov dword [esp], 1
lea ecx, [ebp - 0x48]
call fcn.00455120
jmp 0x42eb4d
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [ebp - 0x70], eax
mov ecx, 0x46
mov edx, str.IsAgentRemoteDisabledInternal
mov eax, str.0x_X_in__S:_d
push ecx
push edx
push edi
push eax
call fcn.00452540
add esp, 0x10
lea ecx, [eax + 1]
mov dword [ebp - 0x6c], ecx
lea ecx, [eax + eax]
add ecx, 2
xor esi, esi
dec esi
cmp eax, 0xffffffff
cmovge esi, ecx
push esi
call fcn.0044fa47
add esp, 4
mov ebx, eax
xor eax, eax
push esi
push eax
xor esi, esi
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x46
push eax
mov eax, str.IsAgentRemoteDisabledInternal
push eax
push edi
mov eax, str.0x_X_in__S:_d
push eax
push 0xffffffffffffffff
push dword [ebp - 0x6c]
push ebx
call fcn.004525a0
add esp, 0x1c
push dword [ebp - 0x70]
push esi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x42edc0
mov esi, eax
lea eax, [ebp - 0x64]
mov dword [eax], ebx
xor ecx, ecx
inc ecx
xor edx, edx
push edx
push eax
push edx
push ecx
push edx
push edi
push edx
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
push ebx
call fcn.0044fa50
add esp, 4
xor eax, eax
jmp 0x42ec99
lea ecx, [ebp - 0x30]
call fcn.00453b00
jmp 0x42ece3
add ebx, 0x20
jmp 0x42e9ff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3