joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400413c0
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x248
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x240], rax
movaps xmm0, xmmword [0x140160b90]
lea rcx, [rsp + 0x20]
movaps xmmword [rcx], xmm0
call sub.ntdll.dll_RtlFormatCurrentUserKeyPath
mov esi, eax
test eax, eax
js 0x14004153c
lea rdi, [rsp + 0x20]
mov rdx, qword [rdi + 8]
lea rbx, [0x14019e430]
mov r14d, 0xff
mov r8d, 0xff
mov rcx, rbx
call fcn.1400d5504
mov rcx, rbx
call fcn.1400d50b0
sub r14, rax
lea rdx, [0x14016789c]
mov rcx, rbx
mov r8, r14
call fcn.1400d5504
mov rcx, rdi
call sub.ntdll.dll_RtlFreeUnicodeString
lea rbx, [rsp + 0x30]
mov r8d, 0x208
mov rcx, rbx
xor edx, edx
call fcn.1400b90b0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdi, rax
lea rcx, str.PROGRAMFILES
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14004149c
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400d554c
test eax, eax
je 0x140041564
lea rcx, str.PROGRAMFILES_X86_
lea rdx, [rsp + 0x30]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x1400414d7
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400d554c
test eax, eax
je 0x140041564
xor eax, eax
mov byte [0x14019e021], al
mov dword [rsp + 0x30], 0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14016ca88]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140041560
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rax, rdi
call qword [0x1401af008]
test eax, eax
je 0x140041560
cmp dword [rsp + 0x30], 0
setne al
mov byte [0x14019e630], al
mov byte [0x14019e020], 1
test esi, esi
setns bl
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400b6f60
mov eax, ebx
add rsp, 0x248
pop rbx
pop rdi
pop rsi
pop r14
ret
xor eax, eax
jmp 0x14004152f
mov al, 1
jmp 0x1400414d9
Function at 0x140041810
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, r8
mov ebx, edx
mov edi, ecx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx eax, byte [r8 + 0x17]
test al, al
jns 0x140041843
mov rax, qword [rsi + 8]
test rax, rax
je 0x140041937
bt ebx, 8
jae 0x14004185f
mov eax, ebx
and eax, 0x200
jne 0x140041937
cmp edi, 2
lea rax, [0x14019e030]
lea rcx, [0x14019e230]
cmove rcx, rax
cmp word [rcx], 0
jne 0x140041937
xorps xmm0, xmm0
lea r14, [rsp + 0x40]
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [r14], 0
je 0x140041937
cmp byte [0x14019e630], 0
setne al
bt ebx, 8
jb 0x140041937
shr ebx, 9
and ebx, 1
or bl, al
je 0x140041937
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea r12, str.SOFTWARE
cmove r12, rax
movzx ebp, byte [rsi + 0x17]
test bpl, bpl
jns 0x140041956
mov r14, qword [rsi]
mov rbp, qword [rsi + 8]
mov edi, 1
xor ebx, ebx
xor eax, eax
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x2c], 0
mov r15, qword [r12 + 8]
mov r13, rbp
sub r13, r15
jb 0x140041924
mov rdx, qword [r12]
mov rcx, r14
mov r8, r15
call fcn.1400ce9e4
test eax, eax
je 0x140041981
add r12, 0x28
inc rbx
cmp rbx, rdi
jb 0x140041904
cmp dword [rsp + 0x2c], 0
jne 0x14004195b
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400b6f60
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14, rsi
jmp 0x1400418e7
cmp byte [rsi + 0x17], 0
mov rax, rsi
jns 0x140041967
mov rax, qword [rsi]
mov rdx, qword [rsp + 0x30]
sub rdx, rax
sar rdx, 1
mov rcx, rsi
mov r8, qword [rsp + 0x38]
call fcn.1400ff730
jmp 0x140041937
movzx ecx, word [r14 + r15*2]
cmp ecx, 0x5c
je 0x14004198f
test ecx, ecx
jne 0x140041924
lea rax, [r14 + r15*2]
mov edx, dword [r12 + 0x10]
mov dword [rsp + 0x2c], edx
cmp edx, 1
je 0x1400419be
cmp dword [rsp + 0x2c], 2
jne 0x1400419cf
lea rdx, str.WOW6432Node
mov qword [rsp + 0x38], rdx
mov rdx, rax
mov qword [rsp + 0x30], rax
jmp 0x1400419cf
lea rdx, str.WOW6432Node_
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
cmp cx, 0x5c
jne 0x1400419e8
lea r14, [rax + 2]
dec r13
cmp word [rax + 2], 0x5c
mov rax, r14
je 0x1400419d5
jmp 0x1400419eb
mov r14, rax
mov rdi, qword [r12 + 0x20]
mov r12, qword [r12 + 0x18]
xor ebx, ebx
mov rbp, r13
jmp 0x14004192b
Function at 0x140042bf0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x14019e638], 0
jne 0x140042c2d
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x140042c20
mov dword [rdi], eax
mov dword [0x14019e640], eax
mov qword [0x14019e638], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3
Function at 0x1400442f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
lea r9, [rsp + 0x3c]
mov dword [r9], eax
lea r8, [rsp + 0x38]
mov dword [r8], eax
lea rax, [rsp + 0x34]
mov dword [rax], 0
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140044379
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x140044363
cmp dword [rsp + 0x38], 4
jne 0x140044363
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400b6f60
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x140044363

Function at 0x140044380
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.1400b6f00
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.1400b90b0
lea r9, [rsp + 0x3c]
mov dword [r9], 1
lea rax, [rsp + 0x38]
mov dword [rax], 0x800
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140044444
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x140044448
lea rcx, [rsp + 0x840]
call fcn.1400d50b0
lea rdx, [rsp + 0x840]
mov rcx, rsi
mov r8, rax
call fcn.140029e60
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400b6f60
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x140044425
cmp eax, 2
jne 0x14004449d
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.1400b90b0
lea rcx, [rsp + 0x840]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x1400444a4
lea rcx, [rsp + 0x40]
call fcn.1400d50b0
lea rdx, [rsp + 0x40]
jmp 0x140044418
mov edi, 0x3f4
jmp 0x140044425
mov edi, 0xea
jmp 0x140044425
Function at 0x140049510
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r15, rcx
mov r13, qword [rsp + 0xb0]
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
xor r14d, r14d
test r13, r13
je 0x140049580
mov ecx, dword [r13 + 0x2c]
call fcn.140094000
test rax, rax
je 0x140049661
mov r12, rax
xor ecx, ecx
call fcn.140094060
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r13
mov r14, r12
mov rax, qword [r13 + 0x10]
lea rcx, [0x14004d970]
cmp rax, rcx
jne 0x140049651
xorps xmm0, xmm0
movups xmmword [r14 + 0x5c], xmm0
movups xmmword [r14 + 0x50], xmm0
movups xmmword [r14 + 0x40], xmm0
movups xmmword [r14 + 0x30], xmm0
movups xmmword [r14 + 0x20], xmm0
movaps xmm0, xmmword [0x14016fa60]
movups xmmword [r14], xmm0
movaps xmm0, xmmword [0x14016fa70]
movups xmmword [r14 + 0x10], xmm0
mov dword [r14 + 0x6c], 0x20
lea r14, [rsp + 0x20]
mov rax, qword [r14]
mov rax, qword [rax + 0x18]
mov rcx, r14
mov rdx, r15
mov r8, rbx
call qword [0x1401af008]
mov rax, qword [r14]
mov rax, qword [rax + 0x20]
mov rcx, r14
mov rdx, rdi
call qword [0x1401af008]
mov rax, qword [r14]
test rsi, rsi
je 0x14004960a
mov ecx, dword [rax + 4]
mov dword [rsi], ecx
mov edx, dword [rax + 0x2c]
mov rcx, qword [rsp + 0x28]
call fcn.1400940a0
mov r14d, 1
mov rcx, qword [rsp + 0x28]
call fcn.140094060
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x140049665
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400b6f60
mov eax, r14d
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x20]
call qword [0x1401af008]
jmp 0x1400495cf
xor ecx, ecx
jmp 0x140049622
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
call qword [0x1401af008]
jmp 0x140049631

Function at 0x1400496d0
Capabilities:
Hash data using sha256

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx], rdx
je 0x140049702
mov ecx, dword [rdi + 0x2c]
call fcn.140094000
test rax, rax
je 0x140049761
mov rbx, rax
mov rcx, qword [rsi + 8]
call fcn.140094060
mov qword [rsi + 8], rbx
mov qword [rsi], rdi
mov rax, qword [rdi + 0x10]
lea rcx, [0x14004d970]
cmp rax, rcx
jne 0x140049756
mov rax, qword [rsi + 8]
xorps xmm0, xmm0
movups xmmword [rax + 0x5c], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x14016fa60]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x14016fa70]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
mov eax, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov rcx, rsi
call qword [0x1401af008]
jmp 0x140049749
xor eax, eax
jmp 0x14004974e
Function at 0x140049800
Capabilities:
Hash data using sha256

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
cmp qword [rcx + 0x10], 0
jne 0x140049837
mov rcx, qword [rsp + 0x80]
mov rdx, r9
call fcn.140058490
mov qword [rdi + 0x10], rax
test rax, rax
je 0x14004994a
mov ebp, dword [rsp + 0x88]
lea rcx, [0x14019f628]
lea rdx, [0x14004d9b0]
call fcn.140098f90
lea rax, [0x14019f630]
mov qword [rdi + 0x18], rax
mov rcx, qword [rdi + 0x10]
cmp ebp, 1
jne 0x14004994e
call fcn.1400587b0
test eax, eax
je 0x14004994a
test rbx, rbx
je 0x14004988f
mov rcx, qword [rdi + 0x10]
mov rdx, rbx
call fcn.140050b80
test eax, eax
je 0x14004994a
mov rax, qword [rdi + 0x10]
mov rax, qword [rax]
test ebp, ebp
je 0x140049958
add rax, 0x38
cmp qword [rax], 0
je 0x140049921
test rbx, rbx
je 0x140049961
cmp qword [rdi], rbx
je 0x1400498da
mov ecx, dword [rbx + 0x2c]
call fcn.140094000
test rax, rax
je 0x14004994a
mov r14, rax
mov rcx, qword [rdi + 8]
call fcn.140094060
mov qword [rdi + 8], r14
mov qword [rdi], rbx
mov rax, qword [rbx + 0x10]
lea rcx, [0x14004d970]
cmp rax, rcx
jne 0x14004993f
mov rax, qword [rdi + 8]
xorps xmm0, xmm0
movups xmmword [rax + 0x5c], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x20], xmm0
movaps xmm0, xmmword [0x14016fa60]
movups xmmword [rax], xmm0
movaps xmm0, xmmword [0x14016fa70]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x6c], 0x20
mov ebx, 1
test rsi, rsi
je 0x140049932
mov rax, qword [rdi + 0x10]
mov qword [rsi], rax
mov eax, ebx
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov rcx, rdi
call qword [0x1401af008]
jmp 0x140049921
xor ebx, ebx
jmp 0x140049932
call fcn.1401378d0
jmp 0x14004986e
add rax, 0x28
jmp 0x1400498a2
mov dword [rsp + 0x20], 0x6d
lea r9, str....._third_party_boringssl_srccrypto_fipsmoduledigestsigndigestsign.c
xor ebx, ebx
mov ecx, 6
xor edx, edx
mov r8d, 0x77
call fcn.140137760
jmp 0x140049932
Function at 0x14004c280
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x14004c3cd
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x140160b90]
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 [0x1401af008]
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 [0x1401af008]
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 [0x1401af008]
test r14, r14
je 0x14004c363
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x14004c353
lea r14, [rsi + 0xf8]
mov eax, dword [0x14019f584]
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x14004c3d1
call fcn.140003260
lea rax, [0x140001d60]
test r14, r14
je 0x14004c39e
lea rcx, section..text
mov qword [r14], 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.1400b6f60
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x14004c3b0
bt eax, 9
jae 0x14004c3f1
call fcn.140004350
lea rax, [0x140004820]
test r14, r14
je 0x14004c39e
lea rcx, [0x140004520]
jmp 0x14004c39b
call fcn.140111cd0
lea rax, [0x1401124d0]
test r14, r14
je 0x14004c39e
lea rcx, [0x140111b90]
jmp 0x14004c39b
Function at 0x14004c420
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm8
movaps xmmword [rsp + 0xc0], xmm7
movaps xmmword [rsp + 0xb0], xmm6
mov qword [rsp + 0x28], r9
mov rax, qword [0x140188028]
xor rax, rsp
mov qword [rsp + 0xa8], rax
xorps xmm6, xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
mov esi, 1
test rdx, rdx
je 0x14004c5eb
mov r15, r8
mov rdi, rdx
mov rbx, rcx
mov rsi, qword [rsp + 0x150]
mov r13d, dword [rsi + 4]
xor r14d, r14d
movaps xmm7, xmmword [0x14016fa60]
movaps xmm8, xmmword [0x14016fa70]
lea r12, [rsp + 0x30]
mov eax, r14d
bswap eax
mov dword [rsp + 0x5c], eax
cmp qword [rsp + 0x30], rsi
je 0x14004c4e2
mov ecx, dword [rsi + 0x2c]
call fcn.140094000
test rax, rax
je 0x14004c64e
mov rbp, rax
mov rcx, qword [rsp + 0x38]
call fcn.140094060
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rsi
mov rax, qword [rsi + 0x10]
lea rcx, [0x14004d970]
cmp rax, rcx
jne 0x14004c63e
mov rax, qword [rsp + 0x38]
movups xmmword [rax + 0x5c], xmm6
movups xmmword [rax + 0x50], xmm6
movups xmmword [rax + 0x40], xmm6
movups xmmword [rax + 0x30], xmm6
movups xmmword [rax + 0x20], xmm6
movups xmmword [rax], xmm7
movups xmmword [rax + 0x10], xmm8
mov dword [rax + 0x6c], 0x20
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov rcx, r12
mov rdx, r15
mov r8, qword [rsp + 0x28]
call qword [0x1401af008]
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov r8d, 4
mov rcx, r12
lea rdx, [rsp + 0x5c]
call qword [0x1401af008]
cmp rdi, r13
jb 0x14004c592
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x20]
mov rcx, r12
mov rdx, rbx
call qword [0x1401af008]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov edx, dword [rax + 0x2c]
call fcn.1400940a0
add rbx, r13
inc r14d
sub rdi, r13
jne 0x14004c4aa
jmp 0x14004c5e6
movaps xmm0, xmmword [0x140160b90]
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea r15, [rsp + 0x30]
mov rax, qword [r15]
mov rax, qword [rax + 0x20]
mov rcx, r15
mov rdx, r14
call qword [0x1401af008]
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
mov edx, dword [rax + 0x2c]
call fcn.1400940a0
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call fcn.1400b8a00
mov esi, 1
mov rcx, qword [rsp + 0x38]
call fcn.140094060
mov rax, qword [rsp + 0x48]
test rax, rax
jne 0x14004c652
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400b6f60
mov eax, esi
movaps xmm6, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x30]
call qword [0x1401af008]
jmp 0x14004c51e
xor esi, esi
jmp 0x14004c5eb
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
call qword [0x1401af008]
jmp 0x14004c5ff
Function at 0x14004dfa0
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14004dfb0
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 0x14004dfd1
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14004dff1
cmp byte [r14 + 0x68], 0
jne 0x14004e073
or edi, 0x20000000
test dil, 8
jne 0x14004e0a7
xor r15d, r15d
cmp byte [r14 + 0x70], 0
mov r12d, 0
je 0x14004e00f
mov r12, qword [r14 + 0x78]
cmp byte [r14 + 0x50], 0
mov r13d, 0
je 0x14004e020
mov r13, qword [r14 + 0x58]
cmp byte [r14 + 0x28], 0
jne 0x14004e088
cmp byte [r14], 0
jne 0x14004e096
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14004e0c7
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 0x14004e07e
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 0x14004dff1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14004e05e
lea rcx, [r14 + 0x30]
call fcn.14002b660
mov r15, rax
jmp 0x14004e027
add r14, 8
mov rcx, r14
call fcn.14002b660
mov r9, rax
jmp 0x14004e030
cmp byte [r14 + 0x88], 0
je 0x14004e0bc
or edi, 0x40000000
jmp 0x14004dffb
or edi, 0x10000000
jmp 0x14004dffb
cmp ebx, 4
jne 0x14004e0d6
mov edx, 6
jmp 0x14004e03d
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14004e0e8
mov edx, 7
jmp 0x14004e03d
cmp ebx, 1
jne 0x14004e0f7
mov edx, 4
jmp 0x14004e03d
xor edx, edx
jmp 0x14004e03d
Function at 0x14004dfb0
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x14004dfb0
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 0x14004dfd1
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x14004dff1
cmp byte [r14 + 0x68], 0
jne 0x14004e073
or edi, 0x20000000
test dil, 8
jne 0x14004e0a7
xor r15d, r15d
cmp byte [r14 + 0x70], 0
mov r12d, 0
je 0x14004e00f
mov r12, qword [r14 + 0x78]
cmp byte [r14 + 0x50], 0
mov r13d, 0
je 0x14004e020
mov r13, qword [r14 + 0x58]
cmp byte [r14 + 0x28], 0
jne 0x14004e088
cmp byte [r14], 0
jne 0x14004e096
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x14004e0c7
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 0x14004e07e
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 0x14004dff1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14004e05e
lea rcx, [r14 + 0x30]
call fcn.14002b660
mov r15, rax
jmp 0x14004e027
add r14, 8
mov rcx, r14
call fcn.14002b660
mov r9, rax
jmp 0x14004e030
cmp byte [r14 + 0x88], 0
je 0x14004e0bc
or edi, 0x40000000
jmp 0x14004dffb
or edi, 0x10000000
jmp 0x14004dffb
cmp ebx, 4
jne 0x14004e0d6
mov edx, 6
jmp 0x14004e03d
lea eax, [rbx - 2]
cmp eax, 2
jae 0x14004e0e8
mov edx, 7
jmp 0x14004e03d
cmp ebx, 1
jne 0x14004e0f7
mov edx, 4
jmp 0x14004e03d
xor edx, edx
jmp 0x14004e03d

Function at 0x14004e100
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 0x14004e138
cmp byte [r15 + 0x68], 0
jne 0x14004e1c6
or edi, 0x20000000
test dil, 8
jne 0x14004e1fd
xor r14d, r14d
cmp byte [r15 + 0x70], 0
mov r12d, 0
je 0x14004e156
mov r12, qword [r15 + 0x78]
cmp byte [r15 + 0x50], 0
mov r13d, 0
je 0x14004e167
mov r13, qword [r15 + 0x58]
cmp byte [r15 + 0x28], 0
jne 0x14004e1db
cmp byte [r15], 0
jne 0x14004e1e9
xor r9d, r9d
cmp ebx, 4
jne 0x14004e1b7
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 0x14004e1d1
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 0x14004e21d
mov edx, 7
jmp 0x14004e181
or edi, 0x80000000
jmp 0x14004e138
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14004e1a2
lea rcx, [r15 + 0x30]
call fcn.14002b660
mov r14, rax
jmp 0x14004e16e
add r15, 8
mov rcx, r15
call fcn.14002b660
mov r9, rax
jmp 0x14004e177
cmp byte [r15 + 0x88], 0
je 0x14004e212
or edi, 0x40000000
jmp 0x14004e142
or edi, 0x10000000
jmp 0x14004e142
mov edx, 1
test ebx, ebx
je 0x14004e181
cmp ebx, 1
jne 0x14004e239
mov edx, 4
jmp 0x14004e181
xor edx, edx
jmp 0x14004e181
Function at 0x140057ee0
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 [0x140188028]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x140057eb0]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x1401a13c0]
lea rdx, [0x140057d00]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140057ff0
cmp dword [0x1401a13c8], 0
jne 0x140057fe0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x1401a13cc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x140057f8c
mov ecx, 1
mov edx, 0x28
call fcn.14007b700
test rax, rax
je 0x140057fe0
mov r14, rax
mov ecx, dword [0x1401a13cc]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140057fd8
lea r15, [0x1401a13d0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x1401a13e0]
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.1400b6f60
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, r14
call fcn.14007b660
mov rcx, rsi
mov rax, rdi
call qword [0x1401af008]
xor esi, esi
jmp 0x140057fbc
call fcn.1400cb3d0
int3