Function at 0x14004e080
Capabilities:
Accept command line arguments
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rsi, rax
lea r12, str.crash
lea r15, [0x1400b0fd0]
test rax, rax
je 0x14004e299
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_wcsstr
mov rdi, rax
movabs r13, 0x100000201
test rax, rax
je 0x14004e15d
cmp rax, rsi
jbe 0x14004e0ed
movzx eax, word [rax - 2]
cmp ax, 0x20
je 0x14004e0ed
cmp ax, 9
jne 0x14004e15d
add rdi, 0xe
mov edx, 0x23
mov rcx, rdi
call sub.VCRUNTIME140.dll_wcschr
mov r9, rax
test rax, rax
je 0x14004e15d
movzx eax, word [rax + 2]
cmp eax, 0x20
ja 0x14004e15d
bt r13, rax
jae 0x14004e15d
xor ebx, ebx
xor r8d, r8d
cmp rdi, r9
jae 0x14004e15d
nop
movzx edx, word [rdi]
lea eax, [rdx - 0x30]
cmp ax, 9
ja 0x14004e15d
cmp ebx, 0x5265c00
ja 0x14004e15d
inc r8d
lea ebx, [rbx + rbx*4]
lea ebx, [rbx - 0x18]
lea ebx, [rdx + rbx*2]
add rdi, 2
cmp rdi, r9
jb 0x14004e120
test r8d, r8d
je 0x14004e15d
mov qword [0x1400d4250], r12
test ebx, ebx
jns 0x14004e29e
mov rdx, r15
mov rcx, rsi
call sub.VCRUNTIME140.dll_wcsstr
mov rdi, rax
test rax, rax
je 0x14004e1fd
cmp rax, rsi
jbe 0x14004e189
movzx eax, word [rax - 2]
cmp ax, 0x20
je 0x14004e189
cmp ax, 9
jne 0x14004e1fd
add rdi, 0xe
mov edx, 0x23
mov rcx, rdi
call sub.VCRUNTIME140.dll_wcschr
mov r9, rax
test rax, rax
je 0x14004e1fd
movzx eax, word [rax + 2]
cmp eax, 0x20
ja 0x14004e1fd
bt r13, rax
jae 0x14004e1fd
xor ebx, ebx
xor r8d, r8d
cmp rdi, r9
jae 0x14004e1fd
nop dword [rax + rax]
movzx edx, word [rdi]
lea eax, [rdx - 0x30]
cmp ax, 9
ja 0x14004e1fd
cmp ebx, 0x5265c00
ja 0x14004e1fd
inc r8d
lea ebx, [rbx + rbx*4]
lea ebx, [rbx - 0x18]
lea ebx, [rdx + rbx*2]
add rdi, 2
cmp rdi, r9
jb 0x14004e1c0
test r8d, r8d
je 0x14004e1fd
mov qword [0x1400d4250], r15
test ebx, ebx
jns 0x14004e29e
lea r14, [0x1400b0fe0]
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_wcsstr
mov rdi, rax
test rax, rax
je 0x14004e299
cmp rax, rsi
jbe 0x14004e230
movzx eax, word [rax - 2]
cmp ax, 0x20
je 0x14004e230
cmp ax, 9
jne 0x14004e299
add rdi, 0x16
mov edx, 0x23
mov rcx, rdi
call sub.VCRUNTIME140.dll_wcschr
mov r9, rax
test rax, rax
je 0x14004e299
movzx eax, word [rax + 2]
cmp eax, 0x20
ja 0x14004e299
bt r13, rax
jae 0x14004e299
xor ebx, ebx
xor r8d, r8d
cmp rdi, r9
jae 0x14004e299
movzx edx, word [rdi]
lea eax, [rdx - 0x30]
cmp ax, 9
ja 0x14004e299
cmp ebx, 0x5265c00
ja 0x14004e299
inc r8d
lea ebx, [rbx + rbx*4]
lea ebx, [rbx - 0x18]
lea ebx, [rdx + rbx*2]
add rdi, 2
cmp rdi, r9
jb 0x14004e262
test r8d, r8d
je 0x14004e299
mov qword [0x1400d4250], r14
jmp 0x14004e29e
mov ebx, 0xffffffff
xor edi, edi
mov qword [rsp + 0x60], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareBitdefenderInternalCrashEnabled
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004e2d5
mov rdi, qword [rsp + 0x60]
test eax, eax
jne 0x14004e3bd
test rdi, rdi
je 0x14004e2eb
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
js 0x14004e3cb
mov ecx, dword [0x1400d4350]
mov rax, qword gs:[0x58]
mov edx, sendto
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1400d425c], eax
jg 0x14004e3e3
xor ecx, ecx
mov rdx, qword [0x1400d4250]
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r12 + rcx*2 - 2]
jne 0x14004e34e
cmp rcx, 8
jne 0x14004e330
lea r8, [0x14004eec0]
jmp 0x14004e37d
xor eax, eax
movzx ecx, word [rdx + rax*2]
inc rax
cmp cx, word [r15 + rax*2 - 2]
jne 0x14004e36b
cmp rax, 8
jne 0x14004e350
cmp cx, word [r15 + rax*2 - 2]
lea r8, [0x14004eef0]
lea rax, [0x14004eea0]
cmove r8, rax
lea rax, [0x1400d4258]
xor r9d, r9d
cmp dword [0x1400d4258], r9d
cmova r9, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x14004e3cb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14004e3cb
test rdi, rdi
je 0x14004e3cb
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [0x1400d425c]
call fcn.14006a7c0
cmp dword [0x1400d425c], 0xffffffff
jne 0x14004e31a
mov dword [0x1400d4258], ebx
lea rcx, [0x1400d425c]
call fcn.14006a760
jmp 0x14004e31a