Function at 0x10011b02
Capabilities:
Encode data using xor

Disassembly:
push 0x68
mov eax, 0x100359ab
call fcn.10034586
mov ebx, ecx
mov dword [ebp - 0x68], ebx
cmp dword [0x1007cfc0], 0
je 0x10012365
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 0x31
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x2b], 0
call fcn.10002604
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, edx
movaps xmm0, xmmword [0x1003e070]
mov esi, dword [ebx]
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x913
mov byte [ebp - 0x12], dl
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x11
jb 0x10011b53
sub esp, 0x18
mov byte [ebp - 0x12], dl
lea eax, [ebp - 0x23]
mov ecx, esp
push eax
call fcn.10002604
mov ecx, esi
call fcn.10009394
mov ebx, eax
add esp, 0x18
mov dword [ebp - 0x74], ebx
test ebx, ebx
je 0x1001235d
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push ebx
call edi
test eax, eax
jne 0x1001235d
mov ecx, ebx
call fcn.10009dcc
push eax
lea ecx, [ebp - 0x44]
call fcn.10003baf
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 0x10011bdd
mov edx, 0x1006
lea ecx, [ebp - 0x28]
call fcn.10004ce5
mov byte [ebp - 4], 1
jmp 0x10012348
movzx eax, byte [ebp + 8]
mov dword [ebp - 0x70], eax
sub eax, 5
je 0x10011bfc
sub eax, 1
je 0x10011bfc
sub eax, 1
je 0x10011bfc
sub eax, 1
jne 0x10011d1d
cmp byte [0x1007cfcc], 0
mov ebx, dword [0x1007cfc0]
je 0x10011c38
mov ecx, 0x10b8134
call fcn.10009f60
mov esi, eax
test esi, esi
je 0x10011c38
push 4
push esi
call edi
test eax, eax
jne 0x10011c38
push 4
add esi, 0x6dc
push esi
call edi
test eax, eax
jne 0x10011c38
mov al, byte [esi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x10011cb7
sub eax, 1
jne 0x10011d1d
mov ebx, dword [0x1007cfc0]
cmp byte [0x1007cfcc], al
je 0x10011c87
mov ecx, 0x10b8134
call fcn.10009f60
mov esi, eax
test esi, esi
je 0x10011c87
push 4
push esi
call edi
test eax, eax
jne 0x10011c87
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x10011c87
mov ax, word [esi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
sub eax, 0xc9
je 0x10011ca1
sub eax, 1
je 0x10011ca1
sub eax, 1
je 0x10011ca1
sub eax, 1
jne 0x10011d1d
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.10004ce5
mov byte [ebp - 4], 3
jmp 0x10012348
cmp byte [0x1007cfcc], 0
mov ebx, dword [0x1007cfc0]
je 0x10011cf5
mov ecx, 0x10b8134
call fcn.10009f60
mov esi, eax
test esi, esi
je 0x10011cf5
push 4
push esi
call edi
test eax, eax
jne 0x10011cf5
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x10011cf5
mov ax, word [esi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
sub eax, 0x65
je 0x10012337
sub eax, 1
je 0x10012337
sub eax, 1
je 0x10012337
sub eax, 1
je 0x10012337
mov cl, byte [ebp + 8]
cmp cl, 8
jne 0x10011e52
cmp byte [0x1007cfcc], 0
mov ebx, dword [0x1007cfc0]
je 0x10011d65
mov ecx, 0x10b8134
call fcn.10009f60
mov esi, eax
test esi, esi
je 0x10011d65
push 4
push esi
call edi
test eax, eax
jne 0x10011d65
push 4
add esi, 0x6dc
push esi
call edi
test eax, eax
jne 0x10011d65
mov al, byte [esi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x10011de5
sub eax, 1
jne 0x10011f6a
mov ebx, dword [0x1007cfc0]
cmp byte [0x1007cfcc], al
je 0x10011db4
mov ecx, 0x10b8134
call fcn.10009f60
mov esi, eax
test esi, esi
je 0x10011db4
push 4
push esi
call edi
test eax, eax
jne 0x10011db4
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x10011db4
mov ax, word [esi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
sub eax, 0xcf
je 0x10011dcf
dec eax
sub eax, 1
je 0x10011dcf
dec eax
sub eax, 1
jne 0x10011f6a
mov edx, 0x1007
lea ecx, [ebp - 0x28]
call fcn.10004ce5
mov byte [ebp - 4], 5
jmp 0x10012348
cmp byte [0x1007cfcc], 0
mov ebx, dword [0x1007cfc0]
je 0x10011e23
mov ecx, 0x10b8134
call fcn.10009f60
mov esi, eax
test esi, esi
je 0x10011e23
push 4
push esi
call edi
test eax, eax
jne 0x10011e23
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x10011e23
mov ax, word [esi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
sub eax, 0x6b
je 0x10011e3c
dec eax
sub eax, 1
je 0x10011e3c
dec eax
sub eax, 1
jne 0x1001207b
mov edx, 0x1007
lea ecx, [ebp - 0x28]
call fcn.10004ce5
mov byte [ebp - 4], 4
jmp 0x10012348
cmp cl, 7
jne 0x10011f6a
cmp byte [0x1007cfcc], 0
mov ebx, dword [0x1007cfc0]
je 0x10011e97
mov ecx, 0x10b8134
call fcn.10009f60
mov esi, eax
test esi, esi
je 0x10011e97
push 4
push esi
call edi
test eax, eax
jne 0x10011e97
push 4
add esi, 0x6dc
push esi
call edi
test eax, eax
jne 0x10011e97
mov al, byte [esi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x10011f0b
sub eax, 1
jne 0x1001207b
mov ebx, dword [0x1007cfc0]
cmp byte [0x1007cfcc], al
je 0x10011ee6
mov ecx, 0x10b8134
call fcn.10009f60
mov esi, eax
test esi, esi
je 0x10011ee6
push 4
push esi
call edi
test eax, eax
jne 0x10011ee6
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x10011ee6
mov ax, word [esi]
mov word [ebx + 0x3e], ax
mov eax, 0xcd
cmp word [ebx + 0x3e], ax
jne 0x1001207b
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.10004ce5
mov byte [ebp - 4], 7
jmp 0x10012348
cmp byte [0x1007cfcc], 0
mov ebx, dword [0x1007cfc0]
je 0x10011f49
mov ecx, 0x10b8134
call fcn.10009f60
mov esi, eax
test esi, esi
je 0x10011f49
push 4
push esi
call edi
test eax, eax
jne 0x10011f49
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x10011f49
mov ax, word [esi]
mov word [ebx + 0x3e], ax
cmp word [ebx + 0x3e], 0x69
jne 0x1001207b
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.10004ce5
mov byte [ebp - 4], 6
jmp 0x10012348
cmp byte [ebp + 8], 6
jne 0x1001207b
cmp byte [0x1007cfcc], 0
mov ebx, dword [0x1007cfc0]
je 0x10011fb0
mov ecx, 0x10b8134
call fcn.10009f60
mov esi, eax
test esi, esi
je 0x10011fb0
push 4
push esi
call edi
test eax, eax
jne 0x10011fb0
push 4
add esi, 0x6dc
push esi
call edi
test eax, eax
jne 0x10011fb0
mov al, byte [esi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x10012020
sub eax, 1
jne 0x1001207b
mov ebx, dword [0x1007cfc0]
cmp byte [0x1007cfcc], al
je 0x10011fff
mov ecx, 0x10b8134
call fcn.10009f60
mov esi, eax
test esi, esi
je 0x10011fff
push 4
push esi
call edi
test eax, eax
jne 0x10011fff
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x10011fff
mov ax, word [esi]
mov word [ebx + 0x3e], ax
mov eax, 0xcf
cmp word [ebx + 0x3e], ax
jne 0x1001207b
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.10004ce5
mov byte [ebp - 4], 9
jmp 0x10012348
cmp byte [0x1007cfcc], 0
mov ebx, dword [0x1007cfc0]
je 0x1001205e
mov ecx, 0x10b8134
call fcn.10009f60
mov esi, eax
test esi, esi
je 0x1001205e
push 4
push esi
call edi
test eax, eax
jne 0x1001205e
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x1001205e
mov ax, word [esi]
mov word [ebx + 0x3e], ax
cmp word [ebx + 0x3e], 0x6b
jne 0x1001207b
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.10004ce5
mov byte [ebp - 4], 8
jmp 0x10012348
mov eax, dword [ebp - 0x70]
sub eax, 5
je 0x10012122
sub eax, 1
je 0x100120f6
sub eax, 1
je 0x100120ca
sub eax, 1
jne 0x1001235d
mov eax, dword [ebp - 0x68]
mov cl, 0x64
mov dword [ebp - 0x1c], 0x16101764
mov dword [ebp - 0x18], 0x3b030a0d
mov word [ebp - 0x14], 0x53
mov esi, dword [eax]
xor eax, eax
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 8
jae 0x1001214e
mov cl, byte [ebp - 0x1c]
jmp 0x100120b7
mov eax, dword [ebp - 0x68]
mov cl, 0x32
mov dword [ebp - 0x1c], 0x40464132
mov dword [ebp - 0x18], 0x6d555c5b
mov word [ebp - 0x14], 4
mov esi, dword [eax]
xor eax, eax
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 8
jae 0x1001214e
mov cl, byte [ebp - 0x1c]
jmp 0x100120e7
mov eax, dword [ebp - 0x68]
mov cl, 0x1e
mov dword [ebp - 0x1c], 0x6c6a6d1e
mov dword [ebp - 0x18], 0x41797077
mov word [ebp - 0x14], 0x2b
mov esi, dword [eax]
xor eax, eax
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 8
jae 0x1001214e
mov cl, byte [ebp - 0x1c]
jmp 0x10012113
mov eax, dword [ebp - 0x68]
mov cl, 0x23
mov dword [ebp - 0x1c], 0x51575023
mov dword [ebp - 0x18], 0x7c444d4a
mov word [ebp - 0x14], 0x17
mov esi, dword [eax]
xor eax, eax
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 8
jae 0x1001214e
mov cl, byte [ebp - 0x1c]
jmp 0x1001213f
sub esp, 0x18
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x1b]
mov ecx, esp
push eax
call fcn.10002604
mov ecx, esi
call fcn.10009394
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x1001235d
push 4
push ebx
call edi
test eax, eax
jne 0x1001235d
mov ecx, ebx
call fcn.10009dcc
push eax
lea ecx, [ebp - 0x44]
call fcn.10003baf
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 [0x1007cfcc], 0
mov esi, eax
mov eax, dword [0x1007cfc0]
pop ecx
mov dword [ebp - 0x2c], eax
je 0x100121f7
mov ecx, 0x10b8134
call fcn.10009f60
mov dword [ebp - 0x64], eax
test eax, eax
je 0x100121f4
push 4
push eax
call edi
test eax, eax
jne 0x100121f4
mov eax, dword [ebp - 0x64]
add eax, 0x6e8
push 4
push eax
mov dword [ebp - 0x64], eax
call edi
test eax, eax
jne 0x100121f4
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x2c]
mov al, byte [eax]
mov byte [ecx + 0x3c], al
mov eax, ecx
jmp 0x100121f7
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + 0x3c]
cmp esi, eax
jl 0x10012215
mov edx, 0x1131
lea ecx, [ebp - 0x28]
call fcn.10004ce5
mov byte [ebp - 4], 0xa
jmp 0x10012348
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.10004a4e
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.10004bf0
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.10004bf0
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 0x1001228d
mov ecx, dword ds:[0x1003863c]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x64]
push dword [ebp - 0x2c]
call dword [0x10038638]
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x74]
dec eax
mov edx, eax
mov dword [ebp - 0x6c], eax
call fcn.10009e4c
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 0x100122df
mov ecx, dword [edi + 0x18]
mov dl, 2
call fcn.10009694
mov ecx, dword [edi + 0x1c]
mov dl, 2
call fcn.10009694
mov ecx, dword [edi + 0x20]
mov dl, 2
call fcn.10009694
mov ecx, dword [edi + 0x24]
mov dl, 2
call fcn.10009694
inc esi
mov ecx, ebx
mov edx, esi
call fcn.10009e4c
mov eax, dword [ebp - 0x70]
sub eax, 5
je 0x1001231e
sub eax, 1
je 0x10012314
sub eax, 1
je 0x1001230a
sub eax, 1
jne 0x10012326
mov eax, dword [edi]
mov dword [eax + 0x178], esi
jmp 0x10012326
mov eax, dword [edi]
mov dword [eax + 0x174], esi
jmp 0x10012326
mov eax, dword [edi]
mov dword [eax + 0x170], esi
jmp 0x10012326
mov eax, dword [edi]
mov dword [eax + 0x16c], esi
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x60], vtable.ByteBuffer.0
call fcn.10004ac5
jmp 0x1001235d
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.10004ce5
mov byte [ebp - 4], 2
mov edx, 0xffff3b3b
lea ecx, [ebp - 0x28]
call fcn.1000438c
lea ecx, [ebp - 0x28]
call fcn.10002410
lea ecx, [ebp - 0x44]
call fcn.10002410
call fcn.10034544
ret 4