Function at 0x42953fc9
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [edi + 0x18]
mov edx, dword [eax]
xor edx, dword [esi]
mov ecx, dword [eax + 4]
xor ecx, dword [esi + 4]
mov esi, dword [eax + 8]
xor esi, dword [ebx + 8]
add eax, 0x20
mov dword [ebp - 8], esi
mov esi, dword [eax - 0x14]
xor esi, dword [ebx + 0xc]
mov dword [ebp - 0x14], esi
mov esi, dword [eax - 0x10]
mov dword [ebp - 4], esi
mov esi, dword [eax - 0xc]
mov dword [ebp - 0x10], esi
mov esi, dword [eax - 8]
mov dword [ebp + 8], esi
mov esi, dword [eax - 4]
mov dword [ebp - 0x1c], esi
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x18], esi
mov ebx, dword [esi + 0x42990860]
and ebx, dword [esi + 0x42990820]
and ebx, dword [esi + 0x42990840]
and ebx, dword [esi + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
mov esi, dword [ebp - 0x18]
and dword [ebp - 0xc], ebx
add esi, 0x80
cmp esi, 0x400
mov dword [ebp - 0x18], esi
jb 0x4295401c
or ecx, dword [ebp - 0xc]
or edx, dword [ebp - 0xc]
mov esi, dword [ebp - 0xc]
or dword [ebp - 8], esi
or dword [ebp - 0x14], esi
mov ebx, dword [ebp - 8]
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ebx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
ror esi, 0x18
ror ebx, 0x10
xor esi, ebx
mov ebx, dword [ebp - 0x14]
shr ebx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
ror ebx, 8
xor esi, ebx
movzx ebx, dl
xor esi, dword [ebx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
mov ebx, dword [ebp - 0x14]
xor dword [ebp - 4], esi
mov esi, dword [ebp - 8]
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ebx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
shr esi, 0x18
mov esi, dword [esi*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
ror esi, 0x18
ror ebx, 0x10
xor esi, ebx
mov ebx, edx
shr ebx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
ror ebx, 8
xor esi, ebx
movzx ebx, cl
xor esi, dword [ebx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
mov ebx, edx
xor dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x14]
shr ebx, 0x10
shr esi, 0x18
mov esi, dword [esi*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
movzx ebx, bl
mov ebx, dword [ebx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
ror esi, 0x18
ror ebx, 0x10
xor esi, ebx
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
mov ebx, dword [ebx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
ror ebx, 8
shr ecx, 0x10
xor esi, ebx
movzx ebx, byte [ebp - 8]
xor esi, dword [ebx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
movzx ecx, cl
mov ecx, dword [ecx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
xor dword [ebp + 8], esi
shr edx, 0x18
mov edx, dword [edx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
mov ebx, dword [ebp - 0x1c]
mov edi, dword [edi + 0xc]
ror edx, 0x18
ror ecx, 0x10
xor edx, ecx
mov ecx, dword [ebp - 8]
shr ecx, 8
movzx ecx, cl
mov ecx, dword [ecx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
ror ecx, 8
xor edx, ecx
movzx ecx, byte [ebp - 0x14]
xor edx, dword [ecx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
xor ebx, edx
shr edi, 1
dec edi
mov edx, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
mov ecx, dword [ecx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td1]
shr edx, 8
movzx edx, dl
xor ecx, dword [edx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td2]
mov edx, dword [ebp - 4]
shr edx, 0x18
xor ecx, dword [edx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
movzx edx, byte [ebp - 0x10]
xor ecx, dword [edx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td3]
mov esi, dword [ebp - 0x10]
xor ecx, dword [eax]
shr esi, 0x18
mov dword [ebp - 0x14], ecx
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [ecx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td2]
xor edx, dword [esi*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
mov ecx, dword [ebp - 4]
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td1]
movzx ecx, byte [ebp + 8]
xor edx, dword [ecx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td3]
mov ecx, dword [ebp + 8]
xor edx, dword [eax + 4]
shr ecx, 0x18
mov esi, dword [ecx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x10]
shr ecx, 8
movzx ecx, cl
shr edx, 0x10
movzx edx, dl
xor esi, dword [edx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td1]
mov edx, dword [ebp - 0x1c]
xor esi, dword [ecx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td2]
movzx ecx, bl
xor esi, dword [ecx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td3]
mov ecx, dword [ebp + 8]
xor esi, dword [eax + 8]
shr ebx, 0x18
mov dword [ebp - 8], esi
shr ecx, 0x10
movzx esi, cl
mov ecx, dword [ebx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
xor ecx, dword [esi*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td1]
mov ebx, dword [ebp - 0x10]
shr ebx, 8
movzx esi, bl
xor ecx, dword [esi*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td2]
movzx esi, byte [ebp - 4]
xor ecx, dword [esi*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td3]
xor ecx, dword [eax + 0xc]
mov ebx, ecx
shr ebx, 0x10
movzx esi, bl
mov ebx, dword [ebp - 8]
mov esi, dword [esi*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td1]
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td2]
mov ebx, dword [ebp - 0x14]
shr ebx, 0x18
xor esi, dword [ebx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
movzx ebx, dl
xor esi, dword [ebx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td3]
mov ebx, ecx
xor esi, dword [eax + 0x10]
shr ebx, 8
mov dword [ebp - 4], esi
movzx esi, bl
mov esi, dword [esi*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td2]
mov ebx, edx
shr ebx, 0x18
xor esi, dword [ebx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
mov ebx, dword [ebp - 0x14]
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td1]
movzx ebx, byte [ebp - 8]
xor esi, dword [ebx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td3]
mov ebx, edx
xor esi, dword [eax + 0x14]
shr ebx, 0x10
movzx ebx, bl
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 8]
shr esi, 0x18
mov esi, dword [esi*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
xor esi, dword [ebx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td1]
mov ebx, dword [ebp - 0x14]
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td2]
movzx ebx, cl
xor esi, dword [ebx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td3]
mov ebx, dword [ebp - 8]
xor esi, dword [eax + 0x18]
shr ebx, 0x10
shr ecx, 0x18
mov dword [ebp + 8], esi
movzx esi, bl
mov ebx, dword [ecx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td0]
xor ebx, dword [esi*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td1]
shr edx, 8
movzx ecx, dl
xor ebx, dword [ecx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td2]
movzx ecx, byte [ebp - 0x14]
xor ebx, dword [ecx*4 + sym.cryptopp.dll_unsigned_int_const__const_const_CryptoPP::Rijndael::Base::Td3]
add eax, 0x20
xor ebx, dword [eax - 4]
dec edi
jne 0x42954176
xor edx, edx
xor ecx, ecx
mov esi, dword [ecx + 0x42990760]
and esi, dword [ecx + 0x42990720]
add ecx, 0x80
and esi, dword [ecx + 0x429906c0]
and esi, dword [ecx + 0x42990680]
and edx, esi
cmp ecx, 0x100
jb 0x4295435e
or dword [ebp - 4], edx
or dword [ebp + 8], edx
or ebx, edx
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0x10]
or ecx, edx
mov edx, dword [ebp - 4]
shr edx, 0x18
mov dl, byte [edx + sym.cryptopp.dll_unsigned_char_const__const_const_CryptoPP::Rijndael::Base::Sd]
mov byte [ebp - 0x2c], dl
mov edx, ebx
shr edx, 0x10
movzx edx, dl
mov dl, byte [edx + sym.cryptopp.dll_unsigned_char_const__const_const_CryptoPP::Rijndael::Base::Sd]
mov byte [ebp - 0x2b], dl
mov edx, dword [ebp + 8]
shr edx, 8
movzx edx, dl
mov dl, byte [edx + sym.cryptopp.dll_unsigned_char_const__const_const_CryptoPP::Rijndael::Base::Sd]
mov byte [ebp - 0x2a], dl
movzx edx, cl
mov dl, byte [edx + sym.cryptopp.dll_unsigned_char_const__const_const_CryptoPP::Rijndael::Base::Sd]
mov byte [ebp - 0x29], dl
mov edx, ecx
shr edx, 0x18
mov dl, byte [edx + sym.cryptopp.dll_unsigned_char_const__const_const_CryptoPP::Rijndael::Base::Sd]
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 4]
shr edx, 0x10
movzx edx, dl
mov dl, byte [edx + sym.cryptopp.dll_unsigned_char_const__const_const_CryptoPP::Rijndael::Base::Sd]
mov byte [ebp - 0x27], dl
mov edx, ebx
shr edx, 8
movzx edx, dl
mov dl, byte [edx + sym.cryptopp.dll_unsigned_char_const__const_const_CryptoPP::Rijndael::Base::Sd]
mov byte [ebp - 0x26], dl
movzx edx, byte [ebp + 8]
mov dl, byte [edx + sym.cryptopp.dll_unsigned_char_const__const_const_CryptoPP::Rijndael::Base::Sd]
mov byte [ebp - 0x25], dl
mov edx, dword [ebp + 8]
shr edx, 0x18
mov dl, byte [edx + sym.cryptopp.dll_unsigned_char_const__const_const_CryptoPP::Rijndael::Base::Sd]
mov byte [ebp - 0x24], dl
mov edx, ecx
shr edx, 0x10
movzx edx, dl
mov dl, byte [edx + sym.cryptopp.dll_unsigned_char_const__const_const_CryptoPP::Rijndael::Base::Sd]
mov byte [ebp - 0x23], dl
mov edx, dword [ebp - 4]
shr edx, 8
movzx edx, dl
mov dl, byte [edx + sym.cryptopp.dll_unsigned_char_const__const_const_CryptoPP::Rijndael::Base::Sd]
mov byte [ebp - 0x22], dl
shr ecx, 8
movzx edx, bl
mov dl, byte [edx + sym.cryptopp.dll_unsigned_char_const__const_const_CryptoPP::Rijndael::Base::Sd]
movzx ecx, cl
mov cl, byte [ecx + sym.cryptopp.dll_unsigned_char_const__const_const_CryptoPP::Rijndael::Base::Sd]
mov byte [ebp - 0x21], dl
shr ebx, 0x18
mov dl, byte [ebx + sym.cryptopp.dll_unsigned_char_const__const_const_CryptoPP::Rijndael::Base::Sd]
mov byte [ebp - 0x20], dl
mov edx, dword [ebp + 8]
mov byte [ebp - 0x1e], cl
movzx ecx, byte [ebp - 4]
mov cl, byte [ecx + sym.cryptopp.dll_unsigned_char_const__const_const_CryptoPP::Rijndael::Base::Sd]
shr edx, 0x10
movzx edx, dl
mov dl, byte [edx + sym.cryptopp.dll_unsigned_char_const__const_const_CryptoPP::Rijndael::Base::Sd]
mov byte [ebp - 0x1d], cl
mov ecx, dword [ebp + 0xc]
test ecx, ecx
mov byte [ebp - 0x1f], dl
je 0x429544c3
mov esi, dword [eax]
xor esi, dword [ecx]
mov edx, dword [ebp + 0x10]
xor esi, dword [ebp - 0x2c]
mov dword [edx], esi
mov esi, dword [eax + 4]
xor esi, dword [ecx + 4]
xor esi, dword [ebp - 0x28]
mov dword [edx + 4], esi
mov esi, dword [eax + 8]
xor esi, dword [ecx + 8]
xor esi, dword [ebp - 0x24]
mov dword [edx + 8], esi
mov eax, dword [eax + 0xc]
xor eax, dword [ecx + 0xc]
xor eax, dword [ebp - 0x20]
mov dword [edx + 0xc], eax
jmp 0x429544e8
mov edx, dword [eax]
xor edx, dword [ebp - 0x2c]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov edx, dword [eax + 4]
xor edx, dword [ebp - 0x28]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
xor edx, dword [ebp - 0x24]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
xor eax, dword [ebp - 0x20]
mov dword [ecx + 0xc], eax
pop edi
pop esi
pop ebx
leave
ret 0xc