Function at 0x436480
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 [0x4a1088]
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.0044f360
add esp, 0x20
cmp dword [ebx], 0
je 0x436579
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 0x436725
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 0x436725
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 0x436580
lea eax, [ebp - 0x30]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x436580
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x68]
jne 0x436583
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x24], eax
je 0x436617
jmp 0x436583
xor ebx, ebx
jmp 0x43673e
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.0042eaa0
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.0044f360
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 0x43660f
push ecx
call fcn.004484c0
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], 0
test eax, eax
je 0x43660c
push eax
call fcn.004484c0
add esp, 4
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x436725
push esi
lea eax, [ebp - 0x40]
push eax
call fcn.0044f2e0
add esp, 8
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x436725
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 0x436752
mov esi, dword [ebp - 0x28]
push 0x49bacc
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x436814
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 [0x4644d0]
movups xmmword [esp + 8], xmm0
mov dword [esp], esi
mov dword [esp + 4], 0x49bacc
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4368ca
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 0x436997
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 0x4369ff
test edi, edi
je 0x436701
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x43670c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], 0
test eax, eax
je 0x436727
push eax
call fcn.004484c0
add esp, 4
jmp 0x436727
xor ebx, ebx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x54], 0
test eax, eax
je 0x43673e
push eax
call fcn.004484c0
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448b70
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.0044eb90
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.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, 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.0044ebf0
add esp, 0x1c
push dword [ebp - 0x68]
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x436804
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.004484c0
add esp, 4
xor ebx, ebx
jmp 0x43670c
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.0044eb90
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.004484b7
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.0044ebf0
add esp, 0x1c
push dword [ebp - 0x6c]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x436985
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 0x436977
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.0044eb90
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.004484b7
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.0044ebf0
add esp, 0x1c
push dword [ebp - 0x70]
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x436985
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.004484c0
add esp, 4
xor ebx, ebx
jmp 0x436701
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.0044eb90
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.004484b7
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 0x436a65
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.0044eb90
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.004484b7
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.0044ebf0
add esp, 0x1c
push dword [ebp - 0x6c]
xor eax, eax
push eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x436abb
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.004484c0
add esp, 4
xor ebx, ebx
jmp 0x4366f6