Function at 0x432470
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 [0x4a1088]
xor eax, ebp
mov dword [ebp - 0x10], eax
sub esp, 0x20
xor edi, edi
mov dword [esp + 0x1c], edi
movaps xmm0, xmmword [0x464490]
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 0x4325ce
mov esi, eax
push eax
call fcn.004484b7
add esp, 4
mov edi, eax
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp esi, 0xffffffff
je 0x432784
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 0x4326a7
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 0x432555
mov dword [ebp - 0x2c], edi
test ebx, ebx
js 0x43278f
mov eax, ebx
or eax, 0xf
cmp eax, 0x17
mov edi, 0x16
cmovae edi, eax
cmp edi, 0xfff
jb 0x43256d
lea eax, [edi + 0x24]
push eax
call fcn.004484c5
add esp, 4
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x43257b
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 0x432596
lea eax, [edi + 1]
push eax
call fcn.004484c5
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.004484c0
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448b70
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.0044eb90
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.004484b7
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.0044ebf0
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 0x432685
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.004484c0
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 0x4325ba
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.0044eb90
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.004484b7
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.0044ebf0
add esp, 0x1c
push dword [ebp - 0x34]
push esi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x43275f
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.004484c0
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 0x4325b1
int3
call fcn.0044fcd0
int3