Function at 0x5364c5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x7b088c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov dword [ebp - 0x28], eax
xor esi, esi
mov eax, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x24]
sub edi, eax
lea eax, [edi + esi*4]
push dword [ebp + eax - 0x24]
call fcn.006aefd4
mov dword [ebp + esi*4 - 0x24], eax
inc esi
pop ecx
cmp esi, 4
jl 0x5364ee
mov ebx, dword [ebp + 0xc]
add ebx, 0xa
and ebx, reloc.WS2_32.dll_getsockopt
jns 0x536518
dec ebx
or ebx, 0xfffffff8
inc ebx
je 0x536521
push 8
pop eax
sub eax, ebx
mov ebx, eax
call fcn.005367cd
and al, 0xf8
or al, bl
mov byte [ebp - 0xc], al
xor eax, eax
inc eax
mov dword [ebp - 0x34], eax
mov esi, eax
test ebx, ebx
je 0x536548
call fcn.005367cd
mov byte [ebp + esi - 0xc], al
inc esi
sub ebx, 1
jne 0x536539
push 8
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00689b00
mov eax, dword [ebp - 0x2c]
lea edi, [ebp - 0x14]
xor ebx, ebx
add esp, 0xc
and dword [eax], 0
inc ebx
mov dword [ebp - 0x30], ebx
jmp 0x53656c
mov ebx, dword [ebp - 0x30]
cmp esi, 8
jge 0x536582
call fcn.005367cd
mov byte [ebp + esi - 0xc], al
inc esi
inc ebx
cmp esi, 8
mov dword [ebp - 0x30], ebx
jne 0x53661d
lea eax, [ebp - 0xc]
xor edx, edx
sub edi, eax
lea ecx, [ebp - 0xc]
add ecx, edx
mov al, byte [edi + ecx]
xor byte [ecx], al
inc edx
cmp edx, 8
jl 0x53658f
push dword [ebp - 0xc]
call fcn.006aefd4
push dword [ebp - 8]
mov esi, eax
call fcn.006aefd4
pop ecx
pop ecx
push 0x10
mov edi, eax
xor edx, edx
pop ebx
mov ecx, edi
lea edx, [edx - 0x61c88647]
shl ecx, 4
mov eax, edi
add ecx, dword [ebp - 0x24]
shr eax, 5
add eax, dword [ebp - 0x20]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
add esi, ecx
mov ecx, esi
mov eax, esi
shr ecx, 5
add ecx, dword [ebp - 0x18]
shl eax, 4
add eax, dword [ebp - 0x1c]
xor ecx, eax
lea eax, [edx + esi]
xor ecx, eax
add edi, ecx
sub ebx, 1
jne 0x5365ba
push esi
call fcn.006aefd4
mov ebx, dword [ebp - 0x28]
push edi
mov dword [ebx], eax
call fcn.006aefd4
mov edx, dword [ebp - 0x2c]
xor esi, esi
mov dword [ebx + 4], eax
mov edi, ebx
pop ecx
pop ecx
add dword [edx], 8
add ebx, 8
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x30], 2
jle 0x536569
jmp 0x5366e1
cmp esi, 8
jge 0x536646
mov edx, dword [ebp + 8]
mov al, byte [edx]
mov byte [ebp + esi - 0xc], al
inc esi
inc edx
dec ecx
mov dword [ebp + 8], edx
cmp esi, 8
mov dword [ebp + 0xc], ecx
jne 0x5366e4
lea eax, [ebp - 0xc]
xor edx, edx
sub edi, eax
lea ecx, [ebp - 0xc]
add ecx, edx
mov al, byte [edi + ecx]
xor byte [ecx], al
inc edx
cmp edx, 8
jl 0x536653
push dword [ebp - 0xc]
call fcn.006aefd4
push dword [ebp - 8]
mov esi, eax
call fcn.006aefd4
pop ecx
pop ecx
push 0x10
mov edi, eax
xor edx, edx
pop ebx
mov ecx, edi
lea edx, [edx - 0x61c88647]
shl ecx, 4
mov eax, edi
add ecx, dword [ebp - 0x24]
shr eax, 5
add eax, dword [ebp - 0x20]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
add esi, ecx
mov ecx, esi
mov eax, esi
shr ecx, 5
add ecx, dword [ebp - 0x18]
shl eax, 4
add eax, dword [ebp - 0x1c]
xor ecx, eax
lea eax, [edx + esi]
xor ecx, eax
add edi, ecx
sub ebx, 1
jne 0x53667e
push esi
call fcn.006aefd4
mov ebx, dword [ebp - 0x28]
push edi
mov dword [ebx], eax
call fcn.006aefd4
mov dword [ebx + 4], eax
xor esi, esi
mov eax, dword [ebp - 0x2c]
mov edi, ebx
pop ecx
pop ecx
add dword [eax], 8
add ebx, 8
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x53662c
xor eax, eax
inc eax
cmp esi, 8
jge 0x53670f
mov eax, esi
inc esi
cmp eax, 8
jae 0x5367c7
mov byte [ebp + eax - 0xc], 0
mov eax, dword [ebp - 0x34]
inc eax
cmp esi, 8
mov dword [ebp - 0x34], eax
jne 0x5367ad
lea eax, [ebp - 0xc]
xor edx, edx
sub edi, eax
lea ecx, [ebp - 0xc]
add ecx, edx
mov al, byte [edi + ecx]
xor byte [ecx], al
inc edx
cmp edx, 8
jl 0x53671c
push dword [ebp - 0xc]
call fcn.006aefd4
push dword [ebp - 8]
mov esi, eax
call fcn.006aefd4
pop ecx
pop ecx
push 0x10
mov edi, eax
xor edx, edx
pop ebx
mov ecx, edi
lea edx, [edx - 0x61c88647]
shl ecx, 4
mov eax, edi
add ecx, dword [ebp - 0x24]
shr eax, 5
add eax, dword [ebp - 0x20]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
add esi, ecx
mov ecx, esi
mov eax, esi
shr ecx, 5
add ecx, dword [ebp - 0x18]
shl eax, 4
add eax, dword [ebp - 0x1c]
xor ecx, eax
lea eax, [edx + esi]
xor ecx, eax
add edi, ecx
sub ebx, 1
jne 0x536747
mov ebx, dword [ebp - 0x28]
push esi
call fcn.006aefd4
push edi
mov dword [ebx], eax
call fcn.006aefd4
mov dword [ebx + 4], eax
xor esi, esi
mov eax, dword [ebp - 0x2c]
mov edi, ebx
pop ecx
pop ecx
add dword [eax], 8
add ebx, 8
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], ebx
cmp eax, 7
jle 0x5366ef
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00682c16
mov esp, ebp
pop ebp
ret
call fcn.00683380
int3