Function at 0x4414f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x38]
mov dword [esp + 4], 0xfcfdfafb
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov eax, 0xbb3487aa
mov ecx, 0x17855
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax + 0x44cb785a]
mov ebx, ecx
and ebx, 0x10818
mov edx, eax
and edx, 0x83140727
or edx, ebx
mov ebx, edx
and edx, 0x80050a3f
xor edx, 0x3b79bd98
or edx, esi
xor esi, 0xb82482bf
xor ebx, 0x80040267
or ebx, esi
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 + 0x44cb785a], dl
inc eax
dec ecx
cmp eax, 0xbb3487b1
jne 0x441530
mov esi, dword [esp + 4]
mov eax, dword [0x44d398]
test eax, eax
je 0x4415ee
xor ecx, ecx
mov edx, dword [0x44d39c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x4f699cd4
je 0x4415c0
inc ecx
cmp eax, ecx
jne 0x4415b0
jmp 0x4415ee
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x4415ee
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 1
push dword [esp + 0x44]
push dword [esp + 0x44]
push 0x18
push eax
push dword [0x44d3a0]
call fcn.0043dc10
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x441893
push dword [esp + 0x18]
call fcn.0043a8b0
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
mov dword [esp + 4], 0xfcfdfafb
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov edx, 0xbb3487aa
mov ebx, 0x17855
nop
movzx ecx, byte [esp + edx + 0x44cb785a]
mov ebp, ebx
and ebp, 0x10818
mov esi, edx
and esi, 0x83140727
or esi, ebp
mov ebp, esi
and esi, 0x80050a3f
xor esi, 0x3b79bd98
or esi, ecx
xor ecx, 0xb82482bf
xor ebp, 0x80040267
or ebp, ecx
and esi, ebp
add esi, 0xd5e01514
mov ecx, esi
and ecx, 0x19
xor esi, 0x99
lea ecx, [esi + ecx*2]
inc cl
mov byte [esp + edx + 0x44cb785a], cl
inc edx
dec ebx
cmp edx, 0xbb3487b1
jne 0x441630
mov esi, dword [esp + 4]
mov edx, dword [0x44d398]
test edx, edx
je 0x4416ce
mov dword [esp + 0xc], esi
xor ecx, ecx
mov esi, dword [0x44d39c]
mov ebx, dword [esp + 0x48]
nop
cmp dword [esi + ecx*8], 0x4f699cd4
je 0x4416d4
mov ebp, ecx
and ebp, 1
xor ecx, 1
lea ecx, [ecx + ebp*2]
cmp ecx, edx
jb 0x4416b0
mov esi, dword [esp + 0xc]
jmp 0x441710
mov ebx, dword [esp + 0x48]
jmp 0x441710
mov edx, dword [esi + ecx*8 + 4]
mov esi, dword [esp + 0xc]
cmp edx, esi
je 0x441710
lea ecx, [esp + 0x18]
push ecx
push dword [esp + 0x14]
push dword [esp + 8]
push 1
push dword [esp + 0x44]
push dword [esp + 0x44]
push 0x18
push edx
push dword [0x44d3a0]
mov esi, eax
call fcn.0043dc10
add esp, 0x24
mov ecx, eax
mov eax, esi
mov esi, ecx
test esi, esi
js 0x441888
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x44180b
test edi, edi
je 0x441801
mov ecx, dword [esp]
mov ecx, dword [ecx + 0x10]
shr ecx, 1
mov ebp, dword [edx]
cmp ebp, ecx
jb 0x44173c
mov ebp, ecx
test ebp, ebp
je 0x4417fc
add eax, 0x14
mov ecx, ebp
and ecx, 3
je 0x441790
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], esi
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebp, word [eax]
xor edx, edx
test bp, bp
setne dl
lea eax, [eax + edx*2]
mov word [edi], bp
add edi, 2
inc esi
cmp ecx, esi
jne 0x441760
mov ebp, dword [esp + 0x10]
mov ecx, ebp
sub ecx, esi
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0xc]
cmp ebp, 4
jae 0x441797
jmp 0x4417fc
mov ecx, ebp
cmp ebp, 4
jb 0x4417fc
mov ebp, esi
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 eax, word [eax + ebx*2]
xor edx, edx
test ax, ax
setne dl
lea ebx, [esi + edx*2]
mov word [edi + 2], ax
movzx eax, word [esi + edx*2]
xor edx, edx
test ax, ax
setne dl
lea esi, [ebx + edx*2]
mov word [edi + 4], ax
movzx edx, word [ebx + edx*2]
xor eax, eax
test dx, dx
setne al
mov word [edi + 6], dx
add edi, 8
lea eax, [esi + eax*2]
add ecx, 0xfffffffc
jne 0x4417a0
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x3c]
mov esi, ebp
mov word [edi], 0
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
shr eax, 1
mov dword [edx], eax
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x44181b
mov eax, dword [esp]
mov eax, dword [eax + 4]
mov dword [ecx], eax
test ebx, ebx
je 0x441888
mov ebp, esi
cmp dword [esp + 0x44], 0
je 0x44187e
mov eax, dword [ebx]
mov ecx, dword [esp]
mov ecx, dword [ecx + 0xc]
cmp eax, ecx
jb 0x441836
mov eax, ecx
mov ecx, dword [esp]
mov esi, dword [ecx + 8]
add esi, ecx
mov ecx, eax
shr ecx, 2
mov edx, eax
and edx, 0xfffffffc
mov edi, dword [esp + 0x44]
add dword [esp + 0x14], 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, dword [esp + 0x14]
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov esi, dword [esp + 0x14]
test al, 1
je 0x44187e
and eax, 2
movzx ecx, byte [edx + eax]
mov byte [esi + eax], cl
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov dword [ebx], eax
mov esi, ebp
push dword [esp]
call fcn.0043a930
add esp, 4
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret