joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006ee0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140140040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1401519d8]
mov ecx, dword [0x14014e950]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140006f40
lea rsi, [0x1401519d0]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400a4d90
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1401519d8]
call fcn.1400a35c4
cmp dword [0x1401519d8], 0xffffffff
jne 0x140006f1c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400d6750
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, 0x80
call fcn.1400a2d04
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140151a20]
mov ecx, dword [0x14014e950]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140007000
lea r8, [0x1401519f0]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140025950
mov qword [0x1401519d0], rsi
lea rcx, [0x1401519d8]
call fcn.1400a3558
jmp 0x140006f1c
lea rcx, [0x140151a20]
call fcn.1400a35c4
cmp dword [0x140151a20], 0xffffffff
jne 0x140006fd1
xorps xmm0, xmm0
movups xmmword [0x140151a10], xmm0
movups xmmword [0x140151a00], xmm0
movups xmmword [0x1401519f0], xmm0
lea rcx, [0x1401519f0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140151a20]
call fcn.1400a3558
jmp 0x140006fd1

Function at 0x140007050
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x14014e950]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp byte [rax + 0x120], 0
je 0x14000710d
mov eax, dword [0x14014e950]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x160], 1
je 0x140007109
mov ecx, dword [rsi + 0x1928]
test ecx, ecx
jne 0x140007109
mov ecx, 1
lock xadd dword [rsi + 0x1928], ecx
cmp ecx, 0x7fffffff
je 0x140007117
test rsi, rsi
je 0x14000711a
lea rbx, [rax + 0x160]
call fcn.14000a350
mov edx, 0x568
mov rcx, rax
xor r8d, r8d
call fcn.140007230
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.140070e10
mov ecx, dword [0x140151f28]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov qword [rbx], rdi
lock dec dword [rsi + 0x1928]
mov rax, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
xor edi, edi
jmp 0x1400070fe
call fcn.1400a46c8
jmp 0x14000707a
int3
int3
Function at 0x14000e210
Capabilities:
Get file size

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x140140040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x14011ea30]
lea rbx, [rsp + 0x40]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.GetLength
lea r8, str....._base_files_file_win.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r9d, 0xac
call fcn.140058f40
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call fcn.14005ad50
mov qword [rsp + 0x80], 0xa
mov al, byte [0x14015186a]
test al, al
jne 0x14000e2fa
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x20]
mov qword [rdi + 8], rax
mov qword [rdi], 0
lea rbx, [rsp + 0x90]
mov qword [rbx], rax
mov rcx, qword [rsi]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor esi, esi
cmp eax, 1
sbb rsi, rsi
or rsi, qword [rbx]
mov rcx, rdi
call fcn.140085d10
lea rcx, [rsp + 0x40]
call fcn.140085d50
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400a4d90
mov rax, rsi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
movzx ecx, al
lea r9, [rsp + 0x90]
mov qword [r9], rdi
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0x88]
mov qword [r8], rax
lea rdx, [rsp + 0x80]
call fcn.1400f2ac0
jmp 0x14000e28e
Function at 0x1400122b0
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rbx, rcx
xor ebp, ebp
test rcx, rcx
setne bpl
mov r13d, dword [rsp + 0xd0]
mov rax, qword [0x140140040]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xfffffffc00000000
shl ebp, 0x10
mov ecx, 0x18
call fcn.1400a2d04
mov rsi, rax
mov rax, r15
and rax, r12
cmp rax, qword [0x140142588]
jne 0x14001231d
mov rcx, r15
call fcn.14005d1c0
mov qword [rsi], r15
test r14, r14
setne byte [rsi + 8]
mov dword [rsi + 0xc], edi
mov dword [rsi + 0x10], r13d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x1400093a0]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x140012391
test r14, r14
je 0x140012386
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400a4d90
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140012360
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0x27a
jle 0x1400123db
cmp ebp, 0x5af
je 0x1400123b0
cmp ebp, 0x27b
jne 0x1400123e5
mov rcx, rbx
call fcn.1400f5e20
test rsi, rsi
je 0x140012360
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x140142588]
jne 0x1400123d1
call fcn.14005d490
mov rcx, rsi
call fcn.1400a2cfc
jmp 0x140012360
cmp ebp, 8
je 0x1400123b0
cmp ebp, 0xe
je 0x1400123b0
mov eax, dword [0x140151a40]
mov ecx, dword [0x14014e950]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140012494
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.140056fd0
movsx rax, byte [rbx + 0x17]
test rax, rax
jns 0x14001242d
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
test rax, rax
js 0x14001246e
je 0x140012443
test rbx, rbx
je 0x140012481
mov rcx, qword [0x140151a38]
lea rdx, [rsp + 0x50]
call fcn.140005460
cmp byte [rsp + 0x4f], 0
jns 0x1400123b8
mov rcx, qword [rsp + 0x38]
call fcn.1400a2cfc
jmp 0x1400123b8
lea rcx, [0x140121d8c]
lea rdx, str....._third_partylibc_srcinclude_string_view:314:_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.1400d6ae0
lea rcx, [0x140121d8c]
lea rdx, str....._third_partylibc_srcinclude_string_view:316:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.1400d6ae0
lea rcx, [0x140151a40]
call fcn.1400a35c4
cmp dword [0x140151a40], 0xffffffff
jne 0x14001240a
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.140005330
mov qword [0x140151a38], rax
lea rcx, [0x140151a40]
call fcn.1400a3558
jmp 0x14001240a
Function at 0x1400161a0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov r14, qword [rdx]
mov qword [rdx], rax
lea r15, [r14 + 1]
cmp r15, 2
jb 0x1400161c8
call fcn.14005d1b0
cmp qword [rsi], r14
je 0x1400161f7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140016206
cmp r15, 2
jb 0x1400161ef
mov qword [rsi], r14
call fcn.14005d1b0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14005d1b0
mov rbx, qword [rsi]
cmp qword [0x140151bc0], 0
je 0x140016237
mov rcx, qword [0x140151bc0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [0x140134870]
mov qword [rsi], 0
jmp 0x1400161e1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14012da12]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140016278
lea rcx, [sym.opera.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140016272
call qword [0x140134870]
mov rcx, rax
xor edx, edx
call fcn.14002cc80
jmp 0x140016218
xor ecx, ecx
mov dl, 1
jmp 0x14001626b
xor ecx, ecx
jmp 0x140016269
Function at 0x140017670
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc0
mov rax, qword [0x140140040]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov rax, qword [rcx]
inc rax
cmp rax, 1
ja 0x14001786b
mov rbx, r9
mov edi, r8d
mov ebp, edx
mov rsi, rcx
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov r14, rax
cmp qword [rsi], rax
je 0x1400176f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400177e5
mov rax, r14
inc rax
cmp rax, 2
jb 0x1400176ed
mov qword [rsi], r14
call fcn.14005d1b0
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi]
lea rax, [r14 + 1]
cmp rax, 1
jbe 0x140017875
xor r15d, r15d
lea rcx, [rsp + 0x28]
mov r8d, 0x90
xor edx, edx
call fcn.1400d6750
test ebp, ebp
jne 0x1400177cc
mov ecx, 0xff
mov r15d, 0x408
mov dword [rsp + 0x50], 1
mov eax, r15d
mov dword [rsp + 0x24], ecx
mov r15d, ecx
test rbx, rbx
je 0x140017753
or eax, 0x100
mov qword [rsp + 0x98], rbx
or eax, 0x2000
mov dword [rsp + 0x38], eax
lea r8, [rsp + 0x28]
mov rcx, r14
mov edx, 9
mov r9d, 0x90
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
je 0x14001785e
not edi
and r15d, edi
lea r8, [rsp + 0x24]
mov dword [r8], r15d
mov rcx, qword [rsi]
mov edx, 4
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
xor esi, esi
test eax, eax
je 0x14001785e
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1400a4d90
mov eax, esi
add rsp, 0xc0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
cmp ebp, 1
jne 0x14001789e
mov ecx, 0xd8
mov r15d, 8
jmp 0x14001772f
call fcn.14005d1b0
mov r12, qword [rsi]
cmp qword [0x140151bc0], 0
je 0x140017819
mov rcx, qword [0x140151bc0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r12
call qword [0x140134870]
mov qword [rsi], 0
jmp 0x1400176d9
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14012da12]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400178bf
lea rcx, [sym.opera.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140017858
call qword [0x140134870]
mov rcx, rax
xor edx, edx
call fcn.14002cc80
jmp 0x1400177f7
xor ecx, ecx
mov dl, 1
jmp 0x140017851
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1400177a8
mov esi, 0x4df
jmp 0x1400177a8
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1400a4d90
nop
add rsp, 0xc0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0xc8
cmp ebp, 2
je 0x140017737
mov eax, 0
cmp ebp, 3
je 0x140017741
jmp 0x14001775c
xor ecx, ecx
jmp 0x14001784f
Function at 0x140019860
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov eax, r8d
mov rsi, rdx
mov rdx, qword [0x140140040]
xor rdx, rsp
mov qword [rsp + 0x40], rdx
mov rcx, qword [rcx]
movabs rdx, 0xaaaaaaaaaaaaaaaa
lea r8, [rsp + 0x38]
mov qword [r8], rdx
or r9d, 8
mov qword [rsp + 0x28], r8
mov dword [rsp + 0x20], 2
mov edx, r9d
xor r8d, r8d
mov r9d, eax
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x140019932
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140019932
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14001992e
call fcn.14005d1b0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsi], 0
mov bpl, 1
test rbx, rbx
je 0x140019911
cmp rbx, 0xffffffffffffffff
je 0x140019939
call fcn.14005d1b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsi], rbx
call fcn.14005d1b0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], bpl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400a4d90
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
ret
xor ebx, ebx
jmp 0x1400198d7
mov byte [rsi], 0
xor ebp, ebp
jmp 0x140019911
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140019909
Function at 0x14001c680
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, rdx
mov rax, qword [0x140140040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rcx, qword [rcx]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdx, [rsp + 0x38]
mov qword [rdx], rax
or r8d, 8
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 1
mov edx, r8d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x14001c74f
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x14001c74f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14001c74b
call fcn.14005d1b0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsi], 0
mov bpl, 1
test rbx, rbx
je 0x14001c72e
cmp rbx, 0xffffffffffffffff
je 0x14001c756
call fcn.14005d1b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsi], rbx
call fcn.14005d1b0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], bpl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400a4d90
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
ret
xor ebx, ebx
jmp 0x14001c6f4
mov byte [rsi], 0
xor ebp, ebp
jmp 0x14001c72e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14001c726
Function at 0x140025350
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 r12, qword [rcx + 0x10]
cmp r12, qword [rcx + 0x18]
je 0x140025396
mov r14, r12
test r14, r14
je 0x140025498
mov rax, qword [rdi]
mov qword [r14], 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 r15, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r15
jbe 0x1400253f8
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r13, rax
neg r13
shl rax, 3
mov r14, rbx
sub r14, rax
mov r15, r12
sub r15, rbx
je 0x1400253e4
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.1400d60b0
mov r12, qword [rsi + 8]
add r14, r15
mov qword [rsi + 0x10], r14
lea rax, [r12 + r13*8]
mov qword [rsi + 8], rax
jmp 0x140025372
mov rax, r12
sub rax, r15
sar rax, 2
cmp r12, r15
mov r13d, 1
cmovne r13, rax
mov rax, r13
shr rax, 0x3d
jne 0x14002549e
lea rcx, [r13*8]
call fcn.1400a2d04
mov rcx, r13
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, r12
mov r14, rcx
sub rdx, rbx
je 0x14002545e
lea r14, [rdx + rcx]
xor r8d, r8d
mov r9, rcx
add r9, r8
je 0x1400254a1
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x140025446
lea rdx, [rax + r13*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], rdx
cmp r12, rbx
je 0x14002547e
add r12, 0xfffffffffffffff8
jne 0x140025471
jmp 0x14002549b
test r15, r15
je 0x140025372
mov rcx, r15
call fcn.1400a2cfc
mov r14, qword [rsi + 0x10]
jmp 0x140025372
int3
int3
int3
int3
Function at 0x140026100
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.1400a4d30
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140140040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.1400d6750
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 0x1400261b3
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x1400261b7
lea rdx, [rsp + 0x840]
mov rcx, rsi
call fcn.140026210
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400a4d90
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x140026194
cmp eax, 2
jne 0x1400261ff
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.1400d6750
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 0x140026206
lea rdx, [rsp + 0x40]
jmp 0x14002618a
mov edi, 0x3f4
jmp 0x140026194
mov edi, 0xea
jmp 0x140026194
Function at 0x1400285b0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x140140040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rcx, qword [rcx]
mov rdx, qword [r14 + 8]
xorps xmm0, xmm0
lea rdi, [rsp + 0x30]
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov r8, rdi
call fcn.140084360
cmp byte [rdi + 0x17], 0
jns 0x1400285fb
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x47], 0
jns 0x14002861c
mov rcx, qword [rsp + 0x30]
call fcn.1400a2cfc
test rsi, rsi
je 0x1400286cd
test edi, edi
je 0x1400286cd
mov ecx, edi
add rcx, rcx
call fcn.1400a2ea0
mov rbx, rax
mov rcx, qword [r14]
mov rdx, qword [r14 + 8]
xorps xmm0, xmm0
lea r14, [rsp + 0x30]
movaps xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
mov r8, r14
call fcn.140084360
cmp byte [r14 + 0x17], 0
jns 0x140028669
mov r14, qword [rsp + 0x30]
mov rcx, r14
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x47], 0
jns 0x140028689
mov rcx, qword [rsp + 0x30]
call fcn.1400a2cfc
mov qword [rsp + 0x20], rbx
test rbx, rbx
je 0x1400286eb
mov rcx, rbx
call fcn.1400a333c
lea rdx, [rsp + 0x20]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x30]
call fcn.140083d00
cmp byte [rsi + 0x17], 0
js 0x1400286fe
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.1400a2ea8
test edi, edi
setne bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a4d90
mov eax, ebx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x140121d8c]
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.1400d6ae0
mov rcx, qword [rsi]
call fcn.1400a2cfc
jmp 0x1400286b4
Function at 0x14002a0d0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rax, qword [0x140140040]
xor rax, rsp
mov qword [rsp + 0x48], rax
test rcx, rcx
je 0x14002a209
mov rsi, rdx
mov rdi, rcx
lea rbx, [rsp + 0x40]
mov qword [rbx], 0
mov r15, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call r15
mov r14, rax
call r15
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x30], 2
mov rcx, rax
mov rdx, rdi
mov r8, r14
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
setne bl
je 0x14002a210
mov r15, qword [rsp + 0x40]
cmp qword [rsi], r15
je 0x14002a17c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14002a197
lea rax, [r15 + 1]
cmp rax, 2
jb 0x14002a174
mov qword [rsi], r15
call fcn.14005d1b0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a4d90
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14005d1b0
mov r14, qword [rsi]
cmp qword [0x140151bc0], 0
je 0x14002a1c8
mov rcx, qword [0x140151bc0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x140134870]
mov qword [rsi], 0
jmp 0x14002a162
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14012da12]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002a21d
lea rcx, [sym.opera.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14002a203
call qword [0x140134870]
mov rcx, rax
xor edx, edx
call fcn.14002cc80
jmp 0x14002a1a9
xor ecx, ecx
mov dl, 1
jmp 0x14002a1fc
mov bl, 1
jmp 0x14002a17c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14002a174
xor ecx, ecx
jmp 0x14002a1fa

Function at 0x14002a380
Capabilities:
Check if file exists

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov al, byte [rcx + 8]
cmp al, byte [rdx + 8]
je 0x14002a3ab
test al, al
jne 0x14002a3bf
test rsi, rsi
je 0x14002a3bc
mov rcx, rsi
call fcn.1400161a0
mov byte [rsi + 8], 1
add rsp, 0x20
pop rsi
ret
test al, al
je 0x14002a3a5
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp fcn.14002a3d0
int3
mov rcx, rsi
call fcn.140019740
mov byte [rsi + 8], 0
jmp 0x14002a3a5
Function at 0x14002a3d0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov r14, qword [rdx]
mov qword [rdx], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x14002a3f7
call fcn.14005d1b0
cmp qword [rsi], r14
je 0x14002a426
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14002a435
cmp r15, 2
jb 0x14002a41e
mov qword [rsi], r14
call fcn.14005d1b0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14005d1b0
mov rbx, qword [rsi]
cmp qword [0x140151bc0], 0
je 0x14002a466
mov rcx, qword [0x140151bc0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [0x140134870]
mov qword [rsi], 0
jmp 0x14002a410
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14012da12]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002a4a7
lea rcx, [sym.opera.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14002a4a1
call qword [0x140134870]
mov rcx, rax
xor edx, edx
call fcn.14002cc80
jmp 0x14002a447
xor ecx, ecx
mov dl, 1
jmp 0x14002a49a
xor ecx, ecx
jmp 0x14002a498