Function at 0x4412d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, dword [esp + 0x34]
mov dword [esp + 8], 0x20272625
mov dword [esp + 0xc], 0
xor eax, eax
xor ecx, ecx
nop
movzx esi, byte [esp + ecx + 8]
mov ebx, eax
and ebx, 2
mov edx, ecx
xor edx, 0x3b269f89
add edx, ebx
xor edx, esi
mov esi, edx
not esi
or esi, 0xd83ee252
add esi, edx
inc esi
mov ebx, esi
and ebx, 0xfd
mov ebp, esi
and ebp, 2
or esi, 2
imul esi, ebp
xor ebp, 2
imul ebp, ebx
xor edx, 0x52
add edx, esi
add edx, ebp
inc dl
mov byte [esp + ecx + 8], dl
inc ecx
add eax, 2
cmp ecx, 8
jne 0x4412f0
mov ebp, dword [esp + 8]
mov eax, dword [0x44cd58]
test eax, eax
je 0x44139e
xor ecx, ecx
mov edx, dword [0x44cd5c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x4f699cd4
je 0x441370
inc ecx
cmp eax, ecx
jne 0x441360
jmp 0x44139e
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebp
je 0x44139e
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0x18
push eax
push dword [0x44cd60]
call fcn.0043dda0
add esp, 0x24
mov ebp, eax
cmp ebp, 0xc0000023
jne 0x4415e4
mov dword [esp + 4], edi
push dword [esp + 0x10]
call fcn.0043af60
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp + 8], 0x20272625
mov dword [esp + 0xc], 0
xor ebp, ebp
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + esi + 8]
mov edx, ebp
and edx, 2
mov ebx, esi
xor ebx, 0x3b269f89
add ebx, edx
xor ebx, ecx
mov ecx, ebx
not ecx
or ecx, 0xd83ee252
add ecx, ebx
inc ecx
mov edx, ecx
and edx, 0xfd
mov edi, ecx
and edi, 2
or ecx, 2
imul ecx, edi
xor edi, 2
imul edi, edx
xor ebx, 0x52
add ebx, ecx
add ebx, edi
inc bl
mov byte [esp + esi + 8], bl
inc esi
add ebp, 2
cmp esi, 8
jne 0x4413e0
mov ebp, dword [esp + 8]
mov ecx, dword [0x44cd58]
test ecx, ecx
je 0x441460
xor edx, edx
mov esi, dword [0x44cd5c]
mov ebx, dword [esp + 0x44]
mov edi, dword [esp]
nop
cmp dword [esi + edx*8], 0x4f699cd4
je 0x441469
inc edx
cmp ecx, edx
jne 0x441450
jmp 0x44149c
mov ebx, dword [esp + 0x44]
mov edi, dword [esp]
jmp 0x44149c
mov edx, dword [esi + edx*8 + 4]
cmp edx, ebp
je 0x44149c
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 0x18]
push edi
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0x18
push edx
push dword [0x44cd60]
mov esi, eax
call fcn.0043dda0
add esp, 0x24
mov ebp, eax
mov eax, esi
test ebp, ebp
js 0x4415db
mov esi, dword [esp + 0x38]
test esi, esi
je 0x44156b
cmp dword [esp + 0x34], 0
je 0x441564
mov ecx, dword [edi + 0x10]
shr ecx, 1
mov edx, dword [esi]
cmp edx, ecx
jb 0x4414c8
mov edx, ecx
test edx, edx
je 0x44155b
add eax, 0x14
mov ecx, edx
test dl, 1
je 0x44150b
not ecx
lea ecx, [ecx + edx*2]
movzx esi, word [eax]
test si, si
mov ebx, 0
setne bl
mov edi, ebx
mov ebx, dword [esp + 0x44]
lea eax, [eax + edi*2]
mov edi, dword [esp + 0x34]
mov word [edi], si
mov esi, dword [esp + 0x38]
add edi, 2
mov dword [esp + 4], edi
mov edi, dword [esp]
cmp edx, 1
je 0x44155b
mov edi, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [eax]
xor ebx, ebx
test dx, dx
setne bl
lea esi, [eax + ebx*2]
mov word [edi], dx
movzx edx, word [eax + ebx*2]
xor eax, eax
test dx, dx
setne al
lea eax, [esi + eax*2]
mov word [edi + 2], dx
add edi, 4
add ecx, 0xfffffffe
jne 0x441520
mov dword [esp + 4], edi
mov esi, dword [esp + 0x38]
mov edi, dword [esp]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 4]
mov word [eax], 0
mov eax, dword [edi + 0x10]
shr eax, 1
mov dword [esi], eax
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x441578
mov eax, dword [edi + 4]
mov dword [ecx], eax
test ebx, ebx
je 0x4415db
mov esi, ebx
cmp dword [esp + 0x40], 0
je 0x4415d6
mov eax, dword [esi]
mov ecx, dword [edi + 0xc]
cmp eax, ecx
jb 0x441590
mov eax, ecx
mov esi, dword [edi + 8]
add esi, edi
mov ecx, eax
shr ecx, 2
mov edx, eax
and edx, 0xfffffffc
mov ebx, dword [esp + 0x40]
mov edi, ebx
add ebx, edx
add edx, esi
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, eax
shr ecx, 1
and ecx, 1
mov esi, edx
mov edi, ebx
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
test al, 1
mov esi, dword [esp + 0x44]
mov edi, dword [esp]
je 0x4415d6
and eax, 2
movzx ecx, byte [edx + eax]
mov byte [ebx + eax], cl
mov eax, dword [edi + 0xc]
mov dword [esi], eax
push edi
call fcn.0043b010
add esp, 4
mov eax, ebp
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret