Function at 0x140437798
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x230
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140499010]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov r14d, r8d
mov rbx, rdx
mov r15, rcx
mov r12d, 4
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
or r13d, 0xffffffff
mov eax, dword [r12 + rsi]
cmp dword [0x1404a41e8], eax
jle 0x140437821
lea rcx, [0x1404a41e8]
call fcn.1404397c8
cmp dword [0x1404a41e8], r13d
jne 0x140437821
call fcn.1404358d4
mov qword [0x1404a41d0], rax
lea rcx, [0x1404a41e8]
call fcn.140439768
mov eax, dword [r12 + rsi]
cmp dword [0x1404a41fc], eax
jle 0x14043785a
lea rcx, [0x1404a41fc]
call fcn.1404397c8
cmp dword [0x1404a41fc], r13d
jne 0x14043785a
call fcn.140435d74
mov qword [0x1404a41c0], rax
lea rcx, [0x1404a41fc]
call fcn.140439768
xor edi, edi
cmp qword [0x1404a41d0], rdi
je 0x1404386c8
cmp qword [0x1404a41c0], rdi
je 0x1404386c8
mov eax, dword [r12 + rsi]
cmp dword [0x1404a3ed0], eax
jle 0x1404379d0
lea rcx, [0x1404a3ed0]
call fcn.1404397c8
cmp dword [0x1404a3ed0], r13d
jne 0x1404379d0
movabs rcx, 0x93f1eaa4600b5bdb
mov qword [rbp + 0x180], rcx
movabs rdx, 0xafdfa9d47ab232c
mov qword [rbp + 0x188], rdx
movabs rax, 0x6da74aae1e6149b5
mov qword [rbp + 0x190], rax
movabs rax, 0xbd6c97070280e26e
mov qword [rbp + 0x198], rax
movabs rax, 0xe1989fd5034a239e
mov qword [rbp + 0xb0], rax
movabs rax, 0x698f8ff234ce7149
mov qword [rbp + 0xb8], rax
movabs rax, 0x4d43fc27d190cd0
mov qword [rbp + 0xc0], rax
movabs rax, 0xbd6cf2736bcc8718
mov qword [rbp + 0xc8], rax
movups xmm0, xmmword [rbp + 0xb0]
movups xmmword [rbp + 0x1a0], xmm0
movups xmm1, xmmword [rbp + 0xc0]
movups xmmword [rbp + 0x1b0], xmm1
vmovdqu ymm0, ymmword [rbp + 0x1a0]
vpxor ymm1, ymm0, ymmword [rbp + 0x180]
vmovdqa ymmword [rbp + 0x1a0], ymm1
mov qword [rbp + 0x160], rcx
mov qword [rbp + 0x168], rdx
movabs rax, 0xff9f98cf13642fb5
mov qword [rbp + 0xa0], rax
movabs rax, 0xafdfa9d22d34602
mov qword [rbp + 0xa8], rax
vmovups xmm0, xmmword [rbp + 0xa0]
vmovdqa xmm1, xmmword [rbp + 0x160]
vpxor xmm1, xmm1, xmm0
vmovdqa xmmword [rbp + 0xa0], xmm1
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0xa0]
vzeroupper
call fcn.1403f17c8
mov qword [0x1404a40c8], rax
lea rcx, [0x1404a3ed0]
call fcn.140439768
mov eax, dword [r12 + rsi]
cmp dword [0x1404a3ed4], eax
jle 0x140437b2a
lea rcx, [0x1404a3ed4]
call fcn.1404397c8
cmp dword [0x1404a3ed4], r13d
jne 0x140437b2a
movabs rcx, 0x93f1eaa4600b5bdb
mov qword [rbp + 0x1a0], rcx
movabs rdx, 0xafdfa9d47ab232c
mov qword [rbp + 0x1a8], rdx
movabs rax, 0x6da74aae1e6149b5
mov qword [rbp + 0x1b0], rax
movabs rax, 0xbd6c97070280e26e
mov qword [rbp + 0x1b8], rax
movabs rax, 0xe69a85cb2c672f89
mov qword [rbp + 0xb0], rax
movabs rax, 0x7e939ff022c7665c
mov qword [rbp + 0xb8], rax
movabs rax, 0x39c423dc7b0f2cf2
mov qword [rbp + 0xc0], rax
movabs rax, 0xbd00e14667ec800f
mov qword [rbp + 0xc8], rax
movups xmm0, xmmword [rbp + 0xb0]
movups xmmword [rbp + 0x180], xmm0
movups xmm1, xmmword [rbp + 0xc0]
movups xmmword [rbp + 0x190], xmm1
vmovdqu ymm0, ymmword [rbp + 0x180]
vpxor ymm1, ymm0, ymmword [rbp + 0x1a0]
vmovdqa ymmword [rbp + 0x180], ymm1
mov qword [rbp + 0x160], rcx
mov qword [rbp + 0x168], rdx
movabs rax, 0xff9f98cf13642fb5
mov qword [rbp + 0xa0], rax
movabs rax, 0xafdfa9d22d34602
mov qword [rbp + 0xa8], rax
vmovups xmm0, xmmword [rbp + 0xa0]
vmovdqa xmm1, xmmword [rbp + 0x160]
vpxor xmm1, xmm1, xmm0
vmovdqa xmmword [rbp + 0xa0], xmm1
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0xa0]
vzeroupper
call fcn.1403f17c8
mov qword [0x1404a4050], rax
lea rcx, [0x1404a3ed4]
call fcn.140439768
mov eax, dword [r12 + rsi]
cmp dword [0x1404a3ee4], eax
jle 0x140437c7a
lea rcx, [0x1404a3ee4]
call fcn.1404397c8
cmp dword [0x1404a3ee4], r13d
jne 0x140437c7a
movabs rcx, 0x93f1eaa4600b5bdb
mov qword [rbp + 0x1a0], rcx
movabs rdx, 0xafdfa9d47ab232c
mov qword [rbp + 0x1a8], rdx
movabs rax, 0x6da74aae1e6149b5
mov qword [rbp + 0x1b0], rax
movabs r8, 0xbd6c97070280e26e
mov qword [rbp + 0x1b8], r8
movabs rax, 0xe0908fc80559239e
mov qword [rbp + 0xb0], rax
movabs rax, 0x698f8ff234ce7149
mov qword [rbp + 0xb8], rax
movabs rax, 0x6da74acb6a0805d0
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], r8
movups xmm0, xmmword [rbp + 0xb0]
movups xmmword [rbp + 0x180], xmm0
movups xmm1, xmmword [rbp + 0xc0]
movups xmmword [rbp + 0x190], xmm1
vmovdqu ymm0, ymmword [rbp + 0x180]
vpxor ymm1, ymm0, ymmword [rbp + 0x1a0]
vmovdqa ymmword [rbp + 0x180], ymm1
mov qword [rbp + 0x160], rcx
mov qword [rbp + 0x168], rdx
movabs rax, 0xff9f98cf13642fb5
mov qword [rbp + 0xa0], rax
movabs rax, 0xafdfa9d22d34602
mov qword [rbp + 0xa8], rax
vmovups xmm0, xmmword [rbp + 0xa0]
vmovdqa xmm1, xmmword [rbp + 0x160]
vpxor xmm1, xmm1, xmm0
vmovdqa xmmword [rbp + 0xa0], xmm1
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0xa0]
vzeroupper
call fcn.1403f17c8
mov qword [0x1404a41a0], rax
lea rcx, [0x1404a3ee4]
call fcn.140439768
mov eax, dword [r12 + rsi]
cmp dword [0x1404a4198], eax
jle 0x140437dd4
lea rcx, [0x1404a4198]
call fcn.1404397c8
cmp dword [0x1404a4198], r13d
jne 0x140437dd4
movabs rcx, 0x93f1eaa4600b5bdb
mov qword [rbp + 0x1a0], rcx
movabs rdx, 0xafdfa9d47ab232c
mov qword [rbp + 0x1a8], rdx
movabs rax, 0x6da74aae1e6149b5
mov qword [rbp + 0x1b0], rax
movabs rax, 0xbd6c97070280e26e
mov qword [rbp + 0x1b8], rax
movabs rax, 0xe79486c124672f89
mov qword [rbp + 0xb0], rax
movabs rax, 0x7e939ff022c76649
mov qword [rbp + 0xb8], rax
movabs rax, 0x39c423dc7b0f2cf2
mov qword [rbp + 0xc0], rax
movabs rax, 0xbd00e14667ec800f
mov qword [rbp + 0xc8], rax
movups xmm0, xmmword [rbp + 0xb0]
movups xmmword [rbp + 0x180], xmm0
movups xmm1, xmmword [rbp + 0xc0]
movups xmmword [rbp + 0x190], xmm1
vmovdqu ymm0, ymmword [rbp + 0x180]
vpxor ymm1, ymm0, ymmword [rbp + 0x1a0]
vmovdqa ymmword [rbp + 0x180], ymm1
mov qword [rbp + 0x160], rcx
mov qword [rbp + 0x168], rdx
movabs rax, 0xff9f98cf13642fb5
mov qword [rbp + 0xa0], rax
movabs rax, 0xafdfa9d22d34602
mov qword [rbp + 0xa8], rax
vmovups xmm0, xmmword [rbp + 0xa0]
vmovdqa xmm1, xmmword [rbp + 0x160]
vpxor xmm1, xmm1, xmm0
vmovdqa xmmword [rbp + 0xa0], xmm1
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0xa0]
vzeroupper
call fcn.1403f17c8
mov qword [0x1404a3ef0], rax
lea rcx, [0x1404a4198]
call fcn.140439768
cmp qword [0x1404a40c8], rdi
je 0x1404386c8
cmp qword [0x1404a4050], rdi
je 0x1404386c8
cmp qword [0x1404a41a0], rdi
je 0x1404386c8
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140437e08
mov rcx, qword [rbx]
mov r8, qword [rbx + 0x10]
add r8, rcx
cmp qword [rbx + 0x18], 0x10
jb 0x140437e19
mov rbx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe0], xmm1
cmp rbx, r8
jne 0x140437e4c
movdqa xmm0, xmmword [0x140490710]
movdqu xmmword [rbp + 0xe0], xmm0
mov word [rbp + 0xd0], di
jmp 0x140437e62
mov r9, r8
sub r9, rbx
mov rdx, rbx
lea rcx, [rbp + 0xd0]
call fcn.14043894c
nop
mov dword [rbp + 0x148], r14d
lea rdx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 8
cmovae rdx, qword [rbp + 0xd0]
lea rcx, [rbp + 0x138]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov rbx, qword [0x1404a41d0]
mov r14, qword [0x1404a40c8]
mov eax, dword [r12 + rsi]
cmp dword [0x1404a4010], eax
jle 0x140437eec
lea rcx, [0x1404a4010]
call fcn.1404397c8
cmp dword [0x1404a4010], r13d
jne 0x140437eec
lea rcx, [0x14043df30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404a4028], rax
lea rcx, [0x1404a4010]
call fcn.140439768
mov eax, dword [r12 + rsi]
cmp dword [0x1404a3fa8], eax
jle 0x140437f37
lea rcx, [0x1404a3fa8]
call fcn.1404397c8
cmp dword [0x1404a3fa8], r13d
jne 0x140437f37
mov edx, 2
lea rcx, [0x1404a3fb0]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14043cc6c]
call fcn.140439b54
lea rcx, [0x1404a3fa8]
call fcn.140439768
lea rcx, [0x1404a3fb0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140437f51
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov dword [rbp + 0x10], 0x25ff
mov word [rbp + 0x14], di
mov qword [rbp + 0x16], r14
mov rcx, qword [0x140499fb8]
mov r14d, 0xe
mov r8d, r14d
lea rdx, [rbp + 0x60]
call fcn.1403eb644
mov rcx, qword [0x140499fb8]
mov r8d, r14d
lea rdx, [rbp + 0x10]
call fcn.1403eb7d0
mov rax, qword [0x1404a4028]
mov dl, 1
mov rcx, rbx
call rax
mov bl, al
mov rcx, qword [0x140499fb8]
mov r8d, r14d
lea rdx, [rbp + 0x60]
call fcn.1403eb7d0
lea rcx, [0x1404a3fb0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test bl, bl
je 0x1404386b7
mov rbx, qword [0x1404a41c0]
mov r14, qword [0x1404a4050]
mov eax, dword [r12 + rsi]
cmp dword [0x1404a40c0], eax
jle 0x140438023
lea rcx, [0x1404a40c0]
call fcn.1404397c8
cmp dword [0x1404a40c0], r13d
jne 0x140438023
lea rcx, [0x14043df30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404a4030], rax
lea rcx, [0x1404a40c0]
call fcn.140439768
mov eax, dword [r12 + rsi]
cmp dword [0x1404a3ef8], eax
jle 0x14043806e
lea rcx, [0x1404a3ef8]
call fcn.1404397c8
cmp dword [0x1404a3ef8], r13d
jne 0x14043806e
mov edx, 2
lea rcx, [0x1404a4130]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14043cc5c]
call fcn.140439b54
lea rcx, [0x1404a3ef8]
call fcn.140439768
lea rcx, [0x1404a4130]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140438088
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov dword [rbp + 0x20], 0x25ff
mov word [rbp + 0x24], di
mov qword [rbp + 0x26], r14
mov rcx, qword [0x140499fb8]
mov r14d, 0xe
mov r8d, r14d
lea rdx, [rbp + 0x70]
call fcn.1403eb644
mov rcx, qword [0x140499fb8]
mov r8d, r14d
lea rdx, [rbp + 0x20]
call fcn.1403eb7d0
mov rax, qword [0x1404a4030]
lea rdx, [rbp + 0x128]
mov rcx, rbx
call rax
mov r12, rax
mov rcx, qword [0x140499fb8]
mov r8d, r14d
lea rdx, [rbp + 0x70]
call fcn.1403eb7d0
lea rcx, [0x1404a4130]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test r12, r12
je 0x14043858e
lea r9d, [r14 + 0x2a]
mov r8, r12
lea rdx, [rbp + 0xf0]
mov rcx, r15
call fcn.1404368b4
test al, al
jne 0x140438128
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
jmp 0x140438136
movups xmm0, xmmword [rbp + 0xf0]
movups xmmword [rbp + 0x1a0], xmm0
mov ebx, 0x10
mov r9d, ebx
mov r14, qword [rbp + 0x1a0]
mov r8, r14
lea rdx, [rbp + 0x180]
mov rcx, r15
call fcn.1404368b4
test al, al
jne 0x140438164
mov qword [rbp + 0xa0], rdi
jmp 0x140438173
movaps xmm0, xmmword [rbp + 0x180]
movdqa xmmword [rbp + 0xa0], xmm0
mov r9, rbx
mov rbx, qword [rbp + 0x1a8]
mov r8, rbx
lea rdx, [rbp + 0xb0]
mov rcx, r15
call fcn.1404368b4
test al, al
jne 0x14043819c
mov qword [rbp + 0x168], rdi
jmp 0x1404381ab
movaps xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x160], r14
mov qword [rbp + 0xa8], rbx
mov r9d, 0x10
lea r8, [rbp + 0x160]
mov rdx, rbx
mov rcx, r15
call fcn.140436f14
mov r9d, 0x10
lea r8, [rbp + 0xa0]
mov rdx, r14
mov rcx, r15
call fcn.140436f14
mov rbx, qword [0x1404a41c0]
mov r14, qword [0x1404a3ef0]
mov r15d, 4
mov eax, dword [r15 + rsi]
cmp dword [0x1404a3f90], eax
jle 0x14043824e
lea rcx, [0x1404a3f90]
call fcn.1404397c8
cmp dword [0x1404a3f90], r13d
jne 0x14043824e
lea rcx, [0x14043df30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404a4060], rax
lea rcx, [0x1404a3f90]
call fcn.140439768
mov eax, dword [r15 + rsi]
cmp dword [0x1404a41ec], eax
jle 0x140438299
lea rcx, [0x1404a41ec]
call fcn.1404397c8
cmp dword [0x1404a41ec], r13d
jne 0x140438299
mov edx, 2
lea rcx, [0x1404a40d0]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14043cc4c]
call fcn.140439b54
lea rcx, [0x1404a41ec]
call fcn.140439768
lea rcx, [0x1404a40d0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1404382b3
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov dword [rbp + 0x30], 0x25ff
mov word [rbp + 0x34], di
mov qword [rbp + 0x36], r14
mov rcx, qword [0x140499fb8]
mov r14d, 0xe
mov r8d, r14d
lea rdx, [rbp + 0x80]
call fcn.1403eb644
mov rcx, qword [0x140499fb8]
mov r8d, r14d
lea rdx, [rbp + 0x30]
call fcn.1403eb7d0
mov rdx, r12
mov rcx, rbx
call qword [0x1404a4060]
mov rcx, qword [0x140499fb8]
mov r12d, r14d
mov r8d, r14d
lea rdx, [rbp + 0x80]
call fcn.1403eb7d0
lea rcx, [0x1404a40d0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rbx, qword [0x1404a41c0]
mov r14, qword [0x1404a4050]
mov eax, dword [r15 + rsi]
cmp dword [0x1404a40c0], eax
jle 0x140438382
lea rcx, [0x1404a40c0]
call fcn.1404397c8
cmp dword [0x1404a40c0], r13d
jne 0x140438382
lea rcx, [0x14043df30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404a4030], rax
lea rcx, [0x1404a40c0]
call fcn.140439768
mov eax, dword [r15 + rsi]
cmp dword [0x1404a3ef8], eax
jle 0x1404383cd
lea rcx, [0x1404a3ef8]
call fcn.1404397c8
cmp dword [0x1404a3ef8], r13d
jne 0x1404383cd
mov edx, 2
lea rcx, [0x1404a4130]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14043cc5c]
call fcn.140439b54
lea rcx, [0x1404a3ef8]
call fcn.140439768
lea rcx, [0x1404a4130]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1404383e7
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov dword [rbp + 0x40], 0x25ff
mov word [rbp + 0x44], di
mov qword [rbp + 0x46], r14
mov rcx, qword [0x140499fb8]
mov r8, r12
lea rdx, [rbp + 0x90]
call fcn.1403eb644
mov rcx, qword [0x140499fb8]
mov r8, r12
lea rdx, [rbp + 0x40]
call fcn.1403eb7d0
mov rax, qword [0x1404a4030]
lea rdx, [rbp + 0x128]
mov rcx, rbx
call rax
mov r14, rax
mov rcx, qword [0x140499fb8]
mov r8, r12
lea rdx, [rbp + 0x90]
call fcn.1403eb7d0
lea rcx, [0x1404a4130]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r15, qword [0x1404a41d0]
mov r12, qword [0x1404a41a0]
mov eax, 4
mov eax, dword [rax + rsi]
cmp dword [0x1404a4008], eax
jle 0x1404384bb
lea rcx, [0x1404a4008]
call fcn.1404397c8
cmp dword [0x1404a4008], r13d
jne 0x1404384bb
lea rcx, [0x14043df30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404a4018], rax
lea rcx, [0x1404a4008]
call fcn.140439768
lea rbx, [0x1404a4070]
mov eax, 4
mov eax, dword [rax + rsi]
cmp dword [0x1404a4048], eax
jle 0x14043850d
lea rcx, [0x1404a4048]
call fcn.1404397c8
cmp dword [0x1404a4048], r13d
jne 0x14043850d
mov edx, 2
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14043cc3c]
call fcn.140439b54
lea rcx, [0x1404a4048]
call fcn.140439768
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140438523
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov dword [rbp], 0x25ff
mov word [rbp + 4], di
mov qword [rbp + 6], r12
mov rcx, qword [0x140499fb8]
mov esi, 0xe
mov r8d, esi
lea rdx, [rbp + 0x50]
call fcn.1403eb644
mov rcx, qword [0x140499fb8]
mov r8d, esi
lea rdx, [rbp]
call fcn.1403eb7d0
mov rcx, r15
call qword [0x1404a4018]
mov rcx, qword [0x140499fb8]
mov r8d, esi
lea rdx, [rbp + 0x50]
call fcn.1403eb7d0
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test r14, r14
sete dil
jmp 0x1404386b7
mov r14, qword [0x1404a41d0]
mov r15, qword [0x1404a41a0]
mov r12d, 4
mov eax, dword [r12 + rsi]
cmp dword [0x1404a4008], eax
jle 0x1404385f3
lea rcx, [0x1404a4008]
call fcn.1404397c8
cmp dword [0x1404a4008], r13d
jne 0x1404385f3
lea rcx, [0x14043df30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1404a4018], rax
lea rcx, [0x1404a4008]
call fcn.140439768
lea rbx, [0x1404a4070]
mov eax, dword [r12 + rsi]
cmp dword [0x1404a4048], eax
jle 0x140438641
lea rcx, [0x1404a4048]
call fcn.1404397c8
cmp dword [0x1404a4048], r13d
jne 0x140438641
mov edx, 2
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14043cc3c]
call fcn.140439b54
lea rcx, [0x1404a4048]
call fcn.140439768
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140438657
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov dword [rbp], 0x25ff
mov word [rbp + 4], di
mov qword [rbp + 6], r15
mov rcx, qword [0x140499fb8]
mov esi, 0xe
mov r8d, esi
lea rdx, [rbp + 0x50]
call fcn.1403eb644
mov rcx, qword [0x140499fb8]
mov r8d, esi
lea rdx, [rbp]
call fcn.1403eb7d0
mov rcx, r14
call qword [0x1404a4018]
mov rcx, qword [0x140499fb8]
mov r8d, esi
lea rdx, [rbp + 0x50]
call fcn.1403eb7d0
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
nop
lea rcx, [rbp + 0xd0]
call fcn.1403ef790
mov al, dil
jmp 0x1404386ca
xor al, al
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140439620
mov rbx, qword [rsp + 0x278]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret