Function at 0x10135209
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10186b8b
call fcn.10166ba4
sub esp, 0x248
mov eax, dword [0x101cb280]
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 0x1013527e
mov ecx, dword [0x10a1f590]
call fcn.10142dcb
mov dword [esi + 0x64], edi
mov eax, dword [0x10a1f67c]
shl eax, 8
add eax, 0x10a1f950
inc dword [0x10a1f67c]
push str.Send_RequestCharPing
push eax
call fcn.10152030
cmp dword [0x10a1f67c], 0xa
pop ecx
pop ecx
jne 0x1013527e
and dword [0x10a1f67c], 0
mov eax, dword [esi + 0x68]
add eax, 0x2710
cmp edi, eax
jbe 0x101353ed
mov ecx, 0x10a20420
mov dword [esi + 0x68], edi
call fcn.1013e148
test eax, eax
je 0x101353ed
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.101521d0
and dword [ebp - 4], 0
lea ecx, [ebp - 0x250]
call fcn.10152020
mov ecx, dword [0x10a1f6d8]
test ecx, ecx
je 0x10135396
lea eax, [ebp - 0x150]
push eax
call fcn.1013a5ca
push eax
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 1
call fcn.101520c0
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0
call fcn.101521c0
push 0x20
lea ecx, [ebp - 0x250]
call fcn.10152000
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10166e90
mov ecx, dword [0x10a1f6d8]
add esp, 0xc
lea eax, [ebp - 0x150]
push eax
call fcn.101367e9
push eax
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 2
call fcn.101520c0
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0
call fcn.101521c0
push 0x20
lea ecx, [ebp - 0x250]
call fcn.10152000
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.10166e90
add esp, 0xc
cmp dword [0x10a19d54], 0
je 0x10135396
xor eax, eax
mov cl, byte [ebp + eax - 0x50]
xor byte [ebp + eax - 0x30], cl
inc eax
cmp eax, 0x20
jl 0x10135388
mov edi, 0xac
push edi
call fcn.101656a0
push edi
mov ebx, eax
push 0
push ebx
call fcn.10165d70
push 0x20
lea eax, [ebp - 0x30]
push eax
lea eax, [ebx + 0x8c]
push eax
call fcn.10166fc0
mov ecx, dword [0x10a1f590]
add esp, 0x1c
push ebx
call fcn.10143e25
test ebx, ebx
je 0x101353d8
push ebx
call fcn.10166fb4
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.101521c0
mov edi, dword [ebp - 0x254]
cmp dword [0x10a19d54], 0
jne 0x10135530
mov eax, dword [esi + 0x84]
add eax, dword [esi + 0x88]
cmp edi, eax
jbe 0x10135460
mov ecx, dword [0x10a1f7a4]
mov ebx, 0x138
push ebx
call fcn.100951ef
test al, al
jne 0x10135439
mov ecx, dword [0x10a1f7a4]
push 9
push ebx
call fcn.100953a8
mov ecx, dword [0x10a1f7a4]
push ebx
call fcn.1009c3b0
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x88]
lea eax, [eax + ecx + 0xbb8]
cmp edi, eax
jbe 0x10135460
mov byte [esi + 0x58], 1
mov ecx, dword [0x10a1f7a4]
push ebx
call fcn.1009c3d3
mov eax, dword [esi + 0x84]
add eax, dword [esi + 0x88]
cmp edi, eax
jbe 0x10135530
cmp byte [esi + 0x58], 1
jne 0x10135530
lea ecx, [ebp - 0x150]
call fcn.101521d0
mov eax, dword [esi + 0x80]
push 3
pop ecx
push eax
cmp eax, ecx
mov dword [ebp - 4], ecx
lea eax, [ebp - 0x150]
jge 0x101354a7
push 0x1019c024
jmp 0x101354ac
push 0x1019bff0
push eax
call fcn.10152030
add esp, 0xc
sub esp, 0x100
lea eax, [ebp - 0x150]
mov ecx, esp
mov dword [ebp - 0x254], esp
push eax
call fcn.101521f0
mov ecx, dword [0x10a1f668]
push 0x64
call fcn.1013b320
sub esp, 0x100
mov ecx, esp
mov dword [ebp - 0x254], esp
push 0x1019bfc0
call fcn.101521f0
mov ecx, dword [0x10a1f668]
push 0x64
call fcn.1013b320
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.101521c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.10165cbe
pop edi
pop esi
pop ebx
leave
ret