Function at 0x42de20
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov ebx, edx
mov dword [ebp - 0x30], ecx
mov eax, dword [0x4a0088]
xor eax, ebp
mov dword [ebp - 0x10], eax
sub esp, 0x20
xor edi, edi
mov dword [esp + 0x1c], edi
movaps xmm0, xmmword [0x463490]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp], 0xfde9
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
test eax, eax
je 0x42df7e
mov esi, eax
push eax
call fcn.0044f9c3
add esp, 4
mov edi, eax
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp esi, 0xffffffff
je 0x42e134
xor eax, eax
push eax
push eax
push esi
push edi
push 0xffffffffffffffff
push ebx
push eax
push 0xfde9
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
test eax, eax
je 0x42e057
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ebx, eax
cmp eax, 0xf
jbe 0x42df05
mov dword [ebp - 0x2c], edi
test ebx, ebx
js 0x42e13f
mov eax, ebx
or eax, 0xf
cmp eax, 0x17
mov edi, 0x16
cmovae edi, eax
cmp edi, 0xfff
jb 0x42df1d
lea eax, [edi + 0x24]
push eax
call fcn.0044f9c3
add esp, 4
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x42df2b
lea eax, [ebp - 0x28]
mov dword [eax + 0x10], ebx
push ebx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [ebp + ebx - 0x28], 0
jmp 0x42df46
lea eax, [edi + 1]
push eax
call fcn.0044f9c3
add esp, 4
mov esi, eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
push ebx
mov edi, dword [ebp - 0x2c]
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esi + ebx], 0
mov dword [ebp - 0x28], esi
mov esi, dword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x18]
movsd qword [esi + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [esi], xmm0
mov dword [esi + 0x18], 0
push edi
call fcn.0044f120
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044f7d0
mov eax, esi
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.kernel32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [ebp - 0x2c], eax
mov ecx, 0x15
mov edx, str.Utf16ToUtf8
mov eax, str.0x_X_in__S:_d
push ecx
push edx
push ebx
push eax
call fcn.00451d80
add esp, 0x10
lea ecx, [eax + 1]
mov dword [ebp - 0x34], ecx
lea ecx, [eax + eax]
add ecx, 2
xor esi, esi
dec esi
cmp eax, 0xffffffff
cmovge esi, ecx
push esi
call fcn.0044f9c3
add esp, 4
push esi
push edi
mov esi, eax
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x15
push eax
mov eax, str.Utf16ToUtf8
push eax
push ebx
mov eax, str.0x_X_in__S:_d
push eax
push 0xffffffffffffffff
push dword [ebp - 0x34]
push esi
call fcn.00451de0
add esp, 0x1c
push dword [ebp - 0x2c]
push edi
mov edi, ebx
mov ebx, esi
call dword [sym.imp.advapi32.dll_RegisterEventSourceW]
test eax, eax
je 0x42e035
mov esi, eax
lea eax, [ebp - 0x28]
mov dword [eax], ebx
xor ecx, ecx
xor edx, edx
inc edx
push ecx
push eax
push ecx
push edx
push ecx
push edi
push ecx
push edx
push esi
call dword [sym.imp.advapi32.dll_ReportEventW]
push esi
call dword [sym.imp.advapi32.dll_DeregisterEventSource]
push ebx
call fcn.0044f120
add esp, 4
xor eax, eax
mov esi, dword [ebp - 0x30]
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x18], edi
jmp 0x42df6a
mov dword [ebp - 0x2c], edi
call dword [sym.imp.kernel32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [ebp - 0x34], eax
mov ecx, 0x1e
mov edx, str.Utf16ToUtf8
mov eax, str.0x_X_in__S:_d
push ecx
push edx
push ebx
push eax
call fcn.00451d80
add esp, 0x10
lea ecx, [eax + 1]
mov dword [ebp - 0x38], ecx
lea ecx, [eax + eax]
add ecx, 2
xor esi, esi
dec esi
cmp eax, 0xffffffff
cmovge esi, ecx
push esi
call fcn.0044f9c3
add esp, 4
mov edi, eax
push esi
xor esi, esi
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x1e
push eax
mov eax, str.Utf16ToUtf8
push eax
push ebx
mov eax, str.0x_X_in__S:_d
push eax
push 0xffffffffffffffff
push dword [ebp - 0x38]
push edi
call fcn.00451de0
add esp, 0x1c
push dword [ebp - 0x34]
push esi
call dword [sym.imp.advapi32.dll_RegisterEventSourceW]
test eax, eax
je 0x42e10f
mov esi, eax
lea eax, [ebp - 0x28]
mov dword [eax], edi
xor ecx, ecx
xor edx, edx
inc edx
push ecx
push eax
push ecx
push edx
push ecx
push ebx
push ecx
push edx
push esi
call dword [sym.imp.advapi32.dll_ReportEventW]
push esi
call dword [sym.imp.advapi32.dll_DeregisterEventSource]
push edi
call fcn.0044f120
add esp, 4
xor eax, eax
mov esi, dword [ebp - 0x30]
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x18], ebx
mov edi, dword [ebp - 0x2c]
jmp 0x42df61
int3
call fcn.00452ec0
int3