joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005640
Capabilities:
Set thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x140149990]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp byte [rax + 0x120], 0
je 0x1400056fd
mov eax, dword [0x140149990]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x160], 1
je 0x1400056f9
mov ecx, dword [rsi + 0x1928]
test ecx, ecx
jne 0x1400056f9
mov ecx, 1
lock xadd dword [rsi + 0x1928], ecx
cmp ecx, 0x7fffffff
je 0x140005707
test rsi, rsi
je 0x14000570a
lea rbx, [rax + 0x160]
call fcn.14000d840
mov edx, 0x570
mov rcx, rax
xor r8d, r8d
call fcn.14000d900
mov rdi, rax
mov rcx, rax
mov rdx, rsi
call fcn.140070350
mov ecx, dword [0x14014ceb8]
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 0x1400056ee
call fcn.14009ec38
jmp 0x14000566a
int3
int3

Function at 0x140008670
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14013b040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14014c9f8]
mov ecx, dword [0x140149990]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400086d0
lea rsi, [0x14014c9f0]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14009f1f0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14014c9f8]
call fcn.14009d484
cmp dword [0x14014c9f8], 0xffffffff
jne 0x1400086ac
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400d0e60
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.14009d274
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14014ca40]
mov ecx, dword [0x140149990]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140008790
lea r8, [0x14014ca10]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140018180
mov qword [0x14014c9f0], rsi
lea rcx, [0x14014c9f8]
call fcn.14009d418
jmp 0x1400086ac
lea rcx, [0x14014ca40]
call fcn.14009d484
cmp dword [0x14014ca40], 0xffffffff
jne 0x140008761
xorps xmm0, xmm0
movups xmmword [0x14014ca30], xmm0
movups xmmword [0x14014ca20], xmm0
movups xmmword [0x14014ca10], xmm0
lea rcx, [0x14014ca10]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14014ca40]
call fcn.14009d418
jmp 0x140008761
Function at 0x140009730
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 0x140009776
mov r15, rbx
test r15, r15
je 0x140009871
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 0x1400097d2
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 0x1400097c1
mov rcx, r15
mov rdx, r14
mov r8, rbx
call fcn.1400d07c0
mov r14, qword [rsi + 8]
add r15, rbx
mov qword [rsi + 0x10], r15
lea rax, [r14 + r12*8]
mov qword [rsi + 8], rax
jmp 0x140009752
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 0x140009877
lea rcx, [r13*8]
call fcn.14009d274
mov rcx, r13
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rbx
mov r15, rcx
sub rdx, r14
je 0x140009837
xor r15d, r15d
mov r8, rcx
add r8, r15
je 0x14000987a
mov r9, qword [r14 + r15]
mov qword [r8], r9
add r15, 8
cmp rdx, r15
jne 0x14000981c
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 0x140009857
add rbx, 0xfffffffffffffff8
jne 0x14000984a
jmp 0x140009874
test r12, r12
je 0x140009752
mov rcx, r12
call fcn.14009d26c
mov r15, qword [rsi + 0x10]
jmp 0x140009752
int3
int3
int3
int3
Function at 0x14000a530
Capabilities:
Get file size

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x14013b040]
xor rax, rsp
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [0x14011c0c0]
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.140058150
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call fcn.140058400
mov qword [rsp + 0x80], 0xa
mov al, byte [0x14014c88a]
test al, al
jne 0x14000a61a
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.14007f000
lea rcx, [rsp + 0x40]
call fcn.14007f040
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14009f1f0
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.1400ed770
jmp 0x14000a5ae
Function at 0x14000ef60
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 [0x14013b040]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xfffffffc00000000
shl ebp, 0x10
mov ecx, 0x18
call fcn.14009d274
mov rsi, rax
mov rax, r15
and rax, r12
cmp rax, qword [0x14013d588]
jne 0x14000efcd
mov rcx, r15
call fcn.14005a5f0
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, section..text
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x14000f041
test r14, r14
je 0x14000f036
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14009f1f0
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 0x14000f010
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0x27a
jle 0x14000f08b
cmp ebp, 0x5af
je 0x14000f060
cmp ebp, 0x27b
jne 0x14000f095
mov rcx, rbx
call fcn.1400f0c00
test rsi, rsi
je 0x14000f010
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x14013d588]
jne 0x14000f081
call fcn.14005a8b0
mov rcx, rsi
call fcn.14009d26c
jmp 0x14000f010
cmp ebp, 8
je 0x14000f060
cmp ebp, 0xe
je 0x14000f060
mov eax, dword [0x14014ca60]
mov ecx, dword [0x140149990]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000f14a
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.140055730
movsx rax, byte [rbx + 0x17]
test rax, rax
jns 0x14000f0dd
mov rax, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rax
test rax, rax
js 0x14000f124
sete al
test rbx, rbx
setne cl
or cl, al
je 0x14000f137
mov rcx, qword [0x14014ca58]
lea rdx, [rsp + 0x50]
call fcn.140004790
cmp byte [rsp + 0x4f], 0
jns 0x14000f068
mov rcx, qword [rsp + 0x38]
call fcn.14009d26c
jmp 0x14000f068
lea rcx, [0x14011c264]
lea rdx, str....._third_partylibc_srcinclude_string_view:318:_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.1400d1300
lea rcx, [0x14011c264]
lea rdx, str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.1400d1300
lea rcx, [0x14014ca60]
call fcn.14009d484
cmp dword [0x14014ca60], 0xffffffff
jne 0x14000f0ba
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.140004660
mov qword [0x14014ca58], rax
lea rcx, [0x14014ca60]
call fcn.14009d418
jmp 0x14000f0ba
Function at 0x140018960
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.14009f190
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14013b040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.1400d0e60
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 0x140018a13
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x140018a17
lea rdx, [rsp + 0x840]
mov rcx, rsi
call fcn.140018a70
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14009f1f0
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x1400189f4
cmp eax, 2
jne 0x140018a5f
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.1400d0e60
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 0x140018a66
lea rdx, [rsp + 0x40]
jmp 0x1400189ea
mov edi, 0x3f4
jmp 0x1400189f4
mov edi, 0xea
jmp 0x1400189f4

Function at 0x14001b930
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
mov eax, 0x10040
call fcn.14009f190
sub rsp, rax
mov rsi, rdx
mov rax, qword [0x14013b040]
xor rax, rsp
mov qword [rsp + 0x10038], rax
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
xorps xmm0, xmm0
lea rdi, [rsp + 0x20]
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov rcx, rax
mov r8, rdi
call fcn.14007ca60
test rsi, rsi
je 0x14001b9fd
lea rbx, [rsp + 0x3a]
mov r8d, 0xfffe
mov rcx, rbx
mov dl, 0xaa
call fcn.1400d0e60
cmp byte [rsp + 0x37], 0
jns 0x14001b9a0
mov rdi, qword [rsp + 0x20]
mov rcx, rdi
mov rdx, rbx
mov r8d, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne bl
je 0x14001b9cf
cmp eax, 0x7fff
jae 0x14001ba22
mov edx, eax
lea rcx, [rsp + 0x3a]
mov r8, rsi
call fcn.14002ea70
cmp byte [rsp + 0x37], 0
jns 0x14001b9e0
mov rcx, qword [rsp + 0x20]
call fcn.14009d26c
mov rcx, qword [rsp + 0x10038]
xor rcx, rsp
call fcn.14009f1f0
mov eax, ebx
add rsp, 0x10040
pop rbx
pop rdi
pop rsi
ret
cmp byte [rsp + 0x37], 0
js 0x14001ba0b
lea rcx, [rsp + 0x20]
jmp 0x14001ba10
mov rcx, qword [rsp + 0x20]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne bl
jmp 0x14001b9cf
int3
Function at 0x14001c540
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 0x14001c568
call fcn.140057820
cmp qword [rsi], r14
je 0x14001c597
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14001c5a6
cmp r15, 2
jb 0x14001c58f
mov qword [rsi], r14
call fcn.140057820
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.140057820
mov rbx, qword [rsi]
cmp qword [0x14014cbe0], 0
je 0x14001c5d7
mov rcx, qword [0x14014cbe0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [0x14012fc00]
mov qword [rsi], 0
jmp 0x14001c581
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1401281f5]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001c618
lea rcx, [sym.opera.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14001c612
call qword [0x14012fc00]
mov rcx, rax
xor edx, edx
call fcn.14002cd30
jmp 0x14001c5b8
xor ecx, ecx
mov dl, 1
jmp 0x14001c60b
xor ecx, ecx
jmp 0x14001c609
Function at 0x14001da90
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 [0x14013b040]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov rax, qword [rcx]
inc rax
cmp rax, 1
ja 0x14001dc8c
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 r15, qword [rsi]
cmp r15, rax
je 0x14001db1a
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14001dc06
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14001db0e
mov qword [rsi], r14
call fcn.140057820
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r15, qword [rsi]
lea rax, [r15 + 1]
cmp rax, 1
jbe 0x14001dc96
xor r14d, r14d
lea rcx, [rsp + 0x28]
mov r8d, 0x90
xor edx, edx
call fcn.1400d0e60
test ebp, ebp
jne 0x14001dbed
mov ecx, 0xff
mov r14d, 0x408
mov dword [rsp + 0x50], 1
mov eax, r14d
mov dword [rsp + 0x24], ecx
mov r14d, ecx
test rbx, rbx
je 0x14001db74
or eax, 0x100
mov qword [rsp + 0x98], rbx
or eax, 0x2000
mov dword [rsp + 0x38], eax
lea r8, [rsp + 0x28]
mov rcx, r15
mov edx, 9
mov r9d, 0x90
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
je 0x14001dc7f
not edi
and r14d, edi
lea r8, [rsp + 0x24]
mov dword [r8], r14d
mov rcx, qword [rsi]
mov edx, 4
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
xor esi, esi
test eax, eax
je 0x14001dc7f
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14009f1f0
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 0x14001dcbf
mov ecx, 0xd8
mov r14d, 8
jmp 0x14001db50
call fcn.140057820
mov r12, qword [rsi]
cmp qword [0x14014cbe0], 0
je 0x14001dc3a
mov rcx, qword [0x14014cbe0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r12
call qword [0x14012fc00]
mov qword [rsi], 0
jmp 0x14001dafc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1401281f5]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001dce0
lea rcx, [sym.opera.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14001dc79
call qword [0x14012fc00]
mov rcx, rax
xor edx, edx
call fcn.14002cd30
jmp 0x14001dc18
xor ecx, ecx
mov dl, 1
jmp 0x14001dc72
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14001dbc9
mov esi, 0x4df
jmp 0x14001dbc9
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14009f1f0
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 0x14001db58
mov eax, 0
cmp ebp, 3
je 0x14001db62
jmp 0x14001db7d
xor ecx, ecx
jmp 0x14001dc70
Function at 0x14001ffe0
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 [0x14013b040]
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 0x1400200b2
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1400200b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400200ae
call fcn.140057820
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsi], 0
mov bpl, 1
test rbx, rbx
je 0x140020091
cmp rbx, 0xffffffffffffffff
je 0x1400200b9
call fcn.140057820
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsi], rbx
call fcn.140057820
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.14009f1f0
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
ret
xor ebx, ebx
jmp 0x140020057
mov byte [rsi], 0
xor ebp, ebp
jmp 0x140020091
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140020089
Function at 0x140022a00
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, rdx
mov rax, qword [0x14013b040]
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 0x140022acf
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140022acf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x140022acb
call fcn.140057820
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsi], 0
mov bpl, 1
test rbx, rbx
je 0x140022aae
cmp rbx, 0xffffffffffffffff
je 0x140022ad6
call fcn.140057820
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsi], rbx
call fcn.140057820
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.14009f1f0
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
ret
xor ebx, ebx
jmp 0x140022a74
mov byte [rsi], 0
xor ebp, ebp
jmp 0x140022aae
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140022aa6
Function at 0x140028360
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rax, qword [0x14013b040]
xor rax, rsp
mov qword [rsp + 0x48], rax
test rcx, rcx
je 0x140028499
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 0x1400284a0
mov r15, qword [rsp + 0x40]
cmp qword [rsi], r15
je 0x14002840c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140028427
lea rax, [r15 + 1]
cmp rax, 2
jb 0x140028404
mov qword [rsi], r15
call fcn.140057820
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14009f1f0
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140057820
mov r14, qword [rsi]
cmp qword [0x14014cbe0], 0
je 0x140028458
mov rcx, qword [0x14014cbe0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x14012fc00]
mov qword [rsi], 0
jmp 0x1400283f2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1401281f5]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400284ad
lea rcx, [sym.opera.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140028493
call qword [0x14012fc00]
mov rcx, rax
xor edx, edx
call fcn.14002cd30
jmp 0x140028439
xor ecx, ecx
mov dl, 1
jmp 0x14002848c
mov bl, 1
jmp 0x14002840c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140028404
xor ecx, ecx
jmp 0x14002848a

Function at 0x1400298e0
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 0x14002990b
test al, al
jne 0x14002991f
test rsi, rsi
je 0x14002991c
mov rcx, rsi
call fcn.14001c540
mov byte [rsi + 8], 1
add rsp, 0x20
pop rsi
ret
test al, al
je 0x140029905
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp fcn.140029930
int3
mov rcx, rsi
call fcn.14001fcf0
mov byte [rsi + 8], 0
jmp 0x140029905
Function at 0x140029930
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 0x140029957
call fcn.140057820
cmp qword [rsi], r14
je 0x140029986
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140029995
cmp r15, 2
jb 0x14002997e
mov qword [rsi], r14
call fcn.140057820
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.140057820
mov rbx, qword [rsi]
cmp qword [0x14014cbe0], 0
je 0x1400299c6
mov rcx, qword [0x14014cbe0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [0x14012fc00]
mov qword [rsi], 0
jmp 0x140029970
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1401281f5]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140029a07
lea rcx, [sym.opera.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140029a01
call qword [0x14012fc00]
mov rcx, rax
xor edx, edx
call fcn.14002cd30
jmp 0x1400299a7
xor ecx, ecx
mov dl, 1
jmp 0x1400299fa
xor ecx, ecx
jmp 0x1400299f8
Function at 0x140029a10
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
jne 0x140029bcc
cmp qword [rsi], 0
jne 0x140029bcc
cmp dword [rsi + 0x14], 0
jne 0x140029bcc
cmp qword [rsi + 8], 0
jne 0x140029bcc
xor eax, eax
mov r15, qword [rdi]
cmp rax, r15
je 0x140029a86
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140029b0f
lea rax, [r15 + 1]
cmp rax, 2
jb 0x140029a7e
mov qword [rsi], r15
call fcn.140057820
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r15, qword [rdi + 8]
cmp qword [rsi + 8], r15
je 0x140029ac0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140029ad8
lea rax, [r15 + 1]
cmp rax, 2
jb 0x140029ab8
mov qword [rsi + 8], r15
call fcn.140057820
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, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140057820
mov r14, qword [rsi + 8]
cmp qword [0x14014cbe0], 0
je 0x140029b88
mov rcx, qword [0x14014cbe0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x14012fc00]
mov qword [rsi + 8], 0
jmp 0x140029aa5
call fcn.140057820
mov r14, qword [rsi]
cmp qword [0x14014cbe0], 0
je 0x140029b43
mov rcx, qword [0x14014cbe0]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x14012fc00]
mov qword [rsi], 0
jmp 0x140029a6c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1401281f5]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140029bed
lea rcx, [sym.opera.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140029b82
call qword [0x14012fc00]
mov rcx, rax
xor edx, edx
call fcn.14002cd30
jmp 0x140029b21
xor ecx, ecx
mov dl, 1
jmp 0x140029b7b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1401281f5]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140029bf1
lea rcx, [sym.opera.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140029bc6
call qword [0x14012fc00]
mov rcx, rax
xor edx, edx
call fcn.14002cd30
jmp 0x140029aef
xor ecx, ecx
mov dl, 1
jmp 0x140029bbc
mov rcx, rsi
call fcn.1400970f0
lea rcx, [rsi + 8]
call fcn.1400970f0
mov qword [rsi + 0x10], 0
mov rax, qword [rsi]
jmp 0x140029a4c
xor ecx, ecx
jmp 0x140029b79
xor ecx, ecx
jmp 0x140029bba