joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401128d0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14029b598]
mov ecx, dword [0x140296f94]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140112930
lea rsi, [0x14029b590]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401756e0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14029b598]
call fcn.140172b08
cmp dword [0x14029b598], 0xffffffff
jne 0x14011290c
lea rsi, [rsp + 0x34]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140177800
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.140172a4c
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14029b5e0]
mov ecx, dword [0x140296f94]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401129f0
lea r8, [0x14029b5b0]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r9d, edi
call fcn.14001b5e0
mov qword [0x14029b590], rsi
lea rcx, [0x14029b598]
call fcn.140172aa8
jmp 0x14011290c
lea rcx, [0x14029b5e0]
call fcn.140172b08
cmp dword [0x14029b5e0], 0xffffffff
jne 0x1401129c1
xorps xmm0, xmm0
movups xmmword [0x14029b5d0], xmm0
movups xmmword [0x14029b5c0], xmm0
movups xmmword [0x14029b5b0], xmm0
lea rcx, [0x14029b5b0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14029b5e0]
call fcn.140172aa8
jmp 0x1401129c1
Function at 0x14011be90
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
xor eax, eax
mov dword [rcx], eax
mov qword [rcx + 8], rax
mov ecx, dword [rdx]
mov dword [rsi], ecx
mov dword [rdx], eax
mov r14, qword [rdx + 8]
mov qword [rdx + 8], rax
lea r15, [r14 + 1]
cmp r15, 2
jb 0x14011bec3
call fcn.1400f24d0
cmp qword [rsi + 8], r14
je 0x14011bef5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x14011bf04
cmp r15, 2
jb 0x14011beed
mov qword [rsi + 8], r14
call fcn.1400f24d0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400f24d0
mov rbx, qword [rsi + 8]
cmp qword [0x1402a1a18], 0
je 0x14011bf37
mov rcx, qword [0x1402a1a18]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x1401d7990.0]
mov qword [rsi + 8], 0
jmp 0x14011bede
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14026b3c1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14011bf78
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14011bf72
call qword [case.0x1401d7990.0]
mov rcx, rax
xor edx, edx
call fcn.14003cbf0
jmp 0x14011bf17
xor ecx, ecx
mov dl, 1
jmp 0x14011bf6b
xor ecx, ecx
jmp 0x14011bf69

Function at 0x14011c0d0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [rdx]
mov dword [rcx], eax
mov dword [rdx], 0
mov r14, qword [rdx + 8]
mov qword [rdx + 8], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x14011c103
call fcn.1400f24d0
cmp qword [rsi + 8], r14
je 0x14011c135
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x14011c144
cmp r15, 2
jb 0x14011c12d
mov qword [rsi + 8], r14
call fcn.1400f24d0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400f24d0
mov rbx, qword [rsi + 8]
cmp qword [0x1402a1a18], 0
je 0x14011c177
mov rcx, qword [0x1402a1a18]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x1401d7990.0]
mov qword [rsi + 8], 0
jmp 0x14011c11e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14026b3c1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14011c1b8
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14011c1b2
call qword [case.0x1401d7990.0]
mov rcx, rax
xor edx, edx
call fcn.14003cbf0
jmp 0x14011c157
xor ecx, ecx
mov dl, 1
jmp 0x14011c1ab
xor ecx, ecx
jmp 0x14011c1a9
Function at 0x14011c1c0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rdx]
mov qword [rdx], 0
lea r12, [r15 + 1]
cmp r12, 2
jae 0x14011c23d
cmp qword [rsi], r15
je 0x14011c216
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14011c244
cmp r12, 2
jb 0x14011c20e
mov qword [rsi], r15
call fcn.1400f24d0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [rdi + 8]
mov byte [rsi + 8], al
mov byte [rdi + 8], 0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14011c275
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400f24d0
jmp 0x14011c1e7
call fcn.1400f24d0
mov r14, qword [rsi]
cmp qword [0x1402a1a18], 0
je 0x14011c2a6
mov rcx, qword [0x1402a1a18]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x1401d7990.0]
mov qword [rsi], 0
jmp 0x14011c200
call fcn.1400f24d0
mov rbx, qword [rdi]
cmp qword [0x1402a1a18], 0
je 0x14011c2ea
mov rcx, qword [0x1402a1a18]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [case.0x1401d7990.0]
mov qword [rdi], 0
jmp 0x14011c22c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14026b3c1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14011c32e
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14011c2e4
call qword [case.0x1401d7990.0]
mov rcx, rax
xor edx, edx
call fcn.14003cbf0
jmp 0x14011c256
xor ecx, ecx
mov dl, 1
jmp 0x14011c2da
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14026b3c1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14011c332
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14011c328
call qword [case.0x1401d7990.0]
mov rcx, rax
xor edx, edx
call fcn.14003cbf0
jmp 0x14011c287
xor ecx, ecx
mov dl, 1
jmp 0x14011c31e
xor ecx, ecx
jmp 0x14011c2d8
xor ecx, ecx
jmp 0x14011c31c
Function at 0x14012d230
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
test r8d, r8d
sete al
xor r8d, r8d
test edx, edx
sete r8b
xor ecx, ecx
mov edx, r8d
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x14012d332
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14012d2c0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14012d297
mov qword [rsi], rdi
call fcn.1400f24d0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 1
inc rax
cmp rax, 1
jbe 0x14012d336
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400f24d0
mov r14, qword [rsi]
cmp qword [0x1402a1a18], 0
je 0x14012d2f1
mov rcx, qword [0x1402a1a18]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [case.0x1401d7990.0]
mov qword [rsi], 0
jmp 0x14012d285
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14026b3c1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14012d339
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14012d32c
call qword [case.0x1401d7990.0]
mov rcx, rax
xor edx, edx
call fcn.14003cbf0
jmp 0x14012d2d2
xor ecx, ecx
mov dl, 1
jmp 0x14012d325
mov byte [rsi + 8], 1
int3
xor ecx, ecx
jmp 0x14012d323
Function at 0x140137d80
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0x28], rax
test byte [0x140289010], 0x19
jne 0x140137e68
mov eax, dword [0x1402a19a0]
mov ecx, dword [0x140296f94]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140137e2a
mov ecx, dword [0x140288f70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140137e12
mov rcx, qword [0x1402a1990]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1402a1998]
jne 0x140137e12
mov rdi, qword [rax + rcx]
test rdi, rdi
je 0x140137e12
cmp qword [rdi + 8], 0
jne 0x140137e84
movabs rax, 0x4000000000000000
lock or qword [rdi], rax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401756e0
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1402a19a0]
call fcn.140172b08
cmp dword [0x1402a19a0], 0xffffffff
jne 0x140137dc7
xorps xmm0, xmm0
movups xmmword [0x1402a1990], xmm0
lea rcx, [0x1402a1990]
xor edx, edx
call fcn.140005820
lea rcx, [0x1402a19a0]
call fcn.140172aa8
jmp 0x140137dc7
lea rax, [rsp + 0x20]
mov qword [rax], rdx
lea rcx, str.ScopedAllowBaseSyncPrimitivesOutsideBlockingScope
mov rdx, rax
call fcn.1401d6b20
jmp 0x140137da6
lea rcx, [rdi + 8]
mov rbx, qword [rdi]
call fcn.1401aed10
movabs rcx, 0xff00000000000000
and rcx, rbx
or rcx, rax
mov qword [rdi], rcx
jmp 0x140137e04
Function at 0x14013b6c0
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rcx]
mov rbx, qword [rsi + 8]
sub rbx, rcx
sar rbx, 3
lea rdx, [rbx + 1]
mov rax, rdx
shr rax, 0x3d
jne 0x14013b813
movabs rax, 0x1fffffffffffffff
mov r8, qword [rsi + 0x10]
sub r8, rcx
mov r14, r8
sar r14, 2
cmp r14, rdx
cmovbe r14, rdx
movabs rcx, 0x7ffffffffffffff8
cmp r8, rcx
cmovae r14, rax
test r14, r14
je 0x14013b80c
cmp r14, rax
ja 0x14013b818
lea rcx, [r14*8]
call fcn.140172a4c
shl rbx, 3
add rbx, rax
je 0x14013b81d
lea rax, [rax + r14*8]
mov rcx, qword [rdi]
mov qword [rbx], rcx
mov qword [rdi], 0
lea rcx, [rbx + 8]
mov rdi, qword [rsi]
mov rdx, qword [rsi + 8]
cmp rdx, rdi
je 0x14013b7e1
mov r8, qword [rdx - 8]
mov qword [rbx - 8], r8
mov qword [rdx - 8], 0
lea r8, [rdx - 8]
add rbx, 0xfffffffffffffff8
mov rdx, r8
cmp r8, rdi
jne 0x14013b76b
mov rdi, qword [rsi]
mov r14, qword [rsi + 8]
mov qword [rsi], rbx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
cmp r14, rdi
je 0x14013b7ec
add r14, 0xfffffffffffffff8
test r14, r14
je 0x14013b849
mov rcx, qword [r14]
mov rax, qword [0x14028a5a0]
and rax, rcx
cmp rax, qword [0x14028a588]
je 0x14013b7da
mov qword [r14], 0
lea rax, [r14 - 8]
cmp r14, rdi
mov r14, rax
jne 0x14013b7a6
jmp 0x14013b7ec
call fcn.1400e5d90
jmp 0x14013b7c5
mov qword [rsi], rbx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rax
test rdi, rdi
jne 0x14013b7fb
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140172a44
xor eax, eax
jmp 0x14013b73d
call fcn.14018c460
call fcn.1401b3360
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.1401b2820
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x3f
call fcn.1401b2820
int3
Function at 0x14013e5a0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14029b598]
mov ecx, dword [0x140296f94]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14013e600
mov rsi, qword [0x14029b590]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401756e0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14029b598]
call fcn.140172b08
cmp dword [0x14029b598], 0xffffffff
jne 0x14013e5dc
lea rsi, [rsp + 0x34]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140177800
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x2c]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.140172a4c
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14029b5e0]
mov ecx, dword [0x140296f94]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14013e6c0
lea r8, [0x14029b5b0]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r9d, edi
call fcn.14001b5e0
mov qword [0x14029b590], rsi
lea rcx, [0x14029b598]
call fcn.140172aa8
jmp 0x14013e5dc
lea rcx, [0x14029b5e0]
call fcn.140172b08
cmp dword [0x14029b5e0], 0xffffffff
jne 0x14013e691
xorps xmm0, xmm0
movups xmmword [0x14029b5d0], xmm0
movups xmmword [0x14029b5c0], xmm0
movups xmmword [0x14029b5b0], xmm0
lea rcx, [0x14029b5b0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14029b5e0]
call fcn.140172aa8
jmp 0x14013e691
Function at 0x1401403e0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rcx + 9], xmm0
movups xmmword [rcx], xmm0
mov eax, dword [0x1402a2bc8]
mov ecx, dword [0x140296f94]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401404c5
mov ecx, dword [0x140288f70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140140450
mov rcx, qword [0x1402a2bb8]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1402a2bc0]
jne 0x140140450
test rsi, rsi
je 0x140140450
cmp qword [rax + rcx], 0
jne 0x140140561
mov eax, dword [0x1402a2bc8]
mov ecx, dword [0x140296f94]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140140513
mov ecx, dword [0x140288f70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1401404b9
mov rcx, qword [0x1402a2bb8]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [0x1402a2bc0]
mov rdx, qword [0x1402a2bb8]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov al, 1
mov byte [rsi + 0x18], al
mov rax, rsi
add rsp, 0x20
pop rsi
ret
test rsi, rsi
je 0x1401404ab
call fcn.14003bc30
jmp 0x140140487
lea rcx, [0x1402a2bc8]
call fcn.140172b08
cmp dword [0x1402a2bc8], 0xffffffff
jne 0x140140417
mov qword [0x1402a2bc0], 0
lea rcx, [0x1402a2bb8]
mov qword [0x1402a2bb8], 0xffffffffffffffff
xor edx, edx
call fcn.140002400
lea rcx, [0x1402a2bc8]
call fcn.140172aa8
jmp 0x140140417
lea rcx, [0x1402a2bc8]
call fcn.140172b08
cmp dword [0x1402a2bc8], 0xffffffff
jne 0x140140475
mov qword [0x1402a2bc0], 0
lea rcx, [0x1402a2bb8]
mov qword [0x1402a2bb8], 0xffffffffffffffff
xor edx, edx
call fcn.140002400
lea rcx, [0x1402a2bc8]
call fcn.140172aa8
jmp 0x140140475
xor eax, eax
jmp 0x1401404ad
Function at 0x140140570
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp byte [rcx + 0x18], 0
je 0x1401406cb
mov eax, dword [0x1402a2bc8]
mov ecx, dword [0x140296f94]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401406e4
mov ecx, dword [0x140288f70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [0x1402a2bc8]
mov ecx, dword [0x140296f94]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140140732
mov ecx, dword [0x140288f70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140140625
mov rcx, qword [0x1402a2bb8]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x1402a2bc0]
mov rdx, qword [0x1402a2bb8]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rbx, qword [rsi]
mov r14, qword [rsi + 8]
cmp rbx, r14
jne 0x140140692
test rbx, rbx
jne 0x14014064e
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401756e0
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rdi, qword [rsi + 8]
mov rcx, rbx
cmp rdi, rbx
je 0x1401406d6
mov rcx, qword [rdi - 0x10]
test rcx, rcx
jne 0x140140681
mov rcx, qword [rdi - 0x38]
add rdi, 0xffffffffffffffc8
test rcx, rcx
je 0x14014067a
lock dec dword [rcx + 8]
je 0x140140780
cmp rdi, rbx
jne 0x14014065a
jmp 0x1401406d3
lock dec dword [rcx]
jne 0x140140663
mov rax, qword [rcx + 0x10]
call qword [case.0x1401d7990.0]
jmp 0x140140663
lea rdi, [rsp + 0x28]
mov r9, qword [rbx + 0x30]
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x28]
mov qword [rsp + 0x28], rax
mov qword [rbx + 0x28], 0
mov rax, qword [rcx]
mov rax, qword [rax]
lea rdx, [rbx + 8]
mov r8, rdi
call qword [case.0x1401d7990.0]
add rbx, 0x38
cmp rbx, r14
jne 0x140140697
mov rbx, qword [rsi]
jmp 0x140140631
mov rcx, qword [rsi]
mov qword [rsi + 8], rbx
call fcn.140172a44
jmp 0x140140636
lea rcx, [0x1402a2bc8]
call fcn.140172b08
cmp dword [0x1402a2bc8], 0xffffffff
jne 0x1401405ba
mov qword [0x1402a2bc0], 0
lea rcx, [0x1402a2bb8]
mov qword [0x1402a2bb8], 0xffffffffffffffff
xor edx, edx
call fcn.140002400
lea rcx, [0x1402a2bc8]
call fcn.140172aa8
jmp 0x1401405ba
lea rcx, [0x1402a2bc8]
call fcn.140172b08
cmp dword [0x1402a2bc8], 0xffffffff
jne 0x1401405eb
mov qword [0x1402a2bc0], 0
lea rcx, [0x1402a2bb8]
mov qword [0x1402a2bb8], 0xffffffffffffffff
xor edx, edx
call fcn.140002400
lea rcx, [0x1402a2bc8]
call fcn.140172aa8
jmp 0x1401405eb
call fcn.14011cbd0
jmp 0x14014067a
Function at 0x140149a80
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rsi, rdx
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, qword [rcx + 0x30]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
lea rax, [0x140167fd0]
cmp rbx, rax
jne 0x140149c6b
test byte [0x140289820], 0x19
jne 0x140149c97
cmp qword [rsi + 0x48], 0
jne 0x140149bb3
mov eax, dword [0x1402a2c70]
mov ecx, dword [0x140296f94]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140149bcf
mov ecx, dword [0x140288f70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140149b33
mov rcx, qword [0x1402a2c60]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1402a2c68]
jne 0x140149b33
mov rax, qword [rax + rcx]
test rax, rax
je 0x140149b33
mov rcx, qword [rax + 0x10]
mov qword [rsi + 0x70], rcx
mov eax, dword [rax + 8]
mov dword [rsi + 0x68], eax
mov eax, dword [0x1402a2c40]
mov ecx, dword [0x140296f94]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140149c1d
mov ecx, dword [0x140288f70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140149bb3
mov rcx, qword [0x1402a2c30]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1402a2c38]
jne 0x140149bb3
mov rax, qword [rax + rcx]
test rax, rax
je 0x140149bb3
mov rcx, qword [rax + 0x20]
mov qword [rsi + 0x48], rcx
movups xmm0, xmmword [rax + 0x48]
mov rcx, qword [rax + 0x58]
mov qword [rsi + 0x60], rcx
movups xmmword [rsi + 0x50], xmm0
cmp byte [rax + 0x7c], 0
jne 0x140149bcb
cmp qword [rax + 0x60], 0
setne al
mov byte [rsi + 0x7c], al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401756e0
nop
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
mov al, 1
jmp 0x140149bb0
lea rcx, [0x1402a2c70]
call fcn.140172b08
cmp dword [0x1402a2c70], 0xffffffff
jne 0x140149af3
mov qword [0x1402a2c68], 0
lea rcx, [0x1402a2c60]
mov qword [0x1402a2c60], 0xffffffffffffffff
xor edx, edx
call fcn.140002400
lea rcx, [0x1402a2c70]
call fcn.140172aa8
jmp 0x140149af3
lea rcx, [0x1402a2c40]
call fcn.140172b08
cmp dword [0x1402a2c40], 0xffffffff
jne 0x140149b58
mov qword [0x1402a2c38], 0
lea rcx, [0x1402a2c30]
mov qword [0x1402a2c30], 0xffffffffffffffff
xor edx, edx
call fcn.140002400
lea rcx, [0x1402a2c40]
call fcn.140172aa8
jmp 0x140149b58
mov r14, qword [case.0x1401d7990.0]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401756e0
mov rcx, rdi
mov rdx, rsi
mov rax, rbx
mov r8, r14
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
jmp r8
add edi, 0x1b8
mov eax, dword [rsi + 0x78]
shl rax, 0x20
and edi, 0xfffffff8
or rdi, rax
xor rdi, qword [0x140298390]
lea rax, [0x140074d00]
lea rbx, [rsp + 0x38]
mov qword [rbx + 0x18], rax
lea rax, [0x14026a930]
mov qword [rbx + 0x20], rax
mov qword [rbx + 8], rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0
lea rdx, [0x140289820]
lea r8, str.SequenceManager_PostTask
lea r9, [0x140267ad8]
mov cl, 0x49
call fcn.140074da0
mov rax, qword [rbx + 0x20]
mov rax, qword [rax + 8]
test rax, rax
je 0x140149ac3
mov rcx, qword [rsp + 0x40]
call qword [case.0x1401d7990.0]
jmp 0x140149ac3
Function at 0x14014a020
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, qword [0x1402983b8]
cmp rdi, 1
jbe 0x14014a0bc
mov ecx, dword [0x140288f70]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14014a103
mov rcx, qword [rdi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rdi + 8]
jne 0x14014a103
mov rcx, qword [rax + rcx]
test rsi, rsi
je 0x14014a07b
lock inc dword [rsi]
mov qword [rsp + 0x28], rsi
mov rax, qword [rcx + 0x150]
cmp rax, qword [rcx + 0x158]
jae 0x14014a10a
test rax, rax
je 0x14014a144
mov qword [rax], rsi
add rax, 8
mov qword [rcx + 0x150], rax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401756e0
nop
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [0x1402983b8]
call fcn.140007880
test al, al
je 0x14014a170
mov qword [0x1402983c8], 0
lea rdi, [0x1402983c0]
mov qword [0x1402983c0], 0xffffffffffffffff
mov rcx, rdi
xor edx, edx
call fcn.140002400
mov qword [0x1402983b8], rdi
jmp 0x14014a045
xor ecx, ecx
jmp 0x14014a073
add rcx, 0x148
lea rsi, [rsp + 0x28]
mov rdx, rsi
call fcn.1401b7540
mov rsi, qword [rsi]
test rsi, rsi
je 0x14014a0a7
lock dec dword [rsi]
jne 0x14014a0a7
mov rcx, rsi
call fcn.14011ef20
mov rcx, rsi
call fcn.140172a44
jmp 0x14014a0a7
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.1401b2820
mov rdi, qword [0x1402983b8]
jmp 0x14014a045