Function at 0x10028730
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x44
call fcn.100bf140
mov eax, dword [0x10116cb0]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
push ebx
push ebp
mov ebp, dword [esp + 0x60]
push esi
mov esi, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
push edi
mov edi, dword [esp + 0x5c]
test esi, esi
je 0x10028771
test edi, edi
je 0x10028771
test eax, eax
je 0x10028771
test ebp, ebp
jne 0x10028785
push str.in__out__key__ivec
push 0x56
push str..crypto_aes_aes_ige.c
call sym.LIBEAY32.dll_OpenSSLDie
add esp, 0xc
mov eax, dword [esp + 0x6c]
cmp eax, 1
je 0x100287a6
test eax, eax
je 0x100287a6
push str._AES_ENCRYPT__enc____AES_DECRYPT__enc_
push 0x57
push str..crypto_aes_aes_ige.c
call sym.LIBEAY32.dll_OpenSSLDie
add esp, 0xc
mov ebx, dword [esp + 0x60]
test bl, 0xf
je 0x100287c3
push str._length___AES_BLOCK_SIZE___0
push 0x58
push str..crypto_aes_aes_ige.c
call sym.LIBEAY32.dll_OpenSSLDie
add esp, 0xc
shr ebx, 4
cmp dword [esp + 0x6c], 1
jne 0x1002891e
cmp esi, edi
je 0x10028890
mov eax, ebp
or eax, edi
or eax, esi
test al, 3
jne 0x10028890
lea eax, [ebp + 0x10]
mov edx, ebp
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x1002886b
lea ecx, [esi + 8]
lea ebp, [edi + 8]
mov dword [esp + 0x10], ecx
mov edi, edi
mov eax, dword [edx]
lea edi, [ecx - 8]
xor eax, dword [edi]
lea esi, [ebp - 8]
push dword [esp + 0x14]
mov dword [esi], eax
mov eax, dword [ecx - 4]
xor eax, dword [edx + 4]
mov dword [ebp - 4], eax
mov eax, dword [edx + 8]
xor eax, dword [ecx]
mov dword [ebp], eax
mov eax, dword [ecx + 4]
xor eax, dword [edx + 0xc]
push esi
push esi
mov dword [ebp + 4], eax
call sym.LIBEAY32.dll_AES_encrypt
mov ecx, dword [esp + 0x28]
lea ebp, [ebp + 0x10]
add esp, 0xc
mov edx, esi
mov eax, dword [ecx]
xor dword [esi], eax
mov eax, dword [ecx + 4]
xor dword [ebp - 0x14], eax
mov eax, dword [ecx + 8]
xor dword [ebp - 0x10], eax
mov eax, dword [ecx + 0xc]
xor dword [ebp - 0xc], eax
mov eax, edi
mov ecx, dword [esp + 0x10]
add ecx, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
dec ebx
jne 0x10028800
mov ebp, dword [esp + 0x18]
movdqu xmm0, xmmword [edx]
pop edi
pop esi
movdqu xmmword [ebp], xmm0
movdqu xmm0, xmmword [eax]
movdqu xmmword [ebp + 0x10], xmm0
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.100bf100
add esp, 0x44
ret
movdqu xmm0, xmmword [ebp + 0x10]
movdqu xmm1, xmmword [ebp]
movdqu xmmword [esp + 0x20], xmm0
test ebx, ebx
je 0x10028901
mov ebp, dword [esp + 0x14]
jmp 0x100288b0
movdqu xmm0, xmmword [esi]
lea eax, [esp + 0x40]
push ebp
movdqu xmmword [esp + 0x34], xmm0
push eax
pxor xmm0, xmm1
push eax
movdqu xmmword [esp + 0x4c], xmm0
call sym.LIBEAY32.dll_AES_encrypt
movdqu xmm0, xmmword [esp + 0x2c]
add esp, 0xc
lea esi, [esi + 0x10]
lea edi, [edi + 0x10]
movdqu xmm1, xmmword [esp + 0x40]
pxor xmm1, xmm0
movdqu xmm0, xmmword [esp + 0x30]
movdqu xmmword [edi - 0x10], xmm1
movdqu xmmword [esp + 0x20], xmm0
dec ebx
jne 0x100288b0
mov ebp, dword [esp + 0x18]
pop edi
pop esi
movdqu xmmword [ebp], xmm1
movdqu xmmword [ebp + 0x10], xmm0
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.100bf100
add esp, 0x44
ret
cmp esi, edi
je 0x100289e0
mov eax, ebp
or eax, edi
or eax, esi
test al, 3
jne 0x100289e0
lea ecx, [ebp + 0x10]
mov eax, ebp
mov dword [esp + 0x10], eax
test ebx, ebx
je 0x100289bb
add edi, 8
lea ebp, [esi + 8]
mov eax, dword [ebp - 8]
lea esi, [ebp - 8]
xor eax, dword [ecx]
push dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov eax, dword [ebp - 4]
xor eax, dword [ecx + 4]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 8]
xor eax, dword [ebp]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 4]
xor eax, dword [ecx + 0xc]
mov dword [esp + 0x50], eax
lea eax, [edi - 8]
push eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x48]
push eax
call sym.LIBEAY32.dll_AES_decrypt
mov edx, dword [esp + 0x1c]
lea ebp, [ebp + 0x10]
mov ecx, dword [esp + 0x28]
lea edi, [edi + 0x10]
add esp, 0xc
mov dword [esp + 0x10], esi
mov eax, dword [edx]
xor dword [ecx], eax
mov eax, dword [edx + 4]
xor dword [edi - 0x14], eax
mov eax, dword [edx + 8]
xor dword [edi - 0x10], eax
mov eax, dword [edx + 0xc]
xor dword [edi - 0xc], eax
mov eax, esi
dec ebx
jne 0x10028947
mov ebp, dword [esp + 0x18]
movdqu xmm0, xmmword [eax]
pop edi
pop esi
movdqu xmmword [ebp], xmm0
movdqu xmm0, xmmword [ecx]
movdqu xmmword [ebp + 0x10], xmm0
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.100bf100
add esp, 0x44
ret
movdqu xmm0, xmmword [ebp]
movdqu xmm2, xmmword [ebp + 0x10]
movdqu xmmword [esp + 0x20], xmm0
test ebx, ebx
je 0x10028a55
mov ebp, dword [esp + 0x14]
jmp 0x10028a00
movdqu xmm0, xmmword [esi]
lea eax, [esp + 0x40]
movdqu xmm1, xmmword [esi]
push ebp
push eax
pxor xmm0, xmm2
push eax
movdqu xmmword [esp + 0x3c], xmm1
movdqu xmmword [esp + 0x4c], xmm0
call sym.LIBEAY32.dll_AES_decrypt
movdqu xmm0, xmmword [esp + 0x2c]
add esp, 0xc
lea esi, [esi + 0x10]
lea edi, [edi + 0x10]
movdqu xmm2, xmmword [esp + 0x40]
pxor xmm2, xmm0
movdqu xmm0, xmmword [esp + 0x30]
movdqu xmmword [edi - 0x10], xmm2
movdqu xmmword [esp + 0x20], xmm0
dec ebx
jne 0x10028a00
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x50]
pop edi
pop esi
movdqu xmmword [ebp], xmm0
movdqu xmmword [ebp + 0x10], xmm2
pop ebp
pop ebx
xor ecx, esp
call fcn.100bf100
add esp, 0x44
ret