Function at 0x43cb50
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov dword [esp + 4], 0xfcfdfeff
mov dword [esp + 8], 0
mov ebx, dword [esp + 0x2c]
xor eax, eax
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 0x43cb80
mov esi, dword [esp + 4]
mov eax, dword [0x4497f8]
test eax, eax
je 0x43cc0a
xor ecx, ecx
mov edx, dword [0x4497fc]
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xdd26b4f7
je 0x43cbe0
inc ecx
cmp eax, ecx
jne 0x43cbd0
jmp 0x43cc0a
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43cc0a
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 2
push dword [esp + 0x38]
push 0x14
push eax
push dword [0x449800]
call fcn.00438810
add esp, 0x20
mov esi, eax
cmp esi, 0xc0000023
jne 0x43ce37
push dword [esp + 0x10]
call fcn.00435670
add esp, 4
mov dword [esp], 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
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 0x43cc40
mov esi, dword [esp + 4]
mov edx, dword [0x4497f8]
test edx, edx
je 0x43ccda
xor ecx, ecx
mov edi, dword [0x4497fc]
nop
nop
nop
nop
nop
cmp dword [edi + ecx*8], 0xdd26b4f7
je 0x43cca0
inc ecx
cmp edx, ecx
jne 0x43cc90
jmp 0x43ccd6
mov edx, dword [edi + ecx*8 + 4]
cmp edx, esi
mov edi, dword [esp + 0x44]
je 0x43ccda
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 0x10]
push dword [esp + 8]
push 2
push dword [esp + 0x38]
push 0x14
push edx
push dword [0x449800]
mov edi, eax
call fcn.00438810
add esp, 0x20
mov esi, eax
mov eax, edi
mov edi, dword [esp + 0x44]
test esi, esi
js 0x43ce2c
mov edx, dword [esp + 0x30]
test edx, edx
je 0x43cdcd
test ebx, ebx
je 0x43cdc3
mov ecx, dword [esp]
mov ecx, dword [ecx + 0x10]
shr ecx, 1
mov ebp, dword [edx]
cmp ebp, ecx
jb 0x43cd06
mov ebp, ecx
test ebp, ebp
je 0x43cdba
add eax, 0x2c
mov ecx, ebp
and ebp, 3
je 0x43cd50
mov dword [esp + 0xc], ecx
xor edi, edi
nop
nop
movzx edx, word [eax]
xor ecx, ecx
test dx, dx
setne cl
lea eax, [eax + ecx*2]
mov word [ebx], dx
add ebx, 2
inc edi
cmp ebp, edi
jne 0x43cd20
mov ecx, dword [esp + 0xc]
mov ebp, ecx
sub ebp, edi
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
cmp ecx, 4
jae 0x43cd60
jmp 0x43cdba
mov ebp, ecx
cmp ecx, 4
jb 0x43cdba
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 0x43cd60
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
mov word [ebx], 0
mov ebp, dword [esp + 0x48]
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
shr eax, 1
mov dword [edx], eax
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x43cddd
mov eax, dword [esp]
mov eax, dword [eax + 0x14]
mov dword [ecx], eax
mov ebx, dword [esp + 0x38]
test ebx, ebx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
je 0x43cdf7
mov eax, dword [esp]
mov eax, dword [eax + 0x18]
shr eax, 1
mov dword [ebx], eax
test edx, edx
je 0x43ce05
mov eax, dword [esp]
mov eax, dword [eax + 0x1c]
shr eax, 1
mov dword [edx], eax
test ecx, ecx
je 0x43ce11
mov eax, dword [esp]
mov eax, dword [eax + 0x20]
mov dword [ecx], eax
test edi, edi
je 0x43ce1f
mov eax, dword [esp]
mov eax, dword [eax + 0x24]
shr eax, 1
mov dword [edi], eax
test ebp, ebp
je 0x43ce2c
mov eax, dword [esp]
mov eax, dword [eax + 0x28]
mov dword [ebp], eax
push dword [esp]
call fcn.004356c0
add esp, 4
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret