Function at 0x140130420
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x300
mov qword [rbp - 0x2d0], rbx
mov qword [rbp - 0x2c8], rsi
mov qword [rbp - 0x2c0], rdi
mov qword [rbp - 0x2b8], r12
mov qword [rbp - 0x2b0], r13
mov qword [rbp - 0x2a8], r14
mov r12, rcx
mov r13, rdx
mov rbx, r8
movzx eax, byte [r12 + 0x14]
cmp al, 0x73
jne 0x140130667
mov rcx, r12
call fcn.140020ee0
xor al, 1
je 0x140130586
lea rdx, [rbp - 0x270]
mov rcx, r13
call fcn.1401040a0
mov rsi, rax
lea rdi, [rbp - 0x1e0]
mov ecx, reloc.WS2_32.dll_recvfrom
rep movsq qword [rdi], qword [rsi]
lea rcx, [rbp - 0x1e0]
call fcn.140131d50
mov r14, rax
cmp dword [r12 + 4], 0x7ffffffe
je 0x1401304c6
movsxd rax, dword [r12 + 4]
cmp rax, r14
jae 0x1401304c6
movsxd r14, dword [r12 + 4]
movsxd rdx, dword [r12]
cmp r14, rdx
jae 0x1401304ee
xor esi, esi
mov rdi, rdx
sub rdi, r14
je 0x1401304ee
mov rdx, rbx
mov ecx, 0x20
call fcn.1400f1e30
inc rsi
cmp rsi, rdi
jb 0x1401304d9
cmp dword [r12 + 4], 0x7ffffffe
jne 0x14013051f
mov rdx, rbx
mov rsi, r13
lea rdi, [rbp - 0x150]
mov ecx, reloc.WS2_32.dll_recvfrom
rep movsq qword [rdi], qword [rsi]
lea rcx, [rbp - 0x150]
call fcn.140131da0
jmp 0x1401308d6
xor esi, esi
mov rcx, r13
call fcn.140103d90
xor al, 1
je 0x1401308d6
cmp dword [r12 + 4], esi
je 0x1401308d6
mov rdx, rbx
mov qword [rbp - 0x278], rdx
mov rcx, r13
call fcn.1400c3ad0
mov ecx, eax
mov rdx, qword [rbp - 0x278]
call fcn.1400f1e30
mov rcx, r13
call fcn.140103da0
inc rsi
mov rcx, r13
call fcn.140103d90
xor al, 1
je 0x1401308d6
movsxd rdx, dword [r12 + 4]
cmp rsi, rdx
jb 0x14013053c
jmp 0x1401308d6
cmp dword [r12 + 4], 0x7ffffffe
jne 0x1401305dc
xor esi, esi
mov rcx, r13
call fcn.140103d90
xor al, 1
je 0x140130632
mov rdx, rbx
mov qword [rbp - 0x280], rdx
mov rcx, r13
call fcn.1400c3ad0
mov ecx, eax
mov rdx, qword [rbp - 0x280]
call fcn.1400f1e30
mov rcx, r13
call fcn.140103da0
inc rsi
mov rcx, r13
call fcn.140103d90
xor al, 1
jne 0x1401305a3
jmp 0x140130632
xor esi, esi
mov rcx, r13
call fcn.140103d90
xor al, 1
je 0x140130632
cmp dword [r12 + 4], esi
je 0x140130632
mov rdx, rbx
mov qword [rbp - 0x288], rdx
mov rcx, r13
call fcn.1400c3ad0
mov ecx, eax
mov rdx, qword [rbp - 0x288]
call fcn.1400f1e30
mov rcx, r13
call fcn.140103da0
inc rsi
mov rcx, r13
call fcn.140103d90
xor al, 1
je 0x140130632
movsxd rdx, dword [r12 + 4]
cmp rsi, rdx
jb 0x1401305f1
movsxd rdx, dword [r12]
cmp rsi, rdx
jae 0x1401308d6
xor edi, edi
mov r13, rdx
sub r13, rsi
je 0x1401308d6
mov rdx, rbx
mov ecx, 0x20
call fcn.1400f1e30
inc rdi
cmp rdi, r13
jb 0x14013064d
jmp 0x1401308d6
cmp al, 0x72
jne 0x1401306b7
mov rcx, r13
call fcn.140103d90
xor al, 1
je 0x1401308d6
mov r8, rbx
mov qword [rbp - 0x290], r8
mov rcx, r13
call fcn.1400c3ad0
mov edx, eax
mov r8, qword [rbp - 0x290]
mov rcx, r12
call fcn.140131dd0
mov rcx, r13
call fcn.140103da0
mov rcx, r13
call fcn.140103d90
xor al, 1
jne 0x14013067b
jmp 0x1401308d6
cmp al, 0x28
jne 0x140130863
mov rcx, r13
call fcn.140103d90
test al, al
jne 0x1401308d6
lea rsi, [0x1401746a0]
lea rdi, [rbp - 0xc0]
mov ecx, 9
rep movsq qword [rdi], qword [rsi]
mov rdx, qword [r12 + 0x20]
mov rax, qword [r12 + 0x18]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rdx
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0xc0]
call fcn.140020f50
mov rdx, rbx
lea rcx, [rbp - 0xc0]
call fcn.140019c10
xor al, 1
jne 0x1401307c1
mov rcx, r12
call fcn.140020ee0
test al, al
je 0x140130753
mov r8, rbx
mov qword [rbp - 0x298], r8
mov rcx, r13
call fcn.1400c3ad0
mov edx, eax
mov r8, qword [rbp - 0x298]
lea rcx, [rbp - 0xc0]
call fcn.140131dd0
jmp 0x14013077a
mov r8, rbx
mov qword [rbp - 0x2a0], r8
mov rcx, r13
call fcn.1400c3ad0
mov edx, eax
mov r8, qword [rbp - 0x2a0]
lea rcx, [rbp - 0xc0]
call fcn.140131e00
xor esi, esi
cmp qword [rbp - 0x88], rsi
je 0x1401307c1
cmp rsi, qword [rbp - 0x88]
jae 0x140130905
mov r10, qword [rbp - 0x80]
cmp byte [r10 + rsi], 0x25
jne 0x1401307b5
mov rdx, rbx
lea rcx, [rbp - 0xc0]
call fcn.140019c10
xor al, 1
jne 0x1401307c1
jmp 0x14013071e
inc rsi
cmp rsi, qword [rbp - 0x88]
jb 0x140130785
mov rax, qword [r12 + 0x30]
or rax, qword [r12 + 0x28]
je 0x140130827
mov rdx, rbx
mov rdi, qword [rbp - 0x88]
mov qword [rbp - 0x60], rdi
mov rsi, qword [rbp - 0x80]
mov qword [rbp - 0x58], rsi
lea rcx, [rbp - 0x60]
call fcn.1400745c0
mov rcx, r13
call fcn.140103da0
mov rcx, r13
call fcn.140103d90
test al, al
jne 0x1401308d6
mov rdx, rbx
mov rcx, qword [r12 + 0x30]
mov rax, qword [r12 + 0x28]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x50]
call fcn.1400745c0
jmp 0x1401306cf
mov rcx, r13
call fcn.140103da0
mov rcx, r13
call fcn.140103d90
test al, al
jne 0x1401308d6
mov rdx, rbx
mov rsi, qword [rbp - 0x88]
mov qword [rbp - 0x40], rsi
mov rax, qword [rbp - 0x80]
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x40]
call fcn.1400745c0
jmp 0x1401306cf
lea rcx, [0x1401877f0]
call fcn.1400a9c50
mov rsi, rax
lea rdx, str.Incorrect_format_specifier_for_range:__
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x30], 0x27
lea rdx, [rbp - 0x30]
movzx ecx, byte [r12 + 0x14]
call fcn.14001a820
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
lea rax, [rbp - 0x20]
mov qword [rbp - 0x2e0], rax
lea rbx, str.std_formatinternalwrite.d
mov qword [rbp - 8], rbx
mov qword [rbp - 0x10], 0x1b
lea r9, [rbp - 0x10]
mov r8d, 0x661
xor edx, edx
mov rcx, rsi
call fcn.14003dc70
mov rcx, rax
call fcn.1400b3dc0
mov rbx, qword [rbp - 0x2d0]
mov rsi, qword [rbp - 0x2c8]
mov rdi, qword [rbp - 0x2c0]
mov r12, qword [rbp - 0x2b8]
mov r13, qword [rbp - 0x2b0]
mov r14, qword [rbp - 0x2a8]
mov rsp, rbp
pop rbp
ret
mov rax, qword [rbp - 0x88]
mov qword [rbp - 0x2e0], rax
mov r9, rsi
xor r8d, r8d
mov edx, 0x644
lea rcx, str.std_formatinternalwrite.d
call fcn.1400b24b0
int3