Function at 0x430950
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 [0x4a1088]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
lea edi, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00432040
add esp, 4
mov eax, dword [edi + 0x18]
test eax, eax
je 0x430994
mov dword [esi], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448b70
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.0044fdb0
cmp dword [ebp - 0x30], 8
jb 0x4309e7
mov eax, dword [ebp - 0x44]
jmp 0x4309ea
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x48], 8
jb 0x4309f3
mov edi, dword [ebp - 0x5c]
push eax
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyValueW]
test eax, eax
jne 0x430a8d
mov dword [esi], ebx
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x430a47
mov ecx, dword [ebp - 0x5c]
lea edi, [eax + eax]
add edi, 2
cmp edi, 0x1000
jb 0x430a3d
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x430b54
add eax, eax
add eax, 0x25
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.004484f5
add esp, 8
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x430980
mov ecx, dword [ebp - 0x44]
lea edi, [eax + eax]
add edi, 2
cmp edi, 0x1000
jb 0x430a7e
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x430b54
add eax, eax
add eax, 0x25
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.004484f5
add esp, 8
jmp 0x430980
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.0044eb90
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.004484b7
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.0044ebf0
add esp, 0x1c
push dword [ebp - 0x68]
xor eax, eax
push eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x430b44
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.004484c0
add esp, 4
jmp 0x430a08
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3