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

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x1a0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400c42d8]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov esi, edx
mov rbx, rcx
lea rax, vtable.plat::TimerManager.0
mov qword [rcx], rax
cmp qword [rcx + 0x10], 0
je 0x140037af8
mov rdx, qword [rbx + 0x10]
mov rcx, rbx
call fcn.140038120
nop
cmp qword [rbx + 0x10], 0
jne 0x140037ae4
mov rcx, qword [rbx + 0x38]
cmp rcx, qword [rbx + 0x40]
je 0x140037b32
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0x30]
and rax, rcx
mov rdx, qword [rbx + 0x48]
mov rdx, qword [rdx + rax*8]
mov rcx, rbx
call fcn.140038120
nop
mov rcx, qword [rbx + 0x38]
cmp rcx, qword [rbx + 0x40]
jne 0x140037b10
mov ecx, dword [0x1400c61d0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop
cmp rax, rbx
jne 0x140037b9c
mov rdx, qword [rbx + 8]
mov ecx, dword [0x1400c61d0]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbx + 0x20]
call fcn.140037930
nop
test sil, 1
je 0x140037b73
mov edx, 0x58
mov rcx, rbx
call fcn.14003cad4
nop
mov rax, rbx
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14003cb80
nop
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov r9d, 0x1c
lea r8, str.c:ent_slave_rootworkspace_vncconnect_buildsclients_vnc_7.7.xlabelcon_windows_64_rvcore_baseplat_timermanager.cxx
lea rdx, str.thrInst__this
lea rcx, [rsp + 0x30]
call fcn.1400101f0
nop
mov rcx, rax
call fcn.1400102f0
nop
int3
Function at 0x140066bd0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140066958
Function at 0x140007c70
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov esi, 2
cmp rcx, 1
jne 0x140007ca2
mov rdi, qword [0x1401409e8]
cmp rsi, rdi
jbe 0x140007cd5
lea rcx, [0x1401409e0]
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140070b50
lea rax, [rcx - 1]
test rcx, rax
jne 0x140007cb0
mov rsi, rcx
jmp 0x140007c81
call fcn.14007ead0
mov rsi, rax
jmp 0x140007c81
mov rcx, rdx
call fcn.14007ead0
cmp rsi, rax
cmovbe rsi, rax
cmp rsi, rdi
jb 0x140007c8d
add rsp, 0x28
pop rdi
pop rsi
ret
jae 0x140007cce
mov rax, qword [0x1401409f8]
test rax, rax
jns 0x140007cfa
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x140007cff
cvtsi2ss xmm0, rax
divss xmm0, dword [0x140140a00]
call fcn.1400c63f0
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x140118608]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rdi, 3
jb 0x140007cba
mov rax, rdi
shr rax, 1
movabs rcx, 0x5555555555555555
and rcx, rax
mov rax, rdi
sub rax, rcx
movabs rcx, 0x3333333333333333
mov r8, rax
shr r8, 2
and rax, rcx
and r8, rcx
add r8, rax
mov rax, r8
shr rax, 4
add rax, r8
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rax
movabs rax, 0x101010101010101
imul rax, rcx
shr rax, 0x38
cmp eax, 1
ja 0x140007cba
lea rax, [rdx - 1]
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
cmp rdx, 2
cmovb rax, rdx
jmp 0x140007cc2
Function at 0x1400087e0
Capabilities:
Get file size

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x14012e028]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], r15
movaps xmm0, xmmword [0x1401148f0]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.GetLength
lea r8, str....._base_files_file_win.cc
lea r14, [rsp + 0x20]
mov rcx, r14
mov r9d, 0xac
call fcn.140072e20
xor ebx, ebx
mov rcx, rsi
mov rdx, r14
xor r8d, r8d
call fcn.140079920
mov qword [r14], r15
mov rcx, qword [rdi]
lea rdi, [rsp + 0x20]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp eax, 1
sbb rbx, rbx
or rbx, qword [rdi]
mov rcx, rsi
call fcn.14005e6c0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140098480
mov rax, rbx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400094b0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14012e028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x140140c08]
mov ecx, dword [0x14013da54]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140009510
lea rsi, [0x140140c00]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140098480
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x140140c08]
call fcn.140096228
cmp dword [0x140140c08], 0xffffffff
jne 0x1400094ec
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14009a5c0
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.1400961cc
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140140c50]
mov ecx, dword [0x14013da54]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400095d0
lea r8, [0x140140c20]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140011930
mov qword [0x140140c00], rsi
lea rcx, [0x140140c08]
call fcn.140096508
jmp 0x1400094ec
lea rcx, [0x140140c50]
call fcn.140096228
cmp dword [0x140140c50], 0xffffffff
jne 0x1400095a1
xorps xmm0, xmm0
movups xmmword [0x140140c40], xmm0
movups xmmword [0x140140c30], xmm0
movups xmmword [0x140140c20], xmm0
lea rcx, [0x140140c20]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140140c50]
call fcn.140096508
jmp 0x1400095a1
Function at 0x14000e9d0
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 [0x14012e028]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs r12, 0xfffffffc00000000
shl ebp, 0x10
mov ecx, 0x18
call fcn.1400961cc
mov rsi, rax
mov rax, r15
and rax, r12
cmp rax, qword [0x14013d548]
je 0x14000ea9e
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, [0x1400010f0]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x14000eab3
test r14, r14
je 0x14000eaa8
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140098480
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, r15
call fcn.14005d7d0
jmp 0x14000ea35
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000ea78
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x14000eacc
mov ebp, eax
cmp eax, 0x5af
je 0x14000eacc
cmp ebp, 0xe
jne 0x14000eaf7
mov rcx, rbx
call fcn.1400e6b40
test rsi, rsi
je 0x14000ea78
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x14013d548]
jne 0x14000eaed
call fcn.14005d900
mov rcx, rsi
call fcn.14009614c
jmp 0x14000ea78
mov eax, dword [0x140140cb8]
mov ecx, dword [0x14013da54]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000eb6f
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.140054b20
movzx eax, byte [rbx + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rbx]
cmovns rax, rbx
cmovs rcx, qword [rbx + 8]
lea rdx, [rsp + 0x50]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
mov rcx, qword [0x140140cb0]
call fcn.1400046a0
cmp byte [rbx + 0x17], 0
jns 0x14000ead4
mov rcx, qword [rsp + 0x38]
call fcn.14009614c
jmp 0x14000ead4
lea rcx, [0x140140cb8]
call fcn.140096228
cmp dword [0x140140cb8], 0xffffffff
jne 0x14000eb18
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.140006f70
mov qword [0x140140cb0], rax
lea rcx, [0x140140cb8]
call fcn.140096508
jmp 0x14000eb18
Function at 0x140012070
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.140098420
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14012e028]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.14009a5c0
lea r9, [rsp + 0x3c]
mov dword [r9], 1
lea rax, [rsp + 0x38]
mov dword [rax], 0x800
mov rcx, qword [rbx + 8]
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 0x140012132
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x140012136
lea rdi, [rsp + 0x840]
mov rcx, rdi
call fcn.140096928
mov rcx, rsi
mov rdx, rdi
mov r8, rax
call fcn.140012190
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140098480
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x140012113
cmp eax, 2
jne 0x140012181
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.14009a5c0
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 0x140012188
lea rdi, [rsp + 0x40]
jmp 0x1400120fb
mov edi, 0x3f4
jmp 0x140012113
mov edi, 0xea
jmp 0x140012113
Function at 0x140013940
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
sub rsp, 0x30
mov rax, qword [0x14012e028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rcx, [0x1401485e0]
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140013a30
cmp byte [0x1401485e8], 0
je 0x1400139d5
mov rax, qword [0x1401485f8]
lea rcx, [0x1401485e0]
mov rdx, qword [0x1401485f0]
mov qword [0x1401485f0], rax
mov rsi, rdx
shl rsi, 0x17
xor rsi, rdx
mov rdx, rax
shr rdx, 0x1a
xor rdx, rax
xor rdx, rsi
shr rsi, 0x11
xor rsi, rdx
mov qword [0x1401485f8], rsi
add rsi, rax
shr rsi, 0x20
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140098480
mov eax, esi
add rsp, 0x30
pop rsi
ret
movabs rsi, 0xaaaaaaaaaaaaaaaa
xorps xmm0, xmm0
movups xmmword [0x1401485f0], xmm0
lea rcx, [rsp + 0x20]
mov qword [rcx], rsi
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140013a41
lea rcx, [rsp + 0x20]
mov rax, qword [rcx]
mov qword [0x1401485f0], rax
mov qword [rcx], rsi
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140013a44
mov rax, qword [rsp + 0x20]
mov byte [0x1401485e8], 1
jmp 0x140013979
lea rcx, [0x1401485e0]
call fcn.1400669f0
jmp 0x140013969
int3
int3

Function at 0x140016fd0
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 0x1400170c5
cmp qword [rsi], 0
jne 0x1400170c5
cmp dword [rsi + 0x14], 0
jne 0x1400170c5
cmp qword [rsi + 8], 0
jne 0x1400170c5
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x140017044
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400170ac
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14001703c
mov qword [rsi], r14
call fcn.1400614f0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x14001707e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140017094
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140017076
mov qword [rsi + 8], r14
call fcn.1400614f0
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.1400614f0
mov rcx, qword [rsi + 8]
call fcn.14008d670
mov qword [rsi + 8], 0
jmp 0x140017063
call fcn.1400614f0
mov rcx, qword [rsi]
call fcn.14008d670
mov qword [rsi], 0
jmp 0x14001702a
mov rcx, rsi
call fcn.1400f75d0
mov rax, qword [rsi]
jmp 0x14001700a
Function at 0x1400176d0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rax, qword [0x14012e028]
xor rax, rsp
mov qword [rsp + 0x48], rax
test rcx, rcx
je 0x1400177a9
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 0x1400177ad
mov r14, qword [rsp + 0x40]
cmp qword [rsi], r14
je 0x140017778
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140017793
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140017770
mov qword [rsi], r14
call fcn.1400614f0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140098480
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400614f0
mov rcx, qword [rsi]
call fcn.14008d670
mov qword [rsi], 0
jmp 0x14001775e
mov bl, 1
jmp 0x140017778
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140017770
Function at 0x14001ad90
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 0x14001adb6
call fcn.1400614f0
cmp qword [rsi], rbx
je 0x14001ade5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14001adf2
cmp r14, 2
jb 0x14001addd
mov qword [rsi], rbx
call fcn.1400614f0
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.1400614f0
mov rcx, qword [rsi]
call fcn.14008d670
mov qword [rsi], 0
jmp 0x14001adcf

Function at 0x14001bbb0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rax, qword [0x14012e028]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rax, qword [rcx]
inc rax
cmp rax, 1
ja 0x14001bd4a
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 0x14001bc37
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14001bd27
mov rax, r14
inc rax
cmp rax, 2
jb 0x14001bc2b
mov qword [rsi], r14
call fcn.1400614f0
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi]
lea rax, [r14 + 1]
cmp rax, 1
jbe 0x14001bd64
xor r15d, r15d
lea rcx, [rsp + 0x30]
mov r8d, 0x90
xor edx, edx
call fcn.14009a5c0
test ebp, ebp
jne 0x14001bd06
mov eax, 0xff
mov r15d, 0x408
mov dword [rsp + 0x58], 1
mov ecx, r15d
mov dword [rsp + 0x2c], eax
mov r15d, eax
test rbx, rbx
je 0x14001bc92
or ecx, 0x100
mov qword [rsp + 0xa0], rbx
or ecx, 0x2000
mov dword [rsp + 0x40], ecx
lea r8, [rsp + 0x30]
mov rcx, r14
mov edx, 9
mov r9d, 0x90
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
je 0x14001bd40
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 0x14001bd40
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140098480
mov eax, esi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cmp ebp, 1
jne 0x14001bd1b
mov eax, 0xd8
mov r15d, 8
jmp 0x14001bc6d
cmp ebp, 3
jne 0x14001bd51
xor ecx, ecx
jmp 0x14001bc7f
call fcn.1400614f0
mov rcx, qword [rsi]
call fcn.14008d670
mov qword [rsi], 0
jmp 0x14001bc17
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14001bce4
mov esi, 0x4df
jmp 0x14001bce4
mov eax, 0xc8
cmp ebp, 2
je 0x14001bc75
jmp 0x14001bc9c
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140098480
nop
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x14001d1a0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [0x14012e028]
xor rax, rsp
mov qword [rsp + 0x80], rax
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movaps xmmword [rcx], xmm0
mov edx, 0x10
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x14001d286
movaps xmm0, xmmword [0x1401148f0]
lea rcx, [rsp + 0x30]
movaps xmmword [rcx + 0x10], xmm0
movaps xmmword [rcx + 0x30], xmm0
movaps xmmword [rcx + 0x20], xmm0
mov dword [rcx + 0x40], 0xaaaaaaaa
mov word [rcx], 0x401
mov dword [rcx + 2], 0
mov word [rcx + 6], 0
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [rcx + 8], xmm0
call qword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x14001d284
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetLengthSid]
test eax, eax
je 0x14001d27d
mov ebx, eax
mov rcx, rbx
call fcn.1400961cc
mov rdi, rax
lea r14, [rax + rbx]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov r8, rbx
call fcn.140099f10
mov qword [rsi], rdi
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], r14
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140098480
mov rax, rsi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
xor r14d, r14d
xor edi, edi
jmp 0x14001d252
ud2
int3

Function at 0x14001e4a0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov eax, r8d
mov rsi, rdx
mov rdx, qword [0x14012e028]
xor rdx, rsp
mov qword [rsp + 0x38], rdx
mov rcx, qword [rcx]
movabs rdx, 0xaaaaaaaaaaaaaaaa
lea r8, [rsp + 0x30]
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 0x14001e56e
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14001e56e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14001e56a
call fcn.1400614f0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi], 1
mov qword [rsi + 8], 0
test rbx, rbx
je 0x14001e552
cmp rbx, 0xffffffffffffffff
je 0x14001e573
call fcn.1400614f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsi + 8], rbx
call fcn.1400614f0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140098480
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
xor ebx, ebx
jmp 0x14001e516
mov byte [rsi], 0
jmp 0x14001e552
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14001e54a
Function at 0x140025510
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 0x140025535
call fcn.1400614f0
cmp qword [rsi], rbx
je 0x140025564
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140025571
cmp r14, 2
jb 0x14002555c
mov qword [rsi], rbx
call fcn.1400614f0
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.1400614f0
mov rcx, qword [rsi]
call fcn.14008d670
mov qword [rsi], 0
jmp 0x14002554e

Function at 0x140028530
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
movaps xmmword [rsp + 0x60], xmm6
mov rsi, rcx
mov rax, qword [0x14012e028]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor ebx, ebx
mov ecx, 0x65c2937b
xor eax, eax
lock cmpxchg dword [rsi], ecx
jne 0x1400286d8
mov dword [0x14013eec8], ebx
lea rbp, [0x14013eec8]
movabs rax, 0x100000000
mov qword [0x14013efe8], rax
movaps xmm6, xmmword [0x1401148f0]
lea rdi, [rsp + 0x20]
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
mov r14, qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rcx, rdi
call r14
mov eax, dword [rdi + 4]
mov ecx, dword [rdi + 0x28]
cmp eax, ecx
cmova ecx, eax
mov qword [0x14013eff0], rcx
mov r15d, 0x20
mov qword [0x14013eff8], r15
mov r12d, 0x40
mov qword [0x14013f000], r12
mov dword [0x14013f008], ebx
mov qword [0x14013eed0], rbx
lea rax, [0x14013eed0]
mov r13, 0xffffffffb37cc16a
xor rax, r13
mov qword [0x14013eed8], rax
mov qword [0x14013eee0], rbp
mov dword [0x14013eef0], ebx
lea rcx, [0x14013eef8]
mov r8d, 0xf0
xor edx, edx
call fcn.14009a5c0
mov dword [0x14013f010], ebx
lea rbp, [0x14013f010]
mov qword [0x14013f130], rbx
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdi, [rsp + 0x20]
mov rcx, rdi
call r14
mov eax, dword [rdi + 4]
mov ecx, dword [rdi + 0x28]
cmp eax, ecx
cmova ecx, eax
mov qword [0x14013f138], rcx
mov qword [0x14013f140], r15
mov qword [0x14013f148], r12
mov dword [0x14013f150], ebx
mov qword [0x14013f018], rbx
lea rax, [0x14013f018]
xor rax, r13
mov qword [0x14013f020], rax
mov qword [0x14013f028], rbp
mov dword [0x14013f038], ebx
lea rcx, [0x14013f040]
mov r8d, 0xf0
xor edx, edx
call fcn.14009a5c0
mov eax, 0xdd
xchg dword [rsi], eax
cmp eax, 0x5a308d2
je 0x1400286f8
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140098480
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r9d, edx
lea r8, [0x140115c40]
mov rcx, rsi
mov edx, 3
call fcn.14002f790
test eax, eax
jne 0x1400286b5
jmp 0x14002856a
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140098480
mov rcx, rsi
mov dl, 1
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1400046a0
Function at 0x14002c890
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp dword [rcx + 0x10], 0
mov rcx, qword [rcx]
je 0x14002ca43
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsi]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
movabs rbx, 0xfffffffc00000000
mov rdi, qword [rsi + 0x30]
mov qword [rsi + 0x30], 0
test rdi, rdi
je 0x14002c932
mov rcx, qword [rdi + 0x20]
mov rdx, rdi
call fcn.14002ccf0
test al, al
je 0x14002c902
lea rcx, [rdi + 8]
call fcn.14002ca70
mov rcx, qword [rdi]
test rcx, rcx
je 0x14002c902
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rdi + 0x20]
mov rax, rcx
and rax, rbx
cmp rax, qword [0x14013d548]
je 0x14002ca1a
mov qword [rdi + 0x20], 0
lea rcx, [rdi + 8]
call fcn.14002ca70
mov rcx, rdi
call fcn.14009614c
mov rdx, qword [rsi + 0x48]
mov qword [rsi + 0x48], 0
test rdx, rdx
je 0x14002c952
lea rcx, fcn.140066130
xor r8d, r8d
call fcn.14006ae20
mov rcx, qword [rsi + 0x38]
and rbx, rcx
cmp rbx, qword [0x14013d548]
je 0x14002ca24
mov rdi, qword [rsi + 0x30]
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
test rdi, rdi
jne 0x14002ca2e
mov rax, qword [rsi + 0x28]
inc rax
cmp rax, 2
jb 0x14002c9b8
call fcn.1400614f0
mov rdi, qword [rsi + 0x28]
cmp qword [0x140140ea8], 0
je 0x14002c9d9
mov rcx, qword [0x140140ea8]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rdi
call qword [case.0x1400e3c50.0]
mov qword [rsi + 0x28], 0
lea rcx, [rsi + 0x20]
call fcn.14001dff0
lea rcx, [rsi + 0x18]
call fcn.14001dff0
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14001afd0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14011df36]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002ca66
lea rcx, [sym.opera.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14002ca14
call qword [case.0x1400e3c50.0]
mov rcx, rax
xor edx, edx
call fcn.140022bf0
jmp 0x14002c99a
xor ecx, ecx
mov dl, 1
jmp 0x14002ca0d
call fcn.14005d900
jmp 0x14002c919
call fcn.14005d900
jmp 0x14002c966
mov rcx, rdi
call fcn.1400384b0
mov rcx, rdi
call fcn.14009614c
jmp 0x14002c97a
test rcx, rcx
jne 0x14002c8a7
cmp dword [rsi + 0x14], 0
je 0x14002ca59
xor ecx, ecx
jmp 0x14002c8a7
cmp qword [rsi + 8], 0
je 0x14002c8c0
jmp 0x14002ca52
xor ecx, ecx
jmp 0x14002ca0b