Function at 0x42e650
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 [0x49f070]
xor ecx, ebp
mov dword [esp + 0x78], ecx
lea edi, [esp + 0x5c]
mov ecx, edi
push eax
call fcn.0042da90
add esp, 4
mov eax, dword [edi + 0x18]
test eax, eax
je 0x42e6a4
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.004501b0
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.004534f0
mov dword [esp + 0x14], 8
cmp dword [esp + 0x54], 8
jb 0x42e707
mov eax, dword [esp + 0x40]
jmp 0x42e70b
lea eax, [esp + 0x40]
cmp dword [esp + 0x3c], 8
jb 0x42e716
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 0x42e745
cmp eax, 2
jne 0x42e7e4
xorps xmm0, xmm0
movups xmmword [esi], xmm0
jmp 0x42e756
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 0x42e79c
mov ecx, dword [esp + 0x28]
lea edi, [eax + eax]
add edi, 2
cmp edi, 0x1000
jb 0x42e792
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x42e8bc
add eax, eax
add eax, 0x25
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.0044fb35
add esp, 8
mov eax, dword [esp + 0x54]
cmp eax, 8
jb 0x42e68f
mov ecx, dword [esp + 0x40]
lea edi, [eax + eax]
add edi, 2
cmp edi, 0x1000
jb 0x42e7d5
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x42e8bc
add eax, eax
add eax, 0x25
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.0044fb35
add esp, 8
jmp 0x42e68f
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.004525f0
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.0044faf7
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.00452650
add esp, 0x1c
push dword [esp + 0x10]
xor eax, eax
push eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x42e8a2
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.0044fb00
add esp, 4
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], edi
jmp 0x42e75d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3