joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140065890
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rsi, rcx
mov rax, qword [0x140155cc0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rax, qword [0x1401652a8]
test rax, rax
jne 0x1400658e3
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
nop word cs:[rax + rax]
mov ecx, 1
call rdi
mov rax, qword [0x1401652a8]
test rax, rax
je 0x1400658d0
cmp eax, 2
jne 0x140065931
mov ecx, 2
call fcn.1400504a0
test al, al
je 0x1400659cd
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0x90
mov r9d, 2
call fcn.1400505f0
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x1400659c0
mov eax, 1
lock xadd qword [0x1401652e0], rax
inc rax
cmp rax, 2
jl 0x140065955
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x140165260], eax
mov qword [0x140165258], rsi
mov rcx, qword [0x1401556e0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.1400504a0
test al, al
je 0x1400659cd
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0xbc
mov r9d, 2
call fcn.1400505f0
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
call fcn.1400034d0
mov rcx, rsi
call fcn.140050b70
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
cmp rcx, qword [0x140155cc0]
jne 0x140065a01
xor eax, eax
add rsp, 0x158
pop rdi
pop rsi
ret
call fcn.1400e0180
int3

Function at 0x1400679f0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140155cc0]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x38]
mov r8d, 0x118
xor edx, edx
call fcn.140114c60
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, 0x88
call fcn.1400dff64
mov rsi, rax
mov edi, dword [rsp + 0x30]
mov eax, dword [0x140165588]
mov ecx, dword [0x1401652f8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x10]
jg 0x140067ac6
lea r8, [0x140165558]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140067c50
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
cmp rcx, qword [0x140155cc0]
jne 0x140067ac0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
call fcn.1400e0180
int3
lea rcx, [0x140165588]
call fcn.1400dffec
cmp dword [0x140165588], 0xffffffff
jne 0x140067a88
xorps xmm0, xmm0
movups xmmword [0x140165578], xmm0
movups xmmword [0x140165568], xmm0
movups xmmword [0x140165558], xmm0
lea rcx, [0x140165558]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140165588]
call fcn.1400e00a0
jmp 0x140067a88
Function at 0x140067b90
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140165588]
mov ecx, dword [0x1401652f8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x10]
jg 0x140067bfa
movzx eax, word [0x140165558]
cmp rax, 0xc
ja case.0x140067bd0.1
lea rcx, [0x140129664]
movsxd rdx, dword [rcx + rax*4]
add rdx, rcx
jmp rdx
mov eax, 2
add rsp, 0x28
ret
mov eax, 1
add rsp, 0x28
ret
mov eax, 3
add rsp, 0x28
ret
mov eax, 4
add rsp, 0x28
ret
lea rcx, [0x140165588]
call fcn.1400dffec
cmp dword [0x140165588], 0xffffffff
jne 0x140067bb5
xorps xmm0, xmm0
movups xmmword [0x140165578], xmm0
movups xmmword [0x140165568], xmm0
movups xmmword [0x140165558], xmm0
lea rcx, [0x140165558]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140165588]
call fcn.1400e00a0
jmp 0x140067bb5

Function at 0x14006a1e0
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140155cc0]
xor rax, rsp
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
lea rdx, str.WriteAtCurrentPos
lea r8, str....._base_files_file_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x9a
call fcn.140054de0
lea rcx, [rsp + 0x50]
mov rdx, r14
xor r8d, r8d
call fcn.140069250
test esi, esi
js 0x14006a2ce
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
call fcn.14009b0c0
test al, al
je 0x14006a292
mov r9d, esi
lea rdx, str.File::WriteAtCurrentPos
lea rcx, [rsp + 0x30]
mov r8, rbx
call fcn.14009b1c0
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x2c]
mov rdx, rdi
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [rsp + 0x2c]
lea rcx, [rsp + 0x30]
call fcn.14009b140
jmp 0x14006a2d3
mov esi, 0xffffffff
lea rcx, [rsp + 0x50]
call fcn.1400692f0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
cmp rcx, qword [0x140155cc0]
jne 0x14006a300
mov eax, esi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400e0180
int3
Function at 0x14006c500
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.14006a080
mov qword [rsi], 0
test rax, rax
je 0x14006c54b
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14006c581
lea rax, [rbx + 1]
cmp rax, 2
jae 0x14006c59f
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.140054e30
lea rcx, [rsi + 0x20]
call fcn.14009b0e0
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
movzx eax, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
movzx eax, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
call fcn.140054e00
mov rcx, qword [rsi]
call fcn.140066da0
mov qword [rsi], 0
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14006c543
mov qword [rsi], rbx
call fcn.140054e00
jmp 0x14006c543
Function at 0x140084770
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x240
mov rax, qword [0x140155cc0]
xor rax, rsp
mov qword [rsp + 0x238], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call sub.ntdll.dll_RtlFormatCurrentUserKeyPath
mov esi, eax
test eax, eax
js 0x1400848e9
mov rdx, qword [rsp + 0x28]
lea rdi, [0x140165c60]
mov ebx, 0xff
mov r8d, 0xff
mov rcx, rdi
call fcn.1400ffebc
mov rcx, rdi
call fcn.1400ffa68
sub rbx, rax
lea rdx, [0x14011a81a]
mov rcx, rdi
mov r8, rbx
call fcn.1400ffebc
lea rcx, [rsp + 0x20]
call sub.ntdll.dll_RtlFreeUnicodeString
lea rbx, [rsp + 0x30]
mov r8d, 0x208
mov rcx, rbx
xor edx, edx
call fcn.140114c60
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdi, rax
lea rcx, str.PROGRAMFILES
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140084845
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400fff04
test eax, eax
je 0x140084880
lea rcx, str.PROGRAMFILES_X86_
lea rdx, [rsp + 0x30]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x14008487c
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400fff04
test eax, eax
je 0x140084880
xor eax, eax
jmp 0x140084882
mov al, 1
mov byte [0x140165859], al
mov dword [rsp + 0x30], 0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14012b914]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400848da
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rax, rdi
call qword [0x140146120]
test eax, eax
je 0x1400848da
cmp dword [rsp + 0x30], 0
setne al
jmp 0x1400848dc
xor eax, eax
mov byte [0x140165e60], al
mov byte [0x140165858], 1
test esi, esi
setns al
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
cmp rcx, qword [0x140155cc0]
jne 0x14008490d
add rsp, 0x240
pop rbx
pop rdi
pop rsi
ret
call fcn.1400e0180
int3
Function at 0x140084c20
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, r8
mov ebx, edx
mov edi, ecx
mov rax, qword [0x140155cc0]
xor rax, rsp
mov qword [rsp + 0x70], rax
movsx rax, byte [r8 + 0x17]
test rax, rax
jns 0x140084c54
mov rax, qword [rsi + 8]
test rax, rax
je 0x140084c85
test ebx, 0x100
je 0x140084c6a
mov eax, ebx
and eax, 0x200
jne 0x140084c85
cmp edi, 2
lea rax, [0x140165860]
lea rcx, [0x140165a60]
cmove rcx, rax
cmp word [rcx], 0
je 0x140084cad
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
cmp rcx, qword [0x140155cc0]
jne 0x140084ca7
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400e0180
int3
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rsp + 0x40], 0
je 0x140084c85
test ebx, 0x100
jne 0x140084c85
shr ebx, 9
and ebx, 1
or bl, byte [0x140165e60]
test bl, 1
je 0x140084c85
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea r12, str.SOFTWARE
cmove r12, rax
movsx rbp, byte [rsi + 0x17]
test rbp, rbp
js 0x140084d0f
mov rdi, rsi
jmp 0x140084d16
mov rdi, qword [rsi]
mov rbp, qword [rsi + 8]
mov ebx, 1
xor r14d, r14d
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x2c], 0
jmp 0x140084d50
add r12, 0x28
inc r14
cmp r14, rbx
jae 0x140084dfc
mov r15, qword [r12 + 8]
mov r13, rbp
sub r13, r15
jb 0x140084d40
mov rdx, qword [r12]
mov rcx, rdi
mov r8, r15
call fcn.1400f89c4
test eax, eax
jne 0x140084d40
movzx edx, word [rdi + r15*2]
cmp edx, 0x5c
je 0x140084d7e
test edx, edx
jne 0x140084d40
lea rcx, [rdi + r15*2]
mov r8d, dword [r12 + 0x10]
lea rax, str.WOW6432Node_
cmp r8d, 1
je 0x140084db0
cmp r8d, 2
jne 0x140084da6
mov rdi, rcx
lea rax, str.WOW6432Node
jmp 0x140084db0
mov rdi, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
cmp dx, 0x5c
mov dword [rsp + 0x2c], r8d
jne 0x140084dd3
nop dword [rax + rax]
lea rdx, [rcx + 2]
dec r13
cmp word [rcx + 2], 0x5c
mov rcx, rdx
je 0x140084dc0
jmp 0x140084dd6
mov rdx, rcx
mov rbx, qword [r12 + 0x20]
mov r12, qword [r12 + 0x18]
mov rbp, r13
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rax
xor r14d, r14d
mov rdi, rdx
cmp r14, rbx
jb 0x140084d50
cmp dword [rsp + 0x2c], 0
je 0x140084c85
cmp byte [rsi + 0x17], 0
mov rax, rsi
jns 0x140084e13
mov rax, qword [rsi]
mov rdx, qword [rsp + 0x30]
sub rdx, rax
sar rdx, 1
mov rcx, rsi
mov r8, qword [rsp + 0x38]
call fcn.140043e90
jmp 0x140084c85
Function at 0x140086d30
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x10080
call fcn.1400e0120
sub rsp, rax
mov rsi, rdx
mov rax, qword [0x140155cc0]
xor rax, rsp
mov qword [rsp + 0x10078], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x50], xmm0
lea rdi, [rsp + 0x60]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14004ce50
test rsi, rsi
je 0x140086e22
lea rbx, [rsp + 0x7a]
mov r8d, 0xfffe
mov rcx, rbx
mov dl, 0xaa
call fcn.140114c60
cmp byte [rsp + 0x77], 0
jns 0x140086dbb
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
mov rdx, rbx
mov r8d, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne bl
je 0x140086df3
mov ebp, eax
mov edi, eax
cmp eax, 0x7fff
jae 0x140086e70
lea rcx, [rsp + 0x7a]
mov rdx, rdi
mov r8, rsi
call fcn.14004ce80
cmp byte [rsp + 0x77], 0
js 0x140086e4c
mov rcx, qword [rsp + 0x10078]
xor rcx, rsp
cmp rcx, qword [0x140155cc0]
jne 0x140086e6a
mov eax, ebx
add rsp, 0x10080
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
cmp byte [rsp + 0x77], 0
jns 0x140086e30
mov rcx, qword [rsp + 0x60]
jmp 0x140086e35
lea rcx, [rsp + 0x60]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne bl
cmp byte [rsp + 0x77], 0
jns 0x140086dfa
mov rcx, qword [rsp + 0x60]
call fcn.1400dffa0
mov rcx, qword [rsp + 0x10078]
xor rcx, rsp
cmp rcx, qword [0x140155cc0]
je 0x140086e0e
call fcn.1400e0180
int3
mov ecx, 0x7ffe
call fcn.14005b150
mov r14, rax
mov ecx, ebp
call fcn.14005b050
lea rcx, str.value_length___value.size_____1
mov rdx, rax
mov r8, r14
call fcn.14005b340
test rax, rax
je 0x140086de3
mov r14, rax
lea rdx, str.GetVarImpl
lea r8, str....._baseenvironment.cc
lea r15, [rsp + 0x28]
mov rcx, r15
mov r9d, 0x45
call fcn.140054de0
lea r12, [rsp + 0x48]
mov rcx, r12
mov rdx, r14
mov r8d, 0xffffffff
mov r9, r15
call fcn.14005b6f0
mov rcx, r12
call fcn.14005b950
lea rdx, str.value_should_fit_in_the_buffer__including_the_null_terminator_
mov r8d, 0x3e
mov rcx, rax
call fcn.1400034d0
mov rcx, r12
call fcn.14005b960
jmp 0x140086de3
Function at 0x1400872e0
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x140155cc0]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x140087307
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, eax
mov al, 1
test ecx, ecx
jne 0x140087405
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140087349
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1400e0180
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.140087430
mov ecx, 2
call fcn.1400504a0
test al, al
je 0x140087403
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x265
mov r9d, 2
call fcn.140051bb0
lea rcx, [rsp + 0x68]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.1400034d0
mov rdi, rax
movsx rax, byte [rsi + 0x17]
test rax, rax
jns 0x1400873ac
mov rax, qword [rsi + 8]
mov rsi, qword [rsi]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rax
lea rsi, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14004ce90
movsx r8, byte [rsp + 0x57]
test r8, r8
jns 0x1400873dd
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.1400034d0
cmp byte [rsp + 0x57], 0
jns 0x1400873f9
mov rcx, qword [rsp + 0x40]
call fcn.1400dffa0
lea rcx, [rsp + 0x58]
call fcn.140051ca0
xor eax, eax
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
cmp rcx, qword [0x140155cc0]
jne 0x140087423
add rsp, 0x198
pop rdi
pop rsi
ret
call fcn.1400e0180
int3

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

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140155cc0]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x140087457
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400874e6
mov ecx, eax
mov al, 1
test cl, 0x10
jne 0x140087549
mov ecx, 2
call fcn.1400504a0
test al, al
je 0x140087547
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x255
mov r9d, 2
call fcn.1400505f0
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400034d0
mov rcx, rax
mov rdx, rsi
call fcn.140055380
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.1400034d0
mov rcx, rdi
call fcn.140050b70
jmp 0x140087547
mov ecx, 2
call fcn.1400504a0
test al, al
je 0x140087547
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x251
mov r9d, 2
call fcn.140051bb0
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400034d0
mov rcx, rax
mov rdx, rsi
call fcn.140055380
mov rcx, rdi
call fcn.140051ca0
xor eax, eax
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
cmp rcx, qword [0x140155cc0]
jne 0x140087567
add rsp, 0x168
pop rdi
pop rsi
ret
call fcn.1400e0180
int3
Function at 0x140088f60
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, qword [rcx + 0x50]
mov r12, qword [rcx + 0x58]
cmp rbx, r12
je 0x14008903a
mov rsi, r8
mov edi, edx
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x140088fad
mov rcx, rsi
mov rdx, rbx
call fcn.14008a590
mov r14, rax
mov qword [rsi + 8], r14
add rbx, 0x70
cmp rbx, r12
je 0x14008903a
cmp dword [rbx + 0x68], edi
jne 0x140088fa0
lea r15, [rbx + 0x10]
cmp byte [rbx + 0x27], 0
mov rcx, r15
jns 0x140088fc3
mov rcx, qword [rbx + 0x10]
call r13
test al, 0x10
jne 0x140088fa0
mov r14, qword [rsi + 8]
cmp r14, qword [rsi + 0x10]
jae 0x140088f8e
test r14, r14
je 0x14008904a
movups xmm0, xmmword [rbx]
movups xmmword [r14], xmm0
lea rcx, [r14 + 0x10]
mov rdx, r15
call fcn.140054e30
lea rcx, [r14 + 0x28]
cmp byte [rbx + 0x3f], 0
js 0x14008900a
lea rax, [rbx + 0x28]
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
jmp 0x140089017
mov rdx, qword [rbx + 0x28]
mov r8, qword [rbx + 0x30]
call fcn.140042ad0
mov rax, qword [rbx + 0x60]
mov qword [r14 + 0x60], rax
movups xmm0, xmmword [rbx + 0x40]
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [r14 + 0x50], xmm1
movups xmmword [r14 + 0x40], xmm0
add r14, 0x68
jmp 0x140088f9c
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140117223]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.140044b40
int3
Function at 0x140094940
Capabilities:
Create pipe

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x140155cc0]
xor rax, rsp
mov qword [rsp + 0x178], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x40], xmm0
test dl, dl
je 0x140094a88
lea rcx, [rsp + 0x68]
xor ebx, ebx
mov r8d, 0x110
xor edx, edx
call fcn.140114c60
mov dword [rsp + 0x5c], 0x11c
mov rdi, qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 1
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call rdi
mov qword [rsp + 0x60], 6
mov word [rsp + 0x170], 0
lea rcx, [rsp + 0x5c]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov edi, 0x80003
test eax, eax
je 0x140094a2c
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x40], 0x18
xor ecx, ecx
call fcn.140094aa0
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 1
lea rbx, [rsp + 0x40]
cmp byte [rsi + 0x17], 0
jns 0x140094a35
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x200
mov dword [rsp + 0x20], 0x200
mov rcx, rsi
mov edx, edi
mov r8d, 6
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
cmp rcx, qword [0x140155cc0]
jne 0x140094a97
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
mov edi, 3
xor ebx, ebx
cmp byte [rsi + 0x17], 0
js 0x140094a32
jmp 0x140094a35
call fcn.1400e0180
int3
Function at 0x140097e10
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, r8
mov rax, qword [0x140155cc0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x44], 4
mov dword [rsp + 0x40], 4
mov dword [rsp + 0x3c], 0
mov rcx, qword [rcx]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140097e88
mov ecx, dword [rsp + 0x44]
add ecx, 0xfffffffd
mov eax, 0x3f4
cmp ecx, 1
ja 0x140097e88
cmp dword [rsp + 0x40], 4
jne 0x140097e88
mov eax, dword [rsp + 0x3c]
mov dword [rsi], eax
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
cmp rcx, qword [0x140155cc0]
jne 0x140097e9f
add rsp, 0x50
pop rsi
ret
call fcn.1400e0180
int3

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

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.1400e0120
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140155cc0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.140114c60
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]
test eax, eax
jne 0x140097f9d
mov ecx, dword [rsp + 0x3c]
cmp ecx, 2
je 0x140097f49
mov eax, 0x3f4
cmp ecx, 1
jne 0x140097f9d
lea rdx, [rsp + 0x840]
jmp 0x140097f93
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.140114c60
lea rcx, [rsp + 0x840]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, eax
mov dword [rsp + 0x38], eax
add ecx, 0xfffffbff
mov eax, 0xea
cmp ecx, 0xfffffc00
jb 0x140097f9d
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140043bc0
xor eax, eax
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
cmp rcx, qword [0x140155cc0]
jne 0x140097fbe
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400e0180
int3