Function at 0x43c550
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov dword [esp], 0xc4c5c6c7
mov eax, 0xf9309b78
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x6cf6488]
xor edx, eax
mov ecx, edx
or ecx, 0x3f
add ecx, edx
not edx
or edx, 0x3f
add ecx, edx
add cl, 2
mov byte [esp + eax + 0x6cf6488], cl
inc eax
cmp eax, 0xf9309b7c
jne 0x43c570
mov esi, dword [esp]
mov eax, dword [0x448580]
test eax, eax
je 0x43c5ee
xor ecx, ecx
mov edx, dword [0x448584]
nop
nop
cmp dword [edx + ecx*8], 0x29df508e
je 0x43c5c0
inc ecx
cmp eax, ecx
jne 0x43c5b0
jmp 0x43c5ee
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x43c5ee
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0
push dword [esp + 0x38]
push dword [esp + 0x38]
push 0x18
push eax
push dword [0x448588]
call fcn.00439ae0
add esp, 0x24
mov esi, eax
mov dword [esp], 0x580706e6
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x6d
xor cl, byte [esp + eax]
add cl, 0x98
mov byte [esp + eax], cl
inc eax
cmp eax, 4
jne 0x43c600
cmp esi, dword [esp]
jne 0x43c7e0
push dword [esp + 0xc]
call fcn.00437ee0
add esp, 4
mov edi, eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp], 0xc4c5c6c7
mov edx, 0xf9309b78
nop
movzx esi, byte [esp + edx + 0x6cf6488]
xor esi, edx
mov ecx, esi
or ecx, 0x3f
add ecx, esi
not esi
or esi, 0x3f
add ecx, esi
add cl, 2
mov byte [esp + edx + 0x6cf6488], cl
inc edx
cmp edx, 0xf9309b7c
jne 0x43c640
mov esi, dword [esp]
mov edx, dword [0x448580]
test edx, edx
je 0x43c6e0
mov dword [esp + 4], edi
mov ecx, ebp
xor edi, edi
mov ebp, dword [0x448584]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebp + edi*8], 0x29df508e
je 0x43c6a3
inc edi
cmp edx, edi
jne 0x43c690
mov ebp, ecx
jmp 0x43c6dc
mov edx, dword [ebp + edi*8 + 4]
cmp edx, esi
mov ebp, ecx
mov edi, dword [esp + 4]
je 0x43c6e0
lea ecx, [esp + 0xc]
push ecx
push dword [esp + 0xc]
push edi
push 0
push dword [esp + 0x38]
push dword [esp + 0x38]
push 0x18
push edx
push dword [0x448588]
mov edi, eax
call fcn.00439ae0
add esp, 0x24
mov esi, eax
mov eax, edi
mov edi, dword [esp + 4]
test ebp, ebp
je 0x43c7d7
test esi, esi
js 0x43c7d7
test ebx, ebx
je 0x43c7cf
mov ecx, dword [edi + 0xc]
shr ecx, 1
mov edx, dword [ebp]
cmp edx, ecx
jb 0x43c706
mov edx, ecx
test edx, edx
je 0x43c7c6
add eax, 0x10
mov ecx, edx
and ecx, 3
mov dword [esp + 4], edi
je 0x43c75c
mov dword [esp + 8], edx
xor edi, edi
nop
nop
nop
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 [ebx], bp
add ebx, 2
inc edi
cmp ecx, edi
jne 0x43c730
mov edx, dword [esp + 8]
mov ebp, edx
sub ebp, edi
mov edi, dword [esp + 4]
cmp edx, 4
jae 0x43c770
jmp 0x43c7c6
mov ebp, edx
cmp edx, 4
jb 0x43c7c6
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 0x43c770
mov edi, dword [esp + 4]
mov word [ebx], 0
mov ebp, dword [esp + 0x30]
mov eax, dword [edi + 0xc]
shr eax, 1
mov dword [ebp], eax
push edi
call fcn.00437f00
add esp, 4
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret