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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x530
mov rax, qword [0x1400ee100]
xor rax, rsp
mov qword [rsp + 0x520], rax
mov eax, dword [rsp + 0x548]
imul eax, dword [rsp + 0x540]
mov dword [rsp + 0x54], eax
cmp qword [rsp + 0x550], 0
je 0x1400234a9
cmp qword [rsp + 0x560], 0
jne 0x14002353e
call qword [sym.imp.util.dll_get_external_trace_mask]
test eax, eax
jl 0x14002352d
mov r8d, 0x400
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x100]
call qword [sym.imp.util.dll_public:_void___cdecl_CCmTextFormator::constructor_char____ptr64__unsigned_int____ptr64]
nop
lea rdx, str.MotionDetect_getMaskEdge:_Pointer_is_empty
lea rcx, [rsp + 0x100]
call qword [sym.imp.util.dll_public:_class_CCmTextFormator____ptr64___cdecl_CCmTextFormator::operator___char_const____ptr64____ptr64]
mov rcx, rax
call qword [sym.imp.util.dll_public:_char____ptr64___cdecl_CCmTextFormator::operator_char____ptr64_void____ptr64]
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0x100]
call qword [sym.imp.util.dll_public:_unsigned_int___cdecl_CCmTextFormator::tell_void_const___ptr64]
mov r9d, eax
mov r8, qword [rsp + 0xc8]
lea rdx, [0x1400d4974]
xor ecx, ecx
call qword [sym.imp.util.dll_util_adapter_trace]
nop
lea rcx, [rsp + 0x100]
call qword [sym.imp.util.dll_public_virtual:_void___cdecl_CCmTextFormator::destructor_void____ptr64]
xor eax, eax
test eax, eax
jne 0x1400234a9
xor al, al
jmp 0x140023c04
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov edx, 0x18
lea rcx, [rsp + 0xe8]
call fcn.140008de0
mov dword [rsp + 0x8c], 0
lea rcx, [rsp + 0x51]
call fcn.140008510
movsxd rcx, dword [rsp + 0x54]
mov r9, rax
lea r8, [rsp + 0x8c]
mov rdx, rcx
lea rcx, [rsp + 0xe8]
call fcn.140023c90
nop
movsxd rax, dword [rsp + 0x54]
mov rcx, rax
call fcn.14004f8a4
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], 0
jmp 0x1400235cd
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x40], eax
jge 0x140023606
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x550]
movzx eax, byte [rcx + rax]
mov edx, eax
lea rcx, [rsp + 0xe0]
call fcn.140023c20
movsxd rcx, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov byte [rdx + rcx], al
jmp 0x1400235c3
mov dword [rsp + 0x38], 0
jmp 0x14002361a
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x548]
cmp dword [rsp + 0x38], eax
jge 0x140023881
mov eax, dword [rsp + 0x38]
imul eax, dword [rsp + 0x540]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x38]
dec eax
imul eax, dword [rsp + 0x540]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x38], 0
jne 0x14002372d
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x48]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x90], eax
movsxd rcx, dword [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0xe8]
call fcn.140023c40
mov ecx, dword [rsp + 0x90]
mov dword [rax], ecx
mov dword [rsp + 0x3c], 1
jmp 0x14002369f
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x540]
cmp dword [rsp + 0x3c], eax
jge 0x140023728
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0x48]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x94], eax
mov ecx, dword [rsp + 0x28]
mov edx, dword [rsp + 0x3c]
lea ecx, [rcx + rdx - 1]
movsxd rcx, ecx
mov rdx, rcx
lea rcx, [rsp + 0xe8]
call fcn.140023c40
mov ecx, dword [rsp + 0x94]
add ecx, dword [rax]
mov eax, ecx
mov dword [rsp + 0x98], eax
mov ecx, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x28]
add edx, ecx
mov ecx, edx
movsxd rcx, ecx
mov rdx, rcx
lea rcx, [rsp + 0xe8]
call fcn.140023c40
mov ecx, dword [rsp + 0x98]
mov dword [rax], ecx
jmp 0x140023695
jmp 0x14002387c
movsxd rax, dword [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.140023c40
movsxd rcx, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x48]
movzx ecx, byte [rdx + rcx]
add ecx, dword [rax]
mov eax, ecx
mov dword [rsp + 0x9c], eax
movsxd rcx, dword [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0xe8]
call fcn.140023c40
mov ecx, dword [rsp + 0x9c]
mov dword [rax], ecx
mov dword [rsp + 0x30], 1
jmp 0x14002378d
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x540]
cmp dword [rsp + 0x30], eax
jge 0x14002387c
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
cdqe
mov rcx, qword [rsp + 0x48]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0xa0], eax
mov ecx, dword [rsp + 0x28]
mov edx, dword [rsp + 0x30]
lea ecx, [rcx + rdx - 1]
movsxd rcx, ecx
mov rdx, rcx
lea rcx, [rsp + 0xe8]
call fcn.140023c40
mov ecx, dword [rsp + 0xa0]
add ecx, dword [rax]
mov eax, ecx
mov dword [rsp + 0xa4], eax
mov ecx, dword [rsp + 0x30]
mov edx, dword [rsp + 0x58]
add edx, ecx
mov ecx, edx
movsxd rcx, ecx
mov rdx, rcx
lea rcx, [rsp + 0xe8]
call fcn.140023c40
mov ecx, dword [rsp + 0xa4]
add ecx, dword [rax]
mov eax, ecx
mov dword [rsp + 0xa8], eax
mov ecx, dword [rsp + 0x58]
mov edx, dword [rsp + 0x30]
lea ecx, [rcx + rdx - 1]
movsxd rcx, ecx
mov rdx, rcx
lea rcx, [rsp + 0xe8]
call fcn.140023c40
mov ecx, dword [rsp + 0xa8]
sub ecx, dword [rax]
mov eax, ecx
mov dword [rsp + 0xac], eax
mov ecx, dword [rsp + 0x30]
mov edx, dword [rsp + 0x28]
add edx, ecx
mov ecx, edx
movsxd rcx, ecx
mov rdx, rcx
lea rcx, [rsp + 0xe8]
call fcn.140023c40
mov ecx, dword [rsp + 0xac]
mov dword [rax], ecx
jmp 0x140023783
jmp 0x140023610
mov rax, qword [rsp + 0x558]
mov dword [rax], 0
mov dword [rsp + 0x2c], 2
mov dword [rsp + 0x24], 0
jmp 0x1400238ab
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x548]
cmp dword [rsp + 0x24], eax
jge 0x140023ba4
mov dword [rsp + 0x20], 0
jmp 0x1400238d0
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x540]
cmp dword [rsp + 0x20], eax
jge 0x140023b9f
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x20], eax
jge 0x1400238f5
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x78], eax
jmp 0x1400238fd
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x24], eax
jge 0x140023919
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x7c], eax
jmp 0x140023921
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x540]
sub ecx, eax
mov eax, ecx
dec eax
cmp eax, dword [rsp + 0x2c]
jge 0x14002395a
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x540]
sub ecx, eax
mov eax, ecx
dec eax
mov dword [rsp + 0x80], eax
jmp 0x140023965
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x548]
sub ecx, eax
mov eax, ecx
dec eax
cmp eax, dword [rsp + 0x2c]
jge 0x1400239a1
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x548]
sub ecx, eax
mov eax, ecx
dec eax
mov dword [rsp + 0x84], eax
jmp 0x1400239ac
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x24]
imul eax, dword [rsp + 0x540]
add eax, dword [rsp + 0x20]
mov dword [rsp + 0xb8], eax
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x44], 0xffffffff
mov dword [rsp + 0x5c], 0xffffffff
mov dword [rsp + 0x60], 0xffffffff
mov dword [rsp + 0x88], 0xffffffff
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
imul eax, dword [rsp + 0x540]
add eax, dword [rsp + 0x20]
add eax, dword [rsp + 0x64]
cdqe
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.140023c40
mov eax, dword [rax]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x20], eax
jg 0x140023a4c
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x44], 0
jmp 0x140023a82
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
imul eax, dword [rsp + 0x540]
add eax, dword [rsp + 0x20]
sub eax, dword [rsp + 0x68]
dec eax
cdqe
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.140023c40
mov eax, dword [rax]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x24], eax
jg 0x140023a9e
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x44], 0
jmp 0x140023ad4
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
dec eax
imul eax, dword [rsp + 0x540]
add eax, dword [rsp + 0x20]
add eax, dword [rsp + 0x64]
cdqe
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.140023c40
mov eax, dword [rax]
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x44], 0
je 0x140023b13
mov eax, dword [rsp + 0x70]
mov ecx, dword [rsp + 0x24]
sub ecx, eax
mov eax, ecx
dec eax
imul eax, dword [rsp + 0x540]
add eax, dword [rsp + 0x20]
sub eax, dword [rsp + 0x68]
dec eax
cdqe
mov rdx, rax
lea rcx, [rsp + 0xe8]
call fcn.140023c40
mov eax, dword [rax]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x44]
add ecx, eax
mov eax, ecx
sub eax, dword [rsp + 0x5c]
sub eax, dword [rsp + 0x60]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jle 0x140023b9a
mov eax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x68]
lea eax, [rax + rcx + 1]
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x70]
lea eax, [rax + rcx + 1]
mov dword [rsp + 0xb4], eax
mov eax, dword [rsp + 0xb0]
imul eax, dword [rsp + 0xb4]
cmp dword [rsp + 0x74], eax
jge 0x140023b9a
movsxd rax, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0x560]
mov byte [rcx + rax], 1
mov rax, qword [rsp + 0x558]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x558]
mov dword [rcx], eax
jmp 0x1400238c6
jmp 0x1400238a1
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.14004f870
cmp qword [rsp + 0xc0], 0
jne 0x140023bd7
mov qword [rsp + 0xd8], 0
jmp 0x140023bed
mov qword [rsp + 0x48], 0x8123
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xd8], rax
mov byte [rsp + 0x34], 1
lea rcx, [rsp + 0xe8]
call fcn.140023c70
movzx eax, byte [rsp + 0x34]
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.14004f810
add rsp, 0x530
pop rdi
ret