Function at 0x4327a0
Capabilities:
Access the windows event log
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
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 0x4327ea
mov word [esi], 0
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448b70
mov eax, esi
add esp, 0x64
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
mov dword [ebp - 0x68], 4
cmp dword [ebp - 0x30], 8
jb 0x432844
mov eax, dword [ebp - 0x44]
jmp 0x432847
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x48], 8
jb 0x432850
mov edi, dword [ebp - 0x5c]
lea ecx, [ebp - 0x68]
lea edx, [ebp - 0x64]
push ecx
push edx
push ebx
push 0x10
push eax
push edi
push SysReAllocString
call dword [sym.imp.advapi32.dll_RegGetValueW]
test eax, eax
je 0x432944
mov ecx, 0
cmp eax, 2
je 0x432953
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [ebp - 0x70], eax
mov ecx, 0x99
mov edx, str.RegistryGetValueBool
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.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, 0x99
push eax
mov eax, str.RegistryGetValueBool
push eax
push ebx
mov eax, str.0x_X_in__S:_d
push eax
push 0xffffffffffffffff
push dword [ebp - 0x6c]
mov dword [ebp - 0x6c], edi
push edi
call fcn.0044ebf0
add esp, 0x1c
push dword [ebp - 0x70]
xor eax, eax
push eax
call dword [sym.imp.advapi32.dll_RegisterEventSourceW]
test eax, eax
je 0x432935
mov edi, eax
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0x6c]
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 - 0x6c]
call fcn.004484c0
add esp, 4
xor ecx, ecx
jmp 0x432953
xor ecx, ecx
cmp dword [ebp - 0x64], 0
setne cl
or ecx, 0x100
mov word [esi], cx
mov dword [esi + 4], ebx
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x432992
mov ecx, dword [ebp - 0x5c]
lea edi, [eax + eax]
add edi, 2
cmp edi, 0x1000
jb 0x432988
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4329d4
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 0x4327d6
mov ecx, dword [ebp - 0x44]
lea edi, [eax + eax]
add edi, 2
cmp edi, 0x1000
jb 0x4329c5
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4329d4
add eax, eax
add eax, 0x25
mov edi, eax
mov ecx, edx
push edi
push ecx
call fcn.00448d63
add esp, 8
jmp 0x4327d6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3