joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400299a4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140016e5c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140029a2e
cmp byte [rbp - 0x21], r15b
je 0x140029a29
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140029a64
call fcn.14001df4c
test eax, eax
jne 0x140029a50
cmp byte [rbp - 0x21], r15b
je 0x140029a48
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140029a64
cmp byte [rbp - 0x21], r15b
je 0x140029a61
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400174ac
test eax, eax
jne 0x140029b04
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140016e5c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140029aa3
cmp byte [rbp - 0x21], r15b
je 0x140029ad8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140029ad8
call fcn.14001df4c
test eax, eax
jne 0x140029ac4
cmp byte [rbp - 0x21], r15b
je 0x140029abd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140029ad8
cmp byte [rbp - 0x21], r15b
je 0x140029ad5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400174ac
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140029b04
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140029b07
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140029b15
mov rcx, rdi
call fcn.14001b81c
cmp byte [rbp + 0x3f], r15b
je 0x140029b24
mov rcx, qword [rbp + 0x27]
call fcn.14001b81c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14002b7b0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002b7d8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002b7d8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14001cd00
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rcx + 0x10]
cmp rbx, qword [rcx + 0x18]
je 0x14001cd46
mov r15, rbx
test r15, r15
je 0x14001ce41
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r12, qword [rsi]
mov r14, qword [rsi + 8]
mov rax, r14
sub rax, r12
jbe 0x14001cda2
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r12, rax
neg r12
shl rax, 3
mov r15, r14
sub r15, rax
sub rbx, r14
je 0x14001cd91
mov rcx, r15
mov rdx, r14
mov r8, rbx
call fcn.140098800
mov r14, qword [rsi + 8]
add r15, rbx
mov qword [rsi + 0x10], r15
lea rax, [r14 + r12*8]
mov qword [rsi + 8], rax
jmp 0x14001cd22
mov rax, rbx
sub rax, r12
sar rax, 2
cmp rbx, r12
mov r13d, 1
cmovne r13, rax
mov rax, r13
shr rax, 0x3d
jne 0x14001ce67
lea rcx, [r13*8]
call fcn.1400666b8
mov rcx, r13
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rbx
mov r15, rcx
sub rdx, r14
je 0x14001ce07
xor r15d, r15d
mov r8, rcx
add r8, r15
je 0x14001ce41
mov r9, qword [r14 + r15]
mov qword [r8], r9
add r15, 8
cmp rdx, r15
jne 0x14001cdec
add r15, rcx
lea rdx, [rax + r13*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], rdx
cmp rbx, r14
je 0x14001ce27
add rbx, 0xfffffffffffffff8
jne 0x14001ce1a
jmp 0x14001ce54
test r12, r12
je 0x14001cd22
mov rcx, r12
call fcn.1400666f4
mov r15, qword [rsi + 0x10]
jmp 0x14001cd22
lea rcx, [0x1400d7b4c]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.14009a120
lea rcx, [0x1400d7b4c]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.14009a120
call fcn.140099c30
int3

Function at 0x140023b20
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x1400f7040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
lea r9, [rsp + 0x3c]
mov dword [r9], eax
lea r8, [rsp + 0x38]
mov dword [r8], eax
lea rax, [rsp + 0x34]
mov dword [rax], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140023ba8
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x140023b92
cmp dword [rsp + 0x38], 4
jne 0x140023b92
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140067af0
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x140023b92
Function at 0x140023bb0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.140067a90
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1400f7040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.140098ea0
lea r9, [rsp + 0x3c]
mov dword [r9], 1
lea rax, [rsp + 0x38]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140023c63
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x140023c67
lea rdx, [rsp + 0x840]
mov rcx, rsi
call fcn.1400235c0
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140067af0
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x140023c44
cmp eax, 2
jne 0x140023caf
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.140098ea0
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
cmp eax, 0xfffffc00
jb 0x140023cb6
lea rdx, [rsp + 0x40]
jmp 0x140023c3a
mov edi, 0x3f4
jmp 0x140023c44
mov edi, 0xea
jmp 0x140023c44

Function at 0x140023cc0
Capabilities:
Set registry value

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x1400f7040]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x34]
mov dword [rax], r8d
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140067af0
mov eax, esi
add rsp, 0x40
pop rsi
ret
xor r8d, r8d
test edx, edx
cmovg r8d, edx
lea rdx, str.PWALauncherResult
jmp 0x140023cc0

Function at 0x140024390
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x1400243d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400243f1
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400243cf
mov qword [rsi], rdi
call fcn.14004d110
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, rdi
je 0x140024407
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14004d110
mov rcx, qword [rsi]
call fcn.1400476b0
mov qword [rsi], 0
jmp 0x1400243bd
int3
Function at 0x1400257e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x1400f7040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1400d7a90]
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.PathExists
lea r8, [0x1400e3364]
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x211
call fcn.14004d0f0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140051140
cmp byte [rdi + 0x17], 0
jns 0x140025852
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.1400511c0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140067af0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x1400f7040]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1400d7a90]
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, [0x1400e3364]
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x239
call fcn.14004d0f0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140051140
cmp byte [rdi + 0x17], 0
jns 0x140025902
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.1400511c0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140067af0
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x140025950
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x1400f7040]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140098ea0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x1400259ef
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.140082228
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14004d280
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14002a080
mov rcx, rsi
mov rdx, r14
call fcn.140029440
mov rcx, r14
call fcn.14004d3d0
mov rcx, rbx
call fcn.14004d3d0
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140067af0
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140025a20
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x1400f7040]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140098ea0
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 0x140025ab5
cmp word [rsp + 0x70], 0
je 0x140025ab5
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.140082228
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.14004d280
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140067af0
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 [0x1400d7a90]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.14004d260
mov rcx, rdi
call fcn.140025950
test al, al
jne 0x140025b07
lea rax, [0x1400e33b6]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.14004d280
jmp 0x140025b14
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400293c0
lea rcx, [rsp + 0x40]
call fcn.14004d3d0
jmp 0x140025a97
Function at 0x140026a10
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 [0x1400f7040]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x140026bc0
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.14007f7a4
movaps xmm6, xmmword [0x1400d7a90]
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, 0x4f
call fcn.14004d0f0
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140051140
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.1400789d8
mov ecx, eax
call fcn.140078a2c
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x140026bc4
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 [0x1400ebc80]
xor r12d, r12d
mov rcx, qword [rsp + 0x30]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.14007f42c
test rax, rax
je 0x140026b63
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x140026bcf
add r15, r12
mov rcx, rbx
call fcn.14007ec94
test eax, eax
je 0x140026bd3
mov r12, r15
mov rcx, rbx
call fcn.14007ecc0
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 [0x1400ebc80]
lea rcx, [rsp + 0x80]
call fcn.1400511c0
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140067af0
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 0x140026b95
mov r14d, 0xffff
jmp 0x140026b01
xor ebx, ebx
jmp 0x140026b73
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 [0x1400ebc80]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x140026b26
Function at 0x140027e60
Capabilities:
Delete file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x1400f7040]
xor rax, rsp
mov qword [rsp + 0x50], rax
call fcn.140028020
mov eax, dword [rsi]
mov dword [0x1400f9578], eax
mov bl, 1
test al, 1
jne 0x140027ea7
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140067af0
mov eax, ebx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [0x1401087e0]
test rcx, rcx
je 0x140027ed5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401087e0], 0
cmp qword [0x1401087e8], 0
jne 0x140027ed5
and byte [0x1400f9578], 0xfe
mov rax, qword [rsi + 0x28]
test rax, rax
je 0x140027efe
movsx rcx, byte [rsi + 0x1f]
test rcx, rcx
jns 0x140027eec
mov rcx, qword [rsi + 0x10]
test rcx, rcx
jne 0x140027f77
mov qword [0x1401087e0], rax
jmp 0x140027e8e
movsx rax, byte [rsi + 0x1f]
test rax, rax
jns 0x140027f0c
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x140027fc6
lea rdi, [rsi + 8]
mov rcx, qword [0x1401087e8]
test rcx, rcx
jne 0x140027f47
mov ecx, 0x18
call fcn.1400666b8
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1401087e8], rax
mov rdx, rdi
call fcn.1400436c0
cmp dword [rsi + 0x24], 0
jne 0x140027f6b
mov rcx, qword [0x1401087e8]
cmp byte [rcx + 0x17], 0
jns 0x140027f65
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.1400b4490
mov ebx, eax
jmp 0x140027e8e
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str....._baselogging.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x231
call fcn.14004d0f0
lea rdx, str.settings.log_file_path.empty__
lea r14, [rsp + 0x48]
mov rcx, r14
mov r8d, 0x7f
mov r9, rdi
call fcn.1400b6830
mov rcx, r14
call fcn.1400b6a40
mov rax, qword [rsi + 0x28]
jmp 0x140027ef5
lea rdx, str.BaseInitLoggingImpl_built_with_NDEBUG
lea r8, str....._baselogging.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r9d, 0x237
call fcn.14004d0f0
lea rdx, str._settings.log_file_path.empty__
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r8d, 0x7f
mov r9, rdi
call fcn.1400b6830
lea rdx, str.LOG_TO_FILE_set_but_no_log_file_path_
mov rcx, rbx
call fcn.1400b4460
mov rcx, rbx
call fcn.1400b6a40
jmp 0x140027f15
Function at 0x14002a8e0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1400f7040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1401088d0]
test rdi, rdi
jne 0x14002a993
mov ecx, 0x50
call fcn.1400666b8
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.1400666b8
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x14002a9b5
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 [0x1401088d0], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14002a9c8
mov rcx, rax
call fcn.140082228
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.14002a9e0
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140067af0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1400d7b4c]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.14009a120
lea rcx, [0x1400d7b4c]
lea rdx, str....._third_partylibc_srcinclude_string_view:268:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.14009a120
int3
Function at 0x14002cff0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x238
mov rsi, rcx
mov rax, qword [0x1400f7040]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140098ea0
mov word [rdi], 0
lea rcx, str.PROGRAMFILES
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14002d07b
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x14002d1e0
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14002d068
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.14007d0a0
test eax, eax
je 0x14002d175
lea rdx, [rsp + 0x20]
mov word [rdx], 0
lea rcx, str.PROGRAMFILES_X86_
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14002d0d2
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x14002d1ee
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14002d0bf
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.14007d0a0
test eax, eax
je 0x14002d1a7
lea rdx, [rsp + 0x20]
mov word [rdx], 0
lea rcx, str.PROGRAMW6432
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14002d125
mov r14d, eax
cmp word [rsp + r14*2 + 0x1e], 0x5c
je 0x14002d1fc
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14002d116
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.14007d0a0
test eax, eax
je 0x14002d146
xor ebx, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140067af0
mov eax, ebx
add rsp, 0x238
pop rbx
pop rdi
pop rsi
pop r14
ret
movsx rax, byte [rsi + 0x17]
mov rcx, rax
test rax, rax
jns 0x14002d157
mov rcx, qword [rsi + 8]
mov bl, 1
cmp rcx, r14
je 0x14002d127
jb 0x14002d20a
test al, al
jns 0x14002d16b
mov rsi, qword [rsi]
cmp word [rsi + r14*2], 0x5c
jne 0x14002d125
jmp 0x14002d127
movsx rax, byte [rsi + 0x17]
mov rcx, rax
test rax, rax
jns 0x14002d186
mov rcx, qword [rsi + 8]
mov bl, 1
cmp rcx, r14
je 0x14002d127
jb 0x14002d20a
mov rcx, rsi
test al, al
jns 0x14002d199
mov rcx, qword [rsi]
cmp word [rcx + r14*2], 0x5c
jne 0x14002d07b
jmp 0x14002d127
movsx rax, byte [rsi + 0x17]
mov rcx, rax
test rax, rax
jns 0x14002d1b8
mov rcx, qword [rsi + 8]
mov bl, 1
cmp rcx, r14
je 0x14002d127
jb 0x14002d20a
mov rcx, rsi
test al, al
jns 0x14002d1cf
mov rcx, qword [rsi]
cmp word [rcx + r14*2], 0x5c
jne 0x14002d0d2
jmp 0x14002d127
dec r14
jne 0x14002d04f
jmp 0x14002d07b
dec r14
jne 0x14002d0a6
jmp 0x14002d0d2
dec r14
jne 0x14002d0fd
jmp 0x14002d125
lea rcx, [0x1400d7b4c]
lea rdx, str....._third_partylibc_srcinclude_string:1241:_assertion___pos___size___failed:_string_index_out_of_bounds_n
call fcn.14009a120
int3
Function at 0x14002e210
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1400f7040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x140108930]
mov ecx, dword [0x140105748]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002e270
lea rsi, [0x140108928]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140067af0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x140108930]
call fcn.14006673c
cmp dword [0x140108930], 0xffffffff
jne 0x14002e24c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140098ea0
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x88
call fcn.1400666b8
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140108978]
mov ecx, dword [0x140105748]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002e330
lea r8, [0x140108948]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14002e430
mov qword [0x140108928], rsi
lea rcx, [0x140108930]
call fcn.1400667f0
jmp 0x14002e24c
lea rcx, [0x140108978]
call fcn.14006673c
cmp dword [0x140108978], 0xffffffff
jne 0x14002e301
xorps xmm0, xmm0
movups xmmword [0x140108968], xmm0
movups xmmword [0x140108958], xmm0
movups xmmword [0x140108948], xmm0
lea rcx, [0x140108948]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140108978]
call fcn.1400667f0
jmp 0x14002e301

Function at 0x14002e380
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140108978]
mov ecx, dword [0x140105748]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002e3bb
movzx eax, word [0x140108948]
cmp eax, 9
jne 0x14002e403
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x140108978]
call fcn.14006673c
cmp dword [0x140108978], 0xffffffff
jne 0x14002e3a5
xorps xmm0, xmm0
movups xmmword [0x140108968], xmm0
movups xmmword [0x140108958], xmm0
movups xmmword [0x140108948], xmm0
lea rcx, [0x140108948]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140108978]
call fcn.1400667f0
jmp 0x14002e3a5
test eax, eax
je 0x14002e3b6
cmp eax, 6
jne 0x14002e413
mov eax, 2
jmp 0x14002e3b6
cmp eax, 0xc
jne 0x14002e41f
mov eax, 3
jmp 0x14002e3b6
mov eax, 4
jmp 0x14002e3b6