Function at 0x436ad0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, edx
mov edi, ecx
mov eax, dword [0x4a1088]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ecx, ecx
lea eax, [ebp - 0x18]
mov dword [eax], ecx
push eax
push str._n_vSN
push 3
push ecx
push 0x45f084
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x436bdd
mov dword [ebp - 0x24], esi
xor ebx, ebx
cmp word [edi], 0x2e
setne bl
mov esi, dword [ebp - 0x18]
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
call dword [section..00cfg]
lea eax, [ebp - 0x1c]
push eax
push 2
push ebx
push edi
push esi
call ecx
test eax, eax
js 0x436b83
mov ebx, dword [ebp - 0x1c]
xor eax, eax
dec eax
push 0
push eax
mov esi, dword [ebp - 0x24]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
cmp eax, 2
sete al
mov dword [ebp - 0x20], eax
je 0x436b73
push edi
push esi
push ebx
push 0xda
push str.VerifyUserDefault
push str.Default_was__s_after_writing_ProgID__s_to_UserChoice_for__s
push dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
call fcn.0042eaa0
add esp, 0x1c
test ebx, ebx
je 0x436b7e
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ebx, dword [ebp - 0x20]
jmp 0x436bb4
mov ebx, eax
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
cmp ebx, 0x80070483
jne 0x436c7b
push edi
push dword [ebp - 0x24]
push 0xcd
push str.VerifyUserDefault
push str.UserChoice_ProgID__s_for__s_was_rejected
push eax
call fcn.0042eaa0
add esp, 0x18
xor ebx, ebx
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x436bc9
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push esi
call ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448b70
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, eax
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [ebp - 0x24], eax
mov ecx, 0xc0
mov edx, str.VerifyUserDefault
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 - 0x20], ecx
lea ecx, [eax + eax]
add ecx, 2
xor edi, edi
dec edi
cmp eax, 0xffffffff
cmovge edi, ecx
push edi
call fcn.004484b7
add esp, 4
mov esi, eax
push edi
xor edi, edi
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0xc0
push eax
mov eax, str.VerifyUserDefault
push eax
push ebx
mov eax, str.0x_X_in__S:_d
push eax
push 0xffffffffffffffff
push dword [ebp - 0x20]
push esi
call fcn.0044ebf0
add esp, 0x1c
push dword [ebp - 0x24]
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x436d19
mov edi, eax
lea eax, [ebp - 0x14]
mov dword [eax], esi
xor ecx, ecx
xor edx, edx
inc edx
push ecx
push eax
push ecx
push edx
push ecx
push ebx
push ecx
push edx
jmp 0x436d0b
mov edx, 0xcf
mov esi, str.VerifyUserDefault
mov ecx, str.0x_X_in__S:_d
push edx
push esi
push ebx
push ecx
mov dword [ebp - 0x24], eax
call fcn.0044eb90
add esp, 0x10
lea ecx, [eax + 1]
mov dword [ebp - 0x20], ecx
lea ecx, [eax + eax]
add ecx, 2
xor edi, edi
dec edi
cmp eax, 0xffffffff
cmovge edi, ecx
push edi
call fcn.004484b7
add esp, 4
mov esi, eax
xor eax, eax
push edi
push eax
xor edi, edi
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0xcf
push eax
mov eax, str.VerifyUserDefault
push eax
push ebx
mov eax, str.0x_X_in__S:_d
push eax
push 0xffffffffffffffff
push dword [ebp - 0x20]
push esi
call fcn.0044ebf0
add esp, 0x1c
push dword [ebp - 0x24]
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x436d19
mov edi, eax
lea eax, [ebp - 0x14]
mov dword [eax], esi
xor ecx, ecx
inc ecx
xor edx, edx
push edx
push eax
push edx
push ecx
push edx
push ebx
push edx
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
push esi
call fcn.004484c0
add esp, 4
jmp 0x436bb2