Function at 0x110233c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x40
call fcn.110d22e0
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
push esi
mov esi, dword [esp + 0x54]
push edi
mov edi, dword [esp + 0x54]
test edi, edi
je 0x110233ed
test esi, esi
je 0x110233ed
cmp dword [esp + 0x60], 0
je 0x110233ed
test ebp, ebp
jne 0x11023401
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 + 0x68]
cmp eax, 1
je 0x11023422
test eax, eax
je 0x11023422
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 + 0x5c]
test bl, 0xf
je 0x1102343f
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 + 0x68], 1
jne 0x11023646
cmp edi, esi
je 0x1102350e
mov eax, edi
or eax, esi
or eax, ebp
test al, 3
jne 0x1102350e
lea ecx, [ebp + 0x10]
mov edx, ecx
mov eax, ebp
mov dword [esp + 0x54], ecx
mov dword [esp + 0x68], edx
test ebx, ebx
je 0x110234d9
mov ecx, dword [edi]
xor ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
xor edx, dword [edi + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
xor ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x60]
xor edx, dword [edi + 0xc]
push eax
push esi
push esi
mov dword [esi + 0xc], edx
call sym.LIBEAY32.dll_AES_encrypt
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
xor dword [esi], ecx
mov edx, dword [eax + 4]
xor dword [esi + 4], edx
mov ecx, dword [eax + 8]
xor dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
xor dword [esi + 0xc], edx
mov eax, esi
mov dword [esp + 0x74], edi
dec ebx
add esp, 0xc
add edi, 0x10
add esi, 0x10
test ebx, ebx
jne 0x11023476
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x68]
mov esi, dword [eax]
mov dword [ebp], esi
mov esi, dword [eax + 4]
mov dword [ebp + 4], esi
mov esi, dword [eax + 8]
mov dword [ebp + 8], esi
mov eax, dword [eax + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
pop edi
pop esi
mov dword [ecx + 8], eax
mov edx, dword [edx + 0xc]
pop ebp
mov dword [ecx + 0xc], edx
pop ebx
add esp, 0x40
ret
mov edx, dword [ebp + 8]
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x48], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x4c], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x28], edx
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x2c], edx
test ebx, ebx
je 0x1102360e
mov edx, dword [edi]
mov dword [esp + 0x30], edx
xor eax, dword [esp + 0x30]
mov edx, dword [edi + 4]
mov dword [esp + 0x34], edx
mov edx, dword [edi + 8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
xor eax, ecx
mov dword [esp + 0x38], edx
mov edx, dword [edi + 0xc]
mov ecx, dword [esp + 0x38]
xor ecx, dword [esp + 0x48]
mov dword [esp + 0x3c], edx
xor edx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], edx
push ecx
mov edx, ecx
push edx
call sym.LIBEAY32.dll_AES_encrypt
mov edx, dword [esp + 0x34]
xor dword [esp + 0x24], edx
mov eax, dword [esp + 0x1c]
xor eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
xor dword [esp + 0x28], edx
mov ecx, dword [esp + 0x20]
xor ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x48]
dec ebx
add esp, 0xc
add edi, 0x10
add esi, 0x10
mov dword [esp + 0x2c], edx
test ebx, ebx
jne 0x11023546
mov edx, dword [esp + 0x20]
mov dword [ebp], eax
mov eax, dword [esp + 0x48]
mov dword [ebp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [ebp + 0x10], edx
mov edx, dword [esp + 0x2c]
mov dword [ebp + 0xc], ecx
mov ecx, dword [esp + 0x28]
pop edi
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], ecx
pop esi
mov dword [ebp + 0x1c], edx
pop ebp
pop ebx
add esp, 0x40
ret
cmp edi, esi
je 0x11023711
mov eax, edi
or eax, esi
or eax, ebp
test al, 3
jne 0x11023711
lea ecx, [ebp + 0x10]
mov edx, ebp
mov dword [esp + 0x68], edx
mov dword [esp + 0x54], ecx
mov eax, ecx
test ebx, ebx
je 0x110236dc
nop
mov ecx, dword [edi]
xor ecx, dword [eax]
mov edx, dword [eax + 4]
xor edx, dword [edi + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 8]
xor ecx, dword [edi + 8]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x60]
xor edx, dword [edi + 0xc]
push eax
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x44]
push esi
push ecx
mov dword [esp + 0x58], edx
call sym.LIBEAY32.dll_AES_decrypt
mov eax, dword [esp + 0x74]
mov edx, dword [eax]
xor dword [esi], edx
mov ecx, dword [eax + 4]
xor dword [esi + 4], ecx
mov edx, dword [eax + 8]
xor dword [esi + 8], edx
mov eax, dword [eax + 0xc]
xor dword [esi + 0xc], eax
mov dword [esp + 0x74], edi
mov eax, esi
dec ebx
add esp, 0xc
add edi, 0x10
add esi, 0x10
test ebx, ebx
jne 0x11023670
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x68]
mov esi, dword [edx]
mov dword [ebp], esi
mov esi, dword [edx + 4]
mov dword [ebp + 4], esi
mov esi, dword [edx + 8]
mov dword [ebp + 8], esi
mov edx, dword [edx + 0xc]
mov dword [ebp + 0xc], edx
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
pop edi
pop esi
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
pop ebp
mov dword [ecx + 0xc], eax
pop ebx
add esp, 0x40
ret
mov edx, dword [ebp + 4]
mov ecx, dword [ebp]
mov eax, dword [ebp + 8]
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x38], edx
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x3c], edx
test ebx, ebx
je 0x11023825
lea esp, [esp]
mov edx, dword [edi]
mov dword [esp + 0x10], edx
mov edx, dword [edi + 4]
xor dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], edx
mov edx, dword [edi + 8]
xor dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], edx
mov edx, dword [edi + 0xc]
xor dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov edx, dword [edi]
xor dword [esp + 0x1c], ecx
mov dword [esp + 0x40], edx
mov edx, dword [edi + 4]
mov dword [esp + 0x44], edx
mov edx, dword [edi + 8]
mov dword [esp + 0x48], edx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x60]
push edx
lea eax, [esp + 0x14]
push eax
mov ecx, eax
push ecx
call sym.LIBEAY32.dll_AES_decrypt
mov edx, dword [esp + 0x34]
xor dword [esp + 0x24], edx
mov eax, dword [esp + 0x1c]
xor eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
xor dword [esp + 0x28], edx
mov ecx, dword [esp + 0x20]
xor ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x28]
dec ebx
add esp, 0xc
add edi, 0x10
add esi, 0x10
mov dword [esp + 0x3c], edx
test ebx, ebx
jne 0x11023750
mov esi, dword [esp + 0x20]
mov dword [ebp], esi
mov esi, dword [esp + 0x24]
mov dword [ebp + 4], esi
mov esi, dword [esp + 0x28]
mov dword [ebp + 8], esi
mov esi, dword [esp + 0x2c]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x38]
pop edi
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x18], eax
pop esi
mov dword [ebp + 0x1c], edx
pop ebp
pop ebx
add esp, 0x40
ret