Function at 0x43c710
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
cmp dword [ecx + 8], 0
je 0x43c7ca
mov edx, dword [ecx]
test edx, edx
je 0x43c7ca
mov dword [esp + 0x14], 0x4c4d4a4b
mov byte [esp + 0x18], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x43c789
nop
nop
nop
nop
mov eax, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 0x14]
mov edi, eax
xor edi, 0x5cb5cef2
and eax, 0xdcb5cef2
lea eax, [edi + eax*2]
xor eax, esi
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0x46
mov esi, dword [esp]
mov byte [esp + esi + 0x14], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x43c750
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
mov ebx, dword [0x4ce508]
test ebx, ebx
je 0x43c873
xor edi, edi
mov esi, dword [0x4ce50c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edi*8], 0xc766965c
je 0x43c84f
inc edi
cmp ebx, edi
jne 0x43c7b0
mov edi, dword [ebp + 0x10]
jmp 0x43c873
mov dword [esp], 0x511e1f24
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 3
ja 0x43c847
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx]
mov edx, eax
xor edx, 0x73f1d9c5
mov esi, eax
xor esi, 0xc0e263a
or eax, 0x73f1d9c5
and eax, esi
lea eax, [edx + eax*2]
lea edx, [eax + ecx]
and eax, ecx
mov ecx, edx
xor ecx, eax
add ecx, eax
not eax
and eax, edx
add eax, eax
sub eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add al, 0x27
mov ecx, dword [esp + 8]
mov byte [esp + ecx], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 4
jb 0x43c7f0
mov eax, dword [esp]
jmp 0x43c972
mov esi, dword [esi + edi*8 + 4]
cmp esi, eax
mov edi, dword [ebp + 0x10]
je 0x43c873
push dword [ebp + 8]
push edx
push 2
push dword [0x4ce510]
push esi
mov esi, ecx
call fcn.0043edd0
mov ecx, esi
add esp, 0x14
mov esi, dword [ebp + 0xc]
cmp esi, 1
mov edx, edi
sbb edx, 0
jl 0x43c965
cmp eax, 0xc000010a
jne 0x43c965
mov edx, 0xffffd8f0
mov eax, esi
mul edx
sub edx, esi
imul esi, edi, 0xffffd8f0
add esi, edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov edx, dword [ecx]
mov dword [esp + 0x14], 0x4c4d4a4b
mov byte [esp + 0x18], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 4
ja 0x43c90c
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov esi, dword [esp + 4]
movzx esi, byte [esp + esi + 0x14]
mov edi, eax
xor edi, 0x5cb5cef2
and eax, 0xdcb5cef2
lea eax, [edi + eax*2]
xor eax, esi
mov dword [esp], eax
mov eax, dword [esp]
add al, 0x46
mov esi, dword [esp + 4]
mov byte [esp + esi + 0x14], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 5
jb 0x43c8d0
mov eax, dword [esp + 0x14]
mov esi, dword [0x4ce508]
test esi, esi
je 0x43c965
xor edi, edi
mov ebx, dword [0x4ce50c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x7e28bda7
je 0x43c940
inc edi
cmp esi, edi
jne 0x43c930
jmp 0x43c965
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x43c965
lea eax, [esp + 8]
push eax
push 0
push edx
push 3
push dword [0x4ce510]
push esi
mov esi, ecx
call fcn.0043edd0
mov ecx, esi
add esp, 0x18
test eax, eax
js 0x43c972
mov esi, eax
call fcn.0043c640
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc