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 esi, ecx
mov rax, qword [0x140006010]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x60], 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 0x14000127f
mov dword [rsp + 0x5c], esi
mov r15d, 0x208
mov ecx, 0x208
call fcn.1400026d8
mov rbx, rax
lea r14, [rax + 0x208]
mov r8d, 0x208
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, 0x104
jne 0x140001422
movabs r13, 0x7fffffffffffffff
mov ecx, 0x104
mov rbp, qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rdi, r14
mov rsi, r15
sub rsi, rcx
jae 0x140001149
lea r14, [rbx + r15*2]
jmp 0x140001256
jbe 0x140001256
mov rax, rdi
sub rax, rbx
sar rax, 1
cmp rax, r15
jae 0x1400011ca
test r15, r15
js 0x140002579
sub rdi, rbx
mov rsi, rdi
mov rax, rdi
sar rax, 1
mov rdi, rax
shr rdi, 1
mov rcx, rdi
xor rcx, r13
add rdi, rax
cmp rdi, r15
cmovbe rdi, r15
cmp rax, rcx
cmova rdi, r13
test rdi, rdi
js 0x14000256e
lea rcx, [rdi + rdi]
cmp rdi, 0x800
jb 0x1400011de
lea rax, [r13 - 0x12]
cmp rdi, rax
jae 0x14000256e
add rcx, 0x27
call fcn.1400026d8
lea r12, [rax + 0x27]
and r12, 0xffffffffffffffe0
mov qword [r12 - 8], rax
jmp 0x1400011e6
lea r8, [rsi + rsi]
mov rcx, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea r14, [r14 + rsi*2]
jmp 0x140001256
call fcn.1400026d8
mov r12, rax
sub r14, rbx
mov rax, r14
sar rax, 1
mov r8, r15
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, r14
call sub.VCRUNTIME140.dll_memmove
test rbx, rbx
je 0x14000124b
cmp rsi, 0x1000
jb 0x140001240
mov rax, qword [rbx - 8]
add rbx, 0xfffffffffffffff8
sub rbx, rax
cmp rbx, 0x20
jae 0x140002573
mov rdx, rsi
add rdx, 0x27
mov rbx, rax
jmp 0x140001243
mov rdx, rsi
mov rcx, rbx
call fcn.14000271c
lea r14, [r12 + r15*2]
lea rdi, [r12 + rdi*2]
mov rbx, r12
mov r15, r14
sub r15, rbx
mov r8, r15
shr r8, 1
xor ecx, ecx
mov rdx, rbx
call rbp
mov ecx, eax
mov rdx, r15
sar rdx, 1
cmp rdx, rcx
je 0x140001138
jmp 0x140001425
mov ebp, 0x80070057
cmp esi, 3
jl 0x140001d5e
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x10], 0
je 0x140001d5e
xor ecx, ecx
xor edx, edx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x1400015a3
mov rax, qword [rsp + 0x60]
mov r14, qword [rax + 0x10]
test r14, r14
je 0x140001417
cmp word [r14], 0
je 0x140001417
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 0x140001de5
mov edi, esi
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 0x140001eae
xor esi, esi
mov qword [rsp + 0xa8], rsi
lea rcx, [0x14000453e]
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 0x1400013b0
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
mov esi, edi
jns 0x140001f79
test rbx, rbx
je 0x1400013e3
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x1400013fd
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140008010]
mov rcx, qword [rsp + 0x108]
test rcx, rcx
je 0x140001417
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140008010]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x1400010d5
mov rdi, r14
test eax, eax
je 0x1400014f1
mov rcx, rbx
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 + 0x50], rdi
lea rcx, [rsp + 0x180]
ja 0x140001626
mov qword [rcx + 0x10], r15
mov r8, r15
add r8, r15
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rsp + r15*2 + 0x180], 0
lea r12, [rsp + 0x180]
mov rdx, qword [r12]
mov r13, qword [r12 + 0x18]
cmp r13, 8
mov rax, r12
cmovae rax, rdx
mov r8, qword [r12 + 0x10]
lea rcx, [rax + r8*2]
mov r11, rax
cmp r8, 2
jl 0x140001657
mov r9d, dword [rax]
mov r10d, r9d
and r10d, 0xffffffdf
add r10d, 0xffc5ffbf
cmp r10d, 0x19
ja 0x1400014fb
cmp r13, 8
cmovb rdx, r12
add rdx, 4
mov r11, rdx
jmp 0x140001657
mov ebp, 0x8000ffff
jmp 0x140001d26
cmp r9w, 0x5c
je 0x140001513
movzx r10d, r9w
mov r11, rax
cmp r10d, 0x2f
jne 0x140001657
lea r10, [r8 + r8]
shr r9d, 0x10
cmp r10, 7
jb 0x1400015aa
cmp r13, 8
mov r10, r12
cmovae r10, rdx
movzx r11d, word [r10 + 6]
cmp r11d, 0x5c
je 0x140001541
cmp r11d, 0x2f
jne 0x1400015b7
cmp r8, 4
je 0x140001563
cmp r13, 8
mov r11, r12
cmovae r11, rdx
movzx r11d, word [r11 + 8]
cmp r11d, 0x2f
je 0x1400015b7
cmp r11d, 0x5c
je 0x1400015b7
add r10, 6
movzx esi, r9w
cmp si, 0x2f
je 0x140001636
cmp esi, 0x5c
je 0x140001636
mov r11, rax
cmp esi, 0x3f
jne 0x140001657
cmp r13, 8
cmovb rdx, r12
movzx edi, word [rdx + 4]
cmp di, 0x3f
cmovne r10, rax
jmp 0x140001654
mov ebp, eax
jmp 0x140001d5e
mov r11, rax
cmp r10, 5
jb 0x140001657
cmp r9w, 0x5c
je 0x1400015cf
movzx r9d, r9w
mov r11, rax
cmp r9d, 0x2f
jne 0x140001657
cmp r13, 8
mov r9, r12
cmovae r9, rdx
movzx r9d, word [r9 + 4]
mov r11, rax
cmp r9d, 0x2f
je 0x140001657
mov r11, rax
cmp r9d, 0x5c
je 0x140001657
mov r9, rcx
cmp r8, 3
je 0x14000167e
cmp r13, 8
cmovb rdx, r12
add rdx, 6
mov r11, rdx
movzx edx, word [r11]
cmp edx, 0x2f
je 0x140001657
cmp edx, 0x5c
je 0x140001657
add r11, 2
cmp r11, rcx
jne 0x14000160d
jmp 0x140001676
mov rdx, r15
mov r8, rbx
call fcn.140003720
jmp 0x140001494
cmp r13, 8
mov r11, r12
cmovae r11, rdx
movzx edi, word [r11 + 4]
cmp edi, 0x2e
je 0x140001654
cmp edi, 0x3f
jne 0x140001dc0
mov r11, r10
mov r9, rcx
cmp r11, rcx
je 0x14000167e
movzx edx, word [r11]
cmp edx, 0x5c
je 0x14000166d
cmp edx, 0x2f
jne 0x14000167b
add r11, 2
cmp r11, rcx
jne 0x14000165f
mov r9, rcx
jmp 0x14000167e
mov r9, r11
cmp rcx, r9
je 0x1400016b0
mov r8, rcx
movzx edx, word [rcx - 2]
cmp edx, 0x5c
je 0x140001698
lea rcx, [r8 - 2]
cmp edx, 0x2f
jne 0x14000167e
movzx ecx, word [r8 - 2]
cmp ecx, 0x5c
je 0x1400016a7
cmp ecx, 0x2f
jne 0x1400016b3
add r8, 0xfffffffffffffffe
cmp r8, r9
jne 0x140001698
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 0x140001d84
mov qword [rcx + 0x10], r15
mov rdx, rax
call sub.VCRUNTIME140.dll_memmove
mov word [rsp + r15*2 + 0x110], 0
cmp r13, 8
jb 0x140001753
mov rcx, qword [rsp + 0x180]
lea rdx, [r13*2 + 2]
cmp rdx, 0x1000
jb 0x14000174e
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x140002573
add r13, r13
add r13, 0x29
mov rdx, r13
mov rcx, rax
call fcn.14000271c
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 0x140001d9c
lea rdx, [rax + 0xc]
mov qword [rsp + 0x190], rdx
cmp rcx, 8
jb 0x1400017ad
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 qword [rsp + 0x68], rbx
jb 0x140001801
mov rax, qword [rsp + 0x180]
jmp 0x140001809
lea rax, [rsp + 0x180]
lea rsi, [rsp + 0x110]
mov qword [rsi], rax
lea r15, [rsp + 0xf0]
mov rcx, r15
xor edx, edx
mov r8, rsi
call fcn.140002580
lea rax, str.__backgroundtask
mov qword [rsi], rax
mov rbx, qword [r15 + 8]
mov rdx, qword [r15 + 0x10]
cmp rbx, rdx
je 0x140001851
mov qword [rbx], rax
add rbx, 8
mov qword [rsp + 0xf8], rbx
jmp 0x140001874
lea r15, [rsp + 0xf0]
lea r8, [rsp + 0x110]
mov rcx, r15
mov rdx, rbx
call fcn.140002580
mov rbx, qword [r15 + 8]
mov rdx, qword [r15 + 0x10]
lea rax, str.defaultagent
mov qword [rsp + 0x110], rax
cmp rbx, rdx
mov ecx, dword [rsp + 0x5c]
je 0x14000189d
mov qword [rbx], rax
add rbx, 8
mov qword [rsp + 0xf8], rbx
jmp 0x1400018bd
lea r15, [rsp + 0xf0]
lea r8, [rsp + 0x110]
mov rcx, r15
call fcn.140002580
mov rbx, qword [r15 + 8]
mov ecx, dword [rsp + 0x5c]
cmp ecx, 2
jl 0x140001a20
mov r15d, ecx
mov ebp, 1
cmp rbx, qword [rsp + 0x100]
je 0x1400018fd
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + rbp*8]
mov qword [rbx], rax
mov rbx, qword [rsp + 0xf8]
add rbx, 8
mov qword [rsp + 0xf8], rbx
jmp 0x140001a14
mov rdi, qword [rsp + 0xf0]
sub rbx, rdi
mov r12, rbx
sar r12, 3
lea r14, [r12 + 1]
mov rsi, r12
shr rsi, 1
movabs rcx, 0x1fffffffffffffff
mov rax, rcx
sub rax, rsi
add rsi, r12
cmp rsi, r14
cmovbe rsi, r14
cmp r12, rax
cmova rsi, rcx
cmp rsi, rcx
ja 0x14000256e
lea rcx, [rsi*8]
cmp rsi, 0x200
jb 0x140001983
movabs rax, 0x1fffffffffffffff
add rax, 0xfffffffffffffffd
cmp rsi, rax
jae 0x14000256e
add rcx, 0x27
call fcn.1400026d8
lea r13, [rax + 0x27]
and r13, 0xffffffffffffffe0
mov qword [r13 - 8], rax
jmp 0x140001995
test rsi, rsi
je 0x140001992
call fcn.1400026d8
mov r13, rax
jmp 0x140001995
xor r13d, r13d
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + rbp*8]
mov qword [r13 + r12*8], rax
mov rcx, r13
mov rdx, rdi
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
test rdi, rdi
je 0x1400019e6
cmp rbx, 0x1000
jb 0x1400019db
mov rax, qword [rdi - 8]
add rdi, 0xfffffffffffffff8
sub rdi, rax
cmp rdi, 0x20
jae 0x140002573
add rbx, 0x27
mov rdi, rax
mov rcx, rdi
mov rdx, rbx
call fcn.14000271c
mov qword [rsp + 0xf0], r13
lea rbx, [r14*8]
add rbx, r13
mov qword [rsp + 0xf8], rbx
lea rax, [rsi*8]
add rax, r13
mov qword [rsp + 0x100], rax
inc rbp
cmp r15, rbp
jne 0x1400018ce
mov r12, qword [rsp + 0xf0]
sub rbx, r12
shr rbx, 3
test ebx, ebx
jle 0x140001aad
mov ebp, ebx
xor esi, esi
xor r14d, r14d
mov rdi, qword [r12 + rsi*8]
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov r15, rax
mov rcx, rdi
mov dx, 0x22
call sub.VCRUNTIME140.dll_wcschr
mov r13, rax
mov rcx, rdi
lea rdx, [0x1400041f8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcspbrk]
lea ecx, [r15 + 2]
test rax, rax
cmove ecx, r15d
test r13, r13
jne 0x140001a88
add r14d, ecx
inc r14d
inc rsi
cmp rsi, rbp
jne 0x140001a3a
jmp 0x140001ab0
xor eax, eax
movzx edx, word [rdi]
cmp edx, 0x22
je 0x140001a9d
cmp edx, 0x5c
je 0x140001aa5
test edx, edx
jne 0x140001aa1
jmp 0x140001a78
add ecx, eax
inc ecx
xor eax, eax
jmp 0x140001aa7
inc eax
add rdi, 2
jmp 0x140001a8a
xor r14d, r14d
cmp r14d, 1
adc r14d, 0
movsxd rax, r14d
lea rcx, [rax + rax]
test eax, eax
mov rdi, 0xffffffffffffffff
cmovns rdi, rcx
mov rcx, rdi
call fcn.140002724
mov r14, rax
mov rcx, rax
xor edx, edx
mov r8, rdi
call sub.VCRUNTIME140.dll_memset
mov rdi, r14
test ebx, ebx
jle 0x140001bbc
mov rsi, r12
mov ebx, ebx
xor r12d, r12d
mov rdi, r14
mov r13, qword [rsi + r12*8]
mov rcx, r13
mov dx, 0x22
call sub.VCRUNTIME140.dll_wcschr
mov r15, rax
mov rcx, r13
lea rdx, [0x1400041f8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcspbrk]
mov rbp, rax
test rax, rax
jne 0x140001b5a
test r15, r15
jne 0x140001b65
mov rcx, rdi
mov rdx, r13
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
mov rcx, r13
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
lea rdi, [rdi + rax*2]
test rbp, rbp
jne 0x140001bb1
inc r12
cmp r12, rbx
je 0x140001bbc
mov word [rdi], 0x20
add rdi, 2
jmp 0x140001afa
mov word [rdi], 0x22
add rdi, 2
jmp 0x140001b25
xor eax, eax
movzx ecx, word [r13]
cmp ecx, 0x22
je 0x140001b7c
cmp ecx, 0x5c
je 0x140001b96
test ecx, ecx
jne 0x140001ba2
jmp 0x140001b42
test eax, eax
js 0x140001b9e
inc eax
mov word [rdi], 0x5c
add rdi, 2
dec eax
jne 0x140001b82
movzx ecx, word [r13]
jmp 0x140001ba2
inc eax
mov cx, 0x5c
jmp 0x140001ba4
mov cx, 0x22
xor eax, eax
mov word [rdi], cx
add rdi, 2
add r13, 2
jmp 0x140001b67
mov word [rdi], 0x22
add rdi, 2
jmp 0x140001b47
mov word [rdi], 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 0x140001c2e
mov rcx, qword [rsp + 0x180]
jmp 0x140001c36
lea rcx, [rsp + 0x180]
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x50]
lea rsi, [rsp + 0xd0]
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x110]
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0x28
mov dword [rsp + 0x20], 0
mov rdx, r14
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, r14
call fcn.14000271c
mov rcx, qword [rsp + 0xf0]
test rcx, rcx
je 0x140001cd6
mov rdx, qword [rsp + 0x100]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140001cd1
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x140002573
add rdx, 0x27
mov rcx, rax
call fcn.14000271c
mov rax, qword [rsp + 0x198]
cmp rax, 8
jb 0x140001d24
mov rcx, qword [rsp + 0x180]
lea rdx, [rax*2 + 2]
cmp rdx, 0x1000
jb 0x140001d1f
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140002573
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.14000271c
xor ebp, ebp
test rbx, rbx
je 0x140001d5e
sub rdi, rbx
cmp rdi, 0x1000
jb 0x140001d53
mov rax, qword [rbx - 8]
add rbx, 0xfffffffffffffff8
sub rbx, rax
cmp rbx, 0x20
jae 0x140002573
add rdi, 0x27
mov rbx, rax
mov rcx, rbx
mov rdx, rdi
call fcn.14000271c
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140003360
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.140003720
mov r13, qword [rsp + 0x198]
jmp 0x14000170d
lea r8, str._firefox.exe
lea rcx, [rsp + 0x180]
mov edx, 0xc
mov r9d, 0xc
call fcn.140003850
jmp 0x1400017d0
cmp r9w, 0x2f
je 0x1400015cf
cmp esi, 0x5c
je 0x1400015cf
mov r11, rax
cmp esi, 0x3f
je 0x140001596
jmp 0x140001657
mov ebx, eax
mov r15, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r12, str.RemoveTasks
mov edx, eax
mov r8, r12
mov r9d, 0x15a
call fcn.140003540
movsxd r13, eax
lea rbp, [r13*2 + 2]
inc r13
mov rcx, rbp
call fcn.140002724
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], 0x15a
mov rcx, r14
mov rdx, r13
call fcn.1400035c0
xor ecx, ecx
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x140001ea1
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.14000271c
jmp 0x1400013fd
mov ebx, eax
mov r15, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r12, str.RemoveTasks
mov edx, eax
mov r8, r12
mov r9d, 0x15c
call fcn.140003540
movsxd r13, eax
lea rbp, [r13*2 + 2]
inc r13
mov rcx, rbp
call fcn.140002724
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], 0x15c
mov rcx, r14
mov rdx, r13
call fcn.1400035c0
xor ecx, ecx
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x140001f6a
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.14000271c
mov esi, edi
jmp 0x1400013fd
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 0x140002002
mov ebp, eax
mov r15, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea rsi, str.RemoveTasks
mov edx, eax
mov r8, rsi
mov r9d, 0x16d
call fcn.140003540
movsxd r13, eax
lea r12, [r13*2 + 2]
inc r13
mov rcx, r12
call fcn.140002724
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], 0x16d
jmp 0x140002084
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 0x140002116
mov ebp, eax
mov r15, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea rsi, str.RemoveTasks
mov edx, eax
mov r8, rsi
mov r9d, 0x170
call fcn.140003540
movsxd r13, eax
lea r12, [r13*2 + 2]
inc r13
mov rcx, r12
call fcn.140002724
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], 0x170
mov rcx, r14
mov rdx, r13
call fcn.1400035c0
xor ecx, ecx
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x1400020e9
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.14000271c
mov esi, edi
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400013d5
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140008010]
jmp 0x1400013d5
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_Developer_Edition_Default_Browser_Agent
mov edx, 0x30
mov rcx, r15
call fcn.140003720
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 0x140002429
lea rsi, [rcx + rax]
mov qword [rsp + 0x120], rsi
cmp rdx, 8
jb 0x140002182
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
cmp dword [rsp + 0x9c], 0
jle 0x1400022ff
xor esi, esi
lea r13, [rsp + 0x1a8]
mov r12, qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [rsp + 0x50], 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]
lea rdx, [rsp + 0x70]
lea r8, [rsp + 0x90]
call qword [0x140008010]
mov ebp, eax
mov rcx, r13
call r12
test ebp, ebp
js 0x14000227e
mov rcx, qword [rsp + 0x90]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
mov rdx, r13
call qword [0x140008010]
test eax, eax
jns 0x1400022aa
mov r15d, eax
jmp 0x140002281
mov r15d, ebp
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14000229b
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140008010]
cmp esi, dword [rsp + 0x9c]
jl 0x1400021c5
jmp 0x14000230a
mov rbp, qword [rsp + 0x1a8]
mov rcx, rbp
mov rdx, r14
call fcn.1400039e0
test al, al
je 0x1400022e9
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 0x1400022ef
mov al, 1
mov dword [rsp + 0x50], eax
test rbp, rbp
je 0x140002281
mov rcx, rbp
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x140002281
xor r15d, r15d
mov dword [rsp + 0x50], 0
test byte [rsp + 0x50], 1
jne 0x1400023d0
test r15d, r15d
js 0x1400023d0
xor esi, esi
mov qword [rsp + 0x90], rsi
lea rcx, [0x14000454e]
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 0x140002362
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 0x140002444
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 0x1400024a1
test r14, r14
je 0x1400023b6
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1400023d0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140008010]
mov rax, qword [rsp + 0x128]
cmp rax, 8
mov esi, edi
jb 0x1400020f3
mov rcx, qword [rsp + 0x110]
lea rdx, [rax*2 + 2]
cmp rdx, 0x1000
jb 0x14000241f
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140002573
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.14000271c
jmp 0x1400020f3
lea rcx, [rsp + 0x110]
mov rdx, rax
mov r8, r14
mov r9, rax
call fcn.140003850
jmp 0x14000219b
mov ebp, eax
mov rsi, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r8, str.RemoveTasks
mov edx, eax
mov r9d, 0x1a6
call fcn.140003540
movsxd r13, eax
lea r12, [r13*2 + 2]
inc r13
mov rcx, r12
call fcn.140002724
mov r15, rax
mov rcx, rax
xor edx, edx
mov r8, r12
call sub.VCRUNTIME140.dll_memset
lea rax, str.RemoveTasks
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x30], 0x1a6
jmp 0x1400024fc
mov ebp, eax
mov rsi, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
lea r8, str.RemoveTasks
mov edx, eax
mov r9d, 0x1a7
call fcn.140003540
movsxd r13, eax
lea r12, [r13*2 + 2]
inc r13
mov rcx, r12
call fcn.140002724
mov r15, rax
mov rcx, rax
xor edx, edx
mov r8, r12
call sub.VCRUNTIME140.dll_memset
lea rax, str.RemoveTasks
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x30], 0x1a7
mov rcx, r15
mov rdx, r13
call fcn.1400035c0
xor ecx, ecx
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test rax, rax
je 0x140002561
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.14000271c
jmp 0x1400023a8
call fcn.140003640
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.140003a50
int3