Function at 0x42c3a0
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 [0x49f070]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
lea edi, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0042da90
add esp, 4
mov eax, dword [edi + 0x18]
test eax, eax
je 0x42c3e4
mov dword [esi], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004501b0
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.004534f0
cmp dword [ebp - 0x30], 8
jb 0x42c437
mov eax, dword [ebp - 0x44]
jmp 0x42c43a
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x48], 8
jb 0x42c443
mov edi, dword [ebp - 0x5c]
push eax
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
test eax, eax
jne 0x42c4dd
mov dword [esi], ebx
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x42c497
mov ecx, dword [ebp - 0x5c]
lea edi, [eax + eax]
add edi, 2
cmp edi, 0x1000
jb 0x42c48d
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x42c5a4
add eax, eax
add eax, 0x25
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.0044fb35
add esp, 8
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x42c3d0
mov ecx, dword [ebp - 0x44]
lea edi, [eax + eax]
add edi, 2
cmp edi, 0x1000
jb 0x42c4ce
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x42c5a4
add eax, eax
add eax, 0x25
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.0044fb35
add esp, 8
jmp 0x42c3d0
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.004525f0
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.0044faf7
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.00452650
add esp, 0x1c
push dword [ebp - 0x68]
xor eax, eax
push eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x42c594
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.0044fb00
add esp, 4
jmp 0x42c458
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3