Function at 0x1801592d0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1430]
mov eax, 0x1530
call fcn.1801bfb60
sub rsp, rax
movaps xmmword [rsp + 0x1520], xmm6
movaps xmmword [rsp + 0x1510], xmm7
movaps xmmword [rsp + 0x1500], xmm8
movaps xmmword [rsp + 0x14f0], xmm9
movaps xmmword [rsp + 0x14e0], xmm10
movaps xmmword [rsp + 0x14d0], xmm11
movaps xmmword [rsp + 0x14c0], xmm12
movaps xmmword [rsp + 0x14b0], xmm13
movaps xmmword [rsp + 0x14a0], xmm14
movaps xmmword [rsp + 0x1490], xmm15
mov rax, qword [0x18026b300]
xor rax, rsp
mov qword [rbp + 0x1380], rax
mov r13, rdx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x48], rcx
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
xor esi, esi
mov qword [rbp - 0x60], rsi
movsd xmm0, qword [0x18023b2b0]
comisd xmm0, xmmword [0x1802773d0]
jbe 0x180159d50
mov rax, qword [0x180277788]
mov rbx, qword [rcx + rax]
add rbx, 0x50
call fcn.180158b50
mov qword [rbp - 0x58], rax
mov dword [rsp + 0x20], esi
mov dword [rsp + 0x24], 1
lea rdi, [rbx + 0x10]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x30], 0xffffffff
mov qword [rsp + 0x34], rsi
cmp dword [rdi + 0x18], esi
je 0x1801593d8
lea rcx, [rsp + 0x20]
call fcn.1800d4f60
mov qword [rsp + 0x68], rbx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsp + 0x70], xmm0
movups xmm2, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x80], xmm2
mov qword [rbp - 0x48], rbx
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rbp - 0x30], xmm1
movaps xmm0, xmm2
unpckhpd xmm0, xmm2
movsd qword [rbp - 0x20], xmm0
mov edx, dword [rdi + 0x18]
mov eax, edx
sar eax, 5
mov dword [rsp + 0x20], eax
mov ecx, edx
and ecx, 0x1f
mov eax, 1
shl eax, cl
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x38], edx
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x80], xmm1
movq rcx, xmm1
shr rcx, 0x20
psrldq xmm2, 4
movd eax, xmm2
cmp eax, ecx
jge 0x18015a08a
mov edi, dword [0x1802766a0]
mov r12d, 8
xorps xmm11, xmm11
movss xmm9, dword [0x18023afdc]
movss xmm13, dword [0x18023b040]
xorps xmm10, xmm10
movsd xmm14, qword [0x18023b010]
movsd xmm12, qword [0x18023b318]
movss xmm15, dword [0x18023af3c]
mov eax, dword [rbp - 0x24]
nop word [rax + rax]
cdqe
lea r14, [rax + rax*2]
mov rax, qword [rbp - 0x40]
mov r15, qword [rax]
mov rbx, qword [r15 + r14*8]
test byte [rbx + 0x28], 1
jne 0x1801594ea
call fcn.180158b50
mov rcx, rax
call fcn.1801545c0
xorps xmm2, xmm2
cvtss2sd xmm2, xmm0
movsd xmm1, qword [rbx + 0x10]
comisd xmm1, xmm2
jae 0x1801595fa
mov rax, qword [r15 + r14*8]
mov rsi, qword [rax]
mov qword [rsp + 0x40], rsi
test rsi, rsi
je 0x1801595fa
mov rcx, rsi
call fcn.1800808e0
test al, al
je 0x180159535
mov rdx, qword [rbp - 0x68]
cmp rdx, qword [rbp - 0x60]
je 0x180159522
mov qword [rdx], rsi
add qword [rbp - 0x68], 8
jmp 0x1801595fa
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.18009c090
jmp 0x1801595fa
mov rax, qword gs:[0x58]
mov rdi, qword [rax + rdi*8]
mov eax, dword [r12 + rdi]
cmp dword [0x18027adc8], eax
jle 0x1801595d5
lea rcx, [0x18027adc8]
call fcn.1801beed0
cmp dword [0x18027adc8], 0xffffffff
jne 0x1801595d5
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
lea r8d, [rax + 0xa]
lea rdx, str.RemoteRole
lea rcx, [rsp + 0x20]
call fcn.18005a490
nop
mov r8b, 1
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.18015bfe0
mov rcx, rax
test rax, rax
jne 0x1801595ae
lea eax, [rcx - 1]
jmp 0x1801595b8
mov rax, qword [0x1802773c0]
mov eax, dword [rcx + rax]
mov dword [0x18027adac], eax
lea rcx, [rsp + 0x20]
call fcn.18005e2c0
nop
lea rcx, [0x18027adc8]
call fcn.1801bee64
movsxd rax, dword [0x18027adac]
cmp byte [rax + rsi], 0
jne 0x18015962c
mov rdx, qword [rbp - 0x68]
cmp rdx, qword [rbp - 0x60]
je 0x18015961c
mov qword [rdx], rsi
add qword [rbp - 0x68], 8
mov edi, dword [0x1802766a0]
mov eax, dword [rbp - 0x34]
not eax
and dword [rbp - 0x28], eax
lea rcx, [rbp - 0x38]
call fcn.1800d4f60
mov eax, dword [rbp - 0x24]
cmp eax, dword [rbp - 0x7c]
jl 0x1801594b0
jmp 0x18015a08a
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.18009c090
jmp 0x1801595f4
mov eax, dword [r12 + rdi]
cmp dword [0x18027ae20], eax
jle 0x1801596bf
lea rcx, [0x18027ae20]
call fcn.1801beed0
cmp dword [0x18027ae20], 0xffffffff
jne 0x1801596bf
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
lea r8d, [rax + 0xb]
lea rdx, str.NetDormancy
lea rcx, [rsp + 0x20]
call fcn.18005a490
nop
mov r8b, 1
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.18015bfe0
mov rcx, rax
test rax, rax
jne 0x180159698
lea eax, [rcx - 1]
jmp 0x1801596a2
mov rax, qword [0x1802773c0]
mov eax, dword [rcx + rax]
mov dword [0x18027ae10], eax
lea rcx, [rsp + 0x20]
call fcn.18005e2c0
nop
lea rcx, [0x18027ae20]
call fcn.1801bee64
movsxd rax, dword [0x18027ae10]
cmp byte [rax + rsi], 4
jne 0x1801596dc
mov rcx, rsi
call fcn.180080a80
test al, al
jne 0x1801595f4
mov rax, qword [r15 + r14*8]
movsd xmm0, qword [rax + 0x18]
ucomisd xmm0, xmm11
jp 0x180159720
jne 0x180159720
mov rcx, qword [rbp - 0x58]
call fcn.1801545c0
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mov rax, qword [r15 + r14*8]
movsd qword [rax + 0x18], xmm1
mov rcx, rsi
call fcn.180080e40
movaps xmm0, xmm9
divss xmm0, dword [rax]
mov rax, qword [r15 + r14*8]
movss dword [rax + 0x20], xmm0
mov rbx, qword [r15 + r14*8]
mov rcx, qword [rbp - 0x58]
call fcn.1801545c0
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
subsd xmm1, qword [rbx + 0x18]
cvtpd2ps xmm7, xmm1
mov edi, dword [0x1802766a0]
mov rbx, qword gs:[0x58]
comiss xmm7, xmm13
jbe 0x1801599cb
mov rax, qword [rbx + rdi*8]
mov ecx, dword [r12 + rax]
cmp dword [0x18027ad70], ecx
jle 0x1801597ed
lea rcx, [0x18027ad70]
call fcn.1801beed0
cmp dword [0x18027ad70], 0xffffffff
jne 0x1801597ed
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
lea r8d, [rax + 0x15]
lea rdx, str.MinNetUpdateFrequency
lea rcx, [rsp + 0x20]
call fcn.18005a490
nop
mov r8b, 1
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.18015bfe0
mov rcx, rax
test rax, rax
jne 0x1801597c6
lea eax, [rcx - 1]
jmp 0x1801597d0
mov rax, qword [0x1802773c0]
mov eax, dword [rcx + rax]
mov dword [0x18027ade0], eax
lea rcx, [rsp + 0x20]
call fcn.18005e2c0
nop
lea rcx, [0x18027ad70]
call fcn.1801bee64
movsxd rax, dword [0x18027ade0]
movss xmm0, dword [rax + rsi]
ucomiss xmm0, xmm10
jp 0x180159808
jne 0x180159808
mov dword [rax + rsi], 0x40000000
mov rcx, rsi
call fcn.180080e40
movaps xmm8, xmm9
divss xmm8, dword [rax]
mov rcx, rsi
call fcn.180080f10
movaps xmm0, xmm9
divss xmm0, dword [rax]
comiss xmm0, xmm8
jbe 0x180159841
mov rcx, rsi
call fcn.180080f10
movaps xmm6, xmm9
divss xmm6, dword [rax]
jmp 0x180159845
movaps xmm6, xmm8
mov dword [rsp + 0x58], 0x3f800000
mov dword [rsp + 0x50], 0
subss xmm7, xmm13
divss xmm7, dword [0x18023b2e8]
movss dword [rsp + 0x54], xmm7
comiss xmm10, xmm7
lea rcx, [rsp + 0x50]
lea rax, [rsp + 0x54]
cmovbe rcx, rax
comiss xmm7, xmm9
lea rax, [rsp + 0x58]
cmovbe rax, rcx
movss xmm7, dword [rax]
movd ecx, xmm7
btr ecx, 0x1f
cmp ecx, 0x7f800000
jae 0x180159949
movd eax, xmm8
btr eax, 0x1f
cmp eax, 0x7f800000
jae 0x180159949
movd eax, xmm6
btr eax, 0x1f
cmp eax, 0x7f800000
jae 0x180159949
comiss xmm10, xmm8
jb 0x1801598d2
comiss xmm6, xmm10
jae 0x1801598de
comiss xmm8, xmm10
jb 0x1801598f4
comiss xmm10, xmm6
jb 0x1801598f4
movaps xmm0, xmm9
subss xmm0, xmm7
mulss xmm0, xmm8
mulss xmm7, xmm6
jmp 0x1801599be
ucomiss xmm7, xmm9
jp 0x180159904
jne 0x180159904
movaps xmm0, xmm6
jmp 0x1801599c2
movaps xmm1, xmm6
subss xmm1, xmm8
movaps xmm2, xmm8
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_fmaf
xor ecx, ecx
comiss xmm6, xmm8
seta cl
xor eax, eax
comiss xmm7, xmm9
seta al
cmp eax, ecx
jne 0x18015993f
comiss xmm6, xmm0
jbe 0x1801599c2
movaps xmm0, xmm6
jmp 0x1801599c2
comiss xmm0, xmm6
jbe 0x1801599c2
movaps xmm0, xmm6
jmp 0x1801599c2
movd eax, xmm8
btr eax, 0x1f
cmp eax, 0x7f800000
ja 0x1801599b6
movd eax, xmm6
btr eax, 0x1f
cmp eax, 0x7f800000
ja 0x1801599b6
movd eax, xmm7
btr eax, 0x1f
cmp eax, 0x7f800000
jbe 0x18015997c
movaps xmm0, xmm7
jmp 0x1801599be
cmp ecx, 0x7f800000
jae 0x1801599a8
comiss xmm10, xmm7
jbe 0x180159994
movaps xmm0, xmm8
subss xmm0, xmm6
jmp 0x1801599c2
comiss xmm9, xmm7
jae 0x1801598de
movaps xmm0, xmm6
subss xmm0, xmm8
jmp 0x1801599c2
movaps xmm0, xmm6
subss xmm0, xmm8
mulss xmm0, xmm7
jmp 0x1801599c2
movaps xmm0, xmm6
addss xmm0, xmm8
addss xmm0, xmm7
mov rax, qword [r15 + r14*8]
movss dword [rax + 0x20], xmm0
mov rax, qword [r15 + r14*8]
test byte [rax + 0x28], 1
jne 0x180159ccc
mov rcx, rsi
call fcn.180080e40
movaps xmm7, xmm9
divss xmm7, dword [rax]
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1374], 0xffffffff
mov dword [rbp - 0xc], eax
mov edx, 1
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 - 0xc], eax
inc rdx
cmp rdx, 0x270
jb 0x180159a01
mov edx, 0x270
mov dword [rbp - 0x10], edx
movaps xmm1, xmm11
movaps xmm2, xmm14
mov r10d, 2
cmp edx, 0x270
jne 0x180159a91
lea r8, [rbp - 8]
mov r9d, edx
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, dword [r8 - 4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [r8 + 0x630]
mov dword [r8 + 0x9bc], ecx
lea r8, [r8 + 4]
sub r9, 1
jne 0x180159a50
mov edx, dword [rbp - 0x10]
jmp 0x180159b86
cmp edx, 0x4e0
jb 0x180159b86
xor r8d, r8d
lea r9, [rbp + 0x9b4]
lea r11, [rbp + 0xfe8]
lea r13, [rbp - 0xc]
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r9 + r8*4]
xor edx, dword [rbp + r8*4 + 0x9b8]
btr edx, 0x1f
xor edx, dword [r9 + r8*4]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [r11 + r8*4]
shr edx, 1
xor ecx, edx
mov dword [r13 + r8*4], ecx
inc r8
cmp r8, 0xe3
jb 0x180159ac0
mov r8d, 0xe3
lea r9, [rbp + 0x9b8]
lea r11, [rbp - 0xc]
nop dword [rax]
mov eax, dword [rbp + r8*4 + 0x9b4]
mov edx, eax
xor edx, dword [r9 + r8*4]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [rbp + r8*4 - 0x398]
shr edx, 1
xor ecx, edx
mov dword [r11 + r8*4], ecx
inc r8
cmp r8, 0x26f
jb 0x180159b10
mov edx, dword [rbp + 0x1370]
and edx, 0x80000000
mov eax, dword [rbp - 0xc]
btr eax, 0x1f
or edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + 0x624]
mov dword [rbp + 0x9b0], ecx
xor edx, edx
mov dword [rbp - 0x10], edx
mov eax, edx
mov ecx, dword [rbp + rax*4 - 0xc]
inc edx
mov dword [rbp - 0x10], edx
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x1374]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm11
mulsd xmm0, xmm2
addsd xmm1, xmm0
mulsd xmm2, xmm12
sub r10, 1
jne 0x180159a36
divsd xmm1, xmm2
addsd xmm1, xmm11
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm1
mov rcx, qword [rbp - 0x58]
call fcn.1801545c0
mulss xmm6, xmm15
addss xmm0, xmm6
addss xmm0, xmm7
cvtss2sd xmm0, xmm0
mov rax, qword [r15 + r14*8]
movsd qword [rax + 0x10], xmm0
mov rax, qword [rbx + rdi*8]
mov ecx, dword [r12 + rax]
cmp dword [0x18027adec], ecx
mov r13, qword [rsp + 0x60]
jle 0x180159cb2
lea rcx, [0x18027adec]
call fcn.1801beed0
cmp dword [0x18027adec], 0xffffffff
jne 0x180159cb2
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
lea r8d, [rax + 4]
lea rdx, str.Time
lea rcx, [rsp + 0x20]
call fcn.18005a490
nop
mov r8b, 1
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
call fcn.18015bfe0
mov rcx, rax
test rax, rax
jne 0x180159c8b
lea eax, [rcx - 1]
jmp 0x180159c95
mov rax, qword [0x1802773c0]
mov eax, dword [rcx + rax]
mov dword [0x18027ad80], eax
lea rcx, [rsp + 0x20]
call fcn.18005e2c0
nop
lea rcx, [0x18027adec]
call fcn.1801bee64
movsxd rax, dword [0x18027ad80]
mov rcx, qword [rsp + 0x48]
movss xmm0, dword [rax + rcx]
mov rax, qword [r15 + r14*8]
movss dword [rax + 0x24], xmm0
mov rax, qword [r15 + r14*8]
and dword [rax + 0x28], 0xfffffffe
mov rax, qword [r15 + r14*8]
mov qword [rsp + 0x40], rax
mov rdx, qword [r13 + 8]
cmp rdx, qword [r13 + 0x10]
je 0x180159cf1
mov qword [rdx], rax
add qword [r13 + 8], 8
jmp 0x180159cfe
lea r8, [rsp + 0x40]
mov rcx, r13
call fcn.18009c090
mov rax, qword [rbx + rdi*8]
mov ecx, dword [r12 + rax]
cmp dword [0x18027adb4], ecx
jle 0x180159d3d
lea rcx, [0x18027adb4]
call fcn.1801beed0
cmp dword [0x18027adb4], 0xffffffff
jne 0x180159d3d
mov rax, qword [0x180277868]
mov qword [0x18027ae70], rax
lea rcx, [0x18027adb4]
call fcn.1801bee64
mov rdx, qword [rsp + 0x48]
mov rcx, rsi
call qword [0x18027ae70]
jmp 0x1801595fa
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov r13d, dword [0x1802766a0]
mov rdi, qword gs:[0x58]
mov esi, 8
mov r12, qword [rdi + r13*8]
mov eax, dword [r12 + rsi]
cmp dword [0x180278a14], eax
jle 0x180159dbb
lea rcx, [0x180278a14]
call fcn.1801beed0
cmp dword [0x180278a14], 0xffffffff
jne 0x180159dbb
mov rax, qword [0x1802776e0]
xor r9d, r9d
lea r8, str._Script_Engine.Actor
xor edx, edx
xor ecx, ecx
call rax
mov qword [0x1802789c8], rax
lea rcx, [0x180278a14]
call fcn.1801bee64
mov rbx, qword [0x1802789c8]
call fcn.180158b50
mov r8, rbx
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.1801544a0
mov rcx, qword [rbp - 0x58]
mov eax, dword [rbp - 0x50]
test eax, eax
jle 0x18015a06d
mov r14, rcx
mov r15d, eax
nop dword [rax + rax]
mov rbx, qword [r14]
mov qword [rsp + 0x40], rbx
mov rcx, rbx
call fcn.1800808e0
test al, al
je 0x180159e2e
mov rdx, qword [rbp - 0x68]
cmp rdx, qword [rbp - 0x60]
je 0x180159e1b
mov qword [rdx], rbx
add qword [rbp - 0x68], 8
jmp 0x18015a058
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.18009c090
jmp 0x18015a058
mov rdi, qword [rdi + r13*8]
mov eax, dword [rsi + rdi]
cmp dword [0x18027ad98], eax
jle 0x180159ec4
lea rcx, [0x18027ad98]
call fcn.1801beed0
cmp dword [0x18027ad98], 0xffffffff
jne 0x180159ec4
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
lea r8d, [rax + 0xa]
lea rdx, str.RemoteRole
lea rcx, [rsp + 0x20]
call fcn.18005a490
nop
mov r8b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.18015bfe0
mov rcx, rax
test rax, rax
jne 0x180159e9d
lea eax, [rcx - 1]
jmp 0x180159ea7
mov rax, qword [0x1802773c0]
mov eax, dword [rcx + rax]
mov dword [0x18027ae58], eax
lea rcx, [rsp + 0x20]
call fcn.18005e2c0
nop
lea rcx, [0x18027ad98]
call fcn.1801bee64
movsxd rax, dword [0x18027ae58]
cmp byte [rax + rbx], 0
jne 0x180159efb
mov rdx, qword [rbp - 0x68]
cmp rdx, qword [rbp - 0x60]
je 0x180159ee8
mov qword [rdx], rbx
add qword [rbp - 0x68], 8
jmp 0x18015a04f
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.18009c090
jmp 0x18015a04f
mov eax, dword [rsi + rdi]
cmp dword [0x18027ade8], eax
jle 0x180159f8f
lea rcx, [0x18027ade8]
call fcn.1801beed0
cmp dword [0x18027ade8], 0xffffffff
jne 0x180159f8f
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
lea r8d, [rdi + 0xb]
lea rdx, str.NetDormancy
lea rcx, [rsp + 0x20]
call fcn.18005a490
nop
mov r8b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.18015bfe0
mov rcx, rax
test rax, rax
jne 0x180159f66
lea eax, [rdi - 1]
jmp 0x180159f70
mov rax, qword [0x1802773c0]
mov eax, dword [rcx + rax]
mov dword [0x18027ae6c], eax
lea rcx, [rsp + 0x20]
call fcn.18005e2c0
nop
lea rcx, [0x18027ade8]
call fcn.1801bee64
jmp 0x180159f91
xor edi, edi
movsxd rax, dword [0x18027ae6c]
cmp byte [rax + rbx], 4
jne 0x180159fae
mov rcx, rbx
call fcn.180080a80
test al, al
jne 0x18015a04f
mov ecx, 0xd0
call fcn.1801bf554
mov qword [rsp + 0x40], rax
mov qword [rax + 0x30], rdi
mov qword [rax + 0x38], 0
mov qword [rax + 0x80], rdi
mov qword [rax + 0x88], 0
mov qword [rsp + 0x40], rax
mov qword [rax], rbx
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x180159ffc
mov qword [rdx], rax
add qword [rcx + 8], 8
jmp 0x18015a006
lea r8, [rsp + 0x40]
call fcn.18009c090
mov eax, dword [r12 + rsi]
cmp dword [0x18027ae68], eax
jle 0x18015a041
lea rcx, [0x18027ae68]
call fcn.1801beed0
cmp dword [0x18027ae68], 0xffffffff
jne 0x18015a041
mov rax, qword [0x180277868]
mov qword [0x18027adf8], rax
lea rcx, [0x18027ae68]
call fcn.1801bee64
mov rdx, qword [rsp + 0x48]
mov rcx, rbx
call qword [0x18027adf8]
mov rdi, qword gs:[0x58]
add r14, 8
sub r15, 1
jne 0x180159df0
mov eax, dword [rbp - 0x50]
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x18015a08a
test eax, eax
jle 0x18015a08a
movsxd rdx, eax
shl rdx, 3
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x18015a0cb
mov rdx, qword [rbp - 0x60]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x18015a0c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18015a0c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1801bedb0
mov rcx, qword [rbp + 0x1380]
xor rcx, rsp
call fcn.1801becc0
lea r11, [rsp + 0x1530]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret