Function at 0x42e5b0
Capabilities:
Access the windows event log
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x4a0088]
xor ecx, ebp
mov dword [esp + 0x78], ecx
lea edi, [esp + 0x5c]
mov ecx, edi
push eax
call fcn.0042d9f0
add esp, 4
mov eax, dword [edi + 0x18]
test eax, eax
je 0x42e604
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.0044f7d0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movsd xmm0, qword [esp + 0x6c]
movsd qword [esp + 0x50], xmm0
movups xmm0, xmmword [esp + 0x5c]
movaps xmmword [esp + 0x40], xmm0
xor ebx, ebx
lea edi, [esp + 0x28]
mov dword [edi], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 7
mov word [edi], 0
sub esp, 0xc
mov al, byte [esp + 0x24]
mov byte [esp + 4], al
mov dword [esp + 8], str.SOFTWAREMozillaFirefoxDefault_Browser_Agent
mov dword [esp], 0x2e
mov ecx, edi
call fcn.00452fa0
mov dword [esp + 0x14], 8
cmp dword [esp + 0x54], 8
jb 0x42e667
mov eax, dword [esp + 0x40]
jmp 0x42e66b
lea eax, [esp + 0x40]
cmp dword [esp + 0x3c], 8
jb 0x42e676
mov edi, dword [esp + 0x28]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push ebx
push 0x40
push eax
push edi
push SysReAllocString
call dword [sym.imp.advapi32.dll_RegGetValueW]
test eax, eax
je 0x42e6a5
cmp eax, 2
jne 0x42e744
xorps xmm0, xmm0
movups xmmword [esi], xmm0
jmp 0x42e6b6
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov byte [esi + 8], 1
mov dword [esi + 0x10], 0
mov eax, dword [esp + 0x3c]
cmp eax, 8
jb 0x42e6fc
mov ecx, dword [esp + 0x28]
lea edi, [eax + eax]
add edi, 2
cmp edi, 0x1000
jb 0x42e6f2
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x42e81c
add eax, eax
add eax, 0x25
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.0044f9c3
add esp, 8
mov eax, dword [esp + 0x54]
cmp eax, 8
jb 0x42e5ef
mov ecx, dword [esp + 0x40]
lea edi, [eax + eax]
add edi, 2
cmp edi, 0x1000
jb 0x42e735
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x42e81c
add eax, eax
add eax, 0x25
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.0044f9c3
add esp, 8
jmp 0x42e5ef
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [esp + 0x10], eax
mov ecx, 0xd3
mov edx, str.RegistryGetValueQword
mov eax, str.0x_X_in__S:_d
push ecx
push edx
push edi
push eax
call fcn.00451d80
add esp, 0x10
lea ecx, [eax + 1]
mov dword [esp + 0xc], ecx
lea ecx, [eax + eax]
add ecx, 2
xor ebx, ebx
dec ebx
cmp eax, 0xffffffff
cmovge ebx, ecx
push ebx
call fcn.0044f9c3
add esp, 4
xor ecx, ecx
push ebx
push ecx
push eax
mov ebx, eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0xd3
push eax
mov eax, str.RegistryGetValueQword
push eax
push edi
mov eax, str.0x_X_in__S:_d
push eax
push 0xffffffffffffffff
push dword [esp + 0x20]
mov dword [esp + 0x24], ebx
push ebx
call fcn.00451de0
add esp, 0x1c
push dword [esp + 0x10]
xor eax, eax
push eax
call dword [sym.imp.advapi32.dll_RegisterEventSourceW]
test eax, eax
je 0x42e802
mov ebx, eax
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
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 ebx
call dword [sym.imp.advapi32.dll_ReportEventW]
push ebx
call dword [sym.imp.advapi32.dll_DeregisterEventSource]
push dword [esp + 0xc]
call fcn.0044f120
add esp, 4
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], edi
jmp 0x42e6bd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3