Function at 0x14001e650
Capabilities:
Create thread
Hide graphical window
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x140036010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov edx, 0x3ef
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
je 0x14001e7e8
mov rbx, qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rsi
mov edx, 0x3ef
call rbx
mov rdi, qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, rax
xor edx, edx
call rdi
mov rcx, rsi
mov edx, 0x3ee
call rbx
mov rcx, rax
xor edx, edx
call rdi
mov rcx, rsi
mov edx, 0x3f3
call rbx
mov rcx, rax
xor edx, edx
call rdi
mov rcx, rsi
mov edx, 0x3f2
call rbx
mov rcx, rax
xor edx, edx
call rdi
mov rcx, rsi
mov edx, 0x3ed
call rbx
mov rcx, rax
xor edx, edx
call rdi
mov rcx, rsi
mov edx, 0x3f4
call rbx
mov rcx, rax
xor edx, edx
call rdi
lea rdx, str.ReportDuringSubmit2
lea rdi, [rsp + 0x38]
mov rcx, rdi
call fcn.14001a2b0
cmp qword [rdi + 0x18], 8
jb 0x14001e710
mov rdi, qword [rsp + 0x38]
mov rcx, rsi
mov edx, 0x3f6
mov r8, rdi
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rax, qword [rsp + 0x50]
cmp rax, 8
jb 0x14001e74b
mov rcx, qword [rsp + 0x38]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jae 0x14001e90b
call fcn.140020c40
mov rcx, rsi
call fcn.14001d9a0
mov rcx, rsi
mov edx, 0x3f7
call rbx
mov rcx, rax
mov edx, 0x465
mov r8, 0xffffffffffffffff
mov r9, 0xffffffffffff0000
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rsi
mov edx, 0x3f7
call rbx
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
xor edi, edi
mov qword [0x140036438], rdi
mov qword [0x140036320], rsi
lea rsi, [0x140036320]
lea rcx, [0x140036328]
lea rdx, [0x1400363b8]
call fcn.140007030
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
lea r8, [0x14001a4c0]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x140036438], rax
jmp 0x14001e8f5
mov rcx, rsi
mov edx, 0x3f2
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov edi, eax
cmp qword [0x1400363f8], 8
jb 0x14001e80b
mov rdx, qword [0x1400363e0]
jmp 0x14001e812
lea rdx, [0x1400363e0]
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14001e869
xor eax, eax
test edi, edi
setne al
lea rdx, [rsp + 0x34]
mov dword [rdx], eax
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rdx
mov dword [rsp + 0x28], 4
lea rdx, str.IncludeURL
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rsi
mov edx, 0x3ef
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
mov edi, eax
cmp qword [0x1400363f8], 8
jb 0x14001e88c
mov rdx, qword [0x1400363e0]
jmp 0x14001e893
lea rdx, [0x1400363e0]
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14001e8ea
xor eax, eax
test edi, edi
setne al
lea rdx, [rsp + 0x34]
mov dword [rdx], eax
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rdx
mov dword [rsp + 0x28], 4
lea rdx, str.SubmitCrashReport
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rsi
xor edx, edx
call qword [sym.imp.USER32.dll_EndDialog]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140021cd0
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rdi
cmp rcx, 0x20
jae 0x14001e92e
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, rdi
jmp 0x14001e746
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3