Function at 0x48d1a5
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, eax
mov eax, dword [esi + 0x90]
test eax, eax
mov dword [esp + 0x10], ebp
je 0x48d1fe
test ebp, ebp
je 0x48d1fe
test ebx, ebx
je 0x48d1d0
mov al, byte [esi + 0x8c]
mov cl, byte [edi]
xor cl, al
jmp 0x48d1d6
mov cl, byte [esi + 0x8c]
mov byte [edi], cl
mov eax, dword [esi + 0x8c]
mov edx, dword [esi + 0x90]
shr eax, 8
add edx, 0xfffffff8
inc edi
mov dword [esi + 0x8c], eax
mov eax, edx
dec ebp
test eax, eax
mov dword [esi + 0x90], edx
jne 0x48d1bc
cmp ebp, 0x44
jb 0x48d8b4
mov eax, 0xf0f0f0f1
mul ebp
shr edx, 6
mov dword [esp + 8], edx
movzx edx, byte [esi + 3]
mov ecx, dword [edx*4 + 0x4cda1c]
mov eax, dword [esi]
mov edx, dword [esi + 0x10]
shl eax, 8
xor eax, ecx
mov ecx, dword [esi + 0x3c]
xor eax, edx
mov edx, dword [esi + 0x88]
xor eax, ecx
mov ecx, dword [esi + 4]
add ecx, eax
mov dword [esi], eax
mov eax, ecx
shr eax, 0x18
mov eax, dword [eax*4 + 0x4cde1c]
xor eax, ecx
mov ecx, dword [esi + 8]
ror eax, 8
add eax, ecx
mov ecx, dword [esi + 0x1c]
xor eax, edx
mov edx, dword [esi + 0x38]
add eax, ecx
mov ecx, eax
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4cde1c]
xor ecx, eax
add ecx, edx
mov edx, ebx
mov eax, edi
call fcn.0048c825
movzx edx, byte [esi + 7]
mov ecx, dword [edx*4 + 0x4cda1c]
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x40]
shl eax, 8
xor eax, ecx
mov ecx, dword [esi + 0x14]
xor eax, edx
xor eax, ecx
mov ecx, dword [esi + 8]
add ecx, eax
mov dword [esi + 4], eax
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x4cde1c]
mov eax, dword [esi + 0xc]
xor edx, ecx
mov ecx, dword [esi + 0x88]
ror edx, 8
add edx, eax
mov eax, dword [esi + 0x20]
xor edx, ecx
add edx, eax
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4cde1c]
xor ecx, edx
add ecx, dword [esi + 0x3c]
lea eax, [edi + 4]
mov edx, ebx
call fcn.0048c825
movzx edx, byte [esi + 0xb]
mov ecx, dword [edx*4 + 0x4cda1c]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x18]
shl eax, 8
xor eax, ecx
mov ecx, dword [esi]
xor eax, edx
xor eax, ecx
mov ecx, dword [esi + 0xc]
add ecx, eax
mov dword [esi + 8], eax
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x4cde1c]
xor edx, ecx
ror edx, 8
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x88]
add edx, eax
mov eax, dword [esi + 0x24]
xor edx, ecx
add edx, eax
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4cde1c]
xor ecx, edx
add ecx, dword [esi + 0x40]
lea eax, [edi + 8]
mov edx, ebx
call fcn.0048c825
movzx edx, byte [esi + 0xf]
mov ecx, dword [edx*4 + 0x4cda1c]
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
shl eax, 8
xor eax, ecx
mov ecx, dword [esi + 0x1c]
xor eax, edx
xor eax, ecx
mov ecx, dword [esi + 0x10]
add ecx, eax
mov dword [esi + 0xc], eax
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x4cde1c]
mov eax, dword [esi + 0x14]
xor edx, ecx
mov ecx, dword [esi + 0x88]
ror edx, 8
add edx, eax
mov eax, dword [esi + 0x28]
xor edx, ecx
add edx, eax
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4cde1c]
xor ecx, edx
add ecx, dword [esi]
lea eax, [edi + 0xc]
mov edx, ebx
call fcn.0048c825
movzx edx, byte [esi + 0x13]
mov ecx, dword [edx*4 + 0x4cda1c]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x20]
shl eax, 8
xor eax, ecx
mov ecx, dword [esi + 8]
xor eax, edx
xor eax, ecx
mov ecx, dword [esi + 0x14]
add ecx, eax
mov dword [esi + 0x10], eax
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x4cde1c]
mov eax, dword [esi + 0x18]
xor edx, ecx
mov ecx, dword [esi + 0x88]
ror edx, 8
add edx, eax
mov eax, dword [esi + 0x2c]
xor edx, ecx
add edx, eax
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4cde1c]
xor ecx, edx
add ecx, dword [esi + 4]
lea eax, [edi + 0x10]
mov edx, ebx
call fcn.0048c825
movzx edx, byte [esi + 0x17]
mov eax, dword [esi + 0x14]
mov ecx, dword [edx*4 + 0x4cda1c]
mov edx, dword [esi + 0xc]
shl eax, 8
xor eax, ecx
mov ecx, dword [esi + 0x24]
xor eax, edx
xor eax, ecx
mov ecx, dword [esi + 0x18]
add ecx, eax
mov dword [esi + 0x14], eax
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x4cde1c]
mov eax, dword [esi + 0x1c]
xor edx, ecx
mov ecx, dword [esi + 0x88]
ror edx, 8
add edx, eax
mov eax, dword [esi + 0x30]
xor edx, ecx
add edx, eax
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4cde1c]
xor ecx, edx
add ecx, dword [esi + 8]
lea eax, [edi + 0x14]
mov edx, ebx
call fcn.0048c825
movzx edx, byte [esi + 0x1b]
mov ecx, dword [edx*4 + 0x4cda1c]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x10]
shl eax, 8
xor eax, ecx
mov ecx, dword [esi + 0x28]
xor eax, edx
xor eax, ecx
mov ecx, dword [esi + 0x1c]
add ecx, eax
mov dword [esi + 0x18], eax
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x4cde1c]
mov eax, dword [esi + 0x20]
xor edx, ecx
mov ecx, dword [esi + 0x88]
ror edx, 8
add edx, eax
mov eax, dword [esi + 0x34]
xor edx, ecx
add edx, eax
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4cde1c]
xor ecx, edx
add ecx, dword [esi + 0xc]
lea eax, [edi + 0x18]
mov edx, ebx
call fcn.0048c825
movzx edx, byte [esi + 0x1f]
mov ecx, dword [edx*4 + 0x4cda1c]
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x2c]
shl eax, 8
xor eax, ecx
mov ecx, dword [esi + 0x14]
xor eax, edx
xor eax, ecx
mov ecx, dword [esi + 0x20]
add ecx, eax
mov dword [esi + 0x1c], eax
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x4cde1c]
mov eax, dword [esi + 0x24]
xor edx, ecx
ror edx, 8
add edx, eax
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0x38]
xor edx, ecx
add edx, eax
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4cde1c]
xor ecx, edx
add ecx, dword [esi + 0x10]
lea eax, [edi + 0x1c]
mov edx, ebx
call fcn.0048c825
movzx edx, byte [esi + 0x23]
mov ecx, dword [edx*4 + 0x4cda1c]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
shl eax, 8
xor eax, ecx
mov ecx, dword [esi + 0x30]
xor eax, edx
xor eax, ecx
mov ecx, dword [esi + 0x24]
add ecx, eax
mov dword [esi + 0x20], eax
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x4cde1c]
mov eax, dword [esi + 0x28]
xor edx, ecx
mov ecx, dword [esi + 0x88]
ror edx, 8
add edx, eax
mov eax, dword [esi + 0x3c]
xor edx, ecx
add edx, eax
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4cde1c]
xor ecx, edx
add ecx, dword [esi + 0x14]
lea eax, [edi + 0x20]
mov edx, ebx
call fcn.0048c825
movzx edx, byte [esi + 0x27]
mov ecx, dword [edx*4 + 0x4cda1c]
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0x1c]
shl eax, 8
xor eax, ecx
mov ecx, dword [esi + 0x34]
xor eax, edx
xor eax, ecx
mov ecx, dword [esi + 0x28]
add ecx, eax
mov dword [esi + 0x24], eax
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x4cde1c]
mov eax, dword [esi + 0x2c]
xor edx, ecx
mov ecx, dword [esi + 0x88]
ror edx, 8
add edx, eax
mov eax, dword [esi + 0x40]
xor edx, ecx
add edx, eax
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4cde1c]
xor ecx, edx
add ecx, dword [esi + 0x18]
lea eax, [edi + 0x24]
mov edx, ebx
call fcn.0048c825
movzx edx, byte [esi + 0x2b]
mov eax, dword [esi + 0x28]
mov ecx, dword [edx*4 + 0x4cda1c]
shl eax, 8
mov edx, dword [esi + 0x20]
xor eax, ecx
mov ecx, dword [esi + 0x38]
xor eax, edx
xor eax, ecx
mov ecx, dword [esi + 0x2c]
add ecx, eax
mov dword [esi + 0x28], eax
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x4cde1c]
mov eax, dword [esi + 0x30]
xor edx, ecx
mov ecx, dword [esi + 0x88]
ror edx, 8
add edx, eax
mov eax, dword [esi]
xor edx, ecx
add edx, eax
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4cde1c]
xor ecx, edx
add ecx, dword [esi + 0x1c]
lea eax, [edi + 0x28]
mov edx, ebx
call fcn.0048c825
movzx edx, byte [esi + 0x2f]
mov ecx, dword [edx*4 + 0x4cda1c]
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x24]
shl eax, 8
xor eax, ecx
mov ecx, dword [esi + 0x3c]
xor eax, edx
xor eax, ecx
mov ecx, dword [esi + 0x30]
add ecx, eax
mov dword [esi + 0x2c], eax
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x4cde1c]
mov eax, dword [esi + 0x34]
xor edx, ecx
mov ecx, dword [esi + 0x88]
ror edx, 8
add edx, eax
mov eax, dword [esi + 4]
xor edx, ecx
add edx, eax
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4cde1c]
xor ecx, edx
add ecx, dword [esi + 0x20]
lea eax, [edi + 0x2c]
mov edx, ebx
call fcn.0048c825
movzx edx, byte [esi + 0x33]
mov ecx, dword [edx*4 + 0x4cda1c]
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x40]
shl eax, 8
xor eax, ecx
mov ecx, dword [esi + 0x28]
xor eax, edx
xor eax, ecx
mov ecx, dword [esi + 0x34]
add ecx, eax
mov dword [esi + 0x30], eax
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x4cde1c]
mov eax, dword [esi + 0x38]
xor edx, ecx
mov ecx, dword [esi + 0x88]
ror edx, 8
add edx, eax
xor edx, ecx
add edx, dword [esi + 8]
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4cde1c]
xor ecx, edx
add ecx, dword [esi + 0x24]
lea eax, [edi + 0x30]
mov edx, ebx
call fcn.0048c825
movzx edx, byte [esi + 0x37]
mov ecx, dword [edx*4 + 0x4cda1c]
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x2c]
shl eax, 8
xor eax, ecx
mov ecx, dword [esi]
xor eax, edx
xor eax, ecx
mov ecx, dword [esi + 0x38]
add ecx, eax
mov dword [esi + 0x34], eax
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x4cde1c]
mov eax, dword [esi + 0x3c]
xor edx, ecx
mov ecx, dword [esi + 0x88]
ror edx, 8
add edx, eax
mov eax, dword [esi + 0xc]
xor edx, ecx
add edx, eax
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4cde1c]
xor ecx, edx
add ecx, dword [esi + 0x28]
lea eax, [edi + 0x34]
mov edx, ebx
call fcn.0048c825
movzx edx, byte [esi + 0x3b]
mov ecx, dword [edx*4 + 0x4cda1c]
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 4]
shl eax, 8
xor eax, ecx
mov ecx, dword [esi + 0x30]
xor eax, edx
xor eax, ecx
mov ecx, dword [esi + 0x3c]
add ecx, eax
mov dword [esi + 0x38], eax
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x4cde1c]
mov eax, dword [esi + 0x40]
xor edx, ecx
mov ecx, dword [esi + 0x88]
ror edx, 8
add edx, eax
mov eax, dword [esi + 0x10]
xor edx, ecx
add edx, eax
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4cde1c]
xor ecx, edx
add ecx, dword [esi + 0x2c]
lea eax, [edi + 0x38]
mov edx, ebx
call fcn.0048c825
movzx edx, byte [esi + 0x3f]
mov eax, dword [esi + 0x3c]
mov ecx, dword [edx*4 + 0x4cda1c]
mov edx, dword [esi + 0x34]
shl eax, 8
xor eax, ecx
mov ecx, dword [esi + 8]
xor eax, edx
xor eax, ecx
mov ecx, dword [esi + 0x40]
add ecx, eax
mov dword [esi + 0x3c], eax
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x4cde1c]
mov eax, dword [esi]
xor edx, ecx
mov ecx, dword [esi + 0x88]
ror edx, 8
add edx, eax
mov eax, dword [esi + 0x14]
xor edx, ecx
add edx, eax
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4cde1c]
xor ecx, edx
add ecx, dword [esi + 0x30]
lea eax, [edi + 0x3c]
mov edx, ebx
call fcn.0048c825
movzx edx, byte [esi + 0x43]
mov ecx, dword [edx*4 + 0x4cda1c]
mov eax, dword [esi + 0x40]
mov edx, dword [esi + 0x38]
shl eax, 8
xor eax, ecx
mov ecx, dword [esi + 0xc]
xor eax, edx
xor eax, ecx
mov ecx, dword [esi]
add ecx, eax
mov dword [esi + 0x40], eax
mov eax, ecx
shr eax, 0x18
mov edx, dword [eax*4 + 0x4cde1c]
mov eax, dword [esi + 4]
xor edx, ecx
mov ecx, dword [esi + 0x88]
ror edx, 8
add edx, eax
mov eax, dword [esi + 0x18]
xor edx, ecx
add edx, eax
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + 0x4cde1c]
xor ecx, edx
add ecx, dword [esi + 0x34]
lea eax, [edi + 0x40]
mov edx, ebx
call fcn.0048c825
mov eax, dword [esp + 8]
add edi, 0x44
sub ebp, 0x44
dec eax
mov dword [esp + 8], eax
jne 0x48d215
cmp ebp, 4
jb 0x48d8ef
mov eax, ebp
shr eax, 2
mov dword [esp + 8], eax
lea ecx, [ecx]
mov ecx, esi
call fcn.0048c835
mov edx, esi
call fcn.0048c8c5
mov ecx, eax
mov edx, ebx
mov eax, edi
call fcn.0048c825
mov eax, dword [esp + 8]
add edi, 4
sub ebp, 4
dec eax
mov dword [esp + 8], eax
jne 0x48d8c5
test ebp, ebp
je 0x48d955
mov ecx, esi
call fcn.0048c835
mov edx, esi
call fcn.0048c8c5
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], 0x20
lea esp, [esp]
test ebp, ebp
je 0x48d955
test ebx, ebx
je 0x48d927
mov dl, byte [esi + 0x8c]
xor byte [edi], dl
jmp 0x48d92f
mov al, byte [esi + 0x8c]
mov byte [edi], al
mov eax, dword [esi + 0x8c]
mov edx, dword [esi + 0x90]
shr eax, 8
add edx, 0xfffffff8
inc edi
mov dword [esi + 0x8c], eax
mov eax, edx
dec ebp
test eax, eax
mov dword [esi + 0x90], edx
jne 0x48d915
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ecx
ret