Function at 0x4415c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x44160a
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x4415e0
sar ecx, 1
mov edx, ecx
and edx, 2
mov esi, ecx
or ecx, 2
imul ecx, edx
xor edx, 2
and esi, 0xfffd
imul esi, edx
add ecx, esi
jmp 0x44160c
xor ecx, ecx
mov word [esp + 0x1c], cx
mov edx, eax
test eax, eax
je 0x44161c
add ecx, 2
mov edx, ecx
mov ebp, dword [esp + 0x44]
mov word [esp + 0x1e], dx
mov dword [esp + 0x20], eax
mov dword [esp], 0xd8dbdac5
mov dword [esp + 4], 0
mov eax, 0x4f
mov ecx, 0x75437b0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x4f]
lea esi, [eax - 0x7543800]
mov edi, ecx
and edi, 0x1503021
and esi, 0x5e
or esi, edi
xor esi, edx
xor esi, 0x60407de
mov edi, ecx
or edi, edx
not edi
or edi, esi
lea esi, [edi + edi]
not esi
add esi, edi
not edx
and edx, eax
or edx, esi
add dl, 0x75
mov byte [esp + eax - 0x4f], dl
inc eax
dec ecx
cmp eax, 0x57
jne 0x441650
mov ebx, dword [esp]
mov eax, dword [0x44d110]
test eax, eax
je 0x4416ef
xor ecx, ecx
mov edx, dword [0x44d114]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x877f203a
je 0x4416c0
inc ecx
cmp eax, ecx
jne 0x4416b0
jmp 0x4416ef
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x4416ef
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x4c]
push 0x18
push eax
push dword [0x44d118]
call fcn.0043dd00
add esp, 0x24
mov ebx, eax
mov dword [esp], 0x4f0e092f
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edi]
lea edx, [edi + 0x70398dc2]
xor edx, ecx
lea esi, [edx + edx]
not esi
add esi, edx
mov edx, 0x3d
sub edx, edi
or edx, esi
add edx, edi
add edx, edx
mov eax, edi
sub eax, edx
add al, cl
add al, 0x72
mov byte [esp + edi], al
mov eax, edi
and eax, 1
or edi, 0x9022a179
add edi, eax
add edi, 0x6fdd5e88
cmp edi, 7
jb 0x441710
cmp ebx, dword [esp]
jne 0x441919
mov esi, ebp
push dword [esp + 0x10]
call fcn.0043b1f0
add esp, 4
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], 0x13121112
mov word [esp + 0x18], 0
mov ecx, 4
mov edx, 0xfb
nop
movzx eax, byte [esp + ecx + 0x10]
mov edi, eax
not edi
or edi, edx
or eax, ecx
and eax, edi
add al, 0xec
mov byte [esp + ecx + 0x10], al
inc ecx
dec edx
cmp ecx, 0xa
jne 0x441790
mov edx, dword [esp + 0x14]
mov dword [esp], 0xd8dbdac5
mov dword [esp + 4], 0
mov ebx, 0x4f
mov ebp, 0x75437b0
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + ebx - 0x4f]
lea eax, [ebx - 0x7543800]
mov edi, ebp
and edi, 0x1503021
and eax, 0x5e
or eax, edi
xor eax, ecx
xor eax, 0x60407de
mov edi, ebp
or edi, ecx
not edi
or edi, eax
lea eax, [edi + edi]
not eax
add eax, edi
not ecx
and ecx, ebx
or ecx, eax
add cl, 0x75
mov byte [esp + ebx - 0x4f], cl
inc ebx
dec ebp
cmp ebx, 0x57
jne 0x4417d0
mov ebx, dword [esp]
mov ecx, dword [0x44d110]
test ecx, ecx
je 0x44187e
xor ebp, ebp
mov edi, dword [0x44d114]
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0x877f203a
je 0x44184b
mov eax, ebp
and eax, 1
xor ebp, 1
lea ebp, [ebp + eax*2]
cmp ebp, ecx
jb 0x441830
jmp 0x44187e
mov ecx, dword [edi + ebp*8 + 4]
cmp ecx, ebx
je 0x44187e
lea eax, [esp + 0x10]
lea edi, [esp + 0x1c]
push eax
push dword [esp + 0x10]
mov eax, dword [esp + 0x10]
push eax
push edx
push edi
push dword [esp + 0x4c]
push 0x18
push ecx
push dword [0x44d118]
call fcn.0043dd00
add esp, 0x24
mov ebx, eax
test ebx, ebx
mov ecx, dword [esp + 0x48]
js 0x44190d
mov ebp, esi
mov edx, dword [esp + 0x40]
test edx, edx
je 0x44189d
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
mov dword [edx], eax
test ecx, ecx
je 0x44190d
test ebp, ebp
je 0x441904
mov eax, dword [ecx]
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 8]
cmp eax, ecx
jb 0x4418b4
mov eax, ecx
mov esi, dword [esp + 8]
lea edx, [esi + 0xc]
mov ecx, eax
shr ecx, 2
mov edi, ebp
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, eax
and ecx, 0xfffffffc
add ebp, ecx
lea edi, [esi + ecx]
add edi, 0xc
mov edx, eax
and edx, 3
mov ecx, edx
shr ecx, 1
mov esi, ebp
mov dword [esp + 0xc], edi
mov ebp, edi
mov edi, esi
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
test al, 1
mov ecx, dword [esp + 0x48]
je 0x441904
mov eax, dword [esp + 0xc]
movzx eax, byte [eax + edx - 1]
mov byte [esi + edx - 1], al
mov eax, dword [esp + 8]
mov eax, dword [eax + 8]
mov dword [ecx], eax
push dword [esp + 8]
call fcn.0043b290
add esp, 4
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret