Function at 0x42bb70
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 [0x4a0070]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
lea edi, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0042db10
add esp, 4
mov eax, dword [edi + 0x18]
test eax, eax
je 0x42bbb3
xorps xmm0, xmm0
movups xmmword [ebx + 0xc], xmm0
movups xmmword [ebx], xmm0
mov dword [ebx + 0x1c], eax
jmp 0x42bdc5
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.0042de20
xor eax, eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x30], 8
jb 0x42bbe5
mov ecx, dword [ebp - 0x44]
jmp 0x42bbe8
lea ecx, [ebp - 0x44]
mov dword [ebp - 0xa0], ebx
cmp dword [ebp - 0x48], 8
jb 0x42bbf7
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 0x42bddc
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.0044fa57
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 0x42bc53
mov eax, dword [ebp - 0x44]
jmp 0x42bc56
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x48], 8
jb 0x42bc61
mov ecx, dword [ebp - 0x5c]
jmp 0x42bc64
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 0x42bf05
lea ebx, [ebp - 0x78]
mov ecx, ebx
mov edx, edi
call fcn.0042df40
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x42bfe9
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.00453e90
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.00453dd0
mov dword [ebx + 0x1c], 0
mov ecx, edi
mov edi, dword [ebp - 0x98]
call fcn.00453b10
cmp esi, 0x10
jb 0x42bd42
lea ecx, [esi + 1]
cmp ecx, 0x1000
jb 0x42bd32
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, eax
cmp ecx, 0x20
jae 0x42c001
add esi, 0x24
mov ecx, esi
jmp 0x42bd38
mov eax, dword [ebp - 0x9c]
push ecx
push eax
call fcn.0044fa95
add esp, 8
push edi
call fcn.0044fa60
add esp, 4
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x42bd88
mov ecx, dword [ebp - 0x5c]
lea esi, [eax + eax]
add esi, 2
cmp esi, 0x1000
jb 0x42bd7e
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x42c001
add eax, eax
add eax, 0x25
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.0044fa95
add esp, 8
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x42bdc5
mov ecx, dword [ebp - 0x44]
lea esi, [eax + eax]
add esi, 2
cmp esi, 0x1000
jb 0x42bdbb
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x42c001
add eax, eax
add eax, 0x25
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.0044fa95
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00450110
mov eax, ebx
add esp, 0x98
pop esi
pop edi
pop ebx
pop ebp
ret
cmp eax, 2
jne 0x42be18
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.00453dd0
mov dword [ebx + 0x1c], 0
lea ecx, [ebp - 0x78]
call fcn.00453b10
jmp 0x42bd4b
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.00452550
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.0044fa57
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.004525b0
add esp, 0x1c
push dword [ebp - 0x9c]
push esi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x42bedf
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.0044fa60
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 0x42bd4b
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.00452550
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.0044fa57
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.004525b0
add esp, 0x1c
push dword [ebp - 0x9c]
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x42bfc2
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.0044fa60
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 0x42bd42
xorps xmm0, xmm0
mov ebx, dword [ebp - 0xa0]
movups xmmword [ebx + 0xc], xmm0
movups xmmword [ebx], xmm0
mov dword [ebx + 0x1c], eax
jmp 0x42bd42
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3