Function at 0x180155d40
Capabilities:
Delete directory

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x298]
sub rsp, 0x370
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rbp + 0x260], rax
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov esi, r12d
mov qword [rsp + 0x38], r12
mov rdx, rcx
lea rcx, [rbp - 0x68]
call fcn.180004ad0
nop
lea edx, [r12 + 0x10]
lea rcx, [rbp - 0x68]
call fcn.18015a4f0
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], r12
mov qword [rbp - 8], r12
mov qword [rbp], r12
mov qword [rbp - 8], r12
mov qword [rbp], 7
mov word [rbp - 0x18], r12w
mov qword [rsp + 0x40], r12
lea ecx, [r12 + 8]
call fcn.180386914
mov qword [rsp + 0x48], rax
mov qword [rax], 0xffffffffffffffff
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
mov r15d, 1
mov dword [rsp + 0x30], r15d
mov rdx, qword [rbp - 0x58]
add rdx, 3
lea rcx, [rsp + 0x58]
call fcn.18000b5c0
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r9, qword [rbp - 0x68]
mov rdi, qword [rbp - 0x58]
mov r14, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
sub rax, r14
cmp rdi, rax
ja 0x180155e8d
lea rax, [r14 + rdi]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp rcx, 8
cmovae rbx, qword [rsp + 0x58]
lea r8, [rdi + rdi]
lea rcx, [rbx + r14*2]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r14 + rdi]
mov word [rbx + rax*2], r12w
jmp 0x180155ea2
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.180009e30
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rax, 3
jb 0x180155eed
lea rdi, [rcx + 3]
mov qword [rsp + 0x68], rdi
lea rbx, [rsp + 0x58]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x58]
lea rcx, [rbx + rcx*2]
mov r8d, 6
lea rdx, [0x1803c2518]
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2], r12w
jmp 0x180155f0e
mov qword [rsp + 0x20], 3
lea r9, [0x1803c2518]
xor r8d, r8d
lea edx, [r8 + 3]
lea rcx, [rsp + 0x58]
call fcn.180009e30
lea r8, [rbp - 0x40]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call fcn.18015e700
movzx edi, al
and r15d, 0xfffffffe
mov dword [rsp + 0x30], r15d
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x180155f72
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180155f6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180155f6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
mov rbx, qword [rsp + 0x40]
test dil, dil
je 0x1801566d4
movzx ecx, byte [rbp - 0x20]
shr cl, 4
mov r12, qword [rbp]
mov r14, qword [rbp - 8]
mov r13, qword [rbp - 0x18]
and cl, 1
je 0x180155fea
test r14, r14
je 0x180155fea
lea rax, [rbp - 0x18]
cmp r12, 8
cmovae rax, r13
cmp word [rax], 0x2e
jne 0x180155fea
cmp r14, 1
je 0x180156307
lea rax, [rbp - 0x18]
cmp r12, 8
cmovae rax, r13
cmp word [rax + 2], 0x2e
jne 0x180155fea
cmp r14, 2
je 0x180156307
test cl, cl
je 0x180156176
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], ax
or r15d, 2
mov dword [rsp + 0x30], r15d
mov rdx, qword [rbp - 0x58]
add rdx, r14
lea rcx, [rsp + 0x58]
call fcn.18000b5c0
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r9, qword [rbp - 0x68]
mov rsi, qword [rbp - 0x58]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x38], rcx
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x18015608f
lea rax, [rcx + rsi]
mov qword [rsp + 0x68], rax
lea rdi, [rsp + 0x58]
cmp rdx, 8
cmovae rdi, qword [rsp + 0x58]
lea r8, [rsi + rsi]
lea rcx, [rdi + rcx*2]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [rsp + 0x38]
add rax, rsi
xor ecx, ecx
mov word [rdi + rax*2], cx
jmp 0x1801560a4
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.180009e30
lea r9, [rbp - 0x18]
cmp r12, 8
cmovae r9, r13
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x1801560f7
lea rsi, [rcx + r14]
mov qword [rsp + 0x68], rsi
lea rdi, [rsp + 0x58]
cmp rdx, 8
cmovae rdi, qword [rsp + 0x58]
lea r8, [r14 + r14]
lea rcx, [rdi + rcx*2]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
xor r14d, r14d
mov word [rdi + rsi*2], r14w
jmp 0x18015610f
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.180009e30
xor r14d, r14d
lea rcx, [rsp + 0x58]
call fcn.180155d40
mov rsi, rax
mov qword [rsp + 0x38], rax
and r15d, 0xfffffffd
mov dword [rsp + 0x30], r15d
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1801562f3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801562ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801562ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], ax
or r15d, 4
mov dword [rsp + 0x30], r15d
mov rdx, qword [rbp - 0x58]
add rdx, r14
lea rcx, [rsp + 0x58]
call fcn.18000b5c0
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r9, qword [rbp - 0x68]
mov rsi, qword [rbp - 0x58]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x38], rcx
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x180156213
lea rax, [rsi + rcx]
mov qword [rsp + 0x68], rax
lea rdi, [rsp + 0x58]
cmp rdx, 8
cmovae rdi, qword [rsp + 0x58]
lea r8, [rsi + rsi]
lea rcx, [rdi + rcx*2]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [rsp + 0x38]
add rax, rsi
xor ecx, ecx
mov word [rdi + rax*2], cx
jmp 0x180156228
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.180009e30
lea r9, [rbp - 0x18]
cmp r12, 8
cmovae r9, r13
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x18015627b
lea rsi, [rcx + r14]
mov qword [rsp + 0x68], rsi
lea rdi, [rsp + 0x58]
cmp rdx, 8
cmovae rdi, qword [rsp + 0x58]
lea r8, [r14 + r14]
lea rcx, [rdi + rcx*2]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
xor r14d, r14d
mov word [rdi + rsi*2], r14w
jmp 0x180156293
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.180009e30
xor r14d, r14d
lea rcx, [rsp + 0x58]
call fcn.180174f50
movzx esi, al
mov qword [rsp + 0x38], rsi
and r15d, 0xfffffffb
mov dword [rsp + 0x30], r15d
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1801562f3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801562ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801562ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov word [rsp + 0x58], r14w
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r14
xor r12d, r12d
mov rdi, qword [rbx]
cmp rdi, 0xffffffffffffffff
je 0x1801566d4
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1801566d4
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0x10]
call fcn.18015e520
movzx ecx, byte [rbp - 0x20]
shr cl, 4
mov r12, qword [rbp]
mov r14, qword [rbp - 8]
mov r13, qword [rbp - 0x18]
and cl, 1
je 0x18015639c
test r14, r14
je 0x18015639c
lea rax, [rbp - 0x18]
cmp r12, 8
cmovae rax, r13
cmp word [rax], 0x2e
jne 0x18015639c
cmp r14, 1
je 0x180156307
lea rax, [rbp - 0x18]
cmp r12, 8
cmovae rax, r13
cmp word [rax + 2], 0x2e
jne 0x18015639c
cmp r14, 2
je 0x180156307
test cl, cl
je 0x18015653c
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], ax
or r15d, 8
mov dword [rsp + 0x30], r15d
mov rdx, qword [rbp - 0x58]
add rdx, r14
lea rcx, [rsp + 0x58]
call fcn.18000b5c0
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r9, qword [rbp - 0x68]
mov rsi, qword [rbp - 0x58]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x48], rcx
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x180156441
lea rax, [rcx + rsi]
mov qword [rsp + 0x68], rax
lea rdi, [rsp + 0x58]
cmp rdx, 8
cmovae rdi, qword [rsp + 0x58]
lea r8, [rsi + rsi]
lea rcx, [rdi + rcx*2]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [rsp + 0x48]
add rax, rsi
xor ecx, ecx
mov word [rdi + rax*2], cx
jmp 0x180156456
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.180009e30
lea r9, [rbp - 0x18]
cmp r12, 8
cmovae r9, r13
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x1801564a9
lea rsi, [rcx + r14]
mov qword [rsp + 0x68], rsi
lea rdi, [rsp + 0x58]
cmp rdx, 8
cmovae rdi, qword [rsp + 0x58]
lea r8, [r14 + r14]
lea rcx, [rdi + rcx*2]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
xor r12d, r12d
mov word [rdi + rsi*2], r12w
jmp 0x1801564c1
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.180009e30
xor r12d, r12d
lea rcx, [rsp + 0x58]
call fcn.180155d40
mov rsi, qword [rsp + 0x38]
add rsi, rax
mov qword [rsp + 0x38], rsi
and r15d, 0xfffffff7
mov dword [rsp + 0x30], r15d
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x180156523
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18015651e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801566c6
call fcn.180386950
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
jmp 0x18015630a
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], ax
or r15d, 0x10
mov dword [rsp + 0x30], r15d
mov rdx, qword [rbp - 0x58]
add rdx, r14
lea rcx, [rsp + 0x78]
call fcn.18000b5c0
lea r9, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r9, qword [rbp - 0x68]
mov rsi, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x78]
mov qword [rsp + 0x48], rcx
mov rdx, qword [rbp - 0x70]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x1801565d2
lea rax, [rcx + rsi]
mov qword [rbp - 0x78], rax
lea rdi, [rsp + 0x78]
cmp rdx, 8
cmovae rdi, qword [rsp + 0x78]
lea r8, [rsi + rsi]
lea rcx, [rdi + rcx*2]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [rsp + 0x48]
add rax, rsi
xor ecx, ecx
mov word [rdi + rax*2], cx
jmp 0x1801565e7
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.180009e30
lea r9, [rbp - 0x18]
cmp r12, 8
cmovae r9, r13
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x70]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x180156637
lea rsi, [rcx + r14]
mov qword [rbp - 0x78], rsi
lea rdi, [rsp + 0x78]
cmp rdx, 8
cmovae rdi, qword [rsp + 0x78]
lea r8, [r14 + r14]
lea rcx, [rdi + rcx*2]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
xor r12d, r12d
mov word [rdi + rsi*2], r12w
jmp 0x18015664f
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.180009e30
xor r12d, r12d
lea rcx, [rsp + 0x78]
call fcn.180174f50
movzx eax, al
mov rsi, qword [rsp + 0x38]
add rsi, rax
mov qword [rsp + 0x38], rsi
and r15d, 0xffffffef
mov dword [rsp + 0x30], r15d
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x1801566af
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801566aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1801566cd
call fcn.180386950
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
jmp 0x18015630a
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 rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x1801566ee
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x1801566ee
mov qword [rbx], 0xffffffffffffffff
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1801567ae
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.1801759f0
test al, al
je 0x180156810
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x180156810
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x18015679c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180156797
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180156797
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
inc rsi
lea rcx, [rsp + 0x40]
call fcn.18015e690
nop
lea rcx, [rbp - 0x18]
call fcn.180004e20
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x18015699d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180156998
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180156998
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x180156854
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18015684f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18015684f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
lea rcx, [rbp - 0x68]
call fcn.180174550
mov ebx, eax
cmp eax, 0xffffffff
je 0x1801567b1
xor edx, edx
lea rcx, [rbp - 0x68]
call fcn.180174430
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1801567ae
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.1801759f0
test al, al
je 0x180156932
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x180156932
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x18015679c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180156797
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180156797
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x180156976
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180156971
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180156971
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r12w
mov edx, ebx
lea rcx, [rbp - 0x68]
call fcn.180174430
jmp 0x1801567b1
call fcn.180386950
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], r12w
mov rax, rsi
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1803868f0
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret