Function at 0x43e8b0
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 0x43e94a
mov edx, dword [ecx]
test edx, edx
je 0x43e94a
mov edi, dword [ebp + 0x10]
mov dword [esp + 4], 0xd8dbdac5
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, eax
and esi, 4
xor esi, 0xd4
mov ebx, eax
and ebx, 3
sub ebx, esi
add bl, 0x23
xor bl, byte [esp + eax + 4]
add bl, 0x75
mov byte [esp + eax + 4], bl
inc eax
cmp eax, 7
jne 0x43e8f0
mov eax, dword [esp + 4]
mov ebx, dword [0x450710]
test ebx, ebx
je 0x43ea28
xor edi, edi
mov esi, dword [0x450714]
cmp dword [esi + edi*8], 0x2dedf0b8
je 0x43ea04
inc edi
cmp ebx, edi
jne 0x43e930
mov edi, dword [ebp + 0x10]
jmp 0x43ea28
mov dword [esp + 4], 0x53929198
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
lea eax, [esp + 4]
xor ecx, ecx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [esp + 0xc], edx
mov esi, ecx
and esi, 0xfffffff8
add esi, edx
movzx edx, byte [eax]
xor esi, 0x5e2cda4
lea ebx, [edx*2 + 1]
mov edi, edx
sub edi, ebx
mov ebx, edx
not ebx
lea ebx, [ebx + edx*2]
inc ebx
and edi, 0x2050f
and ebx, 0x5e0c8a0
or ebx, edi
xor ebx, 0x2050f
and ebx, esi
or esi, edx
lea edi, [esi + esi]
not edi
add edi, esi
or edi, ebx
mov edx, edi
not edx
mov esi, edx
and esi, 0xe291fbc9
mov ebx, edi
and ebx, 2
imul ebx, esi
and edx, 2
or esi, 2
imul esi, edx
mov edx, edi
xor edx, 0x34
add edx, ebx
add edx, esi
and edi, 1
xor edx, 1
lea edx, [edx + edi*2]
mov byte [eax], dl
mov edx, dword [esp + 0xc]
inc edx
inc eax
add ecx, 2
cmp ecx, 0xe
jne 0x43e970
mov eax, dword [esp + 4]
jmp 0x43eb9a
mov esi, dword [esi + edi*8 + 4]
cmp esi, eax
mov edi, dword [ebp + 0x10]
je 0x43ea28
push dword [ebp + 8]
push edx
push 2
push dword [0x450718]
push esi
mov esi, ecx
call fcn.00441310
mov ecx, esi
add esp, 0x14
mov esi, dword [ebp + 0xc]
cmp esi, 1
mov edx, edi
sbb edx, 0
jl 0x43eaf5
cmp eax, 0xc000010a
jne 0x43eaf5
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], 0xd8dbdac5
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, eax
and esi, 4
xor esi, 0xd4
mov ebx, eax
and ebx, 3
sub ebx, esi
add bl, 0x23
xor bl, byte [esp + eax + 4]
add bl, 0x75
mov byte [esp + eax + 4], bl
inc eax
cmp eax, 7
jne 0x43ea80
mov eax, dword [esp + 4]
mov esi, dword [0x450710]
test esi, esi
je 0x43eaf5
xor edi, edi
mov ebx, dword [0x450714]
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x4e66b5a3
je 0x43ead0
inc edi
cmp esi, edi
jne 0x43eac0
jmp 0x43eaf5
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x43eaf5
lea eax, [esp + 0x10]
push eax
push 0
push edx
push 3
push dword [0x450718]
push esi
mov esi, ecx
call fcn.00441310
mov ecx, esi
add esp, 0x18
test eax, eax
js 0x43eb9a
mov edx, dword [ecx]
test edx, edx
je 0x43eb9a
mov dword [esp + 4], 0xd8dbdac5
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
xor esi, esi
nop
nop
nop
mov edi, esi
and edi, 4
xor edi, 0xd4
mov ebx, esi
and ebx, 3
sub ebx, edi
add bl, 0x23
xor bl, byte [esp + esi + 4]
add bl, 0x75
mov byte [esp + esi + 4], bl
inc esi
cmp esi, 7
jne 0x43eb20
mov esi, dword [0x450710]
test esi, esi
je 0x43eb94
mov edi, dword [esp + 4]
mov dword [esp + 0xc], edi
xor ebx, ebx
mov edi, dword [0x450714]
cmp dword [edi + ebx*8], 0xb62b8d10
je 0x43eb70
inc ebx
cmp esi, ebx
jne 0x43eb60
jmp 0x43eb94
mov esi, dword [edi + ebx*8 + 4]
cmp esi, dword [esp + 0xc]
je 0x43eb94
push edx
push 1
push dword [0x450718]
push esi
mov esi, ecx
mov edi, eax
call fcn.00441310
mov eax, edi
mov ecx, esi
add esp, 0x10
mov dword [ecx], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc