Function at 0x1800018e0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x70
cmp edx, 1
jne 0x180001c15
lea rdx, [rbp - 0x20]
lea rcx, [0x180028fe0]
call fcn.180001eb0
nop
mov rcx, rax
call fcn.180001510
movzx ebx, al
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x180001961
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000195c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001c50
call fcn.18000d4c0
test bl, bl
jne 0x180001c2b
lea rdx, [rbp - 0x40]
lea rcx, [0x180029058]
call fcn.180001eb0
cmp qword [rax + 0x18], 8
jb 0x180001983
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1800019cf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800019ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001c56
call fcn.18000d4c0
xor r14d, r14d
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r14w
lea rdx, [rbp - 0x20]
call fcn.180001de0
cmp qword [rax + 0x18], 0x10
jb 0x1800019f6
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x180001a40
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001a3b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001c5c
call fcn.18000d4c0
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], r14b
test rbx, rbx
je 0x180001c2b
lea rdx, [rbp - 0x40]
call fcn.1800022e0
nop
cmp qword [rax + 0x18], 8
jb 0x180001a6d
mov rax, qword [rax]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call rbx
mov esi, eax
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x180001ab9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001ab4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001c62
call fcn.18000d4c0
lea rcx, [rsi + 2]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.18000d50c
mov rdi, rax
lea rdx, [rbp - 0x40]
call fcn.1800022e0
nop
cmp qword [rax + 0x18], 8
jb 0x180001aef
mov rax, qword [rax]
mov r8d, esi
mov rdx, rdi
mov rcx, rax
call rbx
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x180001b3b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001b36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001c68
call fcn.18000d4c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x18002f320], rax
mov rcx, rdi
call fcn.18000d4c0
mov rcx, qword [0x18002f320]
test rcx, rcx
jne 0x180001b66
xor eax, eax
jmp 0x180001c30
mov rbx, r14
lea rdi, [0x180000000]
mov rdx, qword [rbx + rdi + 0x28fc0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + rdi + 0x2f300], rax
add rbx, 8
cmp rbx, 0x20
jge 0x180001b99
mov rcx, qword [0x18002f320]
jmp 0x180001b70
lea rdx, [rbp - 0x20]
lea rcx, [0x180029038]
call fcn.180001eb0
nop
mov rcx, rax
call fcn.180001510
movzx ebx, al
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x180001bf1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001bec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180001c4a
call fcn.18000d4c0
test bl, bl
je 0x180001c2b
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [0x1800011e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x180001c2b
test edx, edx
jne 0x180001c2b
mov rcx, qword [0x18002f320]
test rcx, rcx
je 0x180001c2b
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.180013b44
int3
call fcn.180013b44
int3
call fcn.180013b44
int3
call fcn.180013b44
int3
call fcn.180013b44
int3
call fcn.180013b44
int3