Function at 0x4247b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x14c
mov esi, dword [ebp + 0x14]
movzx eax, byte [ebp + 0x20]
test esi, esi
mov byte [ebp - 0x12c], al
jle 0x425230
cmp esi, dword [ebp + 0x18]
jg 0x425230
mov eax, dword [ebp + 0x1c]
add eax, 1
cmp eax, 8
ja 0x425230
cmp dword [ebp + 0x18], 0x28
jg 0x425230
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x10]
lea eax, [eax + eax*4]
lea edi, [ebx + eax*8]
mov ebx, dword [ebp + 0xc]
jmp 0x424814
mov edx, dword [ebp + 0x18]
cmp dword [ebp + 0x14], edx
jge 0x424c80
add dword [ebp + 0x14], 1
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call fcn.00421e00
mov esi, dword [ebp + 0x14]
lea ecx, [eax + 7]
test eax, eax
mov dword [esp], ebx
cmovs eax, ecx
movsx ecx, byte [edi + esi + 0x56e540]
movsx esi, byte [edi + esi + 0x56e600]
sar eax, 3
imul ecx, esi
sub eax, ecx
lea esi, [eax*8]
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
call fcn.004212c0
cmp eax, 0xffffffff
je 0x424804
cmp esi, eax
jl 0x424804
cmp byte [ebp - 0x12c], 0
mov esi, dword [ebp + 0x14]
mov ebx, 0x56e520
mov edi, 1
mov dword [ebp - 0x130], eax
jne 0x424894
add ebx, 4
mov eax, 0x56e52c
cmp eax, ebx
je 0x4248de
cmp byte [ebp - 0x12c], 0
mov edi, dword [ebx]
je 0x42487d
mov dword [esp], esi
call fcn.00421e00
lea edx, [eax + 7]
test eax, eax
cmovs eax, edx
lea edx, [edi + edi*4]
sar eax, 3
lea ecx, [edi + edx*8]
movsx edx, byte [esi + ecx + 0x56e600]
movsx ecx, byte [esi + ecx + 0x56e540]
imul edx, ecx
sub eax, edx
shl eax, 3
cmp eax, dword [ebp - 0x130]
mov eax, 0x56e52c
cmovl edi, dword [ebp + 0x10]
add ebx, 4
cmp eax, ebx
mov dword [ebp + 0x10], edi
jne 0x424889
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
cmp ebx, eax
mov dword [ebp - 0x130], eax
je 0x425030
lea ecx, [esi + 7]
mov edx, 0x78787879
mov eax, ecx
sar ecx, 0x1f
imul edx
lea eax, [ebp - 0xe0]
mov dword [ebp - 0x12c], eax
sar edx, 3
mov edi, edx
sub edi, ecx
mov dword [ebp - 0x134], edi
lea esi, [esi]
mov dword [esp + 4], 4
mov eax, dword [ebx]
mov edi, dword [ebp - 0x12c]
mov eax, dword [eax]
mov ecx, edi
mov dword [esp], eax
call fcn.00422bc0
mov eax, dword [ebx]
mov edx, dword [ebp - 0x134]
sub esp, 8
mov ecx, edi
mov dword [ebp - 0x12c], edi
mov eax, dword [eax + edx*4 + 4]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.00422bc0
mov eax, dword [ebx + 0xc]
sub esp, 8
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
mov edi, dword [ebx + 8]
mov byte [esp + 0x18], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xd8]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x12c]
mov dword [esp + 8], edi
mov dword [esp + 0x14], edx
mov dword [esp], eax
mov eax, dword [ebp - 0xd4]
mov dword [esp + 4], eax
call fcn.00545c60
sub esp, 0x1c
add ebx, 0x1c
cmp dword [ebp - 0x130], ebx
jne 0x424960
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xd4]
sub edx, dword [ebp - 0xe0]
sub eax, dword [ebp - 0xdc]
lea eax, [eax + edx*8]
cmp dword [ebp - 0x138], eax
je 0x424a35
mov dword [esp + 8], 0x129
mov dword [esp + 4], str...CADConverterqrcodegen.cpp
mov dword [esp], str.bb.size____static_cast_unsigned_int__dataUsedBits_
call fcn.004e4040
mov dword [esp], esi
call fcn.00421e00
lea ebx, [eax + 7]
test eax, eax
mov edi, dword [ebp + 0x10]
cmovs eax, ebx
mov ebx, eax
mov eax, dword [ebp + 0x10]
sar ebx, 3
lea eax, [eax + eax*4]
lea edx, [edi + eax*8]
movsx eax, byte [esi + edx + 0x56e600]
movsx edx, byte [esi + edx + 0x56e540]
imul eax, edx
mov edx, dword [ebp - 0xd8]
sub edx, dword [ebp - 0xe0]
sub ebx, eax
mov eax, dword [ebp - 0xd4]
sub eax, dword [ebp - 0xdc]
shl ebx, 3
mov dword [ebp - 0x130], ebx
lea eax, [eax + edx*8]
cmp ebx, eax
jb 0x4250c0
mov ebx, dword [ebp - 0x130]
mov edx, 4
mov dword [esp], 0
sub ebx, eax
mov eax, ebx
cmp ebx, 4
mov ebx, dword [ebp - 0x12c]
cmovge eax, edx
mov dword [esp + 4], eax
mov ecx, ebx
call fcn.00422bc0
mov eax, dword [ebp - 0xdc]
sub eax, dword [ebp - 0xd4]
sub esp, 8
mov dword [esp], 0
mov ecx, ebx
and eax, 7
mov dword [esp + 4], eax
call fcn.00422bc0
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xd4]
sub esp, 8
mov ebx, edx
mov ecx, eax
sub ebx, dword [ebp - 0xe0]
sub ecx, dword [ebp - 0xdc]
lea edi, [ecx + ebx*8]
test edi, 7
jne 0x425080
cmp dword [ebp - 0x130], edi
jbe 0x424b69
mov ebx, 0xffffffec
mov ecx, dword [ebp - 0x12c]
movzx eax, bl
mov dword [esp + 4], 8
mov dword [esp], eax
call fcn.00422bc0
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xd4]
sub esp, 8
xor ebx, 0xfffffffd
mov edi, edx
mov ecx, eax
sub edi, dword [ebp - 0xe0]
sub ecx, dword [ebp - 0xdc]
lea edi, [ecx + edi*8]
cmp dword [ebp - 0x130], edi
ja 0x424b23
shr edi, 3
xor ebx, ebx
mov dword [ebp - 0xf8], 0
test edi, edi
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
jne 0x425043
sub eax, dword [ebp - 0xdc]
mov edi, dword [ebp - 0xe0]
mov dword [ebp - 0xf4], ebx
sub edx, edi
lea eax, [eax + edx*8]
test eax, eax
je 0x424c29
xor eax, eax
mov dword [ebp + 0x14], esi
jmp 0x424bc6
mov ebx, dword [ebp - 0xf4]
mov edx, eax
mov ecx, eax
mov esi, 1
shr edx, 5
shl esi, cl
mov ecx, eax
test dword [edi + edx*4], esi
not ecx
setne dl
and ecx, 7
movzx edx, dl
mov edi, edx
mov edx, eax
shl edi, cl
mov ecx, dword [ebp - 0xf8]
shr edx, 3
sub ebx, ecx
cmp edx, ebx
jae 0x4251ee
mov ebx, edi
or byte [ecx + edx], bl
add eax, 1
mov edi, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xd4]
sub edx, dword [ebp - 0xdc]
sub ecx, edi
lea edx, [edx + ecx*8]
cmp eax, edx
jb 0x424bc0
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 8]
mov dword [esp], esi
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xf8]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
call fcn.004240b0
mov eax, dword [ebp - 0xf8]
sub esp, 0x10
test eax, eax
je 0x424c61
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov eax, dword [ebp - 0xe0]
test eax, eax
je 0x424c73
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0xe0]
lea ecx, [ebp - 0xa0]
mov ebx, esi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x12c], edi
call fcn.004e3c50
mov esi, dword [sym.imp.libstdc_6.dll_VTT_for_std::basic_fstream_char__std::char_traits_char___]
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0xa0], sym.imp.libstdc_6.dll_operator_delete_void_
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x2b], 0
mov dword [ebp - 0x28], 0
add edi, dword [esi - 0xc]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0xe0], esi
mov ecx, edi
mov edi, dword [sym.imp.libstdc_6.dll_VTT_for_std::basic_ifstream_char__std::char_traits_char___]
mov dword [ecx], edi
mov dword [esp], 0
call fcn.004e3c40
lea ecx, [ebp - 0xc0]
sub esp, 4
mov dword [ebp - 0xe0], sym.imp.libstdc_6.dll_vtable_for_std::basic_ifstream_char__std::char_traits_char___
mov dword [ebp - 0xa0], sym.imp.libstdc_6.dll_operator_delete_void_
mov dword [ebp - 0xdc], sym.imp.libstdc_6.dll_operator_delete___void_
lea edi, [ebp - 0xb0]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
call fcn.004e3d78
lea eax, [ebp - 0xdc]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xdc], sym.imp.libstdc_6.dll_vtable_for_std::__cxx11::basic_istringstream_char__std::char_traits_char___std::allocator_char___
mov dword [ebp - 0xbc], 0x10
mov dword [ebp - 0xb8], edi
mov dword [esp], eax
mov dword [ebp - 0xb4], 0
mov byte [ebp - 0xb0], 0
call fcn.004e3c40
sub esp, 4
cmp dword [ebp - 0x138], 0xffffffff
je 0x425100
mov esi, dword [ebp - 0x12c]
mov dword [esp + 8], 0xe
mov dword [esp + 4], str.Data_length_
mov dword [esp], esi
call fcn.004e3c20
mov eax, dword [ebp - 0x138]
mov ecx, esi
mov dword [esp], eax
call fcn.004e3e60
sub esp, 4
mov dword [esp + 8], 7
mov dword [esp + 4], str._bits_
mov dword [esp], eax
call fcn.004e3c20
mov dword [esp + 8], 0xf
mov dword [esp + 4], str.Max_capacity_
mov dword [esp], esi
call fcn.004e3c20
mov dword [esp], ebx
mov ecx, esi
call fcn.004e3e60
sub esp, 4
mov dword [esp + 8], 5
mov dword [esp + 4], str._bits
mov dword [esp], eax
call fcn.004e3c20
mov dword [esp], 8
lea esi, [ebp - 0x120]
call sub.libstdc_6.dll___cxa_allocate_exception
mov ebx, eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x120], 0
test eax, eax
je 0x425123
mov edx, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xcc]
cmp eax, edx
ja 0x424f80
lea edi, [ebp - 0x108]
mov dword [esp], ecx
lea ecx, [ebp - 0x110]
mov dword [esp + 4], edx
mov dword [ebp - 0x110], edi
call fcn.00421170
mov edx, dword [ebp - 0x110]
sub esp, 8
mov eax, dword [ebp - 0x128]
cmp edx, edi
je 0x4251cc
mov ecx, dword [ebp - 0x10c]
cmp eax, esi
mov dword [ebp - 0x130], ecx
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x134], ecx
je 0x425154
mov dword [ebp - 0x128], edx
mov edx, dword [ebp - 0x130]
test eax, eax
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x124], edx
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x120], edx
je 0x42516c
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x10c], 0
mov byte [eax], 0
mov eax, dword [ebp - 0x110]
cmp eax, edi
je 0x424f35
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
lea eax, [ebp - 0x128]
mov ecx, ebx
mov dword [esp], eax
call fcn.004e3e28
mov eax, dword [ebp - 0x128]
sub esp, 4
mov dword [ebx], 0xc8fe40
cmp eax, esi
je 0x424f60
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov dword [esp + 8], 0x53cc00
mov dword [esp + 4], 0xc8b248
mov dword [esp], ebx
call sub.libstdc_6.dll___cxa_throw
nop
lea esi, [esi]
lea edi, [ebp - 0xf0]
mov dword [esp], ecx
lea ecx, [ebp - 0xf8]
mov dword [esp + 4], eax
mov dword [ebp - 0xf8], edi
call fcn.00421170
mov edx, dword [ebp - 0xf8]
sub esp, 8
mov eax, dword [ebp - 0x128]
cmp edx, edi
je 0x4251aa
mov ecx, dword [ebp - 0xf4]
cmp eax, esi
mov dword [ebp - 0x130], ecx
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0x134], ecx
je 0x42517f
mov dword [ebp - 0x128], edx
mov edx, dword [ebp - 0x130]
test eax, eax
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x124], edx
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x120], edx
je 0x425197
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xf4], 0
mov byte [eax], 0
mov eax, dword [ebp - 0xf8]
cmp eax, edi
jne 0x424f2d
jmp 0x424f35
lea edi, [ebp - 0xe0]
xor eax, eax
mov dword [ebp - 0x12c], edi
jmp 0x424a11
mov dword [esp], edi
call sub.libstdc_6.dll_operator_new_unsigned_int_
lea ebx, [eax + edi]
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf0], ebx
call sub.msvcrt.dll_memset
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xd4]
jmp 0x424b94
mov dword [esp + 8], 0x130
mov dword [esp + 4], str...CADConverterqrcodegen.cpp
mov dword [esp], str.bb.size_____8__0
call fcn.004e4040
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xd4]
mov ebx, edx
mov ecx, eax
sub ebx, dword [ebp - 0xe0]
sub ecx, dword [ebp - 0xdc]
lea edi, [ecx + ebx*8]
jmp 0x424b16
mov dword [esp + 8], 0x12d
mov dword [esp + 4], str...CADConverterqrcodegen.cpp
mov dword [esp], str.bb.size_____dataCapacityBits
call fcn.004e4040
mov edx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0xd4]
sub edx, dword [ebp - 0xe0]
sub eax, dword [ebp - 0xdc]
lea eax, [eax + edx*8]
jmp 0x424a97
mov eax, dword [ebp - 0x12c]
mov dword [esp + 8], 0x10
mov dword [esp + 4], str.Segment_too_long
mov dword [esp], eax
call fcn.004e3c20
jmp 0x424e3c
lea eax, [ebp - 0xb8]
lea ecx, [ebp - 0x128]
mov dword [esp], eax
call fcn.004e3cf0
sub esp, 4
jmp 0x424f35
mov ecx, dword [ebp - 0x12c]
call fcn.004e3c70
mov dword [esp], esi
call sub.libgcc_s_dw2_1.dll__Unwind_Resume
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x110], edi
lea edi, [ebp - 0x108]
mov eax, edi
jmp 0x424f16
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x124], eax
mov dword [ebp - 0xf8], edi
lea edi, [ebp - 0xf0]
mov eax, edi
jmp 0x42500d
lea eax, [ebp - 0xf8]
lea ecx, [ebp - 0x128]
mov dword [esp], eax
call fcn.004e3cf0
mov eax, dword [ebp - 0xf8]
sub esp, 4
jmp 0x42500d
lea eax, [ebp - 0x110]
lea ecx, [ebp - 0x128]
mov dword [esp], eax
call fcn.004e3cf0
mov eax, dword [ebp - 0x110]
sub esp, 4
jmp 0x424f16
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp], str.vector::_M_range_check:___n__which_is__zu____this__size____which_is__zu_
call fcn.004e3bb8
mov ebx, eax
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x425216
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov ecx, dword [ebp - 0x12c]
call fcn.0053dd90
mov dword [esp], ebx
call sub.libgcc_s_dw2_1.dll__Unwind_Resume
lea esi, [esi]
mov dword [esp], 8
call sub.libstdc_6.dll___cxa_allocate_exception
mov dword [esp], str.Invalid_value
mov ecx, eax
mov ebx, eax
call fcn.004e3db8
sub esp, 4
mov dword [esp + 8], 0x4e3db0
mov dword [esp + 4], 0xc8b33c
mov dword [esp], ebx
call sub.libstdc_6.dll___cxa_throw
mov edi, eax
mov eax, dword [ebp - 0x128]
cmp eax, esi
je 0x42527b
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov dword [esp], ebx
mov esi, edi
call sub.libstdc_6.dll___cxa_free_exception
jmp 0x425141