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

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4f0
mov qword [rax - 0x478], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1806c4cd8]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov byte [rsp + 0x31], dl
movsxd rax, ecx
mov dword [rsp + 0x50], eax
cmp eax, 1
jne 0x180497b00
lea rbp, [0x1806f83c0]
lea r15, [0x1806f63c0]
lea r12d, [rax + 1]
jmp 0x180497b36
cmp eax, 2
jne 0x180497b19
lea rbp, [0x18074c400]
lea r15, [0x180704400]
lea r12d, [rax + 2]
jmp 0x180497b36
cmp eax, 4
jne 0x180497f62
lea rbp, [0x18070c400]
lea r15, [0x1806d63c0]
mov r12d, 8
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x34], r12d
mov qword [rsp + 0x90], rax
lea rdx, [0x18075d100]
cmp byte [rax + rdx], 0
jne 0x180497f25
lea rcx, [rsp + 0xc0]
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xb8], 0x108
mov qword [rsp + 0xb8], 0x100
mov rdx, qword [rsp + 0xb0]
mov ecx, eax
call fcn.180497fb0
xor r8d, r8d
mov dword [rsp + 0x3c], r8d
mov ecx, r12d
mov eax, r12d
neg rax
shl rax, 2
mov qword [rsp + 0x80], rax
lea r14, [rcx + rcx]
mov qword [rsp + 0x40], r14
mov eax, r12d
mov qword [rsp + 0x78], rax
mov edx, r12d
imul edx, r12d
mov qword [rsp + 0x88], rdx
lea rdx, [0x1806d5bc1]
lea r13, [rcx*4]
mov qword [rsp + 0x60], r13
mov r9, qword [rsp + 0xb0]
mov qword [rsp + 0x58], r9
movss xmm3, dword [0x1806019d4]
nop word [rax + rax]
xor eax, eax
mov dword [rsp + 0x38], eax
cmp r8d, 0x10
setl r10b
mov byte [rsp + 0x30], r10b
xor ecx, ecx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdx
nop
xor r8d, r8d
cmp eax, 0x10
setl al
mov byte [rdx - 1], al
mov byte [rdx], r10b
mov rbx, rbp
mov rdi, r15
mov rsi, r9
mov r11, rcx
sub r11, rbp
add r11, qword [rsp + 0xb0]
mov r12, qword [rsp + 0x78]
mov rbp, r12
nop
movss xmm2, dword [rsi]
mov r9, rdi
mov rdx, rbx
mov r10, r12
mov r14d, 0x7fff
movaps xmm1, xmm2
mulss xmm1, dword [r11 + rdx]
movss dword [rdx], xmm1
mulss xmm1, xmm3
cvtss2si ecx, xmm1
lea eax, [rcx + 0x8000]
cmp eax, 0xffff
jbe 0x180497c94
mov eax, 0xffff8000
test ecx, ecx
cmovg ax, r14w
movzx ecx, ax
mov word [r9], cx
movsx eax, cx
add r8d, eax
mov eax, r8d
add rdx, 4
add r9, 2
sub r10, 1
jne 0x180497c63
add rsi, 4
add rdi, qword [rsp + 0x40]
add rbx, r13
add r11, qword [rsp + 0x80]
sub rbp, 1
jne 0x180497c50
cmp eax, 0x8000
mov r12d, dword [rsp + 0x34]
je 0x180497d90
lea r13d, [r8 - 0x8000]
mov r14d, r12d
shr r14d, 1
mov r10d, r14d
mov ebx, r14d
mov r11d, r14d
mov edi, r14d
mov r9d, r14d
lea esi, [r14 + 2]
cmp r14d, esi
jae 0x180497d6b
mov ecx, r14d
imul ecx, r12d
mov eax, r12d
shr rax, 1
add rcx, rax
lea rbp, [r15 + rcx*2]
mov ecx, r14d
mov r8, rbp
nop dword [rax + rax]
movzx edx, word [r8]
mov eax, r11d
imul eax, r12d
add eax, edi
cdqe
cmp dx, word [r15 + rax*2]
jge 0x180497d3d
mov r11d, r9d
mov edi, ecx
jmp 0x180497d54
mov eax, r10d
imul eax, r12d
add eax, ebx
cdqe
cmp dx, word [r15 + rax*2]
jle 0x180497d54
mov r10d, r9d
mov ebx, ecx
inc ecx
add r8, 2
cmp ecx, esi
jl 0x180497d20
inc r9d
add rbp, qword [rsp + 0x40]
cmp r9d, esi
jl 0x180497d12
test r13d, r13d
jns 0x180497d7c
imul r10d, r12d
add r10d, ebx
movsxd rax, r10d
jmp 0x180497d86
imul r11d, r12d
lea eax, [rdi + r11]
cdqe
sub word [r15 + rax*2], r13w
mov r13, qword [rsp + 0x60]
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x68]
add rcx, r13
mov qword [rsp + 0x68], rcx
mov rdx, qword [rsp + 0x70]
add rdx, 2
mov qword [rsp + 0x70], rdx
mov rbp, qword [rsp + 0x48]
mov r11, qword [rsp + 0x88]
lea r8, [r11*4]
add rbp, r8
mov qword [rsp + 0x48], rbp
lea r15, [r15 + r11*2]
cmp eax, 0x20
mov r9, qword [rsp + 0x58]
movzx r10d, byte [rsp + 0x30]
jl 0x180497c20
mov r8d, dword [rsp + 0x3c]
inc r8d
mov dword [rsp + 0x3c], r8d
add r9, r13
mov qword [rsp + 0x58], r9
cmp r8d, 0x20
jl 0x180497c00
shl r11d, 0xa
mov ecx, r11d
mov eax, r11d
neg rax
lea rbp, [rbp + rax*4]
neg rcx
lea r15, [r15 + rcx*2]
cmp dword [rsp + 0x50], 1
jne 0x180497edc
lea rcx, [0x1806f63c2]
mov rdx, qword [0x1806d5718]
add rdx, 0x1c
lea r8, [0x1806f83c2]
nop word [rax + rax]
movzx eax, word [rcx - 2]
mov word [rdx - 0x1c], ax
movzx eax, word [rcx]
mov word [rdx - 0x1a], ax
movzx eax, word [rcx + 2]
mov word [rdx - 0xc], ax
movzx eax, word [rcx + 4]
mov word [rdx - 0xa], ax
movzx eax, word [rcx - 2]
mov word [rdx - 0x18], ax
movzx eax, word [rcx]
mov word [rdx - 0x16], ax
movzx eax, word [rcx + 2]
mov word [rdx - 8], ax
movzx eax, word [rcx + 4]
mov word [rdx - 6], ax
movzx eax, word [rcx - 2]
mov word [rdx - 0x14], ax
movzx eax, word [rcx]
mov word [rdx - 0x12], ax
movzx eax, word [rcx + 2]
mov word [rdx - 4], ax
movzx eax, word [rcx + 4]
mov word [rdx - 2], ax
movzx eax, word [rcx - 2]
mov word [rdx - 0x10], ax
movzx eax, word [rcx]
mov word [rdx - 0xe], ax
movzx eax, word [rcx + 2]
mov word [rdx], ax
movzx eax, word [rcx + 4]
mov word [rdx + 2], ax
add rcx, 8
lea rdx, [rdx + 0x20]
cmp rcx, r8
jl 0x180497e50
mov rax, qword [rsp + 0x90]
lea rcx, [0x18075d100]
mov byte [rax + rcx], 1
lea rax, [rsp + 0xc0]
mov rcx, qword [rsp + 0xb0]
cmp rcx, rax
je 0x180497f25
call fcn.180468ddc
lea rax, [rsp + 0xc0]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], 0x108
cmp byte [rsp + 0x31], 0
cmovne rbp, r15
mov rax, rbp
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.1804688c0
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rdx, str.Unknown_unsupported_interpolation_type
lea rcx, [rsp + 0x90]
call fcn.18014ce20
nop
mov dword [rsp + 0x20], 0xe0
lea r9, str.e:zhanlue_rcimage_vendordependsopencvmodulesimgproc_srcimgwarp.cpp
lea r8, str.cv::initInterTab2D
lea rdx, [rsp + 0x90]
mov ecx, 0xfffffffb
call fcn.1804afa50
int3