Function at 0x180137b20
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 - 0x1420]
mov eax, 0x1520
call fcn.18019e170
sub rsp, rax
movaps xmmword [rsp + 0x1510], xmm6
movaps xmmword [rsp + 0x1500], xmm7
movaps xmmword [rsp + 0x14f0], xmm8
movaps xmmword [rsp + 0x14e0], xmm9
movaps xmmword [rsp + 0x14d0], xmm10
movaps xmmword [rsp + 0x14c0], xmm11
movaps xmmword [rsp + 0x14b0], xmm12
movaps xmmword [rsp + 0x14a0], xmm13
movaps xmmword [rsp + 0x1490], xmm14
movaps xmmword [rsp + 0x1480], xmm15
mov rax, qword [0x18023f308]
xor rax, rsp
mov qword [rbp + 0x1370], rax
mov r15, rdx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
xor esi, esi
mov qword [rbp - 0x60], rsi
movsd xmm0, qword [0x180212280]
comisd xmm0, xmmword [0x18024afa0]
jbe 0x18013857f
mov rax, qword [0x18024b358]
mov rbx, qword [rcx + rax]
add rbx, 0x50
call fcn.180137470
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x70], esi
mov dword [rsp + 0x74], 1
lea rdi, [rbx + 0x10]
mov qword [rsp + 0x78], rdi
mov dword [rbp - 0x80], 0xffffffff
mov qword [rbp - 0x7c], rsi
cmp dword [rdi + 0x18], esi
je 0x180137c27
lea rcx, [rsp + 0x70]
call fcn.1800c2ef0
mov qword [rsp + 0x48], rbx
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x50], xmm0
movups xmm2, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x60], xmm2
mov qword [rbp - 0x58], rbx
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp - 0x40], xmm1
movaps xmm0, xmm2
unpckhpd xmm0, xmm2
movsd qword [rbp - 0x30], xmm0
mov edx, dword [rdi + 0x18]
mov eax, edx
sar eax, 5
mov dword [rsp + 0x70], eax
mov ecx, edx
and ecx, 0x1f
mov eax, 1
shl eax, cl
mov dword [rsp + 0x74], eax
mov qword [rsp + 0x78], rdi
mov dword [rbp - 0x80], esi
mov dword [rbp - 0x7c], edx
mov dword [rbp - 0x78], edx
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x60], xmm1
movq rcx, xmm1
shr rcx, 0x20
psrldq xmm2, 4
movd eax, xmm2
cmp eax, ecx
jge 0x180138873
mov r13d, dword [0x18024a3d0]
mov r12d, 8
xorps xmm11, xmm11
movss xmm9, dword [0x18021203c]
movss xmm13, dword [0x180212098]
xorps xmm10, xmm10
movsd xmm14, qword [0x180212070]
movsd xmm12, qword [0x1802122f0]
movss xmm15, dword [0x180211f98]
mov eax, dword [rbp - 0x34]
cdqe
lea rsi, [rax + rax*2]
mov rax, qword [rbp - 0x50]
mov r14, qword [rax]
mov rbx, qword [r14 + rsi*8]
test byte [rbx + 0x28], 1
jne 0x180137d2d
call fcn.180137470
mov rcx, rax
call fcn.180132f80
xorps xmm2, xmm2
cvtss2sd xmm2, xmm0
movsd xmm1, qword [rbx + 0x10]
comisd xmm1, xmm2
jae 0x18013855c
mov rax, qword [r14 + rsi*8]
mov rdi, qword [rax]
mov qword [rsp + 0x20], rdi
test rdi, rdi
je 0x18013855c
mov rcx, rdi
call fcn.18007b6e0
test al, al
je 0x180137d78
mov rdx, qword [rbp - 0x68]
cmp rdx, qword [rbp - 0x60]
je 0x180137d65
mov qword [rdx], rdi
add qword [rbp - 0x68], 8
jmp 0x18013855c
lea r8, [rsp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.1800c16c0
jmp 0x18013855c
mov rax, qword gs:[0x58]
mov r13, qword [rax + r13*8]
mov eax, dword [r12 + r13]
cmp dword [0x18024e5c0], eax
jle 0x180137e18
lea rcx, [0x18024e5c0]
call fcn.18019d4d0
cmp dword [0x18024e5c0], 0xffffffff
jne 0x180137e18
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xor ebx, ebx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
lea r8d, [rbx + 0xa]
lea rdx, str.RemoteRole
lea rcx, [rsp + 0x70]
call fcn.180055300
nop
mov r8b, 1
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.18013a790
mov rcx, rax
test rax, rax
jne 0x180137def
lea eax, [rbx - 1]
jmp 0x180137df9
mov rax, qword [0x18024af90]
mov eax, dword [rcx + rax]
mov dword [0x18024e5a0], eax
lea rcx, [rsp + 0x70]
call fcn.180059070
nop
lea rcx, [0x18024e5c0]
call fcn.18019d464
jmp 0x180137e1a
xor ebx, ebx
movsxd rax, dword [0x18024e5a0]
cmp byte [rax + rdi], 0
jne 0x180137e51
mov rdx, qword [rbp - 0x68]
cmp rdx, qword [rbp - 0x60]
je 0x180137e3e
mov qword [rdx], rdi
add qword [rbp - 0x68], 8
jmp 0x18013854f
lea r8, [rsp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.1800c16c0
jmp 0x18013854f
mov eax, dword [r12 + r13]
cmp dword [0x18024e618], eax
jle 0x180137ee2
lea rcx, [0x18024e618]
call fcn.18019d4d0
cmp dword [0x18024e618], 0xffffffff
jne 0x180137ee2
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
mov r8d, recv
lea rdx, str.NetDormancy
lea rcx, [rsp + 0x70]
call fcn.180055300
nop
mov r8b, 1
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.18013a790
mov rcx, rax
test rax, rax
jne 0x180137ebb
lea eax, [rcx - 1]
jmp 0x180137ec5
mov rax, qword [0x18024af90]
mov eax, dword [rcx + rax]
mov dword [0x18024e608], eax
lea rcx, [rsp + 0x70]
call fcn.180059070
nop
lea rcx, [0x18024e618]
call fcn.18019d464
movsxd rax, dword [0x18024e608]
cmp byte [rax + rdi], 4
jne 0x180137eff
mov rcx, rdi
call fcn.18007b880
test al, al
jne 0x18013854f
mov rax, qword [r14 + rsi*8]
movsd xmm0, qword [rax + 0x18]
ucomisd xmm0, xmm11
jp 0x180137f44
jne 0x180137f44
mov rcx, qword [rsp + 0x30]
call fcn.180132f80
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mov rax, qword [r14 + rsi*8]
movsd qword [rax + 0x18], xmm1
mov rcx, rdi
call fcn.18007bab0
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 + 0x30]
call fcn.180132f80
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
subsd xmm1, qword [rbx + 0x18]
cvtpd2ps xmm7, xmm1
comiss xmm7, xmm13
jbe 0x1801381e3
mov eax, dword [r12 + r13]
cmp dword [0x18024e578], eax
jle 0x180138005
lea rcx, [0x18024e578]
call fcn.18019d4d0
cmp dword [0x18024e578], 0xffffffff
jne 0x180138005
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], 0
mov qword [rbp - 0x78], 0
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.MinNetUpdateFrequency
lea rcx, [rsp + 0x70]
call fcn.180055300
nop
mov r8b, 1
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.18013a790
mov rcx, rax
test rax, rax
jne 0x180137fde
lea eax, [rcx - 1]
jmp 0x180137fe8
mov rax, qword [0x18024af90]
mov eax, dword [rcx + rax]
mov dword [0x18024e5d0], eax
lea rcx, [rsp + 0x70]
call fcn.180059070
nop
lea rcx, [0x18024e578]
call fcn.18019d464
movsxd rax, dword [0x18024e5d0]
movss xmm0, dword [rax + rdi]
ucomiss xmm0, xmm10
jp 0x180138020
jne 0x180138020
mov dword [rax + rdi], 0x40000000
mov rcx, rdi
call fcn.18007bab0
movaps xmm8, xmm9
divss xmm8, dword [rax]
mov rcx, rdi
call fcn.18007bb80
movaps xmm0, xmm9
divss xmm0, dword [rax]
comiss xmm0, xmm8
jbe 0x180138059
mov rcx, rdi
call fcn.18007bb80
movaps xmm6, xmm9
divss xmm6, dword [rax]
jmp 0x18013805d
movaps xmm6, xmm8
mov dword [rsp + 0x40], 0x3f800000
mov dword [rsp + 0x38], 0
subss xmm7, xmm13
divss xmm7, dword [0x1802122c0]
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 + 0x40]
cmovbe rax, rcx
movss xmm7, dword [rax]
movd ecx, xmm7
btr ecx, 0x1f
cmp ecx, 0x7f800000
jae 0x180138161
movd eax, xmm8
btr eax, 0x1f
cmp eax, 0x7f800000
jae 0x180138161
movd eax, xmm6
btr eax, 0x1f
cmp eax, 0x7f800000
jae 0x180138161
comiss xmm10, xmm8
jb 0x1801380ea
comiss xmm6, xmm10
jae 0x1801380f6
comiss xmm8, xmm10
jb 0x18013810c
comiss xmm10, xmm6
jb 0x18013810c
movaps xmm0, xmm9
subss xmm0, xmm7
mulss xmm0, xmm8
mulss xmm7, xmm6
jmp 0x1801381d6
ucomiss xmm7, xmm9
jp 0x18013811c
jne 0x18013811c
movaps xmm0, xmm6
jmp 0x1801381da
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 0x180138157
comiss xmm6, xmm0
jbe 0x1801381da
movaps xmm0, xmm6
jmp 0x1801381da
comiss xmm0, xmm6
jbe 0x1801381da
movaps xmm0, xmm6
jmp 0x1801381da
movd eax, xmm8
btr eax, 0x1f
cmp eax, 0x7f800000
ja 0x1801381ce
movd eax, xmm6
btr eax, 0x1f
cmp eax, 0x7f800000
ja 0x1801381ce
movd eax, xmm7
btr eax, 0x1f
cmp eax, 0x7f800000
jbe 0x180138194
movaps xmm0, xmm7
jmp 0x1801381d6
cmp ecx, 0x7f800000
jae 0x1801381c0
comiss xmm10, xmm7
jbe 0x1801381ac
movaps xmm0, xmm8
subss xmm0, xmm6
jmp 0x1801381da
comiss xmm9, xmm7
jae 0x1801380f6
movaps xmm0, xmm6
subss xmm0, xmm8
jmp 0x1801381da
movaps xmm0, xmm6
subss xmm0, xmm8
mulss xmm0, xmm7
jmp 0x1801381da
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 0x1801384d4
mov rcx, rdi
call fcn.18007bab0
movaps xmm7, xmm9
divss xmm7, dword [rax]
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1364], 0xffffffff
mov dword [rbp - 0x1c], eax
mov edx, 1
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 - 0x1c], eax
inc rdx
cmp rdx, 0x270
jb 0x180138220
mov edx, 0x270
mov dword [rbp - 0x20], edx
movaps xmm1, xmm11
movaps xmm2, xmm14
mov r10d, 2
cmp edx, 0x270
jne 0x1801382b1
lea r8, [rbp - 0x18]
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 0x180138270
mov edx, dword [rbp - 0x20]
jmp 0x18013838b
cmp edx, 0x4e0
jb 0x18013838b
xor r8d, r8d
mov eax, dword [rbp + r8*4 + 0x9a4]
mov edx, eax
xor edx, dword [rbp + r8*4 + 0x9a8]
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 + 0xfd8]
shr edx, 1
xor ecx, edx
mov dword [rbp + r8*4 - 0x1c], ecx
inc r8
cmp r8, 0xe3
jb 0x1801382c0
mov r8d, 0xe3
nop dword [rax]
mov eax, dword [rbp + r8*4 + 0x9a4]
mov edx, eax
xor edx, dword [rbp + r8*4 + 0x9a8]
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 - 0x3a8]
shr edx, 1
xor ecx, edx
mov dword [rbp + r8*4 - 0x1c], ecx
inc r8
cmp r8, 0x26f
jb 0x180138310
mov edx, dword [rbp + 0x1360]
and edx, 0x80000000
mov eax, dword [rbp - 0x1c]
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 + 0x614]
mov dword [rbp + 0x9a0], ecx
xor edx, edx
mov dword [rbp - 0x20], edx
mov eax, edx
mov ecx, dword [rbp + rax*4 - 0x1c]
inc edx
mov dword [rbp - 0x20], edx
mov eax, ecx
shr eax, 0xb
and eax, dword [rbp + 0x1364]
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 0x180138255
divsd xmm1, xmm2
addsd xmm1, xmm11
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm1
mov rcx, qword [rsp + 0x30]
call fcn.180132f80
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 [0x18024e5d8], eax
jle 0x1801384ba
lea rcx, [0x18024e5d8]
call fcn.18019d4d0
cmp dword [0x18024e5d8], 0xffffffff
jne 0x1801384ba
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], 0
mov qword [rbp - 0x78], 0
mov r8d, 4
lea rdx, str.Time
lea rcx, [rsp + 0x70]
call fcn.180055300
nop
mov r8b, 1
lea rdx, [rsp + 0x70]
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
call fcn.18013a790
mov rcx, rax
test rax, rax
jne 0x180138491
lea eax, [rcx - 1]
jmp 0x18013849b
mov rax, qword [0x18024af90]
mov eax, dword [rcx + rax]
mov dword [0x18024e580], eax
lea rcx, [rsp + 0x70]
call fcn.180059070
nop
lea rcx, [0x18024e5d8]
call fcn.18019d464
jmp 0x1801384bf
mov rbx, qword [rsp + 0x28]
movsxd rax, dword [0x18024e580]
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 + 0x20], rax
mov rdx, qword [r15 + 8]
cmp rdx, qword [r15 + 0x10]
je 0x1801384f9
mov qword [rdx], rax
add qword [r15 + 8], 8
jmp 0x180138506
lea r8, [rsp + 0x20]
mov rcx, r15
call fcn.1800c16c0
mov eax, dword [r12 + r13]
cmp dword [0x18024e5ac], eax
jle 0x180138541
lea rcx, [0x18024e5ac]
call fcn.18019d4d0
cmp dword [0x18024e5ac], 0xffffffff
jne 0x180138541
mov rax, qword [0x18024b430]
mov qword [0x18024e668], rax
lea rcx, [0x18024e5ac]
call fcn.18019d464
mov rdx, qword [rsp + 0x28]
mov rcx, rdi
call qword [0x18024e668]
mov r12d, 8
mov r13d, dword [0x18024a3d0]
mov eax, dword [rbp - 0x44]
not eax
and dword [rbp - 0x38], eax
lea rcx, [rbp - 0x48]
call fcn.1800c2ef0
mov eax, dword [rbp - 0x34]
cmp eax, dword [rsp + 0x64]
jl 0x180137cf3
jmp 0x180138873
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
call fcn.18007c6b0
mov rbx, rax
call fcn.180137470
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.180132e60
mov r13, qword [rsp + 0x70]
mov r12d, dword [rsp + 0x78]
test r12d, r12d
jle 0x180138852
mov r14, r13
mov r15d, r12d
mov esi, 8
mov r12d, dword [0x18024a3d0]
mov r13, qword gs:[0x58]
nop dword [rax]
nop word [rax + rax]
mov rbx, qword [r14]
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call fcn.18007b6e0
test al, al
je 0x18013861e
mov rdx, qword [rbp - 0x68]
cmp rdx, qword [rbp - 0x60]
je 0x18013860b
mov qword [rdx], rbx
add qword [rbp - 0x68], 8
jmp 0x18013883a
lea r8, [rsp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.1800c16c0
jmp 0x18013883a
mov rdi, qword [r13 + r12*8]
mov eax, dword [rdi + rsi]
cmp dword [0x18024e59c], eax
jle 0x1801386b5
lea rcx, [0x18024e59c]
call fcn.18019d4d0
cmp dword [0x18024e59c], 0xffffffff
jne 0x1801386b5
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea r8d, [rax + 0xa]
lea rdx, str.RemoteRole
lea rcx, [rsp + 0x48]
call fcn.180055300
nop
mov r8b, 1
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.18013a790
mov rcx, rax
test rax, rax
jne 0x18013868e
lea eax, [rcx - 1]
jmp 0x180138698
mov rax, qword [0x18024af90]
mov eax, dword [rcx + rax]
mov dword [0x18024e650], eax
lea rcx, [rsp + 0x48]
call fcn.180059070
nop
lea rcx, [0x18024e59c]
call fcn.18019d464
movsxd rax, dword [0x18024e650]
cmp byte [rax + rbx], 0
jne 0x1801386ec
mov rdx, qword [rbp - 0x68]
cmp rdx, qword [rbp - 0x60]
je 0x1801386d9
mov qword [rdx], rbx
add qword [rbp - 0x68], 8
jmp 0x180138835
lea r8, [rsp + 0x20]
lea rcx, [rbp - 0x70]
call fcn.1800c16c0
jmp 0x180138835
mov eax, dword [rdi + rsi]
cmp dword [0x18024e5d4], eax
jle 0x18013877e
lea rcx, [0x18024e5d4]
call fcn.18019d4d0
cmp dword [0x18024e5d4], 0xffffffff
jne 0x18013877e
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea r8d, [rax + 0xb]
lea rdx, str.NetDormancy
lea rcx, [rsp + 0x48]
call fcn.180055300
nop
mov r8b, 1
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.18013a790
mov rcx, rax
test rax, rax
jne 0x180138757
lea eax, [rcx - 1]
jmp 0x180138761
mov rax, qword [0x18024af90]
mov eax, dword [rcx + rax]
mov dword [0x18024e664], eax
lea rcx, [rsp + 0x48]
call fcn.180059070
nop
lea rcx, [0x18024e5d4]
call fcn.18019d464
movsxd rax, dword [0x18024e664]
cmp byte [rax + rbx], 4
jne 0x18013879b
mov rcx, rbx
call fcn.18007b880
test al, al
jne 0x180138835
mov ecx, 0xd0
call fcn.18019db64
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 + 0x30]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x1801387e3
mov qword [rdx], rax
add qword [rcx + 8], 8
jmp 0x1801387ed
lea r8, [rsp + 0x20]
call fcn.1800c16c0
mov eax, dword [rsi + rdi]
cmp dword [0x18024e660], eax
jle 0x180138827
lea rcx, [0x18024e660]
call fcn.18019d4d0
cmp dword [0x18024e660], 0xffffffff
jne 0x180138827
mov rax, qword [0x18024b430]
mov qword [0x18024e5f8], rax
lea rcx, [0x18024e660]
call fcn.18019d464
mov rdx, qword [rsp + 0x28]
mov rcx, rbx
call qword [0x18024e5f8]
mov esi, 8
add r14, 8
sub r15, 1
jne 0x1801385e0
mov r12d, dword [rsp + 0x78]
mov r13, qword [rsp + 0x70]
test r13, r13
je 0x180138873
test r12d, r12d
jle 0x180138873
movsxd rdx, r12d
shl rdx, 3
mov r8d, 0x8000
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1801388b4
mov rdx, qword [rbp - 0x60]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801388af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801388af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18019d3b0
mov rcx, qword [rbp + 0x1370]
xor rcx, rsp
call fcn.18019d2c0
lea r11, [rsp + 0x1520]
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