Function at 0x1400385a8
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 [0x1400e7708]
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 [0x1400c32e0]
movups xmmword [r14], xmm0
movups xmm1, xmmword [0x1400c32f0]
movups xmmword [r14 + 0x10], xmm1
movups xmm0, xmmword [0x1400c3300]
movups xmmword [r14 + 0x20], xmm0
movups xmm1, xmmword [0x1400c3310]
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 [case.0x1400a0b76.0]
test eax, eax
js 0x140038699
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400a0b76.0]
cmp rax, 0x40
jne 0x140038699
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a0b76.0]
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 [0x1400b4f10]
movaps xmm1, xmmword [0x1400b4ee0]
movaps xmm2, xmmword [0x1400b4f20]
movaps xmm3, xmmword [0x1400b4f60]
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 [0x1400c32b0]
movups xmmword [rdi + 0x80], xmm0
movups xmm1, xmmword [0x1400c32c0]
movups xmmword [rdi + 0x90], xmm1
mov eax, dword [0x1400c32d0]
mov dword [rdi + 0xa0], eax
mov rax, qword [r15]
mov rsi, qword [rax + 0x88]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140038732
and qword [rsp + 0x28], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400a0b76.0]
lea r8, [rsp + 0x28]
mov edx, 0x3e8
mov rcx, r15
mov rax, rsi
call qword [case.0x1400a0b76.0]
test eax, eax
js 0x140038b9d
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400a0b76.0]
test rax, rax
je 0x140038b9d
xor r12b, r12b
mov byte [rsp + 0x20], r12b
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x1400a0b76.0]
movdqa xmm0, xmmword [0x1400c09e0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], r12b
or rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], 0
jne 0x14003879c
lea rcx, [rsp + 0x68]
cmp rsi, 0xf
ja 0x1400387c7
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 0x1400387d3
mov r9, rax
mov rdx, rsi
call fcn.14003b2c8
nop
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xd0]
call fcn.1400390c0
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 0x10
jb 0x140038829
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038824
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038824
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a07d8
test r12b, r12b
jne 0x140038b18
mov rax, qword [rsp + 0xd0]
movsxd rcx, dword [rax + 4]
cmp dword [rsp + rcx + 0xe0], 0
jne 0x140038b18
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.140039d38
mov rax, qword [rsp + 0xd0]
movsxd rcx, dword [rax + 4]
mov rsi, qword [rsp + 0x68]
cmp dword [rsp + rcx + 0xe0], 0
jne 0x140038911
lea rcx, [rsp + 0x68]
mov rax, qword [rsp + 0x80]
cmp rax, 0x10
cmovae rcx, rsi
cmp qword [rsp + 0x78], 4
jne 0x1400388da
mov r8d, 4
lea rdx, str.DSLR
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
jne 0x1400388d2
mov r12b, r13b
mov byte [rsp + 0x22], r13b
jmp 0x140038911
mov rax, qword [rsp + 0x80]
lea rcx, [rsp + 0x68]
cmp rax, 0x10
cmovae rcx, rsi
cmp qword [rsp + 0x78], 9
jne 0x140038911
mov r8d, 9
lea rdx, str.PV_CAMERA
call sub.api_ms_win_crt_private_l1_1_0.dll_memcmp
test eax, eax
jne 0x140038911
movzx r12d, r12b
cmp byte [rsp + 0x21], al
cmove r12d, r13d
test r12b, r12b
je 0x140038acd
lea rdx, str.Rotation_3x3
lea rcx, [rsp + 0xd0]
call fcn.1400384a8
test al, al
je 0x140038acd
mov r8d, 9
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xd0]
call fcn.140038438
test al, al
je 0x140038acd
lea rdx, str.Translation_1x3
lea rcx, [rsp + 0xd0]
call fcn.1400384a8
test al, al
je 0x140038acd
mov r8d, 3
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0xd0]
call fcn.140038438
test al, al
je 0x140038acd
lea rdx, str.Intrinsics_1x9
lea rcx, [rsp + 0xd0]
call fcn.1400384a8
test al, al
je 0x140038acd
mov r8d, 9
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0xd0]
call fcn.140038438
test al, al
je 0x140038acd
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 0x140038ad2
mov r12b, byte [rsp + 0x20]
mov rax, qword [rsp + 0x80]
cmp rax, 0x10
jb 0x140038829
lea rdx, [rax + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140038b10
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038b10
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
jmp 0x140038824
mov rax, qword [rsp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, [0x1400aa380]
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.14003971c
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 0x140038b8d
cmp byte [rsp + 0x21], 0
jne 0x140038c7f
mov r12, qword [rsp + 0x48]
mov rax, qword [r15]
lea rdx, [rsp + 0xd0]
mov rcx, r15
mov rax, qword [rax + 0x48]
call qword [case.0x1400a0b76.0]
cmp dword [rsp + 0xf0], 9
jb 0x140038c7f
mov eax, dword [rsp + 0xec]
dec eax
cmp eax, r13d
ja 0x140038c7f
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 [case.0x1400a0b76.0]
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.14003b14c
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 0x140038c9c
and qword [rsp + 0x28], 0
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x1400a0b76.0]
mov rax, rdi
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.1400a01e0
mov rsi, qword [rsp + 0x260]
add rsp, 0x220
pop r15
pop r14
pop r13
pop r12
pop rdi
ret