Function at 0x43ec20
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, dword [esp + 0x30]
mov dword [esp + 0xc], 0x10111213
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
or cl, 0x4c
xor cl, byte [esp + eax + 0xc]
add cl, 0xa0
mov byte [esp + eax + 0xc], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 4
jb 0x43ec40
mov ebx, dword [esp + 0xc]
mov eax, dword [0x44aea0]
test eax, eax
je 0x43ecbe
xor ecx, ecx
mov edx, dword [0x44aea4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xcf2d66db
je 0x43ec90
inc ecx
cmp eax, ecx
jne 0x43ec80
jmp 0x43ecbe
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x43ecbe
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 1
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0x18
push eax
push dword [0x44aea8]
call fcn.0043b9a0
add esp, 0x24
mov ebx, eax
cmp ebx, 0xc0000023
jne 0x43eefe
push dword [esp + 8]
call fcn.0043a000
add esp, 4
mov dword [esp + 4], eax
mov ebp, dword [esp + 8]
mov dword [esp + 0x10], 0x10111213
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, edx
or bl, 0x4c
xor bl, byte [esp + edx + 0x10]
add bl, 0xa0
mov byte [esp + edx + 0x10], bl
mov esi, edx
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
cmp edx, 4
jb 0x43ecf0
mov ebx, dword [esp + 0x10]
mov edx, dword [0x44aea0]
test edx, edx
je 0x43ed77
mov dword [esp], ebp
xor esi, esi
mov ebp, dword [0x44aea4]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + esi*8], 0xcf2d66db
je 0x43ed41
inc esi
cmp edx, esi
jne 0x43ed30
jmp 0x43ed77
mov edx, dword [ebp + esi*8 + 4]
cmp edx, ebx
je 0x43ed77
lea esi, [esp + 8]
push esi
push dword [esp + 4]
push dword [esp + 0xc]
push 1
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0x18
push edx
push dword [0x44aea8]
mov esi, eax
call fcn.0043b9a0
add esp, 0x24
mov ebx, eax
mov eax, esi
test ebx, ebx
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 4]
js 0x43eef5
mov esi, dword [esp + 0x34]
test esi, esi
mov edx, dword [esp + 0x38]
je 0x43ee7d
test edi, edi
je 0x43ee76
mov ebp, dword [ecx + 0x10]
shr ebp, 1
mov ecx, dword [esi]
cmp ecx, ebp
jb 0x43edac
mov ecx, ebp
test ecx, ecx
mov ebp, dword [esp + 0x3c]
je 0x43ee6d
add eax, 0x14
mov dword [esp], ecx
and ecx, 3
je 0x43ee02
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebp, word [eax]
xor edx, edx
test bp, bp
setne dl
lea eax, [eax + edx*2]
mov word [edi], bp
add edi, 2
inc esi
cmp ecx, esi
jne 0x43edd0
mov ecx, dword [esp]
sub ecx, esi
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
cmp dword [esp], 4
jae 0x43ee0b
jmp 0x43ee6d
mov ecx, dword [esp]
cmp dword [esp], 4
jb 0x43ee6d
mov dword [esp], ebx
nop
nop
movzx edx, word [eax]
xor ebx, ebx
test dx, dx
setne bl
lea esi, [eax + ebx*2]
mov word [edi], dx
movzx eax, word [eax + ebx*2]
xor edx, edx
test ax, ax
setne dl
lea ebx, [esi + edx*2]
mov word [edi + 2], ax
movzx eax, word [esi + edx*2]
xor edx, edx
test ax, ax
setne dl
lea esi, [ebx + edx*2]
mov word [edi + 4], ax
movzx edx, word [ebx + edx*2]
xor eax, eax
test dx, dx
setne al
mov word [edi + 6], dx
add edi, 8
lea eax, [esi + eax*2]
add ecx, 0xfffffffc
jne 0x43ee10
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp]
mov word [edi], 0
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x10]
shr eax, 1
mov dword [esi], eax
test edx, edx
je 0x43ee86
mov eax, dword [ecx + 4]
mov dword [edx], eax
cmp dword [esp + 0x40], 0
je 0x43eef5
test ebp, ebp
je 0x43eeec
mov dword [esp], ebx
mov eax, dword [esp + 0x40]
mov eax, dword [eax]
mov ecx, dword [ecx + 0xc]
cmp eax, ecx
jb 0x43eea3
mov eax, ecx
mov ebx, dword [esp + 4]
mov esi, dword [ebx + 8]
add esi, ebx
mov ecx, eax
shr ecx, 2
mov edx, eax
and edx, 0xfffffffc
mov edi, ebp
add ebp, edx
add edx, esi
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, eax
shr ecx, 1
and ecx, 1
mov esi, edx
mov edi, ebp
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov ecx, ebx
test al, 1
mov ebx, dword [esp]
je 0x43eeec
and eax, 2
movzx ecx, byte [edx + eax]
mov byte [ebp + eax], cl
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0xc]
mov edx, dword [esp + 0x40]
mov dword [edx], eax
push ecx
call fcn.0043a020
add esp, 4
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret