Function at 0x180041b60
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 [0x1802242b8]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov qword [rbp - 0x10], rcx
mov qword [rbp - 0x80], rcx
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp], al
movups xmmword [rbp + 0x20], xmm0
mov esi, eax
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x20], al
mov edi, eax
mov qword [rbp + 0x40], rax
lea r14, [0x180207190]
mov r13, qword [0x1802071a0]
test r13, r13
jne 0x180041c8d
mov rbx, qword [0x180207178]
lea rax, [rbp]
cmp rax, rbx
je 0x180041c1b
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x180041c0a
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp]
call fcn.18000e970
mov rdi, qword [rbp + 0x40]
lea rdx, [rbx + 0x20]
lea rax, [rbp + 0x20]
cmp rax, rdx
je 0x180041c43
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180041c36
mov rdx, qword [rdx]
lea rcx, [rbp + 0x20]
call fcn.18000e970
mov rdi, qword [rbp + 0x40]
test rdi, rdi
je 0x180041c51
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx + 0x40]
mov qword [rbp + 0x40], rcx
test rcx, rcx
je 0x180041c64
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea rdx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rdx, qword [rbp]
mov r8, qword [rbp + 0x10]
mov rcx, r14
call fcn.18000e970
mov rdi, qword [rbp + 0x40]
mov rsi, qword [rbp + 0x30]
mov r13, qword [0x1802071a0]
cmp qword [rbp + 0x10], 0
jne 0x180041e59
xor r15b, r15b
mov rbx, qword [0x180207178]
mov rax, qword [0x180207180]
cmp rbx, rax
je 0x180041dc0
mov rdx, r14
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdx, qword [0x180207190]
mov r14, qword [rbx + 0x10]
mov rcx, rbx
mov r12, qword [rbx + 0x18]
cmp r12, 0x10
jb 0x180041cd9
mov rcx, qword [rbx]
cmp r14, r13
jne 0x180041cf6
mov r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov rax, qword [0x180207180]
jne 0x180041cf6
mov r15b, 1
jmp 0x180041cfb
test r15b, r15b
jne 0x180041d17
add rbx, 0x48
cmp rbx, rax
lea r14, [0x180207190]
jne 0x180041cb2
lea r14, [0x180207190]
jmp 0x180041dc0
lea rax, [rbp]
cmp rax, rbx
je 0x180041d40
mov rdx, rbx
cmp r12, 0x10
jb 0x180041d2c
mov rdx, qword [rbx]
mov r8, r14
lea rcx, [rbp]
call fcn.18000e970
mov rdi, qword [rbp + 0x40]
mov rsi, qword [rbp + 0x30]
lea rdx, [rbx + 0x20]
lea rax, [rbp + 0x20]
cmp rax, rdx
je 0x180041d6c
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180041d5b
mov rdx, qword [rdx]
lea rcx, [rbp + 0x20]
call fcn.18000e970
mov rdi, qword [rbp + 0x40]
mov rsi, qword [rbp + 0x30]
test rdi, rdi
je 0x180041d7a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
mov rdi, qword [rbx + 0x40]
mov qword [rbp + 0x40], rdi
test rdi, rdi
je 0x180041d90
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
lea r14, [0x180207190]
cmp r14, rbx
je 0x180041db5
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180041daa
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, r14
call fcn.18000e970
cmp qword [rbp + 0x10], 0
jne 0x180041e59
mov rbx, qword [0x180207178]
lea rax, [rbp]
cmp rax, rbx
je 0x180041dee
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x180041ddd
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp]
call fcn.18000e970
mov rdi, qword [rbp + 0x40]
lea rdx, [rbx + 0x20]
lea rax, [rbp + 0x20]
cmp rax, rdx
je 0x180041e16
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x180041e09
mov rdx, qword [rdx]
lea rcx, [rbp + 0x20]
call fcn.18000e970
mov rdi, qword [rbp + 0x40]
test rdi, rdi
je 0x180041e24
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx + 0x40]
mov qword [rbp + 0x40], rcx
test rcx, rcx
je 0x180041e37
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
lea rdx, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rdx, qword [rbp]
mov r8, qword [rbp + 0x10]
mov rcx, r14
call fcn.18000e970
mov rdi, qword [rbp + 0x40]
mov rsi, qword [rbp + 0x30]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xor r13d, r13d
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], r13
lea r14, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae r14, qword [rbp + 0x20]
movabs r12, 0x7fffffffffffffff
cmp rsi, r12
ja 0x180042ec8
lea eax, [r13 + 0x16]
cmp rsi, 0x10
jae 0x180041ead
mov qword [rbp - 0x48], rsi
mov ecx, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x40], rcx
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x58], xmm0
jmp 0x180041efd
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov rbx, rsi
or rbx, 0xf
cmp rbx, r12
jbe 0x180041ec6
mov rbx, r12
jmp 0x180041ecd
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x58]
call fcn.18000eec0
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], rbx
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x48]
lea rax, [rbp - 0x58]
cmp rcx, 0x10
cmovae rax, qword [rbp - 0x58]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rsi
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x38]
call fcn.180020820
nop
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rcx, qword [rbp - 0x38]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x70]
call fcn.1801533b4
mov edx, eax
mov esi, 0x1ff
mov r15d, 4
mov r14d, 0x16d
test eax, eax
jne 0x180041fa7
mov ecx, dword [rbp + 0x80]
test cl, 1
mov eax, esi
cmovne eax, r14d
mov dword [rsp + 0x54], eax
bt ecx, 0xa
jae 0x180041f99
mov eax, dword [rbp + 0x84]
cmp eax, 0xa000000c
jne 0x180041f8b
mov eax, r15d
jmp 0x180041fcb
cmp eax, 0xa0000003
jne 0x180041f99
mov eax, 0xa
jmp 0x180041fcb
movzx eax, cl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x180041fcb
mov dword [rsp + 0x54], 0xffff
sub eax, 2
je 0x180041fc6
sub eax, 1
je 0x180041fc6
sub eax, 0x32
je 0x180041fc6
cmp eax, 0x46
mov eax, r13d
jne 0x180041fcb
mov eax, 1
mov dword [rsp + 0x50], edx
lea rcx, [0x180207858]
mov qword [rsp + 0x58], rcx
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
test eax, eax
je 0x1800420dd
cmp eax, 1
sete bl
lea rcx, [rbp - 0x38]
call fcn.18000dad0
test bl, bl
je 0x18004205a
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rax, qword [rbp - 0x58]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x38]
call fcn.180020820
nop
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rcx, qword [rbp - 0x38]
call fcn.18015321c
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x180042ece
lea rcx, [rbp - 0x38]
call fcn.18000dad0
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rax, qword [rbp - 0x58]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x38]
call fcn.180020820
nop
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rcx, qword [rbp - 0x38]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x70]
call fcn.1801533b4
mov r8d, eax
test eax, eax
jne 0x180042108
mov edx, dword [rbp + 0x80]
test dl, 1
mov ecx, esi
cmovne ecx, r14d
mov dword [rsp + 0x54], ecx
bt edx, 0xa
jae 0x1800420fa
mov eax, dword [rbp + 0x84]
cmp eax, 0xa000000c
jne 0x1800420ec
mov eax, r15d
jmp 0x18004212c
mov bl, 1
test edx, edx
jne 0x180042e86
jmp 0x180041ff4
cmp eax, 0xa0000003
jne 0x1800420fa
mov eax, 0xa
jmp 0x18004212c
movzx eax, dl
and eax, 0x10
or eax, 0x20
shr eax, 4
jmp 0x18004212c
mov dword [rsp + 0x54], 0xffff
sub eax, 2
je 0x180042127
sub eax, 1
je 0x180042127
sub eax, 0x32
je 0x180042127
cmp eax, 0x46
mov eax, r13d
jne 0x18004212c
mov eax, 1
mov dword [rsp + 0x50], r8d
lea rcx, [0x180207858]
mov qword [rsp + 0x58], rcx
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
test eax, eax
je 0x1800421e5
cmp eax, 1
setne bl
lea rcx, [rbp - 0x38]
call fcn.18000dad0
mov rsi, 0xffffffffffffffff
test bl, bl
je 0x180042bb6
mov rdx, qword [0x1802071a0]
mov qword [rsp + 0x48], rdx
mov rax, r12
sub rax, rdx
cmp rax, 0xf
jb 0x180042ee3
lea r13, [0x180207190]
mov r9, r13
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae r9, qword [0x180207190]
mov qword [rsp + 0x50], r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
lea rax, [rdx + 0xf]
mov qword [rsp + 0x70], rax
mov r14d, reloc.WS2_32.dll_ntohs
lea rbx, [rbp - 0x78]
cmp rax, r14
jbe 0x180042278
mov r14, rax
or r14, 0xf
cmp r14, r12
jbe 0x1800421f5
mov r14, r12
jmp 0x180042202
xor bl, bl
test r8d, r8d
jne 0x180042e9c
jmp 0x180042156
cmp r14, 0x16
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmovb r14, rcx
mov rcx, r14
add rcx, 1
cmovb rcx, rsi
cmp rcx, 0x1000
jb 0x180042254
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180042ee9
mov rcx, rax
call fcn.180153c5c
test rax, rax
je 0x18004224d
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x48]
mov r9, qword [rsp + 0x50]
jmp 0x180042274
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x180042272
call fcn.180153c5c
mov rbx, rax
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x48]
mov r9, qword [rsp + 0x50]
jmp 0x180042274
xor ebx, ebx
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], r14
movsd xmm0, qword [str.client_script_]
movsd qword [rbx], xmm0
mov eax, dword [0x1801a6a90]
mov dword [rbx + 8], eax
movzx eax, word [0x1801a6a94]
mov word [rbx + 0xc], ax
movzx eax, byte [0x1801a6a96]
mov byte [rbx + 0xe], al
lea rcx, [rbx + 0xf]
mov r8, rdx
mov rdx, r9
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x48]
mov byte [rbx + rax + 0xf], 0
mov rcx, qword [rbp - 0x68]
mov rdx, qword [rbp - 0x60]
mov rax, rdx
sub rax, rcx
cmp rax, 5
jb 0x18004230e
lea rax, [rcx + 5]
mov qword [rbp - 0x68], rax
lea rbx, [rbp - 0x78]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x78]
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 - 0x78]
jmp 0x180042332
mov qword [rsp + 0x20], 5
lea r9, str..lua
movzx r8d, byte [rsp + 0x40]
mov edx, 5
lea rcx, [rbp - 0x78]
call fcn.180026760
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm6
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x180042392
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004238d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004238d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180153a5c
movdqa xmm0, xmmword [0x180162c70]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [0x1802071a0]
mov qword [rsp + 0x48], rdx
mov rax, r12
sub rax, rdx
cmp rax, 4
jb 0x180042eef
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae r13, qword [0x180207190]
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa0], xmm1
lea rax, [rdx + 4]
mov qword [rsp + 0x50], rax
mov r14d, reloc.WS2_32.dll_ntohs
lea rbx, [rbp + 0x90]
cmp rax, r14
jbe 0x18004248d
mov r14, rax
or r14, 0xf
cmp r14, r12
jbe 0x180042414
mov r14, r12
jmp 0x180042421
cmp r14, 0x16
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmovb r14, rcx
mov rcx, r14
add rcx, 1
cmovb rcx, rsi
cmp rcx, 0x1000
jb 0x18004246b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180042ef5
mov rcx, rax
call fcn.180153c5c
test rax, rax
je 0x180042b69
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
jmp 0x180042486
test rcx, rcx
je 0x180042484
call fcn.180153c5c
mov rbx, rax
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
jmp 0x180042486
xor ebx, ebx
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], r14
mov r8, rdx
mov rdx, r13
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x48]
mov dword [rax + rbx], 0x61756c2e
mov byte [rbx + rax + 4], 0
movdqa xmm0, xmmword [str.Ormvvpoi0sU_]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rbp - 0x68], 1
xor r9d, r9d
mov ecx, r9d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x13]
xor byte [rbp + rcx - 0x78], al
inc rcx
cmp rcx, 0xf
jb 0x1800424e0
mov byte [rbp - 0x68], r9b
mov r8, qword [rbp - 0x48]
mov qword [rsp + 0x48], r8
lea rax, [rbp - 0x78]
mov rbx, rsi
inc rbx
cmp byte [rax + rbx], r9b
jne 0x180042504
mov rax, r12
sub rax, r8
cmp rax, rbx
jb 0x180042efb
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rdx, qword [rbp - 0x58]
mov qword [rsp + 0x50], rdx
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r9
mov qword [rbp + 0x68], r9
lea rax, [rbx + r8]
mov qword [rsp + 0x70], rax
mov r14d, reloc.WS2_32.dll_ntohs
lea r13, [rbp + 0x50]
cmp rax, r14
jbe 0x1800425ec
mov r14, rax
or r14, 0xf
cmp r14, r12
jbe 0x18004256b
mov r14, r12
jmp 0x180042578
cmp r14, 0x16
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmovb r14, rcx
mov rcx, r14
add rcx, 1
cmovb rcx, rsi
cmp rcx, 0x1000
jb 0x1800425c7
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180042f01
mov rcx, rax
call fcn.180153c5c
test rax, rax
je 0x180042b15
lea r13, [rax + 0x27]
and r13, 0xffffffffffffffe0
mov qword [r13 - 8], rax
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
jmp 0x1800425e8
test rcx, rcx
je 0x1800425e5
call fcn.180153c5c
mov r13, rax
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
jmp 0x1800425e8
mov r13, r9
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], r14
mov rcx, r13
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x48]
add rcx, r13
mov r8, rbx
lea rdx, [rbp - 0x78]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x70]
mov byte [rax + r13], 0
lea rax, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae rax, qword [rbp + 0x50]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x78]
call fcn.180020820
nop
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rcx, qword [rbp - 0x78]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0xb0]
call fcn.1801533b4
mov r8d, eax
test eax, eax
jne 0x1800426c1
mov edx, dword [rbp + 0xc0]
test dl, 1
mov eax, 0x1ff
mov ecx, 0x16d
cmovne eax, ecx
mov dword [rsp + 0x54], eax
bt edx, 0xa
jae 0x1800426af
mov eax, dword [rbp + 0xc4]
cmp eax, 0xa000000c
je 0x1800426e8
cmp eax, 0xa0000003
jne 0x1800426af
lea r15d, [r8 + 0xa]
jmp 0x1800426e8
movzx r15d, dl
and r15d, 0x10
or r15d, 0x20
shr r15d, 4
jmp 0x1800426e8
mov dword [rsp + 0x54], 0xffff
sub eax, 2
je 0x1800426e2
sub eax, 1
je 0x1800426e2
sub eax, 0x32
je 0x1800426e2
cmp eax, 0x46
je 0x1800426e2
xor r15d, r15d
jmp 0x1800426e8
mov r15d, 1
mov dword [rsp + 0x50], r8d
lea rax, [0x180207858]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
test r15d, r15d
je 0x180042978
cmp r15d, 1
sete bl
lea rcx, [rbp - 0x78]
call fcn.18000dad0
lea r14, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
test bl, bl
je 0x180042883
mov rax, r12
movq rcx, xmm6
sub rax, rcx
cmp rax, 0xe2
jb 0x180042f07
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rax, qword [rbp - 0x38]
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 - 0x38]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.180011410
nop
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0xd0]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3e]
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0xd0]
call fcn.18002c480
nop
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0x10
cmovae rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
lea rcx, [rbp + 0xd0]
call fcn.180024790
lea rdx, [0x18002b170]
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 + 0xd8]
call fcn.180040910
test rax, rax
jne 0x180042817
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xd0]
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 + 0xd0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xd0], r14
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xcc], edx
lea rcx, [rbp + 0xd8]
call fcn.18002dee0
lea rcx, [rbp + 0xe0]
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 + 0x178]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov r8, qword [rbp - 0x60]
cmp r8, 0x10
jb 0x180042883
inc r8
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x78]
call fcn.18000ee30
lea rbx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0x10
cmovae rbx, qword [rbp + 0x90]
mov rax, qword [rbp - 0x48]
sub r12, rax
cmp r12, 1
jb 0x180042f0d
lea r9, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae r9, qword [rbp - 0x58]
mov qword [rsp + 0x30], 1
lea rcx, [0x1801a6424]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x58]
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.180011410
nop
mov r8, rsi
nop word [rax + rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x1800428f0
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.18000dc80
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x80], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], 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 [rsp + 0x68]
cmp rdx, 0x10
jb 0x18004298d
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042988
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180042988
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 0x180042eb2
jmp 0x180042714
call fcn.180153a5c
movdqa xmm0, xmmword [0x180162c70]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], r13b
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x3e]
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x1e0]
call fcn.18002c480
nop
mov r15, qword [rbp - 0x10]
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x1800429e8
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
lea rcx, [rbp + 0x1e0]
call fcn.180024790
lea rdx, [0x18002b170]
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 + 0x1e8]
call fcn.180040910
test rax, rax
jne 0x180042a3c
mov rax, qword [rbp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x1e0]
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 + 0x1e0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x1e0], r14
mov rax, qword [rbp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x1dc], edx
lea rcx, [rbp + 0x1e8]
call fcn.18002dee0
lea rcx, [rbp + 0x1f0]
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 + 0x288]
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 + 0x88]
cmp rdx, 0x10
jb 0x180042acf
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042aca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180042aca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180153a5c
movdqa xmm0, xmmword [0x180162c70]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x180042b21
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042b1c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180042b1c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180153a5c
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x50], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x180042b76
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042b70
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180042b70
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180153a5c
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x180042bba
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042baf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180042baf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180153a5c
jmp 0x180042bba
mov r15, qword [rbp - 0x10]
mov qword [rsp + 0x78], rdi
test rdi, rdi
je 0x180042d18
mov ecx, dword [0x18022cc08]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180227348], ecx
jg 0x180042f13
mov rbx, qword [0x180226748]
test rbx, rbx
jne 0x180042c17
mov rax, qword [rsp + 0x78]
mov rbx, qword [rax]
test rbx, rbx
je 0x180042c88
mov rbx, qword [rbx + 0x38]
mov qword [0x180226748], rbx
lea rax, [0x180207570]
mov qword [rbp - 0x10], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
lea rax, [rbp + 0x338]
movabs rcx, 0x1d0164d8541d
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], rax
mov r14, qword [rax]
xor r14, rcx
mov qword [rbp - 0x78], r14
mov qword [rax], r13
mov ecx, r13d
lea r8, [0x18002b380]
lea r12, [0x180000000]
mov rax, qword [0x180226d00]
test rax, rax
je 0x180042cb6
mov rdx, r13
nop
cmp rax, r8
je 0x180042ca9
inc ecx
mov edx, ecx
mov rax, qword [r12 + rcx*8 + 0x226d00]
test rax, rax
jne 0x180042c70
jmp 0x180042cb6
lea rcx, [rbp - 0x58]
call fcn.18000dda0
nop
lea rcx, [rbp]
call fcn.18002e390
nop
mov rcx, r15
call fcn.18000dda0
jmp 0x180042e35
mov rax, qword [r12 + rdx*8 + 0x227020]
test rax, rax
jne 0x180042ce6
mov rcx, r8
call fcn.180042f50
mov rcx, qword [0x180226cf0]
lea rdx, [0x18002b380]
mov qword [r12 + rcx*8 + 0x226d00], rdx
mov qword [r12 + rcx*8 + 0x227020], rax
inc rcx
mov qword [0x180226cf0], rcx
lea r9, [rbp - 0x10]
lea r8, [rbp - 0x58]
lea rdx, [rsp + 0x78]
mov rcx, rbx
call rax
nop
movabs rcx, 0x1d0164d8541d
xor r14, rcx
lea rcx, [rbp + 0x338]
mov qword [rcx], r14
mov byte [0x180227344], al
jmp 0x180042d1f
movzx eax, byte [0x180227344]
test al, al
je 0x180042d33
mov byte [0x180226ce3], 1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x40]
lea rax, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rax, qword [rbp - 0x58]
mov qword [rbp - 0x10], rax
inc rsi
cmp byte [rax + rsi], 0
jne 0x180042d45
mov qword [rbp - 8], rsi
xor r8d, r8d
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x38]
call fcn.180020820
nop
mov qword [rbp - 0x10], 0
lea rax, [0x180207858]
mov qword [rbp - 8], rax
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x38]
call fcn.180044a20
cmp dword [rbp - 0x10], 0
jne 0x180042e71
lea rcx, [rbp - 0x38]
call fcn.18000dad0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x180042dd5
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180042dd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180042dd0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180153a5c
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
lea rcx, [rbp]
call fcn.18002e390
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x180042e25
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x180042e20
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180042e6a
mov rcx, r8
call fcn.180153a5c
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.180153af0
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x10]
lea rcx, str.remove_all
call fcn.18003f090
nop
lea r8, [rbp - 0x38]
lea rdx, [rsp + 0x50]
lea rcx, str.exists
call fcn.18003f090
nop
lea r8, [rbp - 0x38]
lea rdx, [rsp + 0x50]
lea rcx, str.exists
call fcn.18003f090
nop
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x50]
lea rcx, str.exists
call fcn.18003f090
nop
call fcn.180007a10
nop
shr rdx, 0x20
lea r8, [rbp - 0x38]
lea rcx, str.create_directory
call fcn.18003f150
nop
call fcn.180007a10
int3
call fcn.180007970
nop
call fcn.180007a10
int3
call fcn.180007970
nop
call fcn.180007a10
int3
call fcn.180007970
nop
call fcn.180007a10
int3
call fcn.180007a10
nop
lea rcx, [0x180227348]
call fcn.180153be4
cmp dword [0x180227348], 0xffffffff
jne 0x180042bef
lea rcx, [0x18015db50]
call fcn.180154150
lea rcx, [0x180227348]
call fcn.180153b78
jmp 0x180042bef