Function at 0x44e330
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x46da2a
mov eax, dword fs:[0]
push eax
mov eax, 0x20084
call fcn.0046bf00
mov eax, dword [0x490018]
xor eax, esp
mov dword [esp + 0x20080], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0x20098]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x200a8]
mov eax, dword [ebx + 0x164]
mov ebp, dword [esp + 0x200b4]
mov dword [esp + 0x20], ebp
test eax, eax
je 0x44e557
mov eax, dword [ebx + 0x44]
lea edi, [eax + 4]
mov ecx, 0xc
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x14], 0
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x44e3ca
mov eax, dword [eax + 0x30]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x200b0]
push 1
push edx
push eax
call ecx
add esp, 0x10
jmp 0x44e3cf
mov eax, 0x400
mov ecx, dword [esp + 0x14]
mov dword [ebp], eax
mov edi, dword [ebx + 0x44]
xor eax, eax
push ecx
lea esi, [esp + 0x38]
xor ebp, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call fcn.00443f30
mov dword [esp + 0x200a0], ebp
mov edx, dword [eax + 0x24]
mov esi, dword [eax + 0x20]
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x200a4], 0xffffffff
call fcn.00408700
mov edi, dword [esp + 0x20]
test byte [edi], 1
je 0x44e599
mov ecx, esi
or ecx, dword [esp + 0x28]
mov dword [edi], 1
je 0x44e58a
test byte [edi], 1
je 0x44e58a
mov edx, dword [ebx + 0xc4]
test byte [edx + 0x28], 1
je 0x44e583
mov eax, dword [ebx + 0x44]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x44e48e
mov eax, dword [eax + 0x30]
lea edx, [esp + 0x30]
push edx
push 0x20000
lea edx, [esp + 0x9c]
push edx
mov edx, dword [esp + 0x20]
push edx
push eax
mov dword [esp + 0x44], 0
call ecx
mov ecx, eax
not ecx
add esp, 0x14
test cl, 1
jne 0x44e493
mov ebp, dword [esp + 0x30]
jmp 0x44e493
mov eax, 0x400
sub esi, ebp
sbb dword [esp + 0x28], 0
mov dword [edi], eax
mov eax, dword [esp + 0x200b0]
sub eax, 1
mov dword [esp + 0x24], esi
je 0x44e50f
sub eax, 1
je 0x44e4d6
sub eax, 1
jne 0x44e53f
lea edx, [esp + 0x18]
mov esi, ebp
lea edi, [esp + 0x94]
call fcn.0042a9d0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
jmp 0x44e531
xor eax, eax
test ebp, ebp
jbe 0x44e531
lea esp, [esp]
mov ecx, dword [esp + 0x1c]
movzx edx, byte [esp + eax + 0x94]
movzx edi, cl
shr cx, 8
xor edx, edi
xor cx, word [edx*2 + 0x476a10]
inc eax
movzx ecx, cx
mov dword [esp + 0x1c], ecx
cmp eax, ebp
jb 0x44e4e0
mov edi, dword [esp + 0x20]
jmp 0x44e531
xor eax, eax
test ebp, ebp
jbe 0x44e531
jmp 0x44e520
movzx edx, byte [esp + eax + 0x94]
add dword [esp + 0x18], edx
inc eax
cmp eax, ebp
jb 0x44e520
mov eax, esi
or eax, dword [esp + 0x28]
jne 0x44e434
jmp 0x44e58a
mov eax, dword [ebx + 0x44]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44e557
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 0x30]
push edx
push eax
call ecx
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x20098]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20080]
xor ecx, esp
call fcn.00428cb4
add esp, 0x20090
ret 0x10
mov ecx, edx
mov edx, dword [ecx + 0x28]
mov dword [edi], edx
cmp dword [esp + 0x200b0], 2
movzx esi, word [esp + 0x1c]
je 0x44e59d
mov esi, dword [esp + 0x18]
mov eax, dword [ebx + 0x44]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44e5b5
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 0x30]
push edx
push eax
call ecx
add esp, 8
mov eax, esi
jmp 0x44e559