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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x84
mov edi, edx
mov dword [ebp - 0x8c], ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x4a0070]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], 0
push edx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
mov esi, eax
cmp eax, 7
ja 0x42b46e
lea eax, [ebp - 0x28]
mov dword [eax + 0x10], esi
mov ecx, esi
add ecx, esi
push ecx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov word [ebp + esi*2 - 0x28], 0
movsd xmm0, qword [ebp - 0x18]
movsd qword [ebp - 0x30], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ebp - 0x40], xmm0
lea ecx, [ebp - 0x58]
mov edx, ebx
call fcn.0042de20
xor edi, edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], 0
push edi
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
push edi
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x42b48c
mov esi, eax
lea edi, [eax + eax]
xor eax, eax
dec eax
test esi, esi
cmovs edi, eax
push edi
call fcn.0044fa57
add esp, 4
mov ebx, eax
push edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp esi, 0xffffffff
je 0x42b75d
push esi
push ebx
push 0xffffffffffffffff
push dword [ebp + 8]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
mov dword [ebp - 0x88], ebx
je 0x42b645
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], 0
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
mov esi, eax
cmp eax, 7
ja 0x42b732
lea eax, [ebp - 0x28]
mov dword [eax + 0x10], esi
mov ecx, esi
add ecx, esi
push ecx
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov word [ebp + esi*2 - 0x28], 0
mov esi, dword [ebp - 0x28]
movsd xmm0, qword [ebp - 0x24]
movsd qword [ebp - 0x7c], xmm0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x74], eax
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x84], 0
push dword [ebp - 0x88]
call fcn.0044fa60
add esp, 4
mov edx, ebx
mov eax, dword [ebp - 0x84]
test eax, eax
lea ebx, [ebp - 0x58]
jne 0x42b750
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x70], esi
movsd xmm0, qword [ebp - 0x7c]
movsd qword [ebp - 0x6c], xmm0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], edi
cmp dword [ebp - 0x2c], 8
jb 0x42b361
mov eax, dword [ebp - 0x40]
jmp 0x42b364
lea eax, [ebp - 0x40]
cmp ecx, 8
jb 0x42b36c
mov ebx, dword [ebp - 0x58]
lea ecx, [edx + edx]
add ecx, 2
cmp edi, 8
lea edx, [ebp - 0x70]
cmovae edx, esi
push ecx
push edx
push 1
push eax
push ebx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
test eax, eax
jne 0x42b572
mov edi, dword [ebp - 0x8c]
mov dword [edi], 0
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x42b3dd
mov ecx, dword [ebp - 0x70]
lea esi, [eax + eax]
add esi, 2
cmp esi, 0x1000
jb 0x42b3d3
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x42b768
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 - 0x44]
cmp eax, 8
jb 0x42b41a
mov ecx, dword [ebp - 0x58]
lea esi, [eax + eax]
add esi, 2
cmp esi, 0x1000
jb 0x42b410
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x42b768
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 - 0x2c]
cmp eax, 8
jb 0x42b457
mov ecx, dword [ebp - 0x40]
lea esi, [eax + eax]
add esi, 2
cmp esi, 0x1000
jb 0x42b44d
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x42b768
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, edi
add esp, 0x84
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0xc
mov al, byte [ebp - 0x40]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], esi
lea ecx, [ebp - 0x28]
call fcn.00453450
jmp 0x42b216
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [ebp - 0x84], eax
mov ecx, 0x29
mov edx, str.Utf8ToUtf16
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 - 0x88], ecx
lea ecx, [eax + eax]
add ecx, 2
xor esi, esi
dec esi
cmp eax, 0xffffffff
cmovge esi, ecx
push esi
call fcn.0044fa57
add esp, 4
push esi
push edi
mov esi, eax
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x29
push eax
mov eax, str.Utf8ToUtf16
push eax
push ebx
mov eax, str.0x_X_in__S:_d
push eax
push 0xffffffffffffffff
push dword [ebp - 0x88]
push esi
call fcn.004525b0
add esp, 0x1c
push dword [ebp - 0x84]
push edi
mov edi, ebx
mov ebx, esi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x42b54f
mov esi, eax
lea eax, [ebp - 0x28]
mov dword [eax], ebx
xor ecx, ecx
xor edx, edx
inc edx
push ecx
push eax
push ecx
push edx
push ecx
push edi
push ecx
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov dword [ebp - 0x84], edi
push ebx
call fcn.0044fa60
add esp, 4
xor esi, esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x74], esi
xor edx, edx
xor edi, edi
jmp 0x42b329
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [ebp - 0x84], eax
mov ecx, 0x7a
mov edx, str.RegistrySetValueString
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 - 0x88], ecx
lea ecx, [eax + eax]
add ecx, 2
xor esi, esi
dec esi
cmp eax, 0xffffffff
cmovge esi, ecx
push esi
call fcn.0044fa57
add esp, 4
mov edi, eax
xor eax, eax
push esi
push eax
xor esi, esi
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x7a
push eax
mov eax, str.RegistrySetValueString
push eax
push ebx
mov eax, str.0x_X_in__S:_d
push eax
push 0xffffffffffffffff
push dword [ebp - 0x88]
push edi
call fcn.004525b0
add esp, 0x1c
push dword [ebp - 0x84]
push esi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x42b62f
mov esi, eax
lea eax, [ebp - 0x28]
mov dword [eax], edi
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 esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
push edi
call fcn.0044fa60
add esp, 4
mov edi, dword [ebp - 0x8c]
mov dword [edi], ebx
jmp 0x42b3a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [ebp - 0x84], eax
mov ecx, 0x32
mov edx, str.Utf8ToUtf16
mov eax, str.0x_X_in__S:_d
push ecx
push edx
push esi
push eax
call fcn.00452550
add esp, 0x10
lea ecx, [eax + 1]
mov dword [ebp - 0x90], ecx
lea edi, [eax + eax]
add edi, 2
cmp eax, 0xffffffff
mov eax, 0xffffffff
cmovl edi, eax
push edi
call fcn.0044fa57
add esp, 4
mov ebx, eax
push edi
xor edi, edi
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x32
push eax
mov eax, str.Utf8ToUtf16
push eax
push esi
mov eax, str.0x_X_in__S:_d
push eax
push 0xffffffffffffffff
push dword [ebp - 0x90]
push ebx
call fcn.004525b0
add esp, 0x1c
push dword [ebp - 0x84]
push edi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x42b70f
lea edx, [ebp - 0x28]
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 dword [ebp - 0x84], eax
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push dword [ebp - 0x84]
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov dword [ebp - 0x84], esi
push ebx
call fcn.0044fa60
add esp, 4
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
xor ebx, ebx
mov dword [ebp - 0x74], edi
xor esi, esi
xor edi, edi
jmp 0x42b319
sub esp, 0xc
mov al, byte [ebp - 0x80]
mov byte [esp + 4], al
mov dword [esp + 8], ebx
mov dword [esp], esi
lea ecx, [ebp - 0x28]
call fcn.00453450
jmp 0x42b2f6
mov edi, dword [ebp - 0x8c]
mov dword [edi], eax
jmp 0x42b3a0
int3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3