Function at 0x431e30
Capabilities:
Access the windows event log
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov ebx, edx
mov esi, ecx
mov eax, dword [0x4a0088]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x50]
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
sub esp, 0x20
movups xmm0, xmmword [edi]
mov edi, ebx
movups xmmword [esp + 0x10], xmm0
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
lea ebx, [ebp - 0x54]
mov dword [esp], ebx
call fcn.00452550
add esp, 0x20
cmp dword [ebx], 0
je 0x431f29
mov dword [ebp - 0x68], esi
lea ebx, [ebp - 0x64]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea esi, [ebp - 0x40]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x4320d5
add dword [ebp - 0x40], 0xf4240
adc dword [ebp - 0x3c], 0
lea ebx, [ebp - 0x20]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x4320d5
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [ebp - 0x64], xmm0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x18], eax
movsd xmm0, qword [ebp - 0x64]
movsd qword [ebp - 0x20], xmm0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x38], eax
movsd xmm0, qword [ebp - 0x50]
movsd qword [ebp - 0x40], xmm0
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x431f30
lea eax, [ebp - 0x30]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x431f30
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x68]
jne 0x431f33
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x24], eax
je 0x431fc7
jmp 0x431f33
xor ebx, ebx
jmp 0x4320ee
mov esi, dword [ebp - 0x68]
push 0x77
push str.SetUserChoice
push str.Hash_is_too_close_to_expiration__sleeping_until_next_hash.
push dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
call fcn.0042a450
add esp, 0x10
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
sub esp, 0x20
movups xmm0, xmmword [ebp - 0x50]
movups xmmword [esp + 0x10], xmm0
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00452550
add esp, 0x20
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x54], eax
test ecx, ecx
je 0x431fbf
push ecx
call fcn.0044f120
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], 0
test eax, eax
je 0x431fbc
push eax
call fcn.0044f120
add esp, 4
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x4320d5
push esi
lea eax, [ebp - 0x40]
push eax
call fcn.004524d0
add esp, 8
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4320d5
lea ecx, [ebp - 0x28]
push ecx
push 0x2001f
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x432102
mov esi, dword [ebp - 0x28]
push 0x49aba8
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x4321c4
sub esp, 0x24
xor edi, edi
mov dword [esp + 0x20], edi
lea eax, [ebp - 0x30]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
movaps xmm0, xmmword [0x4634d0]
movups xmmword [esp + 8], xmm0
mov dword [esp], esi
mov dword [esp + 4], 0x49aba8
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43227a
mov edi, dword [ebp - 0x30]
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
add eax, 2
push eax
push ebx
push 1
push 0
push str.ProgID
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x432347
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
add eax, 2
push eax
push dword [ebp - 0x54]
push 1
push 0
push str.Hash
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov bl, 1
test eax, eax
jne 0x4323af
test edi, edi
je 0x4320b1
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4320bc
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], 0
test eax, eax
je 0x4320d7
push eax
call fcn.0044f120
add esp, 4
jmp 0x4320d7
xor ebx, ebx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x54], 0
test eax, eax
je 0x4320ee
push eax
call fcn.0044f120
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044f7d0
mov eax, ebx
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [ebp - 0x68], eax
mov ecx, 0x8c
mov edx, str.SetUserChoice
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 - 0x6c], ecx
lea ecx, [eax + eax]
add ecx, 2
xor edi, edi
dec edi
cmp eax, 0xffffffff
cmovge edi, ecx
push edi
call fcn.0044f117
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, 0x8c
push eax
mov eax, str.SetUserChoice
push eax
push ebx
mov eax, str.0x_X_in__S:_d
push eax
push 0xffffffffffffffff
push dword [ebp - 0x6c]
push esi
call fcn.00451de0
add esp, 0x1c
push dword [ebp - 0x68]
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x4321b4
mov edi, eax
mov dword [ebp - 0x20], esi
xor eax, eax
inc eax
xor edx, edx
push edx
lea ecx, [ebp - 0x20]
push ecx
push edx
push eax
push edx
push ebx
push edx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
push esi
call fcn.0044f120
add esp, 4
xor ebx, ebx
jmp 0x4320bc
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [ebp - 0x6c], eax
mov ecx, 0x96
mov edx, str.SetUserChoice
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 - 0x68], ecx
lea ecx, [eax + eax]
add ecx, 2
xor edi, edi
dec edi
cmp eax, 0xffffffff
cmovge edi, ecx
push edi
call fcn.0044f117
add esp, 4
xor ecx, ecx
push edi
push ecx
mov edi, eax
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x96
push eax
mov eax, str.SetUserChoice
push eax
mov dword [ebp - 0x70], ebx
push ebx
xor ebx, ebx
mov eax, str.0x_X_in__S:_d
push eax
push 0xffffffffffffffff
push dword [ebp - 0x68]
mov dword [ebp - 0x68], edi
push edi
call fcn.00451de0
add esp, 0x1c
push dword [ebp - 0x6c]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x432335
mov edi, eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x20], eax
xor eax, eax
inc eax
push ebx
lea ecx, [ebp - 0x20]
push ecx
push ebx
push eax
push ebx
push dword [ebp - 0x70]
push ebx
push eax
jmp 0x432327
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [ebp - 0x6c], ecx
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [ebp - 0x70], eax
mov edx, 0xa0
mov ebx, str.SetUserChoice
mov eax, str.0x_X_in__S:_d
push edx
push ebx
push ecx
push eax
call fcn.00451d80
add esp, 0x10
lea ecx, [eax + 1]
mov dword [ebp - 0x68], ecx
lea ecx, [eax + eax]
add ecx, 2
xor ebx, ebx
dec ebx
cmp eax, 0xffffffff
cmovge ebx, ecx
push ebx
call fcn.0044f117
add esp, 4
push ebx
push edi
push eax
mov ebx, eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0xa0
push eax
mov eax, str.SetUserChoice
push eax
push dword [ebp - 0x6c]
mov eax, str.0x_X_in__S:_d
push eax
push 0xffffffffffffffff
push dword [ebp - 0x68]
mov dword [ebp - 0x68], ebx
push ebx
call fcn.00451de0
add esp, 0x1c
push dword [ebp - 0x70]
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x432335
mov edi, eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x20], eax
xor eax, eax
xor ecx, ecx
inc ecx
push eax
lea edx, [ebp - 0x20]
push edx
push eax
push ecx
push eax
push dword [ebp - 0x6c]
push eax
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
push dword [ebp - 0x68]
call fcn.0044f120
add esp, 4
xor ebx, ebx
jmp 0x4320b1
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [ebp - 0x68], ecx
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [ebp - 0x6c], eax
mov edx, 0xaa
mov ebx, str.SetUserChoice
mov eax, str.0x_X_in__S:_d
push edx
push ebx
push ecx
push eax
call fcn.00451d80
add esp, 0x10
lea ecx, [eax + 1]
mov dword [ebp - 0x70], ecx
lea ecx, [eax + eax]
add ecx, 2
xor ebx, ebx
dec ebx
cmp eax, 0xffffffff
cmovge ebx, ecx
push ebx
call fcn.0044f117
add esp, 4
xor ecx, ecx
push ebx
mov ebx, eax
push ecx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0xaa
jmp 0x432415
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [ebp - 0x68], ecx
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [ebp - 0x6c], eax
mov edx, 0xb3
mov ebx, str.SetUserChoice
mov eax, str.0x_X_in__S:_d
push edx
push ebx
push ecx
push eax
call fcn.00451d80
add esp, 0x10
lea ecx, [eax + 1]
mov dword [ebp - 0x70], ecx
lea ecx, [eax + eax]
add ecx, 2
xor ebx, ebx
dec ebx
cmp eax, 0xffffffff
cmovge ebx, ecx
push ebx
call fcn.0044f117
add esp, 4
xor ecx, ecx
push ebx
mov ebx, eax
push ecx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0xb3
push eax
mov eax, str.SetUserChoice
push eax
push dword [ebp - 0x68]
mov eax, str.0x_X_in__S:_d
push eax
push 0xffffffffffffffff
push dword [ebp - 0x70]
push ebx
call fcn.00451de0
add esp, 0x1c
push dword [ebp - 0x6c]
xor eax, eax
push eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x43246b
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x6c], eax
xor edx, edx
push edx
lea ecx, [ebp - 0x20]
push ecx
push edx
xor ecx, ecx
inc ecx
push ecx
push edx
push dword [ebp - 0x68]
push edx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
push ebx
call fcn.0044f120
add esp, 4
xor ebx, ebx
jmp 0x4320a6