Function at 0x1013522a
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10179d0b
call fcn.10159f04
sub esp, 0x248
mov eax, dword [0x101b7f10]
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
mov esi, ecx
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edi, eax
mov eax, dword [esi + 0x64]
add eax, 0x1d4c0
cmp edi, eax
mov dword [ebp - 0x254], edi
jbe 0x1013529f
mov ecx, dword [0x10a0c230]
call fcn.10142d4a
mov dword [esi + 0x64], edi
mov eax, dword [0x10a0c31c]
shl eax, 8
add eax, 0x10a0c5f0
inc dword [0x10a0c31c]
push str.Send_RequestCharPing
push eax
call fcn.10151f80
cmp dword [0x10a0c31c], 0xa
pop ecx
pop ecx
jne 0x1013529f
and dword [0x10a0c31c], 0
mov eax, dword [esi + 0x68]
add eax, 0x2710
cmp edi, eax
jbe 0x1013540e
mov ecx, 0x10a0d0c0
mov dword [esi + 0x68], edi
call fcn.1013e169
test eax, eax
je 0x1013540e
push 7
xor eax, eax
pop ecx
mov byte [ebp - 0x30], 0
lea edi, [ebp - 0x2f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 7
mov byte [ebp - 0x50], 0
xor eax, eax
pop ecx
lea edi, [ebp - 0x4f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x250]
stosb byte es:[edi], al
call fcn.10152120
and dword [ebp - 4], 0
lea ecx, [ebp - 0x250]
call fcn.10151f70
mov ecx, dword [0x10a0c378]
test ecx, ecx
je 0x101353b7
lea eax, [ebp - 0x150]
push eax
call fcn.1013a5eb
push eax
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 1
call fcn.10152010
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0
call fcn.10152110
push 0x20
lea ecx, [ebp - 0x250]
call fcn.10151f50
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1015a1f0
mov ecx, dword [0x10a0c378]
add esp, 0xc
lea eax, [ebp - 0x150]
push eax
call fcn.1013680a
push eax
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 2
call fcn.10152010
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0
call fcn.10152110
push 0x20
lea ecx, [ebp - 0x250]
call fcn.10151f50
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.1015a1f0
add esp, 0xc
cmp dword [0x10a069f4], 0
je 0x101353b7
xor eax, eax
mov cl, byte [ebp + eax - 0x50]
xor byte [ebp + eax - 0x30], cl
inc eax
cmp eax, 0x20
jl 0x101353a9
mov edi, 0xac
push edi
call fcn.101589ff
push edi
mov ebx, eax
push 0
push ebx
call fcn.101590d0
push 0x20
lea eax, [ebp - 0x30]
push eax
lea eax, [ebx + 0x8c]
push eax
call fcn.1015a320
mov ecx, dword [0x10a0c230]
add esp, 0x1c
push ebx
call fcn.10143da9
test ebx, ebx
je 0x101353f9
push ebx
call fcn.1015a314
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.10152110
mov edi, dword [ebp - 0x254]
cmp dword [0x10a069f4], 0
jne 0x10135551
mov eax, dword [esi + 0x84]
add eax, dword [esi + 0x88]
cmp edi, eax
jbe 0x10135481
mov ecx, dword [0x10a0c444]
mov ebx, 0x138
push ebx
call fcn.100951e2
test al, al
jne 0x1013545a
mov ecx, dword [0x10a0c444]
push 9
push ebx
call fcn.1009539b
mov ecx, dword [0x10a0c444]
push ebx
call fcn.1009c38b
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x88]
lea eax, [eax + ecx + 0xbb8]
cmp edi, eax
jbe 0x10135481
mov byte [esi + 0x58], 1
mov ecx, dword [0x10a0c444]
push ebx
call fcn.1009c3ae
mov eax, dword [esi + 0x84]
add eax, dword [esi + 0x88]
cmp edi, eax
jbe 0x10135551
cmp byte [esi + 0x58], 1
jne 0x10135551
lea ecx, [ebp - 0x150]
call fcn.10152120
mov eax, dword [esi + 0x80]
push 3
pop ecx
push eax
cmp eax, ecx
mov dword [ebp - 4], ecx
lea eax, [ebp - 0x150]
jge 0x101354c8
push 0x1018eee4
jmp 0x101354cd
push 0x1018eeb0
push eax
call fcn.10151f80
add esp, 0xc
sub esp, 0x100
lea eax, [ebp - 0x150]
mov ecx, esp
mov dword [ebp - 0x254], esp
push eax
call fcn.10152140
mov ecx, dword [0x10a0c308]
push 0x64
call fcn.1013b341
sub esp, 0x100
mov ecx, esp
mov dword [ebp - 0x254], esp
push 0x1018ee80
call fcn.10152140
mov ecx, dword [0x10a0c308]
push 0x64
call fcn.1013b341
inc dword [esi + 0x80]
call dword [sym.imp.WINMM.dll_timeGetTime]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x150]
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], 0x36ee80
mov byte [esi + 0x58], 0
call fcn.10152110
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.1015901e
pop edi
pop esi
pop ebx
leave
ret