Function at 0x140001870
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
movaps xmmword [rax - 0x48], xmm6
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov qword [rbp - 0x39], r8
mov rsi, rcx
cvttss2si r13d, xmm1
mulss xmm1, dword [0x140011970]
cvttss2si edx, xmm1
mov dword [rbp - 0x79], edx
xor r12d, r12d
xor ecx, ecx
mov dword [rbp - 0x69], ecx
mov dword [rbp - 0x61], ecx
or r15d, 0xffffffff
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [rsp + 0x28], rax
xor r14d, r14d
cmp dword [rsi + 4], r14d
jbe 0x140001996
nop word [rax + rax]
xor edi, edi
xor ebx, ebx
cmp dword [rsi], ebx
jle 0x14000194c
nop dword [rax + rax]
lea r9, [rbp - 0x61]
mov r8d, r14d
mov edx, ebx
mov rcx, rsi
call sub.pvt.cppan.demo.danbloomberg.leptonica_1.74.4.dll_pixGetPixel
test eax, eax
jne 0x14000198e
cmp dword [rbp - 0x61], 1
jne 0x140001922
inc edi
cmp edi, r13d
jge 0x14000192a
inc ebx
cmp ebx, dword [rsi]
jge 0x140001946
jmp 0x140001900
mov eax, dword [rsi + 4]
dec eax
cmp r14d, eax
jne 0x140001939
inc r12d
jmp 0x140001946
cmp r15d, 0xffffffff
cmove r15d, r14d
inc r12d
jmp 0x14000197a
mov edx, dword [rbp - 0x79]
mov ecx, dword [rbp - 0x69]
cmp r15d, 0xffffffff
je 0x140001973
cmp r12d, edx
jl 0x140001973
add ecx, r12d
mov dword [rbp - 0x69], ecx
mov dword [rbp - 0x5d], r15d
mov dword [rbp - 0x59], r14d
lea rdx, [rbp - 0x5d]
lea rcx, [rsp + 0x28]
call fcn.140001470
or r15d, 0xffffffff
xor r12d, r12d
inc r14d
cmp r14d, dword [rsi + 4]
jae 0x140001996
mov ecx, dword [rbp - 0x69]
mov edx, dword [rbp - 0x79]
jmp 0x1400018f0
xor sil, sil
jmp 0x140001ca0
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QListData::size_void_const___ptr64]
test eax, eax
jne 0x1400019ad
mov sil, 1
jmp 0x140001ca0
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 1
jbe 0x1400019d0
mov edx, dword [rax + 4]
lea rcx, [rsp + 0x28]
call fcn.140001590
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
mov rbx, rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 1
jbe 0x1400019f5
mov edx, dword [rax + 4]
lea rcx, [rsp + 0x28]
call fcn.140001590
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::end_void_const___ptr64]
mov rdi, rax
cmp rbx, rax
je 0x140001a4a
nop dword [rax + rax]
mov rcx, qword [rbx]
mov rcx, qword [rcx]
mov rax, rcx
shr rax, 0x20
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [rbp - 0x69], xmm0
lea rdx, [rbp - 0x69]
lea rcx, [rsp + 0x20]
call fcn.140001420
add rbx, 8
cmp rbx, rdi
jne 0x140001a10
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QListData::isEmpty_void_const___ptr64]
test al, al
jne 0x140001aea
mov rax, qword [rsp + 0x20]
cmp dword [rax], 1
jbe 0x140001a74
mov edx, dword [rax + 4]
lea rcx, [rsp + 0x20]
call fcn.1400014f0
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
mov rdi, rax
mov rcx, qword [rsp + 0x20]
cmp dword [rcx], 1
jbe 0x140001a99
mov edx, dword [rcx + 4]
lea rcx, [rsp + 0x20]
call fcn.1400014f0
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::end_void_const___ptr64]
mov rbx, rax
mov qword [rbp - 0x29], rax
mov rcx, qword [rsp + 0x20]
cmp dword [rcx], 1
jbe 0x140001ac2
mov edx, dword [rcx + 4]
lea rcx, [rsp + 0x20]
call fcn.1400014f0
mov qword [rbp - 0x51], rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::begin_void_const___ptr64]
mov qword [rbp - 0x49], rax
movzx r9d, byte [rbp - 0x71]
mov r8, rdi
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x49]
call fcn.1400011b0
xorps xmm6, xmm6
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QListData::size_void_const___ptr64]
cdq
sub eax, edx
sar eax, 1
mov ebx, eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QListData::size_void_const___ptr64]
cmp ebx, eax
jge 0x140001b49
nop
mov rcx, qword [rsp + 0x20]
cmp dword [rcx], 1
jbe 0x140001b27
mov edx, dword [rcx + 4]
lea rcx, [rsp + 0x20]
call fcn.1400014f0
mov edx, ebx
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::at_int_const___ptr64]
addsd xmm6, qword [rax]
inc ebx
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QListData::size_void_const___ptr64]
cmp ebx, eax
jl 0x140001b10
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QListData::size_void_const___ptr64]
mov ebx, eax
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QListData::size_void_const___ptr64]
cdq
sub eax, edx
sar eax, 1
sub ebx, eax
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
divsd xmm6, xmm0
xor r12d, r12d
mov ebx, r12d
mov r14d, r12d
mov edi, r12d
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QListData::size_void_const___ptr64]
test eax, eax
jle 0x140001c0d
mulsd xmm6, qword [str.333333]
cvttsd2si r15d, xmm6
nop dword [rax]
mov edx, edi
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::at_int_const___ptr64]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rbp - 0x79], rax
shr rax, 0x20
mov ecx, dword [rbp - 0x79]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
inc eax
cmp eax, r15d
jl 0x140001bf9
sub ecx, ebx
mov dword [rbp - 0x21], r12d
mov dword [rbp - 0x1d], ebx
mov eax, dword [rsi]
mov dword [rbp - 0x19], eax
mov dword [rbp - 0x15], ecx
lea rdx, [rbp - 0x21]
mov rcx, rsi
call sub.pvt.cppan.demo.danbloomberg.leptonica_1.74.4.dll_pixClearInRect
test eax, eax
sete al
test al, al
je 0x140001c70
mov ebx, dword [rbp - 0x75]
inc ebx
jmp 0x140001bfc
inc r14d
inc edi
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QListData::size_void_const___ptr64]
cmp edi, eax
jl 0x140001ba0
mov dword [rbp - 0x79], 1
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QListData::size_void_const___ptr64]
sub eax, r14d
mov dword [rbp - 0x41], eax
lea rcx, [rbp - 0x79]
lea rdx, [rbp - 0x41]
cmp eax, 1
cmovge rcx, rdx
mov eax, dword [rcx]
mov rcx, qword [rbp - 0x39]
mov dword [rcx], eax
test ebx, ebx
je 0x140001c75
mov ecx, dword [rsi + 4]
lea eax, [rcx - 1]
cmp ebx, eax
jae 0x140001c75
sub ecx, ebx
mov dword [rbp - 9], r12d
mov dword [rbp - 5], ebx
mov eax, dword [rsi]
mov dword [rbp - 1], eax
mov dword [rbp + 3], ecx
lea rdx, [rbp - 9]
mov rcx, rsi
call sub.pvt.cppan.demo.danbloomberg.leptonica_1.74.4.dll_pixClearInRect
test eax, eax
sete al
test al, al
jne 0x140001c75
xor sil, sil
jmp 0x140001c78
mov sil, 1
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x140001c99
cmp eax, 0xffffffff
je 0x140001ca0
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140001ca0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
nop
mov rdi, qword [rsp + 0x28]
mov eax, dword [rdi]
test eax, eax
je 0x140001cc1
cmp eax, 0xffffffff
je 0x140001d00
or eax, 0xffffffff
lock xadd dword [rdi], eax
sub eax, 1
jne 0x140001d00
mov rdi, qword [rsp + 0x28]
movsxd rax, dword [rdi + 0xc]
add rax, 2
lea rbx, [rdi + rax*8]
movsxd rax, dword [rdi + 8]
lea r14, [rax + 2]
lea r14, [rdi + r14*8]
cmp r14, rbx
je 0x140001cf6
nop
sub rbx, 8
mov edx, 8
mov rcx, qword [rbx]
call fcn.14000ce20
cmp rbx, r14
jne 0x140001ce0
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
nop
movzx eax, sil
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14000cdc0
mov rbx, qword [rsp + 0x118]
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret