joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027e30
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001b8b4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b8b4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027f80
cmp rax, 0xffffffffffffffff
je 0x140027f80
xor edi, edi
test rbp, rbp
jle 0x140027f2b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001deb8
mov rbx, rax
test rax, rax
jne 0x140027eb8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027f21
mov edx, 0x8000
mov ecx, r14d
call fcn.140015968
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001c590
cmp eax, 0xffffffff
je 0x140027f01
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027ec8
mov edx, r15d
mov ecx, r14d
call fcn.140015968
jmp 0x140027f21
cmp byte [rsi + 0x38], dil
je 0x140027f18
cmp dword [rsi + 0x34], 5
jne 0x140027f18
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027f21
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140019f78
jmp 0x140027f94
jns 0x140027f94
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b8b4
cmp rax, 0xffffffffffffffff
jne 0x140027f4c
cmp byte [rsi + 0x30], dil
je 0x140027f94
mov edi, dword [rsi + 0x2c]
jmp 0x140027f94
mov ecx, r14d
call fcn.14001705c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027f94
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140027f94
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027f8d
mov eax, dword [rsi + 0x2c]
jmp 0x140027f92
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b8b4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14000192c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001976
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001976
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001976
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001976
cmp dword [rcx + 0x84], 0xe
jbe 0x140001976
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001978
xor al, al
add rsp, 0x28
ret
Function at 0x1400016e0
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x140041028]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x140042f44]
mov ecx, dword [0x1400411a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140001730
mov esi, dword [0x140042f40]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140018b90
mov eax, esi
add rsp, 0x60
pop rsi
ret
lea rcx, [0x140042f44]
call fcn.140017fa0
cmp dword [0x140042f44], 0xffffffff
jne 0x140001715
lea rsi, [rsp + 0x28]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsi + 0x28]
mov dword [0x140042f40], eax
lea rcx, [0x140042f44]
call fcn.140018008
jmp 0x140001715

Function at 0x140001770
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x140041028]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x140042f34]
mov ecx, dword [0x1400411a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400017c0
mov esi, dword [0x140042f30]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140018b90
mov eax, esi
add rsp, 0x60
pop rsi
ret
lea rcx, [0x140042f34]
call fcn.140017fa0
cmp dword [0x140042f34], 0xffffffff
jne 0x1400017a5
lea rsi, [rsp + 0x28]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsi + 4]
mov dword [0x140042f30], eax
lea rcx, [0x140042f34]
call fcn.140018008
jmp 0x1400017a5

Function at 0x140001800
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
cmp byte [rcx + 0x1c], 0
jne 0x140001846
mov r15, qword [r14 + 0x20]
lea rcx, [0x14003ac50]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp byte [r14 + 0x1c], 0
jne 0x140001846
xor ecx, ecx
cmp r15, rax
sete cl
bts rcx, 0x20
mov qword [r14 + 0x18], rcx
mov rcx, r14
mov rdx, rbx
mov r8, rdi
mov r9, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.140001870
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x14001ec56
mov rsi, r9
mov rdi, r8
mov r14, rdx
and rcx, 0xfffffffffffffffc
call fcn.140018dd0
test al, al
je 0x14001ec56
mov rcx, qword [rbx + 0x20]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001ec56
mov r14, rax
mov rcx, rax
call fcn.140018dd0
test al, al
je 0x14001ec56
mov rcx, rbx
mov rdx, r14
mov r8, rdi
mov r9, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp 0x140001800
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140002840
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, rdx
mov rax, qword [0x140041028]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rcx + 8]
test rax, rax
je 0x140002a3e
mov rdi, rcx
mov ebp, dword [rcx + 0x18]
shl ebp, 7
mov edx, ebp
or edx, 0x7f
mov ecx, dword [rcx + 0x14]
cmp edx, ecx
jb 0x140002908
cmp ecx, dword [rdi + 0x10]
jae 0x140002a3e
mov eax, dword [0x140042f34]
mov ecx, dword [0x1400411a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400029bc
mov edx, dword [0x140042f30]
mov ecx, dword [rdi + 0x14]
add rcx, qword [rdi + 8]
mov r8d, 0x1000
mov r9d, 0x20
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x140002a3e
mov eax, dword [0x140042f34]
mov ecx, dword [0x1400411a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400029fd
mov eax, dword [0x140042f30]
add dword [rdi + 0x14], eax
mov rax, qword [rdi + 8]
mov ecx, ebp
add rcx, rax
lea r9, [rsp + 0x30]
mov qword [r9 - 8], rdi
mov dword [r9], 0
mov qword [r9 + 8], rcx
mov qword [r9 + 0x10], rcx
xorps xmm0, xmm0
movups xmmword [r9 + 0x18], xmm0
mov dword [r9 + 0x28], 0x80
mov byte [r9 + 0x2c], 1
mov edx, 0x80
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140002953
mov eax, dword [rsp + 0x30]
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
mov r9, qword [rsp + 0x40]
mov cl, byte [rsp + 0x5c]
test r8, r8
je 0x14000297d
test rdx, rdx
je 0x140002980
test r9, r9
je 0x140002980
test eax, eax
je 0x140002980
test cl, cl
je 0x140002980
inc dword [rdi + 0x18]
mov qword [rsi], r8
mov dword [rsi + 8], eax
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], r9
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi + 0x20], xmm0
mov eax, dword [rsp + 0x58]
mov dword [rsi + 0x30], eax
mov byte [rsi + 0x34], cl
mov byte [rsi + 0x38], 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140018b90
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x140042f34]
call fcn.140017fa0
cmp dword [0x140042f34], 0xffffffff
jne 0x1400028ae
lea rbx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbx + 4]
mov dword [0x140042f30], eax
lea rcx, [0x140042f34]
call fcn.140018008
jmp 0x1400028ae
lea rcx, [0x140042f34]
call fcn.140017fa0
cmp dword [0x140042f34], 0xffffffff
jne 0x1400028fb
lea rbx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbx + 4]
mov dword [0x140042f30], eax
lea rcx, [0x140042f34]
call fcn.140018008
jmp 0x1400028fb
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
jmp 0x1400029a5
Function at 0x140005360
Capabilities:
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rbx, r9
mov r14, r8
mov rsi, rcx
mov rax, qword [0x140041028]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rcx], rdx
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x18], 2
lea rax, [rcx + 0x20]
mov qword [rcx + 8], rax
mov eax, dword [0x140042f34]
mov ecx, dword [0x1400411a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005475
mov edi, dword [0x140042f30]
lea rax, [r14 + rbx]
dec rax
xor edx, edx
div rdi
mov rbx, rax
mov rax, r14
xor edx, edx
div rdi
inc rbx
sub rbx, rax
je 0x140005454
mov r14, rax
lea r15, [rsi + 8]
imul r14, rdi
cmp rbx, 1
adc rbx, 0
lea r12, [rsp + 0x20]
mov r13, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, r14
mov rdx, rdi
mov r8d, 0x40
mov r9, r12
call r13
test eax, eax
je 0x1400054b6
mov ebp, dword [rsp + 0x20]
mov rax, qword [rsi + 0x10]
cmp rax, qword [rsi + 0x18]
je 0x1400054c8
mov rcx, qword [rsi + 8]
shl rax, 4
mov dword [rcx + rax], ebp
mov qword [rcx + rax + 8], r14
inc qword [rsi + 0x10]
add r14, rdi
dec rbx
jne 0x14000540c
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140018b90
mov rax, rsi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140042f34]
call fcn.140017fa0
cmp dword [0x140042f34], 0xffffffff
jne 0x1400053c8
lea rdi, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rdi + 4]
mov dword [0x140042f30], eax
lea rcx, [0x140042f34]
call fcn.140018008
jmp 0x1400053c8
mov dword [rsp + 0x20], 0
mov rcx, rsi
call fcn.140018ed0
jmp 0x140005454
mov rcx, r15
call fcn.140037590
test al, al
je 0x1400054be
mov rax, qword [rsi + 0x10]
jmp 0x140005438
Function at 0x140005c90
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x148
mov rsi, rcx
mov rax, qword [0x140041028]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov eax, 0xffffffff
mov qword [rcx], rax
mov ecx, dword [0x140041038]
cmp ecx, 0xffffffff
je 0x140005ccb
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140005cd0
call fcn.140005e70
mov eax, dword [0x140042a58]
mov ecx, dword [0x1400411a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x140005d2a
lea rcx, [0x140042a58]
call fcn.140017fa0
cmp dword [0x140042a58], 0xffffffff
jne 0x140005d2a
mov ecx, 8
call sub.mozglue.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rax], 0
mov qword [0x140042a50], rax
lea rcx, [0x140042a58]
call fcn.140018008
mov rdi, qword [0x140042a50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x140041248]
inc rax
xor ecx, ecx
lea rdx, [0x140041250]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x140005dce
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], 0
mov qword [0x140041248], r8
mov dword [rsi], r8d
mov eax, dword [rax + 0x10]
mov dword [rsi + 4], eax
mov rcx, rdi
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 0x140005de0
mov dword [rsp + 0x28], 0x100
mov dword [rsp + 0x24], eax
cmp eax, 0xff
jg 0x140005e22
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140018b90
mov rax, rsi
add rsp, 0x148
pop rdi
pop rsi
ret
inc rcx
cmp rcx, 0x100
jne 0x140005d4d
jmp 0x140005d82
lea r8, str.slot____kInvalidSlotValue
lea rcx, [rsp + 0x24]
lea rdx, [rsp + 0x28]
call fcn.1400201d0
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.14001feb0
mov rcx, rdi
call fcn.14001ff50
mov eax, dword [rsi]
jmp 0x140005d9e
lea r8, str.slot____kThreadLocalStorageSize
lea rcx, [rsp + 0x24]
lea rdx, [rsp + 0x28]
call fcn.1400201d0
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.14001feb0
mov rcx, rdi
call fcn.14001ff50
jmp 0x140005db1
Function at 0x140006ad0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140041038]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140006b0e
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 0x140006b07
call fcn.140005e70
jmp 0x140006aee

Function at 0x140006e80
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
cmp qword [rcx], rdx
je 0x140006f35
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov r14, qword [rsi]
lea rax, [r14 + 1]
cmp rax, 2
jae 0x140006f09
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140006ef5
mov qword [rsi], rdi
call fcn.140006100
mov r15, rax
mov r14, qword [rsp + 0x58]
cmp qword [0x140042a68], 0
je case.default.0x140006f02
mov rcx, qword [0x140042a68]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], r15
mov rdx, rdi
mov r8, rsi
mov r9, r14
call qword [0x140046010]
mov ecx, ebx
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.140006100
mov r8, qword [rsp + 0x58]
mov rcx, r14
mov rdx, rsi
mov r9, rax
call fcn.14000a960
mov rcx, qword [rsi]
call fcn.14000e0c0
mov qword [rsi], 0
jmp 0x140006eaf
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetHandleVerifier
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140006f78
lea rcx, [sym.plugin_container.exe_GetHandleVerifier]
cmp rax, rcx
jne 0x140006f7c
xor ecx, ecx
mov dl, 1
call fcn.140005a60
jmp 0x140006ed3
xor ecx, ecx
jmp 0x140006f85
call qword [0x140046010]
mov rcx, rax
xor edx, edx
jmp 0x140006f6e
stosd dword [rdi], eax
invalid
outsd dx, dword [rsi]
or al, 0xf5
mov ah, 0xaa
cmpsb byte [rsi], byte [rdi]
adc eax, 0xa0b9d4aa
invalid
invalid
invalid
jg case.0x14001e964.34
invalid
sub al, byte [rbp + 0x45]
sbb esp, edi
invalid
Function at 0x14000f610
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rcx]
mov r13, qword [rsi + 8]
sub r13, rcx
sar r13, 2
movabs r9, 0xf0f0f0f0f0f0f0f1
mov rax, rdx
sub rax, rcx
movabs rdx, 0x7878787878787879
imul rdx
mov r15, rdx
imul r13, r9
inc r13
mov rdx, qword [rsi + 0x10]
sub rdx, rcx
sar rdx, 2
imul rdx, r9
mov rax, rdx
shr rax, 1
movabs rcx, 0x3c3c3c3c3c3c3c3
mov r9, rcx
sub r9, rax
add rax, rdx
cmp rax, r13
cmovbe rax, r13
cmp rdx, r9
cmova rax, rcx
cmp rax, rcx
ja 0x14000f778
mov r12, r8
mov rcx, r15
shr rcx, 0x3f
sar r15, 5
add r15, rcx
mov rcx, rax
shl rcx, 6
lea rbx, [rcx + rax*4]
cmp rax, 0x3d
jae 0x14000f77d
test rax, rax
je 0x14000f797
mov rcx, rbx
call sub.mozglue.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov r14, rax
mov rax, r15
shl rax, 6
lea rbp, [rax + r15*4]
lea rcx, [r14 + rbp]
mov r8d, 0x44
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov r15, qword [rsi]
mov r12, qword [rsi + 8]
cmp r12, rdi
jne 0x14000f79f
cmp r15, rdi
je 0x14000f72a
mov r12, r14
mov r8d, 0x44
mov rcx, r12
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
add r12, 0x44
add r15, 0x44
cmp r15, rdi
jne 0x14000f709
mov rdi, qword [rsi]
test rdi, rdi
je 0x14000f74b
mov rdx, qword [rsi + 0x10]
sub rdx, rdi
cmp rdx, 0x1000
jae 0x14000f7fd
mov rcx, rdi
call sub.mozglue.dll_void___cdecl_operator_delete_void____ptr64__unsigned_long_long_unsigned___int64__
mov qword [rsi], r14
mov rax, r13
shl rax, 6
lea rax, [rax + r13*4]
add rax, r14
mov qword [rsi + 8], rax
add rbx, r14
mov qword [rsi + 0x10], rbx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14001edc0
lea rcx, [rbx + 0x27]
call sub.mozglue.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14000f6d4
xor r14d, r14d
jmp 0x14000f6d4
cmp r15, rdi
je 0x14000f7c9
mov r12, r14
mov r8d, 0x44
mov rcx, r12
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
add r12, 0x44
add r15, 0x44
cmp r15, rdi
jne 0x14000f7a7
mov r12, qword [rsi + 8]
cmp r12, rdi
je 0x14000f727
lea r15, [r14 + rbp]
add r15, 0x44
mov r8d, 0x44
mov rcx, r15
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
add rdi, 0x44
add r15, 0x44
cmp rdi, r12
jne 0x14000f7da
jmp 0x14000f727
mov rax, qword [rdi - 8]
add rdi, 0xfffffffffffffff8
sub rdi, rax
cmp rdi, 0x20
jae 0x14000f81a
add rdx, 0x27
mov rdi, rax
jmp 0x14000f743
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3

Function at 0x14000f830
Capabilities:
Encode data using base64

Disassembly:
push rsi
sub rsp, 0x20
cmp byte [rcx + 0x6c], 0
je 0x14000f871
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
jne 0x14000f85b
mov rcx, rsi
mov r8, rax
add rsp, 0x20
pop rsi
jmp fcn.14000f610
mov r8d, 0x44
mov rcx, rdx
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
add qword [rsi + 8], 0x44
add rsp, 0x20
pop rsi
ret
Function at 0x14000f880
Capabilities:
Compare security identifiers

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rax, qword [0x140041028]
xor rax, rsp
mov qword [rsp + 0x78], rax
cmp byte [rcx + 0x6c], 0
je 0x14000fa0b
mov rsi, rdx
mov rdi, rcx
mov rdx, qword [rcx + 0x60]
lea rbx, [rsp + 0x20]
lea r9, [rsp + 0x2c]
mov rcx, rbx
mov r8d, 2
call fcn.14000dc80
mov rbx, qword [rbx]
test rbx, rbx
je 0x14000fa12
cmp dword [rbx], 0
je 0x14000f9d6
lea r14, [rdi + 0x30]
xor r12d, r12d
xorps xmm6, xmm6
lea r15, [rsp + 0x30]
mov rax, r12
shl rax, 4
test dword [rbx + rax + 0x10], 0xc0000020
jne 0x14000f964
lea r13, [rbx + rax]
add r13, 8
test rsi, rsi
je 0x14000f921
mov rax, qword [rsi]
cmp qword [rsi + 8], rax
jne 0x14000f970
mov r8, qword [r13]
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x70], 0
mov ecx, 0x44
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_CopySid]
mov rdx, qword [rdi + 0x38]
cmp rdx, qword [rdi + 0x40]
jne 0x14000f9be
mov rcx, r14
mov r8, r15
call fcn.14000f610
inc r12
mov eax, dword [rbx]
cmp r12, rax
jb 0x14000f8fa
jmp 0x14000f9d6
mov ebp, 1
xor ecx, ecx
mov rdx, qword [r13]
mov r8, rcx
shl r8, 6
lea rcx, [r8 + rcx*4]
add rcx, rax
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x14000f964
mov ecx, ebp
mov rax, qword [rsi]
mov rdx, qword [rsi + 8]
sub rdx, rax
sar rdx, 2
movabs r8, 0xf0f0f0f0f0f0f0f1
imul rdx, r8
inc ebp
cmp rdx, rcx
jbe 0x14000f921
jmp 0x14000f977
mov r8d, 0x44
mov rcx, rdx
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
add qword [rdi + 0x38], 0x44
jmp 0x14000f964
mov rcx, rbx
call sub.mozglue.dll_void___cdecl_operator_delete___void____ptr64_
xor esi, esi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140018b90
mov eax, esi
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov esi, 0x3f0
jmp 0x14000f9e0
mov esi, dword [rsp + 0x2c]
jmp 0x14000f9e0
Function at 0x140010ef0
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 0x140011004
mov rbx, rcx
mov rax, qword [rcx + 8]
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx + 0x84], 0
je 0x140011004
cmp word [rax + rcx + 0x14], 0x78
jb 0x140011004
mov rsi, r8
mov rdi, rdx
mov edx, dword [rax + rcx + 0x88]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140046010]
test rax, rax
je 0x140011004
cmp rdi, 0xffff
mov qword [rsp + 0x20], rsi
jbe 0x14001102c
mov r14, rax
mov edx, dword [rax + 0x20]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140046010]
mov r15, rax
mov eax, dword [r14 + 0x18]
test rax, rax
je 0x140011004
lea rsi, [r15 + rax*4]
lea r13, [rdi + 1]
mov rbp, r15
mov r12, rsi
sub r12, rbp
mov rax, r12
sar rax, 2
shr r12, 0x3f
add r12, rax
and r12, 0xfffffffffffffffe
mov edx, dword [rbp + r12*2]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140046010]
mov cl, byte [rdi]
test cl, cl
je 0x140010fd9
mov rdx, r13
cmp cl, byte [rax]
jne 0x140010fdb
inc rax
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x140010fc9
xor ecx, ecx
lea r12, [r12*2]
add r12, rbp
movzx eax, byte [rax]
cmp cl, al
je 0x140011008
movzx ecx, cl
lea rdx, [r12 + 4]
cmp ecx, eax
cmovg rbp, rdx
cmovs rsi, r12
cmp rbp, rsi
jne 0x140010f93
xor eax, eax
jmp 0x140011036
mov edx, dword [r14 + 0x24]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [0x140046010]
sub r12, r15
sar r12, 1
movzx edi, word [rax + r12]
add di, word [r14 + 0x10]
mov rax, qword [rsp + 0x20]
mov word [rax], di
mov al, 1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400130a0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x148
mov rsi, rcx
mov rax, qword [0x140041028]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x20], rcx
cmp rcx, 0x10001
jae 0x14001313d
mov r14d, 0x10000
sub r14, rsi
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov edx, 4
call sub.ADVAPI32.dll_SystemFunction036
movzx edi, word [rsp + 0x28]
mov dword [rsp + 0x28], edi
cmp r14, rdi
jb 0x1400130dd
mov ecx, 0x800
mov r8d, 0x1000
mov edx, 0x800
mov rax, r8
shr rdx, 1
mov r8, rcx
cmp rcx, rsi
mov rcx, rdx
jae 0x140013108
neg eax
and edi, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140018b90
mov rax, rdi
add rsp, 0x148
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdx, [0x140038548]
lea r8, str.size___kAllocGranularity
lea rcx, [rsp + 0x20]
call fcn.1400213c0
lea rdx, str._builds_worker_checkouts_gecko_security_sandbox_chromium_sandbox_win_src_interception.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x2b
mov r9, rax
call fcn.14001feb0
mov rcx, rdi
call fcn.14001ff50
jmp 0x1400130cf

Function at 0x1400147b0
Capabilities:
Parse pe header

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140042e90]
test rax, rax
je 0x1400147f3
mov rax, qword [0x140042e90]
test rax, rax
je 0x140014840
mov rcx, qword [0x140042e90]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi], rax
test rax, rax
je 0x140014843
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140038fb0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x140014846
movsxd rax, dword [rcx + 0x3c]
cmp dword [rcx + rax], 0x4550
jne 0x140014846
movzx edx, word [rcx + rax + 0x14]
cmp edx, 0xf0
jne 0x140014846
movzx eax, word [rcx + rax + 0x18]
cmp eax, 0x20b
jne 0x140014846
xor eax, eax
lock cmpxchg qword [0x140042e90], rcx
jmp 0x1400147c8
int3
int3
int3