joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49a120
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x49a20c
push rbp
mov rbp, rsp
sub rsp, 0x48
movabs rdx, 0x6eb06e136b556553
mov qword [rsp + 0x1e], rdx
movabs rdx, 0x697d617d6eb06e13
mov qword [rsp + 0x22], rdx
movabs rdx, 0xfff6e6585bc2064
mov qword [rsp + 0x2a], rdx
movabs rdx, 0x40a08060a021306
mov qword [rsp + 0x32], rdx
movabs rdx, 0xe0a0f041202040a
mov qword [rsp + 0x38], rdx
movabs rdx, 0x212050502120602
mov qword [rsp + 0x40], rdx
xor eax, eax
jmp 0x49a1aa
movzx r9d, byte [rsp + rsi + 0x1e]
lea edx, [r9 + rdx]
lea edx, [rdx - 0x60]
mov byte [rsp + rdi + 0x1e], dl
mov byte [rsp + rsi + 0x1e], r8b
add rax, 2
cmp rax, 0x16
jge 0x49a1dc
movzx edx, byte [rsp + rax + 0x32]
movzx esi, byte [rsp + rax + 0x33]
mov edi, edx
xor edx, esi
add edx, eax
cmp rdi, 0x14
jae 0x49a1ff
movzx r8d, byte [rsp + rdi + 0x1e]
lea r8d, [r8 + rdx]
lea r8d, [r8 - 0x60]
cmp rsi, 0x14
jb 0x49a190
jmp 0x49a1f3
xor eax, eax
lea rbx, [rsp + 0x1e]
mov ecx, 0x14
call fcn.00441380
add rsp, 0x48
pop rbp
ret
mov eax, esi
mov ecx, 0x14
call fcn.00451880
mov eax, edi
mov ecx, 0x14
call fcn.00451880
nop
call fcn.0044f600
jmp fcn.0049a120

Function at 0x49c740
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x49c80a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403080
xorps xmm15, xmm15
mov r14, qword [0x00646990]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x49c7ef
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x0051e740]
xor ebx, ebx
mov rcx, rdx
call fcn.0043dec0
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.0049eb00
inc rbx
cmp rcx, rbx
jae 0x49c7de
mov edi, 1
lea rsi, [0x0051e740]
call fcn.0043dfa0
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x00561ca8]
lea rsi, [0x00561908]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0044f600
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0049c740
Function at 0x140006820
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rbx, r8
mov r15d, edx
mov rsi, rcx
mov rax, qword [0x14003f010]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rdi, [rcx + 0x28]
mov rcx, rdi
call fcn.140006700
xor ebp, ebp
cmp rbx, 0x7fffffff
ja 0x140006868
test al, al
je 0x140006868
cmp qword [rsi + 0x58], 0
je 0x140006884
xor ebp, ebp
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400365a0
mov eax, ebp
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cmp byte [rsi], 0
je 0x14000690d
mov rcx, rdi
call fcn.140006710
mov r14, rax
mov rbp, qword [0x14003f2b0]
test rbp, rbp
jne 0x1400068cb
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtQuerySection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
mov qword [0x14003f2b0], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x30]
mov rcx, r14
xor edx, edx
mov r9d, 0x18
call rbp
test eax, eax
jne 0x140006866
test dword [rsp + 0x38], 0x1000000
jne 0x140006866
mov r14d, r15d
sar r14d, 0x1f
xor eax, eax
cmp byte [rsi + 0x60], 0
sete al
lea ebp, [rax + rax]
add ebp, 4
mov rcx, rdi
call fcn.140006710
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov edx, ebp
mov r8d, r14d
mov r9d, r15d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x58], rax
test rax, rax
jne 0x140006984
xor eax, eax
cmp byte [rsi + 0x60], 0
sete al
lea ebp, [rax + rax]
add ebp, 4
mov rcx, rdi
call fcn.140006710
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov edx, ebp
mov r8d, r14d
mov r9d, r15d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x58], rax
test rax, rax
je 0x140006866
mov rbp, rax
lea rdx, [rsp + 0x30]
mov r8d, 0x30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1400069a4
xor eax, eax
jmp 0x1400069b1
mov rax, qword [rsp + 0x48]
sub rax, rbp
add rax, qword [rsp + 0x38]
mov qword [rsi + 0x50], rax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400066a0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x70], xmm0
call fcn.1400069e0
mov bpl, 1
jmp 0x140006868

Function at 0x140006a40
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x140006ab4
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rcx, rsi
call fcn.140006ad0
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x140006aad
mov qword [rsi], rdi
call fcn.140006670
mov rbx, rax
mov r15, qword [rsp + 0x58]
call sym.plugin_container.exe_GetHandleVerifier
mov rbp, qword [rax]
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov rdx, rdi
mov r8, rsi
mov r9, r15
call qword [rbp + 8]
mov ecx, r14d
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
invalid
invalid
invalid
Function at 0x140001000
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
movabs rax, 0xfffff78000000014
mov rax, qword [rax]
mov dword [0x1400060f8], eax
call fcn.1400011f4
test eax, eax
jns 0x140001031
lfence
mov edx, eax
lea rcx, [0x140002f80]
call sub.ntoskrnl.exe_DbgPrint
call fcn.1400012d8
test eax, eax
jns 0x14000103f
lfence
jmp 0x140001041
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400011f4
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor edx, edx
lea rcx, [0x140002bf0]
call fcn.140001df4
mov rbx, rax
test rax, rax
je 0x1400012b9
lea r8, [0x140002c00]
mov rcx, rax
lea rdx, [0x140002c20]
call fcn.140001d44
mov rsi, rax
test rax, rax
je 0x1400012b0
lea r8, [0x140002c40]
mov rcx, rbx
lea rdx, [0x140002c50]
call fcn.140001d44
test rax, rax
je 0x1400012a7
lea r9, [0x140002c60]
mov edx, 0x20
lea r8, [0x140002c70]
mov rcx, rax
call fcn.140001ccc
test rax, rax
je 0x14000129e
movsxd rbx, dword [rsi + 4]
mov dil, byte [rax + 3]
mov dl, dil
lea rcx, [rbx + 8]
add rcx, rsi
call fcn.140001958
lea rcx, [rbx + 8]
mov dl, dil
add rcx, rsi
call fcn.14000168c
jmp 0x1400012c5
lea rcx, [0x140002c80]
jmp 0x1400012c0
lea rcx, [0x140002cc0]
jmp 0x1400012c0
lea rcx, [0x140002d00]
jmp 0x1400012c0
lea rcx, [0x140002d40]
call sub.ntoskrnl.exe_DbgPrint
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001c24
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov edx, 0x20
xor ecx, ecx
mov r8d, 0x6e556353
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rcx, rax
test rax, rax
jne 0x140001c65
lea rcx, [0x140002fe0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x140001c8e
mov rax, qword [rsi + 0x18]
mov qword [rcx], rax
mov eax, dword [rbx + 8]
mov dword [rcx + 8], eax
mov rax, qword [rbx + 0x40]
mov qword [rcx + 0x10], rax
mov rax, qword [rbx + 0x38]
mov qword [rcx + 0x18], rax
mov byte [rbx + 3], 0x40
mov qword [rbx + 0x40], rcx
mov qword [rbx + 0x38], rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001df4
Capabilities:
Get system information on windows
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x150
xor ebp, ebp
lea r9, [rax + 0x18]
and dword [rax + 0x18], ebp
mov rsi, rdx
mov r14, rcx
xor r8d, r8d
xor edx, edx
lea edi, [rbp + 0xb]
mov ecx, edi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
cmp eax, 0xc0000004
je 0x140001e44
mov edx, eax
lea rcx, [0x140003010]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
jmp 0x140001f75
mov edx, dword [rsp + 0x180]
xor ecx, ecx
mov r8d, 0x6e556353
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
jne 0x140001e71
mov edx, dword [rsp + 0x180]
lea rcx, [0x140003050]
jmp 0x140001e38
mov r8d, dword [rsp + 0x180]
xor r9d, r9d
mov rdx, rbx
mov ecx, edi
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov edi, eax
lfence
test eax, eax
jns 0x140001ea5
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov edx, edi
lea rcx, [0x140003090]
jmp 0x140001e38
xor edi, edi
cmp dword [rbx], edi
jbe 0x140001f67
mov eax, edi
lea rcx, [rsp + 0x20]
imul rax, rax, 0x128
mov edx, 2
add rax, 8
add rax, rbx
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x140001ec9
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov rax, qword [rax + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
lea rcx, [rsp + 0x48]
call fcn.140001fcc
mov rcx, rax
mov rdx, r14
call sub.ntoskrnl.exe_strstr
test rax, rax
jne 0x140001f57
inc edi
cmp edi, dword [rbx]
jb 0x140001eaf
jmp 0x140001f67
mov rbp, qword [rsp + 0x30]
test rsi, rsi
je 0x140001f67
mov ecx, dword [rsp + 0x38]
mov dword [rsi], ecx
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, rbp
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140001f90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r8, rcx
test edx, edx
jne 0x140001f9a
xor eax, eax
ret
movzx eax, byte [rcx]
xor eax, 0x4b9ace2f
imul ecx, eax, 0x1000193
cmp edx, 1
jbe 0x140001fc7
inc r8
dec edx
movzx eax, byte [r8]
inc r8
xor eax, ecx
imul ecx, eax, 0x1000193
sub rdx, 1
jne 0x140001fb2
mov eax, ecx
ret
Function at 0x140002004
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov esi, edx
mov rbp, rcx
mov edx, edx
xor ecx, ecx
mov r8d, 0x6e556353
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
je 0x14000207a
and qword [rsp + 0x50], 0
lea rax, [rsp + 0x50]
mov r9d, 2
mov qword [rsp + 0x20], rax
mov r8d, esi
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_MmCopyMemory]
test eax, eax
js 0x14000206d
cmp qword [rsp + 0x50], rsi
jne 0x14000206d
lfence
mov rax, rbx
jmp 0x14000208a
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x140002088
mov edx, esi
lea rcx, [0x140002fb0]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400020a0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov esi, r8d
mov ebx, ecx
mov edx, r8d
mov rcx, rdi
call fcn.140001f90
xor ebx, eax
test esi, esi
je 0x1400020e6
mov ecx, esi
imul ebx, ebx, 0x41c64e6d
add ebx, 0x3039
mov eax, ebx
shr eax, 0x10
xor byte [rdi], al
inc rdi
sub rcx, 1
jne 0x1400020ca
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001c60
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rdx, rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll__toLocal8Bit_QString__QEHAA_AVQByteArray__XZ]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_char_const____ptr64___cdecl_QByteArray::constData_void_const___ptr64]
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, [0x1400065f4]
mov rcx, rax
call fcn.140001f70
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140003ba4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400039d0
Function at 0x140002590
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x148
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x14005f018]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov eax, 0xffffffff
mov qword [rcx], rax
mov ecx, dword [0x14005f070]
cmp ecx, 0xffffffff
je 0x1400025d1
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400025d6
call fcn.140002780
mov eax, dword [0x1400616d8]
mov ecx, dword [0x14005f488]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x140002634
lea rcx, [0x1400616d8]
call fcn.14002687c
cmp dword [0x1400616d8], 0xffffffff
jne 0x140002634
mov ecx, 8
call sub.mozglue.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov rbx, rax
mov rcx, rax
call fcn.1400022c0
mov qword [0x1400616d0], rbx
lea rcx, [0x1400616d8]
call fcn.14002681c
mov rbx, qword [0x1400616d0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x14005fec8]
inc rax
xor ecx, ecx
lea r8, [0x14005fed0]
lea edx, [rax + rcx]
movzx edi, dl
lea rdx, [rdi + rdi*2]
cmp dword [r8 + rdx*8], 0
jne 0x1400026d6
lea rax, [r8 + rdx*8]
mov dword [rax], 1
mov qword [rax + 8], r14
mov qword [0x14005fec8], rdi
mov dword [rsi], edi
mov eax, dword [rax + 0x10]
mov dword [rsi + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [rsi]
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x24], eax
cmp eax, 0xffffffff
je 0x1400026e8
mov eax, dword [rsi]
mov dword [rsp + 0x28], 0x100
mov dword [rsp + 0x24], eax
cmp eax, 0xff
jg 0x14000272d
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140027a90
mov rax, rsi
add rsp, 0x148
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
cmp rcx, 0x100
jne 0x140002657
jmp 0x140002685
lea r8, str.slot____kInvalidSlotValue
lea rcx, [rsp + 0x24]
lea rdx, [rsp + 0x28]
call fcn.140034cb0
test rax, rax
je 0x1400026a1
lea rdx, str._builds_worker_checkouts_gecko_security_sandbox_chromium_base_threading_thread_local_storage.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x196
mov r9, rax
call fcn.140034a50
mov rcx, rdi
call fcn.140034ac0
jmp 0x1400026a1
lea r8, str.slot____kThreadLocalStorageSize
lea rcx, [rsp + 0x24]
lea rdx, [rsp + 0x28]
call fcn.140034cb0
test rax, rax
je 0x1400026b6
lea rdx, str._builds_worker_checkouts_gecko_security_sandbox_chromium_base_threading_thread_local_storage.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x197
mov r9, rax
call fcn.140034a50
mov rcx, rdi
call fcn.140034ac0
jmp 0x1400026b6
Function at 0x140003400
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
cmp qword [rcx], rdx
je 0x1400034ed
mov r15, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14000348e
lea rax, [r15 + 1]
cmp rax, 2
jb case.default.0x140003487
mov qword [rsi], r15
call fcn.140003500
mov rbx, rax
mov rbp, qword [rsp + 0x68]
call fcn.140003510
mov rcx, qword [rax]
mov rdi, qword [rcx + 8]
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov rdx, r15
mov r8, rsi
mov r9, rbp
mov rax, rdi
call qword [case.0x14002713e.0]
mov ecx, r13d
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.140003500
mov r14, rax
mov rdi, qword [rsp + 0x68]
mov r12, qword [rsi]
call fcn.140003510
mov rcx, qword [rax]
mov r10, qword [rcx + 0x10]
mov qword [rsp + 0x20], r14
mov rcx, rax
mov rdx, r12
mov r8, rsi
mov r9, rdi
mov rax, r10
call qword [case.0x14002713e.0]
mov r14, qword [rsi]
call fcn.140003510
mov rcx, qword [rax]
mov r8, qword [rcx]
mov rcx, rax
mov rdx, r14
mov rax, r8
call qword [case.0x14002713e.0]
mov qword [rsi], 0
jmp 0x140003434
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 0xa948b256
je 0x1400b5e64
mov word [rbx + 0x2f], gs
sbb byte [rbx + 0x6a79c3f5], dh
sub dword [rcx - 0x74], edi
sub dword [rbx - 0x3e1a2025], 0xd59a459f
rcr dword [rdi + 0x54d59a45], 8
mov eax, dword [rax + 0x7c]
jl 0x1400b5ea2
xchg byte [rsi - 0x427211f0], dl
invalid
invalid
invalid
invalid
jl 0x1400b5ea2
or ch, byte [rcx - 0x2d688dae]
pop rdx
invalid
Function at 0x140007e80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
test r8, r8
je 0x140007eb2
mov rbx, rcx
mov rax, qword [rcx + 8]
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx + 0x84], 0
je 0x140007eb2
cmp word [rax + rcx + 0x14], 0x78
jae 0x140007eb9
xor eax, eax
jmp 0x140007fd1
mov rsi, r8
mov r15, rdx
mov edx, dword [rax + rcx + 0x88]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [case.0x14002713e.0]
test rax, rax
je 0x140007eb2
cmp r15, 0xffff
mov qword [rsp + 0x30], rsi
jbe 0x140007fc6
mov r12, rax
mov edx, dword [rax + 0x20]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [case.0x14002713e.0]
mov edx, dword [r12 + 0x18]
lea rcx, [rdx*4]
test rcx, rcx
je 0x140007eb2
lea r14, [rax + rdx*4]
lea r13, [r15 + 1]
mov qword [rsp + 0x28], rax
mov rbp, rax
mov rsi, r14
sub rsi, rbp
mov rax, rsi
sar rax, 2
shr rsi, 0x3f
add rsi, rax
and rsi, 0xfffffffffffffffe
mov edx, dword [rbp + rsi*2]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [case.0x14002713e.0]
mov cl, byte [r15]
test cl, cl
je 0x140007f6b
mov rdx, r13
cmp cl, byte [rax]
jne 0x140007f6d
inc rax
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x140007f5b
xor ecx, ecx
lea rsi, [rsi*2]
add rsi, rbp
movzx ecx, cl
movzx eax, byte [rax]
mov edx, ecx
sub edx, eax
lea rdi, [rsi + 4]
test edx, edx
cmovg rbp, rdi
cmp ecx, eax
cmovs r14, rsi
je 0x140007f9e
cmp rbp, r14
jne 0x140007f25
jmp 0x140007eb2
mov edx, dword [r12 + 0x24]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [case.0x14002713e.0]
sub rsi, qword [rsp + 0x28]
sar rsi, 1
movzx r15d, word [rax + rsi]
add r15w, word [r12 + 0x10]
mov rax, qword [rsp + 0x30]
mov word [rax], r15w
mov al, 1
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140008e40
Capabilities:
Allocate or change rwx memory

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rsi, r9
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov r9d, dword [rsp + 0xa0]
mov rax, qword [0x14005f018]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea r15, [rsp + 0x34]
mov qword [rsp + 0x20], r15
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x140008ef4
lea r12, [rsp + 0x28]
mov qword [rsp + 0x20], r12
mov rcx, rbx
mov rdx, rdi
mov r8, r14
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebp, eax
mov r14, qword [r12]
mov r9d, dword [rsp + 0x34]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x140008ef4
test ebp, ebp
setne al
cmp r14, rsi
sete sil
and sil, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140027a90
mov eax, esi
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x140008ed6
Function at 0x14000b8d0
Capabilities:
Compare security identifiers

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x14005f018]
xor rax, rsp
mov qword [rsp + 0x88], rax
cmp byte [rcx + 0x6c], 0
je 0x14000ba6d
mov rsi, rdx
mov r13, rcx
lea rdx, [rcx + 0x60]
lea rbx, [rsp + 0x30]
lea r9, [rsp + 0x3c]
mov rcx, rbx
mov r8d, 2
call fcn.14000ba80
mov r12, qword [rbx]
test r12, r12
je 0x14000ba74
cmp dword [r12], 0
je 0x14000ba35
lea rbx, [r12 + 8]
lea rax, [r13 + 0x30]
mov qword [rsp + 0x28], rax
xor r15d, r15d
xorps xmm6, xmm6
mov rbp, qword [sym.imp.ADVAPI32.dll_EqualSid]
mov rdi, r15
shl rdi, 4
test dword [rbx + rdi + 8], 0xc0000020
jne 0x14000ba0e
add rdi, rbx
test rsi, rsi
je 0x14000b9bf
mov rax, qword [rsi]
cmp qword [rsi + 8], rax
je 0x14000b9bf
xor r14d, r14d
mov rdx, qword [rdi]
mov rcx, r14
shl rcx, 6
lea rcx, [rcx + r14*4]
add rcx, rax
call rbp
test eax, eax
jne 0x14000ba0e
inc r14d
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
sub rcx, rax
sar rcx, 2
movabs rdx, 0xf0f0f0f0f0f0f0f1
imul rcx, rdx
cmp rcx, r14
ja 0x14000b984
mov r8, qword [rdi]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
mov dword [rsp + 0x80], 0
mov ecx, 0x44
lea rdi, [rsp + 0x40]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_CopySid]
mov rcx, qword [r13 + 0x38]
mov rdx, qword [r13 + 0x40]
cmp rdx, rcx
jne 0x14000ba20
mov rcx, qword [rsp + 0x28]
mov r8, rdi
call fcn.14000bbd0
inc r15
mov eax, dword [r12]
cmp r15, rax
jb 0x14000b95b
jmp 0x14000ba35
mov r8d, 0x44
mov rdx, rdi
call sub.ntdll.dll_memcpy
add qword [r13 + 0x38], 0x44
jmp 0x14000ba0e
mov rcx, r12
call sub.mozglue.dll_void___cdecl_operator_delete___void____ptr64_
xor esi, esi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140027a90
mov eax, esi
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov esi, 0x3f0
jmp 0x14000ba3f
mov esi, dword [rsp + 0x3c]
jmp 0x14000ba3f