Function at 0x140062a70
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov rdi, rcx
xor ebx, ebx
and qword [rsp + 0x60], rbx
cmp qword [rcx + 0x38], rbx
jne 0x140062aa6
mov ebx, 0x8007000e
jmp 0x140062d49
cmp qword [rcx + 0x40], rbx
je 0x140062a9c
lea r15, [rcx + 0x10]
cmp qword [r15], rbx
je 0x140062abf
mov ebx, 0x80004005
jmp 0x140062d49
mov eax, dword [rcx + 0x34]
test eax, eax
jne 0x140062ab5
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rdi + 0x28], eax
cmp eax, 0xffffffff
jne 0x140062ade
mov ebx, 0x80004005
jmp 0x140062d2f
test eax, eax
jne 0x140062afe
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rdi + 0x28], eax
test eax, eax
jne 0x140062af9
mov ecx, 0x1c13e2
call fcn.14002cdf4
cmp dword [rdi + 0x28], ebx
je 0x140062ad4
lea r8, [rsp + 0x60]
mov edx, 0x20
xor ecx, ecx
call fcn.140064930
test eax, eax
jns 0x140062b1a
mov ebx, eax
jmp 0x140062d2f
mov r9, r15
mov r8, qword [rsp + 0x60]
mov edx, 0x100
mov ecx, 0x40
call fcn.140064cc4
test eax, eax
js 0x140062b13
lea r14, [rdi + 0x50]
cmp qword [r14], rbx
jne 0x140062b4a
mov rcx, r14
call fcn.1400635d8
test eax, eax
js 0x140062b13
mov ecx, 0x30
call fcn.14005e974
mov rsi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140062b6e
mov rdx, qword [r14]
mov rcx, rax
call fcn.140063504
jmp 0x140062b70
xor esi, esi
mov qword [rdi + 0xb0], rsi
test rsi, rsi
jne 0x140062b86
mov ebx, 0x8007000e
jmp 0x140062d2f
mov r9d, 0x1f0003
mov r14d, 1
mov r8d, r14d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventExW]
mov qword [rdi + 0xc0], rax
test rax, rax
je 0x140062ad4
lea rcx, [rdi + 0xd0]
xor edx, edx
call fcn.1400645a4
test eax, eax
js 0x140062b13
lea rcx, [rdi + 0x150]
xor edx, edx
call fcn.1400645a4
test eax, eax
js 0x140062b13
mov rcx, qword [rdi + 0x40]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 8]
test eax, eax
js 0x140062b13
lea ecx, [r14 + 0x47]
call fcn.14005e974
mov rsi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140062c1a
mov r8b, r14b
mov dl, r14b
mov rcx, rax
call fcn.14005f7b8
mov dword [rsi + 0x40], r14d
jmp 0x140062c1c
xor esi, esi
mov qword [rdi + 0x48], rsi
test rsi, rsi
je 0x140062b7c
mov ecx, 0x150
call fcn.14005e974
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140062c4d
mov r8, qword [rdi + 0x48]
mov rdx, rdi
mov rcx, rax
call fcn.140072544
nop
mov qword [rdi + 0xc8], rax
test rax, rax
je 0x140062b7c
mov rdx, rdi
mov rcx, rax
call fcn.140072684
test eax, eax
js 0x140062b13
mov rcx, qword [rdi + 0x38]
mov rax, qword [rcx]
mov r8, qword [r15]
mov rdx, rdi
call qword [rax + 8]
test eax, eax
js 0x140062b13
lea rcx, [rdi + 0x1d0]
mov rdx, qword [r15]
call fcn.1400645a4
test eax, eax
js 0x140062b13
mov ecx, 0xd0
call fcn.14005e974
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140062cc3
mov rdx, rdi
mov rcx, rax
call fcn.140070404
mov rcx, rax
jmp 0x140062cc5
xor ecx, ecx
mov qword [rdi + 0x18], rcx
test rcx, rcx
je 0x140062b7c
mov rax, qword [rcx]
call qword [rax + 0x28]
test eax, eax
js 0x140062b13
mov ecx, 0x2f8
call fcn.14005e974
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140062d00
mov rdx, rdi
mov rcx, rax
call fcn.140072f00
nop
mov qword [rdi + 0x20], rax
test rax, rax
je 0x140062b7c
cmp qword [rdi + 0x98], 0
jne 0x140062d25
mov rcx, qword [rdi + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
je 0x140062d2f
mov ecx, 0x1c1401
call fcn.14002cdf4
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140062d45
mov rax, qword [rcx]
call qword [rax + 0x10]
and qword [rsp + 0x60], 0
test ebx, ebx
jns 0x140062d68
mov rcx, rdi
call fcn.1400621a0
xor edx, edx
mov rcx, rdi
call fcn.14006220c
mov r11, qword [rdi]
mov rcx, rdi
call qword [r11 + 0xc0]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret