joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140095e40
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 3
call fcn.14007e010
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x140095fcc
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x3c], 0
lea rcx, [0x1401c96c4]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x140096023
lea rdx, [0x1401c9714]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140096012
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [0x1401d0260]
mov rbx, rax
movsxd r12, dword [rsp + 0x3c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x30], 0
test r12, r12
je 0x140095f62
test r12d, r12d
js 0x140096019
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.140124db0
mov r14, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
add rax, r15
mov qword [rsp + 0x30], rax
xor r15d, r15d
test r14, r14
je 0x140095fec
mov rdx, qword [rbx + r15]
mov rcx, r14
call fcn.14015f530
add r14, 0x18
add r15, 8
cmp r12, r15
jne 0x140095f3b
mov qword [rsp + 0x28], r14
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140095ab0
movups xmmword [rsi], xmm6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x140095f89
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x20]
test rsi, rsi
je 0x140095fcc
mov rdi, qword [rsp + 0x28]
cmp rdi, rsi
je 0x140095fc4
add rdi, 0xffffffffffffffe8
jmp 0x140095fb7
mov rcx, qword [rdi]
call fcn.140124dec
lea rax, [rdi - 0x18]
cmp rdi, rsi
mov rdi, rax
je 0x140095fc4
test rdi, rdi
je 0x140095fff
cmp byte [rdi + 0x17], 0
js 0x140095fa3
jmp 0x140095fab
mov rcx, rsi
call fcn.140124dec
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140125960
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x1401b4107]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.140160550
lea rcx, [0x1401b4107]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.140160550
xor ebx, ebx
jmp 0x140095eef
lea rcx, [rsp + 0x20]
call fcn.14015f770
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x140095eec
Function at 0x14009e7d0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x14009e919
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x1401af9e0]
lea rdi, [rsp + 0x40]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi - 0x10], xmm0
movaps xmmword [rdi - 0x20], xmm0
lea r12, [rsp + 0x30]
lea rbx, [rcx + 0x108]
mov eax, dword [rcx + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rcx + 0x114], eax
mov rax, qword [rcx + 0xf8]
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r8, rsi
call qword [0x1401d0260]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, r12
mov r8, rsi
call qword [0x1401d0260]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call qword [0x1401d0260]
test r14, r14
je 0x14009e8b3
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x14009e8a3
mov ecx, 1
call fcn.1400f4890
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x14009e91d
call fcn.140002fe0
lea rax, [0x140001d60]
lea rcx, section..text
mov qword [rsi + 0xf8], rcx
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
mov esi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140125960
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x14009e8fc
bt eax, 9
jae 0x14009e938
call fcn.1400040d0
lea rax, [0x1400045a0]
lea rcx, [0x1400042a0]
jmp 0x14009e8e3
call fcn.140187170
lea rax, [0x140187970]
lea rcx, [0x140187050]
jmp 0x14009e8e3

Function at 0x14009e960
Capabilities:
Encode data using xor
Hash data using sha1 via x86 extensions

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 2
call fcn.1400f4890
mov ebp, eax
bt eax, 0x1d
jb 0x14009e9a3
not ebp
test ebp, 0x128
jne 0x14009e9c9
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.1400100b0
mov ecx, 1
call fcn.1400f4890
bt eax, 9
jae 0x14009e983
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000ef40
mov ecx, 1
call fcn.1400f4890
mov ebp, eax
bt eax, 0x1c
jae 0x14009e9e8
xor ecx, ecx
call fcn.1400f4890
bt eax, 0x1e
jb 0x14009e98d
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
bt ebp, 9
jb 0x14009ea04
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000df00
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.14000f210
Function at 0x1400aefc0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test rcx, rcx
je 0x1400af037
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x1401e1860], rax
jne 0x1400af03a
mov rsi, rcx
call fcn.14011d380
mov edx, 0x568
mov rcx, rax
xor r8d, r8d
call fcn.1400256c0
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.140102040
mov ecx, dword [0x1401f5078]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x1401ed9c8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x188], rdi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
int3
int3
Function at 0x1400b46e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r8
mov rsi, rdx
mov ebx, ecx
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x1400b46b0]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x1401f7810]
lea rdx, [0x1400b4550]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1400b47d8
cmp dword [0x1401f7818], 0
jne 0x1400b47e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x1401f781c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x1400b478c
mov ecx, 1
mov edx, 0x28
call fcn.1400f27b0
test rax, rax
je 0x1400b47e5
mov r14, rax
mov ecx, dword [0x1401f781c]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400b47dd
lea r15, [0x1401f7820]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x1401f7830]
mov qword [rax + rbx*8], rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [r14 + rbx*8], rsi
mov esi, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140125960
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14013f200
mov rcx, r14
call fcn.1400f2710
mov rcx, rsi
mov rax, rdi
call qword [0x1401d0260]
xor esi, esi
jmp 0x1400b47bc

Function at 0x1400b4ce0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1401ed8d8]
cmp ecx, 0xffffffff
je 0x1400b4d02
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400b4d07
call fcn.1400b4e30
mov eax, dword [0x1401f9080]
mov ecx, dword [0x1401ed9c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400b4db7
mov rbx, qword [0x1401f9078]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400b4e00
mov rax, qword [0x1401f7868]
inc rax
xor ecx, ecx
lea rdx, [0x1401f7870]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x1400b4e0d
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x1401f9070]
inc ecx
mov dword [0x1401f9070], ecx
mov dword [rax + 0x14], ecx
mov qword [0x1401f7868], r8
mov qword [rsi], r8
mov eax, dword [rax + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsi], 0x100
jae 0x1400b4dfd
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401f9080]
call fcn.140124f10
cmp dword [0x1401f9080], 0xffffffff
jne 0x1400b4d2c
mov ecx, 8
call fcn.140124db0
mov rbx, rax
mov rcx, rax
call fcn.1400da920
mov qword [0x1401f9078], rbx
lea rcx, [0x1401f9080]
call fcn.140124fa8
jmp 0x1400b4d2c
int3
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x1400b4d44
inc rcx
cmp rcx, 0x100
jne 0x1400b4d57
jmp 0x1400b4d9d
Function at 0x1400b4e30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.140125900
sub rsp, rax
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x1401ed8d8]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x1400b4ee4
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400b4f22
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.1401288f0
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.140124e2c
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.140128240
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.140125960
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.1400c7a20
test al, al
je 0x1400b4f25
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x1400b4f28
mov eax, 0xffffffff
lock cmpxchg dword [0x1401ed8d8], ecx
je 0x1400b4e68
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x1401ed8d8]
mov dword [rsp + 0x2c], ecx
jmp 0x1400b4e68
int3
int3
lea rcx, [rsp + 0x2c]
call fcn.1400c7a20
test al, al
je 0x1400b4f4d
cmp dword [rsp + 0x2c], 0xffffffff
je 0x1400b4f4d
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x1400b4efb
int3

Function at 0x1400b4f60
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1401ed8d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
and ecx, 3
cmp ecx, 2
je 0x1400b4fab
and rax, 0xfffffffffffffffc
je 0x1400b4fde
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x1400b4fde
add rax, rcx
mov rsi, qword [rax]
jmp 0x1400b4fe0
lea rdx, [0x1401cb5c5]
lea r8, str....._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r9d, 0x1f6
call fcn.1400ed530
movabs rdx, 0x141dd76000
mov rcx, rsi
call fcn.140183360
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140125960
mov rax, rsi
add rsp, 0x50
pop rsi
ret

Function at 0x1400b5000
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1401ed8d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400b503e
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 0x1400b5037
call fcn.1400b4e30
jmp 0x1400b501e
Function at 0x1400b5910
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x1400b5920
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x1400b5941
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1400b5961
cmp byte [r14 + 0x50], 0
jne 0x1400b59ec
or edi, 0x20000000
test dil, 8
jne 0x1400b59f7
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x1400b597f
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x1400b5990
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
jne 0x1400b5a1e
cmp byte [r14 + 0x18], 0
jne 0x1400b5a2f
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x1400b5a3f
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
jne 0x1400b5a14
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or edi, 0x80000000
jmp 0x1400b5961
cmp byte [r14 + 0x68], 0
je 0x1400b5a09
or edi, 0x40000000
jmp 0x1400b596b
or edi, 0x10000000
jmp 0x1400b596b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400b59d7
lea rcx, [r14 + 0x20]
call fcn.1400817a0
mov r15, rax
jmp 0x1400b599b
mov rcx, r14
call fcn.1400817a0
mov r9, rax
jmp 0x1400b59a9
cmp ebx, 4
jne 0x1400b5a4e
mov edx, 6
jmp 0x1400b59b6
lea eax, [rbx - 2]
cmp eax, 2
jae 0x1400b5a60
mov edx, 7
jmp 0x1400b59b6
cmp ebx, 1
jne 0x1400b5a6f
mov edx, 4
jmp 0x1400b59b6
xor edx, edx
jmp 0x1400b59b6
Function at 0x1400b5920
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x1400b5920
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x1400b5941
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1400b5961
cmp byte [r14 + 0x50], 0
jne 0x1400b59ec
or edi, 0x20000000
test dil, 8
jne 0x1400b59f7
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x1400b597f
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x1400b5990
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
jne 0x1400b5a1e
cmp byte [r14 + 0x18], 0
jne 0x1400b5a2f
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x1400b5a3f
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
jne 0x1400b5a14
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or edi, 0x80000000
jmp 0x1400b5961
cmp byte [r14 + 0x68], 0
je 0x1400b5a09
or edi, 0x40000000
jmp 0x1400b596b
or edi, 0x10000000
jmp 0x1400b596b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400b59d7
lea rcx, [r14 + 0x20]
call fcn.1400817a0
mov r15, rax
jmp 0x1400b599b
mov rcx, r14
call fcn.1400817a0
mov r9, rax
jmp 0x1400b59a9
cmp ebx, 4
jne 0x1400b5a4e
mov edx, 6
jmp 0x1400b59b6
lea eax, [rbx - 2]
cmp eax, 2
jae 0x1400b5a60
mov edx, 7
jmp 0x1400b59b6
cmp ebx, 1
jne 0x1400b5a6f
mov edx, 4
jmp 0x1400b59b6
xor edx, edx
jmp 0x1400b59b6

Function at 0x1400b5a80
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r15, rcx
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1400b5ab8
cmp byte [r15 + 0x50], 0
jne 0x1400b5b4f
or edi, 0x20000000
test dil, 8
jne 0x1400b5b5a
xor r14d, r14d
cmp byte [r15 + 0x60], 0
mov r12d, 0
je 0x1400b5ad6
mov r12, qword [r15 + 0x58]
cmp byte [r15 + 0x48], 0
mov r13d, 0
je 0x1400b5ae7
mov r13, qword [r15 + 0x40]
cmp byte [r15 + 0x38], 0
jne 0x1400b5b81
cmp byte [r15 + 0x18], 0
jne 0x1400b5b92
xor r9d, r9d
cmp ebx, 4
jne 0x1400b5b40
mov edx, 6
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov esi, eax
test eax, eax
jne 0x1400b5b77
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea eax, [rbx - 2]
cmp eax, 2
jae 0x1400b5ba2
mov edx, 7
jmp 0x1400b5b0a
or edi, 0x80000000
jmp 0x1400b5ab8
cmp byte [r15 + 0x68], 0
je 0x1400b5b6c
or edi, 0x40000000
jmp 0x1400b5ac2
or edi, 0x10000000
jmp 0x1400b5ac2
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400b5b2b
lea rcx, [r15 + 0x20]
call fcn.1400817a0
mov r14, rax
jmp 0x1400b5af2
mov rcx, r15
call fcn.1400817a0
mov r9, rax
jmp 0x1400b5b00
mov edx, 1
test ebx, ebx
je 0x1400b5b0a
cmp ebx, 1
jne 0x1400b5bbe
mov edx, 4
jmp 0x1400b5b0a
xor edx, edx
jmp 0x1400b5b0a
Function at 0x1400c6070
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x1401fab28], 0
jne 0x1400c60ad
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400c60a0
mov dword [rdi], eax
mov dword [0x1401fab30], eax
mov qword [0x1401fab28], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3

Function at 0x1400c65c0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor eax, eax
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x1400c66dc
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x1400c6718
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr edi, 5
shr r10b, 4
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x1400c6720
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
and dil, al
mov byte [r8 + 0x16], dil
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x1400c6712
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x1400c6724
pop rdi
pop rsi
ret
mov dl, byte [r8 + 0x19]
jmp 0x1400c670b
xor r10d, r10d
jmp 0x1400c661f
xor eax, eax
jmp 0x1400c66b4
cmp byte [r8 + 0x1a], 0
je 0x1400c670f
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x1400c670f
cmp ecx, 0x666f736f
jne 0x1400c670f
cmp edx, 0x76482074
jne 0x1400c670f
mov byte [r8 + 0x19], 1
jmp 0x1400c670f

Function at 0x1400c7a20
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400c7a35
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x1400c8890
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, dword [0x1401fabe0]
mov ecx, dword [0x1401ed9c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400c8911
lea rcx, [0x1401fabd0]
call fcn.1400b4f60
test rax, rax
jne 0x1400c88fe
mov ecx, 4
call fcn.140124db0
mov rdi, rax
mov dword [rax], 0
lea rbx, [0x1401fabd0]
mov rcx, rbx
call fcn.1400b4f60
mov rsi, rax
mov rcx, rbx
mov rdx, rdi
call fcn.1400b5000
test rsi, rsi
jne 0x1400c8954
lea rcx, [0x1401fabd0]
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400b4f60
lea rcx, [0x1401fabe0]
call fcn.140124f10
cmp dword [0x1401fabe0], 0xffffffff
jne 0x1400c88b8
xorps xmm0, xmm0
movups xmmword [0x1401fabd0], xmm0
lea rcx, [0x1401fabd0]
lea rdx, [0x14002a5f0]
call fcn.1400b5050
lea rcx, [0x1401fabe0]
call fcn.140124fa8
jmp 0x1400c88b8
mov rcx, rsi
call fcn.140124dec
jmp 0x1400c88fe
Function at 0x1400d9b10
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1401df038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1401f4750]
mov ecx, dword [0x1401ed9c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400d9b70
mov rsi, qword [0x1401f4748]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140125960
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1401f4750]
call fcn.140124f10
cmp dword [0x1401f4750], 0xffffffff
jne 0x1400d9b4c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1401288f0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
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.140124db0
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1401f4798]
mov ecx, dword [0x1401ed9c8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400d9c30
lea r8, [0x1401f4768]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140079930
mov qword [0x1401f4748], rsi
lea rcx, [0x1401f4750]
call fcn.140124fa8
jmp 0x1400d9b4c
lea rcx, [0x1401f4798]
call fcn.140124f10
cmp dword [0x1401f4798], 0xffffffff
jne 0x1400d9c01
xorps xmm0, xmm0
movups xmmword [0x1401f4788], xmm0
movups xmmword [0x1401f4778], xmm0
movups xmmword [0x1401f4768], xmm0
lea rcx, [0x1401f4768]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401f4798]
call fcn.140124fa8
jmp 0x1400d9c01