Function at 0x42ba50
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, 0x98
mov ebx, 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 0x42ba93
xorps xmm0, xmm0
movups xmmword [ebx + 0xc], xmm0
movups xmmword [ebx], xmm0
mov dword [ebx + 0x1c], eax
jmp 0x42bca5
mov edx, dword [ebp + 0xc]
movsd xmm0, qword [ebp - 0x1c]
movsd qword [ebp - 0x34], xmm0
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [ebp - 0x44], xmm0
lea edi, [ebp - 0x5c]
mov ecx, edi
call fcn.0042dd00
xor eax, eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x30], 8
jb 0x42bac5
mov ecx, dword [ebp - 0x44]
jmp 0x42bac8
lea ecx, [ebp - 0x44]
mov dword [ebp - 0xa0], ebx
cmp dword [ebp - 0x48], 8
jb 0x42bad7
mov edi, dword [ebp - 0x5c]
lea ebx, [ebp - 0x94]
push ebx
push eax
push eax
push 2
push ecx
push edi
push SysReAllocString
call dword [sym.imp.advapi32.dll_RegGetValueW]
test eax, eax
jne 0x42bcbc
mov eax, dword [ebp - 0x94]
shr eax, 1
lea ecx, [eax + 1]
lea edi, [eax + eax]
add edi, 2
xor eax, eax
dec eax
test ecx, ecx
cmovs edi, eax
push edi
call fcn.0044f9c3
add esp, 4
xor esi, esi
push edi
mov edi, eax
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [ebp - 0x30], 8
jb 0x42bb33
mov eax, dword [ebp - 0x44]
jmp 0x42bb36
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x48], 8
jb 0x42bb41
mov ecx, dword [ebp - 0x5c]
jmp 0x42bb44
lea ecx, [ebp - 0x5c]
push ebx
push edi
push esi
push 2
push eax
push ecx
push SysReAllocString
call dword [sym.imp.advapi32.dll_RegGetValueW]
test eax, eax
mov dword [ebp - 0x98], edi
jne 0x42bde5
lea ebx, [ebp - 0x78]
mov ecx, ebx
mov edx, edi
call fcn.0042de20
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x42bec9
lea edi, [ebp - 0x78]
mov ecx, dword [edi]
movsd xmm0, qword [edi + 4]
lea edx, [ebp - 0x90]
movsd qword [edx + 4], xmm0
mov eax, dword [edi + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [edi + 0x10]
mov esi, dword [edi + 0x14]
mov dword [ebp - 0x9c], ecx
mov dword [edx], ecx
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], esi
mov ecx, edi
call fcn.004539e0
mov byte [edi + 0x18], 1
mov ebx, dword [ebp - 0xa0]
lea ecx, [ebx + 0x1c]
lea edx, [ebp - 0x5c]
xorps xmm0, xmm0
movups xmmword [ebx], xmm0
movups xmmword [ebx + 9], xmm0
call fcn.00453920
mov dword [ebx + 0x1c], 0
mov ecx, edi
mov edi, dword [ebp - 0x98]
call fcn.00453660
cmp esi, 0x10
jb 0x42bc22
lea ecx, [esi + 1]
cmp ecx, 0x1000
jb 0x42bc12
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, eax
cmp ecx, 0x20
jae 0x42bee1
add esi, 0x24
mov ecx, esi
jmp 0x42bc18
mov eax, dword [ebp - 0x9c]
push ecx
push eax
call fcn.0044f9c3
add esp, 8
push edi
call fcn.0044f120
add esp, 4
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x42bc68
mov ecx, dword [ebp - 0x5c]
lea esi, [eax + eax]
add esi, 2
cmp esi, 0x1000
jb 0x42bc5e
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x42bee1
add eax, eax
add eax, 0x25
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.0044f9c3
add esp, 8
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x42bca5
mov ecx, dword [ebp - 0x44]
lea esi, [eax + eax]
add esi, 2
cmp esi, 0x1000
jb 0x42bc9b
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x42bee1
add eax, eax
add eax, 0x25
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.0044f9c3
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044f7d0
mov eax, ebx
add esp, 0x98
pop esi
pop edi
pop ebx
pop ebp
ret
cmp eax, 2
jne 0x42bcf8
xorps xmm0, xmm0
lea edx, [ebp - 0x5c]
movups xmmword [edx - 0x10], xmm0
movups xmmword [edx - 0x1c], xmm0
mov ebx, dword [ebp - 0xa0]
lea ecx, [ebx + 0x1c]
movups xmmword [ebx + 9], xmm0
movups xmmword [ebx], xmm0
call fcn.00453920
mov dword [ebx + 0x1c], 0
lea ecx, [ebp - 0x78]
call fcn.00453660
jmp 0x42bc2b
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [ebp - 0x9c], eax
mov ecx, 0x49
mov edx, str.RegistryGetValueString
mov eax, str.0x_X_in__S:_d
push ecx
push edx
push edi
push eax
call fcn.00451d80
add esp, 0x10
lea ecx, [eax + 1]
mov dword [ebp - 0x98], ecx
lea ecx, [eax + eax]
add ecx, 2
xor ebx, ebx
dec ebx
cmp eax, 0xffffffff
cmovge ebx, ecx
push ebx
call fcn.0044f9c3
add esp, 4
mov esi, eax
xor eax, eax
push ebx
push eax
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x49
push eax
mov eax, str.RegistryGetValueString
push eax
push edi
mov eax, str.0x_X_in__S:_d
push eax
push 0xffffffffffffffff
push dword [ebp - 0x98]
mov dword [ebp - 0x98], esi
push esi
xor esi, esi
call fcn.00451de0
add esp, 0x1c
push dword [ebp - 0x9c]
push esi
call dword [sym.imp.advapi32.dll_RegisterEventSourceW]
test eax, eax
je 0x42bdbf
mov ebx, eax
lea eax, [ebp - 0x78]
mov ecx, dword [ebp - 0x98]
mov dword [eax], ecx
xor ecx, ecx
inc ecx
push esi
push eax
push esi
push ecx
push esi
push edi
push esi
push ecx
push ebx
call dword [sym.imp.advapi32.dll_ReportEventW]
push ebx
call dword [sym.imp.advapi32.dll_DeregisterEventSource]
push dword [ebp - 0x98]
call fcn.0044f120
add esp, 4
xorps xmm0, xmm0
mov ebx, dword [ebp - 0xa0]
movups xmmword [ebx + 0xc], xmm0
movups xmmword [ebx], xmm0
mov dword [ebx + 0x1c], edi
jmp 0x42bc2b
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [ebp - 0x9c], eax
mov ecx, 0x57
mov edx, str.RegistryGetValueString
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 - 0xa4], ecx
lea esi, [eax + eax]
add esi, 2
cmp eax, 0xffffffff
mov eax, 0xffffffff
cmovl esi, eax
push esi
call fcn.0044f9c3
add esp, 4
xor edi, edi
push esi
mov esi, ebx
mov ebx, eax
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x57
push eax
mov eax, str.RegistryGetValueString
push eax
push esi
mov eax, str.0x_X_in__S:_d
push eax
push 0xffffffffffffffff
push dword [ebp - 0xa4]
push ebx
call fcn.00451de0
add esp, 0x1c
push dword [ebp - 0x9c]
push edi
call dword [sym.imp.advapi32.dll_RegisterEventSourceW]
test eax, eax
je 0x42bea2
lea edx, [ebp - 0x78]
mov dword [edx], ebx
xor ecx, ecx
inc ecx
push edi
push edx
push edi
push ecx
push edi
push esi
push edi
push ecx
push eax
mov edi, eax
call dword [sym.imp.advapi32.dll_ReportEventW]
push edi
call dword [sym.imp.advapi32.dll_DeregisterEventSource]
push ebx
call fcn.0044f120
add esp, 4
xorps xmm0, xmm0
mov ebx, dword [ebp - 0xa0]
movups xmmword [ebx + 0xc], xmm0
movups xmmword [ebx], xmm0
mov dword [ebx + 0x1c], esi
mov edi, dword [ebp - 0x98]
jmp 0x42bc22
xorps xmm0, xmm0
mov ebx, dword [ebp - 0xa0]
movups xmmword [ebx + 0xc], xmm0
movups xmmword [ebx], xmm0
mov dword [ebx + 0x1c], eax
jmp 0x42bc22
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3