Function at 0x59b1b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa8
call fcn.005cf470
mov eax, dword [0x64c00c]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
push ebp
mov ebp, dword [esp + 0xb4]
lea ecx, [esp + 0x6c]
push esi
mov esi, dword [esp + 0xc0]
push edi
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x10], ebp
lea eax, [edi + 0x1f]
cmp ecx, eax
ja 0x59b1fb
lea eax, [esp + 0x93]
cmp eax, edi
jae 0x59b211
lea eax, [esi + 0x1f]
lea ecx, [esp + 0x74]
cmp ecx, eax
ja 0x59b23a
lea eax, [esp + 0x93]
cmp eax, esi
jb 0x59b23a
mov ebx, esi
lea ebp, [esp + 0x74]
sub ebx, edi
mov ecx, edi
sub ebp, edi
mov edx, 0x20
mov al, byte [ecx + ebx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
mov byte [ecx + ebp - 1], al
sub edx, 1
jne 0x59b222
mov ebp, dword [esp + 0x10]
jmp 0x59b26a
mov edx, esi
lea ebx, [esp + 0x74]
sub edx, edi
mov eax, edi
sub ebx, edi
mov ecx, 2
nop dword [eax + eax]
lea eax, [eax + 0x10]
movups xmm1, xmmword [edx + eax - 0x10]
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [ebx + eax - 0x10], xmm1
sub ecx, 1
jne 0x59b250
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0059b6e0
lea eax, [esp + 0x1c]
push eax
push edi
lea eax, [esp + 0xa4]
push eax
push ebp
call fcn.005993a0
lea eax, [esp + 0x4c]
push eax
push edi
call fcn.0059ada0
lea eax, [esp + 0x74]
push eax
push esi
call fcn.0059ada0
lea eax, [esp + 0x7c]
push eax
push eax
call fcn.0059ada0
add esp, 0x30
xor eax, eax
nop word [eax + eax]
movups xmm1, xmmword [esp + eax + 0x54]
movups xmm0, xmmword [esp + eax + 0x34]
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x74], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x59b2c0
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0059b6e0
lea eax, [esp + 0x24]
push eax
lea eax, [edi + 8]
push eax
lea eax, [esp + 0xa4]
push eax
push ebp
call fcn.005993a0
lea eax, [esp + 0x4c]
push eax
push eax
call fcn.0059ada0
not byte [esp + 0x73]
lea eax, [esp + 0x74]
not byte [esp + 0x71]
not byte [esp + 0x70]
not byte [esp + 0x6c]
not byte [esp + 0x6b]
not byte [esp + 0x68]
not byte [esp + 0x66]
not byte [esp + 0x65]
not byte [esp + 0x62]
not byte [esp + 0x60]
not byte [esp + 0x5e]
not byte [esp + 0x5c]
not byte [esp + 0x5b]
not byte [esp + 0x59]
not byte [esp + 0x57]
not byte [esp + 0x55]
push eax
push eax
call fcn.0059ada0
lea eax, [esp + 0x7c]
push eax
push eax
call fcn.0059ada0
add esp, 0x30
xor eax, eax
nop word [eax + eax]
movups xmm1, xmmword [esp + eax + 0x54]
movups xmm0, xmmword [esp + eax + 0x34]
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x74], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x59b370
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0059b6e0
lea eax, [esp + 0x2c]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [esp + 0xa4]
push eax
push ebp
call fcn.005993a0
lea eax, [esp + 0x4c]
push eax
push eax
call fcn.0059ada0
lea eax, [esp + 0x74]
push eax
push eax
call fcn.0059ada0
lea eax, [esp + 0x7c]
push eax
push eax
call fcn.0059ada0
add esp, 0x30
xor eax, eax
nop word [eax + eax]
movups xmm1, xmmword [esp + eax + 0x54]
movups xmm0, xmmword [esp + eax + 0x34]
pxor xmm1, xmm0
movups xmmword [esp + eax + 0x74], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x59b3e0
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.0059b6e0
lea eax, [esp + 0x34]
push eax
lea eax, [edi + 0x18]
push eax
lea eax, [esp + 0xa4]
push eax
push ebp
call fcn.005993a0
mov cl, byte [esp + 0x4b]
add esp, 0x18
mov bl, byte [esp + 0x32]
mov ebp, 0xc
nop dword [eax]
nop dword [eax + eax]
movzx eax, byte [esp + 0x15]
xor al, byte [esp + 0x17]
xor al, byte [esp + 0x19]
xor al, byte [esp + 0x1b]
xor al, byte [esp + 0x2d]
xor al, cl
movzx ecx, al
movzx eax, byte [esp + 0x14]
xor al, byte [esp + 0x16]
xor al, byte [esp + 0x18]
xor al, byte [esp + 0x1a]
xor al, byte [esp + 0x2c]
xor al, bl
shl cx, 8
movzx eax, al
or cx, ax
lea eax, [esp + 0x16]
push 0x1e
push eax
lea eax, [esp + 0x1c]
movzx ebx, cx
push eax
call fcn.005a5500
mov ecx, ebx
mov byte [esp + 0x3e], bl
shr ecx, 8
add esp, 0xc
mov byte [esp + 0x33], cl
sub ebp, 1
jne 0x59b440
lea eax, [esi + 0x1f]
xor edx, edx
lea ecx, [esp + 0x14]
cmp ecx, eax
ja 0x59b4d3
lea eax, [esp + 0x33]
cmp eax, esi
jb 0x59b4d3
mov eax, ecx
sub esi, eax
nop dword [eax]
lea ecx, [esp + 0x14]
add ecx, edx
inc edx
mov al, byte [ecx + esi]
xor byte [ecx], al
cmp edx, 0x20
jb 0x59b4c0
jmp 0x59b4fc
lea eax, [esp + 0x14]
sub esi, eax
nop dword [eax]
lea eax, [esp + 0x14]
add eax, edx
add edx, 0x10
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + esi]
pxor xmm1, xmm0
movups xmmword [eax], xmm1
cmp edx, 0x20
jb 0x59b4e0
movzx eax, byte [esp + 0x15]
xor al, byte [esp + 0x17]
xor al, byte [esp + 0x19]
xor al, byte [esp + 0x1b]
xor al, byte [esp + 0x2d]
xor al, byte [esp + 0x33]
movzx ecx, al
movzx eax, byte [esp + 0x14]
xor al, byte [esp + 0x16]
xor al, byte [esp + 0x18]
xor al, byte [esp + 0x1a]
xor al, byte [esp + 0x2c]
xor al, byte [esp + 0x32]
movzx eax, al
shl cx, 8
or cx, ax
lea eax, [esp + 0x16]
push 0x1e
push eax
lea eax, [esp + 0x1c]
movzx ebx, cx
push eax
call fcn.005a5500
mov byte [esp + 0x3e], bl
lea edx, [esp + 0x20]
shr ebx, 8
lea ecx, [edi + 0x1f]
add esp, 0xc
mov byte [esp + 0x33], bl
xor eax, eax
cmp edx, ecx
ja 0x59b58b
lea ecx, [esp + 0x33]
cmp ecx, edi
jb 0x59b58b
mov esi, edi
mov ecx, edx
sub esi, ecx
lea edx, [esp + 0x14]
add edx, eax
inc eax
mov cl, byte [edx + esi]
xor byte [edx], cl
cmp eax, 0x20
jb 0x59b578
jmp 0x59b5af
mov edx, edi
lea ecx, [esp + 0x14]
sub edx, ecx
lea ecx, [esp + 0x14]
add ecx, eax
add eax, 0x10
movups xmm0, xmmword [ecx]
movups xmm1, xmmword [ecx + edx]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
cmp eax, 0x20
jb 0x59b593
mov cl, byte [esp + 0x33]
mov esi, 0x3d
mov bl, byte [esp + 0x32]
nop dword [eax]
movzx eax, byte [esp + 0x15]
xor al, byte [esp + 0x17]
xor al, byte [esp + 0x19]
xor al, byte [esp + 0x1b]
xor al, byte [esp + 0x2d]
xor al, cl
movzx ecx, al
movzx eax, byte [esp + 0x14]
xor al, byte [esp + 0x16]
xor al, byte [esp + 0x18]
xor al, byte [esp + 0x1a]
xor al, byte [esp + 0x2c]
xor al, bl
shl cx, 8
movzx eax, al
or cx, ax
lea eax, [esp + 0x16]
push 0x1e
push eax
lea eax, [esp + 0x1c]
movzx ebx, cx
push eax
call fcn.005a5500
mov ecx, ebx
mov byte [esp + 0x3e], bl
shr ecx, 8
add esp, 0xc
mov byte [esp + 0x33], cl
sub esi, 1
jne 0x59b5c0
movups xmm0, xmmword [esp + 0x14]
mov ecx, dword [esp + 0xb4]
lea eax, [esi + 1]
movups xmmword [edi], xmm0
movups xmm0, xmmword [esp + 0x24]
movups xmmword [edi + 0x10], xmm0
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00483ab6
add esp, 0xa8
ret