Function at 0x140001090
Capabilities:
Access the windows event log
Create process on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1c8
mov edi, ecx
mov rax, qword [0x140006010]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x50], rdx
mov rcx, qword [rdx + 8]
lea rdx, str.uninstall
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
test eax, eax
je 0x140001282
mov dword [rsp + 0x58], edi
mov ebp, 0x208
mov ecx, 0x208
call fcn.140002688
mov r12, rax
lea r15, [rax + 0x208]
mov r8d, 0x208
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
mov rdx, r12
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, 0x104
jne 0x140001421
movabs rsi, 0x7fffffffffffffff
mov ecx, 0x104
mov r13, qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r14, r15
mov rbx, rbp
sub rbx, rcx
jae 0x140001148
lea r15, [r12 + rbp*2]
jmp 0x140001258
jbe 0x140001258
mov rax, r14
sub rax, r12
sar rax, 1
cmp rax, rbp
jae 0x1400011cc
test rbp, rbp
js 0x140002525
sub r14, r12
mov rdi, r14
mov rax, r14
sar rax, 1
mov r14, rax
shr r14, 1
mov rcx, r14
xor rcx, rsi
add r14, rax
cmp r14, rbp
cmovbe r14, rbp
cmp rax, rcx
cmova r14, rsi
test r14, r14
js 0x14000251a
lea rcx, [r14 + r14]
cmp r14, 0x800
jb 0x1400011e0
lea rax, [rsi - 0x12]
cmp r14, rax
jae 0x14000251a
mov rbx, r12
add rcx, 0x27
call fcn.140002688
lea r12, [rax + 0x27]
and r12, 0xffffffffffffffe0
mov qword [r12 - 8], rax
jmp 0x1400011eb
lea r8, [rbx + rbx]
mov rcx, r15
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea r15, [r15 + rbx*2]
jmp 0x140001258
mov rbx, r12
call fcn.140002688
mov r12, rax
sub r15, rbx
mov rax, r15
sar rax, 1
mov r8, rbp
sub r8, rax
lea rcx, [r12 + rax*2]
add r8, r8
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, r12
mov rdx, rbx
mov r8, r15
call sub.VCRUNTIME140.dll_memmove
test rbx, rbx
je 0x140001250
mov rcx, rbx
cmp rdi, 0x1000
jb 0x140001248
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x14000251f
mov rdx, rdi
add rdx, 0x27
mov rcx, rax
jmp 0x14000124b
mov rdx, rdi
call fcn.1400026cc
lea r15, [r12 + rbp*2]
lea r14, [r12 + r14*2]
mov rbp, r15
sub rbp, r12
mov r8, rbp
shr r8, 1
xor ecx, ecx
mov rdx, r12
call r13
mov ecx, eax
mov rdx, rbp
sar rdx, 1
cmp rdx, rcx
je 0x140001137
jmp 0x140001424
mov ebp, 0x80070057
cmp edi, 3
jl 0x140001d79
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x10], 0
je 0x140001d79
xor ecx, ecx
xor edx, edx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x1400015a2
mov rax, qword [rsp + 0x50]
mov r14, qword [rax + 0x10]
test r14, r14
je 0x140001416
cmp word [r14], 0
je 0x140001416
lea rax, [rsp + 0x108]
mov qword [rax], 0
mov qword [rsp + 0x20], rax
lea rcx, [0x140004010]
lea r9, section..rdata
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140001e00
mov rcx, qword [rsp + 0x108]
xorps xmm0, xmm0
lea r10, [rsp + 0x180]
movaps xmmword [r10], xmm0
xor eax, eax
mov qword [r10 + 0x10], rax
lea r9, [rsp + 0xf0]
movaps xmmword [r9], xmm0
mov qword [r9 + 0x10], rax
lea r8, [rsp + 0xd0]
movaps xmmword [r8], xmm0
mov qword [r8 + 0x10], rax
lea rdx, [rsp + 0xb0]
movaps xmmword [rdx], xmm0
mov qword [rdx + 0x10], rax
mov rax, qword [rcx]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x20], r10
call qword [0x140008010]
test eax, eax
js 0x140001e59
xor esi, esi
mov qword [rsp + 0xa8], rsi
lea rcx, [0x14000451a]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov r15, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0xa8], rsi
test rcx, rcx
je 0x1400013b1
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140008010]
mov rax, qword [r15]
mov rax, qword [rax + 0x38]
lea r8, [rsp + 0xa8]
mov rcx, r15
mov rdx, rbx
call qword [0x140008010]
test eax, eax
jns 0x140001f22
test rbx, rbx
je 0x1400013e2
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x1400013fc
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140008010]
mov rcx, qword [rsp + 0x108]
test rcx, rcx
je 0x140001416
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140008010]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x1400010d5
mov r14, r15
test eax, eax
je 0x1400014f0
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov r15, rax
xor eax, eax
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x198], 7
mov word [rsp + 0x180], 0
cmp r15, 7
mov qword [rsp + 0x60], r12
lea rcx, [rsp + 0x180]
ja 0x140001625
mov qword [rcx + 0x10], r15
mov r8, r15
add r8, r15
mov rdx, r12
call sub.VCRUNTIME140.dll_memmove
mov word [rsp + r15*2 + 0x180], 0
lea r12, [rsp + 0x180]
mov rcx, qword [r12]
mov r13, qword [r12 + 0x18]
cmp r13, 8
mov rax, r12
cmovae rax, rcx
mov rdx, qword [r12 + 0x10]
lea r8, [rax + rdx*2]
mov r11, rax
cmp rdx, 2
jl 0x140001656
mov r9d, dword [rax]
mov r10d, r9d
and r10d, 0xffffffdf
add r10d, 0xffc5ffbf
cmp r10d, 0x19
ja 0x1400014fa
cmp r13, 8
cmovb rcx, r12
add rcx, 4
mov r11, rcx
jmp 0x140001656
mov ebp, 0x8000ffff
jmp 0x140001d40
cmp r9w, 0x5c
je 0x140001512
movzx r10d, r9w
mov r11, rax
cmp r10d, 0x2f
jne 0x140001656
lea r10, [rdx + rdx]
shr r9d, 0x10
cmp r10, 7
jb 0x1400015a9
cmp r13, 8
mov r10, r12
cmovae r10, rcx
movzx r11d, word [r10 + 6]
cmp r11d, 0x5c
je 0x140001540
cmp r11d, 0x2f
jne 0x1400015b6
cmp rdx, 4
je 0x140001562
cmp r13, 8
mov r11, r12
cmovae r11, rcx
movzx r11d, word [r11 + 8]
cmp r11d, 0x2f
je 0x1400015b6
cmp r11d, 0x5c
je 0x1400015b6
add r10, 6
movzx esi, r9w
cmp si, 0x2f
je 0x140001635
cmp esi, 0x5c
je 0x140001635
mov r11, rax
cmp esi, 0x3f
jne 0x140001656
cmp r13, 8
cmovb rcx, r12
movzx ebx, word [rcx + 4]
cmp bx, 0x3f
cmovne r10, rax
jmp 0x140001653
mov ebp, eax
jmp 0x140001d79
mov r11, rax
cmp r10, 5
jb 0x140001656
cmp r9w, 0x5c
je 0x1400015ce
movzx r9d, r9w
mov r11, rax
cmp r9d, 0x2f
jne 0x140001656
cmp r13, 8
mov r9, r12
cmovae r9, rcx
movzx r9d, word [r9 + 4]
mov r11, rax
cmp r9d, 0x2f
je 0x140001656
mov r11, rax
cmp r9d, 0x5c
je 0x140001656
mov r9, r8
cmp rdx, 3
je 0x14000167d
cmp r13, 8
cmovb rcx, r12
add rcx, 6
mov r11, rcx
movzx ecx, word [r11]
cmp ecx, 0x2f
je 0x140001656
cmp ecx, 0x5c
je 0x140001656
add r11, 2
cmp r11, r8
jne 0x14000160c
jmp 0x140001675
mov rdx, r15
mov r8, r12
call fcn.1400036d0
jmp 0x140001493
cmp r13, 8
mov r11, r12
cmovae r11, rcx
movzx ebx, word [r11 + 4]
cmp ebx, 0x2e
je 0x140001653
cmp ebx, 0x3f
jne 0x140001ddb
mov r11, r10
mov r9, r8
cmp r11, r8
je 0x14000167d
movzx ecx, word [r11]
cmp ecx, 0x5c
je 0x14000166c
cmp ecx, 0x2f
jne 0x14000167a
add r11, 2
cmp r11, r8
jne 0x14000165e
mov r9, r8
jmp 0x14000167d
mov r9, r11
cmp r8, r9
je 0x1400016b1
movzx ecx, word [r8 - 2]
add r8, 0xfffffffffffffffe
cmp ecx, 0x5c
je 0x140001695
cmp ecx, 0x2f
jne 0x14000167d
add r8, 2
movzx ecx, word [r8 - 2]
cmp ecx, 0x5c
je 0x1400016a8
cmp ecx, 0x2f
jne 0x1400016b4
add r8, 0xfffffffffffffffe
cmp r8, r9
jne 0x140001699
mov r8, r9
sub r8, rax
mov r15, r8
sar r15, 1
xor ecx, ecx
mov qword [rsp + 0x110], rcx
mov qword [rsp + 0x120], rcx
mov qword [rsp + 0x128], 7
mov word [rsp + 0x110], 0
lea rcx, [rsp + 0x110]
cmp r8, 0xe
ja 0x140001d9f
mov qword [rcx + 0x10], r15
mov rdx, rax
call sub.VCRUNTIME140.dll_memmove
mov word [rsp + r15*2 + 0x110], 0
cmp r13, 8
jb 0x140001757
mov rcx, qword [rsp + 0x180]
lea rdx, [r13 + 2]
add rdx, r13
cmp rdx, 0x1000
jb 0x140001752
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x14000251f
add r13, r13
add r13, 0x29
mov rdx, r13
mov rcx, rax
call fcn.1400026cc
movups xmm0, xmmword [rsp + 0x110]
movups xmm1, xmmword [rsp + 0x120]
movaps xmmword [rsp + 0x190], xmm1
movaps xmmword [rsp + 0x180], xmm0
mov rax, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x198]
mov rdx, rcx
sub rdx, rax
cmp rdx, 0xc
jb 0x140001db7
lea rdx, [rax + 0xc]
mov qword [rsp + 0x190], rdx
cmp rcx, 8
jb 0x1400017b1
mov r12, qword [rsp + 0x180]
movups xmm0, xmmword [str._firefox.exe]
movups xmmword [r12 + rax*2], xmm0
movabs rcx, 0x6500780065002e
mov qword [r12 + rax*2 + 0x10], rcx
mov word [r12 + rax*2 + 0x18], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0x100], 0
cmp qword [rsp + 0x198], 8
mov edi, dword [rsp + 0x58]
jb 0x140001804
mov rax, qword [rsp + 0x180]
jmp 0x14000180c
lea rax, [rsp + 0x180]
lea rbx, [rsp + 0x110]
mov qword [rbx], rax
lea r15, [rsp + 0xf0]
mov rcx, r15
xor edx, edx
mov r8, rbx
call fcn.140002530
lea rcx, str.__backgroundtask
mov qword [rbx], rcx
mov rdx, qword [r15 + 8]
mov rax, qword [r15 + 0x10]
cmp rdx, rax
je 0x140001854
mov qword [rdx], rcx
add rdx, 8
mov qword [rsp + 0xf8], rdx
jmp 0x140001874
lea r15, [rsp + 0xf0]
lea r8, [rsp + 0x110]
mov rcx, r15
call fcn.140002530
mov rdx, qword [r15 + 8]
mov rax, qword [r15 + 0x10]
lea rcx, str.defaultagent
mov qword [rsp + 0x110], rcx
cmp rdx, rax
je 0x140001899
mov qword [rdx], rcx
add rdx, 8
mov qword [rsp + 0xf8], rdx
jmp 0x1400018b1
lea rcx, [rsp + 0xf0]
lea r8, [rsp + 0x110]
mov rdx, rax
call fcn.140002530
mov rsi, qword [rsp + 0xf8]
cmp edi, 1
mov qword [rsp + 0x68], r14
jle 0x140001a12
mov ebp, edi
mov rdi, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0x100]
mov r14d, 1
cmp rsi, rbx
je 0x1400018f9
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + r14*8]
mov qword [rsi], rax
add rsi, 8
jmp 0x1400019e4
sub rbx, rdi
mov r12, rbx
sar r12, 3
lea rsi, [r12 + 1]
mov r13, r12
shr r13, 1
movabs rcx, 0x1fffffffffffffff
mov rax, rcx
sub rax, r13
add r13, r12
cmp r13, rsi
cmovbe r13, rsi
cmp r12, rax
cmova r13, rcx
cmp r13, rcx
ja 0x14000251a
lea rcx, [r13*8]
cmp r13, 0x200
jb 0x140001977
movabs rax, 0x1fffffffffffffff
add rax, 0xfffffffffffffffd
cmp r13, rax
jae 0x14000251a
add rcx, 0x27
call fcn.140002688
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
jmp 0x140001989
test r13, r13
je 0x140001986
call fcn.140002688
mov r15, rax
jmp 0x140001989
xor r15d, r15d
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + r14*8]
mov qword [r15 + r12*8], rax
mov rcx, r15
mov rdx, rdi
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
test rdi, rdi
je 0x1400019d9
cmp rbx, 0x1000
jb 0x1400019ce
mov rax, qword [rdi - 8]
add rdi, 0xfffffffffffffff8
sub rdi, rax
cmp rdi, 0x20
jae 0x14000251f
add rbx, 0x27
mov rdi, rax
mov rcx, rdi
mov rdx, rbx
call fcn.1400026cc
lea rsi, [r15 + rsi*8]
lea rbx, [r15 + r13*8]
mov rdi, r15
inc r14
cmp rbp, r14
jne 0x1400018df
mov qword [rsp + 0xf8], rsi
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0xf0], rdi
lea rbx, [rsp + 0x110]
jmp 0x140001a1a
mov rdi, qword [rsp + 0xf0]
sub rsi, rdi
shr rsi, 3
mov r15d, 2
test esi, esi
jle 0x140001ace
mov eax, esi
mov qword [rsp + 0x50], rax
xor r12d, r12d
xor r14d, r14d
mov r15, qword [rdi + r12*8]
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov r13, rax
mov rcx, r15
mov dx, 0x22
call sub.VCRUNTIME140.dll_wcschr
mov rbp, rax
mov rcx, r15
lea rdx, [0x1400041f8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcspbrk]
lea ecx, [r13 + 2]
test rax, rax
cmove ecx, r13d
test rbp, rbp
jne 0x140001a8c
add r14d, ecx
inc r14d
inc r12
cmp r12, qword [rsp + 0x50]
jne 0x140001a3c
jmp 0x140001ab2
xor eax, eax
movzx edx, word [r15]
cmp edx, 0x22
je 0x140001aa2
cmp edx, 0x5c
je 0x140001aaa
test edx, edx
jne 0x140001aa6
jmp 0x140001a7a
add ecx, eax
inc ecx
xor eax, eax
jmp 0x140001aac
inc eax
add r15, 2
jmp 0x140001a8e
test r14d, r14d
mov r15d, 2
je 0x140001ace
js 0x140001ac7
mov r15d, r14d
add r15, r15
jmp 0x140001ace
mov r15, 0xffffffffffffffff
mov rcx, r15
call fcn.1400026d4
mov r12, rax
mov rcx, rax
xor edx, edx
mov r8, r15
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x58], r12
test esi, esi
mov r14, qword [rsp + 0x68]
jle 0x140001bdc
mov eax, esi
mov qword [rsp + 0x50], rax
xor esi, esi
mov r12, qword [rsp + 0x58]
mov rbp, qword [rdi + rsi*8]
mov rcx, rbp
mov dx, 0x22
call sub.VCRUNTIME140.dll_wcschr
mov r13, rax
mov rcx, rbp
lea rdx, [0x1400041f8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcspbrk]
mov r15, rax
test rax, rax
jne 0x140001b6a
test r13, r13
jne 0x140001b77
mov rcx, r12
mov rdx, rbp
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
mov rcx, rbp
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
lea r12, [r12 + rax*2]
test r15, r15
jne 0x140001bc5
inc rsi
cmp rsi, qword [rsp + 0x50]
je 0x140001bdc
mov word [r12], 0x20
add r12, 2
jmp 0x140001b06
mov word [r12], 0x22
add r12, 2
jmp 0x140001b31
xor eax, eax
movzx ecx, word [rbp]
cmp ecx, 0x22
je 0x140001b8d
cmp ecx, 0x5c
je 0x140001ba8
test ecx, ecx
jne 0x140001bb4
jmp 0x140001bd2
test eax, eax
js 0x140001bb0
inc eax
mov word [r12], 0x5c
add r12, 2
dec eax
jne 0x140001b93
movzx ecx, word [rbp]
jmp 0x140001bb4
inc eax
mov cx, 0x5c
jmp 0x140001bb6
mov cx, 0x22
xor eax, eax
mov word [r12], cx
add r12, 2
add rbp, 2
jmp 0x140001b79
mov word [r12], 0x22
add r12, 2
jmp 0x140001b53
mov r14, qword [rsp + 0x68]
jmp 0x140001b4e
mov word [r12], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x110], xmm0
xor eax, eax
mov qword [rsp + 0x170], rax
movaps xmmword [rsp + 0x160], xmm0
movaps xmmword [rsp + 0x150], xmm0
movaps xmmword [rsp + 0x140], xmm0
movaps xmmword [rsp + 0x130], xmm0
movaps xmmword [rsp + 0x120], xmm0
mov dword [rsp + 0x110], 0x68
mov qword [rsp + 0xe0], rax
movaps xmmword [rsp + 0xd0], xmm0
cmp qword [rsp + 0x198], 8
jb 0x140001c50
mov rcx, qword [rsp + 0x180]
jmp 0x140001c58
lea rcx, [rsp + 0x180]
mov r12, qword [rsp + 0x60]
lea rsi, [rsp + 0xd0]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rbx
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0x28
mov dword [rsp + 0x20], 0
mov rdi, qword [rsp + 0x58]
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsi]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call fcn.1400026cc
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x140001cf0
mov rdx, qword [rsp + 0x100]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140001ceb
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x14000251f
add rdx, 0x27
mov rcx, rax
call fcn.1400026cc
mov rax, qword [rsp + 0x198]
cmp rax, 8
jb 0x140001d3e
mov rcx, qword [rsp + 0x180]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x140001d39
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14000251f
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.1400026cc
xor ebp, ebp
test r12, r12
je 0x140001d79
sub r14, r12
cmp r14, 0x1000
jb 0x140001d6e
mov rax, qword [r12 - 8]
add r12, 0xfffffffffffffff8
sub r12, rax
cmp r12, 0x20
jae 0x14000251f
add r14, 0x27
mov r12, rax
mov rcx, r12
mov rdx, r14
call fcn.1400026cc
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140003310
mov eax, ebp
add rsp, 0x1c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, r15
mov r8, rax
call fcn.1400036d0
mov r13, qword [rsp + 0x198]
jmp 0x14000170e
lea r8, str._firefox.exe
lea rcx, [rsp + 0x180]
mov edx, 0xc
mov r9d, 0xc
call fcn.140003800
jmp 0x1400017d4
cmp r9w, 0x2f
je 0x1400015ce
cmp esi, 0x5c
je 0x1400015ce
mov r11, rax
cmp esi, 0x3f
je 0x140001595
jmp 0x140001656
mov ebx, eax
mov r15, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r12, str.RemoveTasks
mov edx, eax
mov r8, r12
mov r9d, 0x151
call fcn.1400034f0
cdqe
lea r13, [rax + 1]
lea rbp, [rax + rax]
add rbp, 2
mov rcx, rbp
call fcn.1400026d4
mov r14, rax
mov rcx, rax
xor edx, edx
mov r8, rbp
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x30], 0x151
jmp 0x140001eb0
mov ebx, eax
mov r15, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r12, str.RemoveTasks
mov edx, eax
mov r8, r12
mov r9d, 0x153
call fcn.1400034f0
cdqe
lea r13, [rax + 1]
lea rbp, [rax + rax]
add rbp, 2
mov rcx, rbp
call fcn.1400026d4
mov r14, rax
mov rcx, rax
xor edx, edx
mov r8, rbp
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x30], 0x153
mov rcx, r14
mov rdx, r13
call fcn.140003570
xor ecx, ecx
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x140001f15
mov r15, rax
lea rax, [rsp + 0x110]
mov qword [rax], r14
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov rcx, r15
mov dx, 1
xor r8d, r8d
mov r9d, ebx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, r14
call fcn.1400026cc
jmp 0x1400013fc
mov rcx, qword [rsp + 0xa8]
lea r8, [rsp + 0xa0]
mov qword [r8], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x70]
mov edx, 1
call qword [0x140008010]
test eax, eax
jns 0x140001fab
mov ebp, eax
mov r15, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea rsi, str.RemoveTasks
mov edx, eax
mov r8, rsi
mov r9d, 0x164
call fcn.1400034f0
cdqe
lea r13, [rax + 1]
lea r12, [rax + rax]
add r12, 2
mov rcx, r12
call fcn.1400026d4
mov r14, rax
mov rcx, rax
xor edx, edx
mov r8, r12
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x30], 0x164
jmp 0x14000202d
lea rdx, [rsp + 0x9c]
mov dword [rdx], 0
mov rcx, qword [rsp + 0xa0]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
call qword [0x140008010]
test eax, eax
jns 0x1400020bd
mov ebp, eax
mov r15, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea rsi, str.RemoveTasks
mov edx, eax
mov r8, rsi
mov r9d, 0x167
call fcn.1400034f0
cdqe
lea r13, [rax + 1]
lea r12, [rax + rax]
add r12, 2
mov rcx, r12
call fcn.1400026d4
mov r14, rax
mov rcx, rax
xor edx, edx
mov r8, r12
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x30], 0x167
mov rcx, r14
mov rdx, r13
call fcn.140003570
xor ecx, ecx
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x140002092
mov r15, rax
lea rax, [rsp + 0x110]
mov qword [rax], r14
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov rcx, r15
mov dx, 1
xor r8d, r8d
mov r9d, ebp
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, r14
call fcn.1400026cc
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400013d4
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140008010]
jmp 0x1400013d4
xor eax, eax
lea r15, [rsp + 0x110]
mov qword [r15], rax
mov qword [r15 + 0x10], rax
mov qword [r15 + 0x18], 7
mov word [r15], 0
lea r8, str.Firefox_Default_Browser_Agent
mov edx, 0x1e
mov rcx, r15
call fcn.1400036d0
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov rcx, qword [r15 + 0x10]
mov rdx, qword [r15 + 0x18]
mov r8, rdx
sub r8, rcx
cmp r8, rax
jb 0x1400023d9
lea rsi, [rcx + rax]
mov qword [rsp + 0x120], rsi
cmp rdx, 8
jb 0x140002129
mov r15, qword [rsp + 0x110]
lea rcx, [r15 + rcx*2]
add rax, rax
mov rdx, r14
mov r8, rax
call sub.VCRUNTIME140.dll_memmove
mov word [r15 + rsi*2], 0
mov dword [rsp + 0x58], edi
cmp dword [rsp + 0x9c], 0
jle 0x1400022ad
xor esi, esi
lea rdi, [rsp + 0x70]
lea r13, [rsp + 0x1a8]
mov r12, qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [rsp + 0x60], 0
xor r15d, r15d
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x90], 0
inc esi
mov word [rsp + 0x1a8], 3
mov dword [rsp + 0x1b0], esi
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x80], rax
movzx eax, word [rsp + 0x1a8]
mov word [rsp + 0x70], ax
mov eax, dword [rsp + 0x1aa]
mov dword [rsp + 0x72], eax
movzx eax, word [rsp + 0x1ae]
mov word [rsp + 0x76], ax
mov eax, dword [rsp + 0x1b0]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x1b4]
mov dword [rsp + 0x7c], eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
mov rdx, rdi
lea r8, [rsp + 0x90]
call qword [0x140008010]
mov ebp, eax
mov rcx, r13
call r12
test ebp, ebp
js 0x14000222c
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
mov rdx, r13
call qword [0x140008010]
test eax, eax
jns 0x140002258
mov r15d, eax
jmp 0x14000222f
mov r15d, ebp
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x140002249
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140008010]
cmp esi, dword [rsp + 0x9c]
jl 0x140002175
jmp 0x1400022b8
mov rbp, qword [rsp + 0x1a8]
mov rcx, rbp
mov rdx, r14
call fcn.140003990
test al, al
je 0x140002297
mov rdx, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x78]
xor r8d, r8d
call qword [0x140008010]
test eax, eax
cmovs r15d, eax
jmp 0x14000229d
mov al, 1
mov dword [rsp + 0x60], eax
test rbp, rbp
je 0x14000222f
mov rcx, rbp
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x14000222f
xor r15d, r15d
mov dword [rsp + 0x60], 0
test byte [rsp + 0x60], 1
mov edi, dword [rsp + 0x58]
jne 0x140002382
test r15d, r15d
js 0x140002382
xor esi, esi
mov qword [rsp + 0x90], rsi
lea rcx, [0x14000452a]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r14, rax
mov r15, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x90], rsi
test rcx, rcx
je 0x140002314
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140008010]
mov rax, qword [r15]
mov rax, qword [rax + 0x38]
lea r8, [rsp + 0x90]
mov rcx, r15
mov rdx, r14
call qword [0x140008010]
test eax, eax
js 0x1400023f4
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx]
mov rax, qword [rax + 0x60]
mov rdx, rbx
xor r8d, r8d
call qword [0x140008010]
test eax, eax
js 0x14000244d
test r14, r14
je 0x140002368
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x140002382
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140008010]
mov rax, qword [rsp + 0x128]
cmp rax, 8
jb 0x14000209a
mov rcx, qword [rsp + 0x110]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x1400023cf
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x14000251f
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.1400026cc
jmp 0x14000209a
lea rcx, [rsp + 0x110]
mov rdx, rax
mov r8, r14
mov r9, rax
call fcn.140003800
jmp 0x140002142
mov ebp, eax
mov rsi, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea rdi, str.RemoveTasks
mov edx, eax
mov r8, rdi
mov r9d, 0x19d
call fcn.1400034f0
cdqe
lea r13, [rax + 1]
lea r12, [rax + rax]
add r12, 2
mov rcx, r12
call fcn.1400026d4
mov r15, rax
mov rcx, rax
xor edx, edx
mov r8, r12
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x30], 0x19d
jmp 0x1400024a4
mov ebp, eax
mov rsi, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea rdi, str.RemoveTasks
mov edx, eax
mov r8, rdi
mov r9d, 0x19e
call fcn.1400034f0
cdqe
lea r13, [rax + 1]
lea r12, [rax + rax]
add r12, 2
mov rcx, r12
call fcn.1400026d4
mov r15, rax
mov rcx, rax
xor edx, edx
mov r8, r12
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x30], 0x19e
mov rcx, r15
mov rdx, r13
call fcn.140003570
xor ecx, ecx
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x140002509
mov r12, rax
lea rax, [rsp + 0x1a8]
mov qword [rax], r15
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov rcx, r12
mov dx, 1
xor r8d, r8d
mov r9d, ebp
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, r15
call fcn.1400026cc
mov edi, dword [rsp + 0x58]
jmp 0x14000235a
call fcn.1400035f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.140003a00
int3