Function at 0x1011cec0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x60
call fcn.10156030
mov eax, dword [0x102096e4]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x64]
push ebp
mov ebp, dword [esp + 0x74]
push esi
mov esi, dword [esp + 0x70]
push edi
mov edi, dword [esp + 0x78]
push ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x24], 0
call fcn.1008f880
push ebp
call fcn.1008f680
mov ebp, eax
add esp, 8
mov dword [esp + 0x38], ebp
test ebp, ebp
je 0x1011d3ac
push ebx
mov ebx, dword [esp + 0x48]
push ebx
call fcn.1008f680
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
je 0x1011d3ab
push ebx
call fcn.1008f680
mov ebx, eax
add esp, 4
mov dword [esp + 0x34], ebx
test ebx, ebx
je 0x1011d3ab
push dword [esp + 0x48]
call fcn.1008f680
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
je 0x1011d3ab
push 6
lea eax, [esp + 0x58]
push eax
push edi
call fcn.1011deb0
add esp, 0xc
test eax, eax
je 0x1011d390
cmp eax, 6
jg 0x1011d390
lea eax, [esp + 0x54]
push eax
push esi
push ebx
call fcn.1011c8c0
add esp, 0xc
test eax, eax
je 0x1011d3ab
cmp dword [ebx + 4], 0
je 0x1011d3ab
mov esi, dword [esp + 0x38]
push edi
push esi
call fcn.10069ae0
add esp, 8
test eax, eax
je 0x1011d3ab
push ebx
call fcn.10069eb0
mov ebx, eax
push esi
mov dword [esp + 0x20], ebx
call fcn.10069eb0
mov edx, dword [esp + 0x3c]
add esp, 8
mov edi, dword [edi + 4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], edi
cmp edi, dword [edx + 8]
jle 0x1011cff1
push edi
push edx
call fcn.1006a430
mov edx, dword [esp + 0x3c]
add esp, 8
mov eax, dword [edx + 4]
mov esi, dword [edx]
mov dword [esp + 0x44], esi
cmp eax, edi
jge 0x1011d00f
mov ecx, dword [esp + 0x14]
lea edi, [esi + eax*4]
sub ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x14]
mov dword [edx + 4], edi
cmp edi, dword [ebp + 8]
jle 0x1011d021
push edi
push ebp
call fcn.1006a430
add esp, 8
mov ebp, dword [ebp]
mov dword [esp + 0x20], ebp
mov dword [ebp], 1
cmp edi, 1
jle 0x1011d042
lea ecx, [edi - 1]
xor eax, eax
lea edi, [ebp + 4]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
mov dword [eax + 4], edi
mov eax, dword [esp + 0x28]
cmp edi, dword [eax + 8]
jle 0x1011d060
push edi
push eax
call fcn.1006a430
mov eax, dword [esp + 0x30]
add esp, 8
mov edx, dword [eax]
mov dword [esp + 0x1c], edx
test edi, edi
jle 0x1011d07a
mov ecx, edi
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov dword [eax + 4], edi
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
test ebx, ebx
je 0x1011d160
nop
mov ebx, dword [esi]
test bl, 1
jne 0x1011d158
mov ecx, dword [esp + 0x4c]
lea edx, [edi - 1]
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 + 0x40], ecx
test edx, edx
jle 0x1011d136
mov ecx, dword [esp + 0x20]
mov edx, esi
sub edx, ecx
mov dword [esp + 0x30], edx
lea edi, [ecx + 4]
mov ecx, 0xfffffffc
sub ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
nop word [eax + eax]
mov edx, dword [edx + edi]
lea edi, [edi + 4]
mov ecx, edx
shr ebx, 1
shl ecx, 0x1f
or ecx, ebx
shr eax, 1
mov ebx, dword [esp + 0x40]
mov dword [esi + ebx*4], ecx
mov ebx, edx
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
mov ecx, dword [ecx]
add ecx, dword [esp + 0x2c]
mov edx, dword [ecx + edi]
and edx, ebp
xor edx, dword [edi - 4]
mov ecx, edx
shl ecx, 0x1f
or ecx, eax
mov eax, edx
mov edx, dword [esp + 0x14]
mov dword [edi - 8], ecx
dec edx
mov ecx, dword [esp + 0x40]
inc ecx
cmp ecx, edx
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x30]
jl 0x1011d0e0
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
shr ebx, 1
mov dword [esi + ecx*4], ebx
mov ebx, dword [esp + 0x18]
shr eax, 1
sub ebx, 1
mov dword [ebp + ecx*4], eax
mov dword [esp + 0x18], ebx
jne 0x1011d090
jmp 0x1011d15c
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
cmp ebx, 0x20
jg 0x1011d16e
cmp dword [esi], 1
je 0x1011d34a
mov edx, dword [esp + 0x24]
cmp ebx, edx
jge 0x1011d1be
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
mov ebx, edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x34], edx
mov edx, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], esi
mov esi, ecx
mov dword [esp + 0x18], ebx
mov ecx, dword [edx]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax]
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ecx
jmp 0x1011d1c2
mov ecx, dword [esp + 0x1c]
xor edx, edx
test edi, edi
jle 0x1011d2f2
cmp edi, 4
jb 0x1011d2a5
lea ebx, [edi - 1]
lea eax, [edi*4 - 4]
lea ebx, [ecx + ebx*4]
add eax, ebp
cmp ebp, ebx
ja 0x1011d1f0
cmp eax, ecx
jae 0x1011d2a5
lea ecx, [edi - 1]
lea ecx, [esi + ecx*4]
cmp ebp, ecx
ja 0x1011d202
cmp eax, esi
jae 0x1011d2a5
mov esi, dword [esp + 0x10]
sub esi, 4
lea edi, [esi + edi*4]
mov esi, dword [esp + 0x44]
cmp ebp, edi
ja 0x1011d21e
cmp eax, dword [esp + 0x10]
jae 0x1011d2a1
cmp esi, ebx
mov ebx, dword [esp + 0x1c]
ja 0x1011d22a
cmp ecx, ebx
jae 0x1011d2a1
cmp esi, edi
ja 0x1011d23a
mov eax, dword [esp + 0x10]
cmp ecx, eax
jae 0x1011d341
mov ecx, dword [esp + 0x14]
mov eax, ecx
and eax, reloc.WS2_32.dll_closesocket
jns 0x1011d24c
dec eax
or eax, 0xfffffffc
inc eax
mov edi, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0x30], ecx
sub edi, esi
mov ecx, ebp
sub ebx, esi
sub ecx, esi
mov eax, esi
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
nop dword [eax]
movups xmm0, xmmword [eax]
add edx, 4
lea eax, [eax + 0x10]
movups xmm1, xmmword [edi + eax - 0x10]
pxor xmm1, xmm0
movups xmm0, xmmword [eax + ebp - 0x10]
movups xmmword [eax - 0x10], xmm1
movups xmm1, xmmword [ebx + eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax + ebp - 0x10], xmm1
cmp edx, ecx
jl 0x1011d270
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp edx, edi
jge 0x1011d2ee
mov ebx, eax
lea ecx, [esi + edx*4]
mov eax, dword [esp + 0x1c]
sub ebp, esi
sub eax, esi
mov dword [esp + 0x2c], ebp
sub ebx, esi
mov dword [esp + 0x30], eax
sub edi, edx
mov edx, eax
nop dword [eax + eax]
mov eax, dword [ecx + ebx]
lea ecx, [ecx + 4]
xor dword [ecx - 4], eax
mov eax, dword [ecx + edx - 4]
xor dword [ecx + ebp - 4], eax
sub edi, 1
jne 0x1011d2d0
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
cmp ebx, dword [esp + 0x24]
jne 0x1011d087
lea eax, [ebx - 1]
cdq
and edx, 0x1f
lea edi, [edx + eax]
sar edi, 5
mov eax, dword [esi + edi*4]
test eax, eax
jne 0x1011d321
test edi, edi
je 0x1011d321
mov eax, dword [esi + edi*4 - 4]
dec edi
test eax, eax
je 0x1011d314
push eax
call fcn.10069f20
mov ecx, dword [esp + 0x14]
add esp, 4
shl edi, 5
lea ebx, [edi + eax]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], ebx
jmp 0x1011d087
mov edi, dword [esp + 0x14]
jmp 0x1011d2a9
mov ebx, dword [esp + 0x3c]
mov ecx, dword [ebx + 4]
test ecx, ecx
jle 0x1011d371
mov eax, dword [ebx]
lea edx, [ecx - 1]
lea edx, [eax + edx*4]
nop dword [eax]
mov eax, dword [edx]
lea edx, [edx - 4]
test eax, eax
jne 0x1011d36e
dec ecx
test ecx, ecx
jg 0x1011d360
mov dword [ebx + 4], ecx
push ebx
push dword [esp + 0x54]
call fcn.10069ae0
xor ecx, ecx
add esp, 8
test eax, eax
mov edx, 1
cmovne ecx, edx
mov dword [esp + 0x24], ecx
jmp 0x1011d3ab
push 0x1de
push 0x101e7840
push 0x6a
push 0x83
push 3
call fcn.100787f0
add esp, 0x14
pop ebx
push dword [esp + 0x44]
call fcn.1008f5a0
mov ecx, dword [esp + 0x6c]
add esp, 4
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10155c5f
add esp, 0x60
ret