Function at 0x43eba0
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 eax, dword [ecx + 4]
test eax, eax
je 0x43ebc2
cmp eax, 2
je 0x43ec3b
jmp 0x43ed74
push 0xbbf966b4
push dword [0x451b38]
call fcn.00444600
add esp, 8
test eax, eax
je 0x43ebff
mov ecx, dword [esi]
test ecx, ecx
je 0x43ec2f
mov dword [esp], 0
mov edx, esp
push edx
push ecx
call eax
test eax, eax
je 0x43ec0b
cmp dword [esp], 0
je 0x43ec0b
mov dword [esi + 4], 3
jmp 0x43ec2f
mov dword [esi + 4], 1
jmp 0x43ed74
lea eax, [esp + 0x40]
push eax
call fcn.00444f10
add esp, 4
test al, al
je 0x43ec2f
mov eax, dword [esp + 0x40]
mov ecx, 2
cmp eax, 3
je 0x43ec2c
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x43ed74
mov dword [esp], 0x8265875e
mov dword [esp + 4], 0x6f818973
mov dword [esp + 8], 0x8a8e8d73
mov dword [esp + 0xc], 0x664d6b7f
mov dword [esp + 0x10], 0x9e946a6f
mov byte [esp + 0x14], 0x18
mov word [esp + 0x15], 0
mov byte [esp + 0x17], 0
mov eax, 0x59e36a03
mov edi, 0x61c95fc
nop
nop
nop
movzx ebx, byte [esp + eax - 0x59e36a03]
mov ecx, edi
and ecx, 0x4109560
mov edx, eax
and edx, 0x5961401f
or edx, ecx
xor edx, ebx
mov ecx, edx
xor ecx, 0x60
mov ebx, edx
xor ebx, 0x6f
and ebx, ecx
or edx, 0xf0
add edx, ebx
inc dl
mov byte [esp + eax - 0x59e36a03], dl
inc eax
dec edi
cmp eax, 0x59e36a1b
jne 0x43ec80
mov ebx, esp
lea eax, [esp + 0x70]
push ebx
push eax
call fcn.004435a0
add esp, 8
mov eax, dword [esi]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0x30
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
lea eax, [esp + 0x40]
push 6
push eax
push dword [esp + 0x7c]
push dword [esp + 0x7c]
call fcn.00443670
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov esi, dword [ebp + 0x10]
mov dword [esi + 4], edx
mov dword [esi], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov esi, dword [ebp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], ecx
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
jmp 0x43ee70
mov dword [esp + 0x40], 0xd9dadbe8
mov word [esp + 0x44], 0
mov byte [esp + 0x46], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x40]
lea edx, [eax - 0x58f6cab1]
mov edi, 0xb0
sub edi, eax
xor edi, edx
and edi, ecx
xor edi, edx
mov ecx, edi
and ecx, 1
xor edi, 1
lea ecx, [edi + ecx*2]
add cl, 0x74
mov byte [esp + eax + 0x40], cl
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp eax, 7
jb 0x43ed90
mov ebx, dword [esp + 0x40]
mov edi, dword [esi]
mov dword [esp], 0x101f1e1d
mov word [esp + 4], 0
xor eax, eax
mov edx, eax
xor edx, 0xcb1c73a
mov ecx, eax
or ecx, 5
and ecx, edx
mov edx, eax
and edx, 5
mov esi, ecx
and esi, 2
or ecx, 2
imul ecx, esi
xor esi, 2
imul esi, edx
mov edx, eax
xor edx, 0xc5
add edx, ecx
add edx, esi
xor dl, byte [esp + eax]
add dl, 0x27
mov byte [esp + eax], dl
inc eax
cmp eax, 6
jne 0x43ede0
mov eax, dword [esp]
mov ecx, dword [0x451b44]
test ecx, ecx
je 0x43ee4e
xor edx, edx
mov esi, dword [0x451b48]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xba50defc
je 0x43ee7a
inc edx
cmp ecx, edx
jne 0x43ee40
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov dword [edx + 4], 0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], ebx
mov dword [ecx + 4], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], edi
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edi
mov edx, dword [esi + edx*8 + 4]
cmp edx, eax
je 0x43ee4e
mov eax, esp
push 0
push dword [esp + 0x3c]
push eax
push 0
push dword [ebp + 8]
push dword [esp + 0x50]
push 6
push edx
push dword [0x451b4c]
call fcn.00441940
add esp, 0x24
mov ecx, dword [esp]
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
jmp 0x43ee4e