Function at 0x1800207e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
lea ebp, [r8 + 0xc]
mov rdi, r9
mov dword [rsp + 0x30], ebp
mov r13d, r8d
mov r14, rdx
mov r12, rcx
cmp r8d, ebp
jae 0x180020a92
mov r15, qword [rsp + 0x48]
lea esi, [r8 - 0xfd]
mov dword [rsp + 0x90], esi
lea rdx, [0x180000000]
movzx ebx, byte [rsp + 0x90]
nop dword [rax + rax]
cmp esi, 0x25
ja case.0x18002085b.12
movzx eax, byte [rdx + rsi + 0x20af0]
mov ecx, dword [rdx + rax*4 + 0x20abc]
add rcx, rdx
jmp rcx
mov qword [rsp + 0x28], 0
lea r8, [0x1800158e0]
mov r9, rdi
mov dword [rsp + 0x20], 0
xor edx, edx
mov qword [rdi + 0x80], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x40], rax
jmp 0x180020a70
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180020a70
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r15], xmm0
movups xmmword [r15 + 0x10], xmm0
movups xmmword [r15 + 0x20], xmm0
mov qword [r15 + 0x30], rax
jmp case.0x18002085b.12
mov qword [0x1800ad908], rdi
jmp case.0x18002085b.12
mov r9, qword [r12]
mov rdx, qword [rsp + 0x38]
cmp r9, rdx
ja 0x180020a8e
mov rcx, qword [r14]
mov r8, rdx
mov rax, qword [rdi]
sub r8, r9
lea rdx, [rax + rcx]
add rcx, rax
add rdx, r9
call sub.VCRUNTIME140.dll_memmove
jmp 0x180020a70
mov rax, qword [r14]
mov rcx, qword [rdi + 8]
cmp rax, rcx
jne 0x180020911
cmp qword [r12], 0
je case.0x18002085b.11
cmp rax, rcx
jae 0x180020a8e
sub rcx, rax
mov qword [rsp + 0x38], rcx
jmp case.0x18002085b.12
mov edx, 0x80
nop dword [rax]
cmp edx, 0x80
je 0x18002095c
cmp edx, 0x13c
je 0x18002094f
cmp edx, 0x1f8
jne 0x180020964
mov al, 1
jmp 0x180020a9d
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov byte [rcx + rax], 0
jmp 0x180020964
mov rax, qword [r12]
sub qword [rdi + 8], rax
add edx, 0xbc
cmp edx, 0x2b4
jb 0x180020930
test rdi, rdi
je case.0x18002085b.3
mov rdx, rdi
mov ecx, 0xec
mov r15, rdi
call fcn.180014da0
jmp 0x180020a70
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180020a8e
mov rax, rcx
mov bl, 1
xchg qword [0x1800ad910], rax
jmp case.0x18002085b.12
mov rax, qword [r14]
cmp rax, qword [rdi + 8]
je case.0x18002085b.11
jae 0x180020a29
mov ebp, 0x27
nop
cmp ebp, 0x27
je 0x1800209d3
cmp ebp, 0x46b
je case.0x18002085b.3
jmp 0x180020a10
mov esi, dword [r14]
mov ebx, esi
cmp rsi, qword [rdi + 8]
jae 0x180020a07
nop
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x1800209f2
mov rcx, qword [rdi]
mov rcx, qword [rcx + rbx*8]
call rax
mov rax, qword [rdi]
inc esi
mov qword [rax + rbx*8], 0
mov ebx, esi
cmp rbx, qword [rdi + 8]
jb 0x1800209e0
mov rax, qword [r14]
mov bl, 1
mov qword [rdi + 8], rax
add ebp, 0x444
cmp ebp, 0x888
jbe 0x1800209c0
mov esi, dword [rsp + 0x90]
mov ebp, dword [rsp + 0x30]
mov rax, qword [r14]
lea r8, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x48], rax
mov edx, SHTestTokenMembership
mov rcx, rdi
call fcn.18008f370
test al, al
je 0x180020a8e
mov ecx, dword [rdi + 8]
mov edx, ecx
cmp rcx, qword [r14]
jae 0x180020a70
xor r8d, r8d
nop word [rax + rax]
mov rax, qword [rdi]
inc ecx
mov qword [rax + rdx*8], r8
mov edx, ecx
cmp rdx, qword [r14]
jb 0x180020a60
lea rdx, [0x180000000]
inc esi
inc r13d
mov dword [rsp + 0x90], esi
cmp r13d, ebp
jb 0x180020840
jmp case.0x18002085b.3
xor al, al
jmp 0x180020a9d
movzx ebx, byte [rsp + 0x90]
movzx eax, bl
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret