Function at 0x1001183b
Capabilities:
Encode data using xor

Disassembly:
push 0x68
mov eax, 0x100356db
call fcn.10034326
mov ebx, ecx
mov dword [ebp - 0x68], ebx
cmp dword [0x1007cfb0], 0
je 0x100120ab
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 0x44
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 [0x1003df30]
mov esi, dword [ebx]
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x1a00
mov byte [ebp - 0x12], dl
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x11
jb 0x1001188c
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.10009101
mov ebx, eax
add esp, 0x18
mov dword [ebp - 0x74], ebx
test ebx, ebx
je 0x100120a3
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push ebx
call edi
test eax, eax
jne 0x100120a3
mov ecx, ebx
call fcn.10009b39
push eax
lea ecx, [ebp - 0x44]
call fcn.10003baa
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 0x10011916
mov edx, 0x1006
lea ecx, [ebp - 0x28]
call fcn.10004cdd
mov byte [ebp - 4], 1
jmp 0x1001208e
movzx eax, byte [ebp + 8]
mov dword [ebp - 0x70], eax
sub eax, 5
je 0x10011935
sub eax, 1
je 0x10011935
sub eax, 1
je 0x10011935
sub eax, 1
jne 0x10011a56
cmp byte [0x1007cfbc], 0
mov ebx, dword [0x1007cfb0]
je 0x10011971
mov ecx, 0x10b8134
call fcn.10009ccd
mov esi, eax
test esi, esi
je 0x10011971
push 4
push esi
call edi
test eax, eax
jne 0x10011971
push 4
add esi, 0x6dc
push esi
call edi
test eax, eax
jne 0x10011971
mov al, byte [esi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x100119f0
sub eax, 1
jne 0x10011a56
mov ebx, dword [0x1007cfb0]
cmp byte [0x1007cfbc], al
je 0x100119c0
mov ecx, 0x10b8134
call fcn.10009ccd
mov esi, eax
test esi, esi
je 0x100119c0
push 4
push esi
call edi
test eax, eax
jne 0x100119c0
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x100119c0
mov ax, word [esi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
sub eax, 0xc9
je 0x100119da
sub eax, 1
je 0x100119da
sub eax, 1
je 0x100119da
sub eax, 1
jne 0x10011a56
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.10004cdd
mov byte [ebp - 4], 3
jmp 0x1001208e
cmp byte [0x1007cfbc], 0
mov ebx, dword [0x1007cfb0]
je 0x10011a2e
mov ecx, 0x10b8134
call fcn.10009ccd
mov esi, eax
test esi, esi
je 0x10011a2e
push 4
push esi
call edi
test eax, eax
jne 0x10011a2e
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x10011a2e
mov ax, word [esi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
sub eax, 0x65
je 0x1001207d
sub eax, 1
je 0x1001207d
sub eax, 1
je 0x1001207d
sub eax, 1
je 0x1001207d
mov cl, byte [ebp + 8]
cmp cl, 8
jne 0x10011b8b
cmp byte [0x1007cfbc], 0
mov ebx, dword [0x1007cfb0]
je 0x10011a9e
mov ecx, 0x10b8134
call fcn.10009ccd
mov esi, eax
test esi, esi
je 0x10011a9e
push 4
push esi
call edi
test eax, eax
jne 0x10011a9e
push 4
add esi, 0x6dc
push esi
call edi
test eax, eax
jne 0x10011a9e
mov al, byte [esi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x10011b1e
sub eax, 1
jne 0x10011ca5
mov ebx, dword [0x1007cfb0]
cmp byte [0x1007cfbc], al
je 0x10011aed
mov ecx, 0x10b8134
call fcn.10009ccd
mov esi, eax
test esi, esi
je 0x10011aed
push 4
push esi
call edi
test eax, eax
jne 0x10011aed
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x10011aed
mov ax, word [esi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
sub eax, 0xcf
je 0x10011b08
dec eax
sub eax, 1
je 0x10011b08
dec eax
sub eax, 1
jne 0x10011ca5
mov edx, 0x1007
lea ecx, [ebp - 0x28]
call fcn.10004cdd
mov byte [ebp - 4], 5
jmp 0x1001208e
cmp byte [0x1007cfbc], 0
mov ebx, dword [0x1007cfb0]
je 0x10011b5c
mov ecx, 0x10b8134
call fcn.10009ccd
mov esi, eax
test esi, esi
je 0x10011b5c
push 4
push esi
call edi
test eax, eax
jne 0x10011b5c
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x10011b5c
mov ax, word [esi]
mov word [ebx + 0x3e], ax
movzx eax, word [ebx + 0x3e]
sub eax, 0x6b
je 0x10011b75
dec eax
sub eax, 1
je 0x10011b75
dec eax
sub eax, 1
jne 0x10011db6
mov edx, 0x1007
lea ecx, [ebp - 0x28]
call fcn.10004cdd
mov byte [ebp - 4], 4
jmp 0x1001208e
cmp cl, 7
jne 0x10011ca5
cmp byte [0x1007cfbc], 0
mov ebx, dword [0x1007cfb0]
je 0x10011bd0
mov ecx, 0x10b8134
call fcn.10009ccd
mov esi, eax
test esi, esi
je 0x10011bd0
push 4
push esi
call edi
test eax, eax
jne 0x10011bd0
push 4
add esi, 0x6dc
push esi
call edi
test eax, eax
jne 0x10011bd0
mov al, byte [esi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x10011c44
sub eax, 1
jne 0x10011db6
mov ebx, dword [0x1007cfb0]
cmp byte [0x1007cfbc], al
je 0x10011c1f
mov ecx, 0x10b8134
call fcn.10009ccd
mov esi, eax
test esi, esi
je 0x10011c1f
push 4
push esi
call edi
test eax, eax
jne 0x10011c1f
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x10011c1f
mov ax, word [esi]
mov word [ebx + 0x3e], ax
mov eax, 0xcd
cmp word [ebx + 0x3e], ax
jne 0x10011db6
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.10004cdd
mov byte [ebp - 4], 7
jmp 0x1001208e
cmp byte [0x1007cfbc], 0
mov ebx, dword [0x1007cfb0]
je 0x10011c82
mov ecx, 0x10b8134
call fcn.10009ccd
mov esi, eax
test esi, esi
je 0x10011c82
push 4
push esi
call edi
test eax, eax
jne 0x10011c82
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x10011c82
mov ax, word [esi]
mov word [ebx + 0x3e], ax
push 0x69
pop edx
cmp word [ebx + 0x3e], dx
jne 0x10011db9
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.10004cdd
mov byte [ebp - 4], 6
jmp 0x1001208e
cmp byte [ebp + 8], 6
jne 0x10011db6
cmp byte [0x1007cfbc], 0
mov ebx, dword [0x1007cfb0]
je 0x10011ceb
mov ecx, 0x10b8134
call fcn.10009ccd
mov esi, eax
test esi, esi
je 0x10011ceb
push 4
push esi
call edi
test eax, eax
jne 0x10011ceb
push 4
add esi, 0x6dc
push esi
call edi
test eax, eax
jne 0x10011ceb
mov al, byte [esi]
mov byte [ebx + 0x38], al
movzx eax, byte [ebx + 0x38]
sub eax, 1
je 0x10011d5b
sub eax, 1
jne 0x10011db6
mov ebx, dword [0x1007cfb0]
cmp byte [0x1007cfbc], al
je 0x10011d3a
mov ecx, 0x10b8134
call fcn.10009ccd
mov esi, eax
test esi, esi
je 0x10011d3a
push 4
push esi
call edi
test eax, eax
jne 0x10011d3a
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x10011d3a
mov ax, word [esi]
mov word [ebx + 0x3e], ax
mov eax, 0xcf
cmp word [ebx + 0x3e], ax
jne 0x10011db6
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.10004cdd
mov byte [ebp - 4], 9
jmp 0x1001208e
cmp byte [0x1007cfbc], 0
mov ebx, dword [0x1007cfb0]
je 0x10011d99
mov ecx, 0x10b8134
call fcn.10009ccd
mov esi, eax
test esi, esi
je 0x10011d99
push 4
push esi
call edi
test eax, eax
jne 0x10011d99
push 4
add esi, 0x6e4
push esi
call edi
test eax, eax
jne 0x10011d99
mov ax, word [esi]
mov word [ebx + 0x3e], ax
cmp word [ebx + 0x3e], 0x6b
jne 0x10011db6
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.10004cdd
mov byte [ebp - 4], 8
jmp 0x1001208e
push 0x69
pop edx
mov eax, dword [ebp - 0x70]
sub eax, 5
je 0x10011e67
sub eax, 1
je 0x10011e34
sub eax, 1
je 0x10011e08
sub eax, 1
jne 0x100120a3
mov eax, dword [ebp - 0x68]
mov cl, 0x4f
mov dword [ebp - 0x1c], 0x3d3b3c4f
mov dword [ebp - 0x18], 0x10282126
mov word [ebp - 0x14], 0x78
mov esi, dword [eax]
xor eax, eax
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 8
jae 0x10011e94
mov cl, byte [ebp - 0x1c]
jmp 0x10011df5
mov eax, dword [ebp - 0x68]
mov cl, 0xb
mov dword [ebp - 0x1c], 0x797f780b
mov dword [ebp - 0x18], 0x546c6562
mov word [ebp - 0x14], 0x3d
mov esi, dword [eax]
xor eax, eax
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 8
jae 0x10011e94
mov cl, byte [ebp - 0x1c]
jmp 0x10011e25
mov eax, dword [ebp - 0x68]
xor edx, edx
mov cl, 0x73
mov dword [ebp - 0x1c], 0x1070073
mov dword [ebp - 0x18], 0x2c141d1a
mov word [ebp - 0x14], 0x46
mov esi, dword [eax]
mov eax, edx
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 8
jae 0x10011e62
mov cl, byte [ebp - 0x1c]
jmp 0x10011e53
mov byte [ebp - 0x13], dl
jmp 0x10011e98
mov eax, dword [ebp - 0x68]
mov cl, 0x5d
mov dword [ebp - 0x1c], 0x2f292e5d
mov dword [ebp - 0x18], 0x23a3334
mov byte [ebp - 0x14], dl
mov esi, dword [eax]
xor eax, eax
mov byte [ebp - 0x13], 0
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 8
jae 0x10011e94
mov cl, byte [ebp - 0x1c]
jmp 0x10011e85
mov byte [ebp - 0x13], 0
sub esp, 0x18
lea eax, [ebp - 0x1b]
mov ecx, esp
push eax
call fcn.10002604
mov ecx, esi
call fcn.10009101
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x100120a3
push 4
push ebx
call edi
test eax, eax
jne 0x100120a3
mov ecx, ebx
call fcn.10009b39
push eax
lea ecx, [ebp - 0x44]
call fcn.10003baa
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 [0x1007cfbc], 0
mov esi, eax
mov eax, dword [0x1007cfb0]
pop ecx
mov dword [ebp - 0x2c], eax
je 0x10011f3d
mov ecx, 0x10b8134
call fcn.10009ccd
mov dword [ebp - 0x64], eax
test eax, eax
je 0x10011f3a
push 4
push eax
call edi
test eax, eax
jne 0x10011f3a
mov eax, dword [ebp - 0x64]
add eax, 0x6e8
push 4
push eax
mov dword [ebp - 0x64], eax
call edi
test eax, eax
jne 0x10011f3a
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x2c]
mov al, byte [eax]
mov byte [ecx + 0x3c], al
mov eax, ecx
jmp 0x10011f3d
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + 0x3c]
cmp esi, eax
jl 0x10011f5b
mov edx, 0x1131
lea ecx, [ebp - 0x28]
call fcn.10004cdd
mov byte [ebp - 4], 0xa
jmp 0x1001208e
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.10004a46
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.10004be8
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.10004be8
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 0x10011fd3
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.10009bb9
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 0x10012025
mov ecx, dword [edi + 0x18]
mov dl, 2
call fcn.10009401
mov ecx, dword [edi + 0x1c]
mov dl, 2
call fcn.10009401
mov ecx, dword [edi + 0x20]
mov dl, 2
call fcn.10009401
mov ecx, dword [edi + 0x24]
mov dl, 2
call fcn.10009401
inc esi
mov ecx, ebx
mov edx, esi
call fcn.10009bb9
mov eax, dword [ebp - 0x70]
sub eax, 5
je 0x10012064
sub eax, 1
je 0x1001205a
sub eax, 1
je 0x10012050
sub eax, 1
jne 0x1001206c
mov eax, dword [edi]
mov dword [eax + 0x178], esi
jmp 0x1001206c
mov eax, dword [edi]
mov dword [eax + 0x174], esi
jmp 0x1001206c
mov eax, dword [edi]
mov dword [eax + 0x170], esi
jmp 0x1001206c
mov eax, dword [edi]
mov dword [eax + 0x16c], esi
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x60], vtable.ByteBuffer.0
call fcn.10004abd
jmp 0x100120a3
mov edx, 0x1005
lea ecx, [ebp - 0x28]
call fcn.10004cdd
mov byte [ebp - 4], 2
mov edx, 0xffff3b3b
lea ecx, [ebp - 0x28]
call fcn.10004384
lea ecx, [ebp - 0x28]
call fcn.10002410
lea ecx, [ebp - 0x44]
call fcn.10002410
call fcn.100342e4
ret 4