Function at 0x43ec50
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [esp + 0x3c]
xor ecx, ecx
test eax, eax
je 0x43ec83
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx], 0
lea ecx, [ecx + 2]
jne 0x43ec70
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x18], cx
mov edx, eax
test eax, eax
je 0x43ec93
add ecx, 2
mov edx, ecx
mov edi, dword [esp + 0x44]
mov word [esp + 0x1a], dx
mov dword [esp + 0x1c], eax
mov dword [esp], 0x94959a9b
mov word [esp + 4], 0
mov eax, 0xf27b42e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0xf27b42e]
xor ecx, eax
add ecx, 0x3b662741
mov edx, ecx
and edx, 1
or ecx, 1
add ecx, edx
add cl, 0xb0
mov byte [esp + eax - 0xf27b42e], cl
inc eax
cmp eax, 0xf27b434
jne 0x43ecc0
mov ebx, dword [esp]
mov eax, dword [0x448e64]
test eax, eax
je 0x43ed3f
xor ecx, ecx
mov edx, dword [0x448e68]
cmp dword [edx + ecx*8], 0xc0a4c970
je 0x43ed10
inc ecx
cmp eax, ecx
jne 0x43ed00
jmp 0x43ed3f
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x43ed3f
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x4c]
push 6
push eax
push dword [0x448e6c]
call fcn.0043a3b0
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x97d6c927
mov word [esp + 4], 0
mov eax, 0x64e92e8c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x64e92e8c]
xor ecx, eax
lea edx, [ecx + ecx]
and edx, 0x81404c32
sub ecx, edx
add ecx, 0xcaa4b619
mov esi, ecx
and esi, edx
xor ecx, edx
lea ecx, [ecx + esi*2]
add ecx, 0x93313098
mov edx, ecx
and edx, 0x17
xor ecx, 0x97
lea ecx, [ecx + edx*2]
mov byte [esp + eax - 0x64e92e8c], cl
inc eax
cmp eax, 0x64e92e92
jne 0x43ed60
cmp ebx, dword [esp]
jne 0x43ef38
mov dword [esp + 8], edi
push dword [esp + 0xc]
call fcn.00436f00
add esp, 4
mov esi, eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], 0xe3e2e1e2
mov byte [esp + 0x14], 0
mov edx, 0x3df7e1a8
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + edx - 0x3df7e198]
xor eax, edx
add eax, 0xfaa571cc
mov edi, eax
and edi, 0x37
xor eax, 0xb7
lea eax, [eax + edi*2]
add al, 0xcd
mov byte [esp + edx - 0x3df7e198], al
inc edx
cmp edx, 0x3df7e1ad
jne 0x43ede0
mov edx, dword [esp + 0x10]
mov dword [esp], 0x94959a9b
mov word [esp + 4], 0
mov ebx, 0xf27b42e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + ebx - 0xf27b42e]
xor eax, ebx
add eax, 0x3b662741
mov edi, eax
and edi, 1
or eax, 1
add eax, edi
add al, 0xb0
mov byte [esp + ebx - 0xf27b42e], al
inc ebx
cmp ebx, 0xf27b434
jne 0x43ee30
mov ebx, dword [esp]
mov ebp, dword [0x448e64]
test ebp, ebp
je 0x43eeac
xor eax, eax
mov edi, dword [0x448e68]
cmp dword [edi + eax*8], 0xc0a4c970
je 0x43ee80
inc eax
cmp ebp, eax
jne 0x43ee70
jmp 0x43eeac
mov ebp, dword [edi + eax*8 + 4]
cmp ebp, ebx
je 0x43eeac
lea eax, [esp + 0xc]
lea edi, [esp + 0x18]
push eax
push ecx
push esi
push edx
push edi
push dword [esp + 0x4c]
push 6
push ebp
push dword [0x448e6c]
call fcn.0043a3b0
add esp, 0x24
mov ebx, eax
test ebx, ebx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
js 0x43ef2f
mov edi, dword [esp + 0x40]
test edi, edi
je 0x43eec5
mov eax, dword [esi + 4]
mov dword [edi], eax
test ecx, ecx
je 0x43ef2f
test edx, edx
je 0x43ef2a
mov eax, dword [ecx]
mov ecx, dword [esi + 8]
cmp eax, ecx
jb 0x43eed8
mov eax, ecx
lea edx, [esi + 0xc]
mov ecx, eax
shr ecx, 2
mov edi, dword [esp + 0x44]
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, eax
and ecx, 0xfffffffc
add dword [esp + 8], ecx
lea ebp, [esi + ecx]
add ebp, 0xc
mov edx, eax
and edx, 3
mov ecx, edx
shr ecx, 1
mov dword [esp + 0x20], ebp
mov edi, dword [esp + 8]
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
mov edi, dword [esp + 8]
test al, 1
mov ecx, dword [esp + 0x48]
je 0x43ef2a
mov eax, dword [esp + 0x20]
movzx eax, byte [eax + edx - 1]
mov byte [edi + edx - 1], al
mov eax, dword [esi + 8]
mov dword [ecx], eax
push esi
call fcn.00436f60
add esp, 4
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret