Function at 0x1010c0f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1f4
call fcn.10021e20
mov eax, dword [0x10195170]
xor eax, esp
mov dword [esp + 0x1f0], eax
mov eax, dword [esp + 0x200]
push ebx
mov ebx, dword [esp + 0x218]
push ebp
push esi
mov esi, dword [esp + 0x204]
push edi
mov edi, dword [esp + 0x21c]
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 1
call fcn.100c6da0
mov ebp, eax
add esp, 4
mov dword [esp + 0x18], ebp
test ebp, ebp
js 0x1010c1a2
lea eax, [esp + 0xf0]
push eax
call fcn.100d6640
add esp, 4
test esi, esi
jne 0x1010c15f
xor ecx, ecx
jmp 0x1010c179
mov ecx, dword [esp + 0x20c]
cmp ecx, 0xffffffff
jne 0x1010c179
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1010c170
sub ecx, edx
push 0
push edi
push ecx
lea eax, [esp + 0xfc]
push esi
push eax
call fcn.100d6750
add esp, 0x14
test eax, eax
jne 0x1010c1a9
lea eax, [esp + 0xf0]
push eax
call fcn.100d65a0
add esp, 4
xor eax, eax
jmp 0x1010c3f7
mov eax, dword [esp + 0x220]
test eax, eax
je 0x1010c3e2
mov esi, dword [esp + 0x218]
mov ecx, 1
cmp eax, ebp
mov byte [esp + 0x13], cl
mov edi, eax
mov eax, ecx
cmovg edi, ebp
shr eax, 0x18
mov byte [esp + 0x10], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x11], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x12], al
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.100d65d0
add esp, 8
test eax, eax
je 0x1010c192
push dword [esp + 0x214]
lea eax, [esp + 0x24]
push dword [esp + 0x20]
push eax
call fcn.100d6960
add esp, 0xc
test eax, eax
je 0x1010c3c4
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.100d6960
add esp, 0xc
test eax, eax
je 0x1010c3c4
push 0
lea eax, [esp + 0x1c4]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.100d66a0
add esp, 0xc
test eax, eax
je 0x1010c3c4
lea eax, [esp + 0x20]
push eax
call fcn.100d65a0
push edi
lea eax, [esp + 0x1c8]
push eax
push ebx
call fcn.10020ec0
mov ebp, 1
add esp, 0x10
cmp esi, ebp
jle 0x1010c39c
jmp 0x1010c290
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.100d65d0
add esp, 8
test eax, eax
je 0x1010c192
push dword [esp + 0x18]
lea eax, [esp + 0x1c4]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.100d6960
add esp, 0xc
test eax, eax
je 0x1010c3c4
push 0
lea eax, [esp + 0x1c4]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.100d66a0
add esp, 0xc
test eax, eax
je 0x1010c3c4
lea eax, [esp + 0x20]
push eax
call fcn.100d65a0
add esp, 4
xor ecx, ecx
test edi, edi
jle 0x1010c393
cmp edi, 0x10
jb 0x1010c365
lea edx, [ebx - 1]
lea eax, [esp + edi + 0x1bf]
add edx, edi
cmp ebx, eax
ja 0x1010c324
lea eax, [esp + 0x1c0]
cmp edx, eax
jae 0x1010c365
mov eax, edi
and eax, reloc.WS2_32.dll_ntohs
jns 0x1010c332
dec eax
or eax, 0xfffffff0
inc eax
mov edx, edi
lea esi, [esp + 0x1c0]
sub edx, eax
mov eax, ebx
sub esi, ebx
movdqu xmm1, xmmword [esi + eax]
add ecx, 0x10
lea eax, [eax + 0x10]
movdqu xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movdqu xmmword [eax - 0x10], xmm1
cmp ecx, edx
jl 0x1010c341
mov esi, dword [esp + 0x218]
cmp ecx, edi
jge 0x1010c393
lea esi, [esp + 0x1c0]
mov edx, edi
sub esi, ebx
lea eax, [ecx + ebx]
sub edx, ecx
lea esp, [esp]
mov cl, byte [esi + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
dec edx
jne 0x1010c380
mov esi, dword [esp + 0x218]
inc ebp
cmp ebp, esi
jl 0x1010c290
mov eax, dword [esp + 0x220]
add ebx, edi
mov ecx, dword [esp + 0x14]
sub eax, edi
inc ecx
mov dword [esp + 0x220], eax
mov dword [esp + 0x14], ecx
test eax, eax
je 0x1010c3e2
mov ebp, dword [esp + 0x18]
jmp 0x1010c1c4
lea eax, [esp + 0xf0]
push eax
call fcn.100d65a0
lea eax, [esp + 0x24]
push eax
call fcn.100d65a0
add esp, 8
xor eax, eax
jmp 0x1010c3f7
lea eax, [esp + 0xf0]
push eax
call fcn.100d65a0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x200]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10020a26
add esp, 0x1f4
ret