joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ddf0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.140057b28
mov qword [rax], rbx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14000e880]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x14000de69
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140057b00
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x140010590
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400105ed
lea rbx, [0x14005bcb0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400105d4
cmp r10, 2
jb 0x1400105d4
cmp byte [r9], r8b
jne 0x1400105d4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400105b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14001062f
lea rbx, [0x14005bcb0]
cmp r8b, 0x23
jne 0x140010613
cmp byte [r9], r8b
jne 0x140010613
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140010600
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140010770
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14001078a
mov qword [r8], 0
lea rdx, [0x14005b84c]
call fcn.140010640
mov rbx, rax
test rax, rax
jne 0x1400107aa
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140010881
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140010881
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140010881
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140010881
cmp rdi, 0xffffffffffffffff
je 0x140010881
mov rax, qword [0x1401b2b38]
test rax, rax
je 0x14001081e
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140010881
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14001086e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401b2b38]
test rax, rax
je 0x140010863
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14001088a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14001087c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14001088c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140014780
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xe8]
mov rax, qword [rcx + 0xf0]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x14005bcb0]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1401b2b38]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x140014816
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.140028130
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140014820
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xf0]
lea r9, [0x14005bcb0]
movss xmm2, dword [rcx + 0x108]
movss xmm3, dword [rcx + 0x10c]
movsxd rcx, dword [rcx + 0xe8]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x1400216e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1401b2b38]
mov edi, ecx
cmp byte [rbx + 0x4a5d], 0
jne 0x140021741
cmp byte [rbx + 0x4a5e], 0
jne 0x140021741
movsx r9d, word [rbx + 0x5b5a]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140010450
test dil, 1
je 0x140021868
jmp 0x1400217ca
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5b5a]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140061064]
mulss xmm1, dword [0x140061048]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x47c0], rax
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47b8], xmm0
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x3900]
mulss xmm0, dword [0x140060f98]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
call fcn.140010450
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140021820
lea r11, [0x14005bcb0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140021803
cmp byte [r8], r9b
jne 0x140021803
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400217f0
not ecx
call fcn.1400186d0
test rax, rax
je 0x140021868
cmp byte [rax + 0xae], 0
je 0x140021868
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b5a]
mov edx, 0x10
movsx r9d, word [rbx + 0x5b5a]
call fcn.140010450
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14001af40
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140057b00
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140026ad0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c40], 0
lea rbx, [rcx + 0x5c48]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140026b77
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140026b2a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140028e80
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140010fd0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c40]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c50]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1401b2b48]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140026b7f
mov rcx, rbx
call fcn.140010fd0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140027000
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1401b2b38]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140027063
mov qword [rsp], rbx
lea rbx, [0x14005bcb0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140027043
cmp byte [r8], r9b
jne 0x140027043
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140027030
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5bb8]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140027097
mov r10, qword [r10 + 0x5bc0]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14002709e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140027084
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x1400536a0
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x14005372c
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x140053700
lea r11, [0x14005bcb0]
nop
cmp r9b, 0x23
jne 0x1400536e3
cmp byte [r8], r9b
jne 0x1400536e3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400536d0
mov rcx, qword [0x1401b2b38]
not eax
cmp dword [rcx + 0x3f30], eax
jne 0x140053717
mov dword [rcx + 0x3f34], eax
cmp dword [rcx + 0x3f60], eax
jne 0x140053786
mov byte [rcx + 0x3f64], 1
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
xor edx, edx
mov rbx, qword [0x1401b2b38]
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov r8, qword [rbx + 0x3ed0]
movsxd rax, dword [r8 + 0xe8]
mov r8, qword [r8 + 0xf0]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140010590
cmp dword [rbx + 0x3f18], eax
mov esi, eax
mov rbx, qword [rsp + 0x30]
jne 0x14005377f
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.140028130
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14005878c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400587d6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400587d6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400587d6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400587d6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400587d6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400587d8
xor al, al
add rsp, 0x28
ret

Function at 0x100403a20
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x6c
xor al, 0x64
xor al, 0x67
xor al, 0x41
xor al, 0x3e
xor al, 0x7d
xor al, 0xa2
xor al, 0x9a
xor al, 0xa3
xor al, 0x88
xor al, 0x9d
xor al, 0xa4
xor al, 0x71
xor al, 0x74
xor al, 0x59
xor al, 0x87
xchg dword [rbp*4 - 0x57cb58cc], esi
xor al, 0x99
xor al, 0xa1
xor al, 0x86
xor al, 0xa3
xor al, 0xa3
movabs dword [0xa73490345934a834], eax
xor al, 0xad
xor al, 0xa7
xor al, 0xa8
xor al, 0x99
cdq
xor al, 0xa1
xor al, 0x67
xor al, 0x66
xor al, 0x90
xor al, 0xa7
xor al, 0x9c
xor al, 0x99
xor al, 0xa0
xor al, 0xa0
xor al, 0x67
xor al, 0x66
xor al, 0x62
Function at 0x140007080
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
mov esi, eax
movabs eax, dword [0xda8b088900409214]
test ebx, ebx
jle 0x1400070a1
mov eax, 0xff
call fcn.140002680
xor byte [rsi], al
jne 0x140007091
pop rsi
pop rbx
ret

Function at 0x14000b4d0
Capabilities:
Query environment variable

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14007b108]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov ebx, dword [rsp + 0xd0]
xor r12d, r12d
mov r14, qword [rsp + 0xd8]
mov edi, ecx
mov ecx, dword [0x14007b124]
mov rbp, r9
mov qword [rsp + 0x38], r12
mov rsi, r8
mov r15, rdx
cmp ecx, 0xffffffff
jne 0x14000b58f
xorps xmm0, xmm0
lea r8d, [r12 + 0x10]
lea rdx, [rsp + 0x40]
lea rcx, str.WIM_Verbose_Logging
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
nop dword [rax + rax]
mov dword [rsp + 0x30], eax
dec eax
cmp eax, 0xf
ja 0x14000b57c
lea r8, [rsp + 0x30]
lea rdx, [0x14006e0ec]
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_swscanf_s]
nop dword [rax + rax]
mov ecx, dword [0x14007b124]
test eax, eax
cmovg ecx, dword [rsp + 0x30]
jmp 0x14000b582
mov ecx, dword [0x14007b124]
cmp ecx, 0xffffffff
cmove ecx, r12d
mov dword [0x14007b124], ecx
cmp edi, 4
jne 0x14000b59c
test ecx, ecx
je 0x14000b6bf
sub edi, 1
je 0x14000b5c3
sub edi, 1
je 0x14000b5bc
sub edi, 1
je 0x14000b5b5
cmp edi, 1
mov edi, 0x41009477
jmp 0x14000b5c8
mov edi, 0x41009484
jmp 0x14000b5c8
mov edi, 0x41009485
jmp 0x14000b5c8
mov edi, 0x4100947f
mov r9d, dword [rsp + 0xe0]
lea rdx, str.__s:__d______s___s
mov qword [rsp + 0x28], rsi
lea rcx, [rsp + 0x38]
mov r8, r14
mov qword [rsp + 0x20], rbp
call fcn.1400039f0
mov rbp, qword [rsp + 0x38]
mov esi, ebx
and esi, 0x10000000
mov r14d, 0x13d
test rbp, rbp
je 0x14000b676
mov ecx, ebx
test esi, esi
je 0x14000b62f
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
mov ecx, ebx
cmp eax, r14d
je 0x14000b646
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
mov ecx, eax
jmp 0x14000b646
mov r9d, ebx
movzx eax, bx
and r9d, 0x1fff0000
cmp r9d, 0x70000
cmove ecx, eax
mov r9d, ecx
mov r8, rbp
mov rcx, r15
mov edx, edi
call fcn.140019380
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
mov ecx, ebx
test esi, esi
je 0x14000b69f
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
cmp eax, r14d
je 0x14000b6b1
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
mov ebx, eax
jmp 0x14000b6b1
and ecx, 0x1fff0000
movzx eax, bx
cmp ecx, 0x70000
cmove ebx, eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140068870
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000bc38
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rdx, rcx
xor ebx, ebx
mov ecx, dword [0x14007b990]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop dword [rax + rax]
test eax, eax
jne 0x14000bcb1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x14000bc93
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14000bc98
mov ebx, 0x80004005
test ebx, ebx
jns 0x14000bcb1
mov r9d, ebx
lea rcx, str.SetImpersonationCount
mov r8d, 0x44
call fcn.1400064e0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14000bcc0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
xor edi, edi
xor ebp, ebp
xor esi, esi
mov r15d, r8d
mov r14, rdx
bt ecx, 0x11
jb 0x14000bdff
lea r9, [0x14007b98c]
xor r8d, r8d
lea rdx, [0x14000bc20]
lea rcx, [0x14000bb90]
call fcn.140005ba4
mov ebx, eax
test eax, eax
jns 0x14000bd2b
mov r9d, eax
lea r8d, [rdi + 0x60]
lea rcx, str.WimApplyPrivileges
call fcn.1400064e0
jmp 0x14000bdff
mov ecx, dword [0x14007b990]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x14000bd75
lea ecx, [rax + 2]
call qword [sym.imp.ntdll.dll_RtlImpersonateSelf]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jns 0x14000bd70
mov ebx, eax
or ebx, 0x10000000
jge 0x14000bdff
mov r8d, 0x72
jmp 0x14000bdde
mov ebp, 1
lea rcx, [rbx + 1]
call fcn.14000bc38
mov ebx, eax
test eax, eax
jns 0x14000bd9b
mov r9d, eax
lea rcx, str.WimApplyPrivileges
mov r8d, 0x7b
call fcn.1400064e0
jmp 0x14000bdf1
test edi, edi
js 0x14000bdce
cmp esi, r15d
jae 0x14000bdca
mov ecx, dword [r14 + rsi*8]
lea r9, [r14 + 4]
mov r8b, 1
lea r9, [r9 + rsi*8]
mov dl, r8b
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
nop dword [rax + rax]
inc esi
mov edi, eax
test eax, eax
jns 0x14000bd9f
test edi, edi
jns 0x14000bded
mov ebx, edi
or ebx, 0x10000000
jge 0x14000bdff
mov r8d, 0x8b
mov r9d, ebx
lea rcx, str.WimApplyPrivileges
call fcn.1400064e0
test ebx, ebx
jns 0x14000bdff
test ebp, ebp
je 0x14000bdff
mov edx, esi
mov rcx, r14
call fcn.14000be24
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x14000be24
Capabilities:
Get thread local storage value

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, 0x20
mov r14, rcx
mov ebp, edx
mov ecx, dword [0x14007b990]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
xor esi, esi
mov rbx, rax
test ebp, ebp
je 0x14000be8b
mov rdi, r14
cmp byte [rdi + 4], 0
jne 0x14000be81
mov ecx, dword [rdi]
lea r9, [r14 + 4]
lea r9, [r9 + rsi*8]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
nop dword [rax + rax]
inc esi
add rdi, 8
cmp esi, ebp
jb 0x14000be60
dec rbx
mov rcx, rbx
call fcn.14000bc38
test rbx, rbx
jne 0x14000bea7
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14000c3f4
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
xor ebx, ebx
mov r14, rdx
mov rdi, rcx
mov esi, 1
test rdx, rdx
jne 0x14000c432
lea ecx, [rdx + 0x57]
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x14000c576
mov qword [rdx], rbx
mov r8d, 4
lea rdx, [0x14006e4f0]
call qword [sym.imp.msvcrt.dll_wcsncmp]
nop dword [rax + rax]
test eax, eax
je 0x14000c574
or rax, 0xffffffffffffffff
mov rcx, rax
inc rcx
cmp word [rdi + rcx*2], bx
jne 0x14000c45d
cmp rcx, 0xf7
jbe 0x14000c574
inc rax
cmp word [rdi + rax*2], bx
jne 0x14000c473
lea r15d, [rax - 1]
mov ecx, 0x5c
cmp cx, word [rdi]
lea r12, [rdi + 2]
mov rcx, qword gs:[0x60]
mov edx, 8
cmovne r15d, eax
cmovne r12, rdi
mov rcx, qword [rcx + 0x30]
lea eax, [r15 + 5]
lea r8, [rax + rax]
mov edi, eax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov rbp, rax
test rax, rax
jne 0x14000c4d9
mov rax, qword gs:[0x30]
mov dword [rax + 0x68], 8
jmp 0x14000c56a
lea rax, [rsp + 0x78]
mov r9d, 4
mov qword [rsp + 0x28], rax
lea r8, [0x14006e4f0]
lea rax, [rsp + 0x80]
mov rdx, rdi
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.140048458
mov edi, eax
test eax, eax
js 0x14000c53d
mov rdx, qword [rsp + 0x78]
mov r8, r12
mov rcx, qword [rsp + 0x80]
mov r9d, r15d
call fcn.140003678
mov edi, eax
test eax, eax
js 0x14000c53d
mov rax, qword gs:[0x30]
mov dword [rax + 0x68], ebx
mov rbx, rbp
jmp 0x14000c56a
mov rcx, qword gs:[0x60]
mov r8, rbp
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov rax, qword gs:[0x30]
movzx ecx, di
mov dword [rax + 0x68], ecx
mov qword [r14], rbx
neg rbx
sbb eax, eax
and esi, eax
mov eax, esi
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14000c600
Capabilities:
Get disk information

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 r13
push r14
push r15
sub rsp, 0x40
xor r15d, r15d
mov r14, rdx
mov ebx, r15d
mov esi, r15d
lea ebp, [r15 + 1]
test rdx, rdx
jne 0x14000c63c
mov eax, 0x80070057
jmp 0x14000c7e2
xor edx, edx
call fcn.14000c1e8
mov rdi, rax
mov r13d, 0x80070000
test rax, rax
je 0x14000c6e8
mov edx, 0x5c
mov rcx, rax
call qword [sym.imp.msvcrt.dll_wcsrchr]
nop dword [rax + rax]
mov rsi, rax
test ebp, ebp
je 0x14000c7b1
mov ebp, r15d
test ebx, ebx
js 0x14000c74a
mov dword [rsp + 0x38], r15d
xor r9d, r9d
mov qword [rsp + 0x30], r15
xor r8d, r8d
mov qword [rsp + 0x28], r15
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
nop dword [rax + rax]
test eax, eax
jne 0x14000c74a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
movzx eax, ax
or eax, r13d
test ecx, ecx
cmovle eax, ecx
test eax, eax
jns 0x14000c745
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r13d
test eax, eax
cmovle ebx, eax
jmp 0x14000c74a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ecx, eax
movzx eax, ax
or eax, r13d
test ecx, ecx
cmovle eax, ecx
test eax, eax
jns 0x14000c71e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r13d
test eax, eax
cmovle ebx, eax
jmp 0x14000c723
mov ebx, 0x80004005
test ebx, ebx
jns 0x14000c66c
mov r9d, ebx
lea rcx, str.GetVolumeRootFromPath
mov r8d, 0x1ea
call fcn.1400064e0
jmp 0x14000c7e0
mov ebx, 0x80004005
cmp ebx, 0x80070090
je 0x14000c77c
lea eax, [rbx + 0x7ff8fffe]
cmp eax, 1
jbe 0x14000c77c
test ebx, ebx
jns 0x14000c66c
mov r9d, ebx
lea rcx, str.GetVolumeRootFromPath
mov r8d, 0x21c
call fcn.1400064e0
jmp 0x14000c7a9
mov edx, 0x5c
mov word [rsi], r15w
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcsrchr]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14000c7a9
mov word [rax + 2], r15w
mov ebx, r15d
mov ebp, 1
test ebx, ebx
jns 0x14000c66c
test ebx, ebx
js 0x14000c7bb
mov qword [r14], rdi
mov rdi, r15
test rdi, rdi
je 0x14000c7e0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
ret