Function at 0x10015e00
Capabilities:
Encode data using xor

Disassembly:
push 0x94
mov eax, 0x10073071
call fcn.1003bd50
mov ebx, ecx
mov dword [ebp - 0x70], ebx
cmp dword [0x10098bc0], 0
je 0x100166af
lea eax, [ebp - 0x67]
mov word [ebp - 0x68], 0x74
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x67], 0
call fcn.1000416d
and dword [ebp - 4], 0
xor edx, edx
movaps xmm0, xmmword [0x10089bf0]
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x2238
mov byte [ebp - 0x16], 0
mov cl, byte [ebp - 0x28]
xor byte [ebp + edx - 0x27], cl
inc edx
cmp edx, 0x11
jb 0x10015e52
sub esp, 0x18
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x27]
mov ecx, esp
push eax
call fcn.1000416d
mov ecx, dword [ebx]
call fcn.1000d131
mov ebx, eax
add esp, 0x18
mov dword [ebp - 0xa0], ebx
test ebx, ebx
je 0x100166a3
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push ebx
call esi
test eax, eax
jne 0x100166a3
mov ecx, ebx
call fcn.1000db6b
lea ecx, [ebp - 0x44]
cmp ecx, eax
je 0x10015eb6
push 0xffffffffffffffff
push 0
push eax
call fcn.10003df3
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.1005b5fd
mov dword [ebp - 0x9c], eax
pop ecx
test eax, eax
jne 0x10015ee8
mov edx, 0x1006
lea ecx, [ebp - 0x2c]
call fcn.10008ebb
mov byte [ebp - 4], 1
jmp 0x10016317
mov al, byte [ebp + 8]
sub al, 5
cmp al, 3
ja 0x10016004
cmp byte [0x10098bdb], 0
mov ebx, dword [0x10098bc0]
je 0x10015f31
mov ecx, 0x10b8134
call fcn.1000dd00
mov edi, eax
test edi, edi
je 0x10015f31
push 4
push edi
call esi
test eax, eax
jne 0x10015f31
push 4
add edi, 0x6dc
push edi
call esi
test eax, eax
jne 0x10015f31
mov al, byte [edi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x10015fa4
sub eax, 1
jne 0x10016004
mov ebx, dword [0x10098bc0]
cmp byte [0x10098bdb], al
je 0x10015f80
mov ecx, 0x10b8134
call fcn.1000dd00
mov edi, eax
test edi, edi
je 0x10015f80
push 4
push edi
call esi
test eax, eax
jne 0x10015f80
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x10015f80
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
add eax, 0xffffff37
cmp eax, 3
ja 0x10016004
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.10008ebb
mov byte [ebp - 4], 3
jmp 0x10016317
cmp byte [0x10098bdb], 0
mov ebx, dword [0x10098bc0]
je 0x10015fe2
mov ecx, 0x10b8134
call fcn.1000dd00
mov edi, eax
test edi, edi
je 0x10015fe2
push 4
push edi
call esi
test eax, eax
jne 0x10015fe2
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x10015fe2
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
add eax, 0xffffff9b
cmp eax, 3
ja 0x10016004
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.10008ebb
mov byte [ebp - 4], 2
jmp 0x10016317
mov cl, byte [ebp + 8]
push 0x69
pop ebx
cmp cl, 8
jne 0x1001613c
cmp byte [0x10098bdb], 0
mov ebx, dword [0x10098bc0]
je 0x1001604f
mov ecx, 0x10b8134
call fcn.1000dd00
mov edi, eax
test edi, edi
je 0x1001604f
push 4
push edi
call esi
test eax, eax
jne 0x1001604f
push 4
add edi, 0x6dc
push edi
call esi
test eax, eax
jne 0x1001604f
mov al, byte [edi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x100160cf
sub eax, 1
jne 0x1001638d
mov ebx, dword [0x10098bc0]
cmp byte [0x10098bdb], al
je 0x1001609e
mov ecx, 0x10b8134
call fcn.1000dd00
mov edi, eax
test edi, edi
je 0x1001609e
push 4
push edi
call esi
test eax, eax
jne 0x1001609e
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x1001609e
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
sub eax, 0xcf
je 0x100160b9
dec eax
sub eax, 1
je 0x100160b9
dec eax
sub eax, 1
jne 0x1001638d
mov edx, 0x1007
lea ecx, [ebp - 0x2c]
call fcn.10008ebb
mov byte [ebp - 4], 5
jmp 0x10016317
cmp byte [0x10098bdb], 0
mov ebx, dword [0x10098bc0]
je 0x1001610d
mov ecx, 0x10b8134
call fcn.1000dd00
mov edi, eax
test edi, edi
je 0x1001610d
push 4
push edi
call esi
test eax, eax
jne 0x1001610d
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x1001610d
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
sub eax, 0x6b
je 0x10016126
dec eax
sub eax, 1
je 0x10016126
dec eax
sub eax, 1
jne 0x1001638d
mov edx, 0x1007
lea ecx, [ebp - 0x2c]
call fcn.10008ebb
mov byte [ebp - 4], 4
jmp 0x10016317
cmp cl, 7
jne 0x1001625c
cmp byte [0x10098bdb], 0
mov ebx, dword [0x10098bc0]
je 0x10016181
mov ecx, 0x10b8134
call fcn.1000dd00
mov edi, eax
test edi, edi
je 0x10016181
push 4
push edi
call esi
test eax, eax
jne 0x10016181
push 4
add edi, 0x6dc
push edi
call esi
test eax, eax
jne 0x10016181
mov al, byte [edi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x100161f8
sub eax, 1
jne 0x1001638d
mov ebx, dword [0x10098bc0]
cmp byte [0x10098bdb], al
je 0x100161d0
mov ecx, 0x10b8134
call fcn.1000dd00
mov edi, eax
test edi, edi
je 0x100161d0
push 4
push edi
call esi
test eax, eax
jne 0x100161d0
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x100161d0
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
mov ecx, 0xcd
cmp ax, cx
jne 0x1001638d
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.10008ebb
mov byte [ebp - 4], 7
jmp 0x10016317
cmp byte [0x10098bdb], 0
mov ebx, dword [0x10098bc0]
je 0x10016236
mov ecx, 0x10b8134
call fcn.1000dd00
mov edi, eax
test edi, edi
je 0x10016236
push 4
push edi
call esi
test eax, eax
jne 0x10016236
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x10016236
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
push 0x69
pop ebx
cmp ax, bx
jne 0x10016390
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.10008ebb
mov byte [ebp - 4], 6
jmp 0x10016317
cmp cl, 6
jne 0x10016390
cmp byte [0x10098bdb], 0
mov ebx, dword [0x10098bc0]
je 0x100162a1
mov ecx, 0x10b8134
call fcn.1000dd00
mov edi, eax
test edi, edi
je 0x100162a1
push 4
push edi
call esi
test eax, eax
jne 0x100162a1
push 4
add edi, 0x6dc
push edi
call esi
test eax, eax
jne 0x100162a1
mov al, byte [edi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x10016335
sub eax, 1
jne 0x1001638d
mov ebx, dword [0x10098bc0]
cmp byte [0x10098bdb], al
je 0x100162f4
mov ecx, 0x10b8134
call fcn.1000dd00
mov edi, eax
test edi, edi
je 0x100162f4
push 4
push edi
call esi
test eax, eax
jne 0x100162f4
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x100162f4
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
mov ecx, 0xcf
cmp ax, cx
jne 0x1001638d
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.10008ebb
mov byte [ebp - 4], 9
mov edx, 0xffff3b3b
lea ecx, [ebp - 0x2c]
call fcn.100086ad
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10004022
jmp 0x100166a3
cmp byte [0x10098bdb], 0
mov ebx, dword [0x10098bc0]
je 0x10016373
mov ecx, 0x10b8134
call fcn.1000dd00
mov edi, eax
test edi, edi
je 0x10016373
push 4
push edi
call esi
test eax, eax
jne 0x10016373
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x10016373
mov ax, word [edi]
mov word [ebx + 0x3e], ax
cmp word [ebx + 0x3e], 0x6b
jne 0x1001638d
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.10008ebb
mov byte [ebp - 4], 8
jmp 0x10016317
push 0x69
pop ebx
movzx eax, byte [ebp + 8]
mov dword [ebp - 0x98], eax
sub eax, 5
je 0x100164a0
sub eax, 1
je 0x10016451
sub eax, 1
je 0x1001640b
sub eax, 1
jne 0x100166a3
mov cl, 0x62
mov dword [ebp - 0x7c], 0x10161162
mov dword [ebp - 0x78], 0x3d050c0b
xor edx, edx
mov word [ebp - 0x74], 0x55
xor cl, byte [ebp + edx - 0x7b]
mov byte [ebp + edx - 0x7b], cl
inc edx
cmp edx, 8
jae 0x100163e5
mov cl, byte [ebp - 0x7c]
jmp 0x100163d2
mov byte [ebp - 0x73], 0
lea eax, [ebp - 0x7b]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.1000416d
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx]
call fcn.1000d131
mov ebx, eax
mov dword [ebp - 0x64], ebx
jmp 0x100164f2
mov cl, 0x45
mov dword [ebp - 0x88], 0x37313645
mov dword [ebp - 0x84], 0x1a222b2c
xor edx, edx
mov word [ebp - 0x80], 0x73
xor cl, byte [ebp + edx - 0x87]
mov byte [ebp + edx - 0x87], cl
inc edx
cmp edx, 8
jae 0x10016445
mov cl, byte [ebp - 0x88]
jmp 0x10016429
mov byte [ebp - 0x7f], 0
lea eax, [ebp - 0x87]
jmp 0x100163ec
mov cl, 0x42
mov dword [ebp - 0x94], 0x30363142
mov dword [ebp - 0x90], 0x1d252c2b
xor edx, edx
mov word [ebp - 0x8c], 0x77
xor cl, byte [ebp + edx - 0x93]
mov byte [ebp + edx - 0x93], cl
inc edx
cmp edx, 8
jae 0x1001648e
mov cl, byte [ebp - 0x94]
jmp 0x10016472
mov byte [ebp - 0x8b], 0
lea eax, [ebp - 0x93]
jmp 0x100163ec
mov cl, 0x1b
mov word [ebp - 0x20], 0x681b
mov byte [ebp - 0x1e], 0x6f
xor edx, edx
mov byte [ebp - 0x1d], bl
mov dword [ebp - 0x1c], 0x447c7572
mov word [ebp - 0x18], 0x2f
xor cl, byte [ebp + edx - 0x1f]
mov byte [ebp + edx - 0x1f], cl
inc edx
cmp edx, 8
jae 0x100164d1
mov cl, byte [ebp - 0x20]
jmp 0x100164be
sub esp, 0x18
mov byte [ebp - 0x17], 0
lea eax, [ebp - 0x1f]
mov ecx, esp
push eax
call fcn.1000416d
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx]
call fcn.1000d131
mov ebx, eax
mov dword [ebp - 0x64], eax
add esp, 0x18
test ebx, ebx
je 0x100166a3
push 4
push ebx
call esi
test eax, eax
jne 0x100166a3
mov ecx, ebx
call fcn.1000db6b
lea ecx, [ebp - 0x44]
cmp ecx, eax
je 0x10016522
push 0xffffffffffffffff
push 0
push eax
call fcn.10003df3
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.1005b5fd
cmp byte [0x10098bdb], 0
mov ebx, eax
mov eax, dword [0x10098bc0]
pop ecx
mov dword [ebp - 0x6c], eax
je 0x1001657e
mov ecx, 0x10b8134
call fcn.1000dd00
mov edi, eax
test edi, edi
je 0x1001657b
push 4
push edi
call esi
test eax, eax
jne 0x1001657b
push 4
add edi, 0x6e8
push edi
call esi
test eax, eax
jne 0x1001657b
mov ecx, dword [ebp - 0x6c]
mov al, byte [edi]
mov byte [ecx + 0x3c], al
mov eax, ecx
jmp 0x1001657e
mov eax, dword [ebp - 0x6c]
mov al, byte [eax + 0x3c]
movzx eax, al
cmp ebx, eax
jl 0x1001659e
mov edx, 0x1131
lea ecx, [ebp - 0x2c]
call fcn.10008ebb
mov byte [ebp - 4], 0xa
jmp 0x10016317
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x14], 0x32
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
push 0x1000
lea ecx, [ebp - 0x60]
call fcn.10008c26
push 1
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], vtable.Packet.0
call fcn.10008dd0
mov al, byte [ebp + 8]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xc
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.10008dd0
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
sub edx, ecx
call fcn.1000ddda
mov edi, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa0]
dec edi
mov edx, edi
call fcn.1000dbe4
mov esi, dword [ebp - 0x70]
mov eax, dword [esi]
mov dword [eax + 0x158], edi
mov eax, dword [esi]
cmp dword [eax + 0x158], 0
ja 0x10016649
mov ecx, dword [esi + 0x18]
mov dl, 2
call fcn.1000d435
mov ecx, dword [esi + 0x1c]
mov dl, 2
call fcn.1000d435
mov ecx, dword [esi + 0x20]
mov dl, 2
call fcn.1000d435
mov ecx, dword [esi + 0x24]
mov dl, 2
call fcn.1000d435
mov ecx, dword [ebp - 0x64]
inc ebx
mov edx, ebx
call fcn.1000dbe4
mov eax, dword [ebp - 0x98]
sub eax, 5
je 0x1001668c
sub eax, 1
je 0x10016682
sub eax, 1
je 0x10016678
sub eax, 1
jne 0x10016694
mov eax, dword [esi]
mov dword [eax + 0x178], ebx
jmp 0x10016694
mov eax, dword [esi]
mov dword [eax + 0x174], ebx
jmp 0x10016694
mov eax, dword [esi]
mov dword [eax + 0x170], ebx
jmp 0x10016694
mov eax, dword [esi]
mov dword [eax + 0x16c], ebx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x60], vtable.ByteBuffer.0
call fcn.10008d64
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.10004022
call fcn.1003bcfa
ret 4