Function at 0x43ce50
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
mov dword [esp + 0xc], 0xfcfdfeff
mov dword [esp + 0x10], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0xc]
mov ecx, 0xa4d3137f
sub ecx, eax
xor ecx, edx
lea edx, [ecx*2 + 2]
inc ecx
and edx, 2
xor ecx, 0x7e
sub ecx, edx
add cl, 2
mov byte [esp + eax + 0xc], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 8
jb 0x43ce80
mov ebx, dword [esp + 0xc]
mov eax, dword [0x4497f8]
test eax, eax
je 0x43cf0e
xor ecx, ecx
mov edx, dword [0x4497fc]
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x3602324e
je 0x43cee0
inc ecx
cmp eax, ecx
jne 0x43ced0
jmp 0x43cf0e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x43cf0e
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 1
push dword [esp + 0x44]
push dword [esp + 0x44]
push 0x18
push eax
push dword [0x449800]
call fcn.00438810
add esp, 0x24
mov ebx, eax
cmp ebx, 0xc0000023
jne 0x43d199
push dword [esp + 0x14]
call fcn.00435670
add esp, 4
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x14]
mov dword [esp], ecx
mov dword [esp + 0xc], 0xfcfdfeff
mov dword [esp + 0x10], 0
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edx + 0xc]
mov ebx, 0xa4d3137f
sub ebx, edx
xor ebx, ecx
lea ecx, [ebx*2 + 2]
inc ebx
and ecx, 2
xor ebx, 0x7e
sub ebx, ecx
add bl, 2
mov byte [esp + edx + 0xc], bl
mov ecx, edx
and ecx, 1
xor edx, 1
lea edx, [edx + ecx*2]
cmp edx, 8
jb 0x43cf50
mov ebp, dword [esp + 0xc]
mov edx, dword [0x4497f8]
test edx, edx
je 0x43cfc0
xor esi, esi
mov ecx, dword [0x4497fc]
mov ebx, dword [esp + 0x44]
mov dword [esp + 4], ebx
mov ebx, ebp
mov ebp, dword [esp + 0x30]
nop
nop
nop
nop
nop
nop
nop
cmp dword [ecx + esi*8], 0x3602324e
je 0x43cfcc
inc esi
cmp edx, esi
jne 0x43cfb0
jmp 0x43d003
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov ebx, ebp
jmp 0x43d007
mov edx, dword [ecx + esi*8 + 4]
cmp edx, ebx
mov esi, dword [esp + 0x40]
je 0x43d007
lea ecx, [esp + 0x14]
push ecx
push dword [esp + 4]
push dword [esp + 0x10]
push 1
push dword [esp + 0x44]
push ebp
push 0x18
push edx
push dword [0x449800]
mov esi, eax
call fcn.00438810
add esp, 0x24
mov ebx, eax
mov eax, esi
mov esi, dword [esp + 0x40]
test ebx, ebx
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 8]
js 0x43d190
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x43d115
test edi, edi
je 0x43d10e
mov ecx, dword [ecx + 0x10]
shr ecx, 1
mov ebp, dword [edx]
cmp ebp, ecx
jb 0x43d038
mov ebp, ecx
test ebp, ebp
je 0x43d086
add eax, 0x14
mov ecx, ebp
and ecx, 3
mov dword [esp], ebx
je 0x43d08c
mov dword [esp + 0x18], ebp
xor esi, esi
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 0x43d050
mov ebp, dword [esp + 0x18]
mov ecx, ebp
sub ecx, esi
mov edx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp]
jmp 0x43d08e
mov ebp, dword [esp + 0x48]
jmp 0x43d105
mov ecx, ebp
cmp ebp, 4
mov ebp, dword [esp + 0x48]
jb 0x43d105
nop
nop
nop
nop
nop
nop
nop
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 0x43d0a0
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp]
mov word [edi], 0
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x10]
shr eax, 1
mov dword [edx], eax
test esi, esi
je 0x43d11e
mov eax, dword [ecx + 4]
mov dword [esi], eax
test ebp, ebp
je 0x43d190
cmp dword [esp + 0x44], 0
je 0x43d18a
mov dword [esp], ebx
mov eax, dword [ebp]
mov ecx, dword [ecx + 0xc]
cmp eax, ecx
jb 0x43d138
mov eax, ecx
mov ebx, dword [esp + 8]
mov esi, dword [ebx + 8]
add esi, ebx
mov ecx, eax
shr ecx, 2
mov edx, eax
and edx, 0xfffffffc
mov edi, dword [esp + 0x44]
add dword [esp + 4], 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, dword [esp + 4]
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov esi, dword [esp + 4]
mov ecx, ebx
test al, 1
mov ebx, dword [esp]
je 0x43d18a
and eax, 2
movzx ecx, byte [edx + eax]
mov byte [esi + eax], cl
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0xc]
mov dword [ebp], eax
push ecx
call fcn.004356c0
add esp, 4
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret