joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400052f0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
mov rax, rdx
movzx edx, byte [r8]
movabs rdi, 0xcbf29ce484222325
xor rdi, rdx
movabs rdx, 0x100000001b3
imul rdi, rdx
movzx esi, byte [r8 + 1]
xor rsi, rdi
imul rsi, rdx
movzx edi, byte [r8 + 2]
xor rdi, rsi
imul rdi, rdx
movzx esi, byte [r8 + 3]
xor rsi, rdi
imul rsi, rdx
and rsi, qword [rcx + 0x30]
mov r11, qword [rcx + 8]
mov r9, qword [rcx + 0x18]
lea r10, [rsi + rsi]
add r10, 1
shl rsi, 4
mov rdx, qword [r9 + rsi]
mov r8d, dword [r8]
mov rcx, rdx
nop word [rax + rax]
mov rsi, rdx
cmp rdx, r11
je 0x14000536f
mov rsi, qword [r9 + r10*8]
mov rsi, qword [rsi]
cmp rsi, rcx
je 0x1400053b4
cmp dword [rcx + 0x10], r8d
je 0x14000537f
mov rcx, qword [rcx]
jmp 0x140005360
mov rsi, rcx
nop word cs:[rax + rax]
nop dword [rax]
mov rdi, rdx
cmp rdx, r11
je 0x14000539f
mov rdi, qword [r9 + r10*8]
mov rdi, qword [rdi]
cmp rdi, rsi
je 0x1400053af
cmp r8d, dword [rsi + 0x10]
jne 0x1400053af
mov rsi, qword [rsi]
jmp 0x140005390
cmp rcx, rsi
jne 0x1400053ba
mov rcx, r11
mov rsi, r11
mov qword [rax], rcx
mov qword [rax + 8], rsi
pop rdi
pop rsi
ret

Function at 0x1400054b0
Capabilities:
Hash data using fnv

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
movzx eax, byte [r8 + 0x10]
movabs rbx, 0xcbf29ce484222325
xor rbx, rax
movabs rax, 0x100000001b3
imul rbx, rax
movzx edi, byte [r8 + 0x11]
xor rdi, rbx
imul rdi, rax
movzx ebx, byte [r8 + 0x12]
xor rbx, rdi
imul rbx, rax
movzx esi, byte [r8 + 0x13]
xor rsi, rbx
imul rsi, rax
and rsi, qword [rcx + 0x30]
mov r14, rdx
lea rdx, [rsi + rsi]
mov rdi, qword [rcx + 0x18]
mov rbx, rsi
shl rbx, 4
lea rax, [rdi + rbx]
mov rbx, qword [rdi + rbx]
cmp qword [rdi + rdx*8 + 8], r8
je 0x14000552c
cmp rbx, r8
jne 0x140005543
mov rdx, r8
jmp 0x14000553d
cmp rbx, r8
je 0x140005575
lea rax, [rdi + rdx*8]
add rax, 8
lea rdx, [r8 + 8]
mov rdx, qword [rdx]
mov qword [rax], rdx
mov rsi, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rax], rsi
mov rax, qword [r8]
mov rdx, qword [r8 + 8]
mov qword [rax + 8], rdx
add qword [rcx + 0x10], 0xffffffffffffffff
mov rcx, r8
call fcn.140003590
mov qword [r14], rsi
mov rax, r14
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rdx, qword [rcx + 8]
mov qword [rax], rdx
lea rax, [rsi + rsi]
add rax, 1
lea rdx, [rcx + 8]
shl rax, 3
add rax, qword [rcx + 0x18]
jmp 0x14000553d
Function at 0x140005e10
Capabilities:
Reference processor manufacturer constants

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov r14, rcx
mov rax, qword [0x140040010]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor eax, eax
xor ecx, ecx
cpuid
mov ebp, eax
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x24], edx
mov dword [rsp + 0x28], ecx
mov byte [rsp + 0x2c], 0
lea rcx, [r14 + 0x28]
lea rdx, [rsp + 0x20]
call fcn.140006060
test ebp, ebp
jle 0x140005fd4
xor r8d, r8d
mov eax, 1
xor ecx, ecx
cpuid
mov esi, ecx
mov r9d, edx
mov edi, eax
cmp ebp, 7
jl 0x140005e87
mov eax, 7
xor ecx, ecx
cpuid
mov r8d, ebx
shr r8b, 5
and r8b, 1
mov dword [r14], edi
mov eax, edi
and eax, 0xf
mov dword [r14 + 0x10], eax
mov eax, edi
shr eax, 4
and eax, 0xf
mov ecx, edi
shr ecx, 0xc
mov edx, ecx
and edx, 0xf0
or edx, eax
mov dword [r14 + 0xc], edx
mov eax, edi
shr eax, 8
and eax, 0xf
mov dword [r14 + 8], eax
and ecx, 3
mov dword [r14 + 4], ecx
mov eax, edi
shr eax, 0x10
and eax, 0xf
mov dword [r14 + 0x14], eax
shr edi, 0x14
movzx eax, dil
mov dword [r14 + 0x18], eax
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r14 + 0x1c], al
mov eax, r9d
shr eax, 0x19
and al, 1
mov byte [r14 + 0x1d], al
shr r9d, 0x1a
and r9b, 1
mov byte [r14 + 0x1e], r9b
mov eax, esi
and al, 1
mov byte [r14 + 0x1f], al
mov eax, esi
shr eax, 9
and al, 1
mov byte [r14 + 0x20], al
mov eax, esi
shr eax, 0x13
and al, 1
mov byte [r14 + 0x21], al
mov eax, esi
shr eax, 0x14
and al, 1
mov byte [r14 + 0x22], al
mov eax, esi
shr eax, 0x17
and al, 1
mov byte [r14 + 0x23], al
test esi, esi
setns dil
mov ecx, esi
and ecx, 0x1c000000
xor ebp, ebp
mov eax, 0
cmp ecx, 0x1c000000
jne 0x140005f5c
xor ecx, ecx
xgetbv
and eax, 6
cmp rax, 6
sete al
mov byte [r14 + 0x24], al
shr esi, 0x19
and sil, 1
mov byte [r14 + 0x26], sil
test al, al
movzx eax, r8b
cmove eax, ebp
mov byte [r14 + 0x25], al
mov eax, 0x80000000
xor ecx, ecx
cpuid
cmp eax, 0x80000004
jge 0x140005fd9
cmp byte [r14 + 0x27], 0
setne al
or dil, al
jne 0x140005fbb
mov eax, 0x40000000
xor ecx, ecx
cpuid
cmp edx, 0x76482074
jne 0x140005fbb
cmp ebx, 0x7263694d
jne 0x140005fbb
cmp ecx, 0x666f736f
jne 0x140005fbb
mov byte [r14 + 0x27], 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140036e40
nop
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov dil, 1
jmp 0x140005f78
mov esi, eax
mov eax, 0x80000002
xor ecx, ecx
cpuid
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], ebx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x2c], edx
mov eax, 0x80000003
xor ecx, ecx
cpuid
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x3c], edx
mov eax, 0x80000004
xor ecx, ecx
cpuid
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x4c], edx
mov byte [rsp + 0x50], 0
lea rcx, [r14 + 0x48]
lea rdx, [rsp + 0x20]
call fcn.140006060
cmp esi, 0x80000007
jl 0x140005f88
mov eax, 0x80000007
xor ecx, ecx
cpuid
shr edx, 8
and dl, 1
mov byte [r14 + 0x27], dl
jmp 0x140005f88
Function at 0x1400066a0
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 0x1400066ac
xor eax, eax
ret
jmp 0x1400013e0
Function at 0x140006930
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 [0x140040010]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rdi, [rcx + 0x28]
mov rcx, rdi
call fcn.140006810
xor ebp, ebp
cmp rbx, 0x7fffffff
ja 0x140006978
test al, al
je 0x140006978
cmp qword [rsi + 0x58], 0
je 0x140006994
xor ebp, ebp
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140036e40
mov eax, ebp
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cmp byte [rsi], 0
je 0x140006a1d
mov rcx, rdi
call fcn.140006820
mov r14, rax
mov rbp, qword [0x1400402b0]
test rbp, rbp
jne 0x1400069db
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 [0x1400402b0], 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 0x140006976
test dword [rsp + 0x38], 0x1000000
jne 0x140006976
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.140006820
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 0x140006a94
xor eax, eax
cmp byte [rsi + 0x60], 0
sete al
lea ebp, [rax + rax]
add ebp, 4
mov rcx, rdi
call fcn.140006820
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 0x140006976
mov rbp, rax
lea rdx, [rsp + 0x30]
mov r8d, 0x30
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140006ab4
xor eax, eax
jmp 0x140006ac1
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.1400067b0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x70], xmm0
call fcn.140006af0
mov bpl, 1
jmp 0x140006978
Function at 0x140006b50
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 0x140006bc4
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rcx, rsi
call fcn.140006be0
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x140006bbd
mov qword [rsi], rdi
call fcn.140006780
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
and esi, eax
adc edi, ebp
std
out dx, al
and ebx, ebp
cmp ebx, 0x63
xor ebp, dword [rbx + rdx*4 - 0x46]
sub ah, bh
lea ebp, [rax + 0x5c]
or dword [rsi + rdi*4 - 0x33d51067], edx
invalid
jae 0x14007ace6
movabs al, byte [0x7e7b2ea734be2667]
invalid
mov esi, 0x7b2ea734
jle 0x14007acec
hlt
sbb bl, ah
jl 0x14007ac9b
pop rax
mov r11b, 0xb
invalid
xor eax, 0x11705248
adc eax, 0x4c4068da
shr dword [rsi + 0x3c71e8c3], 1
invalid
in al, 0x1b
jb 0x14007ace2
cmc
invalid

Function at 0x140006c50
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 [0x140040010]
xor rax, rsp
mov qword [rsp + 0x138], rax
test rdx, rdx
je 0x140006ce0
mov rsi, rdx
mov rdi, rcx
mov r13d, 0xffffffff
lea r14, str.z:_task_1581954009_build_src_security_sandbox_chromium_base_rand_util_win.cc
lea r15, str.success
lea r12, [rsp + 0x28]
jmp 0x140006ca8
add rdi, rbx
sub rsi, rbx
je 0x140006ce0
cmp rsi, r13
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
jne 0x140006ca0
mov rcx, r12
mov rdx, r14
mov r8d, 0x20
mov r9, r15
call fcn.1400016f0
mov rcx, r12
call fcn.1400017f0
jmp 0x140006ca0
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.140036e40
nop
add rsp, 0x140
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000b4f0
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 [0x140040010]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov ecx, dword [0x140040038]
cmp ecx, 0xffffffff
je 0x14000b52a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x14000b52f
call fcn.14000b710
mov eax, dword [0x140041b08]
mov ecx, dword [0x140040180]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b607
mov rbx, qword [0x140041b00]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rcx, qword [0x1400402f0]
add rcx, 1
mov r8d, 0x100
lea rax, [0x140040300]
movzx edi, cl
lea rdx, [rdi + rdi*2]
cmp dword [rax + rdx*8], 0
jne 0x14000b64d
lea rcx, [rax + rdx*8]
mov dword [rcx], 1
lea rcx, [rdi + rdi*2]
mov qword [rax + rcx*8 + 8], r14
mov qword [0x1400402f0], 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 0x14000b674
mov eax, dword [rsi]
mov dword [rsp + 0x30], 0x100
mov dword [rsp + 0x2c], eax
cmp eax, 0xff
jg 0x14000b6bd
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140036e40
nop
add rsp, 0x148
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x140041b08]
call fcn.140035b60
cmp dword [0x140041b08], 0xffffffff
jne 0x14000b554
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.140009b80
mov qword [0x140041b00], rbx
lea rcx, [0x140041b08]
call fcn.140035bc8
jmp 0x14000b554
lea edx, [rcx + 1]
movzx edi, dl
lea rdx, [rdi + rdi*2]
cmp dword [rax + rdx*8], 0
je 0x14000b58d
add rcx, 2
add r8, 0xfffffffffffffffe
jne 0x14000b57c
jmp 0x14000b5b0
lea r8, str.slot____kInvalidSlotValue
lea rcx, [rsp + 0x2c]
lea rdx, [rsp + 0x30]
call fcn.140001a30
test rax, rax
je 0x14000b5d0
lea rdx, str.z:_task_1581954009_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 0x14000b5d0
lea r8, str.slot____kThreadLocalStorageSize
lea rcx, [rsp + 0x2c]
lea rdx, [rsp + 0x30]
call fcn.140001a30
test rax, rax
je 0x14000b5e9
lea rdx, str.z:_task_1581954009_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 0x14000b5e9
Function at 0x14000b710
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.140036e80
sub rsp, rax
mov rax, qword [0x140040010]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov esi, dword [0x140040038]
cmp esi, 0xffffffff
jne 0x14000b76d
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esi, eax
cmp eax, 0xffffffff
je 0x14000b834
mov eax, 0xffffffff
lock cmpxchg dword [0x140040038], esi
je 0x14000b76d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsFree]
mov esi, dword [0x140040038]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x20], rax
test rax, rax
jne 0x14000b7e9
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.140036e40
mov rax, rbx
add rsp, 0x1028
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdx, [0x140038290]
lea r8, str.PlatformThreadLocalStorage::GetTLSValue_key___kUninitialized
lea rcx, [rsp + 0x20]
call fcn.14000b960
test rax, rax
je 0x14000b77f
lea rdx, str.z:_task_1581954009_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 0x14000b77f
lea rdx, str.z:_task_1581954009_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 0x14000b893
lea rdx, str.z:_task_1581954009_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 0x14000b750

Function at 0x14000b8b0
Capabilities:
Get thread local storage value

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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140040038]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000b92d
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 0x14000b926
call fcn.14000b710
jmp 0x14000b90d

Function at 0x14000c190
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 0x14000c1c2
mov rdi, rcx
mov rax, qword [rcx + 8]
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx + 0x84], 0
je 0x14000c1c2
cmp word [rax + rcx + 0x14], 0x78
jae 0x14000c1d5
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 0x14000c1c2
cmp r12, 0xffff
ja 0x14000c201
mov word [rsi], r12w
mov al, 1
jmp 0x14000c1c4
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 0x14000c1c2
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 0x14000c283
mov rdx, r13
cmp cl, byte [rax]
jne 0x14000c285
add rax, 1
movzx ecx, byte [rdx]
add rdx, 1
test cl, cl
jne 0x14000c270
xor ecx, ecx
lea rbx, [rbx*2]
add rbx, rbp
movzx ecx, cl
movzx eax, byte [rax]
sub ecx, eax
je 0x14000c2b4
lea rax, [rbx + 4]
test ecx, ecx
cmovle r15, rbx
cmovg rbp, rax
xor eax, eax
cmp rbp, r15
jne 0x14000c240
jmp 0x14000c1c4
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 0x14000c1fd

Function at 0x14000c380
Capabilities:
Parse pe header

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

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140040010]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x140041b50]
mov ecx, dword [0x140040180]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000d367
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140036e40
nop
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x140041b50]
call fcn.140035b60
cmp dword [0x140041b50], 0xffffffff
jne 0x14000d34c
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 0x14000d3b9
cmp eax, 6
jne 0x14000d3f4
lea rcx, [0x14003a59a]
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, [0x140041b58]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rdx, [rsp + 0x30]
mov rcx, rdi
mov r8d, esi
call fcn.14000d440
mov qword [0x140041b48], rdi
lea rcx, [0x140041b50]
call fcn.140035bc8
jmp 0x14000d34c
Function at 0x140018e30
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 [0x140040010]
xor rax, rsp
mov qword [rsp + 0x158], rax
test dl, dl
jne 0x140018e8d
xor ebx, ebx
cmp qword [rsi + 0x10], 0
jne 0x140018eec
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.140036e40
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, [0x140038570]
lea r8, str.NtMapViewOfSection
mov rcx, rsi
mov rdx, rdi
mov r9d, 1
call fcn.140018500
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.140018500
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.140018330
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 0x140018f95
lea rdx, str.z:_task_1581954009_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.140019210
mov ebx, eax
test eax, eax
jne 0x140018e68
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 0x140018e68
cmp qword [rsp + 0x40], 0x20
jne 0x140018e68
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.14002de20
mov ebx, eax
jmp 0x140018e68

Function at 0x14001a3a0
Capabilities:
Read file via mapping

Disassembly:
mov r9, r8
mov r8, rdx
mov rdx, rcx
mov rcx, qword [0x140041d08]
jmp sym.plugin_container.exe_TargetGetOPMInformation