joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e5bf
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
sub rsp, 0x58
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov qword [rsp + 0x50], rax
mov rax, qword gs:[0x60]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
add rax, 0x38
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 8]
movzx eax, word [rax + 0x18]
cmp eax, 0
jne 0x14000e645
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
jmp 0x14000e657
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
jmp 0x14000e60e
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000e678
mov rax, qword [rsp + 0x20]
add rsp, 0x58
ret
Function at 0x1400383a0
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x24], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x40]
call fcn.1400387c0
test eax, eax
jne 0x1400383ea
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1400384a9
mov dword [rsp + 0x20], 1
call fcn.140039790
test eax, eax
jne 0x140038446
mov rcx, qword [rsp + 0x40]
call fcn.1400388d0
test eax, eax
jne 0x140038444
cmp dword [rsp + 0x50], 0
je 0x140038434
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x40]
call fcn.140038c40
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0
jne 0x140038432
mov dword [rsp + 0x20], 0
jmp 0x140038444
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140038c40
mov dword [rsp + 0x20], eax
jmp 0x14003844b
call fcn.1400399d0
cmp dword [rsp + 0x20], 0
jne 0x140038490
lea rcx, str._n_ERROR:_FILE_SIGNATURE_VERIFICATION_FAILED_____n_Filename:
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str._n_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14003848c
mov ecx, 0x80092009
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1400384a9
mov r8d, dword [rsp + 0x48]
and r8d, 0xffffe0f7
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
add rsp, 0x38
ret
Function at 0x140038550
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x28], 0
cmp qword [rsp + 0x50], 0
je 0x140038667
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
add eax, 1
mov edx, eax
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
add rdx, rcx
shl rdx, 1
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400385c6
xor eax, eax
jmp 0x14003866c
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
sub eax, 1
mov ecx, eax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + rcx*2]
cmp eax, 0x5c
je 0x14003860d
mov edx, dword [rsp + 0x30]
mov ecx, 0x5c
mov rax, qword [rsp + 0x28]
mov word [rax + rdx*2], cx
mov eax, dword [rsp + 0x30]
add eax, 1
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x20], 0
jmp 0x140038622
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov edx, dword [rsp + 0x20]
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x50]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
cmp rdx, rcx
jae 0x140038667
mov edi, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x20]
mov eax, dword [rsp + 0x30]
add eax, ecx
mov edx, eax
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + rdi*2]
mov word [rcx + rdx*2], ax
jmp 0x140038617
mov rax, qword [rsp + 0x28]
add rsp, 0x40
pop rdi
ret
Function at 0x1400399d0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str._n_This_is_being_ignore_per
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor r11d, r11d
cmp r11d, 1
je 0x140039a06
lea rcx, str.define_NV_SKIP_FILE_SIGNATURE_VERIFICATION._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str._Please_make_sure_to_revert_this_define_before_submitting_any_changes__n_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140039a47
lea rcx, str.HKLM_
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str.SOFTWARENVIDIA_CorporationGlobal
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x1405bb38c]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str.41FCC608_8496_4DEF_B43E_7D9BD675A6FF
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, str.._n_Please_make_sure_to_revert_this_regkey_again_when_debugging_outside_NVIDIA.COM__n_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x14003e51a
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14003e55e
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call fcn.140040cb0
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14003e54e
mov qword [rdi], rsi
call fcn.140046830
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400437c0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140754a08]
mov ecx, dword [0x140756750]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x480]
jg 0x1400437f5
lea rcx, [0x1407549f8]
add rsp, 0x28
jmp fcn.140056730
lea rcx, [0x140754a08]
call fcn.14031e094
cmp dword [0x140754a08], 0xffffffff
jne 0x1400437e5
xorps xmm0, xmm0
movups xmmword [0x1407549f8], xmm0
lea rcx, [0x1407549f8]
xor edx, edx
call fcn.1400567c0
lea rcx, [0x140754a08]
call fcn.14031e034
jmp 0x1400437e5

Function at 0x14004b000
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1405bdab8]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x34]
mov r8d, 0x118
xor edx, edx
call fcn.1403224b0
mov dword [rsp + 0x30], 0x11c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [rsp + 0x2c], 0
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x38]
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x98
call fcn.14031dc78
mov rsi, rax
mov edi, dword [rsp + 0x2c]
mov eax, dword [0x140754aa0]
mov ecx, dword [0x140756750]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x480]
jg 0x14004b0cc
lea r8, [0x140754a70]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov r9d, edi
call fcn.14004b120
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14031e660
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x140754aa0]
call fcn.14031e094
cmp dword [0x140754aa0], 0xffffffff
jne 0x14004b098
xorps xmm0, xmm0
movups xmmword [0x140754a90], xmm0
movups xmmword [0x140754a80], xmm0
movups xmmword [0x140754a70], xmm0
lea rcx, [0x140754a70]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140754aa0]
call fcn.14031e034
jmp 0x14004b098
Function at 0x14004c2c0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
mov rax, qword [rcx]
jne 0x14004c2f5
test rax, rax
jne 0x14004c2f5
cmp dword [rsi + 0x14], 0
je 0x14004c2e7
xor eax, eax
jmp 0x14004c2f5
xor eax, eax
cmp qword [rsi + 8], 0
mov edx, 0
je 0x14004c34c
lea rcx, [rax + 1]
cmp rcx, 2
jb 0x14004c315
call fcn.140046830
mov rcx, qword [rsi]
call fcn.14004e5c0
mov qword [rsi], 0
xor eax, eax
mov rcx, qword [rsi + 8]
lea rdx, [rcx + 1]
cmp rdx, 2
jb 0x14004c33e
call fcn.140046830
mov rcx, qword [rsi + 8]
call fcn.14004e5c0
mov qword [rsi + 8], 0
mov rax, qword [rsi]
xor ecx, ecx
mov rdx, rax
mov qword [rsi + 0x10], 0
mov rax, rcx
mov r14, qword [rdi]
cmp rdx, r14
je 0x14004c39a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x14004c37c
call fcn.140046830
mov rcx, qword [rsi]
call fcn.14004e5c0
mov qword [rsi], 0
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14004c38e
mov qword [rsi], r14
call fcn.140046830
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi + 8]
mov r14, qword [rdi + 8]
cmp rax, r14
je 0x14004c3e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jb 0x14004c3ce
call fcn.140046830
mov rcx, qword [rsi + 8]
call fcn.14004e5c0
mov qword [rsi + 8], 0
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14004c3e1
mov qword [rsi + 8], r14
call fcn.140046830
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14004c510
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rax, qword [0x1405bdab8]
xor rax, rsp
mov qword [rsp + 0x40], rax
test rcx, rcx
je 0x14004c5c8
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x38], 0
mov r14, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call r14
mov rbx, rax
call r14
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x38]
mov rcx, rax
mov rdx, rdi
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov edi, eax
test eax, eax
je 0x14004c5cc
mov r14, qword [rsp + 0x38]
cmp qword [rsi], r14
je 0x14004c5dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x14004c5b4
call fcn.140046830
mov rcx, qword [rsi]
call fcn.14004e5c0
mov qword [rsi], 0
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14004c5d4
mov qword [rsi], r14
call fcn.140046830
jmp 0x14004c5d4
mov bl, 1
jmp 0x14004c5e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
setne bl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14031e660
mov eax, ebx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14004d240
Capabilities:
Compare security identifiers

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x14004d260
Capabilities:
Compare security identifiers

Disassembly:
sub rsp, 0x28
mov rdx, qword [rdx]
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x14004db98
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
call fcn.14004c4a0
test al, al
je 0x14004dbc6
mov rcx, qword [rsi]
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsi]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rdi, [rsi + 0x38]
mov rcx, rdi
xor edx, edx
call fcn.14004dc1c
lea rcx, [rsi + 0x58]
call fcn.140040c58
mov rcx, qword [rsi + 0x50]
test rcx, rcx
je 0x14004dbeb
call fcn.14032bee0
mov rcx, rdi
call fcn.14004dc48
lea rcx, [rsi + 0x28]
call fcn.140040cb0
lea rcx, [rsi + 0x20]
call fcn.140040cb0
lea rcx, [rsi + 0x18]
call fcn.140040cb0
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14004c400
Function at 0x14004e4ec
Capabilities:
Terminate process

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.14004c4a0
test al, al
je 0x14004e50e
mov rcx, qword [rsi]
xor edx, edx
add rsp, 0x20
pop rsi
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x20
pop rsi
ret

Function at 0x140055a00
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov esi, ecx
mov edi, 3
call fcn.140069590
test al, al
jne 0x140055a1e
call fcn.140069560
movzx edi, al
mov ecx, esi
mov edx, edi
call fcn.140043280
mov eax, dword [0x140754b80]
mov ecx, dword [0x140756750]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x480]
jg 0x140055a60
movsxd rdx, esi
inc rdx
lea rcx, [0x140754b70]
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140056770
lea rcx, [0x140754b80]
call fcn.14031e094
cmp dword [0x140754b80], 0xffffffff
jne 0x140055a48
lea rcx, [0x140754b70]
xor edx, edx
call fcn.1400567c0
lea rcx, [0x140754b80]
call fcn.14031e034
jmp 0x140055a48

Function at 0x140056350
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x1405bd8a0]
cmp ecx, 0xffffffff
je 0x140056372
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 2
setb al
jmp 0x140056374
xor eax, eax
add rsp, 0x28
ret
Function at 0x140056380
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1405bdab8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, dword [0x1405bd8a0]
cmp ecx, 0xffffffff
je 0x1400563b1
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400563b6
call fcn.140056550
mov eax, dword [0x1407563a8]
mov ecx, dword [0x140756750]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x480]
jg 0x140056504
mov rbx, qword [0x1407563a0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400564f7
mov rcx, qword [0x140754b98]
inc rcx
mov edx, 0x100
lea rax, [0x140754ba0]
nop dword [rax]
movzx r8d, cl
lea r9, [r8 + r8*2]
cmp dword [rax + r9*8], 0
je 0x14005643e
lea r8d, [rcx + 1]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rax + r9*8], 0
je 0x14005643e
add rcx, 2
add rdx, 0xfffffffffffffffe
jne 0x140056410
jmp 0x140056462
lea rcx, [rax + r9*8]
mov dword [rcx], 1
lea rcx, [r8 + r8*2]
mov qword [rax + rcx*8 + 8], rdi
mov qword [0x140754b98], r8
mov qword [rsi], r8
mov eax, dword [rax + rcx*8 + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x30], rax
mov rsi, qword [rsi]
cmp rsi, 0x100
jb 0x1400564e1
mov ecx, 0x100
call fcn.140039e20
mov rdi, rax
mov rcx, rsi
call fcn.140039e20
lea rdx, str.slot____kThreadLocalStorageSize
lea rcx, [rsp + 0x30]
mov r8, rax
mov r9, rdi
call fcn.14003a320
cmp qword [rsp + 0x30], 0
je 0x1400564e1
lea rdx, str....._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x28]
lea r9, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x1c7
call fcn.14003aea0
mov rcx, rsi
call fcn.14003afc0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14031e660
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
mov rcx, rbx
call fcn.140058180
jmp 0x1400563f3
lea rcx, [0x1407563a8]
call fcn.14031e094
cmp dword [0x1407563a8], 0xffffffff
jne 0x1400563db
mov ecx, 8
call fcn.14031dc78
mov rbx, rax
mov rcx, rax
call fcn.140058170
mov qword [0x1407563a0], rbx
lea rcx, [0x1407563a8]
call fcn.14031e034
jmp 0x1400563db
Function at 0x140056550
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1048
call fcn.14031e1c0
sub rsp, rax
mov rax, qword [0x1405bdab8]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov ecx, dword [0x1405bd8a0]
mov dword [rsp + 0x3c], ecx
cmp ecx, 0xffffffff
jne 0x1400565e8
lea rcx, [rsp + 0x3c]
call fcn.1400695c0
test al, al
je 0x1400566ca
mov ecx, dword [rsp + 0x3c]
cmp ecx, 0xffffffff
jne 0x1400565c6
lea rcx, [rsp + 0x3c]
call fcn.1400695c0
test al, al
je 0x1400566f8
cmp dword [rsp + 0x3c], 0xffffffff
je 0x1400566f8
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x3c]
mov eax, 0xffffffff
lock cmpxchg dword [0x1405bd8a0], ecx
mov ecx, dword [rsp + 0x3c]
je 0x1400565e8
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x1405bd8a0]
mov dword [rsp + 0x3c], ecx
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
and esi, 3
je 0x14005665c
xor ecx, ecx
call fcn.140039cd0
mov rdi, rax
mov ecx, esi
call fcn.140039cd0
lea rdx, str.GetTlsVectorStateAndValue_key___TlsVectorState::kUninitialized
lea rcx, [rsp + 0x40]
mov r8, rax
mov r9, rdi
call fcn.14003a320
cmp qword [rsp + 0x40], 0
je 0x14005665c
lea rdx, str....._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x20]
lea r9, [rsp + 0x40]
mov rcx, rsi
mov r8d, 0x11d
call fcn.14003aea0
mov rcx, rsi
call fcn.14003afc0
lea rsi, [rsp + 0x40]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.1403224b0
mov ecx, dword [rsp + 0x3c]
lea rdx, [rsp + 0x43]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.14031dcb4
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.140320ff0
mov ecx, dword [rsp + 0x3c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14031e660
mov rax, rdi
add rsp, 0x1048
pop rdi
pop rsi
ret
lea rdx, str....._base_threading_thread_local_storage.cc
lea r9, str.PlatformThreadLocalStorage::AllocTLS_key_
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x101
call fcn.14003ae20
mov rcx, rsi
call fcn.14003afc0
jmp 0x140056592
lea rdx, str....._base_threading_thread_local_storage.cc
lea r9, str.PlatformThreadLocalStorage::AllocTLS_key___key___PlatformThreadLocalStorage::TLS_KEY_OUT_OF_INDEXES
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x10b
call fcn.14003ae20
mov rcx, rsi
call fcn.14003afc0
jmp 0x1400565b8

Function at 0x140056730
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x1405bd8a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140056760
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x140056760
mov rax, qword [rax + rcx]
jmp 0x140056762
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x140056770
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1405bd8a0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400567ae
mov rcx, qword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 8]
mov rdx, qword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x1400567a7
call fcn.140056550
jmp 0x14005678e

Function at 0x14005d8d4
Capabilities:
Create pipe

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r14, qword [rsp + 0xc8]
mov rax, qword [0x1405bdab8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [r14], 0xffffffffffffffff
mov esi, 5
cmp ecx, 3
jne 0x14005d9ce
mov edi, dword [rsp + 0xc0]
mov r11d, dword [rsp + 0xb8]
mov ecx, dword [rsp + 0xb0]
mov eax, dword [rsp + 0xa8]
mov r10d, dword [rsp + 0xa0]
cmp qword [r8 + 0x18], 8
jb 0x14005d93a
mov r8, qword [r8]
mov rsi, qword [rdx]
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ecx
mov qword [rsp + 0x38], 0
mov rcx, r8
mov edx, r9d
mov r8d, r10d
mov r9d, eax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp rax, 0xffffffffffffffff
je 0x14005d9b8
mov rdi, rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x40]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r15d, r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov dword [rsp + 0x30], 3
mov rcx, rax
mov rdx, rdi
mov r8, rsi
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp eax, 1
sbb r15, r15
or r15, qword [rbx]
jmp 0x14005d9bf
mov r15, 0xffffffffffffffff
mov qword [r14], r15
xor eax, eax
cmp r15, 0xffffffffffffffff
sete al
lea esi, [rax + rax*4]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14031e660
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14005ee0e
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rsi, rcx
mov rax, qword [0x1405bdab8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
test dl, dl
je 0x14005ee9b
lea rax, [0x14006f8c4]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
lea rdi, [0x1404c3de0]
lea r8, str.NtMapViewOfSection
mov rcx, rsi
mov rdx, rdi
mov r9d, 1
call fcn.14005e77a
lea rax, [0x14006f92c]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 1
lea r8, str.NtUnmapViewOfSection
mov rcx, rsi
mov rdx, rdi
mov r9d, 1
call fcn.14005e77a
jmp 0x14005eea6
cmp qword [rsi + 0x10], 0
je 0x14005f02e
mov rax, qword [rsi]
test rax, rax
je 0x14005f056
mov rdi, qword [rax]
mov dword [rsp + 0x20], 1
mov r13, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r8d, 0x10000
mov rcx, rdi
xor edx, edx
mov r9d, 0x2000
call r13
mov r14, rax
mov r12, qword [rsi + 0x10]
shl r12, 6
lea rbx, [r12 + 0x60]
mov rcx, rbx
call fcn.14005e514
mov r15, rax
mov edx, r15d
and edx, 0xfffff000
add rdx, r14
and r15d, 0xfff
add r12, 0x105f
and r12, 0xfffffffffffff000
mov dword [rsp + 0x20], 0x40
mov rcx, rdi
mov r8, r12
mov r9d, 0x1000
call r13
mov r14, rax
test rax, rax
je 0x14005f087
add r14, r15
movaps xmm0, xmmword [0x1404c2310]
lea r15, [rsp + 0x50]
movups xmmword [r15 + 0x10], xmm0
movups xmmword [r15 + 0x50], xmm0
movups xmmword [r15 + 0x40], xmm0
movups xmmword [r15 + 0x30], xmm0
movups xmmword [r15 + 0x20], xmm0
mov qword [r15], rbx
mov dword [r15 + 0x18], 0
mov qword [r15 + 8], 0x20
lea rcx, [0x140756400]
mov r8d, 0xd8
xor edx, edx
call fcn.1403224b0
mov rcx, rsi
mov rdx, r14
mov r8, rbx
mov r9, r15
call fcn.14005f366
mov ebp, eax
test eax, eax
jne 0x14005f030
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x38]
mov qword [rcx], rax
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x50]
mov r9d, 0x20
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebp, 0x2a
test eax, eax
je 0x14005f030
cmp qword [rsp + 0x38], 0x20
jne 0x14005f030
lea rax, [rsp + 0x34]
mov dword [rax], 0xaaaaaaaa
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov rdx, r14
mov r8, rbx
mov r9d, 0x20
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [rsi]
test rcx, rcx
je 0x14005f0b5
lea rdx, str.g_originals
lea r8, [0x140756400]
mov r9d, 0xd8
call fcn.14004e066
mov ebp, eax
jmp 0x14005f030
xor ebp, ebp
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14031e660
mov eax, ebp
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, str....._basememory_raw_ref.h
lea r9, str.inner_.get__
lea rdi, [rsp + 0x50]
mov rcx, rdi
mov r8d, 0xa3
call fcn.14003ae20
mov rcx, rdi
call fcn.14003afc0
mov rax, qword [rsi]
jmp 0x14005eeb2
lea rdx, str....._sandboxwin_srcinterception.cc
lea r9, str.thunk_base
lea r12, [rsp + 0x40]
mov rcx, r12
mov r8d, 0x183
call fcn.14003ae20
mov rcx, r12
call fcn.14003afc0
jmp 0x14005ef37
lea rdx, str....._basememory_raw_ref.h
lea r9, str.inner_.get__
lea rdi, [rsp + 0x48]
mov rcx, rdi
mov r8d, 0xa3
call fcn.14003ae20
mov rcx, rdi
call fcn.14003afc0
mov rcx, qword [rsi]
jmp 0x14005f011