Function at 0x18003ad00
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xb8
mov r14d, dword [rbp + 0x67]
lea ebx, [rcx + 0xb]
mov dword [rbp - 9], ebx
mov r10, rdx
mov eax, ecx
cmp ecx, ebx
jae case.0x18003ad76.88
mov r15, qword [rbp - 1]
lea rdx, [0x180000000]
mov edi, 0x86
lea r8, [0x18006f810]
xor r11d, r11d
lea esi, [rdi - 0x67]
lea r13d, [r11 + 1]
nop dword [rax]
add eax, 0xffffffba
cmp eax, 0x17
ja case.0x18003ad76.71
mov ecx, dword [rdx + rax*4 + 0x3b5f4]
add rcx, rdx
jmp rcx
mov edx, 0xa7
mov dword [rbp - 0x41], 0xb
lea rcx, [rbp - 0x41]
call fcn.180012320
mov r10, qword [rbp + 0x6f]
xor r11d, r11d
jmp 0x18003b5a5
lea rcx, [r15 + 0x1f]
mov edx, edi
call fcn.18004dc40
lea rcx, [r15 + 0x1c]
mov dword [rbp - 0x35], eax
mov edx, edi
call fcn.18004dc40
lea rcx, [r15 + 0x19]
mov dword [rbp - 0x39], eax
mov edx, edi
call fcn.18004dc40
mov r10, qword [rbp + 0x6f]
xor r11d, r11d
mov dword [rbp + 0x7f], eax
jmp 0x18003b5a5
movzx r15d, byte [rbp + 0x77]
mov r9, r10
sub r9, r8
mov rdx, r8
mov r10d, 0xf
nop dword [rax]
nop word [rax + rax]
mov r8d, 0x12b
mov eax, r8d
sub eax, 0x127
je 0x18003ae55
sub eax, 1
je 0x18003ae41
sub eax, 1
je 0x18003ae20
sub eax, 1
je 0x18003ae1b
cmp eax, 1
jne 0x18003ae59
movzx r15d, byte [r9 + rdx]
jmp 0x18003ae59
mov byte [rdx], 0
jmp 0x18003ae59
movzx eax, r15b
and al, 0xf
movzx ecx, al
cmp r15b, 0x10
movzx eax, r15b
cmovbe ecx, r11d
cmovbe eax, r11d
mov byte [rdx + 0x11], cl
mov byte [rdx + 0x22], al
jmp 0x18003ae59
cmp r15b, 0x10
movzx eax, r15b
mov byte [rdx + 0x33], r15b
cmova eax, esi
mov byte [rdx + 0x44], al
jmp 0x18003ae59
mov byte [rdx + 0x55], 0x1f
dec r8d
cmp r8d, 0x126
ja 0x18003adf6
inc rdx
mov byte [rbp + 0x77], r15b
sub r10, 1
jne 0x18003adf0
mov r10, qword [rbp + 0x6f]
jmp 0x18003b5a1
lea rcx, [r15 + 0x16]
mov edx, edi
call fcn.18004dc40
lea rdx, [rbp - 0x41]
mov dword [rbp - 0x31], eax
mov ecx, 0xf
mov dword [rbp - 0x41], eax
call fcn.18005b850
mov rsi, rax
lea rcx, [rbp - 0x41]
mov eax, dword [rbp + 0x7f]
mov edx, 4
mov dword [rbp - 0x41], eax
call fcn.18005c450
mov rdi, rax
lea rdx, [rbp - 0x49]
mov eax, dword [rbp - 0x39]
mov ecx, 0xf
mov dword [rbp - 0x49], eax
call fcn.18005b850
mov rbx, rax
lea rcx, [rbp - 0x49]
mov eax, dword [rbp - 0x35]
mov edx, 4
mov dword [rbp - 0x49], eax
call fcn.18005c450
mov ecx, dword [rbp - 0x31]
mov r8, rax
mov r9d, dword [rbp - 0x39]
mov edx, dword [rbp - 0x35]
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], ecx
mov ecx, dword [rbp + 0x7f]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], ecx
lea rcx, str.K_tabletPressTarget_QGuiApplicationPrivate__2PAVQWindow__A
mov qword [rsp + 0x20], rbx
call fcn.18005dc40
mov r10, qword [rbp + 0x6f]
mov edi, 0x86
mov ebx, dword [rbp - 9]
xor r11d, r11d
lea esi, [rdi - 0x67]
jmp 0x18003b5a5
mov r14d, r11d
jmp case.0x18003ad76.71
mov eax, dword [0x180082420]
dec eax
mov dword [0x180082420], eax
cmp eax, 9
jg case.0x18003ad76.71
mov r9d, 0x11b
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x49]
call fcn.18000c470
mov r10, qword [rbp + 0x6f]
xor r11d, r11d
jmp 0x18003b5a5
lea rax, [rbp - 0x39]
mov dword [rbp - 0x49], r13d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x49]
lea rax, [rbp - 0x31]
mov r8d, 0x21
lea rdx, [rbp + 0x7f]
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x35]
call fcn.180059f80
mov r10, qword [rbp + 0x6f]
xor r11d, r11d
jmp 0x18003b5a5
mov eax, dword [rbp - 0x31]
lea rdx, [rbp - 0x49]
mov ecx, 0xf
mov dword [rbp - 0x49], eax
call fcn.18005b850
mov rsi, rax
lea rcx, [rbp - 0x49]
mov eax, dword [rbp + 0x7f]
mov edx, 4
mov dword [rbp - 0x49], eax
call fcn.18005c450
mov rdi, rax
lea rdx, [rbp - 0x41]
mov eax, dword [rbp - 0x39]
mov ecx, 0xf
mov dword [rbp - 0x41], eax
call fcn.18005b850
mov rbx, rax
lea rcx, [rbp - 0x41]
mov eax, dword [rbp - 0x35]
mov edx, 4
mov dword [rbp - 0x41], eax
call fcn.18005c450
mov ecx, dword [rbp - 0x31]
mov r8, rax
mov r9d, dword [rbp - 0x39]
mov edx, dword [rbp - 0x35]
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], ecx
mov ecx, dword [rbp + 0x7f]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], ecx
lea rcx, str.D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDSHADERBYTECODE
mov qword [rsp + 0x20], rbx
call fcn.18005dc40
mov r10, qword [rbp + 0x6f]
mov edi, 0x86
mov ebx, dword [rbp - 9]
xor r11d, r11d
lea esi, [rdi - 0x67]
jmp 0x18003b5a5
mov r15, qword [r10]
mov qword [rbp - 1], r15
jmp case.0x18003ad76.71
cmp dword [0x1800823a0], 0
jne 0x18003b3f3
mov r12d, 0xa4
nop word [rax + rax]
mov eax, r12d
sub eax, 0xa4
je 0x18003b313
sub eax, 1
je 0x18003b238
sub eax, 1
je 0x18003b168
cmp eax, 1
jne 0x18003b3e0
mov eax, dword [rbp - 0x31]
lea rdi, [r15 + 0x16]
mov dword [rbp - 0x29], eax
movzx edx, al
mov esi, 0x14
nop dword [rax + rax]
mov eax, esi
sub eax, 0xc
je 0x18003b10d
sub eax, 4
je 0x18003b0f5
sub eax, 1
je 0x18003b0df
cmp eax, 3
jne 0x18003b158
mov ecx, dword [rbp - 0x29]
mov eax, ecx
sar eax, 8
sar ecx, 0x10
mov byte [rdi + 2], cl
mov byte [rdi], dl
mov byte [rdi + 1], al
jmp 0x18003b158
mov eax, dword [pe_dos_header]
add dword [rbp - 0x25], eax
mov eax, dword [pe_dos_header]
add dword [rbp - 0x21], eax
jmp 0x18003b158
mov eax, dword [rdi]
test al, 1
movzx edx, dl
cmovne edx, r13d
mov byte [rbp - 0x29], dl
test al, 2
je 0x18003b158
mov byte [rbp - 0x28], 1
jmp 0x18003b158
mov rbx, rdi
test rdi, rdi
je 0x18003b158
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp - 0x29]
xor r8d, r8d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
test eax, eax
jne 0x18003b3d8
mov edx, dword [rbx + 0x18]
lea r9, [rbp - 0x29]
mov rcx, qword [rbx]
mov r8, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 1
jne 0x18003b3d8
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x18003b115
movzx edx, byte [rbp - 0x29]
inc esi
cmp esi, 0x18
jb 0x18003b0b0
jmp 0x18003b3e0
mov eax, dword [rbp + 0x7f]
lea rdi, [r15 + 0x19]
mov dword [rbp - 0x21], eax
movzx edx, al
mov esi, 0x14
nop word [rax + rax]
mov eax, esi
sub eax, 0xc
je 0x18003b1dd
sub eax, 4
je 0x18003b1c5
sub eax, 1
je 0x18003b1af
cmp eax, 3
jne 0x18003b228
mov ecx, dword [rbp - 0x21]
mov eax, ecx
sar eax, 8
sar ecx, 0x10
mov byte [rdi + 2], cl
mov byte [rdi], dl
mov byte [rdi + 1], al
jmp 0x18003b228
mov eax, dword [pe_dos_header]
add dword [rbp - 0x1d], eax
mov eax, dword [pe_dos_header]
add dword [rbp - 0x19], eax
jmp 0x18003b228
mov eax, dword [rdi]
test al, 1
movzx edx, dl
cmovne edx, r13d
mov byte [rbp - 0x21], dl
test al, 2
je 0x18003b228
mov byte [rbp - 0x20], 1
jmp 0x18003b228
mov rbx, rdi
test rdi, rdi
je 0x18003b228
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp - 0x21]
xor r8d, r8d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
test eax, eax
jne 0x18003b3d8
mov edx, dword [rbx + 0x18]
lea r9, [rbp - 0x21]
mov rcx, qword [rbx]
mov r8, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 1
jne 0x18003b3d8
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x18003b1e5
movzx edx, byte [rbp - 0x21]
inc esi
cmp esi, 0x18
jb 0x18003b180
jmp 0x18003b3e0
mov eax, dword [rbp - 0x39]
lea rdi, [r15 + 0x1c]
mov dword [rbp - 0x19], eax
movzx edx, al
mov esi, 0x14
nop word [rax + rax]
mov eax, esi
sub eax, 0xc
je 0x18003b2b0
sub eax, 4
je 0x18003b298
sub eax, 1
je 0x18003b282
cmp eax, 3
jne 0x18003b303
mov ecx, dword [rbp - 0x19]
mov eax, ecx
sar eax, 8
sar ecx, 0x10
mov byte [rdi + 2], cl
mov byte [rdi], dl
mov byte [rdi + 1], al
jmp 0x18003b303
mov eax, dword [pe_dos_header]
add dword [rbp - 0x15], eax
mov eax, dword [pe_dos_header]
add dword [rbp - 0x11], eax
jmp 0x18003b303
mov eax, dword [rdi]
test al, 1
movzx edx, dl
cmovne edx, r13d
mov byte [rbp - 0x19], dl
test al, 2
je 0x18003b303
mov byte [rbp - 0x18], 1
jmp 0x18003b303
mov rbx, rdi
test rdi, rdi
je 0x18003b303
nop dword [rax + rax]
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp - 0x19]
xor r8d, r8d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
test eax, eax
jne 0x18003b3d8
mov edx, dword [rbx + 0x18]
lea r9, [rbp - 0x19]
mov rcx, qword [rbx]
mov r8, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 1
jne 0x18003b3d8
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x18003b2c0
movzx edx, byte [rbp - 0x19]
inc esi
cmp esi, 0x18
jb 0x18003b250
jmp 0x18003b3e0
mov eax, dword [rbp - 0x35]
lea rdi, [r15 + 0x1f]
mov dword [rbp - 0x11], eax
movzx edx, al
mov esi, 0x14
mov eax, esi
sub eax, 0xc
je 0x18003b382
sub eax, 4
je 0x18003b36a
sub eax, 1
je 0x18003b354
cmp eax, 3
jne 0x18003b3cb
mov ecx, dword [rbp - 0x11]
mov eax, ecx
sar eax, 8
sar ecx, 0x10
mov byte [rdi + 2], cl
mov byte [rdi], dl
mov byte [rdi + 1], al
jmp 0x18003b3cb
mov eax, dword [pe_dos_header]
add dword [rbp - 0xd], eax
mov eax, dword [pe_dos_header]
add dword [rbp - 9], eax
jmp 0x18003b3cb
mov eax, dword [rdi]
test al, 1
movzx edx, dl
cmovne edx, r13d
mov byte [rbp - 0x11], dl
test al, 2
je 0x18003b3cb
mov byte [rbp - 0x10], 1
jmp 0x18003b3cb
mov rbx, rdi
test rdi, rdi
je 0x18003b3cb
nop word [rax + rax]
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp - 0x11]
xor r8d, r8d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fseeki64]
test eax, eax
jne 0x18003b3d8
mov edx, dword [rbx + 0x18]
lea r9, [rbp - 0x11]
mov rcx, qword [rbx]
mov r8, r13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rax, 1
jne 0x18003b3d8
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x18003b390
movzx edx, byte [rbp - 0x11]
inc esi
cmp esi, 0x18
jb 0x18003b325
jmp 0x18003b3e0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
inc r12d
cmp r12d, 0xa8
jb 0x18003b070
mov ebx, dword [rbp - 9]
cmp byte [r15 + 0xd], 0
mov ecx, dword [r15 + 0x28]
je 0x18003b449
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8d, dword [r15 + 0x24]
lea r9, [rbp - 0x41]
mov r13, rax
mov qword [rbp + 7], rax
mov eax, dword [r15 + 0xb8]
xor edx, edx
mov dword [rbp - 0x41], eax
mov rcx, r13
mov eax, dword [r15 + 0x28]
mov dword [rbp - 0x49], eax
mov rax, qword [rbp + 0x6f]
add r8, qword [rax + 8]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x11e
call fcn.18005cc60
jmp 0x18003b46e
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, dword [r15 + 0x24]
mov r13, rax
mov r8d, dword [r15 + 0x28]
mov rcx, r13
mov qword [rbp + 7], rax
mov rax, qword [rbp + 0x6f]
add rdx, qword [rax + 8]
call sub.VCRUNTIME140.dll_memcpy
mov r8, qword [rbp - 1]
xor r11d, r11d
mov r10, qword [rbp + 0x6f]
mov r15d, r11d
mov esi, dword [r8 + 0x2c]
lea edi, [r11 + 1]
add rsi, qword [r10 + 8]
mov edx, dword [r8 + 0x28]
test edx, 0xfffffffc
jbe 0x18003b5da
lea r12, [r13 + 2]
nop dword [rax]
mov ebx, r11d
cmp r11w, word [r12]
jae 0x18003b57d
movsxd rax, r15d
lea r13, [r13 + rax*4]
nop word [rax + rax]
movzx eax, word [r8]
mov edx, 0x86
cmp ax, dx
jb 0x18003b4e2
cmp dword [r8 + 0x8c], 0
je 0x18003b4e2
movzx ecx, word [r8 + 0x90]
jmp 0x18003b4e5
mov ecx, r11d
cmp ax, dx
jb 0x18003b512
cmp dword [r8 + 0x8c], 0
je 0x18003b512
movzx eax, word [r8 + 0x90]
imul eax, edi
movsxd r9, eax
mov eax, dword [r8 + 0x88]
add r9, rax
add r9, qword [r10 + 8]
jmp 0x18003b515
mov r9, r11
mov dword [rbp - 0x49], ecx
lea rax, [rbp - 0x49]
mov ecx, 0x63
mov qword [rsp + 0x28], r13
mov r8, r10
mov qword [rsp + 0x20], rax
mov rdx, rsi
call fcn.180038300
test eax, eax
jne 0x18003b5eb
mov r8, qword [rbp - 1]
mov eax, 0x10
mov r10, qword [rbp + 0x6f]
mov edx, dword [r8 + 0x28]
mov ecx, edx
shr ecx, 2
dec ecx
cmp r15d, ecx
mov ecx, 0xe
cmove eax, ecx
inc ebx
add rsi, rax
inc edi
movzx eax, word [r12]
lea r11d, [rcx - 0xe]
cmp ebx, eax
jl 0x18003b4c0
mov r13, qword [rbp + 7]
mov eax, edx
inc r15d
shr eax, 2
add r12, 4
cmp r15d, eax
jb 0x18003b4a0
mov ebx, dword [rbp - 9]
mov edi, 0x86
lea esi, [rdi - 0x67]
lea r13d, [rsi - 0x1e]
mov r15, qword [rbp - 1]
lea rdx, [0x180000000]
lea r8, [0x18006f810]
mov eax, dword [rbp + 0x67]
inc eax
mov dword [rbp + 0x67], eax
cmp eax, ebx
jb 0x18003ad60
mov eax, r14d
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov edi, 0x86
mov r15, r8
lea esi, [rdi - 0x67]
lea r13d, [rsi - 0x1e]
jmp 0x18003b5a5
mov eax, 1
jmp 0x18003b5c6