Function at 0x4300a0
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 [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 0x4300e3
xorps xmm0, xmm0
movups xmmword [ebx + 0xc], xmm0
movups xmmword [ebx], xmm0
mov dword [ebx + 0x1c], eax
jmp 0x4302f5
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.00432350
xor eax, eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x30], 8
jb 0x430115
mov ecx, dword [ebp - 0x44]
jmp 0x430118
lea ecx, [ebp - 0x44]
mov dword [ebp - 0xa0], ebx
cmp dword [ebp - 0x48], 8
jb 0x430127
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 0x43030c
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.004484b7
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 0x430183
mov eax, dword [ebp - 0x44]
jmp 0x430186
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x48], 8
jb 0x430191
mov ecx, dword [ebp - 0x5c]
jmp 0x430194
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 0x430435
lea ebx, [ebp - 0x78]
mov ecx, ebx
mov edx, edi
call fcn.00432470
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x430519
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.004507f0
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.00450730
mov dword [ebx + 0x1c], 0
mov ecx, edi
mov edi, dword [ebp - 0x98]
call fcn.00450470
cmp esi, 0x10
jb 0x430272
lea ecx, [esi + 1]
cmp ecx, 0x1000
jb 0x430262
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, eax
cmp ecx, 0x20
jae 0x430531
add esi, 0x24
mov ecx, esi
jmp 0x430268
mov eax, dword [ebp - 0x9c]
push ecx
push eax
call fcn.004484f5
add esp, 8
push edi
call fcn.004484c0
add esp, 4
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x4302b8
mov ecx, dword [ebp - 0x5c]
lea esi, [eax + eax]
add esi, 2
cmp esi, 0x1000
jb 0x4302ae
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x430531
add eax, eax
add eax, 0x25
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.004484f5
add esp, 8
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x4302f5
mov ecx, dword [ebp - 0x44]
lea esi, [eax + eax]
add esi, 2
cmp esi, 0x1000
jb 0x4302eb
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x430531
add eax, eax
add eax, 0x25
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.004484f5
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448b70
mov eax, ebx
add esp, 0x98
pop esi
pop edi
pop ebx
pop ebp
ret
cmp eax, 2
jne 0x430348
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.00450730
mov dword [ebx + 0x1c], 0
lea ecx, [ebp - 0x78]
call fcn.00450470
jmp 0x43027b
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.0044eb90
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.004484b7
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.0044ebf0
add esp, 0x1c
push dword [ebp - 0x9c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x43040f
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.004484c0
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 0x43027b
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.0044eb90
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.004484b7
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.0044ebf0
add esp, 0x1c
push dword [ebp - 0x9c]
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x4304f2
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.004484c0
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 0x430272
xorps xmm0, xmm0
mov ebx, dword [ebp - 0xa0]
movups xmmword [ebx + 0xc], xmm0
movups xmmword [ebx], xmm0
mov dword [ebx + 0x1c], eax
jmp 0x430272
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3