joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140006590
Capabilities:
Encode data using xor

Disassembly:
push rsi
xor eax, eax
test rcx, rcx
je 0x140001515
test edx, edx
jle 0x140001515
mov r8d, edx
and r8d, 3
mov r11d, edx
shr r11d, 2
je 0x140001496
lea r10d, [r11 - 1]
test dl, 4
jne 0x140001419
mov r9d, r11d
mov rsi, rcx
jmp 0x140001441
movzx r9d, word [rcx]
add r9d, edx
movzx eax, word [rcx + 2]
shl eax, 0xb
xor eax, r9d
shl r9d, 0x10
xor r9d, eax
lea rsi, [rcx + 4]
mov edx, r9d
shr edx, 0xb
add edx, r9d
mov r9d, r10d
lea r10, [r10*4]
cmp r11d, 1
je 0x14000148f
nop
movzx eax, word [rsi]
add eax, edx
movzx edx, word [rsi + 2]
shl edx, 0xb
xor edx, eax
shl eax, 0x10
xor eax, edx
mov edx, eax
shr edx, 0xb
add edx, eax
movzx eax, word [rsi + 4]
add eax, edx
movzx edx, word [rsi + 6]
shl edx, 0xb
xor edx, eax
shl eax, 0x10
xor eax, edx
mov edx, eax
shr edx, 0xb
add edx, eax
add rsi, 8
add r9d, 0xfffffffe
jg 0x140001450
add rcx, r10
add rcx, 4
cmp r8d, 1
je 0x1400014c4
cmp r8d, 2
je 0x1400014d6
cmp r8d, 3
jne 0x1400014e9
movzx eax, word [rcx]
add edx, eax
movsx eax, byte [rcx + 2]
shl eax, 0x12
xor eax, edx
mov ecx, edx
shl ecx, 0x10
xor eax, ecx
mov edx, eax
shr edx, 0xb
jmp 0x1400014e7
movsx eax, byte [rcx]
add edx, eax
mov eax, edx
shl eax, 0xa
xor eax, edx
mov edx, eax
shr edx, 1
jmp 0x1400014e7
movzx eax, word [rcx]
add edx, eax
mov eax, edx
shl eax, 0xb
xor eax, edx
mov edx, eax
shr edx, 0x11
add edx, eax
lea eax, [rdx*8]
xor eax, edx
mov ecx, eax
shr ecx, 5
add ecx, eax
mov eax, ecx
shl eax, 4
xor eax, ecx
mov ecx, eax
shr ecx, 0x11
add ecx, eax
mov edx, ecx
shl edx, 0x19
xor edx, ecx
mov eax, edx
shr eax, 6
add eax, edx
pop rsi
ret
cmp rdx, 0x7fffffff
jbe 0x14000659c
xor eax, eax
ret
jmp 0x1400013e0
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
xor byte [rbx - 8], ch
mov ah, 0x77
movabs al, byte [0x8fd28b467a2affea]
dec dh
xchg ebx, eax
sub al, 0x7c
invalid
Function at 0x140006b40
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x140
mov rax, qword [0x14003f010]
xor rax, rsp
mov qword [rsp + 0x138], rax
test rdx, rdx
je 0x140006bd0
mov rsi, rdx
mov rdi, rcx
mov r13d, 0xffffffff
lea r14, str.z:_task_1579288126_build_src_security_sandbox_chromium_base_rand_util_win.cc
lea r15, str.success
lea r12, [rsp + 0x28]
jmp 0x140006b98
add rdi, rbx
sub rsi, rbx
je 0x140006bd0
cmp rsi, r13
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x140006b90
mov rcx, r12
mov rdx, r14
mov r8d, 0x20
mov r9, r15
call fcn.1400016f0
mov rcx, r12
call fcn.1400017f0
jmp 0x140006b90
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.1400365a0
nop
add rsp, 0x140
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000b350
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 [0x14003f010]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov ecx, dword [0x14003f038]
cmp ecx, 0xffffffff
je 0x14000b38a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x14000b38f
call fcn.14000b570
mov eax, dword [0x140040b08]
mov ecx, dword [0x14003f180]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b467
mov rbx, qword [0x140040b00]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rcx, qword [0x14003f2f0]
add rcx, 1
mov r8d, 0x100
lea rax, [0x14003f300]
movzx edi, cl
lea rdx, [rdi + rdi*2]
cmp dword [rax + rdx*8], 0
jne 0x14000b4ad
lea rcx, [rax + rdx*8]
mov dword [rcx], 1
lea rcx, [rdi + rdi*2]
mov qword [rax + rcx*8 + 8], r14
mov qword [0x14003f2f0], rdi
mov dword [rsi], edi
mov eax, dword [rax + rcx*8 + 0x10]
mov dword [rsi + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [rsi]
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x2c], eax
cmp eax, 0xffffffff
je 0x14000b4d4
mov eax, dword [rsi]
mov dword [rsp + 0x30], 0x100
mov dword [rsp + 0x2c], eax
cmp eax, 0xff
jg 0x14000b51d
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400365a0
nop
add rsp, 0x148
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x140040b08]
call fcn.1400352c0
cmp dword [0x140040b08], 0xffffffff
jne 0x14000b3b4
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.140009a70
mov qword [0x140040b00], rbx
lea rcx, [0x140040b08]
call fcn.140035328
jmp 0x14000b3b4
lea edx, [rcx + 1]
movzx edi, dl
lea rdx, [rdi + rdi*2]
cmp dword [rax + rdx*8], 0
je 0x14000b3ed
add rcx, 2
add r8, 0xfffffffffffffffe
jne 0x14000b3dc
jmp 0x14000b410
lea r8, str.slot____kInvalidSlotValue
lea rcx, [rsp + 0x2c]
lea rdx, [rsp + 0x30]
call fcn.140001a30
test rax, rax
je 0x14000b430
lea rdx, str.z:_task_1579288126_build_src_security_sandbox_chromium_base_threading_thread_local_storage.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x159
mov r9, rax
call fcn.140001740
mov rcx, rdi
call fcn.1400017f0
jmp 0x14000b430
lea r8, str.slot____kThreadLocalStorageSize
lea rcx, [rsp + 0x2c]
lea rdx, [rsp + 0x30]
call fcn.140001a30
test rax, rax
je 0x14000b449
lea rdx, str.z:_task_1579288126_build_src_security_sandbox_chromium_base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x15a
mov r9, rax
call fcn.140001740
mov rcx, rsi
call fcn.1400017f0
jmp 0x14000b449
Function at 0x14000b570
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1028
call fcn.1400365e0
sub rsp, rax
mov rax, qword [0x14003f010]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov esi, dword [0x14003f038]
cmp esi, 0xffffffff
jne 0x14000b5cd
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esi, eax
cmp eax, 0xffffffff
je 0x14000b694
mov eax, 0xffffffff
lock cmpxchg dword [0x14003f038], esi
je 0x14000b5cd
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsFree]
mov esi, dword [0x14003f038]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
test rax, rax
jne 0x14000b649
lea rdi, [rsp + 0x20]
mov r8d, 0x1000
mov rcx, rdi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov r14, qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, esi
mov rdx, rdi
call r14
mov ecx, 0x1000
call sub.mozglue.dll_void____ptr64___cdecl_operator_new___unsigned_long_long_unsigned___int64__
mov rbx, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, esi
mov rdx, rbx
call r14
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.1400365a0
mov rax, rbx
add rsp, 0x1028
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdx, [0x140037290]
lea r8, str.PlatformThreadLocalStorage::GetTLSValue_key___kUninitialized
lea rcx, [rsp + 0x20]
call fcn.14000b7c0
test rax, rax
je 0x14000b5df
lea rdx, str.z:_task_1579288126_build_src_security_sandbox_chromium_base_threading_thread_local_storage.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0xb5
mov r9, rax
call fcn.140001740
mov rcx, rdi
call fcn.1400017f0
jmp 0x14000b5df
lea rdx, str.z:_task_1579288126_build_src_security_sandbox_chromium_base_threading_thread_local_storage.cc
lea r9, str.PlatformThreadLocalStorage::AllocTLS_key_
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0x99
call fcn.1400016f0
mov rcx, rsi
call fcn.1400017f0
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esi, eax
cmp eax, 0xffffffff
jne 0x14000b6f3
lea rdx, str.z:_task_1579288126_build_src_security_sandbox_chromium_base_threading_thread_local_storage.cc
lea r9, str.PlatformThreadLocalStorage::AllocTLS_key___key___PlatformThreadLocalStorage::TLS_KEY_OUT_OF_INDEXES
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0xa3
call fcn.1400016f0
mov rcx, rdi
call fcn.1400017f0
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsFree]
jmp 0x14000b5b0

Function at 0x14000b710
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x14003f038]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000b73f
movsxd rcx, dword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 4]
jne 0x14000b73f
mov rax, qword [rax + rcx]
jmp 0x14000b741
xor eax, eax
add rsp, 0x20
pop rsi
ret
Function at 0x14000b750
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x14003f038]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000b78d
movsxd rcx, dword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 4]
movsxd rdx, dword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x14000b786
call fcn.14000b570
jmp 0x14000b76d

Function at 0x14000bff0
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, 0x28
test r8, r8
je 0x14000c022
mov rdi, rcx
mov rax, qword [rcx + 8]
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx + 0x84], 0
je 0x14000c022
cmp word [rax + rcx + 0x14], 0x78
jae 0x14000c035
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rsi, r8
mov r12, rdx
mov edx, dword [rax + rcx + 0x88]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
test rax, rax
je 0x14000c022
cmp r12, 0xffff
ja 0x14000c061
mov word [rsi], r12w
mov al, 1
jmp 0x14000c024
mov r14, rax
mov edx, dword [rax + 0x20]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov edx, dword [r14 + 0x18]
lea rcx, [rdx*4]
test rcx, rcx
je 0x14000c022
lea r15, [rax + rdx*4]
lea r13, [r12 + 1]
mov qword [rsp + 0x20], rax
mov rbp, rax
nop word cs:[rax + rax]
nop dword [rax]
mov rbx, r15
sub rbx, rbp
mov rax, rbx
sar rax, 2
shr rbx, 0x3f
add rbx, rax
and rbx, 0xfffffffffffffffe
mov edx, dword [rbp + rbx*2]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov cl, byte [r12]
test cl, cl
je 0x14000c0e3
mov rdx, r13
cmp cl, byte [rax]
jne 0x14000c0e5
add rax, 1
movzx ecx, byte [rdx]
add rdx, 1
test cl, cl
jne 0x14000c0d0
xor ecx, ecx
lea rbx, [rbx*2]
add rbx, rbp
movzx ecx, cl
movzx eax, byte [rax]
sub ecx, eax
je 0x14000c114
lea rax, [rbx + 4]
test ecx, ecx
cmovle r15, rbx
cmovg rbp, rax
xor eax, eax
cmp rbp, r15
jne 0x14000c0a0
jmp 0x14000c024
mov edx, dword [r14 + 0x24]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
sub rbx, qword [rsp + 0x20]
sar rbx, 1
movzx eax, word [rax + rbx]
add ax, word [r14 + 0x10]
mov word [rsi], ax
jmp 0x14000c05d

Function at 0x14000c1e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rcx + 8]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14000c217
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14000c217
movzx edx, word [rax + rcx + 0x14]
cmp edx, 0xf0
jne 0x14000c217
movzx eax, word [rax + rcx + 0x18]
cmp eax, 0x20b
sete al
ret
xor eax, eax
ret
Function at 0x14000d160
Capabilities:
Check os version
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14003f010]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x140040b50]
mov ecx, dword [0x14003f180]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000d1b7
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400365a0
nop
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x140040b50]
call fcn.1400352c0
cmp dword [0x140040b50], 0xffffffff
jne 0x14000d19c
lea rcx, [rsp + 0x34]
xor esi, esi
mov r8d, 0x118
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0x11c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [rsp + 0x2c], 0
mov eax, dword [rsp + 0x34]
cmp eax, 0xa
je 0x14000d209
cmp eax, 6
jne 0x14000d244
lea rcx, [0x14003958e]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetProductInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x38]
lea rdi, [rsp + 0x2c]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call rax
mov esi, dword [rsp + 0x2c]
mov ecx, pe_nt_image_headers64
call sub.mozglue.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov rdi, rax
lea rcx, [0x140040b58]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rdx, [rsp + 0x30]
mov rcx, rdi
mov r8d, esi
call fcn.14000d290
mov qword [0x140040b48], rdi
lea rcx, [0x140040b50]
call fcn.140035328
jmp 0x14000d19c
Function at 0x140018b50
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x160
mov rsi, rcx
mov rax, qword [0x14003f010]
xor rax, rsp
mov qword [rsp + 0x158], rax
test dl, dl
jne 0x140018bad
xor ebx, ebx
cmp qword [rsi + 0x10], 0
jne 0x140018c0c
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.1400365a0
mov eax, ebx
add rsp, 0x160
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, str.TargetNtMapViewOfSection64
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
lea rdi, [0x140037570]
lea r8, str.NtMapViewOfSection
mov rcx, rsi
mov rdx, rdi
mov r9d, 1
call fcn.140018240
lea rax, str.TargetNtUnmapViewOfSection64
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 1
lea r8, str.NtUnmapViewOfSection
mov rcx, rsi
mov rdx, rdi
mov r9d, 1
call fcn.140018240
mov rax, qword [rsi]
mov r14, qword [rax]
mov dword [rsp + 0x20], 1
mov r13, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r8d, 0x10000
mov rcx, r14
xor edx, edx
mov r9d, 0x2000
call r13
mov r12, rax
mov rdi, qword [rsi + 0x10]
shl rdi, 6
lea r15, [rdi + 0x60]
mov rcx, r15
call fcn.140018070
mov rbx, rax
and rax, 0xfffffffffffff000
lea rdx, [rax + r12]
and ebx, 0xfff
add rdi, 0x105f
and rdi, 0xfffffffffffff000
mov dword [rsp + 0x20], 0x40
mov rcx, r14
mov r8, rdi
mov r9d, 0x1000
call r13
mov rdi, rax
test rax, rax
jne 0x140018cb5
lea rdx, str.z:_task_1579288126_build_src_security_sandbox_chromium_sandbox_win_src_interception.cc
lea r9, str.thunk_base
lea r12, [rsp + 0x48]
mov rcx, r12
mov r8d, 0x1a8
call fcn.1400016f0
mov rcx, r12
call fcn.1400017f0
add rdi, rbx
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x50], 0x20
lea rcx, [sym.plugin_container.exe_g_originals]
mov r8d, 0x148
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x48]
mov rcx, rsi
mov rdx, rdi
mov r8, r15
call fcn.140018f30
mov ebx, eax
test eax, eax
jne 0x140018b88
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x48]
mov r9d, 0x20
mov rcx, r14
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebx, 0x2a
test eax, eax
je 0x140018b88
cmp qword [rsp + 0x40], 0x20
jne 0x140018b88
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
mov rcx, r14
mov rdx, rdi
mov r8, r15
mov r9d, 0x20
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [rsi]
lea rdx, str.g_originals
lea r8, [sym.plugin_container.exe_g_originals]
mov r9d, 0x148
call fcn.14002d970
mov ebx, eax
jmp 0x140018b88

Function at 0x14001a0c0
Capabilities:
Read file via mapping

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, rcx
mov rcx, qword [0x140040d08]
jmp sym.plugin_container.exe_TargetGetOPMInformation
Function at 0x14001af40
Capabilities:
Create pipe

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rbx, qword [rsp + 0xb8]
mov rax, qword [0x14003f010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rbx], 0xffffffffffffffff
mov esi, 5
cmp ecx, 3
jne 0x14001b023
mov eax, dword [rsp + 0xb0]
mov edi, dword [rsp + 0xa8]
mov ecx, dword [rsp + 0xa0]
mov r10d, dword [rsp + 0x98]
mov r11d, dword [rsp + 0x90]
cmp qword [r8 + 0x18], 7
jbe 0x14001afa2
mov r8, qword [r8]
mov rsi, qword [rdx]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ecx
mov qword [rsp + 0x38], 0
mov rcx, r8
mov edx, r9d
mov r8d, r11d
mov r9d, r10d
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp rax, 0xffffffffffffffff
je 0x14001b03a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, rax
mov rdx, rdi
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
cmp eax, 1
sbb rcx, rcx
or rcx, qword [rsp + 0x40]
mov qword [rbx], rcx
xor eax, eax
cmp rcx, 0xffffffffffffffff
sete al
lea esi, [rax + rax*4]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400365a0
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
mov rcx, 0xffffffffffffffff
jmp 0x14001b014
Function at 0x14001ff50
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rax, qword [0x14003f010]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov ebx, 0xc000000d
test r9d, r9d
jne 0x14001ff98
mov rdi, r8
mov rsi, rdx
call fcn.14002e0a0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov ebx, 0xc0000022
cmp dword [rax], 2
jge 0x14001ffb9
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1400365a0
mov eax, ebx
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140028190
test al, al
je 0x14001ff98
mov r15, qword [0x140040e98]
test r15, r15
je 0x14001ff98
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x1000
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x8000004
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
lea rcx, [rsp + 0x50]
mov rdx, rax
call fcn.140006a40
mov r14, qword [rsp + 0x50]
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140020042
mov qword [rsp + 0x20], 0x1000
mov rcx, r14
mov edx, 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x58], rax
mov r14, qword [rsp + 0x50]
mov ebx, 0xc000000d
lea rax, [r14 + 1]
cmp rax, 2
jae 0x140020070
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140020061
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rcx, [rsp + 0x50]
call fcn.140006ad0
jmp 0x14001ff98
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140020051
mov r8d, 0x1000
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0x40], r15
add r15, qword [r15 + 0x10]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x38]
mov edx, 0x1e
call fcn.140020110
mov ebx, 0xc0000022
test eax, eax
jne 0x140020051
mov ebx, dword [rsp + 0x68]
jmp 0x140020051
Function at 0x1400201d0
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rsi, r9
mov rbx, r8
mov rdi, rdx
mov rax, qword [0x14003f010]
xor rax, rsp
mov qword [rsp + 0xc0], rax
call fcn.14002e0a0
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov ebp, 0xc0000022
cmp dword [rax], 2
jge 0x140020234
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400365a0
mov eax, ebp
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140028190
test al, al
je 0x140020212
mov r15, qword [0x140040e98]
test r15, r15
je 0x140020212
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x1010
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x8000004
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
lea rcx, [rsp + 0x50]
mov rdx, rax
call fcn.140006a40
mov r14, qword [rsp + 0x50]
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400202bd
mov qword [rsp + 0x20], 0x1010
mov rcx, r14
mov edx, 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x58], rax
mov r14, qword [rsp + 0x50]
mov ebp, 0xc000000d
lea rax, [r14 + 1]
cmp rax, 2
jae 0x1400202eb
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400202dc
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rcx, [rsp + 0x50]
call fcn.140006ad0
jmp 0x140020212
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400202cc
mov r8d, 0x1010
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0x40], r15
add r15, qword [r15 + 0x10]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x38]
mov edx, 0x1f
call fcn.140020110
mov ebp, 0xc0000022
test eax, eax
jne 0x1400202cc
mov ebp, dword [rsp + 0x68]
test ebp, ebp
jne 0x1400202cc
mov rdx, qword [rsp + 0x58]
mov r8d, 0x1000
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
xor ebp, ebp
jmp 0x1400202cc