Function at 0x14005f670
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 [0x1401b7051], 0
jne 0x14005fab7
call fcn.14004c460
test al, al
jne 0x14005f6d2
mov rax, qword [0x1401b7310]
cmp rax, qword [0x1401b7318]
je 0x14005f6b2
mov qword [0x1401b7318], rax
mov rax, qword [0x1401b72f0]
cmp rax, qword [0x1401b72f8]
je 0x14005fab0
mov qword [0x1401b72f8], rax
jmp 0x14005fab0
mov byte [0x1401b7051], 1
mov ecx, 0x44
call fcn.1400dbb5c
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.1400dbb5c
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 [0x1401b6f69], 0
sete cl
mov byte [0x1401b6f69], cl
test cl, cl
je 0x14005f967
mov rcx, qword [0x1401b7310]
cmp rcx, qword [0x1401b7318]
je 0x14005f7b7
mov qword [0x1401b7318], 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.14004c940
mov rbx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
cmp rbx, r14
jne 0x14005f840
mov byte [0x1401b6f69], bpl
mov byte [0x1401b7051], bpl
test rbx, rbx
je 0x14005fab7
mov rdx, qword [rsp + 0x50]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x14005f82e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005f956
mov rcx, rbx
call fcn.1400dba50
jmp 0x14005fab7
mov rsi, qword [rbx]
mov ecx, 0xfa0
call fcn.1400dbb5c
mov rdi, rax
mov dword [rsp + 0xa0], ebp
mov r10, qword [0x1401b7188]
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, 0xfa0
mov r8, rdi
mov rdx, rsi
mov rcx, qword [0x1401b7178]
call r10
test eax, eax
jne 0x14005f8e2
cmp dword [rsp + 0xa0], 0xfa0
jne 0x14005f8e2
test rdi, rdi
je 0x14005f8ea
mov rcx, rdi
call fcn.14005f120
test al, al
je 0x14005f8ea
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
mov rdx, qword [0x1401b7318]
cmp rdx, qword [0x1401b7320]
je 0x14005f8cf
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
add qword [0x1401b7318], 0x10
jmp 0x14005f8ea
lea r8, [rsp + 0x30]
lea rcx, [0x1401b7310]
call fcn.140081550
jmp 0x14005f8ea
mov rcx, rdi
call fcn.1400dba50
add rbx, 8
cmp rbx, r14
jne 0x14005f840
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
xor r9d, r9d
lea r8, [0x14005f1a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1401b6fe8], rax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14005fab0
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f95d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005f95d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dba50
jmp 0x14005fab0
mov byte [0x1401b6f69], 0
mov rcx, qword [0x1401b6fe8]
test rcx, rcx
je 0x14005f980
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [0x1401b7310]
mov r14, qword [0x1401b7318]
cmp rsi, r14
je 0x14005fab0
xor ebp, ebp
nop dword [rax]
movups xmm6, xmmword [rsi]
mov ecx, reloc.WLDAP32.dll_Ordinal_200
call fcn.1400dbb5c
mov rdi, rax
mov dword [rsp + 0xa0], ebp
mov r10, qword [0x1401b7188]
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 [0x1401b7178]
call r10
test eax, eax
jne 0x14005fa9b
cmp dword [rsp + 0xa0], 0xc8
jne 0x14005fa9b
test rdi, rdi
je 0x14005faa3
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 [0x1401b7190]
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 [0x1401b7178]
call rbx
jmp 0x14005faa3
mov rcx, rdi
call fcn.1400dba50
add rsi, 0x10
cmp rsi, r14
jne 0x14005f9a0
mov byte [0x1401b7051], 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