Function at 0x140011cb4
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 [0x140046010]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rax, rcx
xor r13d, r13d
mov r12d, r13d
cmp dword [rcx + 0x128], 0xd
je 0x1400123cb
add rcx, 8
mov edx, dword [rax + 0x1cc]
call fcn.1400081d0
mov rcx, qword [rax + 0x10]
sub rcx, 0x18
call fcn.140001ea0
add rax, 0x18
mov qword [rbp - 0x78], rax
lea rsi, [rax - 0x18]
mov rcx, rsi
call fcn.140001ea0
add rax, 0x18
mov qword [rbp - 0x80], rax
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x70]
call fcn.1400034a8
nop
mov rax, qword [rsp + 0x70]
cmp dword [rax - 0x10], r13d
jne 0x140011d99
lea rdx, [rax - 0x18]
or rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140011d79
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001400b.0]
nop
mov eax, edi
lock xadd dword [rsi + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400123cb
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
jmp 0x1400123c2
call fcn.1400016e0
mov rcx, rax
test rax, rax
je 0x140012409
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14001400b.0]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rbx, [0x140040470]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140004240
test al, al
jne 0x140011de6
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14000406c
nop
lea rdx, str.action
lea rcx, [rsp + 0x50]
call fcn.140012864
lea rdx, [0x14004047c]
lea rcx, [rsp + 0x50]
call fcn.140012864
lea rdx, str.uploadCrashDump
lea rcx, [rsp + 0x50]
call fcn.140012864
lea r15, [0x14003e818]
or rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp word [r15 + rax*2], r13w
jne 0x140011e27
mov r8d, eax
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.14000468c
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140012864
lea rdx, str.crashdir
lea rcx, [rsp + 0x50]
call fcn.140012864
lea rdx, [0x14004047c]
lea rcx, [rsp + 0x50]
call fcn.140012864
lea rbx, [0x14004049c]
mov rax, rdi
inc rax
cmp word [rbx + rax*2], r13w
jne 0x140011e7a
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14000468c
mov rdx, qword [rsp + 0x70]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.14000468c
mov rax, rdi
inc rax
cmp word [rbx + rax*2], r13w
jne 0x140011eaa
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14000468c
lea r14, [0x1400404a0]
mov rdx, r14
lea rcx, [rsp + 0x68]
call fcn.1400041b0
nop
mov rax, rdi
inc rax
cmp word [r15 + rax*2], r13w
jne 0x140011edc
mov r8d, eax
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.14000468c
mov rdx, qword [rsp + 0x50]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x68]
call fcn.14000468c
lea rcx, [rsp + 0x58]
call fcn.140002d3c
nop
mov rax, qword [rsp + 0x58]
cmp dword [rax - 0x10], r13d
jne 0x140011f9d
lea rdx, [rax - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140011f41
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001400b.0]
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 0x140011f68
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001400b.0]
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 0x140011f8f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001400b.0]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
jmp 0x140011d5b
lea rcx, [rax - 0x18]
call fcn.140001ea0
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rcx, [0x14003e69c]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], r13w
jne 0x140011fb9
mov r8d, eax
mov rdx, rcx
lea rcx, [rsp + 0x60]
call fcn.14000468c
mov rax, rdi
inc rax
cmp word [r14 + rax*2], r13w
jne 0x140011fd6
mov r8d, eax
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.14000468c
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r15d, 1
cmp eax, 0xffffffff
jne 0x14001210a
mov rcx, qword [rsp + 0x58]
mov edx, r15d
sub edx, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
or eax, edx
jge 0x140012030
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.140001f48
mov rcx, qword [rsp + 0x58]
mov edx, 0x5c
call fcn.14001887c
test rax, rax
je 0x140012043
mov word [rax], r13w
mov rcx, qword [rsp + 0x58]
movsxd rdx, dword [rcx - 0xc]
call fcn.14001bf30
mov rcx, rax
test eax, eax
js 0x1400123fe
mov rax, qword [rsp + 0x58]
cmp ecx, dword [rax - 0xc]
jg 0x1400123fe
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.14000412c
mov rax, rdi
lea rdx, [0x14003e69c]
inc rax
cmp word [rdx + rax*2], r13w
jne 0x140012093
mov r8d, eax
lea rcx, [rsp + 0x60]
call fcn.14000468c
mov rax, rdi
inc rax
cmp word [r14 + rax*2], r13w
jne 0x1400120ad
mov r8d, eax
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.14000468c
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14001210a
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x1400120fc
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001400b.0]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
jmp 0x140011f23
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 0x140012191
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x47e
je 0x14001222e
mov ecx, r15d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
or eax, ecx
jge 0x1400121af
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140001f48
mov rbx, qword [rsp + 0x60]
mov dword [rsp + 0x78], r13d
test rbx, rbx
je 0x1400122ed
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.140001394
mov r15d, r13d
test eax, eax
mov eax, 1
cmovne r15d, eax
lea rax, [r14 - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001221f
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r15d, r15d
je 0x1400122ed
mov r15d, 1
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rbp - 0x4c]
call fcn.140018c60
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 0x140012269
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140001f48
mov r14, qword [rsp + 0x68]
mov ecx, r15d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
or eax, ecx
jge 0x140012287
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140001f48
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 0x1400120da
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400122d6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400122e5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12d, r15d
jmp 0x1400120da
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x14001230f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001400b.0]
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 0x140012336
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001400b.0]
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 0x14001235d
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001400b.0]
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 0x140012384
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001400b.0]
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 0x1400123ab
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001400b.0]
nop
mov ecx, edi
lock xadd dword [rsi + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x1400123cb
mov rcx, qword [rsi]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
mov rdx, rsi
call qword [case.0x14001400b.0]
mov eax, r12d
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140016970
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.140001558
nop
mov ecx, 0x80004005
call fcn.140001558
int3