joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b2d5c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140195d00]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400b2db3
cmp word [rdx], r13w
jne 0x1400b2db3
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400b2db8
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400b2edd
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400b2efe
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400b2df1
mov rdx, r9
mov word [rbx], cx
jmp 0x1400b2e18
cmp r9, r8
jae 0x1400b2e28
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400b2dd2
jmp 0x1400b2edd
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400b2ed2
cmp dword [rsp + 0x80], esi
je 0x1400b2ed2
lea r8, [0x140195d00]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400b2eaa
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400b2e7a
mov word [rbx], r13w
jmp 0x1400b2eda
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1400b2e87
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400b2eda
cmp word [rsp + 0x70], r13w
jne 0x1400b2eb7
cmp rbx, r14
je 0x1400b2e74
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400c2d58
cmp word [rsp + 0x70], r13w
je 0x1400b2edd
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140195d00]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400b2ed7
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400b2edd
Function at 0x1400bb8b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400bb8d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400bb8d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400c5908
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400bf454
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400c59a9
cmp ebx, dword [rsp + 0x30]
je 0x1400c59a2
test esi, esi
je 0x1400c59a2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400c597d
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400c598a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400c5967
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400c598e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400c59ab
mov eax, 1
jmp 0x1400c59ab
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c6828
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400c6858
xor eax, eax
jmp 0x1400c691b
mov rbp, rbx
cmp word [rax], si
je 0x1400c687d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400c6864
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400c6860
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400c6748
movsxd r14, eax
test eax, eax
jne 0x1400c68bb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400c6851
mov rcx, r14
call fcn.140039b60
mov rdi, rax
test rax, rax
jne 0x1400c68d4
xor ecx, ecx
call fcn.1400399d0
jmp 0x1400c68b0
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400c6748
test eax, eax
jne 0x1400c6905
mov rcx, rdi
call fcn.1400399d0
jmp 0x1400c690f
xor ecx, ecx
call fcn.1400399d0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400c6938
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400c69bf
mov rsi, rbx
cmp word [rax], bp
je 0x1400c697e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400c6968
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400c6964
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140039b60
mov rdi, rax
test rax, rax
je 0x1400c69ac
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400a06a0
mov rbp, rdi
xor ecx, ecx
call fcn.1400399d0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c8f74
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400a78f0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400c8ffe
cmp byte [rbp - 0x21], r15b
je 0x1400c8ff9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400c9034
call fcn.1400bfc24
test eax, eax
jne 0x1400c9020
cmp byte [rbp - 0x21], r15b
je 0x1400c9018
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400c9034
cmp byte [rbp - 0x21], r15b
je 0x1400c9031
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400acefc
test eax, eax
jne 0x1400c90d4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400a78f0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400c9073
cmp byte [rbp - 0x21], r15b
je 0x1400c90a8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400c90a8
call fcn.1400bfc24
test eax, eax
jne 0x1400c9094
cmp byte [rbp - 0x21], r15b
je 0x1400c908d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400c90a8
cmp byte [rbp - 0x21], r15b
je 0x1400c90a5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400acefc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400c90d4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400c90d7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400c90e5
mov rcx, rdi
call fcn.1400399d0
cmp byte [rbp + 0x3f], r15b
je 0x1400c90f4
mov rcx, qword [rbp + 0x27]
call fcn.1400399d0
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1400c9298
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x140185028]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x1400c92e2
call fcn.1400b03c4
mov dword [rax], 0xf
call fcn.1400b03a4
mov dword [rax], 0xd
call fcn.1400b1d3c
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14009ec00
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x1400c92ed
lea eax, [rbx + 1]
jmp 0x1400c92cf
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1400c92cd
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400c92cf
Function at 0x1400c98b8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400c98ce
mov al, 1
jmp 0x1400c992e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400c98df
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400c992c
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400b105c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400c992c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400c992c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400c992c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400c992e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400d1a20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov ebx, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x140185028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x140155bd0]
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.PathHasAccess
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x2e7
call fcn.1400374b0
xor ebp, ebp
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14003bcb0
cmp byte [rdi + 0x17], 0
jns 0x1400d1aa2
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400d1adc
lea rcx, [rsp + 0x60]
call fcn.14003bd10
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14009ec00
mov eax, ebp
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
test al, 0x10
cmove esi, ebx
mov eax, 0x80
mov ecx, 0x2000000
cmove ecx, eax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 3
mov rcx, rdi
mov edx, esi
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rsi, [rsp + 0x40]
mov qword [rsi], rbx
mov rcx, rsi
mov rdx, rax
call fcn.140026618
mov rax, qword [rsi]
inc rax
test rax, 0xfffffffffffffffe
setne bpl
cmp rax, 2
jb 0x1400d1ab0
call fcn.1400374d0
mov rcx, qword [rsp + 0x40]
call fcn.140031740
jmp 0x1400d1ab0
Function at 0x1400d2390
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x258
mov rax, qword [0x140185028]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov sil, 1
cmp qword [0x140197b60], 0
je 0x1400d23d4
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14009ec00
mov eax, esi
add rsp, 0x258
pop rdi
pop rsi
ret
mov rcx, qword [0x140197b38]
test rcx, rcx
je 0x1400d2472
test byte [0x140186f80], 1
je 0x1400d23b8
cmp byte [rcx + 0x17], 0
jns 0x1400d23f6
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140197b60], rax
inc rax
cmp rax, 1
ja 0x1400d23b8
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400a0d50
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x1400d2550
xor esi, esi
jmp 0x1400d23b8
mov ecx, 0x18
call fcn.14009d740
mov rsi, rax
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400a0d50
xor ecx, ecx
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x140155bd0]
movups xmmword [rsi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsi + 0x10], rax
mov rcx, rsi
mov rdx, rdi
call fcn.140051c5a
movzx ecx, byte [rsi + 0x17]
test cl, cl
mov rax, qword [rsi]
mov r8, qword [rsi + 8]
mov r9, rcx
cmovs r9, r8
mov r10, rsi
cmovs r10, rax
test r9, r9
jne 0x1400d250d
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rsi
call fcn.140030f74
mov qword [0x140197b38], 0
jmp 0x1400d246b
add r9, r9
test r9, r9
je 0x1400d24e8
lea rdx, [r9 - 2]
cmp word [r10 + r9 - 2], 0x5c
mov r9, rdx
jne 0x1400d2510
cmp rdx, 0xfffffffffffffffe
je 0x1400d24e8
sar rdx, 1
lea r9, [rdx + 1]
test cl, cl
jns 0x1400d2625
cmp r8, rdx
jbe 0x1400d264d
mov qword [rsi + 8], r9
mov word [rax + rdx*2 + 2], 0
jmp 0x1400d24e8
mov rcx, qword [0x140197b38]
lea rdx, [rsp + 0x40]
call fcn.140058046
mov rcx, qword [0x140197b38]
movzx eax, byte [rcx + 0x17]
test al, al
jns 0x1400d2618
mov rax, qword [rcx + 8]
test rax, rax
je 0x1400d263a
mov rdx, qword [rcx]
cmp word [rdx + rax*2 - 2], 0x5c
je 0x1400d25a5
lea rdx, [0x14015c638]
mov r8d, 1
call fcn.140030f74
mov rcx, qword [0x140197b38]
lea rdx, str.debug.log
mov r8d, 9
call fcn.140030f74
mov rcx, qword [0x140197b38]
cmp byte [rcx + 0x17], 0
jns 0x1400d25c7
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140197b60], rax
inc rax
cmp rax, 1
ja 0x1400d23b8
mov qword [0x140197b60], 0
jmp 0x1400d246b
test rax, rax
je 0x1400d263a
mov rdx, rcx
jmp 0x1400d2584
cmp rdx, rcx
jae 0x1400d264d
and r9b, 0x7f
mov byte [rsi + 0x17], r9b
mov rax, rsi
jmp 0x1400d2547
lea rcx, [0x1401586b1]
lea rdx, str....._third_partylibc_srcinclude_string:1339:_assertion__empty___failed:_string::back__:_string_is_empty_n
call fcn.1400de3f4
mov rcx, rsi
call fcn.1400dc676
int3
Function at 0x1400d3900
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140185028]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, [0x140157240]
mov qword [rcx], rax
lea rax, [0x140157808]
mov qword [rcx + 8], rax
mov eax, dword [0x140194d48]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rax, [rax + 0x128]
mov qword [rsi + 0x10], rax
mov rcx, qword [rax]
mov qword [rax], rsi
mov qword [rsi + 0x18], rcx
movabs r15, 0xfffffffc00000000
mov rax, rdx
and rax, r15
cmp rax, qword [0x140186fc8]
jne 0x1400d3980
mov rcx, rdi
call fcn.14001ecb0
mov qword [rsi + 0x20], rdi
xorps xmm0, xmm0
movups xmmword [rsi + 0x28], xmm0
mov eax, dword [rdi + 0x344]
mov dword [rsi + 0x38], eax
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.140041f10
mov rcx, rbx
mov rdx, rsi
call fcn.14007d370
mov rcx, qword [rbx]
mov rax, rcx
and rax, r15
cmp rax, qword [0x140186fc8]
jne 0x1400d39c3
call fcn.14001edf0
call fcn.14007d3f0
mov rbx, rax
call fcn.140024200
mov r9, qword [rax]
test r9, r9
je 0x1400d39ee
mov eax, 1
lock xadd dword [r9 + 8], eax
cmp eax, 0x7fffffff
je 0x1400d3ae8
lea rdx, [rsi + 8]
lea r8, str.ThreadLocalEventBuffer
mov rcx, rbx
call fcn.140099f10
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rsp + 0x3c], eax
lea rbx, [rdi + 8]
and r15, rbx
cmp r15, qword [0x140186fc8]
jne 0x1400d3a22
mov rcx, rbx
call fcn.14001ecb0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x1400d3a37
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
call fcn.140024200
mov r12, qword [rax]
test r12, r12
je 0x1400d3a5b
mov eax, 1
lock xadd dword [r12 + 8], eax
cmp eax, 0x7fffffff
je 0x1400d3aeb
add rdi, 0x2e8
lea r8, [rsp + 0x3c]
lea rax, [rsp + 0x40]
mov qword [rax], r8
lea rcx, [rsp + 0x4f]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [0x14015a0f8]
lea r14, [rsp + 0x50]
mov rcx, rdi
mov rdx, r14
call fcn.140073460
mov rax, qword [r14]
mov rcx, qword [rax + 0x18]
mov qword [rax + 0x18], r12
test rcx, rcx
je 0x1400d3ab0
lock dec dword [rcx + 8]
jne 0x1400d3ab0
call fcn.14003e8a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp r15, qword [0x140186fc8]
jne 0x1400d3aca
mov rcx, rbx
call fcn.14001edf0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14009ec00
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
int3
int3

Function at 0x1400d63c0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test rcx, rcx
je 0x1400d6437
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x140188890], rax
jne 0x1400d643a
mov rsi, rcx
call fcn.140047c50
mov edx, 0x568
mov rcx, rax
xor r8d, r8d
call fcn.14001fd70
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.14007ad40
mov ecx, dword [0x1401993cc]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x140194d48]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x148], rdi
mov rax, rdi
add rsp, 0x28
pop rdi
pop rsi
ret
int3
int3
Function at 0x1400de4c5
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov ecx, 2
call sym.elevation_service.exe_OQS_CPU_has_extension
mov rcx, r14
mov rdx, rbx
mov r8, rdi
mov r9, rsi
test eax, eax
je 0x1400de502
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp 0x1400e624b
nop
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp 0x1400deab5
sub rsp, 0x28
mov rax, r8
mov r8, rdx
mov rdx, rcx
shr r8, 4
mov dword [rsp + 0x20], 0xe
mov rcx, r9
mov r9, rax
call fcn.1400de982
nop
add rsp, 0x28
ret
cmp rdx, 0x10
jb 0x1400e62e1
shr rdx, 4
xor eax, eax
vmovdqa xmm0, xmmword [r8]
vpxor xmm0, xmm0, xmmword [rcx + rax]
vaesenc xmm0, xmm0, xmmword [r8 + 0x10]
vaesenc xmm0, xmm0, xmmword [r8 + 0x20]
vaesenc xmm0, xmm0, xmmword [r8 + 0x30]
vaesenc xmm0, xmm0, xmmword [r8 + 0x40]
vaesenc xmm0, xmm0, xmmword [r8 + 0x50]
vaesenc xmm0, xmm0, xmmword [r8 + 0x60]
vaesenc xmm0, xmm0, xmmword [r8 + 0x70]
vaesenc xmm0, xmm0, xmmword [r8 + 0x80]
vaesenc xmm0, xmm0, xmmword [r8 + 0x90]
vaesenc xmm0, xmm0, xmmword [r8 + 0xa0]
vaesenc xmm0, xmm0, xmmword [r8 + 0xb0]
vaesenc xmm0, xmm0, xmmword [r8 + 0xc0]
vaesenc xmm0, xmm0, xmmword [r8 + 0xd0]
vaesenclast xmm0, xmm0, xmmword [r8 + 0xe0]
vmovdqu xmmword [r9 + rax], xmm0
add rax, 0x10
dec rdx
jne 0x1400e625b
ret
Function at 0x1400df660
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400df68a
xor eax, eax
xor r9d, r9d
mov r10b, byte [rdx + rax]
xor r10b, byte [rcx + rax]
or r9b, r10b
inc rax
cmp r8, rax
jne 0x1400df66a
movzx eax, r9b
neg eax
shr eax, 8
and eax, 1
ret
xor eax, eax
jmp 0x1400df681

Function at 0x1400df880
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140185028]
xor rax, rsp
mov qword [rsp + 0x50], rax
vmovups ymm0, ymmword [rcx]
vmovups ymm1, ymmword [rcx + 0x10]
vmovups ymmword [rsp + 0x30], ymm1
vmovups ymmword [rsp + 0x20], ymm0
test rdx, rdx
jne 0x1400df8eb
vxorps xmm0, xmm0, xmm0
vmovups ymmword [0x140196440], ymm0
vmovups ymmword [0x140196430], ymm0
lea rcx, [rsp + 0x20]
vzeroupper
call fcn.1400df8ff
mov dword [0x140196460], 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14009ec00
nop
add rsp, 0x58
ret
xor eax, eax
mov cl, byte [rdx + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp rax, 0x30
jne 0x1400df8ed
jmp 0x1400df8ad

Function at 0x1400df8ff
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x140185028]
xor rax, rsp
mov qword [rsp + 0x60], rax
vpbroadcastb ymm0, byte [0x14015a539]
vmovdqu ymmword [rsp + 0x40], ymm0
vmovdqu ymmword [rsp + 0x30], ymm0
xor r12d, r12d
lea rdi, [0x140196430]
lea rbx, [rsp + 0x28]
lea r14, [0x140196450]
jmp 0x1400df99d
inc cl
mov byte [rax + rdi + 0x20], cl
mov rax, r12
shl rax, 4
lea r15, [rsp + rax]
add r15, 0x30
mov qword [rsp + 0x28], 0
mov rcx, rdi
mov rdx, rbx
vzeroupper
call fcn.1400de3f7
mov edx, 0x10
mov rcx, r14
mov r8, rdi
mov r9, r15
call fcn.1400de45c
mov rcx, qword [rsp + 0x28]
call fcn.1400de42e
inc r12
cmp r12, 3
je 0x1400df9b9
mov eax, 0xf
mov eax, eax
mov cl, byte [rax + rdi + 0x20]
cmp cl, 0xff
jne 0x1400df94b
mov byte [rax + rdi + 0x20], 0
add eax, 0xffffffff
jb 0x1400df9a2
jmp 0x1400df951
test rsi, rsi
je 0x1400df9d0
xor eax, eax
mov cl, byte [rsi + rax]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp rax, 0x30
jne 0x1400df9c0
vmovups ymm0, ymmword [rsp + 0x30]
vmovups ymmword [0x140196430], ymm0
vmovaps xmm0, xmmword [rsp + 0x50]
vmovups xmmword [0x140196450], xmm0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
vzeroupper
call fcn.14009ec00
nop
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x1400e7881
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400e78a7
xor r9d, r9d
xor eax, eax
mov r10b, byte [rdx + rax]
xor r10b, byte [rcx + rax]
or r9b, r10b
inc rax
cmp r8, rax
jne 0x1400e788b
xor eax, eax
test r9b, r9b
setne al
ret
xor eax, eax
ret

Function at 0x1400e78aa
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400e78d1
neg r9b
xor eax, eax
mov r10b, byte [rcx + rax]
mov r11b, byte [rdx + rax]
xor r11b, r10b
and r11b, r9b
xor r11b, r10b
mov byte [rcx + rax], r11b
inc rax
cmp r8, rax
jne 0x1400e78b4
ret
Function at 0x1400fefa0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov edi, edx
mov rsi, rcx
mov rax, qword [0x140185028]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x1400ff011
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x1400ff01b
mov dil, 1
test bl, bl
je 0x1400feffa
cmp byte [rsi + 8], 0
je 0x1400ff016
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14009ec00
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsi]
jmp 0x1400fefcd
mov rcx, qword [rsi]
jmp 0x1400fefef
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 0
je 0x1400ff043
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400ff048
xor edi, edi
jmp 0x1400feffa
mov rcx, qword [rsi]
jmp 0x1400ff030
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 0
je 0x1400ff06f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dil, 1
jmp 0x1400feffa
mov rcx, qword [rsi]
jmp 0x1400ff05f
Function at 0x1400ff4f0
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [0x140185028]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x140155bd0]
lea rbx, [rsp + 0x40]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.DeleteFileAfterReboot
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x20]
mov rcx, r14
mov r9d, 0x234
call fcn.1400374b0
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14003bcb0
mov al, byte [rsi + 0x17]
test al, al
jns 0x1400ff56e
cmp qword [rsi + 8], 0x103
ja 0x1400ff58c
test al, al
jns 0x1400ff575
mov rsi, qword [rsi]
mov rcx, rsi
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne dil
lea rcx, [rsp + 0x40]
call fcn.14003bd10
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14009ec00
mov eax, edi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret