Function at 0x436d50
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x234
mov edi, edx
mov esi, ecx
mov eax, dword [0x4a0070]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x238]
push 0
push ebx
call section..text
add esp, 8
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x436e60
lea ebx, [ebp - 0x218]
push 0x208
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push edi
push dword [ebp - 0x238]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x436f08
xor eax, eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], 0
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
mov edi, eax
cmp eax, 7
ja 0x437001
lea eax, [ebp - 0x230]
mov dword [eax + 0x10], edi
mov ecx, edi
add ecx, edi
push ecx
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov word [ebp + edi*2 - 0x230], 0
movsd xmm0, qword [ebp - 0x220]
movsd qword [esi + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x230]
movups xmmword [esi], xmm0
mov dword [esi + 0x18], 0
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x238], 0
test eax, eax
je 0x436e49
push eax
call fcn.0044fa60
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00450110
mov eax, esi
add esp, 0x234
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [ebp - 0x240], eax
mov eax, 0x45
mov ecx, str.GetRelativeBinaryPath
mov edx, 0x8007007a
mov edi, str.0x_X_in__S:_d
push eax
push ecx
push edx
push edi
call fcn.00452550
add esp, 0x10
lea ecx, [eax + 1]
mov dword [ebp - 0x23c], ecx
lea ecx, [eax + eax]
add ecx, 2
xor ebx, ebx
dec ebx
cmp eax, 0xffffffff
cmovge ebx, ecx
push ebx
call fcn.0044fa57
add esp, 4
mov edi, eax
xor eax, eax
push ebx
push eax
xor ebx, ebx
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x45
push eax
mov eax, str.GetRelativeBinaryPath
push eax
mov eax, 0x8007007a
push eax
mov eax, str.0x_X_in__S:_d
push eax
push 0xffffffffffffffff
push dword [ebp - 0x23c]
push edi
call fcn.004525b0
add esp, 0x1c
push dword [ebp - 0x240]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x436fde
mov ebx, eax
lea eax, [ebp - 0x218]
jmp 0x436fa7
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [ebp - 0x240], eax
mov eax, 0x4c
mov ecx, str.GetRelativeBinaryPath
mov edx, 0x8007007a
mov edi, str.0x_X_in__S:_d
push eax
push ecx
push edx
push edi
call fcn.00452550
add esp, 0x10
lea ecx, [eax + 1]
mov dword [ebp - 0x23c], ecx
lea ecx, [eax + eax]
add ecx, 2
xor ebx, ebx
dec ebx
cmp eax, 0xffffffff
cmovge ebx, ecx
push ebx
call fcn.0044fa57
add esp, 4
mov edi, eax
xor eax, eax
push ebx
push eax
xor ebx, ebx
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x4c
push eax
mov eax, str.GetRelativeBinaryPath
push eax
mov eax, 0x8007007a
push eax
mov eax, str.0x_X_in__S:_d
push eax
push 0xffffffffffffffff
push dword [ebp - 0x23c]
push edi
call fcn.004525b0
add esp, 0x1c
push dword [ebp - 0x240]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x436fde
mov ebx, eax
lea eax, [ebp - 0x230]
mov dword [eax], edi
sub esp, 0x24
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
movaps xmm0, xmmword [0x463080]
movups xmmword [esp + 4], xmm0
mov dword [esp], ebx
mov dword [esp + 0x14], 1
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push ebx
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
push edi
call fcn.0044fa60
add esp, 4
xor eax, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x18], 0x8007007a
jmp 0x436e2c
sub esp, 0xc
mov al, byte [ebp - 0x234]
mov byte [esp + 4], al
mov dword [esp + 8], ebx
mov dword [esp], edi
lea ecx, [ebp - 0x230]
call fcn.00453450
jmp 0x436e0e