Function at 0x10011fca
Capabilities:
Encode data using xor

Disassembly:
push 0x94
mov eax, 0x10036a6b
call fcn.10035531
mov ebx, ecx
mov dword [ebp - 0x70], ebx
cmp dword [0x10046ff8], 0
je 0x1001286b
lea eax, [ebp - 0x67]
mov word [ebp - 0x68], 0x46
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x67], 0
call fcn.10002845
and dword [ebp - 4], 0
xor edx, edx
movaps xmm0, xmmword [0x1003f650]
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x213b
mov byte [ebp - 0x16], 0
mov cl, byte [ebp - 0x28]
xor byte [ebp + edx - 0x27], cl
inc edx
cmp edx, 0x11
jb 0x1001201c
sub esp, 0x18
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x27]
mov ecx, esp
push eax
call fcn.10002845
mov ecx, dword [ebx]
call fcn.10009441
mov ebx, eax
add esp, 0x18
mov dword [ebp - 0xa0], ebx
test ebx, ebx
je 0x1001285f
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push ebx
call esi
test eax, eax
jne 0x1001285f
mov ecx, ebx
call fcn.10009e7c
lea ecx, [ebp - 0x44]
cmp ecx, eax
je 0x10012080
push 0xffffffffffffffff
push 0
push eax
call fcn.100024d0
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [ebp - 0x9c], eax
pop ecx
test eax, eax
jne 0x100120b3
mov edx, 0x1006
lea ecx, [ebp - 0x2c]
call fcn.10004ed2
mov byte [ebp - 4], 1
jmp 0x100124da
mov al, byte [ebp + 8]
sub al, 5
cmp al, 3
ja 0x100121cf
cmp byte [0x10047013], 0
mov ebx, dword [0x10046ff8]
je 0x100120fc
mov ecx, 0x10b8134
call fcn.1000a011
mov edi, eax
test edi, edi
je 0x100120fc
push 4
push edi
call esi
test eax, eax
jne 0x100120fc
push 4
add edi, 0x6dc
push edi
call esi
test eax, eax
jne 0x100120fc
mov al, byte [edi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x1001216f
sub eax, 1
jne 0x100121cf
mov ebx, dword [0x10046ff8]
cmp byte [0x10047013], al
je 0x1001214b
mov ecx, 0x10b8134
call fcn.1000a011
mov edi, eax
test edi, edi
je 0x1001214b
push 4
push edi
call esi
test eax, eax
jne 0x1001214b
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x1001214b
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
add eax, 0xffffff37
cmp eax, 3
ja 0x100121cf
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.10004ed2
mov byte [ebp - 4], 3
jmp 0x100124da
cmp byte [0x10047013], 0
mov ebx, dword [0x10046ff8]
je 0x100121ad
mov ecx, 0x10b8134
call fcn.1000a011
mov edi, eax
test edi, edi
je 0x100121ad
push 4
push edi
call esi
test eax, eax
jne 0x100121ad
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x100121ad
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
add eax, 0xffffff9b
cmp eax, 3
ja 0x100121cf
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.10004ed2
mov byte [ebp - 4], 2
jmp 0x100124da
mov cl, byte [ebp + 8]
cmp cl, 8
jne 0x10012304
cmp byte [0x10047013], 0
mov ebx, dword [0x10046ff8]
je 0x10012217
mov ecx, 0x10b8134
call fcn.1000a011
mov edi, eax
test edi, edi
je 0x10012217
push 4
push edi
call esi
test eax, eax
jne 0x10012217
push 4
add edi, 0x6dc
push edi
call esi
test eax, eax
jne 0x10012217
mov al, byte [edi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x10012297
sub eax, 1
jne 0x10012550
mov ebx, dword [0x10046ff8]
cmp byte [0x10047013], al
je 0x10012266
mov ecx, 0x10b8134
call fcn.1000a011
mov edi, eax
test edi, edi
je 0x10012266
push 4
push edi
call esi
test eax, eax
jne 0x10012266
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x10012266
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
sub eax, 0xcf
je 0x10012281
dec eax
sub eax, 1
je 0x10012281
dec eax
sub eax, 1
jne 0x10012550
mov edx, 0x1007
lea ecx, [ebp - 0x2c]
call fcn.10004ed2
mov byte [ebp - 4], 5
jmp 0x100124da
cmp byte [0x10047013], 0
mov ebx, dword [0x10046ff8]
je 0x100122d5
mov ecx, 0x10b8134
call fcn.1000a011
mov edi, eax
test edi, edi
je 0x100122d5
push 4
push edi
call esi
test eax, eax
jne 0x100122d5
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x100122d5
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
sub eax, 0x6b
je 0x100122ee
dec eax
sub eax, 1
je 0x100122ee
dec eax
sub eax, 1
jne 0x10012550
mov edx, 0x1007
lea ecx, [ebp - 0x2c]
call fcn.10004ed2
mov byte [ebp - 4], 4
jmp 0x100124da
cmp cl, 7
jne 0x1001241f
cmp byte [0x10047013], 0
mov ebx, dword [0x10046ff8]
je 0x10012349
mov ecx, 0x10b8134
call fcn.1000a011
mov edi, eax
test edi, edi
je 0x10012349
push 4
push edi
call esi
test eax, eax
jne 0x10012349
push 4
add edi, 0x6dc
push edi
call esi
test eax, eax
jne 0x10012349
mov al, byte [edi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x100123c0
sub eax, 1
jne 0x10012550
mov ebx, dword [0x10046ff8]
cmp byte [0x10047013], al
je 0x10012398
mov ecx, 0x10b8134
call fcn.1000a011
mov edi, eax
test edi, edi
je 0x10012398
push 4
push edi
call esi
test eax, eax
jne 0x10012398
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x10012398
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
mov ecx, 0xcd
cmp ax, cx
jne 0x10012550
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.10004ed2
mov byte [ebp - 4], 7
jmp 0x100124da
cmp byte [0x10047013], 0
mov ebx, dword [0x10046ff8]
je 0x100123fe
mov ecx, 0x10b8134
call fcn.1000a011
mov edi, eax
test edi, edi
je 0x100123fe
push 4
push edi
call esi
test eax, eax
jne 0x100123fe
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x100123fe
mov ax, word [edi]
mov word [ebx + 0x3e], ax
cmp word [ebx + 0x3e], 0x69
jne 0x10012550
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.10004ed2
mov byte [ebp - 4], 6
jmp 0x100124da
cmp cl, 6
jne 0x10012550
cmp byte [0x10047013], 0
mov ebx, dword [0x10046ff8]
je 0x10012464
mov ecx, 0x10b8134
call fcn.1000a011
mov edi, eax
test edi, edi
je 0x10012464
push 4
push edi
call esi
test eax, eax
jne 0x10012464
push 4
add edi, 0x6dc
push edi
call esi
test eax, eax
jne 0x10012464
mov al, byte [edi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x100124f8
sub eax, 1
jne 0x10012550
mov ebx, dword [0x10046ff8]
cmp byte [0x10047013], al
je 0x100124b7
mov ecx, 0x10b8134
call fcn.1000a011
mov edi, eax
test edi, edi
je 0x100124b7
push 4
push edi
call esi
test eax, eax
jne 0x100124b7
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x100124b7
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
mov ecx, 0xcf
cmp ax, cx
jne 0x10012550
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.10004ed2
mov byte [ebp - 4], 9
mov edx, 0xffff3b3b
lea ecx, [ebp - 0x2c]
call fcn.10004612
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.100026f1
jmp 0x1001285f
cmp byte [0x10047013], 0
mov ebx, dword [0x10046ff8]
je 0x10012536
mov ecx, 0x10b8134
call fcn.1000a011
mov edi, eax
test edi, edi
je 0x10012536
push 4
push edi
call esi
test eax, eax
jne 0x10012536
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x10012536
mov ax, word [edi]
mov word [ebx + 0x3e], ax
cmp word [ebx + 0x3e], 0x6b
jne 0x10012550
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.10004ed2
mov byte [ebp - 4], 8
jmp 0x100124da
movzx eax, byte [ebp + 8]
mov dword [ebp - 0x98], eax
sub eax, 5
je 0x10012661
sub eax, 1
je 0x10012612
sub eax, 1
je 0x100125cb
sub eax, 1
jne 0x1001285f
mov cl, 1
mov dword [ebp - 0x7c], 0x73757201
mov dword [ebp - 0x78], 0x5e666f68
xor edx, edx
mov word [ebp - 0x74], 0x36
xor cl, byte [ebp + edx - 0x7b]
mov byte [ebp + edx - 0x7b], cl
inc edx
cmp edx, 8
jae 0x100125a5
mov cl, byte [ebp - 0x7c]
jmp 0x10012592
mov byte [ebp - 0x73], 0
lea eax, [ebp - 0x7b]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10002845
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx]
call fcn.10009441
mov ebx, eax
mov dword [ebp - 0x64], ebx
jmp 0x100126ad
xor ebx, ebx
mov dword [ebp - 0x88], 0x1c1a1d6e
mov cl, 0x6e
mov dword [ebp - 0x84], 0x31090007
mov word [ebp - 0x80], 0x58
mov edx, ebx
xor cl, byte [ebp + edx - 0x87]
mov byte [ebp + edx - 0x87], cl
inc edx
cmp edx, 8
jae 0x10012607
mov cl, byte [ebp - 0x88]
jmp 0x100125eb
mov byte [ebp - 0x7f], bl
lea eax, [ebp - 0x87]
jmp 0x100125ac
mov cl, 0x30
mov dword [ebp - 0x94], 0x42444330
mov dword [ebp - 0x90], 0x6f575e59
xor edx, edx
mov word [ebp - 0x8c], 5
xor cl, byte [ebp + edx - 0x93]
mov byte [ebp + edx - 0x93], cl
inc edx
cmp edx, 8
jae 0x1001264f
mov cl, byte [ebp - 0x94]
jmp 0x10012633
mov byte [ebp - 0x8b], 0
lea eax, [ebp - 0x93]
jmp 0x100125ac
mov cl, 0x4d
mov dword [ebp - 0x20], 0x3f393e4d
mov dword [ebp - 0x1c], 0x122a2324
xor edx, edx
mov word [ebp - 0x18], 0x79
xor cl, byte [ebp + edx - 0x1f]
mov byte [ebp + edx - 0x1f], cl
inc edx
cmp edx, 8
jae 0x1001268c
mov cl, byte [ebp - 0x20]
jmp 0x10012679
sub esp, 0x18
mov byte [ebp - 0x17], 0
lea eax, [ebp - 0x1f]
mov ecx, esp
push eax
call fcn.10002845
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx]
call fcn.10009441
mov ebx, eax
mov dword [ebp - 0x64], eax
add esp, 0x18
test ebx, ebx
je 0x1001285f
push 4
push ebx
call esi
test eax, eax
jne 0x1001285f
mov ecx, ebx
call fcn.10009e7c
lea ecx, [ebp - 0x44]
cmp ecx, eax
je 0x100126dd
push 0xffffffffffffffff
push 0
push eax
call fcn.100024d0
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
cmp byte [0x10047013], 0
mov ebx, eax
mov eax, dword [0x10046ff8]
pop ecx
mov dword [ebp - 0x6c], eax
je 0x1001273a
mov ecx, 0x10b8134
call fcn.1000a011
mov edi, eax
test edi, edi
je 0x10012737
push 4
push edi
call esi
test eax, eax
jne 0x10012737
push 4
add edi, 0x6e8
push edi
call esi
test eax, eax
jne 0x10012737
mov ecx, dword [ebp - 0x6c]
mov al, byte [edi]
mov byte [ecx + 0x3c], al
mov eax, ecx
jmp 0x1001273a
mov eax, dword [ebp - 0x6c]
mov al, byte [eax + 0x3c]
movzx eax, al
cmp ebx, eax
jl 0x1001275a
mov edx, 0x1131
lea ecx, [ebp - 0x2c]
call fcn.10004ed2
mov byte [ebp - 4], 0xa
jmp 0x100124da
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.10004c43
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.10004de7
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.10004de7
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
sub edx, ecx
call fcn.1000a0eb
mov edi, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa0]
dec edi
mov edx, edi
call fcn.10009ef5
mov esi, dword [ebp - 0x70]
mov eax, dword [esi]
mov dword [eax + 0x158], edi
mov eax, dword [esi]
cmp dword [eax + 0x158], 0
ja 0x10012805
mov ecx, dword [esi + 0x18]
mov dl, 2
call fcn.10009745
mov ecx, dword [esi + 0x1c]
mov dl, 2
call fcn.10009745
mov ecx, dword [esi + 0x20]
mov dl, 2
call fcn.10009745
mov ecx, dword [esi + 0x24]
mov dl, 2
call fcn.10009745
mov ecx, dword [ebp - 0x64]
inc ebx
mov edx, ebx
call fcn.10009ef5
mov eax, dword [ebp - 0x98]
sub eax, 5
je 0x10012848
sub eax, 1
je 0x1001283e
sub eax, 1
je 0x10012834
sub eax, 1
jne 0x10012850
mov eax, dword [esi]
mov dword [eax + 0x178], ebx
jmp 0x10012850
mov eax, dword [esi]
mov dword [eax + 0x174], ebx
jmp 0x10012850
mov eax, dword [esi]
mov dword [eax + 0x170], ebx
jmp 0x10012850
mov eax, dword [esi]
mov dword [eax + 0x16c], ebx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x60], vtable.ByteBuffer.0
call fcn.10004d7f
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.100026f1
call fcn.100354db
ret 4