Function at 0x446ff0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x55883b
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
push ebx
push ebp
push edi
mov eax, dword [0x5bc9cc]
xor eax, esp
push eax
lea eax, [esp + 0x1bc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [esi + 0x1428], 0
je 0x44710c
push 0x100
lea eax, [esp + 0xb8]
push 0
push eax
mov dword [esp + 0x20], 0
call fcn.0052d8f0
mov edx, dword [0x56b794]
push ecx
mov ecx, dword [0x56b790]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x56b798]
mov dword [eax + 4], edx
mov edx, dword [0x56b79c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
push 4
lea eax, [esp + 0x28]
push eax
push 0
xor edx, edx
mov ecx, edi
call fcn.0041afd0
add esp, 0x1c
test eax, eax
je 0x44710c
mov eax, dword [esp + 0x14]
test eax, eax
je 0x44735e
xor ecx, ecx
lea eax, [eax + eax*2]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00503653
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x1c], ebp
je 0x44710c
mov ecx, dword [0x56b790]
mov edx, dword [0x56b794]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x56b798]
mov dword [eax + 4], edx
mov edx, dword [0x56b79c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x24]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
push eax
push ebp
push 1
xor edx, edx
mov ecx, edi
call fcn.0041afd0
add esp, 0x1c
test eax, eax
jne 0x447113
push ebp
call fcn.0050364e
add esp, 4
xor eax, eax
jmp 0x447363
mov ebx, dword [esp + 0x14]
lea edi, [ebx*8]
push edi
lea ecx, [esp + 0xb8]
push ebp
push ecx
call fcn.0052d580
add esp, 0xc
lea edx, [ebx*4]
push edx
shr edi, 2
lea eax, [ebp + edi*4]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.0052d580
xor edi, edi
add esp, 0xc
xor eax, eax
cmp ebx, edi
jbe 0x447256
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + eax*8 + 0xb4]
mov edx, edi
xor edx, ecx
and edx, 0xff
xor edi, edx
mov edx, ecx
shr ecx, 0xc
shr edx, 8
xor edx, ebx
and edx, 0xf
xor ebx, edx
mov edx, dword [esp + 0x30]
and edx, 0xfff00000
or edx, ecx
mov ecx, dword [esi + 8]
add ecx, eax
lea ecx, [ecx + ecx*4]
shl ecx, 5
mov dword [ecx + esi + 0x28], edi
mov dword [ecx + esi + 0x2c], ebx
mov dword [ecx + esi + 0x30], edx
lea ecx, [ecx + esi + 0x28]
mov ecx, dword [esp + eax*8 + 0xb8]
mov dword [esp + 0x30], edx
mov edx, ebp
xor edx, ecx
shr ecx, 8
and edx, 0xff
xor ebp, edx
mov edx, dword [esp + 0x24]
xor ecx, edx
and ecx, 0xffff
xor edx, ecx
mov ecx, dword [esi + 8]
add ecx, eax
lea ecx, [ecx + ecx*4]
shl ecx, 5
mov dword [ecx + esi + 0xa8], ebp
mov dword [ecx + esi + 0xac], edx
mov ecx, dword [esi + 8]
add ecx, eax
lea ecx, [ecx + ecx*4]
shl ecx, 5
mov dword [esp + 0x24], edx
mov edx, dword [esp + eax*4 + 0x34]
mov dword [ecx + esi + 0xb0], edx
mov ecx, dword [esi + 8]
add ecx, eax
lea ecx, [ecx + ecx*4]
shl ecx, 5
xor edx, edx
mov dword [ecx + esi + 0xb4], edx
lea ecx, [ecx + esi + 0xb4]
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
mov ecx, dword [esi + 8]
add ecx, eax
lea edx, [ecx + ecx*4]
mov ecx, dword [esp + 0x1cc]
shl edx, 5
add eax, 1
mov dword [edx + esi + 0xc0], ecx
cmp eax, dword [esp + 0x14]
jb 0x447165
mov ebp, dword [esp + 0x1c]
xor edi, edi
mov edx, dword [esi + 0x1428]
test dword [edx + 4], 0x200000
je 0x44734e
push 0x5703b8
lea ecx, [esp + 0x24]
call fcn.0040c150
mov dword [esp + 0x1c4], edi
xor ebx, ebx
cmp dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
jbe 0x447323
mov eax, dword [esi + 8]
add eax, edi
push eax
lea ecx, [esp + 0x24]
push 0x572e08
push ecx
call fcn.00402ae0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push ecx
push str.Retasking
mov ecx, 0x5c9c18
call fcn.005106ce
cmp eax, ebx
je 0x447316
cmp dword [esp + 0x1c], 0xc
jne 0x447301
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x18]
add eax, edi
lea edx, [eax + eax*4]
shl edx, 5
lea eax, [edx + esi + 0xb4]
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x447316
push eax
call fcn.0050364e
add esp, 4
mov dword [esp + 0x18], ebx
add edi, 1
cmp edi, dword [esp + 0x14]
jb 0x447292
mov dword [esp + 0x1c4], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44734e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
call fcn.0050364e
mov ecx, dword [esp + 0x18]
add esp, 4
add dword [esi + 8], ecx
mov eax, 1
mov ecx, dword [esp + 0x1bc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x1b8
ret 4