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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1400da040]
xor rax, rsp
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x40]
mov r8d, 3
call fcn.140053890
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x140047cb9
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x3c], 0
lea rcx, [0x1400c2af8]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x140047bb7
lea rdx, [0x1400c2b48]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140047bca
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [0x1400cf708]
jmp 0x140047bc5
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
jmp 0x140047bcc
xor ebx, ebx
movsxd r12, dword [rsp + 0x3c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x30], 0
test r12, r12
je 0x140047c47
test r12d, r12d
js 0x140047cff
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.14007fd2c
mov r14, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
add rax, r15
mov qword [rsp + 0x30], rax
xor r15d, r15d
nop dword [rax + rax]
test r14, r14
je 0x140047cd9
mov rdx, qword [rbx + r15]
mov rcx, r14
call fcn.14001dd38
add r14, 0x18
add r15, 8
cmp r12, r15
jne 0x140047c20
mov qword [rsp + 0x28], r14
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140047770
movups xmmword [rsi], xmm6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x140047c6e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x20]
test rsi, rsi
je 0x140047cb9
mov rdi, qword [rsp + 0x28]
cmp rdi, rsi
je 0x140047cb1
add rdi, 0xffffffffffffffe8
jmp 0x140047c9c
lea rax, [rdi - 0x18]
cmp rdi, rsi
mov rdi, rax
je 0x140047cb1
test rdi, rdi
je 0x140047cec
cmp byte [rdi + 0x17], 0
jns 0x140047c90
mov rcx, qword [rdi]
call fcn.14007fd68
jmp 0x140047c90
mov rcx, rsi
call fcn.14007fd68
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140081090
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x1400be8df]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.14001b450
lea rcx, [0x1400be8df]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.14001b450
lea rcx, [rsp + 0x20]
call fcn.14001b390
int3
Function at 0x140048c60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1400da040]
xor rax, rsp
mov qword [rsp + 0x38], rax
movzx eax, byte [0x1400eb1c0]
cmp eax, 3
je 0x140048da4
mov rsi, rcx
lea r14, [0x1400c2ac0]
movabs r15, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x1400bca40]
lea rdi, [rsp + 0x20]
xor r12d, r12d
jmp 0x140048cdf
test bl, bl
js 0x140048d80
inc r12
movzx eax, byte [0x1400eb1c0]
xor rax, 3
cmp r12, rax
jae 0x140048da4
mov rdx, r12
shl rdx, 4
add rdx, r14
mov qword [rsp + 0x30], r15
movaps xmmword [rsp + 0x20], xmm6
mov rcx, rdi
call fcn.140020e58
movzx ebx, byte [rsp + 0x37]
test bl, bl
js 0x140048d10
mov rcx, rdi
mov rax, rbx
jmp 0x140048d30
mov rax, qword [rsp + 0x28]
test rax, rax
js 0x140048ddc
mov rcx, qword [rsp + 0x20]
je 0x140048d30
test rcx, rcx
je 0x140048dc9
nop
mov rdx, qword [rsi]
mov r9, qword [rsi + 8]
cmp r9, rax
mov r8, rax
cmovb r8, r9
test r8, r8
je 0x140048d4b
test rdx, rdx
je 0x140048dc9
cmp rax, r9
ja 0x140048cc0
test r8, r8
je 0x140048d8f
xor r8d, r8d
nop dword [rax]
movzx r9d, word [rdx + r8*2]
cmp r9w, word [rcx + r8*2]
jne 0x140048cc0
inc r8
cmp rax, r8
jne 0x140048d60
jmp 0x140048d8f
mov rcx, qword [rsp + 0x20]
call fcn.14007fd68
jmp 0x140048cc8
test bl, bl
jns 0x140048da6
mov rcx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x28]
call fcn.14007fd68
jmp 0x140048da6
xor ebx, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140081090
mov rax, rbx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x1400be8df]
lea rdx, str....._third_partylibc_srcinclude_string_view:313:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.14001b450
lea rcx, [0x1400be8df]
lea rdx, str....._third_partylibc_srcinclude_string_view:311:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.14001b450
int3
Function at 0x14004b9c0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1400da040]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x38]
mov r8d, 0x118
xor edx, edx
call fcn.1400b0330
mov dword [rsp + 0x34], 0x11c
lea rcx, [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [rsp + 0x30], 0
mov ecx, dword [rsp + 0x38]
mov edx, dword [rsp + 0x3c]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.14007fd2c
mov rsi, rax
mov edi, dword [rsp + 0x30]
mov eax, dword [0x1400eb228]
mov ecx, dword [0x1400e8618]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004ba8c
lea r8, [0x1400eb1f8]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14004bb90
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140081090
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1400eb228]
call fcn.14007fdac
cmp dword [0x1400eb228], 0xffffffff
jne 0x14004ba58
xorps xmm0, xmm0
movups xmmword [0x1400eb218], xmm0
movups xmmword [0x1400eb208], xmm0
movups xmmword [0x1400eb1f8], xmm0
lea rcx, [0x1400eb1f8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1400eb228]
call fcn.14007fe60
jmp 0x14004ba58

Function at 0x14004bae0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1400eb228]
mov ecx, dword [0x1400e8618]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14004bb41
movzx eax, word [0x1400eb1f8]
cmp rax, 0xc
ja case.0x14004bb20.1
lea rcx, [0x1400c2cb4]
movsxd rdx, dword [rcx + rax*4]
add rdx, rcx
jmp rdx
mov eax, 2
jmp case.0x14004bb20.0
mov eax, 1
jmp case.0x14004bb20.0
mov eax, 3
jmp case.0x14004bb20.0
mov eax, 4
add rsp, 0x28
ret
lea rcx, [0x1400eb228]
call fcn.14007fdac
cmp dword [0x1400eb228], 0xffffffff
jne 0x14004bb05
xorps xmm0, xmm0
movups xmmword [0x1400eb218], xmm0
movups xmmword [0x1400eb208], xmm0
movups xmmword [0x1400eb1f8], xmm0
lea rcx, [0x1400eb1f8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1400eb228]
call fcn.14007fe60
jmp 0x14004bb05
Function at 0x14004f2b0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
mov rax, qword [rcx]
jne 0x14004f2de
test rax, rax
jne 0x14004f2de
cmp dword [rsi + 0x14], 0
jne 0x14004f2de
cmp qword [rsi + 8], 0
je 0x14004f3e2
lea rcx, [rax + 1]
cmp rcx, 2
jb 0x14004f2fe
call fcn.14004c960
mov rcx, qword [rsi]
call fcn.14004c970
mov qword [rsi], 0
xor eax, eax
mov rcx, qword [rsi + 8]
lea rdx, [rcx + 1]
cmp rdx, 2
jb 0x14004f327
call fcn.14004c960
mov rcx, qword [rsi + 8]
call fcn.14004c970
mov qword [rsi + 8], 0
mov rax, qword [rsi]
xor ecx, ecx
mov qword [rsi + 0x10], 0
mov r14, qword [rdi]
cmp rax, r14
je 0x14004f37d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x14004f35f
call fcn.14004c960
mov rcx, qword [rsi]
call fcn.14004c970
mov qword [rsi], 0
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14004f371
mov qword [rsi], r14
call fcn.14004c960
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsi + 8]
mov r14, qword [rdi + 8]
cmp rcx, r14
je 0x14004f3cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jb 0x14004f3b1
call fcn.14004c960
mov rcx, qword [rsi + 8]
call fcn.14004c970
mov qword [rsi + 8], 0
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14004f3c4
mov qword [rsi + 8], r14
call fcn.14004c960
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
xor ecx, ecx
xor eax, eax
jmp 0x14004f32f

Function at 0x14004f710
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, rcx
mov rax, qword [0x1400da040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1400bca40]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x20b
call fcn.14004c940
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14004f4c0
cmp byte [rsi + 0x17], 0
jns 0x14004f787
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rdi
call fcn.14004f540
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140081090
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x14004f7c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, rcx
mov rax, qword [0x1400da040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1400bca40]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], 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.14004c940
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14004f4c0
cmp byte [rsi + 0x17], 0
jns 0x14004f837
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp eax, 0xffffffff
setne al
and esi, 0x10
shr esi, 4
and sil, al
mov rcx, rdi
call fcn.14004f540
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140081090
mov eax, esi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14004f880
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x1400da040]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1400b0330
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14004f91f
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call fcn.1400996c8
mov qword [rsp + 0x28], rax
lea rbx, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140045750
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140046d90
mov rcx, rsi
mov rdx, r14
call fcn.140045860
mov rcx, r14
call fcn.1400457f0
mov rcx, rbx
call fcn.1400457f0
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140081090
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14004f950
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x288
mov rsi, rcx
mov rax, qword [0x1400da040]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400b0330
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 0x14004f9c8
cmp word [rsp + 0x70], 0
je 0x14004f9c8
mov qword [rsp + 0x60], rdi
mov rcx, rdi
call fcn.1400996c8
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140045750
jmp 0x14004fa37
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x1400bca40]
movaps xmmword [rsp + 0x40], xmm0
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.140045710
mov rcx, rdi
call fcn.14004f880
test al, al
je 0x14004fa0b
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140045730
jmp 0x14004fa2d
lea rax, [0x1400c9f90]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 3
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140045750
lea rcx, [rsp + 0x40]
call fcn.1400457f0
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140081090
mov rax, rsi
add rsp, 0x288
pop rdi
pop rsi
ret
Function at 0x14005a3e0
Capabilities:
Query or enumerate registry value

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

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

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.140081030
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1400da040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.1400b0330
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x38], 0x800
mov rcx, qword [rbx]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x3c]
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14005a56b
mov eax, dword [rsp + 0x3c]
cmp eax, 2
je 0x14005a51b
mov edi, 0x3f4
cmp eax, 1
jne 0x14005a56b
lea rdx, [rsp + 0x840]
jmp 0x14005a561
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.1400b0330
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
mov edi, 0xea
cmp eax, 0xfffffc00
jb 0x14005a56b
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14003cae0
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140081090
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400612a0
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 [0x1400da040]
xor rax, rsp
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x40], xmm0
lea rdi, [rsp + 0x58]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140052990
cmp byte [rsp + 0x6f], 0
jns 0x1400612e4
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
js 0x140061305
test rsi, rsi
jne 0x140061318
jmp 0x1400613c1
mov rcx, qword [rsp + 0x58]
call fcn.14007fd68
test rsi, rsi
je 0x1400613c1
test edi, edi
je 0x1400613c1
mov ecx, edi
add rcx, rcx
call fcn.14007fd9c
mov rbx, rax
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0x30], xmm0
lea r14, [rsp + 0x58]
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.140052990
cmp byte [rsp + 0x6f], 0
jns 0x140061354
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 0x140061374
mov rcx, qword [rsp + 0x58]
call fcn.14007fd68
mov qword [rsp + 0x20], rbx
test rbx, rbx
je 0x1400613df
mov rcx, rbx
call fcn.1400996c8
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x20]
call fcn.1400529c0
cmp byte [rsi + 0x17], 0
jns 0x1400613a8
mov rcx, qword [rsi]
call fcn.14007fd68
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.14007fda4
test edi, edi
setne bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140081090
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1400be8df]
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.14001b450
int3

Function at 0x140062280
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test rcx, rcx
je 0x1400622f7
movabs rax, 0xe69e32f3ad9ea63
cmp qword [0x1400dc530], rax
jne 0x1400622fa
mov rsi, rcx
call fcn.14006b100
mov edx, 0x568
mov rcx, rax
xor r8d, r8d
call fcn.1400625e0
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.140062310
mov ecx, dword [0x1400ecff0]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x1400e8618]
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 0x14006b020
Capabilities:
Allocate thread local storage

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

Function at 0x14007d5b0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
push rbx
mov r8, rcx
xor ebx, ebx
xor eax, eax
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x14007d6d5
mov edi, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov esi, eax
mov r9d, ecx
mov r11d, edx
mov r10d, 0
cmp edi, 7
jb 0x14007d610
mov eax, 7
xor ecx, ecx
xchg rbx, rbx
cpuid
xchg rbx, rbx
mov r10d, ecx
and ebx, 0x20
shr ebx, 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 0x14007d6a7
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
jmp 0x14007d6a9
xor eax, eax
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, bl
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 0x14007d70a
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
jne 0x14007d747
jmp 0x14007d713
movzx edx, byte [r8 + 0x19]
test dl, dl
jne 0x14007d747
cmp byte [r8 + 0x1a], 0
je 0x14007d747
xor ecx, ecx
mov eax, 0x40000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x14007d747
cmp ecx, 0x666f736f
jne 0x14007d747
cmp edx, 0x76482074
jne 0x14007d747
mov byte [r8 + 0x19], 1
pop rbx
pop rdi
pop rsi
ret
Function at 0x14007d810
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, qword [0x1400da040]
xor rax, rsp
mov qword [rsp + 0x30], rax
test rdx, rdx
je 0x14007d8b3
cmp dword [0x1400f11d8], ecx
jg 0x14007d8b3
mov rsi, rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
movsxd r12, eax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
add r12, rsi
lea r14, [rsp + 0x2c]
mov r15, qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
cmp rsi, r12
jae 0x14007d8a7
mov dword [rsp + 0x2c], 0
mov r8d, r12d
sub r8d, esi
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, rsi
mov r9, r14
call r15
test eax, eax
je 0x14007d8a7
mov eax, dword [rsp + 0x2c]
add rsi, rax
test eax, eax
jne 0x14007d870
test edi, edi
je 0x14007d8b3
cmp byte [r12 - 1], 0xa
jne 0x14007d8cf
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140081090
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rsi, rax
xor eax, eax
lea rdi, str._nl_
lea rbx, [rsp + 0x2c]
nop dword [rax + rax]
test rax, rax
jne 0x14007d8b3
mov dword [rsp + 0x2c], 0
mov qword [rsp + 0x20], 0
mov rcx, rsi
mov rdx, rdi
mov r8d, 1
mov r9, rbx
call r15
test eax, eax
je 0x14007d8b3
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x14007d8f0
jmp 0x14007d8b3

Function at 0x14007f250
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
mov rcx, qword [rdx + 8]
test rcx, rcx
js 0x14007f28c
je 0x14007f28b
mov rdx, qword [rdx]
xor r8d, r8d
lea r9, [0x1400cb9e0]
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 0x14007f270
ret
int3

Function at 0x14008055c
Capabilities:
Parse pe header

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