Function at 0x43e560
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 0x43e636
mov edx, dword [ecx]
test edx, edx
je 0x43e636
mov dword [esp + 4], 0x80b0a0d
mov dword [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x43e5f7
nop
mov esi, dword [esp]
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
lea edi, [esi + esi]
and edi, 0x3ed7dd06
sub esi, edi
add esi, 0x9f6bee83
mov ebx, esi
and ebx, edi
xor esi, edi
lea esi, [esi + ebx*2]
lea edi, [esi + eax]
and esi, eax
add esi, esi
sub edi, esi
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x10]
mov esi, eax
not esi
and esi, 0x8f
and eax, 0x70
sub eax, esi
mov esi, dword [esp]
mov byte [esp + esi + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x43e5a0
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 4]
mov ebx, dword [0x450704]
test ebx, ebx
je 0x43e6c6
xor edi, edi
mov esi, dword [0x450708]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edi*8], 0xc766965c
je 0x43e6a2
inc edi
cmp ebx, edi
jne 0x43e620
mov edi, dword [ebp + 0x10]
jmp 0x43e6c6
mov dword [esp + 4], 0xf3323138
mov dword [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x43e699
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 4]
mov edx, eax
xor edx, 0xd2b72734
and eax, 0xd2b72734
lea eax, [edx + eax*2]
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0xfc
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x43e660
mov eax, dword [esp + 4]
jmp 0x43e7d2
mov esi, dword [esi + edi*8 + 4]
cmp esi, eax
mov edi, dword [ebp + 0x10]
je 0x43e6c6
push dword [ebp + 8]
push edx
push 2
push dword [0x45070c]
push esi
mov esi, ecx
call fcn.00441120
mov ecx, esi
add esp, 0x14
mov esi, dword [ebp + 0xc]
cmp esi, 1
mov edx, edi
sbb edx, 0
jl 0x43e7c5
cmp eax, 0xc000010a
jne 0x43e7c5
mov edx, 0xffffd8f0
mov eax, esi
mul edx
sub edx, esi
imul esi, edi, 0xffffd8f0
add esi, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov edx, dword [ecx]
mov dword [esp + 4], 0x80b0a0d
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 7
ja 0x43e77a
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0xc]
movzx eax, byte [esp + eax + 4]
lea edi, [esi + esi]
and edi, 0x3ed7dd06
sub esi, edi
add esi, 0x9f6bee83
mov ebx, esi
and ebx, edi
xor esi, edi
lea esi, [esi + ebx*2]
lea edi, [esi + eax]
and esi, eax
add esi, esi
sub edi, esi
mov dword [esp], edi
mov eax, dword [esp]
mov esi, eax
not esi
and esi, 0x8f
and eax, 0x70
sub eax, esi
mov esi, dword [esp + 0xc]
mov byte [esp + esi + 4], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 8
jb 0x43e720
mov eax, dword [esp + 4]
mov esi, dword [0x450704]
test esi, esi
je 0x43e7c5
xor edi, edi
mov ebx, dword [0x450708]
cmp dword [ebx + edi*8], 0x7e28bda7
je 0x43e7a0
inc edi
cmp esi, edi
jne 0x43e790
jmp 0x43e7c5
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x43e7c5
lea eax, [esp + 0x10]
push eax
push 0
push edx
push 3
push dword [0x45070c]
push esi
mov esi, ecx
call fcn.00441120
mov ecx, esi
add esp, 0x18
test eax, eax
js 0x43e7d2
mov esi, eax
call fcn.0043e480
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc