Function at 0x43e960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov dword [esp + 0xc], ecx
cmp dword [ecx + 8], 0
je 0x43ea06
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
test ecx, ecx
je 0x43ea06
mov edi, dword [ebp + 0x10]
mov dword [esp + 4], 0x14151a1b
mov dword [esp + 8], 0
mov eax, 0x46
mov ebx, 0xb9
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x42]
mov esi, eax
or esi, edx
not edx
or edx, ebx
and edx, esi
add dl, 0xa2
mov byte [esp + eax - 0x42], dl
inc eax
dec ebx
cmp eax, 0x4e
jne 0x43e9b0
mov eax, dword [esp + 4]
mov ebx, dword [0x4506dc]
test ebx, ebx
je 0x43ea94
xor edi, edi
mov esi, dword [0x4506e0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edi*8], 0xdef797a3
je 0x43ea74
inc edi
cmp ebx, edi
jne 0x43e9f0
mov edi, dword [ebp + 0x10]
jmp 0x43ea94
mov dword [esp + 4], 0xf7b68980
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov eax, 0xca2f80de
mov ecx, 0x21
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax + 0x35d07f26]
mov edx, ecx
xor edx, eax
and edx, esi
xor edx, eax
mov esi, edx
and esi, 0x56
mov ebx, edx
xor ebx, 0xa9
add ebx, edx
sub ebx, esi
and edx, 0xa9
add ebx, edx
inc bl
mov byte [esp + eax + 0x35d07f26], bl
inc eax
dec ecx
cmp eax, 0xca2f80e5
jne 0x43ea30
mov eax, dword [esp + 4]
jmp 0x43ec1a
mov edx, dword [esi + edi*8 + 4]
cmp edx, eax
mov edi, dword [ebp + 0x10]
je 0x43ea94
push dword [ebp + 8]
push ecx
push 2
push dword [0x4506e4]
push edx
call fcn.00440b10
add esp, 0x14
mov esi, dword [ebp + 0xc]
cmp esi, 1
mov ecx, edi
sbb ecx, 0
jl 0x43eb61
cmp eax, 0xc000010a
jne 0x43eb61
mov ecx, 0xffffd8f0
mov eax, esi
mul ecx
sub edx, esi
imul ecx, edi, 0xffffd8f0
add ecx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
mov dword [esp + 4], 0x14151a1b
mov dword [esp + 8], 0
mov eax, 0x46
mov esi, 0xb9
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x42]
mov edi, eax
or edi, ecx
not ecx
or ecx, esi
and ecx, edi
add cl, 0xa2
mov byte [esp + eax - 0x42], cl
inc eax
dec esi
cmp eax, 0x4e
jne 0x43eaf0
mov eax, dword [esp + 4]
mov esi, dword [0x4506dc]
test esi, esi
je 0x43eb61
xor edi, edi
mov ebx, dword [0x4506e0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x53f09cfa
je 0x43eb40
inc edi
cmp esi, edi
jne 0x43eb30
jmp 0x43eb61
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x43eb61
lea eax, [esp + 0x10]
push eax
push 0
push edx
push 3
push dword [0x4506e4]
push esi
call fcn.00440b10
add esp, 0x18
test eax, eax
js 0x43ec1a
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
test edx, edx
je 0x43ec1a
mov dword [esp + 4], 0x14151a1b
mov dword [esp + 8], 0
mov esi, 0xb9
mov edi, 0x46
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edi - 0x42]
mov ebx, edi
or ebx, ecx
not ecx
or ecx, esi
and ecx, ebx
add cl, 0xa2
mov byte [esp + edi - 0x42], cl
dec esi
inc edi
cmp esi, 0xb1
jne 0x43eba0
mov esi, dword [0x4506dc]
test esi, esi
je 0x43ec10
mov ecx, dword [esp + 4]
xor ebx, ebx
mov edi, dword [0x4506e0]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebx*8], 0x7e776f1
je 0x43ebf0
inc ebx
cmp esi, ebx
jne 0x43ebe0
jmp 0x43ec10
mov esi, ecx
mov ecx, dword [edi + ebx*8 + 4]
cmp ecx, esi
je 0x43ec10
push edx
push 1
push dword [0x4506e4]
push ecx
mov esi, eax
call fcn.00440b10
mov eax, esi
add esp, 0x10
mov ecx, dword [esp + 0xc]
mov dword [ecx], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc