Function at 0x100193f5
Capabilities:
Encode data using xor

Disassembly:
push 0x94
mov eax, 0x10078f33
call fcn.10040a5d
mov ebx, ecx
mov dword [ebp - 0x70], ebx
cmp dword [0x100a6048], 0
je 0x10019c8c
lea eax, [ebp - 0x67]
mov word [ebp - 0x68], 0x33
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x67], 0
call fcn.10004181
xor edx, edx
mov dword [ebp - 4], edx
mov ecx, edx
movaps xmm0, xmmword [str.I:__.]
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x3d27
mov byte [ebp - 0x16], dl
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x11
jb 0x10019447
sub esp, 0x18
mov byte [ebp - 0x16], dl
lea eax, [ebp - 0x27]
mov ecx, esp
push eax
call fcn.10004181
mov ecx, dword [ebx]
call fcn.1000f474
mov ebx, eax
add esp, 0x18
mov dword [ebp - 0xa0], ebx
test ebx, ebx
je 0x10019c80
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push ebx
call esi
test eax, eax
jne 0x10019c80
mov ecx, ebx
call fcn.1000feae
lea ecx, [ebp - 0x44]
cmp ecx, eax
je 0x100194aa
push 0xffffffffffffffff
push 0
push eax
call fcn.10003e07
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.1004a90c
mov dword [ebp - 0x9c], eax
pop ecx
test eax, eax
jne 0x100194dc
mov edx, 0x1006
lea ecx, [ebp - 0x2c]
call fcn.1000adac
mov byte [ebp - 4], 1
jmp 0x1001990c
mov al, byte [ebp + 8]
sub al, 5
cmp al, 3
ja 0x100195f9
cmp byte [0x100a610a], 0
mov ebx, dword [0x100a6048]
je 0x10019525
mov ecx, 0x10b8134
call fcn.10010043
mov edi, eax
test edi, edi
je 0x10019525
push 4
push edi
call esi
test eax, eax
jne 0x10019525
push 4
add edi, 0x6dc
push edi
call esi
test eax, eax
jne 0x10019525
mov al, byte [edi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x10019599
sub eax, 1
jne 0x100195f9
mov ebx, dword [0x100a6048]
cmp byte [0x100a610a], al
je 0x10019574
mov ecx, 0x10b8134
call fcn.10010043
mov edi, eax
test edi, edi
je 0x10019574
push 4
push edi
call esi
test eax, eax
jne 0x10019574
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x10019574
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
push 3
add eax, 0xffffff37
pop ebx
cmp eax, ebx
ja 0x100195f9
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.1000adac
mov byte [ebp - 4], bl
jmp 0x1001990c
cmp byte [0x100a610a], 0
mov ebx, dword [0x100a6048]
je 0x100195d7
mov ecx, 0x10b8134
call fcn.10010043
mov edi, eax
test edi, edi
je 0x100195d7
push 4
push edi
call esi
test eax, eax
jne 0x100195d7
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x100195d7
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
add eax, 0xffffff9b
cmp eax, 3
ja 0x100195f9
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.1000adac
mov byte [ebp - 4], 2
jmp 0x1001990c
mov cl, byte [ebp + 8]
push 0x69
pop ebx
cmp cl, 8
jne 0x10019731
cmp byte [0x100a610a], 0
mov ebx, dword [0x100a6048]
je 0x10019644
mov ecx, 0x10b8134
call fcn.10010043
mov edi, eax
test edi, edi
je 0x10019644
push 4
push edi
call esi
test eax, eax
jne 0x10019644
push 4
add edi, 0x6dc
push edi
call esi
test eax, eax
jne 0x10019644
mov al, byte [edi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x100196c4
sub eax, 1
jne 0x10019982
mov ebx, dword [0x100a6048]
cmp byte [0x100a610a], al
je 0x10019693
mov ecx, 0x10b8134
call fcn.10010043
mov edi, eax
test edi, edi
je 0x10019693
push 4
push edi
call esi
test eax, eax
jne 0x10019693
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x10019693
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
sub eax, 0xcf
je 0x100196ae
dec eax
sub eax, 1
je 0x100196ae
dec eax
sub eax, 1
jne 0x10019982
mov edx, 0x1007
lea ecx, [ebp - 0x2c]
call fcn.1000adac
mov byte [ebp - 4], 5
jmp 0x1001990c
cmp byte [0x100a610a], 0
mov ebx, dword [0x100a6048]
je 0x10019702
mov ecx, 0x10b8134
call fcn.10010043
mov edi, eax
test edi, edi
je 0x10019702
push 4
push edi
call esi
test eax, eax
jne 0x10019702
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x10019702
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
sub eax, 0x6b
je 0x1001971b
dec eax
sub eax, 1
je 0x1001971b
dec eax
sub eax, 1
jne 0x10019982
mov edx, 0x1007
lea ecx, [ebp - 0x2c]
call fcn.1000adac
mov byte [ebp - 4], 4
jmp 0x1001990c
cmp cl, 7
jne 0x10019851
cmp byte [0x100a610a], 0
mov ebx, dword [0x100a6048]
je 0x10019776
mov ecx, 0x10b8134
call fcn.10010043
mov edi, eax
test edi, edi
je 0x10019776
push 4
push edi
call esi
test eax, eax
jne 0x10019776
push 4
add edi, 0x6dc
push edi
call esi
test eax, eax
jne 0x10019776
mov al, byte [edi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x100197ed
sub eax, 1
jne 0x10019982
mov ebx, dword [0x100a6048]
cmp byte [0x100a610a], al
je 0x100197c5
mov ecx, 0x10b8134
call fcn.10010043
mov edi, eax
test edi, edi
je 0x100197c5
push 4
push edi
call esi
test eax, eax
jne 0x100197c5
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x100197c5
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
mov ecx, 0xcd
cmp ax, cx
jne 0x10019982
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.1000adac
mov byte [ebp - 4], 7
jmp 0x1001990c
cmp byte [0x100a610a], 0
mov ebx, dword [0x100a6048]
je 0x1001982b
mov ecx, 0x10b8134
call fcn.10010043
mov edi, eax
test edi, edi
je 0x1001982b
push 4
push edi
call esi
test eax, eax
jne 0x1001982b
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x1001982b
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
push 0x69
pop ebx
cmp ax, bx
jne 0x10019985
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.1000adac
mov byte [ebp - 4], 6
jmp 0x1001990c
cmp cl, 6
jne 0x10019985
cmp byte [0x100a610a], 0
mov ebx, dword [0x100a6048]
je 0x10019896
mov ecx, 0x10b8134
call fcn.10010043
mov edi, eax
test edi, edi
je 0x10019896
push 4
push edi
call esi
test eax, eax
jne 0x10019896
push 4
add edi, 0x6dc
push edi
call esi
test eax, eax
jne 0x10019896
mov al, byte [edi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x1001992a
sub eax, 1
jne 0x10019982
mov ebx, dword [0x100a6048]
cmp byte [0x100a610a], al
je 0x100198e9
mov ecx, 0x10b8134
call fcn.10010043
mov edi, eax
test edi, edi
je 0x100198e9
push 4
push edi
call esi
test eax, eax
jne 0x100198e9
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x100198e9
mov ax, word [edi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
mov ecx, 0xcf
cmp ax, cx
jne 0x10019982
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.1000adac
mov byte [ebp - 4], 9
mov edx, 0xffff3b3b
lea ecx, [ebp - 0x2c]
call fcn.1000a59e
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10004036
jmp 0x10019c80
cmp byte [0x100a610a], 0
mov ebx, dword [0x100a6048]
je 0x10019968
mov ecx, 0x10b8134
call fcn.10010043
mov edi, eax
test edi, edi
je 0x10019968
push 4
push edi
call esi
test eax, eax
jne 0x10019968
push 4
add edi, 0x6e4
push edi
call esi
test eax, eax
jne 0x10019968
mov ax, word [edi]
mov word [ebx + 0x3e], ax
cmp word [ebx + 0x3e], 0x6b
jne 0x10019982
mov edx, 0x1005
lea ecx, [ebp - 0x2c]
call fcn.1000adac
mov byte [ebp - 4], 8
jmp 0x1001990c
push 0x69
pop ebx
movzx eax, byte [ebp + 8]
mov dword [ebp - 0x98], eax
sub eax, 5
je 0x10019a85
sub eax, 1
je 0x10019a39
sub eax, 1
je 0x100199fa
sub eax, 1
jne 0x10019c80
mov cl, 0x51
mov dword [ebp - 0x7c], 0x23252251
mov dword [ebp - 0x78], 0xe363f38
mov word [ebp - 0x74], 0x66
xor byte [ebp + eax - 0x7b], cl
inc eax
cmp eax, 8
jae 0x100199d4
mov cl, byte [ebp - 0x7c]
jmp 0x100199c5
mov byte [ebp - 0x73], 0
lea eax, [ebp - 0x7b]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10004181
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx]
call fcn.1000f474
mov ebx, eax
mov dword [ebp - 0x64], ebx
jmp 0x10019acf
mov cl, 0x6a
mov dword [ebp - 0x88], 0x181e196a
mov dword [ebp - 0x84], 0x350d0403
xor eax, eax
mov word [ebp - 0x80], 0x5c
xor byte [ebp + eax - 0x87], cl
inc eax
cmp eax, 8
jae 0x10019a2d
mov cl, byte [ebp - 0x88]
jmp 0x10019a18
mov byte [ebp - 0x7f], 0
lea eax, [ebp - 0x87]
jmp 0x100199db
mov cl, 7
mov dword [ebp - 0x94], 0x75737407
mov byte [ebp - 0x90], 0x6e
xor eax, eax
mov byte [ebp - 0x8f], bl
mov dword [ebp - 0x8e], 0x325860
xor byte [ebp + eax - 0x93], cl
inc eax
cmp eax, 8
jae 0x10019a73
mov cl, byte [ebp - 0x94]
jmp 0x10019a5e
mov byte [ebp - 0x8b], 0
lea eax, [ebp - 0x93]
jmp 0x100199db
push 3
pop ecx
mov byte [ebp - 0x20], cl
xor eax, eax
mov dword [ebp - 0x1f], 0x6a717770
mov dword [ebp - 0x1b], 0x375c646d
mov byte [ebp - 0x17], 0
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 8
jae 0x10019aae
mov cl, byte [ebp - 0x20]
jmp 0x10019a9f
sub esp, 0x18
mov byte [ebp - 0x17], 0
lea eax, [ebp - 0x1f]
mov ecx, esp
push eax
call fcn.10004181
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx]
call fcn.1000f474
mov ebx, eax
mov dword [ebp - 0x64], eax
add esp, 0x18
test ebx, ebx
je 0x10019c80
push 4
push ebx
call esi
test eax, eax
jne 0x10019c80
mov ecx, ebx
call fcn.1000feae
lea ecx, [ebp - 0x44]
cmp ecx, eax
je 0x10019aff
push 0xffffffffffffffff
push 0
push eax
call fcn.10003e07
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.1004a90c
cmp byte [0x100a610a], 0
mov ebx, eax
mov eax, dword [0x100a6048]
pop ecx
mov dword [ebp - 0x6c], eax
je 0x10019b5b
mov ecx, 0x10b8134
call fcn.10010043
mov edi, eax
test edi, edi
je 0x10019b58
push 4
push edi
call esi
test eax, eax
jne 0x10019b58
push 4
add edi, 0x6e8
push edi
call esi
test eax, eax
jne 0x10019b58
mov ecx, dword [ebp - 0x6c]
mov al, byte [edi]
mov byte [ecx + 0x3c], al
mov eax, ecx
jmp 0x10019b5b
mov eax, dword [ebp - 0x6c]
mov al, byte [eax + 0x3c]
movzx eax, al
cmp ebx, eax
jl 0x10019b7b
mov edx, 0x1131
lea ecx, [ebp - 0x2c]
call fcn.1000adac
mov byte [ebp - 4], 0xa
jmp 0x1001990c
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.1000ab17
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.1000acc1
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.1000acc1
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
sub edx, ecx
call fcn.1001011d
mov edi, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa0]
dec edi
mov edx, edi
call fcn.1000ff27
mov esi, dword [ebp - 0x70]
mov eax, dword [esi]
mov dword [eax + 0x158], edi
mov eax, dword [esi]
cmp dword [eax + 0x158], 0
ja 0x10019c26
mov ecx, dword [esi + 0x18]
mov dl, 2
call fcn.1000f778
mov ecx, dword [esi + 0x1c]
mov dl, 2
call fcn.1000f778
mov ecx, dword [esi + 0x20]
mov dl, 2
call fcn.1000f778
mov ecx, dword [esi + 0x24]
mov dl, 2
call fcn.1000f778
mov ecx, dword [ebp - 0x64]
inc ebx
mov edx, ebx
call fcn.1000ff27
mov eax, dword [ebp - 0x98]
sub eax, 5
je 0x10019c69
sub eax, 1
je 0x10019c5f
sub eax, 1
je 0x10019c55
sub eax, 1
jne 0x10019c71
mov eax, dword [esi]
mov dword [eax + 0x178], ebx
jmp 0x10019c71
mov eax, dword [esi]
mov dword [eax + 0x174], ebx
jmp 0x10019c71
mov eax, dword [esi]
mov dword [eax + 0x170], ebx
jmp 0x10019c71
mov eax, dword [esi]
mov dword [eax + 0x16c], ebx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x60], vtable.ByteBuffer.0
call fcn.1000ac55
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.10004036
call fcn.10040a07
ret 4