Function at 0x431e60
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 [0x49f070]
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.004529f0
add esp, 0x20
cmp dword [ebx], 0
je 0x431f59
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 0x432105
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 0x432105
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 0x431f60
lea eax, [ebp - 0x30]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x431f60
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x68]
jne 0x431f63
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x24], eax
je 0x431ff7
jmp 0x431f63
xor ebx, ebx
jmp 0x43211e
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.0042a490
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.004529f0
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 0x431fef
push ecx
call fcn.0044fa50
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], 0
test eax, eax
je 0x431fec
push eax
call fcn.0044fa50
add esp, 4
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x432105
push esi
lea eax, [ebp - 0x40]
push eax
call fcn.00452970
add esp, 8
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x432105
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 0x432132
mov esi, dword [ebp - 0x28]
push 0x4995c4
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x4321f4
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 [0x4620b0]
movups xmmword [esp + 8], xmm0
mov dword [esp], esi
mov dword [esp + 4], 0x4995c4
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4322aa
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 0x432377
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 0x4323df
test edi, edi
je 0x4320e1
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4320ec
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], 0
test eax, eax
je 0x432107
push eax
call fcn.0044fa50
add esp, 4
jmp 0x432107
xor ebx, ebx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x54], 0
test eax, eax
je 0x43211e
push eax
call fcn.0044fa50
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00450100
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.00452540
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.0044fa47
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.004525a0
add esp, 0x1c
push dword [ebp - 0x68]
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x4321e4
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.0044fa50
add esp, 4
xor ebx, ebx
jmp 0x4320ec
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.00452540
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.0044fa47
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.004525a0
add esp, 0x1c
push dword [ebp - 0x6c]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x432365
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 0x432357
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.00452540
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.0044fa47
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.004525a0
add esp, 0x1c
push dword [ebp - 0x70]
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x432365
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.0044fa50
add esp, 4
xor ebx, ebx
jmp 0x4320e1
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.00452540
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.0044fa47
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 0x432445
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.00452540
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.0044fa47
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.004525a0
add esp, 0x1c
push dword [ebp - 0x6c]
xor eax, eax
push eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x43249b
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.0044fa50
add esp, 4
xor ebx, ebx
jmp 0x4320d6