joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ee20
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x007a1a6d], 0
je 0x46ee2e
jmp sym.aeshashbody
jmp sym.runtime.memhashFallback

Function at 0x46ee40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x007a1a6d], 0
je 0x46ee55
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp sym.aeshashbody
jmp sym.runtime.strhashFallback

Function at 0x46ee60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x007a1a6d], 0
je 0x46ee95
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x007a20a0]
aesenc xmm0, xmmword [0x007a20b0]
aesenc xmm0, xmmword [0x007a20c0]
movq rax, xmm0
ret
jmp sym.runtime.memhash32Fallback

Function at 0x46eea0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp byte [0x007a1a6d], 0
je 0x46eed6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x007a20a0]
aesenc xmm0, xmmword [0x007a20b0]
aesenc xmm0, xmmword [0x007a20c0]
movq rax, xmm0
ret
jmp sym.runtime.memhash64Fallback

Function at 0x470560
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbp
mov rbp, rsp
pushfq
cld
sub rsp, 0xe0
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
movups xmmword [rsp + 0x60], xmm8
movups xmmword [rsp + 0x70], xmm9
movups xmmword [rsp + 0x80], xmm10
movups xmmword [rsp + 0x90], xmm11
movups xmmword [rsp + 0xa0], xmm12
movups xmmword [rsp + 0xb0], xmm13
movups xmmword [rsp + 0xc0], xmm14
movups xmmword [rsp + 0xd0], xmm15
xorps xmm15, xmm15
xor r14, r14
mov rax, qword [0x007a1c90]
mov rax, qword gs:[rax]
cmp rax, 0
je 0x4705fb
mov r14, qword [rax]
sub rsp, 0x10
mov rax, rcx
mov rbx, rdx
call sym.runtime.sigtrampgo
add rsp, 0x10
mov rdi, qword [rsp]
mov rsi, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm6, xmmword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x50]
movups xmm8, xmmword [rsp + 0x60]
movups xmm9, xmmword [rsp + 0x70]
movups xmm10, xmmword [rsp + 0x80]
movups xmm11, xmmword [rsp + 0x90]
movups xmm12, xmmword [rsp + 0xa0]
movups xmm13, xmmword [rsp + 0xb0]
movups xmm14, xmmword [rsp + 0xc0]
movups xmm15, xmmword [rsp + 0xd0]
add rsp, 0xe0
popfq
pop rbp
ret
Function at 0x470820
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x28
pushfq
cld
sub rsp, 0xe0
mov qword [rsp], rdi
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
movups xmmword [rsp + 0x60], xmm8
movups xmmword [rsp + 0x70], xmm9
movups xmmword [rsp + 0x80], xmm10
movups xmmword [rsp + 0x90], xmm11
movups xmmword [rsp + 0xa0], xmm12
movups xmmword [rsp + 0xb0], xmm13
movups xmmword [rsp + 0xc0], xmm14
movups xmmword [rsp + 0xd0], xmm15
mov rax, qword [0x007a1c90]
mov rax, qword gs:[rax]
cmp rax, 0
jne 0x4708b7
int 3
mov r14, qword [rax]
sub rsp, 0x28
mov qword [rsp], rcx
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], r9
call sym.runtime.sehhandler.abi0
mov eax, dword [rsp + 0x20]
add rsp, 0x28
mov rdi, qword [rsp]
mov rsi, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm6, xmmword [rsp + 0x40]
movups xmm7, xmmword [rsp + 0x50]
movups xmm8, xmmword [rsp + 0x60]
movups xmm9, xmmword [rsp + 0x70]
movups xmm10, xmmword [rsp + 0x80]
movups xmm11, xmmword [rsp + 0x90]
movups xmm12, xmmword [rsp + 0xa0]
movups xmm13, xmmword [rsp + 0xb0]
movups xmm14, xmmword [rsp + 0xc0]
movups xmm15, xmmword [rsp + 0xd0]
add rsp, 0xe0
popfq
add rsp, 0x28
pop rbp
ret

Function at 0x470c80
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x470cb4
mov rcx, 0x28
jmp 0x470cbf
shl rcx, 3
add rcx, 0x1480
mov qword [0x007a1c90], rcx
pop rbp
ret
Function at 0x48a5e0
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x48ad1f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x48a60d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x48a891
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x48a8bd
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x006bf500]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004c79c0]
lea rbx, [0x006bdf10]
call sym.runtime.gopanic
inc rax
cmp rax, r8
jge 0x48a8e2
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x48a917
lea rdi, [0x004c7a40]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x48a603
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x48a8fb
jmp 0x48a8d0
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp sym.internal_bisect.Hash

Function at 0x48aec0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x48aed7
inc rax
cmp rax, 4
jge 0x48aeef
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x48aed4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x48af00
inc rax
cmp rax, 4
jge 0x48af0e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x48af37
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x48af1b
jmp 0x48aefd
Function at 0x490920
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4909ea
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x007a1c90]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x4909cf
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004c7ac0]
xor ebx, ebx
mov rcx, rdx
call sym.runtime.makeslice
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 sym.syscall.encodeWTF16
inc rbx
cmp rcx, rbx
jae 0x4909be
mov edi, 1
lea rsi, [0x004c7ac0]
call sym.runtime.growslice
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, [0x006be078]
lea rsi, [0x006bd750]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.syscall.UTF16FromString

Function at 0x4a0ce0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4a0d8c
push rbp
mov rbp, rsp
sub rsp, 0x40
mov byte [rsp + 0x60], cl
mov byte [rsp + 0x61], dil
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], cl
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x007a1c90]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
je 0x4a0d53
lea rax, [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call sym.runtime.stringtoslicebyte
movzx edx, byte [rsp + 0x61]
movzx esi, byte [rsp + 0x60]
xor ecx, ecx
jmp 0x4a0d66
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
inc rcx
cmp rbx, rcx
jle 0x4a0d79
movzx edi, byte [rax + rcx]
cmp dil, sil
jne 0x4a0d63
mov byte [rax + rcx], dl
jmp 0x4a0d63
mov rcx, rbx
mov rbx, rax
xor eax, eax
call sym.runtime.slicebytetostring
add rsp, 0x40
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x18], cl
mov byte [rsp + 0x19], dil
nop
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
movzx ecx, byte [rsp + 0x18]
movzx edi, byte [rsp + 0x19]
jmp sym.internal_filepathlite.replaceStringByte
Function at 0x140002510
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbp, r8
mov qword [rsp + 0x30], 0
mov rsi, rdx
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x1400025e9
xor edx, edx
mov qword [rsp + 0x50], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp eax, 0xffffffff
je 0x1400025b9
mov ecx, ebx
call fcn.140002698
mov r9, rbp
mov qword [rsi], rax
mov r8d, ebx
mov qword [rsp + 0x20], 0
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400025d9
mov rbx, qword [rsi]
mov rcx, rbx
call fcn.140002690
test rbx, rbx
je 0x1400025b9
mov qword [rsi], 0x8123
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1400025c4
mov rbp, qword [rsp + 0x58]
xor eax, eax
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140002f84
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002fce
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002fce
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002fce
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002fce
cmp dword [rcx + 0x84], 0xe
jbe 0x140002fce
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140002fd0
xor al, al
add rsp, 0x28
ret
Function at 0x140001520
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 0x140001552
mov rbx, rcx
mov rax, qword [rcx + 8]
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx + 0x84], 0
je 0x140001552
cmp word [rax + rcx + 0x14], 0x78
jae 0x140001559
xor eax, eax
jmp 0x14000165e
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 [case.0x14001ca4e.0]
test rax, rax
je 0x140001552
cmp rdi, 0xffff
mov qword [rsp + 0x20], rsi
jbe 0x140001654
mov r12, rax
mov edx, dword [rax + 0x20]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [case.0x14001ca4e.0]
mov r15, rax
mov eax, dword [r12 + 0x18]
test rax, rax
je 0x140001552
lea r14, [r15 + rax*4]
lea r13, [rdi + 1]
mov rbp, r15
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.0x14001ca4e.0]
mov cl, byte [rdi]
test cl, cl
je 0x140001600
mov rdx, r13
cmp cl, byte [rax]
jne 0x140001602
inc rax
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x1400015f0
xor ecx, ecx
lea rsi, [rsi*2]
add rsi, rbp
movzx eax, byte [rax]
cmp cl, al
je 0x14000162f
movzx ecx, cl
lea rdx, [rsi + 4]
cmp ecx, eax
cmovg rbp, rdx
cmovs r14, rsi
cmp rbp, r14
jne 0x1400015bb
jmp 0x140001552
mov edx, dword [r12 + 0x24]
mov rax, qword [rbx]
mov rax, qword [rax + 8]
mov rcx, rbx
call qword [case.0x14001ca4e.0]
sub rsi, r15
sar rsi, 1
movzx edi, word [rax + rsi]
add di, word [r12 + 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 0x140002a90
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
call fcn.140008980
test al, al
je 0x140002ac5
mov rcx, qword [rsi]
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsi]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rdi, qword [rsi + 0x38]
mov qword [rsi + 0x38], 0
test rdi, rdi
je 0x140002ae6
mov rcx, rdi
call fcn.140002cf0
mov rcx, rdi
call fcn.140039950
mov rcx, qword [rsi + 0x58]
test rcx, rcx
jne 0x140002b4f
mov rcx, qword [rsi + 0x50]
test rcx, rcx
je 0x140002afe
call qword [sym.imp.mozglue.dll_free]
mov rdi, qword [rsi + 0x38]
test rdi, rdi
jne 0x140002ca8
mov rax, qword [rsi + 0x28]
inc rax
cmp rax, 2
jae 0x140002b7f
mov rax, qword [rsi + 0x20]
inc rax
cmp rax, 2
jae 0x140002be2
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 2
jae 0x140002c45
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.140007010
mov rdx, qword [rsi + 0x68]
sub rdx, rcx
cmp rdx, 0x1000
jae 0x140002cbd
lea rdi, [rsi + 0x58]
call sub.mozglue.dll_void___cdecl_operator_delete_void____ptr64__unsigned_long_long_unsigned___int64__
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
jmp 0x140002aef
lea rdi, [rsi + 0x28]
call fcn.1400099a0
mov r12, rax
mov r14, qword [rsp + 0x58]
mov r15, qword [rdi]
call fcn.1400099b0
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x10]
mov qword [rsp + 0x20], r12
mov rcx, rax
mov rdx, r15
mov r8, rdi
mov r9, r14
mov rax, rbx
call qword [case.0x14001ca4e.0]
mov r14, qword [rdi]
call fcn.1400099b0
mov rcx, qword [rax]
mov rbx, qword [rcx]
mov rcx, rax
mov rdx, r14
mov rax, rbx
call qword [case.0x14001ca4e.0]
mov qword [rdi], 0
jmp 0x140002b18
lea rdi, [rsi + 0x20]
call fcn.1400099a0
mov r12, rax
mov r14, qword [rsp + 0x58]
mov r15, qword [rdi]
call fcn.1400099b0
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x10]
mov qword [rsp + 0x20], r12
mov rcx, rax
mov rdx, r15
mov r8, rdi
mov r9, r14
mov rax, rbx
call qword [case.0x14001ca4e.0]
mov r14, qword [rdi]
call fcn.1400099b0
mov rcx, qword [rax]
mov rbx, qword [rcx]
mov rcx, rax
mov rdx, r14
mov rax, rbx
call qword [case.0x14001ca4e.0]
mov qword [rdi], 0
jmp 0x140002b29
lea rdi, [rsi + 0x18]
call fcn.1400099a0
mov r12, rax
mov r14, qword [rsp + 0x58]
mov r15, qword [rdi]
call fcn.1400099b0
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x10]
mov qword [rsp + 0x20], r12
mov rcx, rax
mov rdx, r15
mov r8, rdi
mov r9, r14
mov rax, rbx
call qword [case.0x14001ca4e.0]
mov r14, qword [rdi]
call fcn.1400099b0
mov rcx, qword [rax]
mov rbx, qword [rcx]
mov rcx, rax
mov rdx, r14
mov rax, rbx
call qword [case.0x14001ca4e.0]
mov qword [rdi], 0
jmp 0x140002b3a
mov rcx, rdi
call fcn.140002cf0
mov rcx, rdi
call fcn.140039950
jmp 0x140002b0b
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x140002cda
add rdx, 0x27
mov rcx, rax
jmp 0x140002b63
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140003140
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x150
mov r14, rdx
mov r15, rcx
mov rax, qword [0x140043010]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov ecx, dword [0x140043038]
cmp ecx, 0xffffffff
je 0x14000317b
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140003180
call fcn.1400033b0
mov eax, dword [0x140044a88]
mov ecx, dword [0x1400431a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x1400031da
lea rcx, [0x140044a88]
call fcn.14001c1e0
cmp dword [0x140044a88], 0xffffffff
jne 0x1400031da
mov ecx, 8
call sub.mozglue.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rax], 0
mov qword [0x140044a80], rax
lea rcx, [0x140044a88]
call fcn.14001c180
mov rbx, qword [0x140044a80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x140043270]
inc rax
xor ecx, ecx
lea rdx, [0x140043280]
lea edi, [rax + rcx]
movzx edi, dil
lea rsi, [rdi + rdi*2]
cmp dword [rdx + rsi*8], 0
jne 0x140003280
lea rax, [rdx + rsi*8]
mov dword [rax], 1
mov qword [rax + 8], r14
mov qword [0x140043270], rdi
mov dword [r15], edi
mov eax, dword [rax + 0x10]
mov dword [r15 + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [r15]
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x2c], eax
cmp eax, 0xffffffff
je 0x140003292
mov eax, dword [r15]
mov dword [rsp + 0x30], 0x100
mov dword [rsp + 0x2c], eax
cmp eax, 0xff
jg 0x1400032d7
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.14001d580
nop
add rsp, 0x150
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
inc rcx
cmp rcx, 0x100
jne 0x1400031fd
jmp 0x14000322d
lea r8, str.slot____kInvalidSlotValue
lea rcx, [rsp + 0x2c]
lea rdx, [rsp + 0x30]
call fcn.140020ad0
test rax, rax
je 0x14000324a
lea rdx, str._builds_worker_checkouts_gecko_security_sandbox_chromium_base_threading_thread_local_storage.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x196
mov r9, rax
call fcn.140020870
mov rcx, rdi
call fcn.1400208e0
jmp 0x14000324a
lea r8, str.slot____kThreadLocalStorageSize
lea rcx, [rsp + 0x2c]
lea rdx, [rsp + 0x30]
call fcn.140020ad0
test rax, rax
je 0x140003260
lea rdx, str._builds_worker_checkouts_gecko_security_sandbox_chromium_base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x197
mov r9, rax
call fcn.140020870
mov rcx, rsi
call fcn.1400208e0
jmp 0x140003260
Function at 0x140007fa0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x140
mov rax, qword [0x140043010]
xor rax, rsp
mov qword [rsp + 0x138], rax
test rdx, rdx
je 0x140007ff3
mov rsi, rdx
mov rdi, rcx
mov r15d, 0xffffffff
cmp rsi, r15
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140008013
add rdi, rbx
sub rsi, rbx
jne 0x140007fd1
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.14001d580
nop
add rsp, 0x140
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rdx, str._builds_worker_checkouts_gecko_security_sandbox_chromium_base_rand_util_win.cc
lea r9, str.success
lea r14, [rsp + 0x20]
mov rcx, r14
mov r8d, 0x20
call fcn.140020820
mov rcx, r14
call fcn.1400208e0
jmp 0x140007feb
Function at 0x1400098a0
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 0x14000998d
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 0x14000992e
lea rax, [r15 + 1]
cmp rax, 2
jb case.default.0x140009927
mov qword [rsi], r15
call fcn.1400099a0
mov rbx, rax
mov rbp, qword [rsp + 0x68]
call fcn.1400099b0
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.0x14001ca4e.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.1400099a0
mov r14, rax
mov rdi, qword [rsp + 0x68]
mov r12, qword [rsi]
call fcn.1400099b0
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.0x14001ca4e.0]
mov r14, qword [rsi]
call fcn.1400099b0
mov rcx, qword [rax]
mov r8, qword [rcx]
mov rcx, rax
mov rdx, r14
mov rax, r8
call qword [case.0x14001ca4e.0]
mov qword [rsi], 0
jmp 0x1400098d4
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
sti
mov cl, 0xe4
or edi, edi
stc
pop rdi
scasd eax, dword [rdi]
sbb ch, byte [rbx]
or eax, 0x90ddd15e
not bl
xor dl, byte [rcx]
and eax, 0x16e674c8
rcl byte [rax]
insb byte [rdi], dx
invalid
int3
Function at 0x14000cc60
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 [0x140043010]
xor rax, rsp
mov qword [rsp + 0x78], rax
cmp byte [rcx + 0x6c], 0
je 0x14000cdcc
mov rdi, rdx
mov rbx, rcx
lea rsi, [rsp + 0x30]
mov qword [rsi], 0
mov rcx, qword [rcx + 0x60]
mov edx, 2
mov r8, rsi
call fcn.14000d050
mov rsi, qword [rsi]
test eax, eax
jne 0x14000cdd6
mov dword [rsp + 0x24], 0
test rsi, rsi
je 0x14000cde7
cmp dword [rsi], 0
je 0x14000cddf
lea rax, [rbx + 0x30]
mov qword [rsp + 0x28], rax
xor ebp, ebp
xorps xmm6, xmm6
lea r12, [rsp + 0x30]
mov r14, qword [sym.imp.ADVAPI32.dll_EqualSid]
mov rax, rbp
shl rax, 4
test dword [rsi + rax + 0x10], 0xc0000020
jne 0x14000cda7
lea r15, [rsi + rax]
add r15, 8
test rdi, rdi
je 0x14000cd60
mov rax, qword [rdi]
cmp qword [rdi + 8], rax
je 0x14000cd60
xor r13d, r13d
mov rdx, qword [r15]
mov rcx, r13
shl rcx, 6
lea rcx, [rcx + r13*4]
add rcx, rax
call r14
test eax, eax
jne 0x14000cda7
inc r13d
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
sub rcx, rax
sar rcx, 2
movabs rdx, 0xf0f0f0f0f0f0f0f1
imul rcx, rdx
cmp rcx, r13
ja 0x14000cd24
mov r8, qword [r15]
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, r12
call qword [sym.imp.ADVAPI32.dll_CopySid]
mov rcx, qword [rbx + 0x38]
mov rdx, qword [rbx + 0x40]
cmp rdx, rcx
jne 0x14000cdb7
mov rcx, qword [rsp + 0x28]
mov r8, r12
call fcn.14000ce20
inc rbp
mov eax, dword [rsi]
cmp rbp, rax
jb 0x14000ccf6
jmp 0x14000cddf
mov r8d, 0x44
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx + 0x38], 0x44
jmp 0x14000cda7
mov dword [rsp + 0x24], 0x3f0
jmp 0x14000cde7
mov dword [rsp + 0x24], eax
test rsi, rsi
je 0x14000cde7
mov rcx, rsi
call sub.mozglue.dll_void___cdecl_operator_delete___void____ptr64_
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14001d580
mov eax, dword [rsp + 0x24]
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
Function at 0x14000ee20
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 [0x140043010]
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 0x14000eed4
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 0x14000eed4
test ebp, ebp
setne al
cmp r14, rsi
sete sil
and sil, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001d580
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 0x14000eeb6

Function at 0x140010bc0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140043038]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140010bfe
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 0x140010bf7
call fcn.1400033b0
jmp 0x140010bde