Function at 0x44f130
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
dec eax
cmp eax, 3
ja case.default.0x44f148
jmp dword [eax*4 + 0x44f46c]
mov ebx, dword [ebp + 0x10]
lea eax, [esi + 0x3c]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x38]
lea ecx, [eax + ebx]
mov dword [ebp - 4], ecx
mov dword [edi], ecx
cmp ecx, 0x10
ja 0x44f18f
push ebx
push dword [ebp + 0xc]
add eax, 0x28
add eax, esi
push eax
call fcn.004a45a0
add dword [esi + 0x38], ebx
add esp, 0xc
mov dword [edi], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0xc]
cmp ebx, dword [ebp + 0x14]
je case.default.0x44f148
mov edi, 0x10
sub edi, eax
add eax, 0x28
push edi
add eax, esi
push ebx
push eax
call fcn.004a45a0
mov ecx, dword [ebp + 0x14]
add edi, ebx
mov eax, dword [esi + 0x28]
mov ebx, dword [ebp - 4]
push ecx
mov dword [ecx], eax
add ebx, 0xfffffff0
mov eax, dword [esi + 0x2c]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x30]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x34]
mov dword [ecx + 0xc], eax
lea eax, [esi + 0x3c]
push eax
call fcn.0044f480
mov ecx, dword [ebp + 0x14]
add esp, 0x14
add ecx, 0x10
cmp ebx, 0x10
jbe 0x44f22c
lea eax, [ebx - 0x11]
sub ecx, edi
shr eax, 4
inc eax
mov dword [ebp - 0xc], ecx
mov esi, eax
mov eax, dword [edi]
add ecx, edi
push ecx
push dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 0xc], eax
call fcn.0044f480
mov ecx, dword [ebp - 0xc]
add esp, 8
add edi, 0x10
sub ebx, 0x10
sub esi, 1
jne 0x44f1f7
mov esi, dword [ebp + 8]
push ebx
lea eax, [esi + 0x28]
push edi
push eax
call fcn.004a45a0
mov eax, dword [esi + 0x38]
add esp, 0xc
and eax, 0xf0000000
add eax, ebx
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0x18]
pop edi
pop esi
sub dword [eax], ebx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.004517e0
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x38]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x18]
lea ecx, [eax + ebx]
mov dword [ebp + 8], ecx
mov dword [edi], ecx
cmp ecx, 0x10
jbe 0x44f16b
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 0x14], ebx
je case.default.0x44f148
mov edi, 0x10
sub edi, eax
add eax, 0x28
push edi
add eax, esi
push ebx
push eax
call fcn.004a45a0
lea eax, [esi + 0x18]
add edi, ebx
mov ebx, dword [ebp + 8]
push eax
lea eax, [esi + 0x3c]
add ebx, 0xfffffff0
push eax
call fcn.004509b0
mov edx, dword [ebp + 0x14]
lea ecx, [esi + 0x18]
mov eax, dword [esi + 0x28]
add esp, 0x14
xor eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [esi + 0x2c]
xor eax, dword [esi + 0x1c]
mov dword [edx + 4], eax
mov eax, dword [esi + 0x30]
xor eax, dword [esi + 0x20]
mov dword [edx + 8], eax
mov eax, dword [esi + 0x34]
xor eax, dword [esi + 0x24]
mov dword [edx + 0xc], eax
lea eax, [edx + 0x10]
cmp ebx, 0x10
jbe 0x44f22c
sub eax, edi
mov dword [ebp - 0xc], eax
lea eax, [ebx - 0x11]
shr eax, 4
inc eax
mov dword [ebp + 8], eax
push ecx
lea eax, [esi + 0x3c]
push eax
call fcn.004509b0
mov eax, dword [esi + 0x18]
lea ecx, [esi + 0x18]
xor eax, dword [edi]
add esp, 8
mov edx, dword [ebp - 0xc]
sub ebx, 0x10
mov dword [edx + edi], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x1c]
mov dword [edx + edi + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x20]
mov dword [edx + edi + 8], eax
mov eax, dword [edi + 0xc]
xor eax, dword [esi + 0x24]
mov dword [edx + edi + 0xc], eax
add edi, 0x10
sub dword [ebp + 8], 1
jne 0x44f306
jmp 0x44f22c
mov eax, dword [esi + 0x38]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x18]
lea ecx, [eax + ebx]
mov dword [ebp + 8], ecx
mov dword [edi], ecx
cmp ecx, 0x10
jbe 0x44f16b
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 0x14], ebx
je case.default.0x44f148
mov edi, 0x10
sub edi, eax
add eax, 0x28
push edi
add eax, esi
push ebx
push eax
call fcn.004a45a0
lea eax, [esi + 0x18]
add edi, ebx
mov ebx, dword [ebp + 8]
push eax
lea eax, [esi + 0x3c]
add ebx, 0xfffffff0
push eax
call fcn.004509b0
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x18]
xor eax, dword [ecx]
add esp, 0x14
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [esi + 0x2c]
xor eax, dword [esi + 0x1c]
mov dword [edx + 4], eax
mov eax, dword [esi + 0x30]
xor eax, dword [esi + 0x20]
mov dword [edx + 8], eax
mov eax, dword [esi + 0x34]
xor eax, dword [esi + 0x24]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x28]
mov dword [ecx], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x34]
mov dword [esi + 0x24], eax
lea eax, [edx + 0x10]
cmp ebx, 0x10
jbe 0x44f22c
sub eax, edi
mov dword [ebp - 0xc], eax
lea eax, [ebx - 0x11]
shr eax, 4
inc eax
mov dword [ebp + 8], eax
nop dword [eax]
push ecx
lea eax, [esi + 0x3c]
push eax
call fcn.004509b0
mov eax, dword [edi]
lea ecx, [esi + 0x18]
xor eax, dword [ecx]
add esp, 8
mov edx, dword [ebp - 0xc]
sub ebx, 0x10
mov dword [edx + edi], eax
mov eax, dword [edi + 4]
xor eax, dword [esi + 0x1c]
mov dword [edx + edi + 4], eax
mov eax, dword [edi + 8]
xor eax, dword [esi + 0x20]
mov dword [edx + edi + 8], eax
mov eax, dword [edi + 0xc]
xor eax, dword [esi + 0x24]
mov dword [edx + edi + 0xc], eax
mov eax, dword [edi]
mov dword [ecx], eax
mov eax, dword [edi + 4]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0xc]
add edi, 0x10
sub dword [ebp + 8], 1
mov dword [esi + 0x24], eax
jne 0x44f400
jmp 0x44f22c
pop edi
pop esi
mov eax, 0x1001
pop ebx
mov esp, ebp
pop ebp
ret