Function at 0x18008d560
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x190
mov rax, qword [0x1800e5c38]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov r15, r8
mov edi, edx
mov dword [rsp + 0x40], edx
mov rsi, rcx
xor ebp, ebp
mov qword [rsp + 0x68], rbp
mov r14d, 0xf
mov qword [rsp + 0x70], r14
mov byte [rsp + 0x58], bpl
lea eax, [rdx - 5]
mov dword [rsp + 0x48], eax
cmp edx, eax
jbe 0x18008d8c6
mov r12, qword [rsp + 0x48]
mov r13, qword [rsp + 0x48]
mov ecx, 0xfffffffc
mov eax, edi
sub eax, 0xeb
je 0x18008d994
sub eax, 5
je 0x18008d747
sub eax, 5
je 0x18008d6d7
sub eax, 4
je 0x18008d950
cmp eax, 1
jne 0x18008d8b1
mov rax, qword [r15]
cmp rax, 0x100
jb 0x18008d66d
nop word [rax + rax]
mov ebx, 0x12a
mov eax, ebx
sub eax, 0x12a
je 0x18008d63a
sub eax, 1
je 0x18008d631
cmp eax, 1
jne 0x18008d658
add rsi, 0x100
jmp 0x18008d658
add qword [r15], 0xffffffffffffff00
jmp 0x18008d658
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x80]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18008d910
inc ebx
cmp ebx, 0x12d
jb 0x18008d615
mov rax, qword [r15]
cmp rax, 0x100
jae 0x18008d610
test rax, rax
je 0x18008d8b1
mov r8, qword [r15]
lea rdx, [rsp + 0x80]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
sete bpl
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x18008d94c
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008d6cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008d902
call fcn.1800cfd58
mov eax, ebp
jmp 0x18008d9a6
mov ecx, 0x20
call fcn.1800cfd1c
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x18008d70a
mov r8, qword [rsi + 8]
mov rdx, qword [rsi]
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], r14
mov byte [rax], 0
mov rcx, rax
call fcn.1800686d0
jmp 0x18008d70d
mov rbx, rbp
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0xb2
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x58]
xor ecx, ecx
call fcn.18005b9d0
jmp 0x18008d8b1
mov ebx, dword [rsi]
and rbx, rcx
je 0x18008d8ab
mov eax, dword [rbx]
test al, 1
jne 0x18008d8a1
mov r14d, eax
and r14, rcx
mov rcx, qword [r14 + 0x10]
cmp rbx, rcx
jne 0x18008d800
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x18008d796
mov ecx, dword [rdx]
test cl, 1
jne 0x18008d796
or ecx, 1
mov dword [rdx], ecx
or dword [rbx], 1
and dword [r14], 0xfffffffe
mov eax, dword [r14]
mov rsi, r14
jmp 0x18008d891
cmp qword [rbx + 8], rsi
jne 0x18008d7d9
mov edi, 0x18
mov eax, edi
sub eax, 0x18
je 0x18008d7b5
cmp eax, 1
jne 0x18008d7d0
mov rbx, rsi
mov rsi, r12
jmp 0x18008d7d0
mov qword [rsp + 0x20], rbp
mov r9, r15
xor edx, edx
mov r8d, pe_nt_image_headers64
mov rcx, rbx
call fcn.180067890
mov r12, rbx
inc edi
cmp edi, 0x1a
jb 0x18008d7a1
mov eax, dword [rbx]
or eax, 1
mov dword [rbx], eax
and dword [r14], 0xfffffffe
mov qword [rsp + 0x20], rbp
mov r9d, 0x2f
xor r8d, r8d
mov rdx, r14
mov rcx, r15
call fcn.180095900
jmp 0x18008d88f
test rcx, rcx
je 0x18008d820
mov edx, dword [rcx]
test dl, 1
jne 0x18008d820
or edx, 1
mov dword [rcx], edx
or dword [rbx], 1
and dword [r14], 0xfffffffe
mov eax, dword [r14]
mov rsi, r14
jmp 0x18008d891
cmp qword [rbx + 0x10], rsi
jne 0x18008d86e
mov edi, 0x122
nop dword [rax + rax]
mov eax, edi
sub eax, 0x122
je 0x18008d846
cmp eax, 1
jne 0x18008d862
mov rbx, rsi
mov rsi, r13
jmp 0x18008d862
mov qword [rsp + 0x20], rbp
mov r9d, 0x2f
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
call fcn.180095900
mov r13, rbx
inc edi
cmp edi, 0x124
jb 0x18008d830
mov eax, dword [rbx]
or eax, 1
mov dword [rbx], eax
and dword [r14], 0xfffffffe
mov qword [rsp + 0x20], rbp
mov r9, r15
xor edx, edx
mov r8d, pe_nt_image_headers64
mov rcx, r14
call fcn.180067890
mov eax, dword [rsi]
mov ebx, eax
mov ecx, 0xfffffffc
and rbx, rcx
jne 0x18008d752
mov edi, dword [rsp + 0x40]
mov r14d, 0xf
mov rax, qword [r15]
or dword [rax], 1
dec edi
mov dword [rsp + 0x40], edi
cmp edi, dword [rsp + 0x48]
ja 0x18008d5c5
mov r14, qword [rsp + 0x70]
cmp r14, 0x10
jb 0x18008d9a2
lea rdx, [r14 + 1]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008d99d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18008d99d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x18008d94c
inc rdx
mov r8, qword [rsp + 0x58]
mov rcx, r8
cmp rdx, 0x1000
jb 0x18008d944
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x18008d902
mov rcx, r8
call fcn.1800cfd58
mov eax, ebp
jmp 0x18008d9a6
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x18008d98d
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008d988
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008d902
call fcn.1800cfd58
mov eax, 1
jmp 0x18008d9a6
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.1800cfd58
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1800d0500
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret