Function at 0x140001000
Capabilities:
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 r13d, 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 0x1400011ef
mov r14d, 0x208
mov ecx, 0x208
call fcn.1400024a8
mov rdi, rax
lea rbx, [rax + 0x208]
mov r8d, 0x208
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, 0x104
jne 0x1400013b2
mov dword [rsp + 0x58], r13d
movabs r12, 0x7fffffffffffffff
mov ecx, 0x104
mov r13, qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rbp, rbx
mov rsi, r14
sub rsi, rcx
jae 0x1400010bb
lea rbx, [rdi + r14*2]
jmp 0x1400011c0
jbe 0x1400011c0
mov rax, rbp
sub rax, rdi
sar rax, 1
cmp rax, r14
jae 0x140001139
test r14, r14
js 0x140002217
sub rbp, rdi
mov rax, rbp
sar rax, 1
mov rsi, rax
shr rsi, 1
mov rcx, rsi
xor rcx, r12
add rsi, rax
cmp rsi, r14
cmovbe rsi, r14
cmp rax, rcx
cmova rsi, r12
test rsi, rsi
js 0x14000220c
lea rcx, [rsi + rsi]
cmp rsi, 0x800
jb 0x14000114d
lea rax, [r12 - 0x12]
cmp rsi, rax
jae 0x14000220c
add rcx, 0x27
call fcn.1400024a8
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
jmp 0x140001155
lea r8, [rsi + rsi]
mov rcx, rbx
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rbx, [rbx + rsi*2]
jmp 0x1400011c0
call fcn.1400024a8
mov r15, rax
sub rbx, rdi
mov rax, rbx
sar rax, 1
mov r8, r14
sub r8, rax
lea rcx, [r15 + rax*2]
add r8, r8
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, r15
mov rdx, rdi
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
test rdi, rdi
je 0x1400011b5
cmp rbp, 0x1000
jb 0x1400011aa
mov rax, qword [rdi - 8]
add rdi, 0xfffffffffffffff8
sub rdi, rax
cmp rdi, 0x20
jae 0x140002211
add rbp, 0x27
mov rdi, rax
mov rcx, rdi
mov rdx, rbp
call fcn.140002488
lea rbx, [r15 + r14*2]
lea rbp, [r15 + rsi*2]
mov rdi, r15
mov r14, rbx
sub r14, rdi
mov r8, r14
shr r8, 1
xor ecx, ecx
mov rdx, rdi
call r13
mov ecx, eax
mov rdx, r14
sar rdx, 1
cmp rdx, rcx
je 0x1400010aa
mov r13d, dword [rsp + 0x58]
jmp 0x1400013b5
mov r14d, 0x80070057
cmp r13d, 3
jl 0x140001d9b
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x10], 0
je 0x140001d9b
xor ecx, ecx
xor edx, edx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x140001531
mov rax, qword [rsp + 0x60]
mov rbx, qword [rax + 0x10]
test rbx, rbx
je 0x140001ee8
cmp word [rbx], 0
je 0x140001ee8
lea rax, [rsp + 0x128]
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 0x1400015c9
mov rcx, qword [rsp + 0x128]
xorps xmm0, xmm0
lea r10, [rsp + 0x1a0]
movaps xmmword [r10], xmm0
xor eax, eax
mov qword [r10 + 0x10], rax
lea r9, [rsp + 0x110]
movaps xmmword [r9], xmm0
mov qword [r9 + 0x10], rax
lea r8, [rsp + 0xf0]
movaps xmmword [r8], xmm0
mov qword [r8 + 0x10], rax
lea rdx, [rsp + 0xd0]
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 0x140001e3d
xor esi, esi
mov qword [rsp + 0xc8], rsi
lea rcx, [0x140004542]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov r14, qword [rsp + 0x128]
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0xc8], rsi
test rcx, rcx
je 0x14000131f
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140008010]
mov rax, qword [r14]
mov rax, qword [rax + 0x38]
lea r8, [rsp + 0xc8]
mov rcx, r14
mov rdx, rdi
call qword [0x140008010]
test eax, eax
js 0x140001ea6
mov rcx, qword [rsp + 0xc8]
lea r8, [rsp + 0xc0]
mov qword [r8], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x70]
mov edx, 1
call qword [0x140008010]
test eax, eax
js 0x140001e78
lea rdx, [rsp + 0xbc]
mov dword [rdx], 0
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
call qword [0x140008010]
test eax, eax
jns 0x140001ef3
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov edx, eax
mov r8d, 0x41
jmp 0x140001e87
mov rbp, rbx
test eax, eax
je 0x14000147e
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov r14, rax
xor eax, eax
mov qword [rsp + 0x1a0], rax
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x1b8], 7
mov word [rsp + 0x1a0], 0
cmp r14, 7
mov qword [rsp + 0x70], rdi
lea rcx, [rsp + 0x1a0]
ja 0x1400015b9
mov qword [rcx + 0x10], r14
mov r8, r14
add r8, r14
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rsp + r14*2 + 0x1a0], 0
lea r15, [rsp + 0x1a0]
mov rdx, qword [r15]
mov r12, qword [r15 + 0x18]
cmp r12, 8
mov rax, r15
cmovae rax, rdx
mov r8, qword [r15 + 0x10]
lea rcx, [rax + r8*2]
mov r11, rax
cmp r8, 2
jl 0x1400015fe
mov r9d, dword [rax]
mov r10d, r9d
and r10d, 0xffffffdf
add r10d, 0xffc5ffbf
cmp r10d, 0x19
ja 0x140001489
cmp r12, 8
cmovb rdx, r15
add rdx, 4
mov r11, rdx
jmp 0x1400015fe
mov r14d, 0x8000ffff
jmp 0x140001d63
cmp r9w, 0x5c
je 0x1400014a1
movzx r10d, r9w
mov r11, rax
cmp r10d, 0x2f
jne 0x1400015fe
lea r10, [r8 + r8]
shr r9d, 0x10
cmp r10, 7
jb 0x140001539
cmp r12, 8
mov r10, r15
cmovae r10, rdx
movzx r11d, word [r10 + 6]
cmp r11d, 0x5c
je 0x1400014cf
cmp r11d, 0x2f
jne 0x140001546
cmp r8, 4
je 0x1400014f1
cmp r12, 8
mov r11, r15
cmovae r11, rdx
movzx r11d, word [r11 + 8]
cmp r11d, 0x2f
je 0x140001546
cmp r11d, 0x5c
je 0x140001546
add r10, 6
movzx esi, r9w
cmp si, 0x2f
je 0x1400015dd
cmp esi, 0x5c
je 0x1400015dd
mov r11, rax
cmp esi, 0x3f
jne 0x1400015fe
cmp r12, 8
cmovb rdx, r15
movzx edi, word [rdx + 4]
cmp di, 0x3f
cmovne r10, rax
jmp 0x1400015fb
mov r14d, eax
jmp 0x140001d9b
mov r11, rax
cmp r10, 5
jb 0x1400015fe
cmp r9w, 0x5c
je 0x14000155e
movzx r9d, r9w
mov r11, rax
cmp r9d, 0x2f
jne 0x1400015fe
cmp r12, 8
mov r9, r15
cmovae r9, rdx
movzx r9d, word [r9 + 4]
mov r11, rax
cmp r9d, 0x2f
je 0x1400015fe
mov r11, rax
cmp r9d, 0x5c
je 0x1400015fe
mov r9, rcx
cmp r8, 3
je 0x140001625
cmp r12, 8
cmovb rdx, r15
add rdx, 6
mov r11, rdx
movzx edx, word [r11]
cmp edx, 0x2f
je 0x1400015fe
cmp edx, 0x5c
je 0x1400015fe
add r11, 2
cmp r11, rcx
jne 0x1400015a0
jmp 0x14000161d
mov rdx, r14
mov r8, rdi
call fcn.140003480
jmp 0x140001424
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov edx, eax
mov r8d, 0x2b
jmp 0x140001e4c
cmp r12, 8
mov r11, r15
cmovae r11, rdx
movzx edi, word [r11 + 4]
cmp edi, 0x2e
je 0x1400015fb
cmp edi, 0x3f
jne 0x140001e53
mov r11, r10
mov r9, rcx
cmp r11, rcx
je 0x140001625
movzx edx, word [r11]
cmp edx, 0x5c
je 0x140001614
cmp edx, 0x2f
jne 0x140001622
add r11, 2
cmp r11, rcx
jne 0x140001606
mov r9, rcx
jmp 0x140001625
mov r9, r11
cmp rcx, r9
je 0x140001657
mov r8, rcx
movzx edx, word [rcx - 2]
cmp edx, 0x5c
je 0x14000163f
lea rcx, [r8 - 2]
cmp edx, 0x2f
jne 0x140001625
movzx ecx, word [r8 - 2]
cmp ecx, 0x5c
je 0x14000164e
cmp ecx, 0x2f
jne 0x14000165a
add r8, 0xfffffffffffffffe
cmp r8, r9
jne 0x14000163f
mov r8, r9
sub r8, rax
mov r14, r8
sar r14, 1
xor ecx, ecx
mov qword [rsp + 0x130], rcx
mov qword [rsp + 0x140], rcx
mov qword [rsp + 0x148], 7
mov word [rsp + 0x130], 0
lea rcx, [rsp + 0x130]
cmp r8, 0xe
ja 0x140001e01
mov qword [rcx + 0x10], r14
mov rdx, rax
call sub.VCRUNTIME140.dll_memmove
mov word [rsp + r14*2 + 0x130], 0
cmp r12, 8
jb 0x1400016fa
mov rcx, qword [rsp + 0x1a0]
lea rdx, [r12*2 + 2]
cmp rdx, 0x1000
jb 0x1400016f5
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x140002211
add r12, r12
add r12, 0x29
mov rdx, r12
mov rcx, rax
call fcn.140002488
movups xmm0, xmmword [rsp + 0x130]
movups xmm1, xmmword [rsp + 0x140]
movaps xmmword [rsp + 0x1b0], xmm1
movaps xmmword [rsp + 0x1a0], xmm0
mov rax, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1b8]
mov rdx, rcx
sub rdx, rax
cmp rdx, 0xc
jb 0x140001e19
lea rdx, [rax + 0xc]
mov qword [rsp + 0x1b0], rdx
cmp rcx, 8
jb 0x140001754
mov r15, qword [rsp + 0x1a0]
movups xmm0, xmmword [str._firefox.exe]
movups xmmword [r15 + rax*2], xmm0
movabs rcx, 0x6500780065002e
mov qword [r15 + rax*2 + 0x10], rcx
mov word [r15 + rax*2 + 0x18], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x110], xmm0
mov qword [rsp + 0x120], 0
cmp qword [rsp + 0x1b8], 8
jb 0x1400017a3
mov rax, qword [rsp + 0x1a0]
jmp 0x1400017ab
lea rax, [rsp + 0x1a0]
lea rsi, [rsp + 0x130]
mov qword [rsi], rax
lea r12, [rsp + 0x110]
mov rcx, r12
xor edx, edx
mov r8, rsi
call fcn.140002330
lea rax, str.__backgroundtask
mov qword [rsi], rax
mov rdi, qword [r12 + 8]
mov rdx, qword [r12 + 0x10]
cmp rdi, rdx
je 0x1400017f5
mov qword [rdi], rax
add rdi, 8
mov qword [rsp + 0x118], rdi
jmp 0x14000181a
lea r12, [rsp + 0x110]
lea r8, [rsp + 0x130]
mov rcx, r12
mov rdx, rdi
call fcn.140002330
mov rdi, qword [r12 + 8]
mov rdx, qword [r12 + 0x10]
lea rax, str.defaultagent
mov qword [rsp + 0x130], rax
cmp rdi, rdx
je 0x14000183f
mov qword [rdi], rax
add rdi, 8
mov qword [rsp + 0x118], rdi
jmp 0x14000185b
lea r15, [rsp + 0x110]
lea r8, [rsp + 0x130]
mov rcx, r15
call fcn.140002330
mov rdi, qword [r15 + 8]
mov qword [rsp + 0x58], rbp
cmp r13d, 2
jl 0x1400019c4
mov r14d, r13d
mov ebp, 1
cmp rdi, qword [rsp + 0x120]
je 0x1400018a1
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + rbp*8]
mov qword [rdi], rax
mov rdi, qword [rsp + 0x118]
add rdi, 8
mov qword [rsp + 0x118], rdi
jmp 0x1400019b8
mov r12, qword [rsp + 0x110]
sub rdi, r12
mov r15, rdi
sar r15, 3
lea rbx, [r15 + 1]
mov rsi, r15
shr rsi, 1
movabs rcx, 0x1fffffffffffffff
mov rax, rcx
sub rax, rsi
add rsi, r15
cmp rsi, rbx
cmovbe rsi, rbx
cmp r15, rax
cmova rsi, rcx
cmp rsi, rcx
ja 0x14000220c
lea rcx, [rsi*8]
cmp rsi, 0x200
jb 0x140001926
movabs rax, 0x1fffffffffffffff
add rax, 0xfffffffffffffffd
cmp rsi, rax
jae 0x14000220c
add rcx, 0x27
call fcn.1400024a8
lea r13, [rax + 0x27]
and r13, 0xffffffffffffffe0
mov qword [r13 - 8], rax
jmp 0x140001938
test rsi, rsi
je 0x140001935
call fcn.1400024a8
mov r13, rax
jmp 0x140001938
xor r13d, r13d
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + rbp*8]
mov qword [r13 + r15*8], rax
mov rcx, r13
mov rdx, r12
mov r8, rdi
call sub.VCRUNTIME140.dll_memmove
test r12, r12
je 0x14000198a
cmp rdi, 0x1000
jb 0x14000197f
mov rax, qword [r12 - 8]
add r12, 0xfffffffffffffff8
sub r12, rax
cmp r12, 0x20
jae 0x140002211
add rdi, 0x27
mov r12, rax
mov rcx, r12
mov rdx, rdi
call fcn.140002488
mov qword [rsp + 0x110], r13
lea rdi, [rbx*8]
add rdi, r13
mov qword [rsp + 0x118], rdi
lea rax, [rsi*8]
add rax, r13
mov qword [rsp + 0x120], rax
inc rbp
cmp r14, rbp
jne 0x140001872
mov r15, qword [rsp + 0x110]
sub rdi, r15
shr rdi, 3
test edi, edi
jle 0x140001a78
mov r14d, edi
xor ebp, ebp
xor esi, esi
mov r12, qword [r15 + rbp*8]
mov rcx, r12
mov dx, 0x22
call sub.VCRUNTIME140.dll_wcschr
mov r13, rax
cmp word [r12], 0
je 0x140001a38
mov rcx, r12
lea rdx, [0x1400041e8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcspbrk]
xor ebx, ebx
test rax, rax
setne bl
test r13, r13
jne 0x140001a3f
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add rax, rbx
add rsi, rbx
add rsi, rax
inc rsi
inc rbp
cmp rbp, r14
jne 0x1400019e2
jmp 0x140001a7a
mov ebx, 1
jmp 0x140001a15
mov rax, rbx
xor ecx, ecx
movzx edx, word [r12]
cmp edx, 0x22
je 0x140001a59
cmp edx, 0x5c
je 0x140001a6c
test edx, edx
jne 0x140001a68
jmp 0x140001a25
lea rdx, [rcx + 1]
cmp rdx, 1
adc rcx, 1
add rax, rcx
xor ecx, ecx
jmp 0x140001a6f
inc rcx
inc rax
add r12, 2
jmp 0x140001a44
xor esi, esi
cmp rsi, 1
adc rsi, 0
lea rax, [rsi + rsi]
test rsi, rsi
mov r12, 0xffffffffffffffff
cmovns r12, rax
mov rcx, r12
call fcn.140002490
mov r13, rax
mov rcx, rax
xor edx, edx
mov r8, r12
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x68], r13
test edi, edi
mov rbp, qword [rsp + 0x58]
jle 0x140001beb
mov qword [rsp + 0x60], r15
mov edi, edi
xor r15d, r15d
mov r13, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
mov r12, qword [rax + r15*8]
mov rcx, r12
mov dx, 0x22
call sub.VCRUNTIME140.dll_wcschr
mov rbp, rax
cmp word [r12], 0
je 0x140001b71
mov rcx, r12
lea rdx, [0x1400041e8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcspbrk]
test rax, rax
setne al
movzx esi, al
mov rbx, r13
mov r14, rsi
test r13, r13
je 0x140001b23
mov rbx, r13
mov r14, rsi
test al, al
jne 0x140001bd5
test rbp, rbp
jne 0x140001b75
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov rbp, rax
mov rcx, rbx
mov rdx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
lea rbx, [rbx + rbp*2]
add r14, rbp
test rsi, rsi
mov rbp, qword [rsp + 0x58]
jne 0x140001bc8
lea r13, [r13 + r14*2]
inc r15
cmp r15, rdi
je 0x140001beb
mov word [r13], 0x20
add r13, 2
jmp 0x140001acd
mov al, 1
jmp 0x140001b07
xor eax, eax
movzx ecx, word [r12]
cmp ecx, 0x22
je 0x140001b8c
cmp ecx, 0x5c
je 0x140001bb0
test ecx, ecx
jne 0x140001bac
jmp 0x140001b46
lea rcx, [rax + 1]
cmp rcx, 1
adc rax, 1
mov rcx, rax
mov word [rbx], 0x5c
add rbx, 2
dec rcx
jne 0x140001b9b
add r14, rax
xor eax, eax
jmp 0x140001bb3
inc rax
movzx ecx, word [r12]
mov word [rbx], cx
add rbx, 2
inc r14
add r12, 2
jmp 0x140001b77
mov word [rbx], 0x22
inc r14
jmp 0x140001b50
lea rbx, [r13 + 2]
mov word [r13], 0x22
mov r14d, 1
jmp 0x140001b23
mov word [r13], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x130], xmm0
xor eax, eax
mov qword [rsp + 0x190], rax
movaps xmmword [rsp + 0x180], xmm0
movaps xmmword [rsp + 0x170], xmm0
movaps xmmword [rsp + 0x160], xmm0
movaps xmmword [rsp + 0x150], xmm0
movaps xmmword [rsp + 0x140], xmm0
mov dword [rsp + 0x130], 0x68
mov qword [rsp + 0x100], rax
movaps xmmword [rsp + 0xf0], xmm0
cmp qword [rsp + 0x1b8], 8
jb 0x140001c5f
mov rcx, qword [rsp + 0x1a0]
jmp 0x140001c67
lea rcx, [rsp + 0x1a0]
mov rdi, qword [rsp + 0x70]
lea rax, [rsp + 0x130]
mov rbx, qword [rsp + 0x68]
lea rsi, [rsp + 0xf0]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0x28
mov dword [rsp + 0x20], 0
mov rdx, rbx
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 r14d, 0x8000ffff
test eax, eax
je 0x140001dc2
mov rcx, rbx
call fcn.140002488
mov rcx, qword [rsp + 0x110]
test rcx, rcx
je 0x140001d15
mov rdx, qword [rsp + 0x120]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140001d10
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x140002211
add rdx, 0x27
mov rcx, rax
call fcn.140002488
mov rax, qword [rsp + 0x1b8]
cmp rax, 8
jb 0x140001d63
mov rcx, qword [rsp + 0x1a0]
lea rdx, [rax*2 + 2]
cmp rdx, 0x1000
jb 0x140001d5e
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140002211
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140002488
test rdi, rdi
je 0x140001d9b
sub rbp, rdi
cmp rbp, 0x1000
jb 0x140001d90
mov rax, qword [rdi - 8]
add rdi, 0xfffffffffffffff8
sub rdi, rax
cmp rdi, 0x20
jae 0x140002211
add rbp, 0x27
mov rdi, rax
mov rcx, rdi
mov rdx, rbp
call fcn.140002488
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140003110
mov eax, r14d
add rsp, 0x1c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0xf0]
lea rdx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x140001ccb
mov eax, dword [rsp + 0xd0]
cmp rax, 0xd
ja 0x140001ccb
lea rcx, [0x1400041f0]
mov r14d, dword [rcx + rax*4]
jmp 0x140001ccb
mov rdx, r14
mov r8, rax
call fcn.140003480
mov r12, qword [rsp + 0x1b8]
jmp 0x1400016b4
lea r8, str._firefox.exe
lea rcx, [rsp + 0x1a0]
mov edx, 0xc
mov r9d, 0xc
call fcn.1400032f0
jmp 0x140001777
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov edx, eax
mov r8d, 0x2d
call fcn.140002230
jmp 0x140001ece
cmp r9w, 0x2f
je 0x14000155e
cmp esi, 0x5c
je 0x14000155e
mov r11, rax
cmp esi, 0x3f
je 0x140001524
jmp 0x1400015fe
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov edx, eax
mov r8d, 0x3e
call fcn.140002230
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x140001ea6
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140008010]
test rdi, rdi
je 0x140001eb4
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x140001ece
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140008010]
mov rcx, qword [rsp + 0x128]
test rcx, rcx
je 0x140001ee8
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140008010]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x140001046
xor eax, eax
lea r14, [rsp + 0x130]
mov qword [r14], rax
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], 7
mov word [r14], 0
lea r8, str.Firefox_Default_Browser_Agent
mov edx, 0x1e
mov rcx, r14
call fcn.140003480
mov rcx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov rcx, qword [r14 + 0x10]
mov rdx, qword [r14 + 0x18]
mov r8, rdx
sub r8, rcx
cmp r8, rax
jb 0x1400021f1
lea rsi, [rcx + rax]
mov qword [rsp + 0x140], rsi
cmp rdx, 8
jb 0x140001f5f
mov r14, qword [rsp + 0x130]
lea rcx, [r14 + rcx*2]
add rax, rax
mov rdx, rbx
mov r8, rax
call sub.VCRUNTIME140.dll_memmove
mov word [r14 + rsi*2], 0
cmp dword [rsp + 0xbc], 0
jle 0x1400020e1
xor esi, esi
lea r12, [rsp + 0x78]
mov r15, qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [rsp + 0x58], 0
xor r14d, r14d
mov ebp, r13d
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0xb0], 0
inc esi
mov word [rsp + 0x78], 3
mov dword [rsp + 0x80], esi
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xa0], rax
movzx eax, word [rsp + 0x78]
mov word [rsp + 0x90], ax
mov eax, dword [rsp + 0x7a]
mov dword [rsp + 0x92], eax
movzx eax, word [rsp + 0x7e]
mov word [rsp + 0x96], ax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x98], eax
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x9c], eax
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
lea rdx, [rsp + 0x90]
lea r8, [rsp + 0xb0]
call qword [0x140008010]
mov r13d, eax
mov rcx, r12
call r15
test r13d, r13d
js 0x140002063
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
mov rdx, r12
call qword [0x140008010]
test eax, eax
jns 0x140002092
mov r14d, eax
jmp 0x140002066
mov r14d, r13d
mov r13d, ebp
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x140002083
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140008010]
cmp esi, dword [rsp + 0xbc]
jl 0x140001f9f
jmp 0x1400020ec
mov r13, qword [rsp + 0x78]
mov rcx, r13
mov rdx, rbx
call fcn.140003790
test al, al
je 0x1400020cb
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xc8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x78]
xor r8d, r8d
call qword [0x140008010]
test eax, eax
cmovs r14d, eax
jmp 0x1400020d1
mov al, 1
mov dword [rsp + 0x58], eax
test r13, r13
je 0x140002066
mov rcx, r13
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x140002066
xor r14d, r14d
mov dword [rsp + 0x58], 0
test byte [rsp + 0x58], 1
jne 0x14000219e
test r14d, r14d
js 0x14000219e
lea rcx, [0x140004552]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov rcx, qword [rsp + 0x128]
lea r8, [rsp + 0x78]
mov qword [r8], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x38]
mov rdx, rbx
call qword [0x140008010]
test eax, eax
js 0x140002165
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
mov rax, qword [rax + 0x60]
mov rdx, rdi
xor r8d, r8d
call qword [0x140008010]
test eax, eax
jns 0x140002179
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov edx, eax
mov r8d, pe_nt_image_headers64
jmp 0x140002174
mov rcx, qword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov edx, eax
mov r8d, 0x77
call fcn.140002230
test rbx, rbx
je 0x140002187
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000219e
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140008010]
mov rax, qword [rsp + 0x148]
cmp rax, 8
jb 0x140001e8c
mov rcx, qword [rsp + 0x130]
lea rdx, [rax*2 + 2]
cmp rdx, 0x1000
jb 0x1400021e7
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x140002211
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.140002488
jmp 0x140001e8c
lea rcx, [rsp + 0x130]
mov rdx, rax
mov r8, rbx
mov r9, rax
call fcn.1400032f0
jmp 0x140001f78
call fcn.1400036b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.140003800
int3