Function at 0x48b2b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov eax, dword [0x5080e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, ecx
mov dword [ebp - 0x160], eax
xor eax, eax
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x140], eax
mov eax, dword [esi + 0x50]
shl eax, 5
mov dword [ebp - 0x158], esi
mov dword [ebp - 0x13c], 1
mov dword [ebp - 0x148], 1
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x48b93f
mov eax, dword [esi + 0x54]
test byte [eax], 1
je 0x48b93f
cmp dword [esi + 0x5c], 0x180
lea edx, [esi + 0x34]
push ebx
sbb bl, bl
lea ecx, [edi + 0xc]
add bl, 5
call fcn.00485ea0
test eax, eax
jne 0x48b379
lea edx, [esi + 0x28]
mov ecx, edi
call fcn.00485ea0
test eax, eax
jne 0x48b379
mov dl, 1
jmp 0x48b37b
xor dl, dl
lea eax, [ebx + 1]
mov byte [ebp - 0x10e], dl
movzx ecx, al
test dl, dl
mov edx, dword [esi + 0x5c]
movzx eax, bl
mov ebx, 2
cmove ecx, eax
movzx eax, cl
cmp eax, edx
movzx ecx, cl
mov al, 1
cmovae ecx, ebx
movzx ebx, cl
mov byte [ebp - 0x150], cl
mov dword [ebp - 0x14c], ebx
lea ecx, [ebx - 1]
shl al, cl
mov byte [ebp - 0x130], al
lea eax, [edx - 1]
add eax, ebx
xor edx, edx
div ebx
cmp byte [ebp - 0x10e], 0
mov ebx, eax
mov dword [ebp - 0x12c], ebx
je 0x48b3e5
mov eax, dword [esi + 0x74]
mov dword [ebp - 0x11c], eax
test eax, eax
jne 0x48b449
movzx eax, byte [ebp - 0x130]
push 0x24
push eax
mov dword [ebp - 0x154], eax
call fcn.004c3cf4
add esp, 8
mov dword [ebp - 0x11c], eax
test eax, eax
jne 0x48b411
mov edi, 0xffffb280
jmp 0x48b8ba
push ebx
push dword [ebp - 0x150]
mov edx, eax
mov ecx, esi
push edi
call fcn.0048b030
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x48b82f
cmp byte [ebp - 0x10e], al
je 0x48b449
mov eax, dword [ebp - 0x11c]
mov dword [esi + 0x74], eax
mov eax, dword [ebp - 0x154]
mov dword [esi + 0x78], eax
mov ecx, dword [ebp - 0x128]
mov eax, dword [ecx + 4]
shl eax, 5
test eax, eax
jne 0x48b461
mov dword [ebp - 0x114], eax
jmp 0x48b46f
mov eax, dword [ecx + 8]
mov eax, dword [eax]
and eax, 1
mov dword [ebp - 0x114], eax
mov edx, ecx
lea ecx, [ebp - 0x13c]
call fcn.00485710
mov edi, eax
test edi, edi
jne 0x48b80b
mov edi, dword [ebp - 0x128]
lea edx, [esi + 0x4c]
mov ecx, dword [edx]
mov dword [ebp - 0x118], ecx
mov eax, dword [edi]
imul eax, ecx
test eax, eax
jle 0x48b5a4
mov edx, edi
lea ecx, [esi + 0x4c]
call fcn.00485e10
lea ecx, [ebp - 0x148]
test eax, eax
js 0x48b57f
push edi
lea edx, [esi + 0x4c]
call fcn.00486120
mov edi, eax
add esp, 4
test edi, edi
jne 0x48b7e5
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x148], eax
lea edx, [ebp - 0x148]
mov al, byte [ebp - 0x114]
lea ecx, [ebp - 0x13c]
xor al, 1
push eax
mov dword [ebp - 0x150], eax
call fcn.00485790
mov edi, eax
add esp, 4
test edi, edi
jne 0x48b7e5
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.004bc0b0
mov eax, dword [ebp - 0x134]
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x114], eax
test ebx, ebx
je 0x48b61f
mov edx, dword [ebp - 0x14c]
nop dword [eax]
xor esi, esi
test edx, edx
je 0x48b60a
mov edi, eax
mov edx, ecx
lea eax, [ebp - 0x10c]
shl edi, 5
add eax, ecx
mov dword [ebp - 0x154], eax
mov al, byte [eax]
mov byte [ebp - 0x10d], al
cmp edi, edx
ja 0x48b5b5
xor eax, eax
jmp 0x48b5d3
lea eax, [esi + 0x4c]
mov edx, edi
push eax
call fcn.00486120
mov edi, eax
add esp, 4
test edi, edi
jne 0x48b7e5
mov eax, dword [ebp - 0x118]
neg eax
jmp 0x48b4d8
push edi
lea ecx, [ebp - 0x148]
call fcn.00485fa0
jmp 0x48b4c5
mov ebx, dword [ebp - 0x124]
mov eax, edx
shr eax, 5
mov ecx, edx
and ecx, 0x1f
mov eax, dword [ebx + eax*4]
mov ebx, dword [ebp - 0x12c]
shr eax, cl
and eax, 1
mov ecx, esi
add edx, ebx
shl al, cl
inc esi
mov cl, byte [ebp - 0x10d]
or cl, al
mov byte [ebp - 0x10d], cl
cmp esi, dword [ebp - 0x14c]
jb 0x48b577
mov eax, dword [ebp - 0x154]
mov edx, dword [ebp - 0x14c]
mov byte [eax], cl
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x128]
inc ecx
mov dword [ebp - 0x128], ecx
cmp ecx, ebx
jb 0x48b550
mov esi, dword [ebp - 0x158]
xor al, al
mov edi, 1
mov byte [ebp - 0x10d], al
cmp ebx, edi
jb 0x48b685
mov bl, byte [ebp + edi - 0x10c]
mov bh, 1
mov dl, byte [ebp + edi - 0x10d]
mov dh, bl
and bl, byte [ebp - 0x10d]
xor dh, al
mov al, dh
movzx ecx, dl
and al, 1
sub bh, al
movzx eax, bh
imul ecx, eax
shl bh, 7
or bh, dl
mov byte [ebp + edi - 0x10d], bh
mov al, cl
xor cl, dh
and al, dh
mov byte [ebp + edi - 0x10c], cl
or al, bl
inc edi
mov ebx, dword [ebp - 0x12c]
mov byte [ebp - 0x10d], al
cmp edi, ebx
jbe 0x48b630
movzx eax, byte [ebp + ebx - 0x10c]
mov ecx, esi
movaps xmm0, xmmword [0x4fe2b0]
mov edx, dword [ebp - 0x120]
push eax
push dword [ebp - 0x130]
movups xmmword [ebp - 0x184], xmm0
mov dword [ebp - 0x164], 0
movaps xmm0, xmmword [0x4fe2a0]
push dword [ebp - 0x11c]
movups xmmword [ebp - 0x174], xmm0
call fcn.0048b230
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x48b789
mov ecx, dword [ebp - 0x120]
lea edx, [eax + 1]
lea ecx, [ecx + 0x18]
call fcn.00485910
mov edi, eax
test edi, edi
jne 0x48b789
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x48b71c
push dword [ebp - 0x160]
mov edx, dword [ebp - 0x120]
mov ecx, esi
push eax
call fcn.0048acf0
mov edi, eax
add esp, 8
test edi, edi
jne 0x48b789
test ebx, ebx
je 0x48b789
mov eax, dword [ebp - 0x120]
mov ecx, esi
push eax
mov edx, eax
dec ebx
call fcn.004895f0
mov edi, eax
add esp, 4
test edi, edi
jne 0x48b789
movzx eax, byte [ebp + ebx - 0x10c]
lea edx, [ebp - 0x184]
push eax
push dword [ebp - 0x130]
mov ecx, esi
push dword [ebp - 0x11c]
call fcn.0048b230
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x48b789
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
mov eax, dword [ebp - 0x120]
mov edx, eax
push eax
call fcn.0048a1a0
mov edi, eax
add esp, 8
test edi, edi
jne 0x48b789
test ebx, ebx
jne 0x48b720
lea ecx, [ebp - 0x184]
call fcn.004855a0
lea ecx, [ebp - 0x178]
call fcn.004855a0
lea ecx, [ebp - 0x16c]
call fcn.004855a0
test edi, edi
jne 0x48b7d7
push dword [ebp - 0x150]
mov ebx, dword [ebp - 0x120]
mov ecx, esi
mov edx, ebx
call fcn.004894f0
mov edi, eax
add esp, 4
test edi, edi
jne 0x48b7d7
mov edx, ebx
mov ecx, esi
call fcn.00488f00
mov edi, eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x118], eax
jmp 0x48b823
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x118], eax
jmp 0x48b823
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x48b88d
jmp 0x48b835
mov eax, dword [ebp - 0x11c]
cmp byte [ebp - 0x10e], 0
jne 0x48b88d
mov ebx, eax
movzx eax, byte [ebp - 0x130]
mov dword [ebp - 0x12c], eax
nop dword [eax]
test ebx, ebx
je 0x48b871
mov ecx, ebx
call fcn.004855a0
lea ecx, [ebx + 0xc]
call fcn.004855a0
lea ecx, [ebx + 0x18]
call fcn.004855a0
mov eax, dword [ebp - 0x12c]
add ebx, 0x24
sub eax, 1
mov dword [ebp - 0x12c], eax
jne 0x48b850
push dword [ebp - 0x11c]
call fcn.004c3b98
add esp, 4
mov edx, dword [ebp - 0x124]
test edx, edx
je 0x48b8ba
mov ecx, dword [ebp - 0x114]
mov eax, edx
test ecx, ecx
je 0x48b8b1
mov dword [eax], 0
lea eax, [eax + 4]
sub ecx, 1
jne 0x48b8a3
push edx
call fcn.004c3b98
add esp, 4
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x13c], 1
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
test edx, edx
je 0x48b907
mov eax, dword [ebp - 0x144]
mov ecx, edx
test eax, eax
je 0x48b8fe
nop
mov dword [ecx], 0
lea ecx, [ecx + 4]
sub eax, 1
jne 0x48b8f0
push edx
call fcn.004c3b98
add esp, 4
test edi, edi
je 0x48b92c
mov ebx, dword [ebp - 0x120]
test ebx, ebx
je 0x48b92c
mov ecx, ebx
call fcn.004855a0
lea ecx, [ebx + 0xc]
call fcn.004855a0
lea ecx, [ebx + 0x18]
call fcn.004855a0
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b992a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xffffb080
pop edi
xor ecx, ebp
pop esi
call fcn.004b992a
mov esp, ebp
pop ebp
ret