Function at 0x431f50
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 [0x4a0070]
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.00452a00
add esp, 0x20
cmp dword [ebx], 0
je 0x432049
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 0x4321f5
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 0x4321f5
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 0x432050
lea eax, [ebp - 0x30]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x432050
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x68]
jne 0x432053
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x24], eax
je 0x4320e7
jmp 0x432053
xor ebx, ebx
jmp 0x43220e
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.0042a580
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.00452a00
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 0x4320df
push ecx
call fcn.0044fa60
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], 0
test eax, eax
je 0x4320dc
push eax
call fcn.0044fa60
add esp, 4
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x4321f5
push esi
lea eax, [ebp - 0x40]
push eax
call fcn.00452980
add esp, 8
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4321f5
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 0x432222
mov esi, dword [ebp - 0x28]
push 0x49a5c4
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x4322e4
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 [0x4630b0]
movups xmmword [esp + 8], xmm0
mov dword [esp], esi
mov dword [esp + 4], 0x49a5c4
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43239a
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 0x432467
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 0x4324cf
test edi, edi
je 0x4321d1
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4321dc
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], 0
test eax, eax
je 0x4321f7
push eax
call fcn.0044fa60
add esp, 4
jmp 0x4321f7
xor ebx, ebx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x54], 0
test eax, eax
je 0x43220e
push eax
call fcn.0044fa60
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00450110
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.00452550
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.0044fa57
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.004525b0
add esp, 0x1c
push dword [ebp - 0x68]
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x4322d4
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.0044fa60
add esp, 4
xor ebx, ebx
jmp 0x4321dc
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.00452550
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.0044fa57
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.004525b0
add esp, 0x1c
push dword [ebp - 0x6c]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x432455
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 0x432447
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.00452550
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.0044fa57
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.004525b0
add esp, 0x1c
push dword [ebp - 0x70]
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x432455
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.0044fa60
add esp, 4
xor ebx, ebx
jmp 0x4321d1
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.00452550
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.0044fa57
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 0x432535
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.00452550
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.0044fa57
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.004525b0
add esp, 0x1c
push dword [ebp - 0x6c]
xor eax, eax
push eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x43258b
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.0044fa60
add esp, 4
xor ebx, ebx
jmp 0x4321c6