Function at 0x1405f5738
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 [0x1406ce080]
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 [0x1406d0288], eax
jle 0x1405f57c1
lea rcx, [0x1406d0288]
call fcn.140657238
cmp dword [0x1406d0288], r13d
jne 0x1405f57c1
call fcn.1405f3710
mov qword [0x1406d0270], rax
lea rcx, [0x1406d0288]
call fcn.1406571d8
mov eax, dword [r12 + rsi]
cmp dword [0x1406d029c], eax
jle 0x1405f57fa
lea rcx, [0x1406d029c]
call fcn.140657238
cmp dword [0x1406d029c], r13d
jne 0x1405f57fa
call fcn.1405f3bb0
mov qword [0x1406d0260], rax
lea rcx, [0x1406d029c]
call fcn.1406571d8
xor edi, edi
cmp qword [0x1406d0270], rdi
je 0x1405f6660
cmp qword [0x1406d0260], rdi
je 0x1405f6660
mov eax, dword [r12 + rsi]
cmp dword [0x1406cff70], eax
jle 0x1405f5970
lea rcx, [0x1406cff70]
call fcn.140657238
cmp dword [0x1406cff70], r13d
jne 0x1405f5970
movabs rcx, 0x14dc557951f7bf9
mov qword [rbp + 0x180], rcx
movabs rdx, 0xbcdda80e0916d816
mov qword [rbp + 0x188], rdx
movabs rax, 0x47367ac91cc23d03
mov qword [rbp + 0x190], rax
movabs rax, 0x941be3d067764658
mov qword [rbp + 0x198], rax
movabs rax, 0x7324b026f65e03bc
mov qword [rbp + 0xb0], rax
movabs rax, 0xdfafdd617a738a73
mov qword [rbp + 0xb8], rax
movabs rax, 0x2e450fa57fba7866
mov qword [rbp + 0xc0], rax
movabs rax, 0x941b86a40e3a232e
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, 0x6d23b73ce6700f97
mov qword [rbp + 0xa0], rax
movabs rax, 0xbcdda80e6c6ebd38
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.1405abf3c
mov qword [0x1406d0168], rax
lea rcx, [0x1406cff70]
call fcn.1406571d8
mov eax, dword [r12 + rsi]
cmp dword [0x1406cff74], eax
jle 0x1405f5aca
lea rcx, [0x1406cff74]
call fcn.140657238
cmp dword [0x1406cff74], r13d
jne 0x1405f5aca
movabs rcx, 0x14dc557951f7bf9
mov qword [rbp + 0x1a0], rcx
movabs rdx, 0xbcdda80e0916d816
mov qword [rbp + 0x1a8], rdx
movabs rax, 0x47367ac91cc23d03
mov qword [rbp + 0x1b0], rax
movabs rax, 0x941be3d067764658
mov qword [rbp + 0x1b8], rax
movabs rax, 0x7426aa38d9730fab
mov qword [rbp + 0xb0], rax
movabs rax, 0xc8b3cd636c7a9d66
mov qword [rbp + 0xb8], rax
movabs rax, 0x135513bb79ac5844
mov qword [rbp + 0xc0], rax
movabs rax, 0x94779591021a2439
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, 0x6d23b73ce6700f97
mov qword [rbp + 0xa0], rax
movabs rax, 0xbcdda80e6c6ebd38
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.1405abf3c
mov qword [0x1406d00f0], rax
lea rcx, [0x1406cff74]
call fcn.1406571d8
mov eax, dword [r12 + rsi]
cmp dword [0x1406cff84], eax
jle 0x1405f5c16
lea rcx, [0x1406cff84]
call fcn.140657238
cmp dword [0x1406cff84], r13d
jne 0x1405f5c16
movabs rcx, 0x14dc557951f7bf9
mov qword [rbp + 0x1a0], rcx
movabs rdx, 0xbcdda80e0916d816
mov qword [rbp + 0x1a8], rdx
movabs rax, 0x47367ac91cc23d03
mov qword [rbp + 0x1b0], rax
movabs r8, 0x941be3d067764658
mov qword [rbp + 0x1b8], r8
movabs rax, 0x722ca03bf04d03bc
mov qword [rbp + 0xb0], rax
movabs rax, 0xdfafdd617a738a73
mov qword [rbp + 0xb8], rax
movabs rax, 0x47367aac68ab7166
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, 0x6d23b73ce6700f97
mov qword [rbp + 0xa0], rax
movabs rax, 0xbcdda80e6c6ebd38
mov qword [rbp + 0xa8], rax
vmovups xmm0, xmmword [rbp + 0xa0]
vpxor xmm0, xmm0, xmmword [rbp + 0x160]
vmovdqa xmmword [rbp + 0xa0], xmm0
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0xa0]
vzeroupper
call fcn.1405abf3c
mov qword [0x1406d0240], rax
lea rcx, [0x1406cff84]
call fcn.1406571d8
mov eax, dword [r12 + rsi]
cmp dword [0x1406d0238], eax
jle 0x1405f5d6c
lea rcx, [0x1406d0238]
call fcn.140657238
cmp dword [0x1406d0238], r13d
jne 0x1405f5d6c
movabs rcx, 0x14dc557951f7bf9
mov qword [rbp + 0x1a0], rcx
movabs rdx, 0xbcdda80e0916d816
mov qword [rbp + 0x1a8], rdx
movabs rax, 0x47367ac91cc23d03
mov qword [rbp + 0x1b0], rax
movabs rax, 0x941be3d067764658
mov qword [rbp + 0x1b8], rax
movabs rax, 0x7528a932d1730fab
mov qword [rbp + 0xb0], rax
movabs rax, 0xc8b3cd636c7a9d73
mov qword [rbp + 0xb8], rax
movabs rax, 0x135513bb79ac5844
mov qword [rbp + 0xc0], rax
movabs rax, 0x94779591021a2439
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, 0x6d23b73ce6700f97
mov qword [rbp + 0xa0], rax
movabs rax, 0xbcdda80e6c6ebd38
mov qword [rbp + 0xa8], rax
vmovups xmm0, xmmword [rbp + 0xa0]
vpxor xmm0, xmm0, xmmword [rbp + 0x160]
vmovdqa xmmword [rbp + 0xa0], xmm0
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0xa0]
vzeroupper
call fcn.1405abf3c
mov qword [0x1406cff90], rax
lea rcx, [0x1406d0238]
call fcn.1406571d8
cmp qword [0x1406d0168], rdi
je 0x1405f6660
cmp qword [0x1406d00f0], rdi
je 0x1405f6660
cmp qword [0x1406d0240], rdi
je 0x1405f6660
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1405f5da0
mov rcx, qword [rbx]
mov r8, qword [rbx + 0x10]
add r8, rcx
cmp qword [rbx + 0x18], 0x10
jb 0x1405f5db1
mov rbx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe0], xmm1
cmp rbx, r8
jne 0x1405f5de4
movdqa xmm0, xmmword [0x1406be4b0]
movdqu xmmword [rbp + 0xe0], xmm0
mov word [rbp + 0xd0], di
jmp 0x1405f5dfa
mov r9, r8
sub r9, rbx
mov rdx, rbx
lea rcx, [rbp + 0xd0]
call fcn.1405f68c8
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 [0x1406d0270]
mov r14, qword [0x1406d0168]
mov eax, dword [r12 + rsi]
cmp dword [0x1406d00b0], eax
jle 0x1405f5e84
lea rcx, [0x1406d00b0]
call fcn.140657238
cmp dword [0x1406d00b0], r13d
jne 0x1405f5e84
lea rcx, [0x14066abe8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1406d00c8], rax
lea rcx, [0x1406d00b0]
call fcn.1406571d8
mov eax, dword [r12 + rsi]
cmp dword [0x1406d0048], eax
jle 0x1405f5ecf
lea rcx, [0x1406d0048]
call fcn.140657238
cmp dword [0x1406d0048], r13d
jne 0x1405f5ecf
mov edx, 2
lea rcx, [0x1406d0050]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14065b570]
call fcn.1406575c4
lea rcx, [0x1406d0048]
call fcn.1406571d8
lea rcx, [0x1406d0050]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1405f5ee9
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 [0x1406cf8a8]
mov r14d, reloc.WS2_32.dll_ntohl
mov r8d, r14d
lea rdx, [rbp + 0x60]
call fcn.1405a5dc4
mov rcx, qword [0x1406cf8a8]
mov r8d, r14d
lea rdx, [rbp + 0x10]
call fcn.1405a5f50
mov rax, qword [0x1406d00c8]
mov dl, 1
mov rcx, rbx
call rax
mov bl, al
mov rcx, qword [0x1406cf8a8]
mov r8d, r14d
lea rdx, [rbp + 0x60]
call fcn.1405a5f50
lea rcx, [0x1406d0050]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test bl, bl
je 0x1405f664f
mov rbx, qword [0x1406d0260]
mov r14, qword [0x1406d00f0]
mov eax, dword [r12 + rsi]
cmp dword [0x1406d0160], eax
jle 0x1405f5fbb
lea rcx, [0x1406d0160]
call fcn.140657238
cmp dword [0x1406d0160], r13d
jne 0x1405f5fbb
lea rcx, [0x14066abe8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1406d00d0], rax
lea rcx, [0x1406d0160]
call fcn.1406571d8
mov eax, dword [r12 + rsi]
cmp dword [0x1406cff98], eax
jle 0x1405f6006
lea rcx, [0x1406cff98]
call fcn.140657238
cmp dword [0x1406cff98], r13d
jne 0x1405f6006
mov edx, 2
lea rcx, [0x1406d01d0]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14065b560]
call fcn.1406575c4
lea rcx, [0x1406cff98]
call fcn.1406571d8
lea rcx, [0x1406d01d0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1405f6020
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 [0x1406cf8a8]
mov r14d, reloc.WS2_32.dll_ntohl
mov r8d, r14d
lea rdx, [rbp + 0x70]
call fcn.1405a5dc4
mov rcx, qword [0x1406cf8a8]
mov r8d, r14d
lea rdx, [rbp + 0x20]
call fcn.1405a5f50
mov rax, qword [0x1406d00d0]
lea rdx, [rbp + 0x128]
mov rcx, rbx
call rax
mov r12, rax
mov rcx, qword [0x1406cf8a8]
mov r8d, r14d
lea rdx, [rbp + 0x70]
call fcn.1405a5f50
lea rcx, [0x1406d01d0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test r12, r12
je 0x1405f6526
lea r9d, [r14 + 0x2a]
mov r8, r12
lea rdx, [rbp + 0xf0]
mov rcx, r15
call fcn.1405f476c
test al, al
jne 0x1405f60c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
jmp 0x1405f60ce
movups xmm0, xmmword [rbp + 0xf0]
movups xmmword [rbp + 0x1a0], xmm0
mov ebx, reloc.WS2_32.dll_recv
mov r9d, ebx
mov r14, qword [rbp + 0x1a0]
mov r8, r14
lea rdx, [rbp + 0x180]
mov rcx, r15
call fcn.1405f476c
test al, al
jne 0x1405f60fc
mov qword [rbp + 0xa0], rdi
jmp 0x1405f610b
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.1405f476c
test al, al
jne 0x1405f6134
mov qword [rbp + 0x168], rdi
jmp 0x1405f6143
movaps xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rbp + 0x160], xmm0
mov qword [rbp + 0x160], r14
mov qword [rbp + 0xa8], rbx
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp + 0x160]
mov rdx, rbx
mov rcx, r15
call fcn.1405f4e40
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp + 0xa0]
mov rdx, r14
mov rcx, r15
call fcn.1405f4e40
mov rbx, qword [0x1406d0260]
mov r14, qword [0x1406cff90]
mov r15d, 4
mov eax, dword [r15 + rsi]
cmp dword [0x1406d0030], eax
jle 0x1405f61e6
lea rcx, [0x1406d0030]
call fcn.140657238
cmp dword [0x1406d0030], r13d
jne 0x1405f61e6
lea rcx, [0x14066abe8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1406d0100], rax
lea rcx, [0x1406d0030]
call fcn.1406571d8
mov eax, dword [r15 + rsi]
cmp dword [0x1406d028c], eax
jle 0x1405f6231
lea rcx, [0x1406d028c]
call fcn.140657238
cmp dword [0x1406d028c], r13d
jne 0x1405f6231
mov edx, 2
lea rcx, [0x1406d0170]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14065b550]
call fcn.1406575c4
lea rcx, [0x1406d028c]
call fcn.1406571d8
lea rcx, [0x1406d0170]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1405f624b
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 [0x1406cf8a8]
mov r14d, reloc.WS2_32.dll_ntohl
mov r8d, r14d
lea rdx, [rbp + 0x80]
call fcn.1405a5dc4
mov rcx, qword [0x1406cf8a8]
mov r8d, r14d
lea rdx, [rbp + 0x30]
call fcn.1405a5f50
mov rdx, r12
mov rcx, rbx
call qword [0x1406d0100]
mov rcx, qword [0x1406cf8a8]
mov r12d, r14d
mov r8d, r14d
lea rdx, [rbp + 0x80]
call fcn.1405a5f50
lea rcx, [0x1406d0170]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rbx, qword [0x1406d0260]
mov r14, qword [0x1406d00f0]
mov eax, dword [r15 + rsi]
cmp dword [0x1406d0160], eax
jle 0x1405f631a
lea rcx, [0x1406d0160]
call fcn.140657238
cmp dword [0x1406d0160], r13d
jne 0x1405f631a
lea rcx, [0x14066abe8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1406d00d0], rax
lea rcx, [0x1406d0160]
call fcn.1406571d8
mov eax, dword [r15 + rsi]
cmp dword [0x1406cff98], eax
jle 0x1405f6365
lea rcx, [0x1406cff98]
call fcn.140657238
cmp dword [0x1406cff98], r13d
jne 0x1405f6365
mov edx, 2
lea rcx, [0x1406d01d0]
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14065b560]
call fcn.1406575c4
lea rcx, [0x1406cff98]
call fcn.1406571d8
lea rcx, [0x1406d01d0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1405f637f
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 [0x1406cf8a8]
mov r8, r12
lea rdx, [rbp + 0x90]
call fcn.1405a5dc4
mov rcx, qword [0x1406cf8a8]
mov r8, r12
lea rdx, [rbp + 0x40]
call fcn.1405a5f50
mov rax, qword [0x1406d00d0]
lea rdx, [rbp + 0x128]
mov rcx, rbx
call rax
mov r14, rax
mov rcx, qword [0x1406cf8a8]
mov r8, r12
lea rdx, [rbp + 0x90]
call fcn.1405a5f50
lea rcx, [0x1406d01d0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r15, qword [0x1406d0270]
mov r12, qword [0x1406d0240]
mov eax, 4
mov eax, dword [rax + rsi]
cmp dword [0x1406d00a8], eax
jle 0x1405f6453
lea rcx, [0x1406d00a8]
call fcn.140657238
cmp dword [0x1406d00a8], r13d
jne 0x1405f6453
lea rcx, [0x14066abe8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1406d00b8], rax
lea rcx, [0x1406d00a8]
call fcn.1406571d8
lea rbx, [0x1406d0110]
mov eax, 4
mov eax, dword [rax + rsi]
cmp dword [0x1406d00e8], eax
jle 0x1405f64a5
lea rcx, [0x1406d00e8]
call fcn.140657238
cmp dword [0x1406d00e8], r13d
jne 0x1405f64a5
mov edx, 2
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14065b540]
call fcn.1406575c4
lea rcx, [0x1406d00e8]
call fcn.1406571d8
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1405f64bb
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 [0x1406cf8a8]
mov esi, reloc.WS2_32.dll_ntohl
mov r8d, esi
lea rdx, [rbp + 0x50]
call fcn.1405a5dc4
mov rcx, qword [0x1406cf8a8]
mov r8d, esi
lea rdx, [rbp]
call fcn.1405a5f50
mov rcx, r15
call qword [0x1406d00b8]
mov rcx, qword [0x1406cf8a8]
mov r8d, esi
lea rdx, [rbp + 0x50]
call fcn.1405a5f50
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test r14, r14
sete dil
jmp 0x1405f664f
mov r14, qword [0x1406d0270]
mov r15, qword [0x1406d0240]
mov r12d, 4
mov eax, dword [r12 + rsi]
cmp dword [0x1406d00a8], eax
jle 0x1405f658b
lea rcx, [0x1406d00a8]
call fcn.140657238
cmp dword [0x1406d00a8], r13d
jne 0x1405f658b
lea rcx, [0x14066abe8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.NtShutdownSystem
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1406d00b8], rax
lea rcx, [0x1406d00a8]
call fcn.1406571d8
lea rbx, [0x1406d0110]
mov eax, dword [r12 + rsi]
cmp dword [0x1406d00e8], eax
jle 0x1405f65d9
lea rcx, [0x1406d00e8]
call fcn.140657238
cmp dword [0x1406d00e8], r13d
jne 0x1405f65d9
mov edx, 2
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea rcx, [0x14065b540]
call fcn.1406575c4
lea rcx, [0x1406d00e8]
call fcn.1406571d8
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1405f65ef
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 [0x1406cf8a8]
mov esi, reloc.WS2_32.dll_ntohl
mov r8d, esi
lea rdx, [rbp + 0x50]
call fcn.1405a5dc4
mov rcx, qword [0x1406cf8a8]
mov r8d, esi
lea rdx, [rbp]
call fcn.1405a5f50
mov rcx, r14
call qword [0x1406d00b8]
mov rcx, qword [0x1406cf8a8]
mov r8d, esi
lea rdx, [rbp + 0x50]
call fcn.1405a5f50
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
nop
lea rcx, [rbp + 0xd0]
call fcn.1405aa4ec
mov al, dil
jmp 0x1405f6662
xor al, al
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140657090
mov rbx, qword [rsp + 0x278]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret