Function at 0x18001a7a0
Capabilities:
Create pipe

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x28]
sub rsp, 0x128
mov rax, qword [0x1800f6ae8]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov eax, dword [rbp + 0x90]
mov r10, rdx
mov qword [rbp - 0x20], rdx
mov r14, r9
imul edx, eax, 0x402
mov qword [rbp - 0x28], rcx
mov ecx, eax
mov qword [rbp - 0x68], r9
mov qword [rbp - 0x30], r8
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x7c], edx
cmp eax, edx
ja 0x18001b17c
mov rax, qword [rbp - 0x68]
xor ebx, ebx
movzx edx, word [rsp + 0x64]
movzx r8d, word [rsp + 0x64]
mov r11, qword [rbp - 0x68]
mov rdi, qword [rbp - 0x68]
mov esi, dword [rsp + 0x7c]
mov r9d, dword [rsp + 0x7c]
mov r12d, dword [rsp + 0x7c]
mov r15, qword [rbp - 0x68]
mov r13d, dword [rsp + 0x7c]
mov qword [rbp - 0x38], rax
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x64], al
mov rax, qword [rbp - 0x68]
mov qword [rbp - 0x48], rax
mov eax, dword [rsp + 0x7c]
mov dword [rbp - 0x60], eax
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x60], al
mov qword [rbp - 0x80], r11
mov dword [rsp + 0x68], edx
mov dword [rsp + 0x70], r8d
mov dword [rsp + 0x78], esi
mov dword [rsp + 0x6c], r9d
mov dword [rbp - 0x5c], r12d
mov qword [rbp - 0x50], rdi
nop
cmp ecx, 0x524c
ja 0x18001adec
je 0x18001ad66
cmp ecx, 0x27a6
ja 0x18001ac11
je 0x18001ac04
mov eax, ecx
sub eax, 0x5c
je 0x18001abfe
sub eax, 0x53
je 0x18001abeb
sub eax, 0x5b
je 0x18001a8c1
cmp eax, 0x13ce
jne 0x18001abc3
mov dword [r14 + 0x44], ebx
jmp 0x18001abc3
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov edx, 0x10d
xor ecx, ecx
call fcn.180084c90
test al, al
jne 0x18001abad
mov esi, 0x1a
cmp esi, 0x1a
ja case.default.0x18001a901
lea rdx, [0x180000000]
mov eax, esi
mov ecx, dword [rdx + rax*4 + 0x1b1a0]
add rcx, rdx
jmp rcx
mov byte [rsp + 0x64], 1
jmp case.default.0x18001a901
mov eax, dword [0x1800eb9ed]
mov dword [rbp + 3], eax
movzx eax, byte [0x1800eb9f1]
mov byte [rbp + 7], al
mov byte [rbp + 8], 0
jmp case.default.0x18001a901
mov rcx, qword [rbp - 0x48]
mov edx, 3
mov qword [rsp + 0x38], rbx
mov r9d, 0xff
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], 0x200
lea r8d, [rdx + 3]
mov dword [rsp + 0x20], 0x200
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
cmp dword [rbp - 0x60], 0
mov ecx, ebx
mov rdi, rax
mov qword [rbp - 0x50], rax
movzx eax, byte [rsp + 0x60]
cmovne ecx, eax
mov byte [rsp + 0x60], cl
jmp case.default.0x18001a901
mov byte [rbp + 3], 0
jmp case.default.0x18001a901
mov r8d, 1
lea rdx, [0x1800eba33]
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
jmp case.default.0x18001a901
mov qword [rbp - 0x40], rbx
jmp case.default.0x18001a901
mov eax, dword [0x1800eba53]
mov dword [rbp - 0xd], eax
movzx eax, byte [0x1800eba57]
mov byte [rbp - 9], al
mov byte [rbp - 8], 0
jmp case.default.0x18001a901
mov word [rbp - 0x10], 0x5c
jmp case.default.0x18001a901
mov byte [rbp + 0xc], 0
jmp case.default.0x18001a901
mov dword [rbp + 8], 0x42514040
jmp case.default.0x18001a901
mov eax, dword [0x1800eba6d]
mov dword [rbp - 2], eax
movzx eax, byte [0x1800eba71]
mov byte [rbp + 2], al
jmp case.default.0x18001a901
cmp rdi, 0xffffffffffffffff
jne 0x18001aa0f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsp + 0x64], 0
cmp byte [rsp + 0x60], 0
je case.default.0x18001a901
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
jmp case.default.0x18001a901
mov eax, 0x4845
mov word [rbp + 0xc], ax
jmp case.default.0x18001a901
mov r8d, 1
lea rdx, [0x1800eba9c]
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
jmp case.default.0x18001a901
lea rax, [rbp - 0x40]
xor r9d, r9d
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x18]
mov dword [rsp + 0x48], ebx
xor r8d, r8d
mov dword [rsp + 0x40], ebx
mov dl, 1
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp - 0x60], eax
jmp case.default.0x18001a901
mov byte [rbp - 0xd], 0
jmp case.default.0x18001a901
mov r8d, 2
mov byte [rbp - 5], 0
lea rdx, [0x1800ebad1]
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
jmp case.default.0x18001a901
mov r8d, 2
lea rdx, [0x1800ebae9]
lea rcx, [rbp - 0xf]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
jmp case.default.0x18001a901
mov rdi, 0xffffffffffffffff
mov qword [rbp - 0x50], rdi
jmp case.default.0x18001a901
movzx eax, word [0x1800ebb1c]
mov word [rbp - 8], ax
movzx eax, byte [0x1800ebb1e]
mov byte [rbp - 6], al
jmp case.default.0x18001a901
mov byte [rsp + 0x60], 1
jmp case.default.0x18001a901
mov byte [rbp + 0xe], 0
jmp case.default.0x18001a901
mov r8d, 1
lea rdx, [0x1800ebb33]
lea rcx, [rbp + 0xe]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbp + 0xf], 0
jmp case.default.0x18001a901
lea rax, [rbp - 0x10]
mov qword [rbp - 0x48], rax
jmp case.default.0x18001a901
cmp byte [rsp + 0x64], 0
je case.default.0x18001a901
mov r12, qword [rbp - 0x50]
mov edi, 0xca
mov rbx, qword [rbp - 0x48]
nop dword [rax + rax]
cmp edi, 0xca
je 0x18001ab6b
cmp edi, 0x62a2
jne 0x18001ab79
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18001ab79
mov edx, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
add edi, 0x61d8
cmp edi, 0xc3b0
jbe 0x18001ab50
xor ebx, ebx
mov rdi, r12
jmp case.default.0x18001a901
mov dword [rbp - 0x18], 0
mov word [rbp - 0x14], 0x100
dec esi
lea eax, [rsi + 0xf]
cmp eax, 0xe
ja 0x18001a8e5
mov esi, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x74]
mov r8d, dword [rsp + 0x70]
mov r11, qword [rbp - 0x80]
mov r9d, dword [rsp + 0x6c]
mov edx, dword [rsp + 0x68]
imul eax, dword [rbp + 0x90], 0x39
add ecx, eax
mov dword [rsp + 0x74], ecx
cmp ecx, dword [rsp + 0x7c]
ja 0x18001b17c
mov r12d, dword [rbp - 0x5c]
mov rdi, qword [rbp - 0x50]
mov r10, qword [rbp - 0x20]
jmp 0x18001a870
mov rax, qword [rbp - 0x30]
mov esi, 0xffffffff
mov qword [rbp - 0x38], rax
mov dword [rsp + 0x78], esi
jmp 0x18001abc3
mov dword [r14 + 0x40], ebx
jmp 0x18001abc3
mov rax, qword [r14]
mov r11, qword [rax + 0x50]
mov qword [rbp - 0x80], r11
jmp 0x18001abc3
cmp ecx, 0x2954
je 0x18001ad55
cmp ecx, 0x3c44
je 0x18001ad23
cmp ecx, 0x3dd0
je 0x18001ad0c
cmp ecx, 0x4e9d
jne 0x18001abc3
mov r12, qword [rbp - 0x20]
mov rdi, rbx
cmp qword [r12], 0
jbe 0x18001abc3
mov rbx, qword [rbp - 0x80]
test dil, 7
jne 0x18001ac8c
mov rcx, qword [rbp - 0x38]
mov rax, rdi
shr rax, 3
movzx ecx, byte [rax + rcx]
cmp cl, 0xff
jne 0x18001ac7d
mov eax, edi
add rdi, 7
cmp esi, 0xffffffff
cmovne eax, esi
mov esi, eax
jmp 0x18001acf4
test cl, cl
jne 0x18001ac8c
cmp esi, 0xffffffff
jne 0x18001ac8c
add rdi, 7
jmp 0x18001acf4
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x78]
mov r9d, 0x4b
mov dword [rbp - 0x78], edi
xor r8d, r8d
call fcn.1800835d0
test eax, eax
je 0x18001acb5
cmp esi, 0xffffffff
mov eax, edi
cmovne eax, esi
mov esi, eax
jmp 0x18001acf4
cmp esi, 0xffffffff
je 0x18001acf4
movsxd rcx, esi
lea r9, [rbp - 0x58]
mov rax, rdi
mov r8d, 0x1e
sub rax, rcx
mov rdx, rbx
mov qword [rbp - 0x58], rax
mov rax, qword [r14]
sub rcx, qword [rax + 0x20]
mov rax, qword [rbp - 0x28]
add rcx, qword [rax]
mov qword [rbp - 0x78], rcx
lea rcx, [rbp - 0x78]
call fcn.1800a1620
mov esi, 0xffffffff
inc rdi
cmp rdi, qword [r12]
jb 0x18001ac53
mov dword [rsp + 0x78], esi
xor ebx, ebx
jmp 0x18001abad
mov eax, 0xffff
mov dword [rsp + 0x68], ebx
mov r8d, eax
mov dword [rsp + 0x70], eax
mov edx, ebx
jmp 0x18001abc3
xor r8d, r8d
xor ecx, ecx
lea edx, [r8 + 0x7f]
call qword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
cmp qword [r14 + 0x18], 0x10
mov rcx, r14
jb 0x18001ad3f
mov rcx, qword [r14]
lea rdx, [0x1800f6bf0]
call qword [0x1800f6be0]
mov qword [rbp - 0x70], rax
jmp 0x18001abad
mov word [r14 + 0x54], bx
mov r9d, ebx
mov dword [rsp + 0x6c], ebx
jmp 0x18001abc3
mov r9d, dword [r14 + 8]
mov edx, ebx
test r9d, r9d
je 0x18001abba
movzx r8d, word [r14 + 0x10]
mov eax, 0xc001
mov r10d, dword [r14 + 0xc]
xor r8w, ax
mov r11, qword [r14]
mov ebx, dword [rsp + 0x68]
mov esi, dword [rsp + 0x70]
mov r14d, dword [rsp + 0x6c]
nop word [rax + rax]
mov eax, r10d
imul eax, edx
cmp word [rax + r11 + 2], r8w
je 0x18001adb3
inc r14d
jmp 0x18001adcd
movzx eax, word [rax + r11]
cmp ax, bx
movzx ecx, ax
cmovbe cx, bx
movzx ebx, cx
cmp ax, si
jae 0x18001adcd
movzx esi, ax
inc edx
cmp edx, r9d
jb 0x18001ada0
mov dword [rsp + 0x6c], r14d
mov r14, qword [rbp - 0x68]
mov dword [rsp + 0x68], ebx
xor ebx, ebx
mov dword [rsp + 0x70], esi
jmp 0x18001aba9
cmp ecx, 0x8fc0
ja 0x18001b156
je 0x18001af2c
cmp ecx, 0x66c8
je 0x18001af06
cmp ecx, 0x7594
je 0x18001aec3
cmp ecx, 0x777e
je 0x18001b17c
cmp ecx, 0x7b44
jne 0x18001abc3
cmp r9d, 1
jbe 0x18001abc3
mov esi, 5
nop dword [rax]
mov eax, esi
sub eax, 5
je 0x18001aead
cmp eax, 1
jne 0x18001aeb7
test r12d, r12d
je 0x18001aeb7
mov edi, 0xc3
nop word [rax + rax]
mov eax, edi
sub eax, 0xc2
je 0x18001b17c
cmp eax, 1
jne 0x18001aea1
cmp byte [0x1800f6bd9], 0
je 0x18001ae9d
lea r9, [0x1800d9468]
mov qword [rsp + 0x20], rbx
lea r8, [0x1800d9468]
mov edx, r12d
lea rcx, str.EnumMemberRefs_failed
call fcn.1800d0700
mov dword [rbp - 0x70], r12d
dec edi
cmp edi, 0xc1
ja 0x18001ae60
jmp 0x18001aeb7
mov r12d, 0xffffd506
mov dword [rbp - 0x5c], r12d
inc esi
cmp esi, 7
jb 0x18001ae40
jmp 0x18001aba9
cmp esi, 0xffffffff
je 0x18001abc3
mov rax, qword [r10]
lea r9, [rbp - 0x58]
movsxd rcx, esi
mov r8d, 0x1e
sub rax, rcx
mov rdx, r11
mov qword [rbp - 0x58], rax
mov rax, qword [r14]
sub rcx, qword [rax + 0x20]
mov rax, qword [rbp - 0x28]
add rcx, qword [rax]
mov qword [rbp - 0x78], rcx
lea rcx, [rbp - 0x78]
call fcn.1800a1620
jmp 0x18001abad
mov eax, 0x4000
cmp r8w, ax
jae 0x18001af1f
mov eax, 0xc000
cmp dx, ax
movzx eax, r8w
ja 0x18001af22
movzx eax, dx
mov word [r14 + 0x54], ax
jmp 0x18001abc3
cmp dword [r14 + 8], 0
mov r12d, ebx
jbe 0x18001b14e
nop word [rax + rax]
mov r11d, 0x126
mov dword [rbp - 0x78], r11d
nop word [rax + rax]
cmp r11d, 0x126
je 0x18001b029
cmp r11d, 0x91da
jne 0x18001b10f
mov r10d, dword [r14 + 0x38]
movzx r9d, bx
test r10d, r10d
je 0x18001b10f
mov ebx, 0xffff
lea r11d, [rbx - 3]
nop dword [rax]
nop dword [rax + rax]
mov r8d, 0x12a
cmp r8d, 0x12a
je 0x18001afd1
cmp r8d, 0x7db8
jne 0x18001b001
movzx eax, word [r15]
cmp ax, bx
jne 0x18001afb7
inc dword [r14 + 0x40]
jmp 0x18001b001
test ax, ax
je 0x18001afcb
movzx eax, word [r15 + 2]
sub ax, 2
cmp ax, r11w
ja 0x18001b001
inc dword [r14 + 0x44]
jmp 0x18001b001
mov r15, qword [r14]
xor edx, edx
movzx eax, r12w
add r15, 4
movzx ecx, r10w
imul ecx, eax
add cx, r9w
movzx eax, cx
div r10d
imul edx, dword [r14 + 0x10]
imul eax, dword [r14 + 0xc]
mov ecx, edx
add rcx, rax
add r15, rcx
add r8d, 0x7c8e
cmp r8d, 0xf91c
jbe 0x18001af96
inc r9w
movzx eax, r9w
cmp eax, r10d
jb 0x18001af90
xor ebx, ebx
jmp 0x18001b10b
mov edx, dword [r14 + 0xc]
mov r8d, 0xc001
mov rcx, qword [r14]
movzx eax, word [r14 + 0x10]
imul edx, r12d
xor ax, r8w
cmp word [rdx + rcx + 2], ax
je 0x18001b10f
mov esi, 0x17
cmp esi, 0x17
je 0x18001b0e1
cmp esi, 0x3f4
je 0x18001b0c4
cmp esi, 0x7d1
jne 0x18001b0f9
test r13d, r13d
je 0x18001b0f9
mov edi, 0x46
nop
mov eax, edi
sub eax, 0x45
je 0x18001b178
cmp eax, 1
jne 0x18001b0bb
cmp byte [0x1800f6bd9], 0
je 0x18001b0bb
lea r9, [0x1800d9468]
mov qword [rsp + 0x20], rbx
lea r8, [0x1800d9468]
mov edx, r13d
lea rcx, str.mks.gl.buggyKeplerUBO
call fcn.1800d0700
dec edi
cmp edi, 0x44
ja 0x18001b080
jmp 0x18001b0f9
mov r9, r14
mov dword [rbp - 0x58], r12d
xor r8d, r8d
lea rcx, [rbp - 0x58]
mov edx, 0xbf
call fcn.1800467d0
mov r13d, eax
jmp 0x18001b0f9
cmp byte [0x1800f6bd9], 0
je 0x18001b0f9
mov edx, r12d
lea rcx, str.ref___1__intra_refresh_is_not_supported
call fcn.1800d0700
add esi, 0x3dd
cmp esi, 0xb97
jbe 0x18001b053
mov r11d, dword [rbp - 0x78]
add r11d, 0x90b4
mov dword [rbp - 0x78], r11d
cmp r11d, 0x12168
jbe 0x18001af50
inc r12d
cmp r12d, dword [r14 + 8]
jb 0x18001af40
mov esi, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x74]
mov edx, dword [rsp + 0x68]
mov r8d, dword [rsp + 0x70]
mov r9d, dword [rsp + 0x6c]
mov r11, qword [rbp - 0x80]
mov dword [rbp - 0x70], ebx
jmp 0x18001abc3
cmp ecx, 0x9c8b
je 0x18001b14e
cmp ecx, 0xa43c
je 0x18001b17c
cmp ecx, 0xc382
je 0x18001b17c
jmp 0x18001abc3
mov rax, rbx
jmp 0x18001b180
mov dword [rbp - 0x70], r13d
mov rax, qword [rbp - 0x70]
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.1800d1090
add rsp, 0x128
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret