Function at 0x42c300
Capabilities:
Access the windows event log
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x4a0088]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
lea edi, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0042d9f0
add esp, 4
mov eax, dword [edi + 0x18]
test eax, eax
je 0x42c344
mov dword [esi], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044f7d0
mov eax, esi
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ebp - 0x34], xmm0
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [ebp - 0x44], xmm0
xor ebx, ebx
lea edi, [ebp - 0x5c]
mov dword [edi], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 7
mov word [edi], 0
sub esp, 0xc
mov al, byte [ebp - 0x60]
mov byte [esp + 4], al
mov dword [esp + 8], str.SOFTWAREMozillaFirefoxDefault_Browser_Agent
mov dword [esp], 0x2e
mov ecx, edi
call fcn.00452fa0
cmp dword [ebp - 0x30], 8
jb 0x42c397
mov eax, dword [ebp - 0x44]
jmp 0x42c39a
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x48], 8
jb 0x42c3a3
mov edi, dword [ebp - 0x5c]
push eax
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
test eax, eax
jne 0x42c43d
mov dword [esi], ebx
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x42c3f7
mov ecx, dword [ebp - 0x5c]
lea edi, [eax + eax]
add edi, 2
cmp edi, 0x1000
jb 0x42c3ed
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x42c504
add eax, eax
add eax, 0x25
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.0044f155
add esp, 8
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x42c330
mov ecx, dword [ebp - 0x44]
lea edi, [eax + eax]
add edi, 2
cmp edi, 0x1000
jb 0x42c42e
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x42c504
add eax, eax
add eax, 0x25
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.0044f155
add esp, 8
jmp 0x42c330
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, 0x140
mov edx, str.RegistryDeleteValue
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 - 0x64], 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
push eax
mov edi, eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x140
push eax
mov eax, str.RegistryDeleteValue
push eax
push ebx
mov eax, str.0x_X_in__S:_d
push eax
push 0xffffffffffffffff
push dword [ebp - 0x64]
mov dword [ebp - 0x64], edi
push edi
call fcn.00451de0
add esp, 0x1c
push dword [ebp - 0x68]
xor eax, eax
push eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x42c4f4
mov edi, eax
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
mov dword [eax], ecx
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 dword [ebp - 0x64]
call fcn.0044f120
add esp, 4
jmp 0x42c3b8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3