Function at 0x440cd0
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 + 4], 0x74750a0b
mov word [esp + 8], 0
xor eax, eax
nop
nop
nop
nop
mov edx, eax
and edx, 2
xor edx, 0x42
mov ecx, eax
and ecx, 5
sub ecx, edx
xor cl, byte [esp + eax + 4]
add cl, 0x4a
mov byte [esp + eax + 4], cl
inc eax
cmp eax, 6
jne 0x440cf0
mov eax, dword [esp + 4]
mov esi, dword [0x44d2b8]
test esi, esi
je 0x440d6c
xor ecx, ecx
mov edx, dword [0x44d2bc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x4f699cd4
je 0x440d40
inc ecx
cmp esi, ecx
jne 0x440d30
jmp 0x440d6c
mov edx, dword [edx + ecx*8 + 4]
cmp edx, eax
je 0x440d6c
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0x18
push edx
push dword [0x44d2c0]
call fcn.0043d920
add esp, 0x24
cmp eax, 0xc0000023
jne 0x440fa2
push dword [esp + 0x10]
call fcn.0043b030
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], 0x74750a0b
mov word [esp + 8], 0
xor edx, edx
nop
nop
nop
nop
nop
mov esi, edx
and esi, 2
xor esi, 0x42
mov ebx, edx
and ebx, 5
sub ebx, esi
xor bl, byte [esp + edx + 4]
add bl, 0x4a
mov byte [esp + edx + 4], bl
inc edx
cmp edx, 6
jne 0x440da0
mov ebp, dword [esp + 4]
mov edx, dword [0x44d2b8]
test edx, edx
je 0x440df3
mov dword [esp + 0xc], ecx
mov ecx, ebp
xor esi, esi
mov ebp, dword [0x44d2bc]
mov ebx, dword [esp + 0x44]
cmp dword [ebp + esi*8], 0x4f699cd4
je 0x440df9
inc esi
cmp edx, esi
jne 0x440de0
mov ebp, ecx
jmp 0x440e31
mov ebx, dword [esp + 0x44]
jmp 0x440e31
mov edx, dword [ebp + esi*8 + 4]
mov ebp, ecx
cmp edx, ecx
je 0x440e31
lea esi, [esp + 0x10]
push esi
push dword [esp + 0x10]
push dword [esp + 8]
push 1
push dword [esp + 0x40]
push dword [esp + 0x40]
push 0x18
push edx
push dword [0x44d2c0]
mov esi, eax
call fcn.0043d920
add esp, 0x24
mov ebp, eax
mov eax, esi
mov dword [esp + 0xc], ebp
test ebp, ebp
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp]
js 0x440f95
mov esi, dword [esp + 0x38]
test esi, esi
mov edx, dword [esp + 0x3c]
je 0x440f2d
test edi, edi
je 0x440f26
mov ecx, dword [ecx + 0x10]
shr ecx, 1
mov ebx, dword [esi]
cmp ebx, ecx
jb 0x440e69
mov ebx, ecx
test ebx, ebx
je 0x440eaf
add eax, 0x14
mov ecx, ebx
and ecx, 3
je 0x440eb5
mov dword [esp + 0x14], ebx
xor esi, esi
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 0x440e80
mov ebx, dword [esp + 0x14]
mov ecx, ebx
sub ecx, esi
mov ebp, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
jmp 0x440eb7
mov ebx, dword [esp + 0x44]
jmp 0x440f1e
mov ecx, ebx
cmp ebx, 4
mov ebx, dword [esp + 0x44]
jb 0x440f1e
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 0x440ec0
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov word [edi], 0
mov ecx, dword [esp]
mov eax, dword [ecx + 0x10]
shr eax, 1
mov dword [esi], eax
test edx, edx
je 0x440f36
mov eax, dword [ecx + 4]
mov dword [edx], eax
test ebx, ebx
je 0x440f95
test ebp, ebp
je 0x440f90
mov ebx, dword [ebx]
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x440f49
mov ebx, eax
mov esi, dword [ecx + 8]
add esi, ecx
mov ecx, ebx
shr ecx, 2
mov edx, ebx
and edx, 0xfffffffc
mov edi, ebp
add ebp, edx
add edx, esi
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov eax, ebx
and eax, 3
mov ecx, eax
shr ecx, 1
mov esi, edx
mov edi, ebp
xchg esi, esi
rep movsw word es:[edi], word [esi]
xchg esi, esi
mov ecx, dword [esp]
test bl, 1
mov ebx, dword [esp + 0x44]
je 0x440f90
movzx ecx, byte [edx + eax - 1]
mov byte [ebp + eax - 1], cl
mov ecx, dword [esp]
mov eax, dword [ecx + 0xc]
mov dword [ebx], eax
push ecx
call fcn.0043b070
add esp, 4
mov eax, dword [esp + 0xc]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret