Function at 0x140096190
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 [0x1400b9040]
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 0x1400961ec
cmp qword [rdx + 0x18], 0xf
jbe 0x1400961e0
mov rdx, qword [rdx]
mov r8, qword [rsi + 0x10]
mov rcx, r15
call fcn.14001cfb0
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 0x140096dc1
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 0x1400962c1
lea r9, [rbp - 0x18]
mov r8d, 0x2000
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x1400962aa
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 0x1400962c1
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 0x1400962c1
cmp dword [rdi], 0
jbe 0x1400962c1
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 0x140096332
cmp qword [rbp - 8], r13
je 0x140096335
add rdi, 8
cmp rdi, 0x10000
jb 0x1400962d0
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 0x140096360
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140004d70
nop
mov r8d, 0x16
lea rdx, str.System32_ntoskrnl.exe
lea rcx, [rsp + 0x60]
call fcn.140009fe0
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 0x1400963ec
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400963e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400963e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400985e0
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.140004d70
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, [0x14009eed1]
lea rcx, [rbp - 0x60]
call fcn.140004d70
nop
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.14001c990
nop
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x60]
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.14002d410
nop
mov rdi, qword [rbp + 0x30]
test rdi, rdi
jne 0x14009658a
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.14000abe0
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, [0x14000adc0]
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 0x1400964fb
inc rdx
mov rcx, qword [rbp + 0x20]
cmp rdx, 0x1000
mov rax, rcx
jb 0x1400964f6
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140096d21
call fcn.1400985e0
mov byte [rbp + 0x20], 0
mov qword [rbp + 0x38], 0xf
mov qword [rbp + 0x30], r13
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140096547
inc rdx
mov rcx, qword [rbp + 0x40]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140096541
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140096d6f
call fcn.1400985e0
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140096581
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rsi]
jb 0x14009657c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140096e32
mov rcx, r8
call fcn.1400985e0
mov qword [rsi + 0x10], r13
jmp 0x140096dfb
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 0x140096e39
cmp rdi, 0xf
ja 0x1400965da
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], 0xf
movups xmm0, xmmword [r12]
movups xmmword [rbp], xmm0
jmp 0x14009666f
mov rax, rdi
or rax, 0xf
cmp rax, r14
jbe 0x140096612
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140098790
mov rcx, rax
test rax, rax
je 0x140096648
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140096654
cmp rax, 0x16
mov ecx, 0x16
cmovb rax, rcx
mov r14, rax
lea rcx, [rax + 1]
test rcx, rcx
jne 0x140096630
mov rax, r13
jmp 0x140096654
cmp rcx, 0x1000
jb 0x14009664f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140096e3f
jmp 0x1400965f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140098790
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.14002e6f0
test al, al
jne 0x14009668c
lea rdx, str.load_pdb_failed
jmp 0x14009648f
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.14001e8c0
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.140004d70
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.14002eaa0
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.14001e8c0
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.140004d70
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.14002eaa0
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.14001e8c0
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.140004d70
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.14002eaa0
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, [0x1400a80e8]
lea rcx, [rsp + 0x40]
call fcn.14001e8c0
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.140004d70
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.14002eaa0
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.14001e8c0
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.140004d70
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.14002eaa0
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.14001e8c0
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.140004d70
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.14002eaa0
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.140004d70
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.14002e970
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.140004d70
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.14002e970
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.140004d70
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x18]
call fcn.14002e970
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 0x140096a3d
test rax, rax
je 0x140096ae1
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 0x140096ae1
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 0x140096aef
mov r15, qword [r15]
mov rdx, r15
call fcn.140095d70
lea r14, [rax + 0x1200]
mov r8, r13
test r14, r14
jne 0x140096b0e
mov rdx, r13
jmp 0x140096bbb
mov qword [rbp - 0x18], r13
mov ecx, 0x20
call fcn.140098790
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.140095cf0
mov r15, rax
lea r8, [rbp - 0x18]
mov rdx, qword [rax + 0x18]
mov rcx, rbx
call fcn.140096e50
mov r8, qword [rbp - 0x18]
test r8, r8
jne 0x140096bb7
lea r8, [rbp - 0x18]
mov rdx, qword [r15 + 0x10]
mov rcx, rbx
call fcn.140096e50
mov r8, qword [rbp - 0x18]
mov rdx, qword [rdi + 0x10]
jmp 0x140096bbb
mov rdx, qword [rdi + 0x18]
or r8, 2
mov rcx, rbx
call fcn.140095ea0
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.140096f60
add edi, 8
movsxd rax, edi
cmp rax, 0x70
jb 0x140096cd0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x140096d2d
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096d28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140096d28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400985e0
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x140096d7c
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140096d76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140096d76
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400985e0
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140096db6
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140096db1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x140096e32
mov rcx, r8
call fcn.1400985e0
mov qword [rsi + 0x10], r13
mov eax, 1
jmp 0x140096dfd
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140096df7
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140096df2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140096e32
mov rcx, r8
call fcn.1400985e0
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.1400985c0
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.140004d10
nop
call fcn.140004c70
int3