Function at 0x43eaa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, ecx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ecx + 4]
test eax, eax
je 0x43eac9
cmp eax, 2
je 0x43eb46
jmp 0x43eca0
push 0xfb1631b0
push dword [0x4506f8]
call fcn.00443d90
add esp, 8
test eax, eax
je 0x43eb0a
mov ecx, dword [esi]
test ecx, ecx
je 0x43eb3a
mov dword [esp + 0x10], 0
lea edx, [esp + 0x10]
push edx
push ecx
call eax
test eax, eax
je 0x43eb16
cmp dword [esp + 0x10], 0
je 0x43eb16
mov dword [esi + 4], 3
jmp 0x43eb3a
mov dword [esi + 4], 1
jmp 0x43eca0
lea eax, [esp + 0x48]
push eax
call fcn.004446b0
add esp, 4
test al, al
je 0x43eb3a
mov eax, dword [esp + 0x48]
mov ecx, 2
cmp eax, 3
je 0x43eb37
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x43eca0
mov dword [esp + 0x10], 0xea07f51a
mov dword [esp + 0x14], 0x9ebebf9
mov dword [esp + 0x18], 0xe2e2eff9
mov dword [esp + 0x1c], 0xf60fe9fd
mov dword [esp + 0x20], 0x1e18eaed
mov byte [esp + 0x24], 0xa4
mov dword [esp + 0x25], 0
mov word [esp + 0x29], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0x1a
ja 0x43ebf3
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 + 0x10]
mov edx, eax
xor edx, 0x15fc31ee
and eax, 0x15fc31ee
lea edx, [edx + eax*2]
mov eax, edx
and eax, ecx
xor edx, ecx
sub edx, eax
lea ecx, [edx + eax*2]
mov edx, ecx
xor edx, eax
not eax
and eax, ecx
add eax, eax
sub eax, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
add al, 0x5a
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0x1b
jb 0x43eba0
lea edi, [esp + 0x10]
lea eax, [esp + 8]
push edi
push eax
call fcn.00443120
add esp, 8
mov eax, dword [esi]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0x30
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
lea eax, [esp + 0x48]
push 6
push eax
push dword [esp + 0x14]
push dword [esp + 0x14]
call fcn.004431f0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [ebx + 4], edx
mov dword [ebx], ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov esi, dword [ebp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
mov ecx, dword [esp + 0x34]
jmp 0x43edb2
mov ecx, dword [esi]
mov dword [esp + 0x10], 0x80b0a0d
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 7
ja 0x43ed2c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 8]
mov eax, dword [esp + 8]
movzx eax, byte [esp + eax + 0x10]
lea esi, [edx + edx]
and esi, 0x3ed7dd06
sub edx, esi
add edx, 0x9f6bee83
mov edi, edx
and edi, esi
xor edx, esi
lea edx, [edx + edi*2]
lea esi, [edx + eax]
and edx, eax
add edx, edx
sub esi, edx
mov dword [esp + 0x48], esi
mov eax, dword [esp + 0x48]
mov edx, eax
not edx
and edx, 0x8f
and eax, 0x70
sub eax, edx
mov edx, dword [esp + 8]
mov byte [esp + edx + 0x10], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 8
jb 0x43ecd0
mov eax, dword [esp + 0x10]
mov edx, dword [0x450704]
test edx, edx
je 0x43ed88
xor esi, esi
mov edi, dword [0x450708]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x2ee8d390
je 0x43ed60
inc esi
cmp edx, esi
jne 0x43ed50
jmp 0x43ed88
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x43ed88
lea eax, [esp + 0x10]
push 0
push 0x1c
push eax
push 0
push dword [ebp + 8]
push ecx
push 6
push dword [0x45070c]
push edx
call fcn.00441120
add esp, 0x24
mov ecx, dword [esp + 0x10]
mov dword [ebx], ecx
mov dword [ebx + 4], 0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
mov dword [edx + 4], 0
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 0x1c]
mov dword [edx], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18