Function at 0x140038758
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x220
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400e8708]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov r15, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdx
lea r14, [rcx + 0x40]
mov qword [rsp + 0x30], r14
movups xmm0, xmmword [0x1400c4380]
movups xmmword [r14], xmm0
movups xmm1, xmmword [0x1400c4390]
movups xmmword [r14 + 0x10], xmm1
movups xmm0, xmmword [0x1400c43a0]
movups xmmword [r14 + 0x20], xmm0
movups xmm1, xmmword [0x1400c43b0]
movups xmmword [r14 + 0x30], xmm1
and qword [rsp + 0x28], 0
mov rax, qword [rdx]
lea r8, [rsp + 0x28]
mov r13d, 1
mov edx, r13d
mov rcx, r15
mov rax, qword [rax + 0x88]
call qword [str.___n_]
test eax, eax
js 0x140038849
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [str.___n_]
cmp rax, 0x40
jne 0x140038849
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [str.___n_]
movups xmm0, xmmword [rax]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r14 + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [r14 + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [r14 + 0x30], xmm1
mov byte [rsp + 0x21], 0
movaps xmm0, xmmword [0x1400b5f30]
movaps xmm1, xmmword [0x1400b5f00]
movaps xmm2, xmmword [0x1400b5f40]
movaps xmm3, xmmword [0x1400b5f80]
movups xmmword [rdi], xmm0
lea r12, [rdi + 0x10]
mov qword [rsp + 0x48], r12
movups xmmword [r12], xmm1
lea rax, [rdi + 0x20]
mov qword [rsp + 0x50], rax
movups xmmword [rax], xmm2
lea rax, [rdi + 0x30]
mov qword [rsp + 0x58], rax
movups xmmword [rax], xmm3
movups xmm0, xmmword [0x1400c4350]
movups xmmword [rdi + 0x80], xmm0
movups xmm1, xmmword [0x1400c4360]
movups xmmword [rdi + 0x90], xmm1
mov eax, dword [0x1400c4370]
mov dword [rdi + 0xa0], eax
mov rax, qword [r15]
mov rsi, qword [rax + 0x88]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400388e2
and qword [rsp + 0x28], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str.___n_]
lea r8, [rsp + 0x28]
mov edx, 0x3e8
mov rcx, r15
mov rax, rsi
call qword [str.___n_]
test eax, eax
js 0x140038d4d
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [str.___n_]
test rax, rax
je 0x140038d4d
xor r12b, r12b
mov byte [rsp + 0x20], r12b
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [str.___n_]
movdqa xmm0, xmmword [0x1400c1a80]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], r12b
or rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], 0
jne 0x14003894c
lea rcx, [rsp + 0x68]
cmp rsi, 0xf
ja 0x140038977
mov qword [rsp + 0x78], rsi
mov r8, rsi
mov rdx, rax
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
mov byte [rsp + rsi + 0x68], 0
jmp 0x140038983
mov r9, rax
mov rdx, rsi
call fcn.14003b478
nop
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xd0]
call fcn.140039270
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 0x10
jb 0x1400389d9
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400389d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400389d4
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a0df8
test r12b, r12b
jne 0x140038cc8
mov rax, qword [rsp + 0xd0]
movsxd rcx, dword [rax + 4]
cmp dword [rsp + rcx + 0xe0], 0
jne 0x140038cc8
mov byte [rsp + 0x22], r12b
and qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0xf
mov byte [rsp + 0x68], r12b
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xd0]
call fcn.140039ee8
mov rax, qword [rsp + 0xd0]
movsxd rcx, dword [rax + 4]
mov rsi, qword [rsp + 0x68]
cmp dword [rsp + rcx + 0xe0], 0
jne 0x140038ac1
lea rcx, [rsp + 0x68]
mov rax, qword [rsp + 0x80]
cmp rax, 0x10
cmovae rcx, rsi
cmp qword [rsp + 0x78], 4
jne 0x140038a8a
mov r8d, 4
lea rdx, str.DSLR
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
jne 0x140038a82
mov r12b, r13b
mov byte [rsp + 0x22], r13b
jmp 0x140038ac1
mov rax, qword [rsp + 0x80]
lea rcx, [rsp + 0x68]
cmp rax, 0x10
cmovae rcx, rsi
cmp qword [rsp + 0x78], 9
jne 0x140038ac1
mov r8d, 9
lea rdx, str.PV_CAMERA
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
jne 0x140038ac1
movzx r12d, r12b
cmp byte [rsp + 0x21], al
cmove r12d, r13d
test r12b, r12b
je 0x140038c7d
lea rdx, str.Rotation_3x3
lea rcx, [rsp + 0xd0]
call fcn.140038658
test al, al
je 0x140038c7d
mov r8d, 9
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xd0]
call fcn.1400385e8
test al, al
je 0x140038c7d
lea rdx, str.Translation_1x3
lea rcx, [rsp + 0xd0]
call fcn.140038658
test al, al
je 0x140038c7d
mov r8d, 3
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0xd0]
call fcn.1400385e8
test al, al
je 0x140038c7d
lea rdx, str.Intrinsics_1x9
lea rcx, [rsp + 0xd0]
call fcn.140038658
test al, al
je 0x140038c7d
mov r8d, 9
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0xd0]
call fcn.1400385e8
test al, al
je 0x140038c7d
mov byte [rsp + 0x21], r13b
mov r12b, byte [rsp + 0x22]
mov byte [rsp + 0x20], r12b
movss xmm0, dword [rsp + 0x90]
movss dword [rdi], xmm0
movss xmm1, dword [rsp + 0x9c]
movss dword [rdi + 4], xmm1
movss xmm0, dword [rsp + 0xa8]
movss dword [rdi + 8], xmm0
and dword [rdi + 0xc], 0
movss xmm1, dword [rsp + 0x94]
movss dword [rdi + 0x10], xmm1
movss xmm0, dword [rsp + 0xa0]
movss dword [rdi + 0x14], xmm0
movss xmm1, dword [rsp + 0xac]
movss dword [rdi + 0x18], xmm1
and dword [rdi + 0x1c], 0
movss xmm0, dword [rsp + 0x98]
movss dword [rdi + 0x20], xmm0
movss xmm1, dword [rsp + 0xa4]
movss dword [rdi + 0x24], xmm1
movss xmm0, dword [rsp + 0xb0]
movss dword [rdi + 0x28], xmm0
and dword [rdi + 0x2c], 0
movss xmm1, dword [rsp + 0x1c0]
movss dword [rdi + 0x30], xmm1
movss xmm0, dword [rsp + 0x1c4]
movss dword [rdi + 0x34], xmm0
movss xmm1, dword [rsp + 0x1c8]
movss dword [rdi + 0x38], xmm1
mov dword [rdi + 0x3c], 0x3f800000
movups xmm0, xmmword [rsp + 0x1d0]
movups xmmword [rdi + 0x80], xmm0
movups xmm1, xmmword [rsp + 0x1e0]
movups xmmword [rdi + 0x90], xmm1
mov eax, dword [rsp + 0x1f0]
mov dword [rdi + 0xa0], eax
jmp 0x140038c82
mov r12b, byte [rsp + 0x20]
mov rax, qword [rsp + 0x80]
cmp rax, 0x10
jb 0x1400389d9
lea rdx, [rax + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140038cc0
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038cc0
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
jmp 0x1400389d4
mov rax, qword [rsp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, [0x1400ab380]
mov qword [rsp + rcx + 0xd0], rax
mov rax, qword [rsp + 0xd0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0xcc], edx
lea rcx, [rsp + 0xe0]
call fcn.1400398cc
lea rcx, [rsp + 0xe8]
call qword [sym.imp.msvcp_win.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x160]
call qword [sym.imp.msvcp_win.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
jmp 0x140038d3d
cmp byte [rsp + 0x21], 0
jne 0x140038e2f
mov r12, qword [rsp + 0x48]
mov rax, qword [r15]
lea rdx, [rsp + 0xd0]
mov rcx, r15
mov rax, qword [rax + 0x48]
call qword [str.___n_]
cmp dword [rsp + 0xf0], 9
jb 0x140038e2f
mov eax, dword [rsp + 0xec]
dec eax
cmp eax, r13d
ja 0x140038e2f
movups xmm3, xmmword [r14]
movups xmm2, xmmword [r14 + 0x10]
movups xmm1, xmmword [r14 + 0x20]
movups xmm0, xmmword [r14 + 0x30]
movaps xmmword [rsp + 0x1d0], xmm3
movaps xmmword [rsp + 0x1e0], xmm2
movaps xmmword [rsp + 0x1f0], xmm1
movaps xmmword [rsp + 0x200], xmm0
mov rax, qword [r15]
lea rdx, [rsp + 0x90]
mov rcx, r15
mov rax, qword [rax + 0x40]
call qword [str.___n_]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmm3, xmmword [rax + 0x30]
lea rcx, [rsp + 0x1d0]
call fcn.14003b2fc
movups xmmword [rdi], xmm0
movups xmmword [r12], xmm1
mov rax, qword [rsp + 0x50]
movups xmmword [rax], xmm2
mov rax, qword [rsp + 0x58]
movups xmmword [rax], xmm3
movups xmm0, xmmword [rsp + 0xf4]
movups xmmword [rdi + 0x80], xmm0
movups xmm1, xmmword [rsp + 0x104]
movups xmmword [rdi + 0x90], xmm1
mov eax, dword [rsp + 0x114]
mov dword [rdi + 0xa0], eax
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140038e4c
and qword [rsp + 0x28], 0
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [str.___n_]
mov rax, rdi
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.1400a0800
mov rsi, qword [rsp + 0x260]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
ret