Function at 0x140096950
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x1400ba040]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rbp - 0x20], rdx
xor r14d, r14d
lea r15, [rcx + 8]
cmp r15, rdx
je 0x1400969ac
cmp qword [rdx + 0x18], 0xf
jbe 0x1400969a0
mov rdx, qword [rdx]
mov r8, qword [rsi + 0x10]
mov rcx, r15
call fcn.14001d0a0
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
mov r8d, 1
mov rcx, qword [rbx + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r13, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140097581
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r12, rax
xor edx, edx
mov r8d, 0x2000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
mov dword [rbp - 0x18], r14d
test rax, rax
je 0x140096a81
lea r9, [rbp - 0x18]
mov r8d, 0x2000
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x140096a6a
mov r8, rdi
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8d, dword [rbp - 0x18]
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x140096a81
lea r9, [rbp - 0x18]
mov r8d, dword [rbp - 0x18]
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x140096a81
cmp dword [rdi], 0
jbe 0x140096a81
mov r14, qword [rdi + 0x18]
mov r8, rdi
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx + 0x38], r14
mov qword [rbx], r13
mov edi, 0x1000
xor r13d, r13d
mov dword [rbp - 0x18], r13d
mov qword [rbp - 8], r13
mov qword [rbp], rdi
mov qword [rbp + 8], 8
mov qword [rsp + 0x38], r13
lea rax, [rbp - 0x18]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x10
lea r8, [rbp]
mov edx, 0x222010
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140096af2
cmp qword [rbp - 8], r13
je 0x140096af5
add rdi, 8
cmp rdi, 0x10000
jb 0x140096a90
mov rdi, r13
mov qword [rbx + 0x28], rdi
lea rcx, str.systemroot
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r13b
jne 0x140096b20
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140004d60
nop
mov r8d, 0x16
lea rdx, str.System32_ntoskrnl.exe
lea rcx, [rsp + 0x60]
call fcn.140009f20
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140096bac
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096ba7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140096ba7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140098d40
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
lea rax, [rbp - 0x80]
mov qword [rbp - 8], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
mov r8d, 0x2c
lea rdx, str.https:__msdl.microsoft.com_download_symbols_
lea rcx, [rbp - 0x80]
call fcn.140004d60
nop
lea rax, [rbp - 0x60]
mov qword [rbp - 0x18], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
xor r8d, r8d
lea rdx, [0x14009fe91]
lea rcx, [rbp - 0x60]
call fcn.140004d60
nop
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.14001ca80
nop
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x60]
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.14002d660
nop
mov rdi, qword [rbp + 0x30]
test rdi, rdi
jne 0x140096d4a
lea rdx, str.download_pdb_failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000ab20
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x14000ad00]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x140096cbb
inc rdx
mov rcx, qword [rbp + 0x20]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140096cb6
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400974e1
call fcn.140098d40
mov byte [rbp + 0x20], 0
mov qword [rbp + 0x38], 0xf
mov qword [rbp + 0x30], r13
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140096d07
inc rdx
mov rcx, qword [rbp + 0x40]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140096d01
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009752f
call fcn.140098d40
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140096d41
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rsi]
jb 0x140096d3c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400975f2
mov rcx, r8
call fcn.140098d40
mov qword [rsi + 0x10], r13
jmp 0x1400975bb
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], r13
lea r12, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova r12, qword [rbp + 0x20]
movabs r14, 0x7fffffffffffffff
cmp rdi, r14
ja 0x1400975f9
cmp rdi, 0xf
ja 0x140096d9a
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], 0xf
movups xmm0, xmmword [r12]
movups xmmword [rbp], xmm0
jmp 0x140096e2f
mov rax, rdi
or rax, 0xf
cmp rax, r14
jbe 0x140096dd2
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140098ef0
mov rcx, rax
test rax, rax
je 0x140096e08
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140096e14
cmp rax, 0x16
mov ecx, 0x16
cmovb rax, rcx
mov r14, rax
lea rcx, [rax + 1]
test rcx, rcx
jne 0x140096df0
mov rax, r13
jmp 0x140096e14
cmp rcx, 0x1000
jb 0x140096e0f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400975ff
jmp 0x140096db4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140098ef0
mov qword [rbp], rax
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], r14
lea r8, [rdi + 1]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rbp - 0x18]
lea rcx, [rbp]
call fcn.14002e970
test al, al
jne 0x140096e4c
lea rdx, str.load_pdb_failed
jmp 0x140096c4f
lea rax, [rsp + 0x60]
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov r8d, 0x12
lea rdx, str.ActiveProcessLinks
lea rcx, [rsp + 0x60]
call fcn.14001e990
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov r8d, 9
lea rdx, str._EPROCESS
lea rcx, [rsp + 0x40]
call fcn.140004d60
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.14002ed20
mov dword [rbx + 0x48], eax
lea rax, [rsp + 0x40]
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov r8d, 0xf
lea rdx, str.UniqueProcessId
lea rcx, [rsp + 0x40]
call fcn.14001e990
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov r8d, 9
lea rdx, str._EPROCESS
lea rcx, [rsp + 0x60]
call fcn.140004d60
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.14002ed20
mov dword [rbx + 0x4c], eax
lea rax, [rsp + 0x40]
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov r8d, 0xe
lea rdx, str.ThreadListHead
lea rcx, [rsp + 0x40]
call fcn.14001e990
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov r8d, 9
lea rdx, str._EPROCESS
lea rcx, [rsp + 0x60]
call fcn.140004d60
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.14002ed20
mov dword [rbx + 0x50], eax
lea rax, [rsp + 0x40]
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov r8d, 3
lea rdx, [0x1400a90b8]
lea rcx, [rsp + 0x40]
call fcn.14001e990
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov r8d, 8
lea rdx, str._ETHREAD
lea rcx, [rsp + 0x60]
call fcn.140004d60
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.14002ed20
add eax, 8
mov dword [rbx + 0x54], eax
lea rax, [rsp + 0x40]
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov r8d, 0xc
lea rdx, str.PreviousMode
lea rcx, [rsp + 0x40]
call fcn.14001e990
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov r8d, 8
lea rdx, str._KTHREAD
lea rcx, [rsp + 0x60]
call fcn.140004d60
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.14002ed20
mov dword [rbx + 0x58], eax
lea rax, [rsp + 0x40]
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov r8d, 0xf
lea rdx, str.ThreadListEntry
lea rcx, [rsp + 0x40]
call fcn.14001e990
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
mov r8d, 8
lea rdx, str._ETHREAD
lea rcx, [rsp + 0x60]
call fcn.140004d60
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.14002ed20
mov dword [rbx + 0x5c], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov r8d, 0xf
lea rdx, str.MiGetPteAddress
lea rcx, [rsp + 0x40]
call fcn.140004d60
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.14002ebf0
mov dword [rbx + 0x60], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov r8d, 0x1a
lea rdx, str.MmAllocateIndependentPages
lea rcx, [rsp + 0x40]
call fcn.140004d60
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.14002ebf0
mov dword [rbx + 0x64], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov r8d, 0x13
lea rdx, str.MmSetPageProtection
lea rcx, [rsp + 0x40]
call fcn.140004d60
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.14002ebf0
mov dword [rbx + 0x68], eax
mov edx, 0x10000000
mov rdi, qword [rbp - 0x18]
mov rcx, rdi
call qword [sym.imp.dbghelp.dll_SymUnloadModule64]
mov rcx, rdi
call qword [sym.imp.dbghelp.dll_SymCleanup]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rbx + 0x60]
mov rdx, qword [rbx + 0x38]
add rdx, 0x13
mov rdi, r13
mov rax, qword [rbx + 0x28]
add rdx, rcx
jne 0x1400971fd
test rax, rax
je 0x1400972a1
mov dword [rbp - 0x18], r13d
mov qword [rbp], rax
mov qword [rbp + 0x10], rdx
mov dword [rbp + 8], 8
mov dword [rbp + 0xc], 0x6c61696e
mov qword [rsp + 0x38], r13
lea rax, [rbp - 0x18]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
mov r9d, 0x18
lea r8, [rbp]
mov edx, 0x222014
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
js 0x1400972a1
mov dword [rbp - 0x18], r13d
mov qword [rbp - 8], r13
mov rax, qword [rbx + 0x28]
mov qword [rbp], rax
mov qword [rbp + 8], 8
mov qword [rsp + 0x38], r13
lea rax, [rbp - 0x18]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x10
lea r8, [rbp]
mov edx, 0x222010
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
cmovne rdi, qword [rbp - 8]
mov qword [rbx + 0x40], rdi
cmp qword [r15 + 0x18], 0xf
jbe 0x1400972af
mov r15, qword [r15]
mov rdx, r15
call fcn.140096530
lea r14, [rax + 0x1200]
mov r8, r13
test r14, r14
jne 0x1400972ce
mov rdx, r13
jmp 0x14009737b
mov qword [rbp - 0x18], r13
mov ecx, 0x20
call fcn.140098ef0
mov rdi, rax
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r13
mov rax, r14
shr rax, 9
movabs rcx, 0x7ffffffff8
and rax, rcx
add rax, qword [rbx + 0x40]
mov qword [rdi + 0x18], rax
shr rax, 9
and rax, rcx
add rax, qword [rbx + 0x40]
mov qword [rdi + 0x10], rax
shr rax, 9
and rax, rcx
add rax, qword [rbx + 0x40]
mov qword [rdi + 8], rax
shr rax, 9
and rax, rcx
add rax, qword [rbx + 0x40]
mov qword [rdi], rax
mov rdx, r14
mov rcx, rbx
call fcn.1400964b0
mov r15, rax
lea r8, [rbp - 0x18]
mov rdx, qword [rax + 0x18]
mov rcx, rbx
call fcn.140097610
mov r8, qword [rbp - 0x18]
test r8, r8
jne 0x140097377
lea r8, [rbp - 0x18]
mov rdx, qword [r15 + 0x10]
mov rcx, rbx
call fcn.140097610
mov r8, qword [rbp - 0x18]
mov rdx, qword [rdi + 0x10]
jmp 0x14009737b
mov rdx, qword [rdi + 0x18]
or r8, 2
mov rcx, rbx
call fcn.140096660
mov dword [rbp + 0x60], 0x2444894c
mov dword [rbp + 0x64], 0x54894818
mov dword [rbp + 0x68], 0x89481024
mov dword [rbp + 0x6c], 0x4808244c
mov dword [rbp + 0x70], 0x4838ec83
mov dword [rbp + 0x74], 0x4024448b
mov dword [rbp + 0x78], 0x18408b48
mov dword [rbp + 0x7c], 0x24448948
mov dword [rbp + 0x80], 0x448b4820
mov dword [rbp + 0x84], 0x8b482024
mov dword [rbp + 0x88], 0x44894800
mov dword [rbp + 0x8c], 0x8b482824
mov dword [rbp + 0x90], 0x4c202444
mov dword [rbp + 0x94], 0x4820488b
mov dword [rbp + 0x98], 0x2024448b
mov dword [rbp + 0x9c], 0x18408b4c
mov dword [rbp + 0xa0], 0x24448b48
mov dword [rbp + 0xa4], 0x508b4820
mov dword [rbp + 0xa8], 0x448b4810
mov dword [rbp + 0xac], 0x8b482024
mov dword [rbp + 0xb0], 0x54ff0848
mov dword [rbp + 0xb4], 0x8b482824
mov dword [rbp + 0xb8], 0x4820244c
mov dword [rbp + 0xbc], 0x4828498b
mov dword [rbp + 0xc0], 0xc0330189
mov dword [rbp + 0xc4], 0x38c48348
mov dword [rbp + 0xc8], 0xccccccc3
mov dword [rbp + 0xcc], 0xcccccccc
mov edi, r13d
mov rax, r13
nop dword [rax]
lea r8, [rbp + 0x60]
add r8, rax
lea rdx, [r14 + rax]
mov rcx, rbx
call fcn.140097720
add edi, 8
movsxd rax, edi
cmp rax, 0x70
jb 0x140097490
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x1400974ed
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400974e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400974e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140098d40
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x14009753c
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140097536
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140097536
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140098d40
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140097576
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140097571
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x1400975f2
mov rcx, r8
call fcn.140098d40
mov qword [rsi + 0x10], r13
mov eax, 1
jmp 0x1400975bd
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1400975b7
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400975b2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400975f2
mov rcx, r8
call fcn.140098d40
mov qword [rsi + 0x10], r14
xor eax, eax
mov byte [rsi], 0
mov qword [rsi + 0x18], 0xf
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.140098d20
mov rbx, qword [rsp + 0x230]
add rsp, 0x1e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140004d00
nop
call fcn.140004c60
int3