Function at 0x18000f7a0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
mov rax, qword [0x18004d010]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov r13, rdx
mov r12, rcx
movsd xmm0, qword [str.VMUHWOPSn_:D]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x180047ac0]
mov dword [rsp + 0x38], eax
movzx eax, byte [0x180047ac4]
mov byte [rsp + 0x3c], al
xor ebx, ebx
mov r8d, ebx
lea edi, [rbx + 4]
lea eax, [rbx + 0x1f]
mov esi, dword [0x18004d018]
cmp esi, 2
jl 0x18000f925
movdqa xmm4, xmmword [0x180048060]
movd xmm6, edi
movd xmm5, eax
movdqa xmm2, xmmword [0x180047fb0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047fe0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180048040]
movd xmm0, dword [str.VMUHWOPSn_:D]
pxor xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x180047fc0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047fe0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x180048040]
movd xmm0, dword [rsp + 0x34]
pxor xmm2, xmm0
movd dword [rsp + 0x34], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x18000f930
lea rcx, [rsp + 0x30]
call fcn.180009c20
mov r15, rax
mov edx, dword [0x18004dec4]
mov rcx, qword gs:[0x58]
mov eax, 4
mov r14, qword [rcx + rdx*8]
add r14, rax
mov ecx, dword [r14]
cmp dword [0x18004e058], ecx
jle 0x18000fd27
lea rcx, [0x18004e058]
call fcn.180024c20
cmp dword [0x18004e058], 0xffffffff
jne 0x18000fd27
mov rax, qword [r12]
mov rdi, qword [rax + 0x80]
movsd xmm0, qword [0x180047b88]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x180047b90]
mov dword [rsp + 0x38], eax
movzx eax, byte [0x180047b94]
mov byte [rsp + 0x3c], al
mov r8d, ebx
mov r10d, 4
lea r11d, [r10 + 0x1b]
cmp esi, 2
jl 0x18000fb00
movdqa xmm4, xmmword [0x180048060]
movd xmm6, r10d
movd xmm5, r11d
movdqa xmm2, xmmword [0x180047fb0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047fe0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
mov eax, dword [0x180048040]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [0x180047b88]
pxor xmm2, xmm1
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x180047fc0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047fe0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
pxor xmm2, xmm1
movd dword [rsp + 0x34], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x18000fb10
movsd xmm0, qword [0x180047ac8]
movsd qword [rbp - 0x28], xmm0
mov eax, dword [0x180047ad0]
mov dword [rbp - 0x20], eax
movzx eax, byte [0x180047ad4]
mov byte [rbp - 0x1c], al
mov r8d, ebx
cmp esi, 2
jl 0x18000fc75
movdqa xmm4, xmmword [0x180048060]
movd xmm6, r10d
movd xmm5, r11d
movdqa xmm2, xmmword [0x180047fb0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047fe0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
mov eax, dword [0x180048040]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [0x180047ac8]
pxor xmm2, xmm1
movd dword [rbp - 0x28], xmm2
movdqa xmm3, xmmword [0x180047fc0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047fe0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x24]
pxor xmm2, xmm1
movd dword [rbp - 0x24], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x28]
add r9, rax
nop
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x18000fc80
mov eax, dword [str.hx_]
mov dword [rsp + 0x40], eax
movzx eax, byte [0x180047994]
mov byte [rsp + 0x40], 0x50
xor byte [rsp + 0x41], 0x39
xor byte [rsp + 0x42], 0x3a
xor byte [rsp + 0x43], 0x3b
xor al, 0x3c
mov byte [rsp + 0x44], al
mov dword [rbp - 0x30], ebx
lea r9, [rbp - 0x30]
mov r8, r15
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180012900
mov r8d, dword [rbp - 0x30]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x28]
mov rdx, rax
mov rcx, rdi
call fcn.180012280
mov qword [0x18004e0c8], rax
lea rcx, [0x18004e058]
call fcn.180024bc0
mov edi, 4
mov r15, qword [0x18004e0c8]
test r15, r15
jne 0x18000ff01
movups xmm0, xmmword [0x1800479f0]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [0x180047a00]
movups xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [0x180047a10]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x180047a20]
movups xmmword [rbp - 0x80], xmm1
mov eax, dword [0x180047a30]
mov dword [rbp - 0x70], eax
movzx eax, word [0x180047a34]
mov word [rbp - 0x6c], ax
cmp esi, 2
jl 0x18000feae
movdqa xmm5, xmmword [0x180047fb0]
movdqa xmm4, xmmword [0x180048060]
movd xmm6, edi
movdqa xmm7, xmmword [0x180047fe0]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm9, xmmword [0x180048010]
lea rcx, [rsp + 0x50]
nop word [rax + rax]
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm9
paddw xmm3, xmm2
movq xmm0, qword [rcx]
pxor xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [rbx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm9
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
pxor xmm3, xmm0
movq qword [rcx + 8], xmm3
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 0x10]
cmp ebx, 0x20
jl 0x18000fdc0
cmp eax, 0x23
jge 0x18000fef0
movsxd rax, ebx
lea r8, [rsp + 0x50]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x4ec4ec4f
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, bx
sub ax, cx
add ax, 0x38
xor word [r8], ax
inc ebx
lea r8, [r8 + 2]
cmp ebx, 0x23
jl 0x18000fec0
lea rcx, [rsp + 0x50]
call fcn.180011ac0
xor al, al
jmp 0x1800105fc
mov rax, qword [r12]
mov rdi, qword [rax + 0x80]
mov dword [rbp - 0x30], ebx
mov eax, dword [r14]
cmp dword [0x18004df9c], eax
jle 0x180010242
lea rcx, [0x18004df9c]
call fcn.180024c20
cmp dword [0x18004df9c], 0xffffffff
jne 0x180010242
mov rax, qword [str.UWVSK__]
mov qword [rsp + 0x40], rax
cmp byte [0x180047adf], 0
je 0x1800100a0
cmp esi, 2
jl 0x180010067
movdqa xmm4, xmmword [0x180048060]
mov ecx, 4
movd xmm6, ecx
mov edx, 0x1f
movd xmm5, edx
movdqa xmm2, xmmword [0x180047fb0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047fe0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
mov eax, dword [0x180048040]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x40]
pxor xmm2, xmm1
movd dword [rsp + 0x40], xmm2
movdqa xmm3, xmmword [0x180047fc0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047fe0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x44]
pxor xmm2, xmm1
movd dword [rsp + 0x44], xmm2
jmp 0x1800100a8
lea r9, [rsp + 0x40]
mov r8d, ebx
nop
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x180010070
mov edx, 0x1f
lea ecx, [rdx - 0x1b]
mov eax, dword [0x180047ac0]
mov dword [rsp + 0x38], eax
movsd xmm0, qword [str.VMUHWOPSn_:D]
movzx eax, byte [0x180047ac4]
movsd qword [rsp + 0x30], xmm0
mov byte [rsp + 0x3c], al
mov r8d, ebx
cmp esi, 2
jl 0x1800101e1
movdqa xmm4, xmmword [0x180048060]
movd xmm6, ecx
movd xmm5, edx
movdqa xmm2, xmmword [0x180047fb0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047fe0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
mov eax, dword [0x180048040]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [str.VMUHWOPSn_:D]
pxor xmm2, xmm1
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x180047fc0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180047fe0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x180048020]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
pxor xmm2, xmm1
movd dword [rsp + 0x34], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
sub al, cl
add al, 0x38
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x1800101f0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.180009e10
mov qword [0x18004e010], rax
lea rcx, [0x18004df9c]
call fcn.180024bc0
mov rsi, qword [0x18004e010]
mov eax, dword [r14]
cmp dword [0x18004e008], eax
jle 0x180010299
lea rcx, [0x18004e008]
call fcn.180024c20
cmp dword [0x18004e008], 0xffffffff
jne 0x180010299
lea rcx, [0x180027a08]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18004dfa8], rax
lea rcx, [0x18004e008]
call fcn.180024bc0
mov eax, dword [r14]
cmp dword [0x18004df30], eax
jle 0x1800102e3
lea rcx, [0x18004df30]
call fcn.180024c20
cmp dword [0x18004df30], 0xffffffff
jne 0x1800102e3
mov edx, 2
lea rcx, [0x18004dfb0]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x1800266f0]
call fcn.1800250d4
lea rcx, [0x18004df30]
call fcn.180024bc0
lea rcx, [0x18004dfb0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1800102fd
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov dword [rbp - 8], 0x25ff
mov word [rbp - 4], 0
mov qword [rbp - 2], rsi
mov rax, qword [0x18004dfa0]
mov qword [rbp - 0x60], 0xe
lea rcx, [rbp + 0x18]
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x18], rax
mov rcx, qword [rdi + 0x38]
test rcx, rcx
jne 0x180010339
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rbp - 0x60]
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x18]
call qword [rax + 0x10]
test al, al
jne 0x180010361
lea rcx, [0x18004dfb0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
jmp 0x180010434
mov rax, qword [0x18004dfa0]
mov qword [rbp - 0x50], 0xe
lea rcx, [rbp - 8]
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x10], rax
mov rcx, qword [rdi + 0x78]
test rcx, rcx
jne 0x18001038c
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x10]
call qword [rax + 0x10]
test al, al
jne 0x1800103b4
lea rcx, [0x18004dfb0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
jmp 0x180010434
mov rax, qword [0x18004dfa8]
lea rdx, [r15 + 1]
mov r8d, 4
lea rcx, [rbp - 0x30]
call rax
mov rsi, rax
mov rcx, qword [0x18004dfa0]
mov qword [rbp - 0x40], 0xe
lea rax, [rbp + 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x28], rcx
mov rcx, qword [rdi + 0x78]
test rcx, rcx
jne 0x1800103f9
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x28]
call qword [rax + 0x10]
lea rcx, [0x18004dfb0]
test al, al
jne 0x18001041e
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
jmp 0x180010434
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test rsi, rsi
je 0x180010434
movsxd rbx, dword [rbp - 0x30]
add rbx, 5
add rbx, r15
mov eax, dword [r14]
cmp dword [0x18004e060], eax
jle 0x180010484
lea rcx, [0x18004e060]
call fcn.180024c20
cmp dword [0x18004e060], 0xffffffff
jne 0x180010484
lea rcx, [0x180027a08]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18004e068], rax
lea rcx, [0x18004e060]
call fcn.180024bc0
mov eax, dword [r14]
cmp dword [0x18004e0c0], eax
jle 0x1800104ce
lea rcx, [0x18004e0c0]
call fcn.180024c20
cmp dword [0x18004e0c0], 0xffffffff
jne 0x1800104ce
mov edx, 2
lea rcx, [0x18004e070]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x1800266d0]
call fcn.1800250d4
lea rcx, [0x18004e0c0]
call fcn.180024bc0
lea rcx, [0x18004e070]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1800104e8
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov dword [rbp + 8], 0x25ff
mov word [rbp + 0xc], 0
mov qword [rbp + 0xe], rbx
mov rax, qword [0x18004dfa0]
mov qword [rbp - 0x28], 0xe
lea rcx, [rbp + 0x28]
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x40], rax
mov rcx, qword [rdi + 0x38]
test rcx, rcx
jne 0x180010524
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rbp - 0x28]
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x40]
call qword [rax + 0x10]
test al, al
jne 0x18001054e
lea rcx, [0x18004e070]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
xor bl, bl
jmp 0x1800105f9
mov rax, qword [0x18004dfa0]
mov qword [rbp - 0x10], 0xe
lea rcx, [rbp + 8]
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x50], rax
mov rcx, qword [rdi + 0x78]
test rcx, rcx
jne 0x180010579
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rbp - 0x10]
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x50]
call qword [rax + 0x10]
test al, al
je 0x18001053a
mov rax, qword [0x18004e068]
mov edx, 0x65
lea r8d, [rdx - 0x25]
mov rcx, r13
call rax
movzx ebx, al
mov rax, qword [0x18004dfa0]
mov qword [rbp - 0x18], 0xe
lea rcx, [rbp + 0x28]
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x60], rax
mov rcx, qword [rdi + 0x78]
test rcx, rcx
jne 0x1800105d2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
lea r9, [rbp - 0x18]
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x60]
call qword [rax + 0x10]
lea rcx, [0x18004e070]
test al, al
je 0x180010541
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
movzx eax, bl
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.180024a70
lea r11, [rsp + 0x180]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret