Function at 0x18000b780
Capabilities:
Get common file path
Manipulate console buffer
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4c8]
sub rsp, 0x5c8
mov rax, qword [0x1801eef68]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
mov r11, r9
mov qword [rsp + 0x70], r9
mov r10, r8
mov qword [rsp + 0x68], r8
mov r9, rdx
mov qword [rbp - 0x50], rdx
mov rbx, rcx
mov qword [rbp - 0x58], rcx
xor r15d, r15d
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r15w
mov r13d, dword [rbp + 0x530]
lea r12d, [r13 + 0xd]
mov dword [rsp + 0x5c], r12d
cmp r13d, r12d
jae 0x18000c3e6
lea rdi, [0x180000000]
lea esi, [r15 + 0x64]
mov r14d, 2
movabs rdx, 0x7ffffffffffffffe
lea eax, [r13 - 0x10c]
cmp eax, 0x27
ja case.0x18000b835.280
movzx eax, byte [rdi + rax + 0xc470]
mov ecx, dword [rdi + rax*4 + 0xc43c]
add rcx, rdi
jmp rcx
mov ecx, r15d
movzx eax, byte [rsp + 0x30]
mov rbx, qword [rbp - 0x70]
cmp rbx, 0xffffffffffffffff
cmovne ecx, eax
mov byte [rsp + 0x30], cl
call qword [sym.imp.SHELL32.dll_SHLoadNonloadedIconOverlayIdentifiers]
cmp byte [rsp + 0x30], 0
je case.0x18000b835.280
lea rdx, [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetNumberOfConsoleInputEvents]
jmp case.0x18000b835.280
mov rdi, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x30]
cmp rdi, rcx
jae 0x18000b89f
lea rax, [rdi + 1]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x48]
cmp rcx, 8
cmovae rax, qword [rbp - 0x48]
mov dword [rax + rdi*2], 0x64
jmp 0x18000b976
mov rax, rdx
sub rax, rdi
cmp rax, 1
jb 0x18000c430
lea r15, [rdi + 1]
mov rsi, qword [rbp - 0x30]
mov rbx, r15
or rbx, 7
cmp rbx, rdx
jbe 0x18000b8c8
mov rbx, rdx
jmp 0x18000b8e9
mov rcx, rsi
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp rsi, rax
jbe 0x18000b8de
mov rbx, rdx
jmp 0x18000b8e9
lea rax, [rsi + rcx]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x48]
call fcn.180021b00
mov r14, rax
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], rbx
add rdi, rdi
mov r8, rdi
mov rcx, rax
cmp rsi, 8
jb 0x18000b95e
mov rbx, qword [rbp - 0x48]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + r14], 0x64
xor r15d, r15d
lea rdx, [rsi*2 + 2]
cmp rdx, 0x1000
jb 0x18000b954
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x18000c382
mov rbx, rcx
mov rcx, rbx
call fcn.1800d6a9c
jmp 0x18000b972
lea rdx, [rbp - 0x48]
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + r14], 0x64
xor r15d, r15d
mov qword [rbp - 0x48], r14
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp - 0x70], rax
mov r14, qword [rbp - 0x38]
mov rsi, qword [rbp - 0x30]
cmp r14, rsi
jae 0x18000b9b8
lea rcx, [r14 + 1]
mov qword [rbp - 0x38], rcx
lea rcx, [rbp - 0x48]
cmp rsi, 8
cmovae rcx, qword [rbp - 0x48]
mov dword [rcx + r14*2], 0x61
mov rdi, qword [rbp - 0x48]
jmp 0x18000ba95
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
sub rax, r14
cmp rax, 1
jb 0x18000c430
lea r15, [r14 + 1]
mov rbx, r15
or rbx, 7
cmp rbx, rdx
jbe 0x18000b9e7
mov rbx, rdx
jmp 0x18000ba08
mov rcx, rsi
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp rsi, rax
jbe 0x18000b9fd
mov rbx, rdx
jmp 0x18000ba08
lea rax, [rcx + rsi]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x48]
call fcn.180021b00
mov rdi, rax
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], rbx
add r14, r14
mov r8, r14
mov rcx, rax
cmp rsi, 8
jb 0x18000ba7d
mov rbx, qword [rbp - 0x48]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + r14], 0x61
xor r15d, r15d
lea rdx, [rsi*2 + 2]
cmp rdx, 0x1000
jb 0x18000ba73
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x18000c382
mov rbx, rcx
mov rcx, rbx
call fcn.1800d6a9c
jmp 0x18000ba91
lea rdx, [rbp - 0x48]
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + r14], 0x61
xor r15d, r15d
mov qword [rbp - 0x48], rdi
mov r14, qword [rbp - 0x38]
mov rsi, qword [rbp - 0x30]
cmp r14, rsi
jae 0x18000bacf
lea rax, [r14 + 1]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x48]
cmp rsi, 8
cmovae rax, rdi
mov dword [rax + r14*2], 0x74
lea rdi, [0x180000000]
mov esi, 0x64
jmp case.0x18000b835.280
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
sub rax, r14
cmp rax, 1
jb 0x18000c430
lea r15, [r14 + 1]
mov rbx, r15
or rbx, 7
cmp rbx, rdx
jbe 0x18000bafe
mov rbx, rdx
jmp 0x18000bb1f
mov rcx, rsi
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp rsi, rax
jbe 0x18000bb14
mov rbx, rdx
jmp 0x18000bb1f
lea rax, [rsi + rcx]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x48]
call fcn.180021b00
mov rdi, rax
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], rbx
add r14, r14
mov r8, r14
mov rcx, rax
cmp rsi, 8
jb 0x18000bb94
mov rbx, qword [rbp - 0x48]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + r14], 0x74
xor r15d, r15d
lea rdx, [rsi*2 + 2]
cmp rdx, 0x1000
jb 0x18000bb8a
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x18000c382
mov rbx, rcx
mov rcx, rbx
call fcn.1800d6a9c
jmp 0x18000bba8
lea rdx, [rbp - 0x48]
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + r14], 0x74
xor r15d, r15d
mov qword [rbp - 0x48], rdi
lea rdi, [0x180000000]
mov esi, 0x64
jmp case.0x18000b835.280
mov rdx, r9
test r9, r9
je 0x18000bbf4
mov r9d, dword [r10]
nop dword [rax + rax]
mov rbx, qword [rdx + 8]
mov r8d, dword [rbx + 8]
cmp r9d, r8d
jl 0x18000bbec
mov ecx, dword [rbx + 0xc]
add ecx, r8d
cmp r9d, ecx
jl 0x18000c31f
mov rdx, qword [rdx]
test rdx, rdx
jne 0x18000bbd0
mov qword [rsp + 0x50], r15
jmp case.0x18000b835.280
mov rax, qword [rbp - 0x68]
cmp byte [rax], 0
jne case.0x18000b835.280
test rbx, rbx
je 0x18000bc13
mov dword [rbx], r15d
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x50], eax
mov rcx, qword [rbp - 0x30]
cmp rcx, 8
jb 0x18000bc5b
lea rdx, [rcx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000bc56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000c429
call fcn.1800d6a9c
mov rax, qword [rsp + 0x50]
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.1800d7250
add rsp, 0x5c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rdi, qword [0x1801eee88]
lea rbx, [0x1801eee78]
cmp qword [0x1801eee90], 8
cmovae rbx, qword [0x1801eee78]
cmp rdi, 8
jae 0x18000bcb9
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x28], xmm0
mov esi, 7
mov r15, qword [rbp - 0x28]
jmp 0x18000bcf8
mov rsi, rdi
or rsi, 7
cmp rsi, rdx
cmova rsi, rdx
lea rdx, [rsi + 1]
lea rcx, [rbp - 0x28]
call fcn.180021b00
mov r15, rax
mov qword [rbp - 0x28], rax
lea r8, [rdi*2 + 2]
mov rdx, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
movabs rdx, 0x7ffffffffffffffe
mov qword [rbp - 0x10], rsi
mov qword [rbp - 0x18], rdi
lea r14, [rbp - 0x28]
cmp rsi, 8
cmovae r14, r15
cmp rdi, 8
jae 0x18000bd20
movups xmm0, xmmword [r14]
mov qword [rbp + 0x10], 7
jmp 0x18000bd5a
mov rbx, rdi
or rbx, 7
cmp rbx, rdx
cmova rbx, rdx
lea rdx, [rbx + 1]
lea rcx, [rbp - 8]
call fcn.180021b00
mov qword [rbp - 8], rax
lea r8, [rdi*2 + 2]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 0x10], rbx
movups xmm0, xmmword [rbp - 8]
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp + 8], rdi
mov rcx, qword [rbp - 0x30]
cmp rcx, 8
jb 0x18000bda2
lea rdx, [rcx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000bd9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000c374
call fcn.1800d6a9c
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rbp - 0x48], xmm0
movups xmm0, xmmword [rbp + 8]
movups xmmword [rbp - 0x38], xmm0
cmp rsi, 8
jb 0x18000bded
lea rdx, [rsi*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x18000bde5
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000c382
mov rcx, r15
call fcn.1800d6a9c
mov byte [rsp + 0x30], 1
xor r15d, r15d
lea rdi, [0x180000000]
lea esi, [r15 + 0x64]
jmp case.0x18000b835.280
xor r8d, r8d
lea rdx, [rbp - 0x68]
mov rcx, r9
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
mov dword [rsp + 0x60], eax
jmp case.0x18000b835.280
mov rsi, r15
mov qword [rbp - 0x28], r15
cmp qword [0x1801eeea8], 0
jbe 0x18000c188
mov edi, 0x123
nop dword [rax + rax]
cmp edi, 0x61c2
ja 0x18000bf18
je 0x18000bee5
cmp edi, 0x123
je 0x18000beca
cmp edi, 0x1476
je 0x18000beb4
cmp edi, 0x27c9
je 0x18000bea0
cmp edi, 0x3b1c
je 0x18000be96
cmp edi, 0x4e6f
jne 0x18000c14c
mov dword [rsp + 0x3c], r15d
mov dword [rsp + 0x38], 0x20050
mov word [rsp + 0x34], r15w
jmp 0x18000c14c
mov qword [rsp + 0x48], r15
jmp 0x18000c14c
mov dword [rsp + 0x34], r15d
mov qword [rsp + 0x78], r15
mov dword [rsp + 0x38], r15d
jmp 0x18000c14c
xor edx, edx
mov r8d, SHChangeNotification_Lock
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
jmp 0x18000c14c
mov byte [rsp + 0x31], 1
mov byte [rsp + 0x32], 1
mov qword [rbp - 0x60], r15
mov dword [rsp + 0x40], 0x36
jmp 0x18000c14c
mov word [rsp + 0x36], r15w
lea rax, [rbp + 0x2a0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x3c]
mov r8, qword [rsp + 0x78]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [rsp + 0x58], eax
jmp 0x18000c14c
cmp edi, 0x7515
je 0x18000c144
cmp edi, 0x8868
je 0x18000c0e5
cmp edi, 0x9bbb
je 0x18000c0cf
cmp edi, 0xaf0e
jne 0x18000c14c
cmp byte [rsp + 0x31], 0
je 0x18000bf85
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x38]
lea rdx, [rbp + 0x20]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movabs rdx, 0x7ffffffffffffffe
lea rax, [0x1801eee98]
cmp qword [0x1801eeeb0], 0x10
cmovae rax, qword [0x1801eee98]
movsx r13d, byte [rax + rsi]
mov rsi, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x30]
cmp rsi, rcx
jae 0x18000bfd7
lea rax, [rsi + 1]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x48]
cmp rcx, 8
cmovae rax, qword [rbp - 0x48]
mov word [rax + rsi*2], r13w
mov word [rax + rsi*2 + 2], r15w
mov rsi, qword [rbp - 0x28]
jmp 0x18000c14c
mov rax, rdx
sub rax, rsi
cmp rax, 1
jb 0x18000c436
lea r12, [rsi + 1]
mov r15, qword [rbp - 0x30]
mov rbx, r12
or rbx, 7
cmp rbx, rdx
jbe 0x18000c000
mov rbx, rdx
jmp 0x18000c021
mov rcx, r15
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp r15, rax
jbe 0x18000c016
mov rbx, rdx
jmp 0x18000c021
lea rax, [r15 + rcx]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x48]
call fcn.180021b00
mov r14, rax
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], rbx
add rsi, rsi
mov r8, rsi
mov rcx, rax
cmp r15, 8
jb 0x18000c0aa
mov rbx, qword [rbp - 0x48]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov word [r14 + rsi], r13w
xor eax, eax
mov word [r14 + rsi + 2], ax
lea rdx, [r15*2 + 2]
cmp rdx, 0x1000
jb 0x18000c08e
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x18000c37b
mov rbx, rcx
mov rcx, rbx
call fcn.1800d6a9c
mov qword [rbp - 0x48], r14
mov rsi, qword [rbp - 0x28]
xor r15d, r15d
lea r14d, [r15 + 2]
jmp 0x18000c14c
lea rdx, [rbp - 0x48]
call sub.VCRUNTIME140.dll_memcpy
mov word [r14 + rsi], r13w
xor r15d, r15d
mov word [r14 + rsi + 2], r15w
mov qword [rbp - 0x48], r14
mov rsi, qword [rbp - 0x28]
lea r14d, [r15 + 2]
jmp 0x18000c14c
mov ecx, r15d
movzx eax, byte [rsp + 0x31]
cmp qword [rbp - 0x80], 0xffffffffffffffff
cmovne ecx, eax
mov byte [rsp + 0x31], cl
jmp 0x18000c14c
mov ecx, r15d
movzx eax, byte [rsp + 0x32]
cmp dword [rsp + 0x58], 0
cmove ecx, eax
mov byte [rsp + 0x32], cl
mov dword [rsp + 0x4c], 0xb004f
cmp cl, 0
je 0x18000c121
lea r9, [rbp + 0x2a0]
mov r8d, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_SHSetFolderPathW]
mov qword [rsp + 0x20], r15
mov r9d, 1
xor r8d, r8d
lea edx, [r9 + 2]
mov ecx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateConsoleScreenBuffer]
mov qword [rbp - 0x80], rax
jmp 0x18000c14c
mov dword [rsp + 0x48], 0xa0000
add edi, 0x1353
cmp edi, 0xc13e
movabs rdx, 0x7ffffffffffffffe
jbe 0x18000be40
inc rsi
mov qword [rbp - 0x28], rsi
cmp rsi, qword [0x1801eeea8]
jb 0x18000be33
mov r13d, dword [rbp + 0x530]
mov r12d, dword [rsp + 0x5c]
mov rdi, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x30]
cmp rdi, rcx
jae 0x18000c1c2
lea rax, [rdi + 1]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x48]
cmp rcx, 8
cmovae rax, qword [rbp - 0x48]
mov dword [rax + rdi*2], PathMakeUniqueName
lea rdi, [0x180000000]
mov esi, 0x64
jmp case.0x18000b835.280
mov rax, rdx
sub rax, rdi
cmp rax, 1
jb 0x18000c430
lea r15, [rdi + 1]
mov rsi, qword [rbp - 0x30]
mov rbx, r15
or rbx, 7
cmp rbx, rdx
jbe 0x18000c1eb
mov rbx, rdx
jmp 0x18000c20c
mov rcx, rsi
shr rcx, 1
mov rax, rdx
sub rax, rcx
cmp rsi, rax
jbe 0x18000c201
mov rbx, rdx
jmp 0x18000c20c
lea rax, [rcx + rsi]
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x48]
call fcn.180021b00
mov r14, rax
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], rbx
add rdi, rdi
mov r8, rdi
mov rcx, rax
cmp rsi, 8
jb 0x18000c291
mov rbx, qword [rbp - 0x48]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov dword [r14 + rdi], PathMakeUniqueName
xor r15d, r15d
lea rdx, [rsi*2 + 2]
cmp rdx, 0x1000
jb 0x18000c277
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x18000c382
mov rbx, rcx
mov rcx, rbx
call fcn.1800d6a9c
mov qword [rbp - 0x48], r14
lea rdi, [0x180000000]
mov esi, 0x64
jmp case.0x18000b835.280
lea rdx, [rbp - 0x48]
call sub.VCRUNTIME140.dll_memcpy
mov dword [r14 + rdi], PathMakeUniqueName
xor r15d, r15d
mov qword [rbp - 0x48], r14
lea rdi, [0x180000000]
lea esi, [r15 + 0x64]
jmp case.0x18000b835.280
lea r8, [rbp - 0x48]
mov edx, 0xaa
mov rcx, r9
call fcn.18000d8d0
mov byte [rsp + 0x50], al
jmp case.0x18000b835.280
mov qword [rsp + 0x20], r9
mov r9, r11
lea r8, str.EncodeFrame
xor edx, edx
mov rcx, r10
call fcn.1800299f0
test rbx, rbx
je 0x18000c389
mov dword [rbx], 1
inc r13d
mov dword [rbp + 0x530], r13d
cmp r13d, r12d
jae 0x18000c3e6
mov rbx, qword [rbp - 0x58]
mov r9, qword [rbp - 0x50]
mov r10, qword [rsp + 0x68]
mov r11, qword [rsp + 0x70]
jmp 0x18000b803
sub r9d, r8d
movsxd rax, r9d
mov rbx, qword [rbx]
mov rbx, qword [rbx + rax*8]
mov rcx, qword [rbp - 0x30]
cmp rcx, 8
jb 0x18000c36c
lea rdx, [rcx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c367
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000c429
call fcn.1800d6a9c
mov rax, rbx
jmp 0x18000bc60
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [r10]
mov qword [rsp + 0x68], rax
mov rax, qword [r9]
mov qword [rsp + 0x70], rax
mov r9d, 0x133
mov r8, r11
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x68]
call fcn.18004f170
mov dword [rsp + 0x50], eax
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x18000bc5b
lea rdx, [rdx*2 + 2]
jmp 0x18000bc2d
mov dword [rsp + 0x50], r15d
jmp case.0x18000b835.273
mov rcx, qword [rbp - 0x30]
cmp rcx, 8
jb 0x18000bc5b
lea rdx, [rcx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000bc56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000bc56
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.180017390
int3
call fcn.180017390
int3