Function at 0x10015860
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x250
lea eax, [esp + 0xb0]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x268]
sub esi, 0x10
push edi
mov ebx, esi
mov edi, esi
push eax
mov dword [esp + 0x270], esi
and ebx, 0xf
shr edi, 4
call fcn.10061090
mov ebp, dword [esp + 0x26c]
push esi
lea ecx, [esp + 0xc8]
lea eax, [ebp + 0x10]
push eax
push ecx
call fcn.100610e0
lea edx, [esp + 0xd0]
lea eax, [esp + 0x54]
push edx
push eax
call fcn.10061250
push 0x10
lea ecx, [esp + 0x40]
push ebp
push ecx
call fcn.10018fa0
lea edx, [esp + 0x68]
push 0x10
lea eax, [esp + 0xd8]
push edx
push eax
call fcn.10018fa0
lea ecx, [esp + 0x54]
push 0x10
lea edx, [esp + 0xa4]
push ecx
push edx
call fcn.10018fa0
lea eax, [esp + 0x80]
push 0x10
lea ecx, [esp + 0xc0]
push eax
push ecx
call fcn.10018fa0
mov eax, dword [esp + 0x2ac]
add esp, 0x48
lea edx, [esp + 0x70]
push 0x20
push edx
push 1
push 1
push eax
call fcn.100152e0
add esp, 0x14
test eax, eax
jne 0x10015d22
lea ecx, [esp + 0x70]
push 0x10
lea edx, [esp + 0xa4]
push ecx
push edx
call fcn.10018fa0
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x128]
push eax
push 0x80
push 1
push ecx
call fcn.100603e0
add esp, 0x1c
test eax, eax
jge 0x10015981
push eax
push 0x1008bcac
call fcn.10018210
add esp, 8
mov eax, 0x2bb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x250
ret
push 0
lea edx, [esp + 0x5c]
push 2
push edx
call fcn.100604e0
add esp, 0xc
test eax, eax
jge 0x100159b4
push eax
push 0x1008bce0
call fcn.10018210
add esp, 8
mov eax, 0x2bb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x250
ret
cmp edi, 1
push 0x10
jbe 0x100159d1
mov eax, edi
lea edx, [esp + 0x38]
shl eax, 4
lea ecx, [eax + ebp - 0x10]
push ecx
push edx
call fcn.10018fa0
jmp 0x100159dd
lea eax, [esp + 0x38]
push 0
push eax
call fcn.10018f80
add esp, 0xc
test edi, edi
je 0x10015a26
mov ecx, edi
lea eax, [ebp + 0x10]
shl ecx, 7
push eax
push ecx
push eax
lea edx, [esp + 0x128]
lea eax, [esp + 0x64]
push edx
push eax
call fcn.10060ac0
add esp, 0x14
test eax, eax
jge 0x10015a26
push eax
push 0x1008bd18
call fcn.10018210
add esp, 8
mov eax, 0x2bb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x250
ret
test ebx, ebx
je 0x10015b09
mov esi, edi
mov ecx, 0x10
shl esi, 4
add esi, ebp
lea ebp, [esp + 0x34]
mov eax, esi
sub ebp, esi
mov dl, byte [eax + ebp]
xor byte [eax], dl
inc eax
dec ecx
jne 0x10015a42
xor eax, eax
test ebx, ebx
jbe 0x10015a62
mov cl, byte [eax + esi + 0x10]
mov dl, byte [eax + esi]
xor dl, cl
mov byte [eax + esi], dl
inc eax
cmp eax, ebx
jb 0x10015a51
lea ebp, [esi + 0x10]
push ebx
lea edx, [esp + 0x14]
push ebp
push edx
call fcn.10018fa0
mov eax, 0x10
lea ecx, [ebx + esi]
sub eax, ebx
lea edx, [esp + ebx + 0x1c]
push eax
push ecx
push edx
call fcn.10018fa0
lea eax, [esp + 0x28]
lea ecx, [esp + 0x28]
push eax
push 0x80
lea edx, [esp + 0x13c]
push ecx
lea eax, [esp + 0x7c]
push edx
push eax
call fcn.10060ac0
add esp, 0x2c
test eax, eax
jge 0x10015acd
push eax
push str.classic_aes_decrypt_ark:_aes_blockDecrypt_returned__d_n
call fcn.10018210
add esp, 8
mov eax, 0x2bb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x250
ret
xor eax, eax
mov cl, byte [esp + eax + 0x34]
mov dl, byte [esp + eax + 0x10]
xor dl, cl
mov byte [esp + eax + 0x10], dl
inc eax
cmp eax, 0x10
jb 0x10015acf
push ebx
push esi
push ebp
call fcn.10018fa0
lea edx, [esp + 0x1c]
push 0x10
push edx
push esi
call fcn.10018fa0
mov esi, dword [esp + 0x284]
mov ebp, dword [esp + 0x280]
add esp, 0x18
lea eax, [esp + 0xc0]
push eax
call fcn.10061090
push esi
lea esi, [ebp + 0x10]
lea ecx, [esp + 0xc8]
push esi
push ecx
call fcn.100610e0
lea edx, [esp + 0xd0]
lea eax, [esp + 0x54]
push edx
push eax
call fcn.10061250
lea ecx, [esp + 0x3c]
push 0x10
lea edx, [esp + 0x8c]
push ecx
push edx
call fcn.10018fa0
lea eax, [esp + 0xd4]
push 0x10
lea ecx, [esp + 0xa8]
push eax
push ecx
call fcn.10018fa0
lea edx, [esp + 0x74]
push 0x10
lea eax, [esp + 0xc4]
push edx
push eax
call fcn.10018fa0
mov edx, dword [esp + 0x2a0]
lea ecx, [esp + 0xac]
push 0x30
push ecx
push 2
push 1
push edx
call fcn.100152e0
add esp, 0x50
mov dword [esp + 0x20], eax
test eax, eax
je 0x10015d10
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x11c]
push eax
push 0x80
push 0
push ecx
call fcn.100603e0
add esp, 0x10
test eax, eax
jge 0x10015be4
push eax
push str.classic_aes_decrypt_ark:_aes_makeKey_returned__d_n
call fcn.10018210
add esp, 8
mov eax, 0x2bb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x250
ret
push 0
lea edx, [esp + 0x5c]
push 2
push edx
call fcn.100604e0
add esp, 0xc
test eax, eax
jge 0x10015c17
push eax
push str.classic_aes_decrypt_ark:_aes_cipherInit_returned__d_n
call fcn.10018210
add esp, 8
mov eax, 0x2bb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x250
ret
test edi, edi
je 0x10015c5a
mov eax, edi
push esi
shl eax, 7
push eax
lea ecx, [esp + 0x124]
push esi
lea edx, [esp + 0x64]
push ecx
push edx
call fcn.10060540
add esp, 0x14
test eax, eax
jge 0x10015c5a
push eax
push 0x1008bdf4
call fcn.10018210
add esp, 8
mov eax, 0x2bb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x250
ret
test ebx, ebx
je 0x10015cf1
shl edi, 4
add edi, ebp
push 0x10
lea eax, [esp + 0x14]
push edi
push eax
call fcn.10018fa0
add esp, 0xc
xor eax, eax
test ebx, ebx
jbe 0x10015c90
mov cl, byte [edi + eax + 0x10]
mov dl, byte [esp + eax + 0x10]
xor dl, cl
mov byte [esp + eax + 0x10], dl
inc eax
cmp eax, ebx
jb 0x10015c7d
lea edx, [esp + 0x10]
lea eax, [esp + 0x10]
push edx
push 0x80
lea ecx, [esp + 0x124]
push eax
lea edx, [esp + 0x64]
push ecx
push edx
call fcn.10060540
add esp, 0x14
test eax, eax
jge 0x10015cd6
push eax
push str.classic_aes_encrypt_ark:_aes_blockEncrypt_returned__d_n
call fcn.10018210
add esp, 8
mov eax, 0x2bb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x250
ret
push ebx
lea eax, [edi + 0x10]
push edi
push eax
call fcn.10018fa0
lea ecx, [esp + 0x1c]
push 0x10
push ecx
push edi
call fcn.10018fa0
add esp, 0x18
lea edx, [esp + 0x24]
push 0x10
push edx
push ebp
call fcn.10018fa0
mov eax, dword [esp + 0x2c]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x250
ret
lea eax, [esp + 0x70]
push 0x10
push eax
push ebp
call fcn.10018fa0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x250
ret