Function at 0x14005f120
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 [0x1401b4017], 0
jne 0x14005f5cc
call fcn.14004bd70
test al, al
jne 0x14005f182
mov rax, qword [0x1401b4308]
cmp rax, qword [0x1401b4310]
je 0x14005f162
mov qword [0x1401b4310], rax
mov rax, qword [0x1401b42e8]
cmp rax, qword [0x1401b42f0]
je 0x14005f5c5
mov qword [0x1401b42f0], rax
jmp 0x14005f5c5
mov byte [0x1401b4017], 1
mov ecx, 0x3d
call fcn.1400d975c
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 dword [rax + 0x34], 0
mov dword [rax + 0x38], 0x43a50000
mov byte [rax + 0x3c], 0
mov ecx, 0x3d
call fcn.1400d975c
mov qword [rax], 0xffffffffffffffff
mov qword [rax + 8], 0xffffffffffffffff
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0
mov qword [rax + 0x20], 0xffffffffffffffff
mov qword [rax + 0x28], 0xffffffffffffffff
mov qword [rax + 0x30], 0xffffffffffffffff
mov dword [rax + 0x38], 0xffffffff
mov byte [rax + 0x3c], 0xff
cmp byte [0x1401b3f69], 0
sete cl
mov byte [0x1401b3f69], cl
test cl, cl
je 0x14005f407
mov rcx, qword [0x1401b4308]
cmp rcx, qword [0x1401b4310]
je 0x14005f259
mov qword [0x1401b4310], 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.14004c250
mov rbx, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
cmp rbx, r14
jne 0x14005f2e0
mov byte [0x1401b3f69], bpl
mov byte [0x1401b4017], bpl
test rbx, rbx
je 0x14005f5cc
mov rdx, qword [rsp + 0x50]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x14005f2d0
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005f3f6
mov rcx, rbx
call fcn.1400d9650
jmp 0x14005f5cc
mov rsi, qword [rbx]
mov ecx, 0xfa0
call fcn.1400d975c
mov rdi, rax
mov dword [rsp + 0xa0], ebp
mov r10, qword [0x1401b4180]
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, 0xfa0
mov r8, rdi
mov rdx, rsi
mov rcx, qword [0x1401b4170]
call r10
test eax, eax
jne 0x14005f382
cmp dword [rsp + 0xa0], 0xfa0
jne 0x14005f382
test rdi, rdi
je 0x14005f38a
mov rcx, rdi
call fcn.14005ea90
test al, al
je 0x14005f38a
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
mov rdx, qword [0x1401b4310]
cmp rdx, qword [0x1401b4318]
je 0x14005f36f
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
add qword [0x1401b4310], 0x10
jmp 0x14005f38a
lea r8, [rsp + 0x30]
lea rcx, [0x1401b4308]
call fcn.14007f150
jmp 0x14005f38a
mov rcx, rdi
call fcn.1400d9650
add rbx, 8
cmp rbx, r14
jne 0x14005f2e0
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], ebp
xor r9d, r9d
lea r8, [0x14005eb10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x1401b3fe0], rax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14005f5c5
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f3fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005f3fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d9650
jmp 0x14005f5c5
mov byte [0x1401b3f69], 0
mov rcx, qword [0x1401b3fe0]
test rcx, rcx
je 0x14005f420
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [0x1401b4308]
mov r14, qword [0x1401b4310]
cmp rsi, r14
je 0x14005f5c5
xor ebp, ebp
nop dword [rax]
movups xmm6, xmmword [rsi]
mov ecx, reloc.WLDAP32.dll_Ordinal_200
call fcn.1400d975c
mov rdi, rax
mov dword [rsp + 0xa0], ebp
mov r10, qword [0x1401b4180]
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 [0x1401b4170]
call r10
test eax, eax
jne 0x14005f5b0
cmp dword [rsp + 0xa0], 0xc8
jne 0x14005f5b0
test rdi, rdi
je 0x14005f5b8
psrldq xmm6, 8
movq rcx, xmm6
movzx eax, byte [rcx + 0x5e]
mov byte [rdi + 0x5e], al
movzx eax, byte [rcx + 0x5d]
mov byte [rdi + 0x5d], al
movzx eax, byte [rcx + 0x5c]
mov byte [rdi + 0x5c], al
movzx eax, byte [rcx + 0x62]
mov byte [rdi + 0x62], al
movzx eax, byte [rcx + 0x61]
mov byte [rdi + 0x61], al
movzx eax, byte [rcx + 0x60]
mov byte [rdi + 0x60], al
movzx eax, byte [rcx + 0x8e]
mov byte [rdi + 0x8e], al
movzx eax, byte [rcx + 0x8d]
mov byte [rdi + 0x8d], al
movzx eax, byte [rcx + 0x8c]
mov byte [rdi + 0x8c], al
movzx eax, byte [rcx + 0x92]
mov byte [rdi + 0x92], al
movzx eax, byte [rcx + 0x91]
mov byte [rdi + 0x91], al
movzx eax, byte [rcx + 0x90]
mov byte [rdi + 0x90], al
movzx eax, byte [rcx + 0x9e]
mov byte [rdi + 0x9e], al
movzx eax, byte [rcx + 0x9d]
mov byte [rdi + 0x9d], al
movzx eax, byte [rcx + 0x9c]
mov byte [rdi + 0x9c], al
movzx eax, byte [rcx + 0xa2]
mov byte [rdi + 0xa2], al
movzx eax, byte [rcx + 0xa1]
mov byte [rdi + 0xa1], al
movzx eax, byte [rcx + 0xa0]
mov byte [rdi + 0xa0], al
mov dword [rsp + 0xa8], ebp
mov rbx, qword [0x1401b4188]
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 [0x1401b4170]
call rbx
jmp 0x14005f5b8
mov rcx, rdi
call fcn.1400d9650
add rsi, 0x10
cmp rsi, r14
jne 0x14005f440
mov byte [0x1401b4017], 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