Function at 0x1011e350
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x3c
call fcn.10084f50
push edi
mov edi, dword [esp + 0x50]
push edi
mov dword [esp + 0x3c], 0
call fcn.100e1390
push edi
call fcn.100e12c0
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x1011e803
push esi
mov esi, dword [esp + 0x54]
push esi
call fcn.100e12c0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x1011e802
push ebp
push esi
call fcn.100e12c0
mov ebp, eax
add esp, 4
mov dword [esp + 0x3c], ebp
test ebp, ebp
je 0x1011e801
push esi
call fcn.100e12c0
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
test esi, esi
je 0x1011e801
push ebx
mov ebx, dword [esp + 0x58]
push ebx
push dword [esp + 0x58]
push ebp
call fcn.1011df10
add esp, 0xc
test eax, eax
je 0x1011e800
push ebp
call fcn.100b96d0
add esp, 4
test eax, eax
jne 0x1011e800
push ebx
push esi
call fcn.100b9400
add esp, 8
test eax, eax
je 0x1011e800
push ebp
call fcn.100b9790
push esi
mov dword [esp + 0x24], eax
call fcn.100b9790
mov ebx, dword [ebx + 4]
push ebx
push ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebx
call fcn.100b9e40
add esp, 0x10
test eax, eax
je 0x1011e800
mov eax, dword [ebp + 4]
mov esi, dword [ebp]
mov dword [esp + 0x3c], esi
cmp eax, ebx
jge 0x1011e455
mov ecx, ebx
lea edi, [esi + eax*4]
sub ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x24]
push ebx
push edi
mov dword [ebp + 4], ebx
call fcn.100b9e40
add esp, 8
test eax, eax
je 0x1011e800
mov ebp, dword [edi]
mov dword [esp + 0x18], ebp
mov dword [ebp], 1
cmp ebx, 1
jle 0x1011e48a
lea ecx, [ebx - 1]
xor eax, eax
lea edi, [ebp + 4]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x24]
mov dword [edi + 4], ebx
push ebx
mov ebx, dword [esp + 0x2c]
push ebx
call fcn.100b9e40
add esp, 8
test eax, eax
je 0x1011e800
mov edx, dword [esp + 0x20]
mov ebx, dword [ebx]
mov dword [esp + 0x10], ebx
test edx, edx
jle 0x1011e4b9
mov ecx, edx
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x38]
mov edi, dword [eax]
mov dword [esp + 0x14], edi
nop
test ecx, ecx
je 0x1011e5a7
nop dword [eax + eax]
mov ebx, dword [esi]
test bl, 1
jne 0x1011e59f
mov ecx, dword [esp + 0x58]
dec edx
mov eax, dword [ebp]
mov ebp, eax
and ebp, 1
neg ebp
mov ecx, dword [ecx]
mov ecx, dword [ecx]
and ecx, ebp
xor eax, ecx
xor ecx, ecx
mov dword [esp + 0x34], ecx
test edx, edx
jle 0x1011e57b
mov ecx, dword [esp + 0x18]
mov edx, esi
sub edx, ecx
mov dword [esp + 0x30], 0xfffffffc
sub dword [esp + 0x30], ecx
mov dword [esp + 0x48], edx
lea edi, [ecx + 4]
mov edx, dword [edx + edi]
mov ecx, edx
shl ecx, 0x1f
shr ebx, 1
or ecx, ebx
shr eax, 1
mov ebx, dword [esp + 0x34]
mov dword [esi + ebx*4], ecx
mov ebx, edx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x3c]
mov ecx, dword [ecx]
add ecx, edi
mov edx, dword [ecx + edx + 4]
and edx, ebp
xor edx, dword [edi]
mov ecx, edx
shl ecx, 0x1f
or ecx, eax
mov eax, edx
mov edx, dword [esp + 0x20]
mov dword [edi - 4], ecx
dec edx
mov ecx, dword [esp + 0x34]
add edi, 4
inc ecx
cmp ecx, edx
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x48]
jl 0x1011e527
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
shr ebx, 1
mov dword [esi + ecx*4], ebx
shr eax, 1
mov dword [ebp + ecx*4], eax
mov ecx, dword [esp + 0x1c]
sub ecx, 1
mov dword [esp + 0x1c], ecx
jne 0x1011e4e0
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
cmp ecx, 0x20
jg 0x1011e5bf
mov eax, dword [esi]
test eax, eax
je 0x1011e800
cmp eax, 1
je 0x1011e7d9
cmp ecx, dword [esp + 0x2c]
jge 0x1011e60e
mov ebp, dword [esp + 0x40]
mov eax, ecx
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x38], ebp
mov ebp, dword [ebp]
mov dword [esp + 0x24], esi
mov esi, edi
mov dword [esp + 0x14], ebp
mov ebp, ebx
mov dword [esp + 0x28], eax
mov eax, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], eax
jmp 0x1011e612
mov eax, dword [esp + 0x10]
xor edi, edi
test edx, edx
jle 0x1011e782
cmp edx, 4
jb 0x1011e739
lea eax, [eax + edx*4]
lea ebx, [edx*4 - 4]
add eax, 0xfffffffc
add ebx, ebp
cmp ebp, eax
ja 0x1011e644
mov eax, dword [esp + 0x10]
cmp ebx, eax
jae 0x1011e73d
lea eax, [edx - 1]
lea ebx, [edx*4 - 4]
lea eax, [esi + eax*4]
add ebx, ebp
cmp ebp, eax
ja 0x1011e65f
cmp ebx, esi
jae 0x1011e739
mov eax, dword [esp + 0x14]
lea ebx, [edx*4 - 4]
add ebx, ebp
lea eax, [eax + edx*4]
add eax, 0xfffffffc
cmp ebp, eax
ja 0x1011e680
cmp ebx, dword [esp + 0x14]
jae 0x1011e739
mov eax, dword [esp + 0x10]
lea ebx, [edx - 1]
lea ebx, [esi + ebx*4]
lea eax, [eax + edx*4]
add eax, 0xfffffffc
cmp esi, eax
ja 0x1011e6a0
mov eax, dword [esp + 0x10]
cmp ebx, eax
jae 0x1011e73d
mov eax, dword [esp + 0x14]
lea ebx, [edx - 1]
lea ebx, [esi + ebx*4]
lea eax, [eax + edx*4]
add eax, 0xfffffffc
cmp esi, eax
ja 0x1011e6ba
cmp ebx, dword [esp + 0x14]
jae 0x1011e739
mov eax, edx
and eax, reloc.WS2_32.dll_closesocket
jns 0x1011e6c8
dec eax
or eax, 0xfffffffc
inc eax
mov ebp, dword [esp + 0x14]
mov ebx, edx
mov edx, dword [esp + 0x18]
sub ebp, esi
mov dword [esp + 0x48], ebp
sub ebx, eax
mov ebp, dword [esp + 0x10]
mov eax, esi
sub ebp, esi
sub edx, esi
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
nop dword [eax + eax]
movups xmm0, xmmword [eax]
add edi, 4
lea eax, [eax + 0x10]
movups xmm1, xmmword [eax + ebp - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
movups xmm1, xmmword [eax + edx - 0x10]
movups xmm0, xmmword [eax + esi - 0x10]
pxor xmm1, xmm0
movups xmmword [eax + esi - 0x10], xmm1
cmp edi, ebx
jl 0x1011e700
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
cmp edi, edx
jge 0x1011e782
mov ebx, dword [esp + 0x14]
lea ecx, [esi + edi*4]
sub eax, esi
sub ebp, esi
sub ebx, esi
mov dword [esp + 0x48], eax
sub edx, edi
mov dword [esp + 0x34], ebp
mov edi, eax
nop word [eax + eax]
mov eax, dword [ebx + ecx]
lea ecx, [ecx + 4]
xor dword [ecx - 4], eax
mov eax, dword [ecx + edi - 4]
xor dword [ecx + ebp - 4], eax
sub edx, 1
jne 0x1011e760
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
cmp ecx, dword [esp + 0x2c]
jne 0x1011e4d0
lea eax, [ecx - 1]
cdq
and edx, 0x1f
lea edi, [edx + eax]
sar edi, 5
mov eax, dword [esi + edi*4]
test eax, eax
jne 0x1011e7b5
test edi, edi
je 0x1011e7b5
mov eax, dword [esi + edi*4 - 4]
dec edi
test eax, eax
je 0x1011e7a8
push eax
call fcn.100b9800
mov edx, dword [esp + 0x24]
add esp, 4
mov ebx, dword [esp + 0x10]
shl edi, 5
lea ecx, [edi + eax]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
jmp 0x1011e4d0
mov esi, dword [esp + 0x24]
push esi
call fcn.100b9c40
push esi
push dword [esp + 0x58]
call fcn.100b9400
xor ecx, ecx
add esp, 0xc
test eax, eax
mov edx, 1
cmovne ecx, edx
mov dword [esp + 0x44], ecx
pop ebx
pop ebp
pop esi
push dword [esp + 0x50]
call fcn.100e1240
mov eax, dword [esp + 0x3c]
add esp, 4
pop edi
add esp, 0x3c
ret