Function at 0x42e5e0
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.0042da20
add esp, 4
mov eax, dword [edi + 0x18]
test eax, eax
je 0x42e634
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00450100
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.00453440
mov dword [esp + 0x14], 8
cmp dword [esp + 0x54], 8
jb 0x42e697
mov eax, dword [esp + 0x40]
jmp 0x42e69b
lea eax, [esp + 0x40]
cmp dword [esp + 0x3c], 8
jb 0x42e6a6
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 0x42e6d5
cmp eax, 2
jne 0x42e774
xorps xmm0, xmm0
movups xmmword [esi], xmm0
jmp 0x42e6e6
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 0x42e72c
mov ecx, dword [esp + 0x28]
lea edi, [eax + eax]
add edi, 2
cmp edi, 0x1000
jb 0x42e722
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x42e84c
add eax, eax
add eax, 0x25
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.0044fa85
add esp, 8
mov eax, dword [esp + 0x54]
cmp eax, 8
jb 0x42e61f
mov ecx, dword [esp + 0x40]
lea edi, [eax + eax]
add edi, 2
cmp edi, 0x1000
jb 0x42e765
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x42e84c
add eax, eax
add eax, 0x25
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.0044fa85
add esp, 8
jmp 0x42e61f
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.00452540
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.0044fa47
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.004525a0
add esp, 0x1c
push dword [esp + 0x10]
xor eax, eax
push eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x42e832
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.0044fa50
add esp, 4
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], edi
jmp 0x42e6ed
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3