Function at 0x4418a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [esp + 0x3c]
xor ecx, ecx
test eax, eax
je 0x4418d3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + ecx], 0
lea ecx, [ecx + 2]
jne 0x4418c0
add ecx, 0xfffffffe
and ecx, 0xfffe
mov word [esp + 0x18], cx
mov edx, eax
test eax, eax
je 0x4418e3
add ecx, 2
mov edx, ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 8], ecx
mov word [esp + 0x1a], dx
mov dword [esp + 0x1c], eax
mov dword [esp], 0xfcfdfafb
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov eax, 0xbb3487aa
mov ecx, 0x17855
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [esp + eax + 0x44cb7856]
mov esi, ecx
and esi, 0x10818
mov edx, eax
and edx, 0x83140727
or edx, esi
mov ebx, edx
and edx, 0x80050a3f
xor edx, 0x3b79bd98
or edx, edi
xor edi, 0xb82482bf
xor ebx, 0x80040267
or ebx, edi
and edx, ebx
add edx, 0xd5e01514
mov esi, edx
and esi, 0x19
xor edx, 0x99
lea edx, [edx + esi*2]
inc dl
mov byte [esp + eax + 0x44cb7856], dl
inc eax
dec ecx
cmp eax, 0xbb3487b1
jne 0x441920
mov ebp, dword [esp]
mov eax, dword [0x44d398]
test eax, eax
je 0x4419df
xor ecx, ecx
mov edx, dword [0x44d39c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x877f203a
je 0x4419b0
inc ecx
cmp eax, ecx
jne 0x4419a0
jmp 0x4419df
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebp
je 0x4419df
lea ecx, [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
push 0
push 0
push 2
push edx
push dword [esp + 0x4c]
push 0x18
push eax
push dword [0x44d3a0]
call fcn.0043dc10
add esp, 0x24
mov ebp, eax
mov dword [esp], 0x8fcec92f
mov eax, esp
xor ecx, ecx
xor edx, edx
nop
nop
nop
nop
mov esi, ecx
and esi, 0xfffffffc
add esi, edx
movzx edi, byte [eax]
xor edi, esi
mov esi, edi
and esi, 5
xor edi, 0x37
lea ebx, [edi + esi*2]
inc bl
mov byte [eax], bl
inc edx
inc eax
add ecx, 2
cmp ecx, 8
jne 0x4419f0
cmp ebp, dword [esp]
jne 0x441bdc
push dword [esp + 0xc]
call fcn.0043a8b0
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], 0x77767966
mov word [esp + 0x14], 0
mov byte [esp + 0x16], 0
mov edx, 0x16
nop
nop
nop
nop
nop
movzx ecx, byte [esp + edx - 6]
mov ebx, ecx
and ebx, edx
add bl, bl
sub cl, bl
movzx ecx, cl
add ecx, edx
add cl, 0x92
mov byte [esp + edx - 6], cl
inc edx
cmp edx, 0x1d
jne 0x441a50
mov edx, dword [esp + 0x10]
mov dword [esp], 0xfcfdfafb
mov word [esp + 4], 0
mov byte [esp + 6], 0
mov edi, 0xbb3487aa
mov ebp, 0x17855
movzx ecx, byte [esp + edi + 0x44cb7856]
mov esi, ebp
and esi, 0x10818
mov ebx, edi
and ebx, 0x83140727
or ebx, esi
mov esi, ebx
and ebx, 0x80050a3f
xor ebx, 0x3b79bd98
or ebx, ecx
xor ecx, 0xb82482bf
xor esi, 0x80040267
or esi, ecx
and ebx, esi
add ebx, 0xd5e01514
mov ecx, ebx
and ecx, 0x19
xor ebx, 0x99
lea ecx, [ebx + ecx*2]
inc cl
mov byte [esp + edi + 0x44cb7856], cl
inc edi
dec ebp
cmp edi, 0xbb3487b1
jne 0x441a90
mov ebp, dword [esp]
mov ecx, dword [0x44d398]
test ecx, ecx
je 0x441b53
xor esi, esi
mov edi, dword [0x44d39c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + esi*8], 0x877f203a
je 0x441b20
inc esi
cmp ecx, esi
jne 0x441b10
jmp 0x441b53
mov edi, dword [edi + esi*8 + 4]
cmp edi, ebp
je 0x441b53
lea ecx, [esp + 0xc]
lea esi, [esp + 0x18]
push ecx
push dword [esp + 0x24]
push eax
push edx
push esi
push dword [esp + 0x4c]
push 0x18
push edi
push dword [0x44d3a0]
mov esi, eax
call fcn.0043dc10
add esp, 0x24
mov ebp, eax
mov eax, esi
test ebp, ebp
mov edx, dword [esp + 0x44]
js 0x441bd3
mov esi, dword [esp + 0x40]
test esi, esi
je 0x441b68
mov ecx, dword [eax + 4]
mov dword [esi], ecx
cmp dword [esp + 0x48], 0
je 0x441bd3
test edx, edx
je 0x441bca
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx]
mov ecx, dword [eax + 8]
cmp edx, ecx
jb 0x441b82
mov edx, ecx
lea esi, [eax + 0xc]
mov ecx, edx
shr ecx, 2
mov edi, dword [esp + 0x44]
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov ecx, edx
and ecx, 0xfffffffc
add dword [esp + 8], ecx
lea esi, [eax + ecx]
add esi, 0xc
mov ecx, edx
shr ecx, 1
and ecx, 1
mov ebx, esi
mov edi, dword [esp + 8]
xchg esi, ebx
rep movsw word es:[edi], word [esi]
xchg esi, ebx
mov edi, dword [esp + 8]
test dl, 1
je 0x441bca
and edx, 2
movzx ecx, byte [esi + edx]
mov byte [edi + edx], cl
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x48]
mov dword [edx], ecx
push eax
call fcn.0043a930
add esp, 4
mov eax, ebp
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret