Function at 0x14005f160
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
cmp byte [0x1401b70bf], 0
jne 0x14005f5a7
call fcn.14004be10
test al, al
jne 0x14005f1c2
mov rax, qword [0x1401b73b0]
cmp rax, qword [0x1401b73b8]
je 0x14005f1a2
mov qword [0x1401b73b8], rax
mov rax, qword [0x1401b7390]
cmp rax, qword [0x1401b7398]
je 0x14005f5a0
mov qword [0x1401b7398], rax
jmp 0x14005f5a0
mov byte [0x1401b70bf], 1
mov ecx, 0x44
call fcn.1400db36c
mov rbx, rax
mov dword [rax], 0xffffffff
mov qword [rax + 4], 0
mov qword [rax + 0xc], 0
mov qword [rax + 0x14], 0
mov qword [rax + 0x1c], 0
mov qword [rax + 0x24], 0
mov qword [rax + 0x2c], 0
mov qword [rax + 0x34], 0
mov dword [rax + 0x3c], 0
mov dword [rax + 0x40], 0x43a50000
mov ecx, 0x44
call fcn.1400db36c
mov dword [rax], 0xffffffff
mov qword [rax + 4], 0xffffff
mov qword [rax + 0xc], 0
mov qword [rax + 0x14], 0
mov qword [rax + 0x1c], 0
mov qword [rax + 0x24], 0
mov qword [rax + 0x2c], 0
mov dword [rax + 0x34], 0
mov qword [rax + 0x38], 0xffffffffffff0000
mov dword [rax + 0x40], 0xffffffff
cmp byte [0x1401b7009], 0
sete cl
mov byte [0x1401b7009], cl
test cl, cl
je 0x14005f457
mov rcx, qword [0x1401b73b0]
cmp rcx, qword [0x1401b73b8]
je 0x14005f2a7
mov qword [0x1401b73b8], rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xor ebp, ebp
mov qword [rsp + 0x50], rbp
lea r9, [rsp + 0x40]
mov r8, rax
mov rdx, rbx
call fcn.14004c2f0
mov rbx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
cmp rbx, r14
jne 0x14005f330
mov byte [0x1401b7009], bpl
mov byte [0x1401b70bf], bpl
test rbx, rbx
je 0x14005f5a7
mov rdx, qword [rsp + 0x50]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x14005f31e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005f446
mov rcx, rbx
call fcn.1400db260
jmp 0x14005f5a7
mov rsi, qword [rbx]
mov ecx, 0xfa0
call fcn.1400db36c
mov rdi, rax
mov dword [rsp + 0xa0], ebp
mov r10, qword [0x1401b7228]
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, 0xfa0
mov r8, rdi
mov rdx, rsi
mov rcx, qword [0x1401b7218]
call r10
test eax, eax
jne 0x14005f3d2
cmp dword [rsp + 0xa0], 0xfa0
jne 0x14005f3d2
test rdi, rdi
je 0x14005f3da
mov rcx, rdi
call fcn.14005ec10
test al, al
je 0x14005f3da
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
mov rdx, qword [0x1401b73b8]
cmp rdx, qword [0x1401b73c0]
je 0x14005f3bf
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
add qword [0x1401b73b8], 0x10
jmp 0x14005f3da
lea r8, [rsp + 0x30]
lea rcx, [0x1401b73b0]
call fcn.140080d60
jmp 0x14005f3da
mov rcx, rdi
call fcn.1400db260
add rbx, 8
cmp rbx, r14
jne 0x14005f330
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
xor r9d, r9d
lea r8, [0x14005ec90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1401b7088], rax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14005f5a0
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f44d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005f44d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400db260
jmp 0x14005f5a0
mov byte [0x1401b7009], 0
mov rcx, qword [0x1401b7088]
test rcx, rcx
je 0x14005f470
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [0x1401b73b0]
mov r14, qword [0x1401b73b8]
cmp rsi, r14
je 0x14005f5a0
xor ebp, ebp
nop dword [rax]
movups xmm6, xmmword [rsi]
mov ecx, reloc.WLDAP32.dll_Ordinal_200
call fcn.1400db36c
mov rdi, rax
mov dword [rsp + 0xa0], ebp
mov r10, qword [0x1401b7228]
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WLDAP32.dll_Ordinal_200
mov r8, rdi
movq r15, xmm6
mov rdx, r15
mov rcx, qword [0x1401b7218]
call r10
test eax, eax
jne 0x14005f58b
cmp dword [rsp + 0xa0], 0xc8
jne 0x14005f58b
test rdi, rdi
je 0x14005f593
psrldq xmm6, 8
movq rcx, xmm6
movzx eax, byte [rcx + 0x6a]
mov byte [rdi + 0x6a], al
movzx eax, byte [rcx + 0x69]
mov byte [rdi + 0x69], al
movzx eax, byte [rcx + 0x68]
mov byte [rdi + 0x68], al
movzx eax, byte [rcx + 0x66]
mov byte [rdi + 0x66], al
movzx eax, byte [rcx + 0x65]
mov byte [rdi + 0x65], al
movzx eax, byte [rcx + 0x64]
mov byte [rdi + 0x64], al
movzx eax, byte [rcx + 0x82]
mov byte [rdi + 0x82], al
movzx eax, byte [rcx + 0x81]
mov byte [rdi + 0x81], al
movzx eax, byte [rcx + 0x80]
mov byte [rdi + 0x80], al
mov dword [rsp + 0xa8], ebp
mov rbx, qword [0x1401b7230]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__msize]
lea rcx, [rsp + 0xa8]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8, rdi
mov rdx, r15
mov rcx, qword [0x1401b7218]
call rbx
jmp 0x14005f593
mov rcx, rdi
call fcn.1400db260
add rsi, 0x10
cmp rsi, r14
jne 0x14005f490
mov byte [0x1401b70bf], 0
mov rbx, qword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret