Function at 0x4329e0
Capabilities:
Access the windows event log
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
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 0x432a24
mov dword [esi], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448b70
mov eax, esi
add esp, 0x60
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
movzx eax, byte [ebp + 0xc]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x30], 8
jb 0x432a7e
mov eax, dword [ebp - 0x44]
jmp 0x432a81
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x48], 8
jb 0x432a8a
mov edi, dword [ebp - 0x5c]
mov ecx, 4
lea edx, [ebp - 0x64]
push ecx
push edx
push ecx
push eax
push edi
push SysReAllocString
call dword [sym.imp.advapi32.dll_RegSetKeyValueW]
test eax, eax
jne 0x432b2f
mov dword [esi], ebx
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x432ae9
mov ecx, dword [ebp - 0x5c]
lea edi, [eax + eax]
add edi, 2
cmp edi, 0x1000
jb 0x432adf
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x432bf6
add eax, eax
add eax, 0x25
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.00448d63
add esp, 8
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x432a10
mov ecx, dword [ebp - 0x44]
lea edi, [eax + eax]
add edi, 2
cmp edi, 0x1000
jb 0x432b20
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x432bf6
add eax, eax
add eax, 0x25
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.00448d63
add esp, 8
jmp 0x432a10
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, 0xb4
mov edx, str.RegistrySetValueBool
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.00448d63
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, 0xb4
push eax
mov eax, str.RegistrySetValueBool
push eax
push 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]
xor eax, eax
push eax
call dword [sym.imp.advapi32.dll_RegisterEventSourceW]
test eax, eax
je 0x432be6
mov edi, eax
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0x68]
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 - 0x68]
call fcn.004484c0
add esp, 4
jmp 0x432aaa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3