Function at 0x4029a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494f4b
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x4c0760]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0xd8], ecx
mov eax, dword [ebp + 8]
mov edi, 1
mov dword [ebp - 0xf8], eax
imul eax, eax, 0x29
mov dword [ebp - 0x110], 0
lea ecx, [eax + 0x4a6ee8]
lea eax, [eax + 0x4a6f90]
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xe0], eax
mov ecx, edi
mov dword [ebp - 0xec], edi
call fcn.00404b60
cdq
and edx, 7
lea esi, [edx + eax]
mov eax, dword [ebp - 0xe0]
sar esi, 3
mov edx, edi
movsx ecx, byte [eax + edi]
mov eax, dword [ebp - 0xe4]
movsx eax, byte [eax + edi]
imul ecx, eax
sub esi, ecx
mov ecx, dword [ebp - 0xe8]
shl esi, 3
call fcn.00402710
mov dword [ebp - 0xf0], eax
cmp eax, 0xffffffff
je 0x402a5b
cmp eax, esi
jle 0x402a67
cmp edi, 0x28
jge 0x402ef9
inc edi
jmp 0x402a0c
push dword [ebp - 0xd8]
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x104], 1
push eax
lea eax, [ebp - 0x104]
mov dword [ebp - 0x100], 2
push eax
push 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0xfc], 3
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.0040a320
mov dword [ebp - 4], 2
xor esi, esi
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
sub ecx, edx
mov dword [ebp - 0xe0], 0
add ecx, 3
shr ecx, 2
cmp edx, dword [ebp - 0x1c]
cmova ecx, esi
mov esi, edx
mov dword [ebp - 0xf4], ecx
test ecx, ecx
je 0x402b61
jmp 0x402af6
mov edi, dword [ebp - 0xec]
mov eax, dword [esi]
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xe4], eax
imul eax, eax, 0x29
add edi, eax
call fcn.00404b60
movsx ecx, byte [edi + 0x4a6ee8]
lea esi, [esi + 4]
cdq
and edx, 7
add edx, eax
movsx eax, byte [edi + 0x4a6f90]
imul ecx, eax
mov eax, dword [ebp - 0xf8]
sar edx, 3
sub edx, ecx
shl edx, 3
cmp dword [ebp - 0xf0], edx
cmovle eax, dword [ebp - 0xe4]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp eax, dword [ebp - 0xf4]
jne 0x402af0
mov edx, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
test edx, edx
je 0x402b75
push edx
call fcn.0046080a
add esp, 4
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xf4], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
movdqu xmmword [ebp - 0x30], xmm0
push eax
push 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.004094e0
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0xe8]
mov edi, dword [ecx + 4]
mov esi, dword [ecx]
cmp esi, edi
je 0x402d14
mov ecx, dword [ebp - 0xec]
mov eax, 0x78787879
lea ecx, [ecx + 7]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [ebp + eax*4 - 0x104]
mov dword [ebp - 0xf4], eax
lea eax, [esi + 0x20]
mov dword [ebp - 0xe4], eax
lea esp, [esp]
movdqu xmm0, xmmword [esi]
push 4
lea ecx, [ebp - 0x30]
movd eax, xmm0
push eax
call fcn.004050f0
movdqu xmm0, xmmword [esi]
mov eax, dword [ebp - 0xf4]
lea ecx, [ebp - 0x30]
movdqu xmmword [ebp - 0x108], xmm0
push dword [eax]
mov eax, dword [ebp - 0xe4]
push dword [eax - 0x10]
call fcn.004050f0
mov ecx, dword [ebp - 0x24]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x30]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0xe0], edx
mov dword [ebp - 0xe8], 0
test ecx, ecx
je 0x402c8e
jns 0x402c75
mov eax, ecx
neg eax
je 0x402c75
or eax, 0xffffffff
sub eax, ecx
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x402c7d
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
mov eax, ecx
mov dword [ebp - 0xe0], edx
and eax, 0x1f
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe4]
xor edx, edx
movq qword [ebp - 0x1c], xmm0
mov ecx, dword [eax - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10c], ecx
test eax, eax
je 0x402cde
mov edx, eax
test edx, edx
jns 0x402cd3
neg eax
je 0x402cd3
or ecx, 0xffffffff
mov eax, 0xfffffffc
sub ecx, edx
shr ecx, 5
shl ecx, 2
sub eax, ecx
mov ecx, dword [ebp - 0x10c]
add ecx, eax
jmp 0x402cdb
mov eax, edx
shr eax, 5
lea ecx, [ecx + eax*4]
and edx, 0x1f
push edx
push ecx
push 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
push dword [ebp - 0xe8]
push dword [ebp - 0xe0]
push dword [ebp - 0xd8]
call fcn.0040a130
add dword [ebp - 0xe4], 0x24
add esi, 0x24
cmp esi, edi
jne 0x402c00
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0xf0]
je 0x402d4d
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.Assertion_error
push eax
lea ecx, [ebp - 0x104]
call fcn.0045fc7f
mov dword [ebp - method.std::logic_error.virtual_0], vtable.std::logic_error.0
push 0x4bdf60
lea eax, [ebp - 0x104]
push eax
call fcn.00466c44
imul esi, dword [ebp - 0xf8], 0x29
mov ecx, dword [ebp - 0xec]
add esi, ecx
call fcn.00404b60
movsx ecx, byte [esi + 0x4a6ee8]
cdq
and edx, 7
lea edi, [edx + eax]
movsx eax, byte [esi + 0x4a6f90]
imul ecx, eax
mov eax, dword [ebp - 0x24]
sar edi, 3
sub edi, ecx
shl edi, 3
cmp eax, edi
ja 0x402d1c
mov ecx, edi
mov dword [ebp - 0x10c], 4
sub ecx, eax
lea edx, [ebp - 0x10c]
cmp ecx, 4
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x18]
cmovge eax, edx
lea ecx, [ebp - 0x30]
push dword [eax]
push 0
call fcn.004050f0
mov eax, dword [ebp - 0x24]
mov ecx, 8
and eax, 7
sub ecx, eax
and ecx, 0x80000007
jns 0x402dce
dec ecx
or ecx, 0xfffffff8
inc ecx
push ecx
push 0
lea ecx, [ebp - 0x30]
call fcn.004050f0
mov eax, dword [ebp - 0x24]
test al, 7
jne 0x402d1c
mov cl, 0xec
mov byte [ebp - 0xd9], cl
cmp eax, edi
jae 0x402e14
movzx eax, cl
lea ecx, [ebp - 0x30]
push 8
push eax
call fcn.004050f0
mov cl, byte [ebp - 0xd9]
mov eax, dword [ebp - 0x24]
xor cl, 0xfd
mov byte [ebp - 0xd9], cl
cmp eax, edi
jb 0x402df0
shr eax, 3
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push eax
movq qword [ebp - 0x20], xmm0
call fcn.00405ae0
mov byte [ebp - 4], 4
xor edx, edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xf0], edx
test eax, eax
je 0x402e94
mov edi, edx
shr edi, 3
add edi, dword [ebp - 0x20]
cmp eax, edx
jbe 0x402eef
mov ecx, dword [ebp - 0x30]
mov eax, edx
shr eax, 5
lea esi, [ecx + eax*4]
mov eax, edx
and eax, 7
mov ecx, edx
and ecx, 0x1f
mov edx, 7
sub edx, eax
mov eax, 1
shl eax, cl
mov ecx, edx
test dword [esi], eax
mov edx, dword [ebp - 0xf0]
setne al
inc edx
shl al, cl
or byte [edi], al
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xf0], edx
cmp edx, eax
jb 0x402e42
mov esi, dword [ebp - 0xd8]
lea eax, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0xf8]
mov ecx, esi
push dword [ebp - 0xec]
call fcn.00403070
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x402ec2
push eax
call fcn.0046080a
add esp, 4
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x402ed2
push eax
call fcn.0046080a
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045fbcc
mov esp, ebp
pop ebp
ret
push str.invalid_vector_bool__subscript
call fcn.0045ec8b
push 0x98
lea eax, [ebp - 0xd4]
push 0
push eax
call fcn.00462c70
add esp, 4
lea ecx, [ebp - 0xd4]
call fcn.00405c90
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
jne 0x402f39
mov edx, str.Segment_too_long
lea ecx, [ebp - 0xd4]
jmp 0x402f84
push eax
push ecx
mov edx, str.Data_length_
lea ecx, [ebp - 0xd4]
call fcn.004098f0
add esp, 4
mov ecx, eax
call fcn.004056f0
mov edx, str._bits_
mov ecx, eax
call fcn.004098f0
push esi
push ecx
mov edx, str.Max_capacity_
lea ecx, [ebp - 0xd4]
call fcn.004098f0
add esp, 4
mov ecx, eax
call fcn.004056f0
mov edx, str._bits
mov ecx, eax
call fcn.004098f0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00405dd0
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x402fa4
mov eax, dword [eax]
mov dword [ebp - 0xd8], eax
lea ecx, [ebp - 0x104]
lea eax, [ebp - 0xd8]
push eax
call fcn.0045fc7f
mov dword [ebp - method.std::logic_error.virtual_0], vtable.qrcodegen::data_too_long.0
push 0x4bdea4
jmp 0x402d41