Function at 0x432520
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 [0x49f070]
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 0x45d084
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x43262d
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 0x4325d3
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 0x4325c3
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.0042a500
add esp, 0x1c
test ebx, ebx
je 0x4325ce
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ebx, dword [ebp - 0x20]
jmp 0x432604
mov ebx, eax
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
cmp ebx, 0x80070483
jne 0x4326cb
push edi
push dword [ebp - 0x24]
push 0xcd
push str.VerifyUserDefault
push str.UserChoice_ProgID__s_for__s_was_rejected
push eax
call fcn.0042a500
add esp, 0x18
xor ebx, ebx
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x432619
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.004501b0
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.004525f0
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.0044faf7
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.00452650
add esp, 0x1c
push dword [ebp - 0x24]
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x432769
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 0x43275b
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.004525f0
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.0044faf7
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.00452650
add esp, 0x1c
push dword [ebp - 0x24]
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x432769
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.0044fb00
add esp, 4
jmp 0x432602