Function at 0x140073ac0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rdi, qword [rcx + 0x20]
mov rsi, rcx
test rdi, rdi
jne 0x140073af0
lea eax, [rdi - 1]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
movsxd rax, dword [0x1401bb004]
imul rcx, rax, 0x38
mov rax, qword [0x140175020]
test dword [rcx + rax + 0x18], 0x200
je 0x140073b3c
mov r8, qword [rcx + rax]
lea rcx, str._s_MONITOR:_s:
mov rdx, qword [section..data]
call fcn.140002310
lea rcx, str.Checking_Face:_n
call fcn.140001fb0
mov edx, 2
mov rcx, rsi
call fcn.140082b40
test byte [rdi + 0x38], 2
je 0x140073c7c
cmp byte [rdi + 0x3c], 5
jne 0x140073c7c
mov rbx, qword [rsi + 0x30]
mov rcx, rbx
test rbx, rbx
je 0x140073b8c
nop dword [rax]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140073c55
nop dword [rax]
cmp qword [rax + 0x18], 0
jne 0x140073c55
mov rax, qword [rax]
test rax, rax
jne 0x140073b70
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x140073b60
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov word [rsp + 0x29], 1
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
mov rbx, qword [rbx + 0x18]
test rbx, rbx
je 0x140073bfa
nop dword [rax + rax]
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140073bf2
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140073bf2
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x20]
movzx eax, byte [rbx + 0x28]
mov byte [rsp + 0x28], al
movzx edx, byte [rbx + 0x28]
call fcn.1400a21a0
cmp eax, 0xffffffff
je 0x140073c55
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140073bc0
lea r9, [rsp + 0x80]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400a2d30
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.1400a3540
cmp ebx, 4
jge 0x140073c29
mov ebx, 0xffffffff
jmp 0x140073c3e
mov r8, qword [rsp + 0x80]
mov edx, ebx
mov rcx, qword [rsi + 0x20]
call fcn.1400746c0
mov ebx, eax
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140073c51
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test ebx, ebx
je 0x140073c7c
lea r8, str.Failed_to_calculate_plane_definition_of_face_n
mov edx, 3
mov ecx, 0x2367
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
jmp fcn.140001480
cmp dword [0x1401bafe4], 0
mov qword [rsp + 0x88], rbp
je 0x140073dcd
cmp byte [rdi + 0x3c], 4
je 0x140073dcd
cmp qword [rsi + 0x28], 0
jne 0x140073dcd
mov rcx, rdi
call fcn.140062330
mov rbx, rax
test rax, rax
je 0x140073dcd
mov r8, qword [rsi + 0x30]
test r8, r8
je 0x140073ce8
mov rdx, qword [r8 + 0x18]
test rdx, rdx
je 0x140073cdf
nop dword [rax]
cmp qword [rdx + 0x18], 0
jne 0x140073cf9
mov rdx, qword [rdx]
test rdx, rdx
jne 0x140073cd0
mov r8, qword [r8 + 8]
test r8, r8
jne 0x140073cc3
mov rcx, rdi
call fcn.1400608d0
mov qword [rsi + 0x20], rbx
inc byte [rbx + 0x3d]
xor ebx, ebx
mov rcx, rsi
call fcn.14006cc10
mov ebp, eax
test rbx, rbx
je 0x140073dd7
test eax, eax
jne 0x140073dc3
mov qword [rsi + 0x28], rbx
mov rcx, rsi
inc byte [rbx + 0x3d]
call fcn.1400742a0
cmp eax, 0xffffffff
je 0x140073d85
lea rcx, str.Optimized_surface___generated_ps_trim_n
call fcn.140001fb0
mov rdi, qword [rsi + 0x28]
test rdi, rdi
je 0x140073d91
mov rbx, qword [rsi + 0x30]
test rbx, rbx
je 0x140073d5b
mov rcx, rbx
call fcn.140073910
test eax, eax
jne 0x140073d69
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x140073d46
mov rax, qword [rsi + 0x20]
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x20], rdi
jmp 0x140073d91
mov rdi, qword [rsi + 0x30]
cmp rdi, rbx
je 0x140073d91
mov rcx, rdi
call fcn.140073910
mov rdi, qword [rdi + 8]
cmp rdi, rbx
jne 0x140073d72
jmp 0x140073d91
lea rcx, str.Optimized_surface___failed_to_generated_ps_trim_n
call fcn.140001fb0
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x140073da7
call fcn.1400608d0
mov qword [rsi + 0x28], 0
mov rbx, qword [rsi + 0x30]
test rbx, rbx
je 0x140073dd7
mov rcx, rbx
call fcn.140070da0
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x140073db0
jmp 0x140073dd7
mov rcx, rbx
call fcn.1400608d0
jmp 0x140073dd7
mov rcx, rsi
call fcn.14006cc10
mov ebp, eax
lea r11, [rsp + 0x70]
mov eax, ebp
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rbp, qword [rsp + 0x88]
mov rsp, r11
pop rdi
ret