Function at 0x446600
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 + 8], 0x4c4d4a4b
mov word [esp + 0xc], 0
mov eax, 0x72
mov ecx, 0x8d
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0x6a]
mov edx, eax
xor edx, ecx
and edx, esi
xor edx, ecx
mov bl, 0xc5
sub bl, dl
mov byte [esp + eax - 0x6a], bl
inc eax
dec ecx
cmp eax, 0x78
jne 0x446630
mov esi, dword [esp + 8]
mov eax, dword [0x451ae0]
test eax, eax
je 0x4466ae
xor ecx, ecx
mov edx, dword [0x451ae4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xc59b8bcb
je 0x446680
inc ecx
cmp eax, ecx
jne 0x446670
jmp 0x4466ae
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x4466ae
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 1
push dword [esp + 0x44]
push dword [esp + 0x44]
push 6
push dword [0x451ae8]
push eax
call fcn.004425f0
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x446913
push dword [esp + 0x18]
call fcn.0043fa10
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
mov dword [esp + 8], 0x4c4d4a4b
mov word [esp + 0xc], 0
mov edx, 0x72
mov esi, 0x8d
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + edx - 0x6a]
mov ecx, edx
xor ecx, esi
and ecx, ebx
xor ecx, esi
mov bl, 0xc5
sub bl, cl
mov byte [esp + edx - 0x6a], bl
inc edx
dec esi
cmp edx, 0x78
jne 0x4466f0
mov esi, dword [esp + 8]
mov edx, dword [0x451ae0]
test edx, edx
je 0x446754
mov dword [esp + 4], esi
xor esi, esi
mov ecx, dword [0x451ae4]
mov ebx, dword [esp + 0x48]
nop
nop
nop
nop
nop
nop
cmp dword [ecx + esi*8], 0xc59b8bcb
je 0x44675a
mov ebp, esi
xor ebp, 1
and esi, 1
lea esi, [esi*2]
add esi, ebp
cmp esi, edx
jb 0x446730
mov esi, dword [esp + 4]
jmp 0x446796
mov ebx, dword [esp + 0x48]
jmp 0x446796
mov edx, dword [ecx + esi*8 + 4]
mov esi, dword [esp + 4]
cmp edx, esi
je 0x446796
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 6
push dword [0x451ae8]
push edx
mov esi, eax
call fcn.004425f0
add esp, 0x24
mov ecx, eax
mov eax, esi
mov esi, ecx
test esi, esi
js 0x446908
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x44688b
test edi, edi
je 0x446881
mov ecx, dword [esp]
mov ecx, dword [ecx + 0x10]
shr ecx, 1
mov ebp, dword [edx]
cmp ebp, ecx
jb 0x4467c2
mov ebp, ecx
test ebp, ebp
je 0x44687c
add eax, 0x14
mov ecx, ebp
and ecx, 3
je 0x446810
mov dword [esp + 0x10], ebp
mov dword [esp + 4], esi
xor esi, esi
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 0x4467e0
mov ebp, dword [esp + 0x10]
mov ecx, ebp
sub ecx, esi
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 4]
cmp ebp, 4
jae 0x446817
jmp 0x44687c
mov ecx, ebp
cmp ebp, 4
jb 0x44687c
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 0x446820
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 0x44689b
mov eax, dword [esp]
mov eax, dword [eax + 4]
mov dword [ecx], eax
test ebx, ebx
je 0x446908
mov ebp, esi
cmp dword [esp + 0x44], 0
je 0x4468fe
mov eax, dword [ebx]
mov ecx, dword [esp]
mov ecx, dword [ecx + 0xc]
cmp eax, ecx
jb 0x4468b6
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 0x4468fe
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.0043fad0
add esp, 4
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret