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

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140139028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14014a990]
mov ecx, dword [0x140147910]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000d7b0
lea rsi, [0x14014a988]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400a19c0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14014a990]
call fcn.14009f910
cmp dword [0x14014a990], 0xffffffff
jne 0x14000d78c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400a3b00
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.14009f7f4
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14014a9d8]
mov ecx, dword [0x140147910]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000d870
lea r8, [0x14014a9a8]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140014850
mov qword [0x14014a988], rsi
lea rcx, [0x14014a990]
call fcn.14009f8b0
jmp 0x14000d78c
lea rcx, [0x14014a9d8]
call fcn.14009f910
cmp dword [0x14014a9d8], 0xffffffff
jne 0x14000d841
xorps xmm0, xmm0
movups xmmword [0x14014a9c8], xmm0
movups xmmword [0x14014a9b8], xmm0
movups xmmword [0x14014a9a8], xmm0
lea rcx, [0x14014a9a8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14014a9d8]
call fcn.14009f8b0
jmp 0x14000d841
Function at 0x14000eca0
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 0x14000ece6
mov r14, r12
test r14, r14
je 0x14000ede8
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 0x14000ed48
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 0x14000ed34
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.1400a3450
mov r12, qword [rsi + 8]
add r14, r15
mov qword [rsi + 0x10], r14
lea rax, [r12 + r13*8]
mov qword [rsi + 8], rax
jmp 0x14000ecc2
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 0x14000edee
lea rcx, [r13*8]
call fcn.14009f7f4
mov rcx, r13
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, r12
mov r14, rcx
sub rdx, rbx
je 0x14000edae
lea r14, [rdx + rcx]
xor r8d, r8d
mov r9, rcx
add r9, r8
je 0x14000edf1
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x14000ed96
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 0x14000edce
add r12, 0xfffffffffffffff8
jne 0x14000edc1
jmp 0x14000edeb
test r15, r15
je 0x14000ecc2
mov rcx, r15
call fcn.14009f888
mov r14, qword [rsi + 0x10]
jmp 0x14000ecc2
int3
int3
int3
int3
Function at 0x1400102a0
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 [0x140139028]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xfffffffc00000000
shl ebp, 0x10
mov ecx, 0x18
call fcn.14009f7f4
mov rsi, rax
mov rax, r15
and rax, r12
cmp rax, qword [0x14013b508]
jne 0x14001030d
mov rcx, r15
call fcn.14005e8f0
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, [0x140005100]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x140010381
test r14, r14
je 0x140010376
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400a19c0
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 0x140010350
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0x27a
jle 0x1400103cb
cmp ebp, 0x5af
je 0x1400103a0
cmp ebp, 0x27b
jne 0x1400103d5
mov rcx, rbx
call fcn.1400f1220
test rsi, rsi
je 0x140010350
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x14013b508]
jne 0x1400103c1
call fcn.14005ea50
mov rcx, rsi
call fcn.14009f888
jmp 0x140010350
cmp ebp, 8
je 0x1400103a0
cmp ebp, 0xe
je 0x1400103a0
mov eax, dword [0x14014a9f8]
mov ecx, dword [0x140147910]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140010482
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.140053170
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x14001041b
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
test rax, rax
js 0x14001045c
je 0x140010431
test rbx, rbx
je 0x14001046f
mov rcx, qword [0x14014a9f0]
lea rdx, [rsp + 0x50]
call fcn.1400039e0
cmp byte [rsp + 0x4f], 0
jns 0x1400103a8
mov rcx, qword [rsp + 0x38]
call fcn.14009f888
jmp 0x1400103a8
lea rcx, [0x14011bc04]
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.1400d43e0
lea rcx, [0x14011bc04]
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.1400d43e0
lea rcx, [0x14014a9f8]
call fcn.14009f910
cmp dword [0x14014a9f8], 0xffffffff
jne 0x1400103fa
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.1400038b0
mov qword [0x14014a9f0], rax
lea rcx, [0x14014a9f8]
call fcn.14009f8b0
jmp 0x1400103fa
Function at 0x140014fe0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.1400a1960
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140139028]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.1400a3b00
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 0x140015093
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x140015097
lea rdx, [rsp + 0x840]
mov rcx, rsi
call fcn.1400150f0
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400a19c0
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x140015074
cmp eax, 2
jne 0x1400150df
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.1400a3b00
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 0x1400150e6
lea rdx, [rsp + 0x40]
jmp 0x14001506a
mov edi, 0x3f4
jmp 0x140015074
mov edi, 0xea
jmp 0x140015074

Function at 0x140019ce0
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
jne 0x140019dce
cmp qword [rsi], 0
jne 0x140019dce
cmp dword [rsi + 0x14], 0
jne 0x140019dce
cmp qword [rsi + 8], 0
jne 0x140019dce
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x140019d50
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140019da0
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140019d48
mov qword [rsi], r14
call fcn.14005e8a0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x140019d8a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140019db6
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140019d82
mov qword [rsi + 8], r14
call fcn.14005e8a0
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
call fcn.14005e8a0
mov rcx, qword [rsi]
call fcn.140093610
mov qword [rsi], 0
jmp 0x140019d36
call fcn.14005e8a0
mov rcx, qword [rsi + 8]
call fcn.140093610
mov qword [rsi + 8], 0
jmp 0x140019d6f
mov rcx, rsi
call fcn.1400fe180
mov rax, qword [rsi]
jmp 0x140019d1a
Function at 0x14001a060
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rax, qword [0x140139028]
xor rax, rsp
mov qword [rsp + 0x48], rax
test rcx, rcx
je 0x14001a139
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 0x14001a13d
mov r14, qword [rsp + 0x40]
cmp qword [rsi], r14
je 0x14001a108
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14001a123
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14001a100
mov qword [rsi], r14
call fcn.14005e8a0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400a19c0
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14005e8a0
mov rcx, qword [rsi]
call fcn.140093610
mov qword [rsi], 0
jmp 0x14001a0ee
mov bl, 1
jmp 0x14001a108
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14001a100
Function at 0x14001bcf0
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 [0x140139028]
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.14007e970
cmp byte [rdi + 0x17], 0
jns 0x14001bd3b
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 0x14001bd5c
mov rcx, qword [rsp + 0x30]
call fcn.14009f888
test rsi, rsi
je 0x14001be0d
test edi, edi
je 0x14001be0d
mov ecx, edi
add rcx, rcx
call fcn.14009fa10
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.14007e970
cmp byte [r14 + 0x17], 0
jns 0x14001bda9
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 0x14001bdc9
mov rcx, qword [rsp + 0x30]
call fcn.14009f888
mov qword [rsp + 0x20], rbx
test rbx, rbx
je 0x14001be2b
mov rcx, rbx
call fcn.14009ffb0
lea rdx, [rsp + 0x20]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x30]
call fcn.14008a630
cmp byte [rsi + 0x17], 0
js 0x14001be3e
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.14009fa18
test edi, edi
setne bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400a19c0
mov eax, ebx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x14011bc04]
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.1400d43e0
mov rcx, qword [rsi]
call fcn.14009f888
jmp 0x14001bdf4

Function at 0x14001c6c0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov rbx, qword [rdx]
mov qword [rdx], rax
lea r14, [rbx + 1]
cmp r14, 2
jb 0x14001c6e6
call fcn.14005e8a0
cmp qword [rsi], rbx
je 0x14001c715
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14001c722
cmp r14, 2
jb 0x14001c70d
mov qword [rsi], rbx
call fcn.14005e8a0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14005e8a0
mov rcx, qword [rsi]
call fcn.140093610
mov qword [rsi], 0
jmp 0x14001c6ff
Function at 0x14001d700
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rax, qword [0x140139028]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rax, qword [rcx]
inc rax
cmp rax, 1
ja 0x14001d888
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 0x14001d787
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14001d865
mov rax, r14
inc rax
cmp rax, 2
jb 0x14001d77b
mov qword [rsi], r14
call fcn.14005e8a0
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi]
lea rax, [r14 + 1]
cmp rax, 1
jbe 0x14001d88f
xor r15d, r15d
lea rcx, [rsp + 0x30]
mov r8d, 0x90
xor edx, edx
call fcn.1400a3b00
test ebp, ebp
jne 0x14001d850
mov ecx, 0xff
mov r15d, 0x408
mov dword [rsp + 0x58], 1
mov eax, r15d
mov dword [rsp + 0x2c], ecx
mov r15d, ecx
test rbx, rbx
je 0x14001d7e1
or eax, 0x100
mov qword [rsp + 0xa0], rbx
or eax, 0x2000
mov dword [rsp + 0x40], eax
lea r8, [rsp + 0x30]
mov rcx, r14
mov edx, 9
mov r9d, 0x90
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
je 0x14001d87e
not edi
and r15d, edi
lea r8, [rsp + 0x2c]
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 0x14001d87e
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400a19c0
mov eax, esi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cmp ebp, 1
jne 0x14001d8b6
mov ecx, 0xd8
mov r15d, 8
jmp 0x14001d7bd
call fcn.14005e8a0
mov rcx, qword [rsi]
call fcn.140093610
mov qword [rsi], 0
jmp 0x14001d767
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14001d82e
mov esi, 0x4df
jmp 0x14001d82e
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400a19c0
nop
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0xc8
cmp ebp, 2
je 0x14001d7c5
mov eax, 0
cmp ebp, 3
je 0x14001d7cf
jmp 0x14001d7ea
Function at 0x14001fa10
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 [0x140139028]
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 0x14001fae2
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x14001fae2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14001fade
call fcn.14005e8a0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsi], 0
mov bpl, 1
test rbx, rbx
je 0x14001fac1
cmp rbx, 0xffffffffffffffff
je 0x14001fae9
call fcn.14005e8a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsi], rbx
call fcn.14005e8a0
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.1400a19c0
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
ret
xor ebx, ebx
jmp 0x14001fa87
mov byte [rsi], 0
xor ebp, ebp
jmp 0x14001fac1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14001fab9
Function at 0x140026980
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 0x1400269ab
test al, al
jne 0x1400269bf
test rsi, rsi
je 0x1400269bc
mov rcx, rsi
call fcn.14001c6c0
mov byte [rsi + 8], 1
add rsp, 0x20
pop rsi
ret
test al, al
je 0x1400269a5
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp fcn.1400269d0
int3
mov rcx, rsi
call fcn.14001f4b0
mov byte [rsi + 8], 0
jmp 0x1400269a5

Function at 0x1400269d0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, qword [rdx]
mov qword [rdx], 0
lea r14, [rbx + 1]
cmp r14, 2
jb 0x1400269f5
call fcn.14005e8a0
cmp qword [rsi], rbx
je 0x140026a24
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140026a31
cmp r14, 2
jb 0x140026a1c
mov qword [rsi], rbx
call fcn.14005e8a0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14005e8a0
mov rcx, qword [rsi]
call fcn.140093610
mov qword [rsi], 0
jmp 0x140026a0e

Function at 0x1400282b0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp dword [rcx + 0x10], 0
mov rcx, qword [rcx]
je 0x1400283fb
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsi]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rdi, qword [rsi + 0x30]
mov qword [rsi + 0x30], 0
test rdi, rdi
je 0x140028300
mov rcx, rdi
call fcn.140028440
mov rcx, rdi
call fcn.14009f888
mov rdx, qword [rsi + 0x48]
mov qword [rsi + 0x48], 0
test rdx, rdx
je 0x140028320
lea rcx, fcn.140063060
xor r8d, r8d
call fcn.140061980
mov rcx, qword [rsi + 0x38]
movabs rax, 0xfffffffc00000000
and rax, rcx
cmp rax, qword [0x14013b508]
je 0x1400283f1
mov rdi, qword [rsi + 0x30]
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
test rdi, rdi
jne 0x14002841e
mov rax, qword [rsi + 0x28]
inc rax
cmp rax, 2
jb 0x140028390
call fcn.14005e8a0
mov rdi, qword [rsi + 0x28]
cmp qword [0x14014ab58], 0
je 0x1400283b0
mov rcx, qword [0x14014ab58]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rdi
call qword [0x14012df40]
mov qword [rsi + 0x28], 0
lea rcx, [rsi + 0x20]
call fcn.14001f4b0
lea rcx, [rsi + 0x18]
call fcn.14001f4b0
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14001c740
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140127472]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140028433
lea rcx, [sym.opera.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400283eb
call qword [0x14012df40]
mov rcx, rax
xor edx, edx
call fcn.140021fb0
jmp 0x140028372
xor ecx, ecx
mov dl, 1
jmp 0x1400283e4
call fcn.14005ea50
jmp 0x14002833e
test rcx, rcx
jne 0x1400282c6
cmp dword [rsi + 0x14], 0
jne 0x1400282c6
cmp qword [rsi + 8], 0
jne 0x1400282c6
jmp 0x1400282df
mov rcx, rdi
call fcn.140028440
mov rcx, rdi
call fcn.14009f888
jmp 0x140028352
xor ecx, ecx
jmp 0x1400283e2
Function at 0x140029dc0
Capabilities:
Get file size

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x140139028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x140118af0]
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.1400595f0
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call fcn.1400787e0
mov qword [rsp + 0x80], 0xa
mov al, byte [0x14014a82a]
test al, al
jne 0x140029e8f
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x20]
mov qword [rdi], rax
mov rcx, qword [rsi]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
xor esi, esi
cmp eax, 1
sbb rsi, rsi
or rsi, qword [rdi]
lea rcx, [rsp + 0x40]
call fcn.14007fc60
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400a19c0
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.1400794f0
jmp 0x140029e3e
Function at 0x14002a460
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor eax, eax
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x14002a581
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x14002a5bd
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr edi, 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 0x14002a5c5
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
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, dil
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 0x14002a5b7
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
je 0x14002a5c9
pop rdi
pop rsi
ret
mov dl, byte [r8 + 0x19]
jmp 0x14002a5b0
xor r10d, r10d
jmp 0x14002a4bf
xor eax, eax
jmp 0x14002a554
cmp byte [r8 + 0x1a], 0
je 0x14002a5b4
xor ecx, ecx
mov eax, 0x40000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x14002a5b4
cmp ecx, 0x666f736f
jne 0x14002a5b4
cmp edx, 0x76482074
jne 0x14002a5b4
mov byte [r8 + 0x19], 1
jmp 0x14002a5b4