joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002b110
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x1400fb028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1400ddf00]
lea rsi, [rsp + 0x40]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.DirectoryExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x233
call fcn.140055320
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.14004fee0
cmp byte [rdi + 0x17], 0
jns 0x14002b182
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
setne al
and edi, 0x10
shr edi, 4
and dil, al
mov rcx, rsi
call fcn.14004ff60
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14006f740
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002b1d0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x1400fb028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140071860
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14002b26f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14008ab58
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1400553d0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14002e940
mov rcx, rsi
mov rdx, r14
call fcn.14002e510
mov rcx, r14
call fcn.140055500
mov rcx, rbx
call fcn.140055500
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14006f740
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14002b2a0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x1400fb028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140071860
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14002b335
cmp word [rsp + 0x70], 0
je 0x14002b335
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.14008ab58
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.1400553d0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14006f740
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1400ddf00]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.140055350
mov rcx, rdi
call fcn.14002b1d0
test al, al
jne 0x14002b387
lea rax, [0x1400e2992]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.1400553d0
jmp 0x14002b394
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400553b0
lea rcx, [rsp + 0x40]
call fcn.140055500
jmp 0x14002b317
Function at 0x14002c4e0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov rax, qword [0x1400fb028]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x14002c690
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.140088114
movaps xmm6, xmmword [0x1400ddf00]
lea r14, [rsp + 0x80]
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.ReadStreamToSpanWithMaxSize
lea r8, str....._base_files_file_util.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x48
call fcn.140055320
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14004fee0
xorps xmm0, xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
mov dword [r15 + 0x30], 0
mov rcx, rbx
call fcn.140081148
mov ecx, eax
call fcn.140081198
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14002c694
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
shl rax, 0x20
or rax, rcx
test rax, rax
mov r14d, 0xffff
cmovg r14, rax
cmp r14, rdi
cmovae r14, rdi
inc r14
lea rcx, [rsp + 0x30]
movaps xmmword [rcx], xmm6
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
mov r8, r14
call qword [0x1400ef2f0]
xor r12d, r12d
mov rcx, qword [rsp + 0x30]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.140087d9c
test rax, rax
je 0x14002c633
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x14002c69f
add r15, r12
mov rcx, rbx
call fcn.140087604
test eax, eax
je 0x14002c6a3
mov r12, r15
mov rcx, rbx
call fcn.140087630
test eax, eax
sete bl
mov rdi, r12
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
lea rcx, [rsp + 0x20]
mov r8, rdi
call qword [0x1400ef2f0]
lea rcx, [rsp + 0x80]
call fcn.14004ff60
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.14006f740
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x14002c665
mov r14d, 0xffff
jmp 0x14002c5d1
xor ebx, ebx
jmp 0x14002c643
test r12, r12
mov eax, 0x10000
cmove r14, rax
lea r8, [r15 + r14]
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
lea r12, [rsp + 0x20]
mov rcx, r12
call qword [0x1400ef2f0]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x14002c5f6
Function at 0x14002f0e0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x1400fb028]
xor rax, rsp
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x58]
mov rcx, rdi
call fcn.140052eb0
cmp byte [rdi + 0x17], 0
jns 0x14002f121
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x6f], 0
jns 0x14002f142
mov rcx, qword [rsp + 0x58]
call fcn.14006e2f0
test rsi, rsi
je 0x14002f1e9
test edi, edi
je 0x14002f1e9
mov ecx, edi
add rcx, rcx
call fcn.14006e324
mov rbx, rax
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea r14, [rsp + 0x58]
mov rcx, r14
call fcn.140052eb0
cmp byte [r14 + 0x17], 0
jns 0x14002f185
mov r14, qword [rsp + 0x58]
mov rcx, r14
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x6f], 0
jns 0x14002f1a5
mov rcx, qword [rsp + 0x58]
call fcn.14006e2f0
mov qword [rsp + 0x20], rbx
test rbx, rbx
je 0x14002f207
mov rcx, rbx
call fcn.14008ab58
lea rdx, [rsp + 0x20]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x58]
call fcn.140052ee0
cmp byte [rsi + 0x17], 0
js 0x14002f21a
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.14006e32c
test edi, edi
setne bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14006f740
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1400de118]
lea rdx, str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.1400a10b0
mov rcx, qword [rsi]
call fcn.14006e2f0
jmp 0x14002f1d0
Function at 0x14002f700
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1400fb028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x14010c950]
test rdi, rdi
jne 0x14002f7b3
mov ecx, 0x50
call fcn.14006e2b4
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.14006e2b4
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x14002f7d5
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
mov rax, rsi
add rax, 0x38
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x14010c950], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14002f7e8
mov rcx, rax
call fcn.14008ab58
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.14002f800
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14006f740
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1400de118]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1400a10b0
lea rcx, [0x1400de118]
lea rdx, str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.1400a10b0
int3
Function at 0x14002f800
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1400fb028]
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.14002a7a0
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x14002f987
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x3c], 0
lea rcx, [0x1400e2dd4]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14002f9eb
lea rdx, [0x1400e2e24]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002f9cf
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [0x1400ef2f0]
mov r14, rax
movsxd r12, dword [rsp + 0x3c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x30], 0
test r12, r12
je 0x14002f9e1
test r12d, r12d
js 0x14002f9d7
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.14006e2b4
mov rbx, rax
mov qword [rsp + 0x20], rax
add rax, r15
mov qword [rsp + 0x30], rax
xor r13d, r13d
mov r15, rbx
test r15, r15
je 0x14002f9a9
mov rdx, qword [r14 + r13]
mov rcx, r15
call fcn.1400a0670
add r15, 0x18
add r13, 8
cmp r12, r13
jne 0x14002f8ff
mov qword [rsp + 0x28], r15
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14002f470
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14002f94d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x14002f987
cmp r15, rbx
je 0x14002f97f
add r15, 0xffffffffffffffe8
jmp 0x14002f971
mov rcx, qword [r15]
call fcn.14006e2f0
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x14002f97f
test r15, r15
je 0x14002f9bc
cmp byte [r15 + 0x17], 0
js 0x14002f95d
jmp 0x14002f965
mov rcx, rbx
call fcn.14006e2f0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14006f740
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x1400de118]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1400a10b0
lea rcx, [0x1400de118]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.1400a10b0
xor r14d, r14d
jmp 0x14002f8b1
lea rcx, [rsp + 0x20]
call fcn.1400a0650
xor r15d, r15d
xor ebx, ebx
jmp 0x14002f926
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x14002f8ae
Function at 0x1400374d0
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test rcx, rcx
je 0x140037547
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x1400fd690], rax
jne 0x14003754a
mov rsi, rcx
call fcn.14006aaf0
mov edx, 0x568
mov rcx, rax
xor r8d, r8d
call fcn.140037560
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.14005cf40
mov ecx, dword [0x14010cc7c]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x1401097e0]
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 0x14003e280
Capabilities:
Allocate thread local storage

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

Function at 0x140042e50
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 0x140042f71
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 0x140042fad
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 0x140042fb5
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
test al, al
setne al
and al, dil
mov byte [r8 + 0x16], al
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x140042fa7
xor ecx, ecx
mov eax, 0x80000007
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x140042fb9
pop rdi
pop rsi
ret
mov dl, byte [r8 + 0x19]
jmp 0x140042fa0
xor r10d, r10d
jmp 0x140042eaf
xor eax, eax
jmp 0x140042f44
cmp byte [r8 + 0x1a], 0
je 0x140042fa4
xor ecx, ecx
mov eax, 0x40000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x140042fa4
cmp ecx, 0x666f736f
jne 0x140042fa4
cmp edx, 0x76482074
jne 0x140042fa4
mov byte [r8 + 0x19], 1
jmp 0x140042fa4
Function at 0x14004cff0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
xor eax, eax
test r8d, r8d
sete al
xor r8d, r8d
test edx, edx
sete r8b
xor ecx, ecx
mov edx, r8d
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x14004d08a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14004d074
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14004d051
mov qword [rsi], rdi
call fcn.140055340
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 0
inc rax
cmp rax, 1
jbe 0x14004d08e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140055340
mov rcx, qword [rsi]
call fcn.14004cf60
mov qword [rsi], 0
jmp 0x14004d03f
mov byte [rsi + 8], 0
int3

Function at 0x14004d220
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14004d268
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14004d271
lea rax, [rsi + 1]
cmp rax, 2
jb case.default.0x14004d261
mov qword [rdi], rsi
call fcn.140055340
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140055340
mov rcx, qword [rdi]
call fcn.14004cf60
mov qword [rdi], 0
jmp 0x14004d246
movabs dword [0x97ff991add2c8e03], eax
invalid
rcr byte [rdi - 0x18], 1
adc al, 0xa1
adc eax, 0x939484bf
test ebx, edx
xor bh, ah
fdivr dword [rax + 0x499e0d97]
xchg edi, eax
or eax, 0x63de499e
out dx, al
xchg edi, eax
or eax, 0x63de499e
out dx, al
invalid
Function at 0x14006b5d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
mov rcx, qword [rdx + 8]
test rcx, rcx
js 0x14006b60c
je 0x14006b60b
mov rdx, qword [rdx]
xor r8d, r8d
lea r9, [0x1400eb5e0]
nop word [rax + rax]
movzx r10d, byte [rdx + r8]
movzx r11d, al
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc r8
cmp rcx, r8
jne 0x14006b5f0
ret
int3

Function at 0x14006ea00
Capabilities:
Parse pe header

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

Function at 0x14006ef70
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x14006efe8
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x14006efe8
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x14006efe8
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x14006efdc
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x14006effa
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x14006efca
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x14006efea

Function at 0x14007db98
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x14007dbcf
call fcn.140080d50
mov dword [rax], 0x16
call fcn.140081bd8
xor eax, eax
jmp 0x14007dc5d
mov rdx, r9
mov rcx, r8
call fcn.14007dc80
mov rbx, rax
test rax, rax
je 0x14007dc5a
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x14007dce4]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14007dc47
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140080d90
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14007dc2e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14007dc3d
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.140058d80
jmp 0x14007dc5a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14007dc57
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x14007e1e4
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400925d4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400925d4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14007e334
cmp rax, 0xffffffffffffffff
je 0x14007e334
xor edi, edi
test rbp, rbp
jle 0x14007e2df
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140058e20
mov rbx, rax
test rax, rax
jne 0x14007e26c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14007e2d5
mov edx, 0x8000
mov ecx, r14d
call fcn.140082fe0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140086048
cmp eax, 0xffffffff
je 0x14007e2b5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14007e27c
mov edx, r15d
mov ecx, r14d
call fcn.140082fe0
jmp 0x14007e2d5
cmp byte [rsi + 0x38], dil
je 0x14007e2cc
cmp dword [rsi + 0x34], 5
jne 0x14007e2cc
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14007e2d5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140058d80
jmp 0x14007e348
jns 0x14007e348
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400925d4
cmp rax, 0xffffffffffffffff
jne 0x14007e300
cmp byte [rsi + 0x30], dil
je 0x14007e348
mov edi, dword [rsi + 0x2c]
jmp 0x14007e348
mov ecx, r14d
call fcn.140081198
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14007e348
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14007e348
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14007e341
mov eax, dword [rsi + 0x2c]
jmp 0x14007e346
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400925d4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140082bc4
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, [0x14010a6d0]
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 0x140082c1b
cmp word [rdx], r13w
jne 0x140082c1b
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140082c20
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140082d45
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140082d66
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140082c59
mov rdx, r9
mov word [rbx], cx
jmp 0x140082c80
cmp r9, r8
jae 0x140082c90
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 0x140082c3a
jmp 0x140082d45
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 0x140082d3a
cmp dword [rsp + 0x80], esi
je 0x140082d3a
lea r8, [0x14010a6d0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140082d12
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140082ce2
mov word [rbx], r13w
jmp 0x140082d42
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 0x140082cef
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140082d42
cmp word [rsp + 0x70], r13w
jne 0x140082d1f
cmp rbx, r14
je 0x140082cdc
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400925d4
cmp word [rsp + 0x70], r13w
je 0x140082d45
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, [0x14010a6d0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140082d3f
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140082d45