Function at 0x43c880
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 4], 0xfcfdfeff
mov dword [esp + 8], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 4]
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 + 4], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 8
jb 0x43c8b0
mov esi, dword [esp + 4]
mov eax, dword [0x4497f8]
test eax, eax
je 0x43c93e
xor ecx, ecx
mov edx, dword [0x4497fc]
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x33079ccd
je 0x43c910
inc ecx
cmp eax, ecx
jne 0x43c900
jmp 0x43c93e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43c93e
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0x18
push eax
push dword [0x449800]
call fcn.00438810
add esp, 0x24
mov esi, eax
mov dword [esp + 4], 0x5f1e19ff
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
not ecx
mov edx, eax
add dl, 0x7a
xor dl, byte [esp + eax + 4]
add dl, 0x9e
mov byte [esp + eax + 4], dl
and ecx, 2
mov edx, eax
and edx, 1
xor eax, 0xfffffffe
or eax, ecx
not eax
lea eax, [eax + edx*2]
cmp eax, 4
jb 0x43c950
cmp esi, dword [esp + 4]
jne 0x43cb3f
push dword [esp + 0x10]
call fcn.00435670
add esp, 4
mov edi, eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0xfcfdfeff
mov dword [esp + 8], 0
xor edx, edx
nop
nop
nop
movzx esi, byte [esp + edx + 4]
mov ecx, 0xa4d3137f
sub ecx, edx
xor ecx, esi
lea esi, [ecx*2 + 2]
inc ecx
and esi, 2
xor ecx, 0x7e
sub ecx, esi
add cl, 2
mov byte [esp + edx + 4], cl
mov ecx, edx
and ecx, 1
xor edx, 1
lea edx, [edx + ecx*2]
cmp edx, 8
jb 0x43c9b0
mov esi, dword [esp + 4]
mov edx, dword [0x4497f8]
test edx, edx
je 0x43ca4e
mov dword [esp], edi
mov edi, ebp
xor ecx, ecx
mov ebp, dword [0x4497fc]
cmp dword [ebp + ecx*8], 0x33079ccd
je 0x43ca13
inc ecx
cmp edx, ecx
jne 0x43ca00
mov ebp, edi
jmp 0x43ca4b
mov edx, dword [ebp + ecx*8 + 4]
cmp edx, esi
mov ebp, edi
mov edi, dword [esp]
je 0x43ca4e
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 0x10]
push edi
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0x18
push edx
push dword [0x449800]
mov edi, eax
call fcn.00438810
add esp, 0x24
mov esi, eax
mov eax, edi
mov edi, dword [esp]
test ebp, ebp
je 0x43cb36
test esi, esi
js 0x43cb36
test ebx, ebx
je 0x43cb2e
mov ecx, dword [edi + 0xc]
shr ecx, 1
mov edx, dword [ebp]
cmp edx, ecx
jb 0x43ca74
mov edx, ecx
test edx, edx
je 0x43cb25
add eax, 0x10
mov ecx, edx
and ecx, 3
mov dword [esp], edi
je 0x43cabb
mov dword [esp + 0xc], edx
xor edi, edi
nop
movzx ebp, word [eax]
xor edx, edx
test bp, bp
setne dl
lea eax, [eax + edx*2]
mov word [ebx], bp
add ebx, 2
inc edi
cmp ecx, edi
jne 0x43ca90
mov edx, dword [esp + 0xc]
mov ebp, edx
sub ebp, edi
mov edi, dword [esp]
cmp edx, 4
jae 0x43cad0
jmp 0x43cb25
mov ebp, edx
cmp edx, 4
jb 0x43cb25
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ecx, ecx
test dx, dx
setne cl
lea edi, [eax + ecx*2]
mov word [ebx], dx
movzx eax, word [eax + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [edi + ecx*2]
mov word [ebx + 2], ax
movzx eax, word [edi + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edi, [edx + ecx*2]
mov word [ebx + 4], ax
movzx ecx, word [edx + ecx*2]
xor eax, eax
test cx, cx
setne al
mov word [ebx + 6], cx
add ebx, 8
lea eax, [edi + eax*2]
add ebp, 0xfffffffc
jne 0x43cad0
mov edi, dword [esp]
mov word [ebx], 0
mov ebp, dword [esp + 0x34]
mov eax, dword [edi + 0xc]
shr eax, 1
mov dword [ebp], eax
push edi
call fcn.004356c0
add esp, 4
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret