Function at 0x4198f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea eax, [ebp - 8]
sub esp, 0x90
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x54], sym.___gxx_personality_sj0
mov dword [ebp - 0x50], 0x5c1ac8
mov dword [ebp - 0x48], 0x419cea
mov dword [ebp - 0x44], esp
mov dword [esp], eax
call dbg._Unwind_SjLj_Register
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 8], eax
je 0x419ba3
mov esi, eax
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0xc]
mov eax, dword [eax + 0xc]
cmp eax, edx
jb 0x4199d0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], 0x3fffffff
mov dword [ebp - 0x28], eax
mov ebx, dword [esi + 0x10]
mov dword [ebp - 0x74], ebx
cmp eax, 0x3fffffff
ja 0x419c63
test eax, eax
je 0x419bc1
shl eax, 2
mov dword [ebp - 0x78], eax
mov dword [esp], eax
mov dword [ebp - 0x68], 0xffffffff
call dbg.CryptoPP::AlignedAllocate(unsigned int)
mov dword [ebp - 0x24], eax
test eax, eax
je 0x419b2b
mov esi, dword [ebp - 0x74]
mov edx, dword [ebp - 0x28]
test esi, esi
je 0x419b10
mov ebx, dword [ebp - 0x78]
shl edx, 2
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [ebp - 0x68], 0xffffffff
call method.CryptoPP.memcpy_s_void__unsigned_int__void_const__unsigned_int_
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
jmp 0x419b31
mov ebx, dword [esi + 0x10]
mov dword [ebp - 0x2c], 0x3fffffff
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x74], ebx
cmp edx, 0x3fffffff
ja 0x419bdc
test edx, edx
je 0x419bd0
lea eax, [edx*4]
mov dword [ebp - 0x78], eax
mov dword [esp], eax
mov dword [ebp - 0x68], 0xffffffff
call dbg.CryptoPP::AlignedAllocate(unsigned int)
mov dword [ebp - 0x24], eax
test eax, eax
je 0x419a6b
mov ebx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x28]
test ebx, ebx
je 0x419a50
mov esi, dword [ebp - 0x78]
shl edx, 2
mov dword [esp], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 4], edx
mov dword [ebp - 0x68], 0xffffffff
call method.CryptoPP.memcpy_s_void__unsigned_int__void_const__unsigned_int_
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
jmp 0x419a71
test edx, edx
je 0x419a6b
shl edx, 2
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp], eax
call sym._memset
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x419a91
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp + 8]
mov ebx, dword [eax + 0x10]
xor eax, eax
mov ecx, dword [ebx + eax*4]
xor dword [edx + eax*4], ecx
add eax, 1
cmp eax, dword [esi + 0xc]
jb 0x419a83
mov dword [ebp - 0x68], 3
lea eax, [ebp - 0x20]
mov ecx, eax
mov dword [ebp - 0x74], eax
call dbg.CryptoPP::Integer::Integer()
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [result.reg]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov dword [result.reg], edx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x10], edx
mov dword [esp], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x68], 4
call dbg.CryptoPP::Integer::Integer(CryptoPP::Integer const&)
mov dword [ebp - 0x20], fcn.004cc6a0
lea ecx, [ebp - 0x1c]
sub esp, 4
call method.CryptoPP::SecBlock_unsigned_int__CryptoPP::AllocatorWithCleanup_unsigned_int__true___.SecBlock__
lea ecx, [ebp - 0x30]
call method.CryptoPP::SecBlock_unsigned_int__CryptoPP::AllocatorWithCleanup_unsigned_int__true___.SecBlock__
lea eax, [ebp - 0x6c]
mov dword [esp], eax
call sym.__Unwind_SjLj_Unregister
mov eax, dword [ebp - 0x70]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 8
test edx, edx
je 0x419b2b
shl edx, 2
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp], eax
call sym._memset
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x419b51
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp + 0xc]
mov ebx, dword [eax + 0x10]
xor eax, eax
mov ecx, dword [ebx + eax*4]
xor dword [edx + eax*4], ecx
add eax, 1
cmp eax, dword [esi + 0xc]
jb 0x419b43
mov dword [ebp - 0x68], 1
lea eax, [ebp - 0x20]
mov ecx, eax
mov dword [ebp - 0x74], eax
call dbg.CryptoPP::Integer::Integer()
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [result.reg]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
mov dword [result.reg], edx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x10], edx
mov dword [esp], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x68], 2
call dbg.CryptoPP::Integer::Integer(CryptoPP::Integer const&)
jmp 0x419ade
mov dword [esp], 0x5fd0b0
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x68], 0xffffffff
call dbg.CryptoPP::Integer::Integer(CryptoPP::Integer const&)
sub esp, 4
jmp 0x419af8
mov dword [ebp - 0x24], 0
jmp 0x419b31
mov dword [ebp - 0x24], 0
jmp 0x419a71
mov dword [esp], 0x20
lea esi, [ebp - 0x20]
call sym.___cxa_allocate_exception
mov ecx, esi
mov dword [ebp - 0x80], eax
mov dword [esp], 0x5ca938
mov dword [ebp - 0x68], 7
mov dword [ebp - 0x74], esi
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const___clone_.isra.121_
push edx
mov esi, dword [ebp - 0x74]
mov dword [esp], 1
mov dword [esp + 4], esi
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x68], 8
call fcn.004cee50
push eax
lea edx, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x80]
mov dword [eax], method.CryptoPP::InvalidArgument.InvalidArgument__
mov eax, dword [ebp - 0x20]
cmp eax, edx
je 0x419c41
mov dword [esp], eax
call sym.operator_delete_void_
mov dword [esp + 8], method.CryptoPP::InvalidArgument.InvalidArgument__
mov dword [esp + 4], 0x5e0be8
mov eax, dword [ebp - 0x80]
mov dword [esp], eax
mov dword [ebp - 0x68], 0xffffffff
call sym.___cxa_throw
mov dword [esp], 0x20
lea esi, [ebp - 0x20]
call sym.___cxa_allocate_exception
mov ecx, esi
mov dword [ebp - 0x7c], eax
mov dword [esp], 0x5ca938
mov dword [ebp - 0x68], 5
mov dword [ebp - 0x74], esi
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__std::allocator_char__const___clone_.isra.121_
push ebx
mov esi, dword [ebp - 0x74]
mov dword [esp], 1
mov dword [esp + 4], esi
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x68], 6
call fcn.004cee50
push ecx
lea edx, [ebp - 0x18]
push ecx
mov eax, dword [ebp - 0x7c]
mov dword [eax], method.CryptoPP::InvalidArgument.InvalidArgument__
mov eax, dword [ebp - 0x20]
cmp eax, edx
je 0x419cc8
mov dword [esp], eax
call sym.operator_delete_void_
mov dword [esp + 8], method.CryptoPP::InvalidArgument.InvalidArgument__
mov dword [esp + 4], 0x5e0be8
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
mov dword [ebp - 0x68], 0xffffffff
call sym.___cxa_throw
add ebp, 8
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x68], 7
mov dword [ebp - 0x70], eax
ja case.default.0x419cfc
mov eax, dword [ebp - 0x68]
jmp dword [eax*4 + 0x5ca9fc]
ud2
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
cmp eax, edx
je case.0x419cfc.2
mov dword [esp], eax
call sym.operator_delete_void_
mov eax, dword [ebp - 0x80]
mov dword [esp], eax
call sym.___cxa_free_exception
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
mov dword [ebp - 0x68], 0xffffffff
call dbg._Unwind_SjLj_Resume
mov dword [ebp - 0x20], fcn.004cc6a0
lea ecx, [ebp - 0x1c]
call method.CryptoPP::SecBlock_unsigned_int__CryptoPP::AllocatorWithCleanup_unsigned_int__true___.SecBlock__
lea ecx, [ebp - 0x30]
call method.CryptoPP::SecBlock_unsigned_int__CryptoPP::AllocatorWithCleanup_unsigned_int__true___.SecBlock__
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
mov dword [ebp - 0x68], 0xffffffff
call dbg._Unwind_SjLj_Resume
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
cmp eax, edx
je case.0x419cfc.4
mov dword [esp], eax
call sym.operator_delete_void_
mov eax, dword [ebp - 0x7c]
jmp 0x419d1a