Function at 0x44c0ec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x100
push ebx
push esi
push edi
mov edi, ecx
cmp eax, dword [ebp + 0x4c]
jne 0x44c10e
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x50]
je 0x44c534
mov eax, dword [ebp + 0x90]
and dword [ebp - 0xc], 0
mov ecx, eax
imul ecx, ecx, 0x2c
mov esi, eax
imul esi, esi, 0x14
lea ecx, [ecx + edi + 0x10]
mov dword [ebp - 0x10], eax
shl dword [ebp - 0x10], 5
lea eax, [ebp + 8]
mov dword [ebp - 0x14], ecx
push eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x28], esi
lea ebx, [esi + edi + 0x80]
call fcn.00449fc2
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x48]
call fcn.00449fc2
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp + 0x4c]
jne 0x44c162
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp + 0x50]
je 0x44c180
mov eax, dword [esi + eax + 0x90]
add eax, 0xfffffffe
cmp eax, 3
ja 0x44c174
inc dword [ebp - 0xc]
lea eax, [ebp - 0x6c]
push eax
call fcn.0044b1a1
pop ecx
jmp 0x44c152
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + edi + 0xac]
mov edx, dword [ebp + 0x90]
mov ecx, eax
sub ecx, dword [edi + edx*4 + 0xf8]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x14]
sub eax, dword [ecx + 0x10]
mov ecx, dword [ebx + 0xc]
mov esi, eax
sub esi, dword [edx + 0xc]
sub eax, ecx
sub esi, dword [ebx + 8]
sub esp, 0x44
mov dword [ebp - 8], eax
sub esi, ecx
mov ecx, esp
lea eax, [ebp + 0x4c]
push eax
mov dword [ebp - 4], ecx
call fcn.00449fc2
mov ecx, dword [ebp - 4]
lea eax, [ebp + 0x70]
push eax
add ecx, 0x24
call fcn.00449fc2
lea ecx, [ebp - 0x6c]
call fcn.0044a68f
sub esp, 0x44
mov ecx, esp
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], ecx
call fcn.00449fc2
mov ecx, dword [ebp - 4]
lea eax, [ebp + 0x2c]
push eax
add ecx, 0x24
call fcn.00449fc2
lea ecx, [ebp - 0xbc]
call fcn.0044a68f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + edi + 0x110]
mov dword [ebp - 0x20], eax
jmp 0x44c33a
lea ecx, [ebp - 0x6c]
call fcn.0044b2f2
mov ecx, dword [ebp - 0x28]
lea eax, [eax + ecx + 0x80]
mov dword [ebp - 4], eax
mov eax, dword [eax]
cmp eax, 1
je 0x44c241
cmp eax, 5
jne 0x44c351
lea ecx, [ebp - 0x6c]
call fcn.0044b2f2
mov ecx, dword [ebp - 0x10]
lea eax, [eax + ecx + 0xac]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x1c], eax
call fcn.0044b2f2
mov ecx, dword [ebp - 0x10]
lea eax, [eax + ecx + 0x110]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x24], eax
call fcn.0044b2f2
mov ecx, dword [ebp + 0x90]
mov eax, dword [eax + ecx*4 + 0xf0]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
jne 0x44c2cf
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
test ecx, 0xfffffffc
je 0x44c2cf
lea ecx, [ebp - 0x6c]
call fcn.0044b2f2
cmp dword [eax + 0xa8], 0
mov eax, dword [ebp - 0x24]
jne 0x44c2be
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x20]
sub ecx, dword [edx]
add dword [ebp - 8], ecx
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x20]
sar ecx, 2
lea eax, [eax + ecx*4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 5
jne 0x44c304
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0xc]
dec dword [ebp - 0xc]
lea ecx, [ebp - 0x6c]
sub dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
call fcn.0044b2f2
mov ecx, dword [ebp + 0x90]
mov eax, dword [eax + ecx*4 + 0xf0]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
sub ecx, dword [eax]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x6c]
call fcn.0044b2f2
mov eax, dword [eax + 0xec]
mov ecx, dword [ebp - 0x1c]
add eax, dword [ecx]
sub dword [ebp - 8], eax
lea ecx, [ebp - 0x6c]
call fcn.0044a283
mov eax, dword [ebp - 0x6c]
xor dword [ebp - 0x68], 1
cmp byte [eax + 0x14], 0
je 0x44c325
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0044af60
test al, al
je 0x44c21c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
add eax, dword [ebx + 8]
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x24], eax
mov ebx, eax
mov eax, dword [ebp + 0x90]
add eax, 8
shl eax, 5
mov eax, dword [eax + edi]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 8]
push eax
call fcn.00449fc2
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0xdc]
call fcn.00449fc2
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00449fc2
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x98]
call fcn.00449fc2
mov ecx, dword [ebp - 0x100]
cmp ecx, dword [ebp - 0xbc]
jne 0x44c3cd
mov eax, dword [ebp - 0xfc]
cmp eax, dword [ebp - 0xb8]
je 0x44c534
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
add ebx, dword [ecx + 0xfc]
lea eax, [ecx + eax + 0x90]
cmp dword [eax], 4
lea edi, [ecx + edx + 0xbc]
lea edx, [ecx + edx + 0x110]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
je 0x44c408
mov edx, dword [ebp + 0x90]
mov edx, dword [ecx + edx*4 + 0x100]
mov dword [edi], edx
mov edx, dword [eax]
and dword [ebp - 8], 0
mov dword [ebp - 4], edx
add edx, 0xfffffffe
cmp edx, 2
ja 0x44c42c
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0xc]
dec dword [ebp - 0xc]
sub dword [ebp - 0x18], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
sub edx, 0
je 0x44c4d5
dec edx
je 0x44c453
dec edx
je 0x44c4c3
dec edx
je 0x44c482
dec edx
je 0x44c4d5
dec edx
jne 0x44c520
lea eax, [ebp + 0x90]
push eax
lea ecx, [ebp - 0x78]
mov dword [ebp + 0x90], 0x60c02048
call dword [0x60a75c1c]
push 0x60df4b74
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], 0x60a8eb18
call 0x3b9de8
mov edx, dword [ebp + 0x90]
mov eax, ebx
sub eax, dword [ebp - 0x24]
push ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
mov eax, esi
sub eax, dword [ecx + edx*4 + 0x100]
push ecx
sub eax, dword [ebp - 8]
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fdivp st(1)
fimul dword [ebp - 8]
fadd qword [0x60a7c2a0]
fstp qword [esp]
call 0x3b9dd6
pop ecx
pop ecx
call 0x3b9e00
jmp 0x44c4cb
mov eax, dword [ebp - 8]
cdq
sub eax, edx
sar eax, 1
add eax, ebx
add ebx, dword [ebp - 8]
mov dword [edi + 4], eax
jmp 0x44c520
cmp byte [eax + 4], 0
jne 0x44c505
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov eax, dword [eax + 4]
sub eax, edx
sar eax, 2
test eax, eax
je 0x44c505
cmp dword [ecx + 0xb8], 0
jne 0x44c4fc
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
sub ebx, dword [edx]
mov edx, dword [ebp - 0x14]
lea eax, [edx + eax*4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 4], 4
jne 0x44c51d
mov eax, dword [ebp + 0x90]
mov eax, dword [ecx + eax*4 + 0x100]
add eax, dword [ebp - 8]
mov dword [edi], eax
mov dword [edi + 4], ebx
add ebx, dword [edi]
lea eax, [ebp - 0x100]
push eax
call fcn.0044b1a1
pop ecx
jmp 0x44c38f
pop edi
pop esi
pop ebx
leave
ret 0x8c