Function at 0x440fb0
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 0x440ffa
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 0x440fd0
sar ecx, 1
mov edx, ecx
or edx, 2
mov esi, ecx
and esi, 2
imul edx, esi
xor esi, 2
and ecx, 0xfffd
imul ecx, esi
add ecx, edx
jmp 0x440ffc
xor ecx, ecx
mov word [esp + 0x18], cx
mov edx, eax
test eax, eax
je 0x44100c
add ecx, 2
mov edx, ecx
mov edi, dword [esp + 0x44]
mov word [esp + 0x1a], dx
mov dword [esp + 0x1c], eax
mov dword [esp], 0x74750a0b
mov word [esp + 4], 0
xor eax, eax
nop
nop
nop
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]
add cl, 0x4a
mov byte [esp + eax], cl
inc eax
cmp eax, 6
jne 0x441030
mov ebx, dword [esp]
mov eax, dword [0x44d2b8]
test eax, eax
je 0x4410af
xor ecx, ecx
mov edx, dword [0x44d2bc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x877f203a
je 0x441080
inc ecx
cmp eax, ecx
jne 0x441070
jmp 0x4410af
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x4410af
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 [0x44d2c0]
call fcn.0043d920
add esp, 0x24
mov ebx, eax
mov dword [esp], 0xd3121173
mov word [esp + 4], 0
mov eax, 0xfda74abc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x258b544]
xor ecx, eax
mov edx, ecx
and edx, 0x9a30a53
xor ecx, 0xbbb8a53
lea edx, [ecx + edx*2]
and ecx, 1
mov esi, edx
add ecx, edx
and edx, 0xfe
xor esi, 1
add ecx, esi
sub ecx, edx
mov byte [esp + eax + 0x258b544], cl
inc eax
cmp eax, 0xfda74ac2
jne 0x4410d0
cmp ebx, dword [esp]
jne 0x441278
mov dword [esp + 8], edi
push dword [esp + 0xc]
call fcn.0043b030
add esp, 4
mov esi, eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x10], 0xb9babb82
mov word [esp + 0x14], 0
xor edx, edx
nop
nop
mov eax, edx
add al, 0xdf
xor al, byte [esp + edx + 0x10]
add al, 0xa5
mov byte [esp + edx + 0x10], al
inc edx
cmp edx, 6
jne 0x441140
mov edx, dword [esp + 0x10]
mov dword [esp], 0x74750a0b
mov word [esp + 4], 0
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, ebx
and edi, 2
xor edi, 0x42
mov eax, ebx
and eax, 5
sub eax, edi
xor al, byte [esp + ebx]
add al, 0x4a
mov byte [esp + ebx], al
inc ebx
cmp ebx, 6
jne 0x441170
mov ebx, dword [esp]
mov eax, dword [0x44d2b8]
test eax, eax
je 0x4411ec
xor ebp, ebp
mov edi, dword [0x44d2bc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0x877f203a
je 0x4411c0
inc ebp
cmp eax, ebp
jne 0x4411b0
jmp 0x4411ec
mov ebp, dword [edi + ebp*8 + 4]
cmp ebp, ebx
je 0x4411ec
lea eax, [esp + 0xc]
lea edi, [esp + 0x18]
push eax
push ecx
push esi
push edx
push edi
push dword [esp + 0x4c]
push 0x18
push ebp
push dword [0x44d2c0]
call fcn.0043d920
add esp, 0x24
mov ebx, eax
test ebx, ebx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
js 0x44126f
mov edi, dword [esp + 0x40]
test edi, edi
je 0x441205
mov eax, dword [esi + 4]
mov dword [edi], eax
test ecx, ecx
je 0x44126f
test edx, edx
je 0x44126a
mov eax, dword [ecx]
mov ecx, dword [esi + 8]
cmp eax, ecx
jb 0x441218
mov eax, ecx
lea edx, [esi + 0xc]
mov ecx, eax
shr ecx, 2
mov edi, dword [esp + 0x44]
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov ecx, eax
and ecx, 0xfffffffc
add dword [esp + 8], ecx
lea ebp, [esi + ecx]
add ebp, 0xc
mov edx, eax
and edx, 3
mov ecx, edx
shr ecx, 1
mov dword [esp + 0x20], ebp
mov edi, dword [esp + 8]
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
mov edi, dword [esp + 8]
test al, 1
mov ecx, dword [esp + 0x48]
je 0x44126a
mov eax, dword [esp + 0x20]
movzx eax, byte [eax + edx - 1]
mov byte [edi + edx - 1], al
mov eax, dword [esi + 8]
mov dword [ecx], eax
push esi
call fcn.0043b070
add esp, 4
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret