Function at 0x140001d40
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], r14d
jbe 0x140001e66
nop dword [rax]
xor edi, edi
xor ebx, ebx
cmp dword [rsi + 4], ebx
jle 0x140001e1d
nop dword [rax]
lea r9, [rbp - 0x61]
mov r8d, ebx
mov edx, r14d
mov rcx, rsi
call sub.pvt.cppan.demo.danbloomberg.leptonica_1.74.4.dll_pixGetPixel
test eax, eax
jne 0x140001e5e
cmp dword [rbp - 0x61], 1
jne 0x140001df3
inc edi
cmp edi, r13d
jge 0x140001dfc
inc ebx
cmp ebx, dword [rsi + 4]
jge 0x140001e17
jmp 0x140001dd0
mov eax, dword [rsi]
dec eax
cmp r14d, eax
jne 0x140001e0a
inc r12d
jmp 0x140001e17
cmp r15d, 0xffffffff
cmove r15d, r14d
inc r12d
jmp 0x140001e4b
mov edx, dword [rbp - 0x79]
mov ecx, dword [rbp - 0x69]
cmp r15d, 0xffffffff
je 0x140001e44
cmp r12d, edx
jl 0x140001e44
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]
jae 0x140001e66
mov ecx, dword [rbp - 0x69]
mov edx, dword [rbp - 0x79]
jmp 0x140001dc0
xor sil, sil
jmp 0x140002171
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QListData::size_void_const___ptr64]
test eax, eax
jne 0x140001e7d
mov sil, 1
jmp 0x140002171
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 0x140001ea0
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 0x140001ec5
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 0x140001f1a
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 0x140001ee0
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QListData::isEmpty_void_const___ptr64]
test al, al
jne 0x140001fba
mov rax, qword [rsp + 0x20]
cmp dword [rax], 1
jbe 0x140001f44
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 0x140001f69
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 0x140001f92
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 0x140002019
nop
mov rcx, qword [rsp + 0x20]
cmp dword [rcx], 1
jbe 0x140001ff7
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 0x140001fe0
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 0x1400020de
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 0x1400020ca
sub ecx, ebx
mov dword [rbp - 0x21], ebx
mov dword [rbp - 0x1d], r12d
mov dword [rbp - 0x19], ecx
mov eax, dword [rsi + 4]
mov dword [rbp - 0x15], eax
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 0x140002141
mov ebx, dword [rbp - 0x75]
inc ebx
jmp 0x1400020cd
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 0x140002070
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 0x140002146
mov ecx, dword [rsi]
lea eax, [rcx - 1]
cmp ebx, eax
jae 0x140002146
sub ecx, ebx
mov dword [rbp - 9], ebx
mov dword [rbp - 5], r12d
mov dword [rbp - 1], ecx
mov eax, dword [rsi + 4]
mov dword [rbp + 3], eax
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 0x140002146
xor sil, sil
jmp 0x140002149
mov sil, 1
mov rcx, qword [rsp + 0x20]
mov eax, dword [rcx]
test eax, eax
je 0x14000216a
cmp eax, 0xffffffff
je 0x140002171
or eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140002171
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 0x140002192
cmp eax, 0xffffffff
je 0x1400021d0
or eax, 0xffffffff
lock xadd dword [rdi], eax
sub eax, 1
jne 0x1400021d0
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 0x1400021c6
nop
sub rbx, 8
mov edx, 8
mov rcx, qword [rbx]
call fcn.14000ce20
cmp rbx, r14
jne 0x1400021b0
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