Function at 0x43e657
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
cmp dword [0x44e8a0], edi
mov esi, eax
jne 0x43e678
call fcn.0043e430
mov dword [0x44e8a0], 1
mov eax, dword [ebp + 0xc]
sub eax, 0x80
je 0x43e6a4
sub eax, 0x40
je 0x43e69c
sub eax, 0x40
je 0x43e694
push 0xffffffffffffffe0
pop eax
jmp 0x43e8d1
mov dword [esi], 0xe
jmp 0x43e6aa
mov dword [esi], 0xc
jmp 0x43e6aa
mov dword [esi], 0xa
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 8]
shr ecx, 5
push ebx
mov dword [esi + 4], eax
mov dword [ebp + 0xc], ecx
je 0x43e6e7
mov ecx, dword [ebp + 8]
add ecx, 2
movzx ebx, byte [ecx - 1]
xor edx, edx
mov dh, byte [ecx + 1]
mov dl, byte [ecx]
add ecx, 4
shl edx, 8
or edx, ebx
movzx ebx, byte [ecx - 6]
shl edx, 8
or edx, ebx
mov dword [eax + edi*4], edx
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x43e6c2
mov esi, dword [esi]
sub esi, 0xa
je 0x43e85e
dec esi
dec esi
je 0x43e7dc
dec esi
dec esi
jne 0x43e8ce
and dword [ebp + 0xc], esi
mov esi, 0xff
mov ecx, dword [eax + 0x1c]
and ecx, esi
xor edx, edx
mov dh, byte [ecx + 0x44bd38]
movzx ecx, byte [eax + 0x1f]
movzx ecx, byte [ecx + 0x44bd38]
xor edx, ecx
movzx ecx, byte [eax + 0x1e]
movzx ecx, byte [ecx + 0x44bd38]
shl edx, 8
xor edx, ecx
movzx ecx, byte [eax + 0x1d]
movzx ecx, byte [ecx + 0x44bd38]
mov edi, dword [eax + 8]
shl edx, 8
xor edx, ecx
mov ecx, dword [ebp + 0xc]
xor edx, dword [ecx + 0x44c638]
lea ebx, [eax + 0x20]
mov ecx, edx
xor ecx, dword [eax]
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [ebx], ecx
mov ecx, dword [eax + 0xc]
xor edi, edx
xor ecx, edi
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x24], edx
movzx edx, byte [eax + 0x2f]
mov dword [ebp - 4], ebx
xor ebx, ebx
mov dword [eax + 0x28], edi
mov bh, byte [edx + 0x44bd38]
movzx edx, byte [eax + 0x2e]
movzx edx, byte [edx + 0x44bd38]
xor ebx, edx
movzx edx, byte [eax + 0x2d]
movzx edx, byte [edx + 0x44bd38]
add dword [ebp + 0xc], 4
and ecx, esi
movzx ecx, byte [ecx + 0x44bd38]
shl ebx, 8
xor ebx, edx
mov edx, dword [eax + 0x14]
shl ebx, 8
xor ecx, ebx
xor ecx, dword [eax + 0x10]
mov ebx, dword [ebp - 4]
xor edx, ecx
mov dword [eax + 0x30], ecx
mov ecx, dword [eax + 0x18]
xor ecx, edx
mov dword [eax + 0x38], ecx
xor ecx, dword [eax + 0x1c]
cmp dword [ebp + 0xc], 0x1c
mov dword [eax + 0x34], edx
mov dword [eax + 0x3c], ecx
mov eax, ebx
jb 0x43e70a
jmp 0x43e8ce
xor ebx, ebx
mov esi, 0xff
mov ecx, dword [eax + 0x14]
and ecx, esi
xor edx, edx
mov dh, byte [ecx + 0x44bd38]
movzx ecx, byte [eax + 0x17]
movzx ecx, byte [ecx + 0x44bd38]
xor edx, ecx
movzx ecx, byte [eax + 0x16]
movzx ecx, byte [ecx + 0x44bd38]
shl edx, 8
xor edx, ecx
movzx ecx, byte [eax + 0x15]
movzx ecx, byte [ecx + 0x44bd38]
shl edx, 8
xor edx, ecx
xor edx, dword [ebx + 0x44c638]
lea edi, [eax + 0x18]
mov ecx, edx
xor ecx, dword [eax]
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [edi], ecx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x1c], edx
mov edx, dword [eax + 0xc]
xor edx, ecx
mov dword [eax + 0x20], ecx
mov ecx, dword [eax + 0x10]
xor ecx, edx
mov dword [eax + 0x28], ecx
xor ecx, dword [eax + 0x14]
add ebx, 4
cmp ebx, 0x20
mov dword [eax + 0x24], edx
mov dword [eax + 0x2c], ecx
mov eax, edi
jb 0x43e7e3
jmp 0x43e8ce
xor ebx, ebx
mov esi, 0xff
mov ecx, dword [eax + 0xc]
and ecx, esi
xor edx, edx
mov dh, byte [ecx + 0x44bd38]
movzx ecx, byte [eax + 0xf]
movzx ecx, byte [ecx + 0x44bd38]
xor edx, ecx
movzx ecx, byte [eax + 0xe]
movzx ecx, byte [ecx + 0x44bd38]
shl edx, 8
xor edx, ecx
movzx ecx, byte [eax + 0xd]
movzx ecx, byte [ecx + 0x44bd38]
shl edx, 8
xor edx, ecx
xor edx, dword [ebx + 0x44c638]
lea edi, [eax + 0x10]
mov ecx, edx
xor ecx, dword [eax]
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [edi], ecx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x18], ecx
xor ecx, dword [eax + 0xc]
add ebx, 4
cmp ebx, 0x28
mov dword [eax + 0x14], edx
mov dword [eax + 0x1c], ecx
mov eax, edi
jb 0x43e865
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret