Function at 0x48b340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov edi, dword [ebp + 8]
test edi, edi
jne 0x48b360
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x48b350
mov eax, dword [ebp + 0xc]
mov ebx, dword [edi + 0x10]
test eax, eax
je 0x48b576
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
xor eax, eax
mov al, cl
lea edx, [eax + eax]
shl eax, 5
sub eax, edx
test cl, cl
lea ebx, [eax + ebx]
je 0x48b3ad
mov esi, dword [ebp + 0xc]
mov eax, ebx
mov edx, ebx
shl edx, 5
shr eax, 3
add eax, edx
movsx edx, cl
add eax, edx
xor ebx, eax
mov al, byte [esi + 1]
mov cl, al
inc esi
test al, al
jne 0x48b390
mov edx, ebx
mov eax, ebx
shr eax, 3
shl edx, 5
lea esi, [edx + eax + 0x3a]
mov eax, dword [ebp + 0x10]
xor esi, ebx
mov cl, byte [eax]
test cl, cl
je 0x48b3ed
mov ebx, dword [ebp + 0x10]
lea esi, [esi]
mov eax, esi
mov edx, esi
shl edx, 5
shr eax, 3
add eax, edx
movsx edx, cl
add eax, edx
xor esi, eax
mov al, byte [ebx + 1]
mov cl, al
inc ebx
test al, al
jne 0x48b3d0
mov edx, esi
mov eax, esi
shl eax, 5
shr edx, 3
lea ebx, [edx + eax]
mov eax, dword [ebp + 0x14]
xor ebx, esi
test eax, eax
je 0x48b43d
mov edx, dword [ebp + 0x14]
mov al, byte [edx]
test al, al
je 0x48b42d
mov cl, al
mov esi, edx
mov eax, ebx
mov edx, ebx
shl edx, 5
shr eax, 3
add eax, edx
movsx edx, cl
add eax, edx
xor ebx, eax
mov al, byte [esi + 1]
mov cl, al
inc esi
test al, al
jne 0x48b410
mov eax, ebx
mov edx, ebx
shl eax, 5
shr edx, 3
lea eax, [eax + edx + 0x3a]
xor ebx, eax
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x48b46e
mov edx, dword [ebp + 0x18]
mov al, byte [edx]
test al, al
je 0x48b46e
mov cl, al
mov esi, edx
mov eax, ebx
mov edx, ebx
shl edx, 5
shr eax, 3
add eax, edx
movsx edx, cl
add eax, edx
xor ebx, eax
mov al, byte [esi + 1]
mov cl, al
inc esi
test al, al
jne 0x48b451
mov edx, ebx
mov eax, ebx
shl eax, 5
shr edx, 3
lea ecx, [edx + eax]
mov eax, dword [ebp + 0x1c]
xor ecx, ebx
test eax, eax
je 0x48b4be
mov edx, dword [ebp + 0x1c]
mov al, byte [edx]
test al, al
je 0x48b4ae
mov bl, al
mov esi, edx
mov eax, ecx
mov edx, ecx
shl edx, 5
shr eax, 3
add eax, edx
movsx edx, bl
add eax, edx
xor ecx, eax
mov al, byte [esi + 1]
mov bl, al
inc esi
test al, al
jne 0x48b491
mov eax, ecx
mov edx, ecx
shl eax, 5
shr edx, 3
lea eax, [eax + edx + 0x3a]
xor ecx, eax
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x48b4ef
mov edx, dword [ebp + 0x20]
mov al, byte [edx]
test al, al
je 0x48b4ef
mov bl, al
mov esi, edx
mov eax, ecx
mov edx, ecx
shl edx, 5
shr eax, 3
add eax, edx
movsx edx, bl
add eax, edx
xor ecx, eax
mov al, byte [esi + 1]
mov bl, al
inc esi
test al, al
jne 0x48b4d2
xor edx, edx
mov eax, ecx
div dword [edi + 4]
mov eax, dword [edi]
lea edx, [edx + edx*2]
lea ebx, [edx*8]
add ebx, eax
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x48b350
jmp 0x48b53a
push eax
mov eax, dword [ebx + 8]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
call fcn.00483310
add esp, 0x10
test eax, eax
jne 0x48b555
lea esi, [esi]
mov ebx, dword [ebx]
test ebx, ebx
je 0x48b350
push ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebx + 4]
push edx
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00483310
add esp, 0x10
test eax, eax
je 0x48b530
jmp 0x48b511
push edi
mov ecx, dword [ebp + 0x20]
mov esi, dword [ebx + 0xc]
mov edx, dword [ebp + 0x1c]
push esi
push ecx
push edx
call fcn.00483310
add esp, 0x10
test eax, eax
je 0x48b530
mov eax, dword [ebx + 0x10]
jmp 0x48b352
mov edx, dword [ebp + 0x10]
xor eax, eax
mov cl, byte [edx]
mov al, cl
lea edx, [eax + eax]
shl eax, 5
sub eax, edx
lea esi, [eax + ebx]
jmp 0x48b3c2