Function at 0x180096fa0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x338]
sub rsp, 0x410
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x180174838]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov qword [rsp + 0x70], rcx
mov qword [rbp + 0x1b0], rcx
xor eax, eax
mov byte [0x18017739c], 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x220], xmm0
mov qword [rbp + 0x230], rax
mov qword [rbp + 0x238], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x220], al
movups xmmword [rbp + 0x240], xmm0
mov esi, eax
mov qword [rbp + 0x250], rax
mov qword [rbp + 0x258], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x240], al
mov edi, eax
mov qword [rbp + 0x260], rax
lea r12, [0x1801744c8]
mov r13, qword [0x1801744d8]
test r13, r13
jne 0x18009711a
mov rbx, qword [0x1801773f0]
lea rax, [rbp + 0x220]
cmp rax, rbx
je 0x18009708a
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x180097073
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp + 0x220]
call fcn.18000b3a0
mov rdi, qword [rbp + 0x260]
lea rdx, [rbx + 0x20]
lea rax, [rbp + 0x240]
cmp rax, rdx
je 0x1800970bb
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1800970a8
mov rdx, qword [rdx]
lea rcx, [rbp + 0x240]
call fcn.18000b3a0
mov rdi, qword [rbp + 0x260]
test rdi, rdi
je 0x1800970c9
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx + 0x40]
mov qword [rbp + 0x260], rcx
test rcx, rcx
je 0x1800970df
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea rdx, [rbp + 0x220]
cmp qword [rbp + 0x238], 0x10
cmovae rdx, qword [rbp + 0x220]
mov r8, qword [rbp + 0x230]
mov rcx, r12
call fcn.18000b3a0
mov rdi, qword [rbp + 0x260]
mov rsi, qword [rbp + 0x250]
mov r13, qword [0x1801744d8]
cmp qword [rbp + 0x230], 0
jne 0x18009732e
xor r15b, r15b
mov rbx, qword [0x1801773f0]
mov rax, qword [0x1801773f8]
cmp rbx, rax
je 0x18009726e
mov rdx, r12
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x1801744c8]
mov r14, qword [rbx + 0x10]
mov rcx, rbx
mov r12, qword [rbx + 0x18]
cmp r12, 0x10
jb 0x180097169
mov rcx, qword [rbx]
cmp r14, r13
jne 0x180097186
mov r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov rax, qword [0x1801773f8]
jne 0x180097186
mov r15b, 1
jmp 0x18009718b
test r15b, r15b
jne 0x1800971a7
add rbx, 0x48
cmp rbx, rax
lea r12, [0x1801744c8]
jne 0x180097142
lea r12, [0x1801744c8]
jmp 0x18009726e
lea rax, [rbp + 0x220]
cmp rax, rbx
je 0x1800971dc
mov rdx, rbx
cmp r12, 0x10
jb 0x1800971bf
mov rdx, qword [rbx]
mov r8, r14
lea rcx, [rbp + 0x220]
call fcn.18000b3a0
mov rdi, qword [rbp + 0x260]
mov rsi, qword [rbp + 0x250]
lea rdx, [rbx + 0x20]
lea rax, [rbp + 0x240]
cmp rax, rdx
je 0x180097214
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1800971fa
mov rdx, qword [rdx]
lea rcx, [rbp + 0x240]
call fcn.18000b3a0
mov rdi, qword [rbp + 0x260]
mov rsi, qword [rbp + 0x250]
test rdi, rdi
je 0x180097222
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
mov rdi, qword [rbx + 0x40]
mov qword [rbp + 0x260], rdi
test rdi, rdi
je 0x18009723b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
lea r12, [0x1801744c8]
cmp r12, rbx
je 0x180097260
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180097255
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, r12
call fcn.18000b3a0
cmp qword [rbp + 0x230], 0
jne 0x18009732e
mov rbx, qword [0x1801773f0]
lea rax, [rbp + 0x220]
cmp rax, rbx
je 0x1800972a5
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18009728e
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp + 0x220]
call fcn.18000b3a0
mov rdi, qword [rbp + 0x260]
lea rdx, [rbx + 0x20]
lea rax, [rbp + 0x240]
cmp rax, rdx
je 0x1800972d6
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1800972c3
mov rdx, qword [rdx]
lea rcx, [rbp + 0x240]
call fcn.18000b3a0
mov rdi, qword [rbp + 0x260]
test rdi, rdi
je 0x1800972e4
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx + 0x40]
mov qword [rbp + 0x260], rcx
test rcx, rcx
je 0x1800972fa
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea rdx, [rbp + 0x220]
cmp qword [rbp + 0x238], 0x10
cmovae rdx, qword [rbp + 0x220]
mov r8, qword [rbp + 0x230]
mov rcx, r12
call fcn.18000b3a0
mov rdi, qword [rbp + 0x260]
mov rsi, qword [rbp + 0x250]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d8], xmm0
xor r13d, r13d
mov qword [rbp + 0x1e8], r13
mov qword [rbp + 0x1f0], r13
lea r14, [rbp + 0x240]
cmp qword [rbp + 0x258], 0x10
cmovae r14, qword [rbp + 0x240]
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x18009862f
lea ecx, [r13 + 0x16]
cmp rsi, 0x10
jae 0x18009739d
mov qword [rbp + 0x1e8], rsi
mov ecx, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x1f0], rcx
movups xmm0, xmmword [r14]
movups xmmword [rbp + 0x1d8], xmm0
jmp 0x180097402
mov qword [rbp + 0x1f0], reloc.WS2_32.dll_ntohs
mov rbx, rsi
or rbx, 0xf
cmp rbx, rax
jbe 0x1800973b9
mov rbx, rax
jmp 0x1800973c0
cmp rbx, rcx
cmovb rbx, rcx
lea rdx, [rbx + 1]
lea rcx, [rbp + 0x1d8]
call fcn.18000b500
mov qword [rbp + 0x1d8], rax
mov qword [rbp + 0x1e8], rsi
mov qword [rbp + 0x1f0], rbx
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbp + 0x1f0]
mov rsi, qword [rbp + 0x1e8]
lea rax, [rbp + 0x1d8]
cmp rcx, 0x10
cmovae rax, qword [rbp + 0x1d8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rsi
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x1f8]
call fcn.180073820
nop
lea rcx, [rbp + 0x1f8]
cmp qword [rbp + 0x210], 8
cmovae rcx, qword [rbp + 0x1f8]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x290]
call fcn.1800f4974
mov edx, eax
mov esi, 0x1ff
mov r15d, 4
mov r8d, 0x16d
test eax, eax
jne 0x1800974c1
mov ecx, dword [rbp + 0x2a0]
test cl, 1
mov eax, esi
cmovne eax, r8d
mov dword [rsp + 0x54], eax
bt ecx, 0xa
jae 0x1800974b3
mov eax, dword [rbp + 0x2a4]
cmp eax, 0xa000000c
jne 0x1800974a5
mov eax, r15d
jmp 0x1800974e5
cmp eax, 0xa0000003
jne 0x1800974b3
mov eax, 0xa
jmp 0x1800974e5
movzx eax, cl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x1800974e5
mov dword [rsp + 0x54], 0xffff
sub eax, 2
je 0x1800974e0
sub eax, 1
je 0x1800974e0
sub eax, 0x32
je 0x1800974e0
cmp eax, 0x46
mov eax, r13d
jne 0x1800974e5
mov eax, 1
mov dword [rsp + 0x50], edx
lea r14, [0x180174598]
mov qword [rsp + 0x58], r14
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
test eax, eax
je 0x180097634
cmp eax, 1
sete bl
lea rcx, [rbp + 0x1f8]
call fcn.18000a270
test bl, bl
je 0x180097592
lea rax, [rbp + 0x1d8]
cmp qword [rbp + 0x1f0], 0x10
cmovae rax, qword [rbp + 0x1d8]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0x1e8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x1f8]
call fcn.180073820
nop
lea rcx, [rbp + 0x1f8]
cmp qword [rbp + 0x210], 8
cmovae rcx, qword [rbp + 0x1f8]
call fcn.1800f47dc
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x180098635
lea rcx, [rbp + 0x1f8]
call fcn.18000a270
lea rax, [rbp + 0x1d8]
cmp qword [rbp + 0x1f0], 0x10
cmovae rax, qword [rbp + 0x1d8]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0x1e8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x1f8]
call fcn.180073820
nop
lea rcx, [rbp + 0x1f8]
cmp qword [rbp + 0x210], 8
cmovae rcx, qword [rbp + 0x1f8]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x290]
call fcn.1800f4974
mov r8d, eax
test eax, eax
jne 0x18009765f
mov edx, dword [rbp + 0x2a0]
test dl, 1
mov ecx, esi
mov eax, 0x16d
cmovne ecx, eax
mov dword [rsp + 0x54], ecx
bt edx, 0xa
jae 0x180097651
mov eax, dword [rbp + 0x2a4]
cmp eax, 0xa000000c
jne 0x180097643
mov eax, r15d
jmp 0x180097683
mov bl, 1
test edx, edx
jne 0x1800985cc
jmp 0x18009750e
cmp eax, 0xa0000003
jne 0x180097651
mov eax, 0xa
jmp 0x180097683
movzx eax, dl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x180097683
mov dword [rsp + 0x54], 0xffff
sub eax, 2
je 0x18009767e
sub eax, 1
je 0x18009767e
sub eax, 0x32
je 0x18009767e
cmp eax, 0x46
mov eax, r13d
jne 0x180097683
mov eax, 1
mov dword [rsp + 0x50], r8d
mov qword [rsp + 0x58], r14
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
test eax, eax
je 0x18009776f
cmp eax, 1
setne bl
lea rcx, [rbp + 0x1f8]
call fcn.18000a270
mov r14, 0xffffffffffffffff
test bl, bl
je 0x180098278
mov rdx, qword [0x1801744d8]
mov qword [rsp + 0x60], rdx
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rdx
cmp rax, 0xf
jb 0x18009864d
mov r9, r12
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae r9, qword [0x1801744c8]
mov qword [rsp + 0x50], r9
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1c8], xmm1
lea r13, [rdx + 0xf]
mov ebx, reloc.WS2_32.dll_ntohs
lea rsi, [rbp + 0x1b8]
movabs rax, 0x8000000000000000
cmp r13, rbx
jbe 0x1800977d1
mov rbx, r13
or rbx, 0xf
cmp rbx, rcx
jbe 0x18009777f
mov rbx, rcx
add rax, 0x27
mov rcx, rax
call fcn.1800f4ff4
test rax, rax
je 0x1800977a8
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
mov rdx, qword [rsp + 0x60]
mov r9, qword [rsp + 0x50]
jmp 0x1800977ca
xor bl, bl
test r8d, r8d
jne 0x1800985e5
jmp 0x1800976a6
cmp rbx, 0x16
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1800977af
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800985fe
jmp 0x18009774a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1800977c8
call fcn.1800f4ff4
mov rsi, rax
mov rdx, qword [rsp + 0x60]
mov r9, qword [rsp + 0x50]
jmp 0x1800977ca
xor esi, esi
mov qword [rbp + 0x1b8], rsi
mov qword [rbp + 0x1c8], r13
mov qword [rbp + 0x1d0], rbx
movsd xmm0, qword [str.client_script_]
movsd qword [rsi], xmm0
mov eax, dword [0x180128a70]
mov dword [rsi + 8], eax
movzx eax, word [0x180128a74]
mov word [rsi + 0xc], ax
movzx eax, byte [0x180128a76]
mov byte [rsi + 0xe], al
lea rcx, [rsi + 0xf]
mov r8, rdx
mov rdx, r9
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + r13], 0
mov rcx, qword [rbp + 0x1c8]
mov rdx, qword [rbp + 0x1d0]
mov rax, rdx
sub rax, rcx
cmp rax, 5
jb 0x18009787a
lea rax, [rcx + 5]
mov qword [rbp + 0x1c8], rax
lea rbx, [rbp + 0x1b8]
cmp rdx, 0x10
cmovae rbx, qword [rbp + 0x1b8]
add rbx, rcx
mov r8d, 5
lea rdx, str..lua
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 5], 0
lea rax, [rbp + 0x1b8]
jmp 0x18009789d
mov qword [rsp + 0x20], 5
lea r9, str..lua
xor r8d, r8d
lea edx, [r8 + 5]
lea rcx, [rbp + 0x1b8]
call fcn.18000c010
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1f8], xmm0
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp + 0x208], xmm6
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x1d0]
cmp rdx, 0x10
jb 0x180097909
inc rdx
mov rcx, qword [rbp + 0x1b8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180097904
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180097904
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f5030
movdqa xmm0, xmmword [0x180109f10]
movdqu xmmword [rbp + 0x1c8], xmm0
mov byte [rbp + 0x1b8], 0
mov r13, qword [0x1801744d8]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 4
jb 0x180098653
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae r12, qword [0x1801744c8]
xorps xmm0, xmm0
movups xmmword [rbp + 0x2b0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x2c0], xmm1
lea rax, [r13 + 4]
mov ebx, reloc.WS2_32.dll_ntohs
lea rsi, [rbp + 0x2b0]
cmp rax, rbx
jbe 0x180097a04
mov rbx, rax
or rbx, 0xf
cmp rbx, rcx
jbe 0x1800979bf
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1800f4ff4
test rax, rax
je 0x180098225
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
lea rax, [r13 + 4]
jmp 0x1800979fd
cmp rbx, 0x16
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1800979e8
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180098604
jmp 0x18009799c
test rcx, rcx
je 0x1800979fb
call fcn.1800f4ff4
mov rsi, rax
lea rax, [r13 + 4]
jmp 0x1800979fd
xor esi, esi
mov qword [rbp + 0x2b0], rsi
mov qword [rbp + 0x2c0], rax
mov qword [rbp + 0x2c8], rbx
mov r8, r13
mov rdx, r12
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsi + r13], 0x61756c2e
mov byte [rsi + r13 + 4], 0
movdqa xmm0, xmmword [0x18012ac90]
movdqu xmmword [rbp + 0x1b8], xmm0
mov byte [rbp + 0x1c8], 1
xor r8d, r8d
mov ecx, r8d
nop dword [rax + rax]
lea eax, [rcx + 0x78]
xor byte [rbp + rcx + 0x1b8], al
inc rcx
cmp rcx, 0xf
jb 0x180097a50
mov byte [rbp + 0x1c8], r8b
mov rdx, qword [rbp + 0x1e8]
mov qword [rsp + 0x60], rdx
lea rax, [rbp + 0x1b8]
mov rbx, r14
inc rbx
cmp byte [rax + rbx], r8b
jne 0x180097a80
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rdx
cmp rax, rbx
jb 0x180098659
lea rax, [rbp + 0x1d8]
cmp qword [rbp + 0x1f0], 0x10
cmovae rax, qword [rbp + 0x1d8]
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x270], xmm0
mov qword [rbp + 0x280], r8
mov qword [rbp + 0x288], r8
lea r13, [rdx + rbx]
mov esi, reloc.WS2_32.dll_ntohs
lea r12, [rbp + 0x270]
cmp r13, rsi
jbe 0x180097b82
mov rsi, r13
or rsi, 0xf
cmp rsi, rcx
jbe 0x180097b36
mov rsi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1800f4ff4
test rax, rax
je 0x1800981c8
lea r12, [rax + 0x27]
and r12, 0xffffffffffffffe0
mov qword [r12 - 8], rax
mov rax, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
jmp 0x180097b7b
cmp rsi, 0x16
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmovb rsi, rcx
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x180097b5f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18009860a
jmp 0x180097b0c
test rcx, rcx
je 0x180097b78
call fcn.1800f4ff4
mov r12, rax
mov rax, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
jmp 0x180097b7b
mov r12, r8
mov qword [rbp + 0x270], r12
mov qword [rbp + 0x280], r13
mov qword [rbp + 0x288], rsi
mov r8, rdx
mov rdx, rax
mov rcx, r12
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x60]
add rcx, r12
mov r8, rbx
lea rdx, [rbp + 0x1b8]
call sub.VCRUNTIME140.dll_memcpy
mov byte [r12 + r13], 0
lea rax, [rbp + 0x270]
cmp qword [rbp + 0x288], 0x10
cmovae rax, qword [rbp + 0x270]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0x280]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x1b8]
call fcn.180073820
nop
lea rcx, [rbp + 0x1b8]
cmp qword [rbp + 0x1d0], 8
cmovae rcx, qword [rbp + 0x1b8]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x2d0]
call fcn.1800f4974
mov r8d, eax
test eax, eax
jne 0x180097c79
mov edx, dword [rbp + 0x2e0]
test dl, 1
mov eax, 0x1ff
mov ecx, 0x16d
cmovne eax, ecx
mov dword [rsp + 0x54], eax
bt edx, 0xa
jae 0x180097c67
mov eax, dword [rbp + 0x2e4]
cmp eax, 0xa000000c
je 0x180097ca0
cmp eax, 0xa0000003
jne 0x180097c67
lea r15d, [r8 + 0xa]
jmp 0x180097ca0
movzx r15d, dl
and r15d, 0x10
or r15d, 0x20
shr r15d, 4
jmp 0x180097ca0
mov dword [rsp + 0x54], 0xffff
sub eax, 2
je 0x180097c9a
sub eax, 1
je 0x180097c9a
sub eax, 0x32
je 0x180097c9a
cmp eax, 0x46
je 0x180097c9a
xor r15d, r15d
jmp 0x180097ca0
mov r15d, 1
mov dword [rsp + 0x50], r8d
lea rax, [0x180174598]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
test r15d, r15d
je 0x180097e50
cmp r15d, 1
sete bl
lea rcx, [rbp + 0x1b8]
call fcn.18000a270
lea rsi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
test bl, bl
je 0x180097e65
movabs rax, 0x7fffffffffffffff
movq rcx, xmm6
sub rax, rcx
cmp rax, 0xe2
jb 0x18009865f
lea rax, [rbp + 0x1f8]
cmp qword [rbp + 0x210], 0x10
cmovae rax, qword [rbp + 0x1f8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0xe2
lea r9, str._nversion_1.0.0_nauthor_Cfx.re__root_cfx.re__ndescription_A_compatibility_resource_to_load_basic_gamemode._nrepository_https:__github.com_citizenfx_cfx_server_data_n___compatibility_wrapper_nfx_version_adamant_ngame_gta5_n
lea r8, [rbp + 0x1f8]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp + 0x1b8]
call fcn.18000d7c0
nop
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3e]
lea rdx, [rbp + 0x270]
lea rcx, [rbp - 0x70]
call fcn.180081b80
nop
lea rdx, [rbp + 0x1b8]
cmp qword [rbp + 0x1d0], 0x10
cmovae rdx, qword [rbp + 0x1b8]
mov r8, qword [rbp + 0x1c8]
lea rcx, [rbp - 0x70]
call fcn.1800758a0
lea rdx, [0x18005f200]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp - 0x68]
call fcn.180094020
test rax, rax
jne 0x180097dd4
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], rsi
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x68]
call fcn.180083670
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x1d0]
cmp rdx, 0x10
jb 0x180097e65
inc rdx
mov rcx, qword [rbp + 0x1b8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180097e60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180097e60
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov bl, 1
test r8d, r8d
jne 0x180098610
jmp 0x180097ccc
call fcn.1800f5030
lea r15, [rbp + 0x2b0]
cmp qword [rbp + 0x2c8], 0x10
cmovae r15, qword [rbp + 0x2b0]
mov r13, qword [rbp + 0x1e8]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 1
jb 0x180098665
lea rax, [rbp + 0x1d8]
cmp qword [rbp + 0x1f0], 0x10
cmovae rax, qword [rbp + 0x1d8]
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1c8], xmm1
lea r12, [r13 + 1]
mov ebx, reloc.WS2_32.dll_ntohs
lea rsi, [rbp + 0x1b8]
cmp r12, rbx
jbe 0x180097f71
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x180097f24
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1800f4ff4
test rax, rax
je 0x180097f4d
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
mov rax, qword [rsp + 0x50]
jmp 0x180097f6a
cmp rbx, 0x16
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x180097f54
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180098629
jmp 0x180097f04
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x180097f68
call fcn.1800f4ff4
mov rsi, rax
mov rax, qword [rsp + 0x50]
jmp 0x180097f6a
xor esi, esi
mov qword [rbp + 0x1b8], rsi
mov qword [rbp + 0x1c8], r12
mov qword [rbp + 0x1d0], rbx
mov r8, r13
mov rdx, rax
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + r13], 0x5c
mov byte [rsi + r12], 0
mov r8, r14
nop word [rax + rax]
inc r8
cmp byte [r15 + r8], 0
jne 0x180097fa0
mov rdx, r15
lea rcx, [rbp + 0x1b8]
call fcn.18000a520
xorps xmm0, xmm0
movups xmmword [rbp + 0x290], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x2a0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x290], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x2a0], xmm1
xor r13d, r13d
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r13b
mov rdx, qword [rbp + 0x1d0]
cmp rdx, 0x10
jb 0x180098039
inc rdx
mov rcx, qword [rbp + 0x1b8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180098034
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180098034
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f5030
movdqa xmm0, xmmword [0x180109f10]
movdqu xmmword [rbp + 0x1c8], xmm0
mov byte [rbp + 0x1b8], 0
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3e]
lea rdx, [rbp + 0x290]
lea rcx, [rbp + 0xa0]
call fcn.180081b80
nop
mov r15, qword [rsp + 0x70]
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x180098088
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
lea rcx, [rbp + 0xa0]
call fcn.1800758a0
lea rdx, [0x18005f200]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp + 0xa8]
call fcn.180094020
test rax, rax
jne 0x1800980dc
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xa0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xa0], rax
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x9c], edx
lea rcx, [rbp + 0xa8]
call fcn.180083670
lea rcx, [rbp + 0xb0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x148]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x2a8]
cmp rdx, 0x10
jb 0x180098179
inc rdx
mov rcx, qword [rbp + 0x290]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180098174
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180098174
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f5030
movdqa xmm0, xmmword [0x180109f10]
movdqu xmmword [rbp + 0x2a0], xmm0
mov byte [rbp + 0x290], 0
mov rdx, qword [rbp + 0x288]
cmp rdx, 0x10
jb 0x1800981d4
inc rdx
mov rcx, qword [rbp + 0x270]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800981cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800981cf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f5030
mov qword [rbp + 0x280], r13
mov qword [rbp + 0x288], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x270], 0
mov rdx, qword [rbp + 0x2c8]
cmp rdx, 0x10
jb 0x180098232
inc rdx
mov rcx, qword [rbp + 0x2b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009822c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18009822c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f5030
nop
mov rdx, qword [rbp + 0x210]
cmp rdx, 0x10
jb 0x18009827d
inc rdx
mov rcx, qword [rbp + 0x1f8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180098271
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180098271
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800f5030
jmp 0x18009827d
mov r15, qword [rsp + 0x70]
mov qword [rbp - 0x80], rdi
test rdi, rdi
je 0x1800984ae
mov ecx, dword [0x180178278]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1801774b0], ecx
jg 0x180098575
mov rbx, qword [0x1801773c0]
test rbx, rbx
jne 0x1800982d8
mov rax, qword [rbp - 0x80]
mov rbx, qword [rax]
test rbx, rbx
je 0x180098356
mov rbx, qword [rbx + 0x38]
mov qword [0x1801773c0], rbx
lea rax, [0x180177490]
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0x338]
movabs rcx, 0x1d0164d8541d
mov qword [rbp + 0x1c0], rcx
mov qword [rbp + 0x1c8], rax
mov rsi, qword [rax]
xor rsi, rcx
mov qword [rbp + 0x1b8], rsi
mov qword [rax], r13
mov ecx, r13d
lea r8, [0x180080f20]
lea r12, [0x180000000]
mov rax, qword [0x1801774c0]
test rax, rax
je 0x180098449
mov rdx, r13
cmp rax, r8
je 0x18009843c
inc ecx
mov edx, ecx
mov rax, qword [r12 + rcx*8 + 0x1774c0]
test rax, rax
jne 0x180098337
jmp 0x180098449
mov rdx, qword [rbp + 0x1f0]
cmp rdx, 0x10
jb 0x180098397
inc rdx
mov rcx, qword [rbp + 0x1d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180098392
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180098567
call fcn.1800f5030
mov qword [rbp + 0x1e8], r13
mov qword [rbp + 0x1f0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x1d8], 0
lea rcx, [rbp + 0x220]
call fcn.180083f30
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x1800983f7
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x1800983f2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18009856e
mov rcx, r8
call fcn.1800f5030
mov byte [r15], 0
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov qword [r15 + 0x10], r13
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.1800f5150
lea r11, [rsp + 0x410]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rax, qword [r12 + rdx*8 + 0x1777e0]
test rax, rax
jne 0x180098479
mov rcx, r8
call fcn.180098670
mov rcx, qword [0x1801774b8]
lea rdx, [0x180080f20]
mov qword [r12 + rcx*8 + 0x1774c0], rdx
mov qword [r12 + rcx*8 + 0x1777e0], rax
inc rcx
mov qword [0x1801774b8], rcx
lea r9, [rsp + 0x70]
lea r8, [rbp + 0x1d8]
lea rdx, [rbp - 0x80]
mov rcx, rbx
call rax
nop
movabs rcx, 0x1d0164d8541d
xor rsi, rcx
lea rcx, [rbp + 0x338]
mov qword [rcx], rsi
mov byte [0x180177488], al
jmp 0x1800984b5
movzx eax, byte [0x180177488]
test al, al
je 0x1800984c9
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x40]
mov byte [0x18017739e], 1
lea rax, [rbp + 0x1d8]
cmp qword [rbp + 0x1f0], 0x10
cmovae rax, qword [rbp + 0x1d8]
mov qword [rsp + 0x70], rax
inc r14
cmp byte [rax + r14], 0
jne 0x1800984e5
mov qword [rsp + 0x78], r14
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x1f8]
call fcn.180073820
nop
lea rcx, [rbp + 0x1f8]
call fcn.18009c280
nop
lea rcx, [rbp + 0x1f8]
call fcn.18000a270
nop
mov rdx, qword [rbp + 0x1f0]
cmp rdx, 0x10
jb 0x180098397
inc rdx
mov rcx, qword [rbp + 0x1d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180098392
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180098392
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [0x1801774b0]
call fcn.1800f5704
cmp dword [0x1801774b0], 0xffffffff
jne 0x1800982b1
xorps xmm0, xmm0
movups xmmword [0x180177490], xmm0
movdqa xmm1, xmmword [0x180109f10]
movdqu xmmword [0x1801774a0], xmm1
mov byte [0x180177490], 0
lea rcx, [0x1800faa90]
call fcn.1800f5644
lea rcx, [0x1801774b0]
call fcn.1800f5698
jmp 0x1800982b1
lea r8, [rbp + 0x1f8]
lea rdx, [rsp + 0x50]
lea rcx, str.exists
call fcn.180093870
nop
lea r8, [rbp + 0x1f8]
lea rdx, [rsp + 0x50]
lea rcx, str.exists
call fcn.180093870
nop
call fcn.180002fb0
nop
call fcn.180002fb0
nop
call fcn.180002fb0
nop
lea r8, [rbp + 0x1b8]
lea rdx, [rsp + 0x50]
lea rcx, str.exists
call fcn.180093870
nop
call fcn.180002fb0
nop
call fcn.180003050
nop
shr rdx, 0x20
lea r8, [rbp + 0x1f8]
lea rcx, str.create_directory
call fcn.180093930
nop
call fcn.180003050
nop
call fcn.180003050
nop
call fcn.180003050
nop
call fcn.180003050
int3
call fcn.180003050
int3