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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1400ea658]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1400f9290]
test rdi, rdi
jne 0x140033154
mov ecx, 0x50
call fcn.14008dd20
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.14008dd20
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x140033176
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 [0x1400f9290], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400331a2
mov rcx, rax
call fcn.1400aa868
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400331d0
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14008e0c0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.140003cfc
lea rax, str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x10b
call fcn.140003cfc
int3
Function at 0x1400331d0
Capabilities:
Accept command line arguments

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1400ea658]
xor rax, rsp
mov qword [rsp + 0x60], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8d, 3
call fcn.1400415f0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x140033330
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x1400c3138]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14003326e
lea rdx, [0x1400c3188]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140033281
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x140109008]
jmp 0x14003327c
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
jmp 0x140033283
xor ebx, ebx
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x30], xmm0
movsxd rax, dword [rsp + 0x4c]
lea r8, [rbx + rax*8]
lea r14, [rsp + 0x30]
mov rcx, r14
mov rdx, rbx
call fcn.140034b20
mov rcx, rsi
mov rdx, r14
call fcn.140032dc0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x1400332df
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x30]
test rsi, rsi
je 0x140033330
mov rdi, qword [rsp + 0x38]
mov rcx, rsi
cmp rdi, rsi
je 0x140033326
add rdi, 0xffffffffffffffe8
jmp 0x14003330c
lea rax, [rdi - 0x18]
cmp rdi, rsi
mov rdi, rax
je 0x140033321
test rdi, rdi
je 0x140033348
cmp byte [rdi + 0x17], 0
jns 0x140033300
mov rcx, qword [rdi]
call fcn.14008dd5c
jmp 0x140033300
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rsi
call fcn.14008dd5c
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14008e0c0
nop
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x42
call fcn.140003cfc
int3
Function at 0x140038630
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1400ea658]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x38]
mov r8d, 0x118
xor edx, edx
call fcn.140091240
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.14008dd20
mov rsi, rax
mov edi, dword [rsp + 0x30]
mov eax, dword [0x1400f9538]
mov ecx, dword [0x1400f9318]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x10]
jg 0x1400386fc
lea r8, [0x1400f9508]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140038800
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14008e0c0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1400f9538]
call fcn.14008de80
cmp dword [0x1400f9538], 0xffffffff
jne 0x1400386c8
xorps xmm0, xmm0
movups xmmword [0x1400f9528], xmm0
movups xmmword [0x1400f9518], xmm0
movups xmmword [0x1400f9508], xmm0
lea rcx, [0x1400f9508]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1400f9538]
call fcn.14008df18
jmp 0x1400386c8

Function at 0x140038750
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1400f9538]
mov ecx, dword [0x1400f9318]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x10]
jg 0x1400387b1
movzx eax, word [0x1400f9508]
cmp rax, 0xc
ja case.0x140038790.1
lea rcx, [0x1400ca354]
movsxd rdx, dword [rcx + rax*4]
add rdx, rcx
jmp rdx
mov eax, 2
jmp case.0x140038790.0
mov eax, 1
jmp case.0x140038790.0
mov eax, 3
jmp case.0x140038790.0
mov eax, 4
add rsp, 0x28
ret
lea rcx, [0x1400f9538]
call fcn.14008de80
cmp dword [0x1400f9538], 0xffffffff
jne 0x140038775
xorps xmm0, xmm0
movups xmmword [0x1400f9528], xmm0
movups xmmword [0x1400f9518], xmm0
movups xmmword [0x1400f9508], xmm0
lea rcx, [0x1400f9508]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1400f9538]
call fcn.14008df18
jmp 0x140038775
Function at 0x14003c070
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 0x14003c09e
test rax, rax
jne 0x14003c09e
cmp dword [rsi + 0x14], 0
jne 0x14003c09e
cmp qword [rsi + 8], 0
je 0x14003c1a2
lea rcx, [rax + 1]
cmp rcx, 2
jb 0x14003c0be
call fcn.1400309b0
mov rcx, qword [rsi]
call fcn.140038250
mov qword [rsi], 0
xor eax, eax
mov rcx, qword [rsi + 8]
lea rdx, [rcx + 1]
cmp rdx, 2
jb 0x14003c0e7
call fcn.1400309b0
mov rcx, qword [rsi + 8]
call fcn.140038250
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 0x14003c13d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x14003c11f
call fcn.1400309b0
mov rcx, qword [rsi]
call fcn.140038250
mov qword [rsi], 0
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14003c131
mov qword [rsi], r14
call fcn.1400309b0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsi + 8]
mov r14, qword [rdi + 8]
cmp rcx, r14
je 0x14003c18c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jb 0x14003c171
call fcn.1400309b0
mov rcx, qword [rsi + 8]
call fcn.140038250
mov qword [rsi + 8], 0
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14003c184
mov qword [rsi + 8], r14
call fcn.1400309b0
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 0x14003c0ef

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, rcx
mov rax, qword [0x1400ea658]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [section..rdata]
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.140030990
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140039780
cmp byte [rsi + 0x17], 0
jns 0x14003c3f7
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rdi
call fcn.140039800
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14008e0c0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x14003c430
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, rcx
mov rax, qword [0x1400ea658]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [section..rdata]
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.140030990
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140039780
cmp byte [rsi + 0x17], 0
jns 0x14003c4a7
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.140039800
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14008e0c0
mov eax, esi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14003c4f0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x1400ea658]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140091240
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14003c58f
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call fcn.1400aa868
mov qword [rsp + 0x28], rax
lea rbx, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140030a00
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140032270
mov rcx, rsi
mov rdx, r14
call fcn.140030b20
mov rcx, r14
call fcn.140030ab0
mov rcx, rbx
call fcn.140030ab0
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14008e0c0
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14003c5c0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x288
mov rsi, rcx
mov rax, qword [0x1400ea658]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140091240
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 0x14003c638
cmp word [rsp + 0x70], 0
je 0x14003c638
mov qword [rsp + 0x60], rdi
mov rcx, rdi
call fcn.1400aa868
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140030a00
jmp 0x14003c6a7
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x40], xmm0
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.1400309c0
mov rcx, rdi
call fcn.14003c4f0
test al, al
je 0x14003c67b
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400309e0
jmp 0x14003c69d
lea rax, [0x1400ca884]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 3
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140030a00
lea rcx, [rsp + 0x40]
call fcn.140030ab0
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14008e0c0
mov rax, rsi
add rsp, 0x288
pop rdi
pop rsi
ret
Function at 0x14004b050
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x1400ea658]
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 0x14004b0cb
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x14004b0cb
cmp dword [rsp + 0x38], 4
jne 0x14004b0cb
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14008e0c0
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret

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

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.14008e060
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1400ea658]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.140091240
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 0x14004b1db
mov eax, dword [rsp + 0x3c]
cmp eax, 2
je 0x14004b18b
mov edi, 0x3f4
cmp eax, 1
jne 0x14004b1db
lea rdx, [rsp + 0x840]
jmp 0x14004b1d1
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.140091240
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 0x14004b1db
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140027292
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14008e0c0
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140053ee0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x1400ea658]
xor rax, rsp
mov qword [rsp + 0x80], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x50], xmm0
lea rdi, [rsp + 0x68]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14003ecd0
cmp byte [rsp + 0x7f], 0
jns 0x140053f2a
mov rdi, qword [rsp + 0x68]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x7f], 0
js 0x140053f4b
test rsi, rsi
jne 0x140053f5e
jmp 0x140054007
mov rcx, qword [rsp + 0x68]
call fcn.14008dd5c
test rsi, rsi
je 0x140054007
test edi, edi
je 0x140054007
mov ecx, edi
add rcx, rcx
call fcn.14008dd9c
mov rbx, rax
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0x40], xmm0
lea r14, [rsp + 0x68]
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.14003ecd0
cmp byte [rsp + 0x7f], 0
jns 0x140053f9a
mov r14, qword [rsp + 0x68]
mov rcx, r14
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x7f], 0
jns 0x140053fba
mov rcx, qword [rsp + 0x68]
call fcn.14008dd5c
mov qword [rsp + 0x30], rbx
test rbx, rbx
je 0x14005402b
mov rcx, rbx
call fcn.1400aa868
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
lea rdx, [rsp + 0x30]
call fcn.14003ed00
cmp byte [rsi + 0x17], 0
jns 0x140053fee
mov rcx, qword [rsi]
call fcn.14008dd5c
mov rax, qword [rsp + 0x78]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.14008dda4
test edi, edi
setne bl
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14008e0c0
mov eax, ebx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rax, str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x10b
call fcn.140003cfc
int3
Function at 0x140055990
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, qword [0x1400ea658]
xor rax, rsp
mov qword [rsp + 0x30], rax
test rdx, rdx
je 0x140055a33
cmp dword [0x1400fc4f8], ecx
jg 0x140055a33
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 0x140055a27
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 0x140055a27
mov eax, dword [rsp + 0x2c]
add rsi, rax
test eax, eax
jne 0x1400559f0
test edi, edi
je 0x140055a33
cmp byte [r12 - 1], 0xa
jne 0x140055a4f
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14008e0c0
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, [0x1400be426]
lea rbx, [rsp + 0x2c]
nop dword [rax + rax]
test rax, rax
jne 0x140055a33
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 0x140055a33
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x140055a70
jmp 0x140055a33

Function at 0x14005cf50
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1400ea658]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp qword [0x1400fc548], 0
je 0x14005cfad
lea rdx, str....._base_allocatorpartition_allocator_srcpartition_allocpartition_tls_win.cc
lea r9, str.g_destructor__nullptr
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r8d, 0x29
call fcn.140042880
mov rcx, rbx
call fcn.1400428e0
mov rcx, rbx
call fcn.1400428f0
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14005cfc7
mov dword [rdi], eax
mov dword [0x1400fc550], eax
mov qword [0x1400fc548], rsi
cmp eax, 0xffffffff
setne bl
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.14008e0c0
mov eax, ebx
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
Function at 0x14006fb20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006fb40
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
ret

Function at 0x14006fb80
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006fba0
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
ret

Function at 0x14006fbe0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006fc03
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
ret

Function at 0x14006fc60
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006fc83
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
ret

Function at 0x14006fce0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
xorps xmm5, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
nop dword [rax]
add rax, 0x10
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006fd09
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
ret
Function at 0x14006fd70
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
xorps xmm3, xmm0
xorps xmm4, xmm0
xorps xmm5, xmm0
movups xmm0, xmmword [rcx + 0x20]
lea rcx, [rcx + rax + 0x20]
neg rax
nop dword [rax]
add rax, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006fd99
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
ret

Function at 0x14006fe00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesenc xmm2, xmm1
lea rcx, [rcx + rax + 0x20]
neg rax
aesenc xmm3, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesenc xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x14006fe5f

Function at 0x14006fe50
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
aesenc xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne fcn.14006fe50
aesenc xmm2, xmm1
aesenc xmm3, xmm1
aesenc xmm4, xmm1
aesenc xmm5, xmm1
aesenc xmm6, xmm1
aesenc xmm7, xmm1
aesenclast xmm2, xmm0
aesenclast xmm3, xmm0
aesenclast xmm4, xmm0
aesenclast xmm5, xmm0
aesenclast xmm6, xmm0
aesenclast xmm7, xmm0
ret

Function at 0x14006fee0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [rcx]
shl eax, 4
movups xmm1, xmmword [rcx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesdec xmm2, xmm1
lea rcx, [rcx + rax + 0x20]
neg rax
aesdec xmm3, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesdec xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [rcx + rax]
add rax, 0x10
jmp 0x14006ff3f
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
movups xmm1, xmmword [rcx + rax]
add rax, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
movups xmm0, xmmword [rcx + rax - 0x10]
jne 0x14006ff30
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdec xmm6, xmm1
aesdec xmm7, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
aesdeclast xmm6, xmm0
aesdeclast xmm7, xmm0
ret