Function at 0x100286d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x24
call fcn.100b1990
mov ecx, dword [esp + 0x38]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x38]
lea eax, [ecx + 0x10]
test edi, edi
mov ebx, ecx
mov dword [esp + 0x10], eax
mov ebp, eax
je 0x10028709
test esi, esi
je 0x10028709
mov edx, dword [esp + 0x44]
test edx, edx
je 0x10028709
test ecx, ecx
jne 0x10028725
push str.in__out__key__ivec
push 0x57
push str..crypto_aes_aes_ige.c
call sym.LIBEAY32_smt.dll_OpenSSLDie
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [esp + 0x4c]
cmp edx, 1
je 0x1002874e
test edx, edx
je 0x1002874e
push str._AES_ENCRYPT__enc__AES_DECRYPT__enc_
push 0x58
push str..crypto_aes_aes_ige.c
call sym.LIBEAY32_smt.dll_OpenSSLDie
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [esp + 0x40]
test dl, 0xf
je 0x10028777
push str._length_AES_BLOCK_SIZE___0
push 0x59
push str..crypto_aes_aes_ige.c
call sym.LIBEAY32_smt.dll_OpenSSLDie
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp dword [esp + 0x4c], 1
jne 0x10028839
cmp edx, 0x10
jb 0x1002881e
mov eax, dword [esp + 0x40]
shr eax, 4
mov dword [esp + 0x4c], eax
mov ecx, ebx
mov edx, esi
sub ecx, edi
mov eax, edi
sub edx, edi
mov dword [esp + 0x40], 0x10
mov bl, byte [ecx + eax]
xor bl, byte [eax]
inc eax
mov byte [edx + eax - 1], bl
mov ebx, dword [esp + 0x40]
dec ebx
mov dword [esp + 0x40], ebx
jne 0x100287a8
mov eax, dword [esp + 0x44]
push eax
push esi
push esi
call sym.LIBEAY32_smt.dll_AES_encrypt
add esp, 0xc
mov eax, esi
sub ebp, esi
mov ecx, 0x10
mov dl, byte [eax + ebp]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec ecx
jne 0x100287d5
mov eax, edi
mov ebx, esi
add edi, 0x10
add esi, 0x10
mov ecx, dword [eax]
lea ebp, [esp + 0x14]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x4c]
dec eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x4c], eax
jne 0x10028796
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x10]
mov edx, dword [ebx]
mov dword [ecx], edx
mov edx, dword [ebx + 4]
mov dword [ecx + 4], edx
mov edx, dword [ebx + 8]
mov dword [ecx + 8], edx
mov edx, dword [ebx + 0xc]
mov dword [ecx + 0xc], edx
jmp 0x10028900
cmp edx, 0x10
jb 0x10028900
shr edx, 4
mov dword [esp + 0x40], edx
mov eax, edi
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 0xc]
mov ecx, dword [eax]
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x24]
mov edx, dword [eax + 0xc]
xor eax, eax
mov dword [esp + 0x20], edx
sub ebp, ecx
mov bl, byte [esp + eax + 0x24]
lea ecx, [esp + eax + 0x24]
mov dl, byte [ecx + ebp]
xor bl, dl
inc eax
cmp eax, 0x10
mov byte [ecx], bl
jb 0x10028889
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x24]
push eax
push esi
push ecx
call sym.LIBEAY32_smt.dll_AES_decrypt
mov ebp, dword [esp + 0x54]
add esp, 0xc
mov ecx, ebp
mov eax, esi
sub ecx, esi
mov edx, 0x10
mov bl, byte [ecx + eax]
xor byte [eax], bl
inc eax
dec edx
jne 0x100288c0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [ebp], edx
mov edx, dword [esp + 0x20]
add edi, 0x10
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
mov ebp, esi
add esi, 0x10
dec eax
mov dword [esp + 0x40], eax
jne 0x10028849
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp]
pop edi
mov dword [eax], ecx
mov edx, dword [ebp + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0xc]
pop esi
pop ebp
mov dword [eax + 0xc], edx
pop ebx
add esp, 0x24
ret