Function at 0x10010af4
Capabilities:
Encode data using xor

Disassembly:
push 0x68
mov eax, 0x10030d2b
call fcn.1002fc16
mov ebx, ecx
mov dword [ebp - 0x68], ebx
cmp dword [0x1003fc24], 0
je 0x10011357
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 5
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x2b], 0
call fcn.10003ec3
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, edx
movaps xmm0, xmmword [0x10038980]
mov esi, dword [ebx]
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x617b
mov byte [ebp - 0x12], dl
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x11
jb 0x10010b45
sub esp, 0x18
mov byte [ebp - 0x12], dl
lea eax, [ebp - 0x23]
mov ecx, esp
push eax
call fcn.10003ec3
mov ecx, esi
call fcn.1000838f
mov ebx, eax
add esp, 0x18
mov dword [ebp - 0x74], ebx
test ebx, ebx
je 0x1001134f
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push ebx
call edi
test eax, eax
jne 0x1001134f
mov ecx, ebx
call fcn.10008dc7
push eax
lea ecx, [ebp - 0x44]
call fcn.100030b0
cmp dword [ebp - 0x30], 0xf
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
pop ecx
mov ecx, eax
mov dword [ebp - 0x6c], ecx
test ecx, ecx
jne 0x10010bcf
mov edx, 0x1006
lea ecx, [ebp - 0x28]
call fcn.100042c8
mov byte [ebp - 4], 1
jmp 0x1001133a
movzx eax, byte [ebp + 8]
mov dword [ebp - 0x70], eax
sub eax, 5
je 0x10010bee
sub eax, 1
je 0x10010bee
sub eax, 1
je 0x10010bee
sub eax, 1
jne 0x10010d0f
cmp byte [0x1003fc30], 0
mov ebx, dword [0x1003fc24]
je 0x10010c2a
mov ecx, 0x10b8134
call fcn.10008f5b
mov esi, eax
test esi, esi
je 0x10010c2a
push 4
push esi
call edi
test eax, eax
jne 0x10010c2a
push 4
add esi, 0x6dc
push esi
call edi
test eax, eax
jne 0x10010c2a
mov al, byte [esi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x10010ca9
sub eax, 1
jne 0x10010d0f
mov ebx, dword [0x1003fc24]
cmp byte [0x1003fc30], al
je 0x10010c79
mov ecx, 0x10b8134
call fcn.10008f5b
mov esi, eax
test esi, esi
je 0x10010c79
push 4
push esi
call edi
test eax, eax
jne 0x10010c79
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x10010c79
mov ax, word [esi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
sub eax, 0xc9
je 0x10010c93
sub eax, 1
je 0x10010c93
sub eax, 1
je 0x10010c93
sub eax, 1
jne 0x10010d0f
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.100042c8
mov byte [ebp - 4], 3
jmp 0x1001133a
cmp byte [0x1003fc30], 0
mov ebx, dword [0x1003fc24]
je 0x10010ce7
mov ecx, 0x10b8134
call fcn.10008f5b
mov esi, eax
test esi, esi
je 0x10010ce7
push 4
push esi
call edi
test eax, eax
jne 0x10010ce7
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x10010ce7
mov ax, word [esi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
sub eax, 0x65
je 0x10011329
sub eax, 1
je 0x10011329
sub eax, 1
je 0x10011329
sub eax, 1
je 0x10011329
mov cl, byte [ebp + 8]
cmp cl, 8
jne 0x10010e44
cmp byte [0x1003fc30], 0
mov ebx, dword [0x1003fc24]
je 0x10010d57
mov ecx, 0x10b8134
call fcn.10008f5b
mov esi, eax
test esi, esi
je 0x10010d57
push 4
push esi
call edi
test eax, eax
jne 0x10010d57
push 4
add esi, 0x6dc
push esi
call edi
test eax, eax
jne 0x10010d57
mov al, byte [esi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x10010dd7
sub eax, 1
jne 0x10010f5c
mov ebx, dword [0x1003fc24]
cmp byte [0x1003fc30], al
je 0x10010da6
mov ecx, 0x10b8134
call fcn.10008f5b
mov esi, eax
test esi, esi
je 0x10010da6
push 4
push esi
call edi
test eax, eax
jne 0x10010da6
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x10010da6
mov ax, word [esi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
sub eax, 0xcf
je 0x10010dc1
dec eax
sub eax, 1
je 0x10010dc1
dec eax
sub eax, 1
jne 0x10010f5c
mov edx, 0x1007
lea ecx, [ebp - 0x28]
call fcn.100042c8
mov byte [ebp - 4], 5
jmp 0x1001133a
cmp byte [0x1003fc30], 0
mov ebx, dword [0x1003fc24]
je 0x10010e15
mov ecx, 0x10b8134
call fcn.10008f5b
mov esi, eax
test esi, esi
je 0x10010e15
push 4
push esi
call edi
test eax, eax
jne 0x10010e15
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x10010e15
mov ax, word [esi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
sub eax, 0x6b
je 0x10010e2e
dec eax
sub eax, 1
je 0x10010e2e
dec eax
sub eax, 1
jne 0x1001106d
mov edx, 0x1007
lea ecx, [ebp - 0x28]
call fcn.100042c8
mov byte [ebp - 4], 4
jmp 0x1001133a
cmp cl, 7
jne 0x10010f5c
cmp byte [0x1003fc30], 0
mov ebx, dword [0x1003fc24]
je 0x10010e89
mov ecx, 0x10b8134
call fcn.10008f5b
mov esi, eax
test esi, esi
je 0x10010e89
push 4
push esi
call edi
test eax, eax
jne 0x10010e89
push 4
add esi, 0x6dc
push esi
call edi
test eax, eax
jne 0x10010e89
mov al, byte [esi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x10010efd
sub eax, 1
jne 0x1001106d
mov ebx, dword [0x1003fc24]
cmp byte [0x1003fc30], al
je 0x10010ed8
mov ecx, 0x10b8134
call fcn.10008f5b
mov esi, eax
test esi, esi
je 0x10010ed8
push 4
push esi
call edi
test eax, eax
jne 0x10010ed8
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x10010ed8
mov ax, word [esi]
mov word [ebx + 0x3e], ax
mov eax, 0xcd
cmp word [ebx + 0x3e], ax
jne 0x1001106d
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.100042c8
mov byte [ebp - 4], 7
jmp 0x1001133a
cmp byte [0x1003fc30], 0
mov ebx, dword [0x1003fc24]
je 0x10010f3b
mov ecx, 0x10b8134
call fcn.10008f5b
mov esi, eax
test esi, esi
je 0x10010f3b
push 4
push esi
call edi
test eax, eax
jne 0x10010f3b
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x10010f3b
mov ax, word [esi]
mov word [ebx + 0x3e], ax
cmp word [ebx + 0x3e], 0x69
jne 0x1001106d
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.100042c8
mov byte [ebp - 4], 6
jmp 0x1001133a
cmp byte [ebp + 8], 6
jne 0x1001106d
cmp byte [0x1003fc30], 0
mov ebx, dword [0x1003fc24]
je 0x10010fa2
mov ecx, 0x10b8134
call fcn.10008f5b
mov esi, eax
test esi, esi
je 0x10010fa2
push 4
push esi
call edi
test eax, eax
jne 0x10010fa2
push 4
add esi, 0x6dc
push esi
call edi
test eax, eax
jne 0x10010fa2
mov al, byte [esi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x10011012
sub eax, 1
jne 0x1001106d
mov ebx, dword [0x1003fc24]
cmp byte [0x1003fc30], al
je 0x10010ff1
mov ecx, 0x10b8134
call fcn.10008f5b
mov esi, eax
test esi, esi
je 0x10010ff1
push 4
push esi
call edi
test eax, eax
jne 0x10010ff1
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x10010ff1
mov ax, word [esi]
mov word [ebx + 0x3e], ax
mov eax, 0xcf
cmp word [ebx + 0x3e], ax
jne 0x1001106d
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.100042c8
mov byte [ebp - 4], 9
jmp 0x1001133a
cmp byte [0x1003fc30], 0
mov ebx, dword [0x1003fc24]
je 0x10011050
mov ecx, 0x10b8134
call fcn.10008f5b
mov esi, eax
test esi, esi
je 0x10011050
push 4
push esi
call edi
test eax, eax
jne 0x10011050
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x10011050
mov ax, word [esi]
mov word [ebx + 0x3e], ax
cmp word [ebx + 0x3e], 0x6b
jne 0x1001106d
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.100042c8
mov byte [ebp - 4], 8
jmp 0x1001133a
mov eax, dword [ebp - 0x70]
sub eax, 5
je 0x10011114
sub eax, 1
je 0x100110e8
sub eax, 1
je 0x100110bc
sub eax, 1
jne 0x1001134f
mov eax, dword [ebp - 0x68]
mov cl, 0x45
mov dword [ebp - 0x1c], 0x37313645
mov dword [ebp - 0x18], 0x1a222b2c
mov word [ebp - 0x14], 0x72
mov esi, dword [eax]
xor eax, eax
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 8
jae 0x10011140
mov cl, byte [ebp - 0x1c]
jmp 0x100110a9
mov eax, dword [ebp - 0x68]
mov cl, 0x70
mov dword [ebp - 0x1c], 0x2040370
mov dword [ebp - 0x18], 0x2f171e19
mov word [ebp - 0x14], 0x46
mov esi, dword [eax]
xor eax, eax
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 8
jae 0x10011140
mov cl, byte [ebp - 0x1c]
jmp 0x100110d9
mov eax, dword [ebp - 0x68]
mov cl, 0xb
mov dword [ebp - 0x1c], 0x797f780b
mov dword [ebp - 0x18], 0x546c6562
mov word [ebp - 0x14], 0x3e
mov esi, dword [eax]
xor eax, eax
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 8
jae 0x10011140
mov cl, byte [ebp - 0x1c]
jmp 0x10011105
mov eax, dword [ebp - 0x68]
mov cl, 0x62
mov dword [ebp - 0x1c], 0x10161162
mov dword [ebp - 0x18], 0x3d050c0b
mov word [ebp - 0x14], 0x56
mov esi, dword [eax]
xor eax, eax
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 8
jae 0x10011140
mov cl, byte [ebp - 0x1c]
jmp 0x10011131
sub esp, 0x18
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x1b]
mov ecx, esp
push eax
call fcn.10003ec3
mov ecx, esi
call fcn.1000838f
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x1001134f
push 4
push ebx
call edi
test eax, eax
jne 0x1001134f
mov ecx, ebx
call fcn.10008dc7
push eax
lea ecx, [ebp - 0x44]
call fcn.100030b0
cmp dword [ebp - 0x30], 0xf
lea eax, [ebp - 0x44]
cmova eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
cmp byte [0x1003fc30], 0
mov esi, eax
mov eax, dword [0x1003fc24]
pop ecx
mov dword [ebp - 0x2c], eax
je 0x100111e9
mov ecx, 0x10b8134
call fcn.10008f5b
mov dword [ebp - 0x64], eax
test eax, eax
je 0x100111e6
push 4
push eax
call edi
test eax, eax
jne 0x100111e6
mov eax, dword [ebp - 0x64]
add eax, 0x6e8
push 4
push eax
mov dword [ebp - 0x64], eax
call edi
test eax, eax
jne 0x100111e6
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x2c]
mov al, byte [eax]
mov byte [ecx + 0x3c], al
mov eax, ecx
jmp 0x100111e9
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + 0x3c]
cmp esi, eax
jl 0x10011207
mov edx, 0x1131
lea ecx, [ebp - 0x28]
call fcn.100042c8
mov byte [ebp - 4], 0xa
jmp 0x1001133a
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x2c], 0x32
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
push 0x1000
lea ecx, [ebp - 0x60]
call fcn.10004031
push 1
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], vtable.Packet.0
call fcn.100041d3
mov al, byte [ebp + 8]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xc
mov byte [ebp - 0x2c], al
lea eax, [ebp - 0x2c]
push 1
push eax
call fcn.100041d3
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
sub edx, eax
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x2c], eax
cmp edx, 0x4000
ja 0x1001127f
mov ecx, dword ds:[0x100335b4]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x64]
push dword [ebp - 0x2c]
call dword [0x100335b0]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x74]
dec eax
mov edx, eax
mov dword [ebp - 0x6c], eax
call fcn.10008e47
mov edi, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [edi]
mov dword [eax + 0x158], ecx
mov eax, dword [edi]
cmp dword [eax + 0x158], 0
ja 0x100112d1
mov ecx, dword [edi + 0x18]
mov dl, 2
call fcn.1000868f
mov ecx, dword [edi + 0x1c]
mov dl, 2
call fcn.1000868f
mov ecx, dword [edi + 0x20]
mov dl, 2
call fcn.1000868f
mov ecx, dword [edi + 0x24]
mov dl, 2
call fcn.1000868f
inc esi
mov ecx, ebx
mov edx, esi
call fcn.10008e47
mov eax, dword [ebp - 0x70]
sub eax, 5
je 0x10011310
sub eax, 1
je 0x10011306
sub eax, 1
je 0x100112fc
sub eax, 1
jne 0x10011318
mov eax, dword [edi]
mov dword [eax + 0x178], esi
jmp 0x10011318
mov eax, dword [edi]
mov dword [eax + 0x174], esi
jmp 0x10011318
mov eax, dword [edi]
mov dword [eax + 0x170], esi
jmp 0x10011318
mov eax, dword [edi]
mov dword [eax + 0x16c], esi
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x60], vtable.ByteBuffer.0
call fcn.100040a8
jmp 0x1001134f
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.100042c8
mov byte [ebp - 4], 2
mov edx, 0xffff3b3b
lea ecx, [ebp - 0x28]
call fcn.1000388a
lea ecx, [ebp - 0x28]
call fcn.100026bd
lea ecx, [ebp - 0x44]
call fcn.100026bd
call fcn.1002fbd4
ret 4