Function at 0x180134d60
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1410]
mov eax, 0x1510
call fcn.18019b550
sub rsp, rax
movaps xmmword [rsp + 0x1500], xmm6
movaps xmmword [rsp + 0x14f0], xmm7
movaps xmmword [rsp + 0x14e0], xmm8
movaps xmmword [rsp + 0x14d0], xmm9
movaps xmmword [rsp + 0x14c0], xmm10
movaps xmmword [rsp + 0x14b0], xmm11
movaps xmmword [rsp + 0x14a0], xmm12
movaps xmmword [rsp + 0x1490], xmm13
movaps xmmword [rsp + 0x1480], xmm14
movaps xmmword [rsp + 0x1470], xmm15
mov rax, qword [0x18023a308]
xor rax, rsp
mov qword [rbp + 0x1360], rax
mov r15, rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
xor esi, esi
mov qword [rbp - 0x68], rsi
movsd xmm0, qword [0x18020dd70]
comisd xmm0, xmmword [0x180245fc0]
jbe 0x1801357d1
mov rax, qword [0x180246378]
mov rbx, qword [rcx + rax]
add rbx, 0x50
call fcn.1801346b0
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x68], esi
mov dword [rsp + 0x6c], 1
lea rdi, [rbx + 0x10]
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x78], 0xffffffff
mov qword [rsp + 0x7c], rsi
cmp dword [rdi + 0x18], esi
je 0x180134e69
lea rcx, [rsp + 0x68]
call fcn.1800c1640
mov qword [rsp + 0x40], rbx
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsp + 0x48], xmm0
movups xmm2, xmmword [rsp + 0x78]
movups xmmword [rsp + 0x58], xmm2
mov qword [rbp - 0x60], rbx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x48], xmm1
movaps xmm0, xmm2
unpckhpd xmm0, xmm2
movsd qword [rbp - 0x38], xmm0
mov r8d, dword [rdi + 0x18]
mov eax, r8d
sar eax, 5
mov dword [rsp + 0x68], eax
mov ecx, r8d
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov dword [rsp + 0x6c], edx
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x78], esi
mov dword [rsp + 0x7c], r8d
mov dword [rbp - 0x80], r8d
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rsp + 0x58], xmm1
movq rcx, xmm1
shr rcx, 0x20
psrldq xmm2, 4
movd eax, xmm2
cmp eax, ecx
jge 0x180135944
mov r13d, dword [0x1802453e4]
mov r12d, 8
xorps xmm11, xmm11
movss xmm9, dword [0x18020db2c]
movss xmm13, dword [0x18020db88]
xorps xmm10, xmm10
movsd xmm14, qword [0x18020db60]
movsd xmm12, qword [0x18020dde0]
movss xmm15, dword [0x18020da7c]
mov eax, dword [rbp - 0x3c]
nop
cdqe
lea rsi, [rax + rax*2]
mov rax, qword [rbp - 0x58]
mov r14, qword [rax]
mov rbx, qword [r14 + rsi*8]
test byte [rbx + 0x28], 1
jne 0x180134f7a
call fcn.1801346b0
mov rcx, rax
call fcn.1801301c0
xorps xmm2, xmm2
cvtss2sd xmm2, xmm0
movsd xmm1, qword [rbx + 0x10]
comisd xmm1, xmm2
jae 0x18013506e
mov rax, qword [r14 + rsi*8]
mov rdi, qword [rax]
mov qword [rsp + 0x28], rdi
test rdi, rdi
je 0x18013506e
mov rcx, rdi
call fcn.180079aa0
test al, al
jne 0x1801357a7
mov rax, qword gs:[0x58]
mov r13, qword [rax + r13*8]
mov eax, dword [r12 + r13]
cmp dword [0x1802495b0], eax
jle 0x180135040
lea rcx, [0x1802495b0]
call fcn.18019a810
cmp dword [0x1802495b0], 0xffffffff
jne 0x180135040
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xor ebx, ebx
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rbx
lea r8d, [rbx + 0xa]
lea rdx, str.RemoteRole
lea rcx, [rsp + 0x68]
call fcn.180054a60
nop
mov r8b, 1
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.1801379f0
mov rcx, rax
test rax, rax
jne 0x180135017
lea eax, [rbx - 1]
jmp 0x180135021
mov rax, qword [0x180245fb0]
mov eax, dword [rcx + rax]
mov dword [0x180249590], eax
lea rcx, [rsp + 0x68]
call fcn.180058a50
nop
lea rcx, [0x1802495b0]
call fcn.18019a7b0
jmp 0x180135042
xor ebx, ebx
movsxd rax, dword [0x180249590]
cmp byte [rax + rdi], 0
jne 0x1801350a1
mov rdx, qword [rbp - 0x70]
cmp rdx, qword [rbp - 0x68]
je 0x180135091
mov qword [rdx], rdi
add qword [rbp - 0x70], 8
mov r12d, 8
mov r13d, dword [0x1802453e4]
mov eax, dword [rbp - 0x4c]
not eax
and dword [rbp - 0x40], eax
lea rcx, [rbp - 0x50]
call fcn.1800c1640
mov eax, dword [rbp - 0x3c]
cmp eax, dword [rsp + 0x5c]
jl 0x180134f40
jmp 0x180135944
lea r8, [rsp + 0x28]
lea rcx, [rbp - 0x78]
call fcn.1800bfa30
jmp 0x180135061
mov eax, dword [r12 + r13]
cmp dword [0x180249608], eax
jle 0x180135133
lea rcx, [0x180249608]
call fcn.18019a810
cmp dword [0x180249608], 0xffffffff
jne 0x180135133
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rbx
mov r8d, ntohs
lea rdx, str.NetDormancy
lea rcx, [rsp + 0x68]
call fcn.180054a60
nop
mov r8b, 1
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.1801379f0
mov rcx, rax
test rax, rax
jne 0x18013510c
lea eax, [rcx - 1]
jmp 0x180135116
mov rax, qword [0x180245fb0]
mov eax, dword [rcx + rax]
mov dword [0x1802495f8], eax
lea rcx, [rsp + 0x68]
call fcn.180058a50
nop
lea rcx, [0x180249608]
call fcn.18019a7b0
movsxd rax, dword [0x1802495f8]
cmp byte [rax + rdi], 4
jne 0x180135150
mov rcx, rdi
call fcn.180079c40
test al, al
jne 0x180135061
mov rax, qword [r14 + rsi*8]
movsd xmm0, qword [rax + 0x18]
ucomisd xmm0, xmm11
jp 0x180135195
jne 0x180135195
mov rcx, qword [rsp + 0x20]
call fcn.1801301c0
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mov rax, qword [r14 + rsi*8]
movsd qword [rax + 0x18], xmm1
mov rcx, rdi
call fcn.180079e70
movaps xmm0, xmm9
divss xmm0, dword [rax]
mov rax, qword [r14 + rsi*8]
movss dword [rax + 0x20], xmm0
mov rbx, qword [r14 + rsi*8]
mov rcx, qword [rsp + 0x20]
call fcn.1801301c0
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
subsd xmm1, qword [rbx + 0x18]
cvtpd2ps xmm7, xmm1
comiss xmm7, xmm13
jbe 0x180135435
mov eax, dword [r12 + r13]
cmp dword [0x180249568], eax
jle 0x180135257
lea rcx, [0x180249568]
call fcn.18019a810
cmp dword [0x180249568], 0xffffffff
jne 0x180135257
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], 0
mov qword [rbp - 0x80], 0
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.MinNetUpdateFrequency
lea rcx, [rsp + 0x68]
call fcn.180054a60
nop
mov r8b, 1
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.1801379f0
mov rcx, rax
test rax, rax
jne 0x180135230
lea eax, [rcx - 1]
jmp 0x18013523a
mov rax, qword [0x180245fb0]
mov eax, dword [rcx + rax]
mov dword [0x1802495c0], eax
lea rcx, [rsp + 0x68]
call fcn.180058a50
nop
lea rcx, [0x180249568]
call fcn.18019a7b0
movsxd rax, dword [0x1802495c0]
movss xmm0, dword [rax + rdi]
ucomiss xmm0, xmm10
jp 0x180135272
jne 0x180135272
mov dword [rax + rdi], 0x40000000
mov rcx, rdi
call fcn.180079e70
movaps xmm8, xmm9
divss xmm8, dword [rax]
mov rcx, rdi
call fcn.180079f40
movaps xmm0, xmm9
divss xmm0, dword [rax]
comiss xmm0, xmm8
jbe 0x1801352ab
mov rcx, rdi
call fcn.180079f40
movaps xmm6, xmm9
divss xmm6, dword [rax]
jmp 0x1801352af
movaps xmm6, xmm8
mov dword [rsp + 0x28], 0x3f800000
mov dword [rsp + 0x38], 0
subss xmm7, xmm13
divss xmm7, dword [0x18020ddb0]
movss dword [rsp + 0x3c], xmm7
comiss xmm10, xmm7
lea rcx, [rsp + 0x38]
lea rax, [rsp + 0x3c]
cmovbe rcx, rax
comiss xmm7, xmm9
lea rax, [rsp + 0x28]
cmovbe rax, rcx
movss xmm7, dword [rax]
movd ecx, xmm7
btr ecx, 0x1f
cmp ecx, 0x7f800000
jae 0x1801353b3
movd eax, xmm8
btr eax, 0x1f
cmp eax, 0x7f800000
jae 0x1801353b3
movd eax, xmm6
btr eax, 0x1f
cmp eax, 0x7f800000
jae 0x1801353b3
comiss xmm10, xmm8
jb 0x18013533c
comiss xmm6, xmm10
jae 0x180135348
comiss xmm8, xmm10
jb 0x18013535e
comiss xmm10, xmm6
jb 0x18013535e
movaps xmm0, xmm9
subss xmm0, xmm7
mulss xmm0, xmm8
mulss xmm7, xmm6
jmp 0x180135428
ucomiss xmm7, xmm9
jp 0x18013536e
jne 0x18013536e
movaps xmm0, xmm6
jmp 0x18013542c
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 0x1801353a9
comiss xmm6, xmm0
jbe 0x18013542c
movaps xmm0, xmm6
jmp 0x18013542c
comiss xmm0, xmm6
jbe 0x18013542c
movaps xmm0, xmm6
jmp 0x18013542c
movd eax, xmm8
btr eax, 0x1f
cmp eax, 0x7f800000
ja 0x180135420
movd eax, xmm6
btr eax, 0x1f
cmp eax, 0x7f800000
ja 0x180135420
movd eax, xmm7
btr eax, 0x1f
cmp eax, 0x7f800000
jbe 0x1801353e6
movaps xmm0, xmm7
jmp 0x180135428
cmp ecx, 0x7f800000
jae 0x180135412
comiss xmm10, xmm7
jbe 0x1801353fe
movaps xmm0, xmm8
subss xmm0, xmm6
jmp 0x18013542c
comiss xmm9, xmm7
jae 0x180135348
movaps xmm0, xmm6
subss xmm0, xmm8
jmp 0x18013542c
movaps xmm0, xmm6
subss xmm0, xmm8
mulss xmm0, xmm7
jmp 0x18013542c
movaps xmm0, xmm6
addss xmm0, xmm8
addss xmm0, xmm7
mov rax, qword [r14 + rsi*8]
movss dword [rax + 0x20], xmm0
mov rax, qword [r14 + rsi*8]
test byte [rax + 0x28], 1
jne 0x180135727
mov rcx, rdi
call fcn.180079e70
movaps xmm7, xmm9
divss xmm7, dword [rax]
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1354], 0xffffffff
mov dword [rbp - 0x2c], eax
mov edx, 1
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 - 0x2c], eax
inc rdx
cmp rdx, 0x270
jb 0x180135470
mov edx, 0x270
mov dword [rbp - 0x30], edx
movaps xmm1, xmm11
movaps xmm2, xmm14
mov r10d, 2
cmp edx, 0x270
jne 0x180135501
lea r8, [rbp - 0x28]
mov r9d, edx
nop dword [rax]
nop dword [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 0x1801354c0
mov edx, dword [rbp - 0x30]
jmp 0x1801355dd
cmp edx, 0x4e0
jb 0x1801355dd
xor r8d, r8d
mov edx, dword [rbp + r8*4 + 0x998]
xor edx, dword [rbp + r8*4 + 0x994]
btr edx, 0x1f
xor edx, dword [rbp + r8*4 + 0x994]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [rbp + r8*4 + 0xfc8]
shr edx, 1
xor ecx, edx
mov dword [rbp + r8*4 - 0x2c], ecx
inc r8
cmp r8, 0xe3
jb 0x180135510
mov r8d, 0xe3
nop dword [rax]
mov edx, dword [rbp + r8*4 + 0x998]
xor edx, dword [rbp + r8*4 + 0x994]
btr edx, 0x1f
xor edx, dword [rbp + r8*4 + 0x994]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [rbp + r8*4 - 0x3b8]
shr edx, 1
xor ecx, edx
mov dword [rbp + r8*4 - 0x2c], ecx
inc r8
cmp r8, 0x26f
jb 0x180135560
mov edx, dword [rbp + 0x1350]
xor edx, dword [rbp - 0x2c]
btr edx, 0x1f
xor edx, dword [rbp + 0x1350]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and ecx, 0x9908b0df
shr edx, 1
xor ecx, edx
xor ecx, dword [rbp + 0x604]
mov dword [rbp + 0x990], ecx
xor edx, edx
mov dword [rbp - 0x30], edx
mov eax, edx
mov ecx, dword [rbp + rax*4 - 0x2c]
inc edx
mov dword [rbp - 0x30], edx
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x1354]
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 0x1801354a5
divsd xmm1, xmm2
addsd xmm1, xmm11
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm1
mov rcx, qword [rsp + 0x20]
call fcn.1801301c0
mulss xmm6, xmm15
addss xmm0, xmm6
addss xmm0, xmm7
cvtss2sd xmm0, xmm0
mov rax, qword [r14 + rsi*8]
movsd qword [rax + 0x10], xmm0
mov eax, dword [r12 + r13]
cmp dword [0x1802495c8], eax
jle 0x18013570d
lea rcx, [0x1802495c8]
call fcn.18019a810
cmp dword [0x1802495c8], 0xffffffff
jne 0x18013570d
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], 0
mov qword [rbp - 0x80], 0
mov r8d, 4
lea rdx, str.Time
lea rcx, [rsp + 0x68]
call fcn.180054a60
nop
mov r8b, 1
lea rdx, [rsp + 0x68]
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.1801379f0
mov rcx, rax
test rax, rax
jne 0x1801356e4
lea eax, [rcx - 1]
jmp 0x1801356ee
mov rax, qword [0x180245fb0]
mov eax, dword [rcx + rax]
mov dword [0x180249570], eax
lea rcx, [rsp + 0x68]
call fcn.180058a50
nop
lea rcx, [0x1802495c8]
call fcn.18019a7b0
jmp 0x180135712
mov rbx, qword [rsp + 0x30]
movsxd rax, dword [0x180249570]
movss xmm0, dword [rax + rbx]
mov rax, qword [r14 + rsi*8]
movss dword [rax + 0x24], xmm0
mov rax, qword [r14 + rsi*8]
and dword [rax + 0x28], 0xfffffffe
mov rax, qword [r14 + rsi*8]
mov qword [rsp + 0x28], rax
mov rdx, qword [r15 + 8]
cmp rdx, qword [r15 + 0x10]
je 0x18013574c
mov qword [rdx], rax
add qword [r15 + 8], 8
jmp 0x180135759
lea r8, [rsp + 0x28]
mov rcx, r15
call fcn.1800bfa30
mov eax, dword [r12 + r13]
cmp dword [0x18024959c], eax
jle 0x180135794
lea rcx, [0x18024959c]
call fcn.18019a810
cmp dword [0x18024959c], 0xffffffff
jne 0x180135794
mov rax, qword [0x180246450]
mov qword [0x180249658], rax
lea rcx, [0x18024959c]
call fcn.18019a7b0
mov rdx, qword [rsp + 0x30]
mov rcx, rdi
call qword [0x180249658]
jmp 0x180135061
mov rdx, qword [rbp - 0x70]
cmp rdx, qword [rbp - 0x68]
je 0x1801357be
mov qword [rdx], rdi
add qword [rbp - 0x70], 8
jmp 0x18013506e
lea r8, [rsp + 0x28]
lea rcx, [rbp - 0x78]
call fcn.1800bfa30
jmp 0x18013506e
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
call fcn.18007aa70
mov rbx, rax
call fcn.1801346b0
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1801300a0
mov r13, qword [rsp + 0x68]
mov r12d, dword [rsp + 0x70]
test r12d, r12d
jle 0x180135923
mov r14, r13
mov r15d, r12d
mov esi, 8
mov r12d, dword [0x1802453e4]
mov r13, qword gs:[0x58]
nop dword [rax]
nop dword [rax + rax]
mov rbx, qword [r14]
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call fcn.180079aa0
test al, al
jne 0x180135aed
mov rdi, qword [r13 + r12*8]
mov eax, dword [rsi + rdi]
cmp dword [0x18024958c], eax
jle 0x1801358df
lea rcx, [0x18024958c]
call fcn.18019a810
cmp dword [0x18024958c], 0xffffffff
jne 0x1801358df
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
lea r8d, [rax + 0xa]
lea rdx, str.RemoteRole
lea rcx, [rsp + 0x40]
call fcn.180054a60
nop
mov r8b, 1
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1801379f0
mov rcx, rax
test rax, rax
jne 0x1801358b8
lea eax, [rcx - 1]
jmp 0x1801358c2
mov rax, qword [0x180245fb0]
mov eax, dword [rcx + rax]
mov dword [0x180249640], eax
lea rcx, [rsp + 0x40]
call fcn.180058a50
nop
lea rcx, [0x18024958c]
call fcn.18019a7b0
movsxd rax, dword [0x180249640]
cmp byte [rax + rbx], 0
jne 0x18013599f
mov rdx, qword [rbp - 0x70]
cmp rdx, qword [rbp - 0x68]
je 0x18013598c
mov qword [rdx], rbx
add qword [rbp - 0x70], 8
mov esi, 8
add r14, 8
sub r15, 1
jne 0x180135830
mov r12d, dword [rsp + 0x70]
mov r13, qword [rsp + 0x68]
test r13, r13
je 0x180135944
test r12d, r12d
jle 0x180135944
movsxd rdx, r12d
shl rdx, 3
mov r8d, 0x8000
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x180135b1c
mov rdx, qword [rbp - 0x68]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x180135b17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180135b17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea r8, [rsp + 0x20]
lea rcx, [rbp - 0x78]
call fcn.1800bfa30
jmp 0x180135906
mov eax, dword [rsi + rdi]
cmp dword [0x1802495c4], eax
jle 0x180135a31
lea rcx, [0x1802495c4]
call fcn.18019a810
cmp dword [0x1802495c4], 0xffffffff
jne 0x180135a31
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
lea r8d, [rax + 0xb]
lea rdx, str.NetDormancy
lea rcx, [rsp + 0x40]
call fcn.180054a60
nop
mov r8b, 1
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1801379f0
mov rcx, rax
test rax, rax
jne 0x180135a0a
lea eax, [rcx - 1]
jmp 0x180135a14
mov rax, qword [0x180245fb0]
mov eax, dword [rcx + rax]
mov dword [0x180249654], eax
lea rcx, [rsp + 0x40]
call fcn.180058a50
nop
lea rcx, [0x1802495c4]
call fcn.18019a7b0
movsxd rax, dword [0x180249654]
cmp byte [rax + rbx], 4
jne 0x180135a4e
mov rcx, rbx
call fcn.180079c40
test al, al
jne 0x180135906
mov ecx, 0xd0
call fcn.18019af3c
mov qword [rsp + 0x20], rax
xor ecx, ecx
mov qword [rax + 0x30], rcx
mov qword [rax + 0x38], rcx
mov qword [rax + 0x80], rcx
mov qword [rax + 0x88], rcx
mov qword [rsp + 0x20], rax
mov qword [rax], rbx
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x180135a96
mov qword [rdx], rax
add qword [rcx + 8], 8
jmp 0x180135aa0
lea r8, [rsp + 0x20]
call fcn.1800bfa30
mov eax, dword [rsi + rdi]
cmp dword [0x180249650], eax
jle 0x180135ada
lea rcx, [0x180249650]
call fcn.18019a810
cmp dword [0x180249650], 0xffffffff
jne 0x180135ada
mov rax, qword [0x180246450]
mov qword [0x1802495e8], rax
lea rcx, [0x180249650]
call fcn.18019a7b0
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call qword [0x1802495e8]
jmp 0x180135906
mov rdx, qword [rbp - 0x70]
cmp rdx, qword [rbp - 0x68]
je 0x180135b04
mov qword [rdx], rbx
add qword [rbp - 0x70], 8
jmp 0x18013590b
lea r8, [rsp + 0x20]
lea rcx, [rbp - 0x78]
call fcn.1800bfa30
jmp 0x18013590b
call fcn.18019a610
mov rcx, qword [rbp + 0x1360]
xor rcx, rsp
call fcn.18019a520
lea r11, [rsp + 0x1510]
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