Function at 0x14001235c
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x250
mov rax, qword [0x140024010]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rax, rcx
xor r13d, r13d
mov r12d, r13d
cmp dword [rcx + 0x128], 0xd
je 0x140012a75
add rcx, 8
mov edx, dword [rax + 0x1cc]
call fcn.14000881c
mov rcx, qword [rax + 0x10]
sub rcx, 0x18
call fcn.140001e5c
add rax, 0x18
mov qword [rbp - 0x78], rax
lea rsi, [rax - 0x18]
mov rcx, rsi
call fcn.140001e5c
add rax, 0x18
mov qword [rbp - 0x80], rax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x70]
call fcn.1400035c4
nop
mov rax, qword [rsp + 0x70]
cmp dword [rax - 0x10], r13d
jne 0x140012441
lea rdx, [rax - 0x18]
or rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140012421
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14001b738]
nop
mov eax, edi
lock xadd dword [rsi + 0x10], eax
add eax, edi
test eax, eax
jg 0x140012a75
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
jmp 0x140012a6c
call fcn.140001690
mov rcx, rax
test rax, rax
je 0x140012ab3
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [0x14001b738]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rbx, [0x14001e2b0]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1400049ec
test al, al
jne 0x14001248e
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14000476c
nop
lea rdx, str.action
lea rcx, [rsp + 0x50]
call fcn.140012f30
lea rdx, [0x14001e2bc]
lea rcx, [rsp + 0x50]
call fcn.140012f30
lea rdx, str.uploadCrashDump
lea rcx, [rsp + 0x50]
call fcn.140012f30
lea r15, [0x14001c608]
or rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp word [r15 + rax*2], r13w
jne 0x1400124cf
mov r8d, eax
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.140004e40
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140012f30
lea rdx, str.crashdir
lea rcx, [rsp + 0x50]
call fcn.140012f30
lea rdx, [0x14001e2bc]
lea rcx, [rsp + 0x50]
call fcn.140012f30
lea rbx, [0x14001e2dc]
mov rax, rdi
inc rax
cmp word [rbx + rax*2], r13w
jne 0x140012522
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140004e40
mov rdx, qword [rsp + 0x70]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140004e40
mov rax, rdi
inc rax
cmp word [rbx + rax*2], r13w
jne 0x140012552
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140004e40
lea r14, [0x14001e2e0]
mov rdx, r14
lea rcx, [rsp + 0x68]
call fcn.1400048b0
nop
mov rax, rdi
inc rax
cmp word [r15 + rax*2], r13w
jne 0x140012584
mov r8d, eax
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.140004e40
mov rdx, qword [rsp + 0x50]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x68]
call fcn.140004e40
lea rcx, [rsp + 0x58]
call fcn.140002d64
nop
mov rax, qword [rsp + 0x58]
cmp dword [rax - 0x10], r13d
jne 0x140012645
lea rdx, [rax - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400125e9
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14001b738]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140012610
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14001b738]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140012637
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14001b738]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
jmp 0x140012403
lea rcx, [rax - 0x18]
call fcn.140001e5c
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rcx, [0x14001c48c]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], r13w
jne 0x140012661
mov r8d, eax
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.140004e40
mov rax, rdi
inc rax
cmp word [r14 + rax*2], r13w
jne 0x14001267e
mov r8d, eax
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.140004e40
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r15d, 1
cmp eax, 0xffffffff
jne 0x1400127b4
mov rcx, qword [rsp + 0x58]
mov edx, r15d
sub edx, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
or eax, edx
jge 0x1400126d8
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140001f04
mov rcx, qword [rsp + 0x58]
mov edx, 0x5c
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
test rax, rax
je 0x1400126ec
mov word [rax], r13w
mov rcx, qword [rsp + 0x58]
movsxd rdx, dword [rcx - 0xc]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
mov rcx, rax
test eax, eax
js 0x140012aa8
mov rax, qword [rsp + 0x58]
cmp ecx, dword [rax - 0xc]
jg 0x140012aa8
mov dword [rax - 0x10], ecx
movsxd rcx, ecx
mov rax, qword [rsp + 0x58]
mov word [rax + rcx*2], r13w
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x60]
call fcn.14000482c
mov rax, rdi
lea rdx, [0x14001c48c]
inc rax
cmp word [rdx + rax*2], r13w
jne 0x14001273d
mov r8d, eax
lea rcx, [rsp + 0x60]
call fcn.140004e40
mov rax, rdi
inc rax
cmp word [r14 + rax*2], r13w
jne 0x140012757
mov r8d, eax
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.140004e40
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400127b4
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400127a6
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14001b738]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
jmp 0x1400125cb
mov dword [rbp + 0x20], 0x11c
mov qword [rbp + 0x24], 6
mov qword [rbp + 0x134], r13
mov qword [rbp + 0x2c], r13
mov word [rbp + 0x34], r13w
mov r8b, 3
mov edx, 2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
mov edx, 0x20
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8b, 3
mov edx, 0x10
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov r8, rax
mov edx, 0x33
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
jg 0x14001283b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x47e
je 0x1400128d8
mov ecx, r15d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
or eax, ecx
jge 0x140012859
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140001f04
mov rbx, qword [rsp + 0x60]
mov dword [rsp + 0x78], r13d
test rbx, rbx
je 0x140012997
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 7]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, rdi
cmove r14, r13
lea r9, [rsp + 0x78]
mov rdx, r14
mov rcx, rbx
call fcn.14000133c
mov r15d, r13d
test eax, eax
mov eax, 1
cmovne r15d, eax
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400128c9
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r15d, r15d
je 0x140012997
mov r15d, 1
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rbp - 0x4c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x50], 0x68
mov r14, qword [rsp + 0x68]
mov ecx, r15d
sub ecx, dword [r14 - 8]
mov eax, dword [r14 - 0xc]
or eax, ecx
jge 0x140012913
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140001f04
mov r14, qword [rsp + 0x68]
mov ecx, r15d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
or eax, ecx
jge 0x140012931
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140001f04
mov rbx, qword [rsp + 0x60]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140012784
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140012980
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14001298f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12d, r15d
jmp 0x140012784
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400129b9
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14001b738]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400129e0
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14001b738]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140012a07
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14001b738]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140012a2e
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14001b738]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140012a55
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x14001b738]
nop
mov ecx, edi
lock xadd dword [rsi + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x140012a75
mov rcx, qword [rsi]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
mov rdx, rsi
call qword [0x14001b738]
mov eax, r12d
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1400183c0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80070057
call fcn.140001500
nop
mov ecx, 0x80004005
call fcn.140001500
int3