Function at 0x5e9650
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x60]
mov eax, esi
push edi
cdq
and edx, 0xf
xor edi, edi
add eax, edx
mov dword [esp + 0x3c], 0x12345678
mov ecx, eax
mov dword [esp + 0x40], 0x56785678
sar ecx, 4
and esi, 0x8000000f
mov dword [esp + 0x44], 0x9abc5678
mov dword [esp + 0x48], 0xdeff5678
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x64], ecx
jns 0x5e96bb
dec esi
or esi, 0xfffffff0
inc esi
mov dword [esp + 0x18], esi
jne 0x5e9774
cmp ecx, edi
jle 0x5e99e9
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x60]
sub edi, eax
mov esi, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x60], ecx
jmp 0x5e96e7
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
add edi, esi
mov ebp, 4
xor eax, eax
mov ebx, dword [ecx]
xor edx, edx
mov dl, byte [edi + eax]
shl ebx, 8
xor edx, ebx
inc eax
cmp eax, 4
mov dword [ecx], edx
jl 0x5e96f4
add ecx, 4
add edi, 4
dec ebp
jne 0x5e96f2
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x40]
push ecx
push edx
call fcn.005e6c90
add esp, 0xc
xor edi, edi
mov eax, dword [esp + edi + 0x1c]
mov ebp, dword [esp + edi + 0x2c]
xor ebp, eax
mov dword [esp + edi + 0x3c], eax
mov dword [esp + edi + 0x4c], ebp
xor eax, eax
mov ecx, 0x18
mov edx, ebp
sub ecx, eax
add eax, 8
shr edx, cl
inc esi
cmp eax, 0x20
mov byte [esi - 1], dl
jl 0x5e973e
add edi, 4
cmp edi, 0x10
jl 0x5e972a
mov eax, dword [esp + 0x60]
dec eax
mov dword [esp + 0x60], eax
jne 0x5e96e3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
cmp ecx, edi
jle 0x5e9823
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x60]
sub edi, eax
mov esi, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ecx
jmp 0x5e9796
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
add edi, esi
mov ebp, 4
xor eax, eax
mov ebx, dword [ecx]
xor edx, edx
mov dl, byte [edi + eax]
shl ebx, 8
xor edx, ebx
inc eax
cmp eax, 4
mov dword [ecx], edx
jl 0x5e97a3
add ecx, 4
add edi, 4
dec ebp
jne 0x5e97a1
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x40]
push ecx
push edx
call fcn.005e6c90
add esp, 0xc
xor edi, edi
mov eax, dword [esp + edi + 0x1c]
mov ebp, dword [esp + edi + 0x2c]
xor ebp, eax
mov dword [esp + edi + 0x3c], eax
mov dword [esp + edi + 0x4c], ebp
xor eax, eax
mov ecx, 0x18
mov edx, ebp
sub ecx, eax
add eax, 8
shr edx, cl
inc esi
cmp eax, 0x20
mov byte [esi - 1], dl
jl 0x5e97ed
add edi, 4
cmp edi, 0x10
jl 0x5e97d9
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x5e9792
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x18]
mov eax, esi
cdq
and edx, 3
add eax, edx
mov ebx, eax
sar ebx, 2
and esi, reloc.WSOCK32.dll_closesocket
jns 0x5e983d
dec esi
or esi, 0xfffffffc
inc esi
mov dword [esp + 0x14], esi
jne 0x5e98db
test ebx, ebx
jle 0x5e9879
mov eax, dword [esp + 0x60]
lea esi, [esp + 0x1c]
shl ecx, 4
add ecx, eax
mov edi, ebx
xor eax, eax
mov ebp, dword [esi]
xor edx, edx
mov dl, byte [ecx + eax]
shl ebp, 8
xor edx, ebp
inc eax
cmp eax, 4
mov dword [esi], edx
jl 0x5e985c
add esi, 4
add ecx, 4
dec edi
jne 0x5e985a
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x40]
push ecx
push edx
call fcn.005e6c90
add esp, 0xc
xor ebp, ebp
test ebx, ebx
jle 0x5e99e9
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
shl edi, 4
add edi, eax
mov esi, dword [esp + ebp*4 + 0x2c]
mov eax, dword [esp + ebp*4 + 0x1c]
xor esi, eax
xor eax, eax
mov dword [esp + ebp*4 + 0x4c], esi
mov ecx, 0x18
mov edx, esi
sub ecx, eax
add eax, 8
shr edx, cl
inc edi
cmp eax, 0x20
mov byte [edi - 1], dl
jl 0x5e98b7
inc ebp
cmp ebp, ebx
jl 0x5e98a7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
test ebx, ebx
jle 0x5e9915
mov eax, dword [esp + 0x60]
lea esi, [esp + 0x1c]
shl ecx, 4
add ecx, eax
mov edi, ebx
xor eax, eax
mov ebp, dword [esi]
xor edx, edx
mov dl, byte [ecx + eax]
shl ebp, 8
xor edx, ebp
inc eax
cmp eax, 4
mov dword [esi], edx
jl 0x5e98f0
add esi, 4
add ecx, 4
dec edi
jne 0x5e98ee
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x14]
xor eax, eax
test esi, esi
jle 0x5e993c
mov edx, dword [esp + 0x60]
lea ecx, [ebx + ecx*4]
lea edi, [edx + ecx*4]
mov edx, dword [esp + ebx*4 + 0x1c]
xor ecx, ecx
mov cl, byte [edi + eax]
shl edx, 8
xor ecx, edx
inc eax
cmp eax, esi
mov dword [esp + ebx*4 + 0x1c], ecx
jl 0x5e9925
mov ebp, dword [esp + ebx*4 + 0x1c]
lea eax, [esi*8]
mov ecx, 0x20
lea edx, [esp + 0x2c]
sub ecx, eax
lea eax, [esp + 0x3c]
shl ebp, cl
mov ecx, dword [esp + 0x6c]
push ecx
push edx
push eax
mov dword [esp + ebx*4 + 0x28], ebp
call fcn.005e6c90
add esp, 0xc
xor ebp, ebp
test ebx, ebx
jle 0x5e99aa
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
shl edi, 4
add edi, eax
mov esi, dword [esp + ebp*4 + 0x2c]
mov eax, dword [esp + ebp*4 + 0x1c]
xor esi, eax
xor eax, eax
mov dword [esp + ebp*4 + 0x4c], esi
mov ecx, 0x18
mov edx, esi
sub ecx, eax
add eax, 8
shr edx, cl
inc edi
cmp eax, 0x20
mov byte [edi - 1], dl
jl 0x5e998e
inc ebp
cmp ebp, ebx
jl 0x5e997e
mov edi, dword [esp + ebx*4 + 0x2c]
mov edx, dword [esp + ebx*4 + 0x1c]
xor edi, edx
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + ebx*4 + 0x4c], edi
test edx, edx
jle 0x5e99e9
mov ecx, dword [esp + 0x64]
xor esi, esi
lea ecx, [ebx + ecx*4]
mov ebx, dword [esp + 0x68]
lea ebp, [ebx + ecx*4]
mov ecx, 0x18
mov ebx, edi
sub ecx, esi
add esi, 8
shr ebx, cl
inc eax
cmp eax, edx
mov byte [eax + ebp - 1], bl
jl 0x5e99d2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret