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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov dword [rsp + 0x2c], r8d
lea eax, [r8 - 2]
cmp eax, 0x22
ja 0x14001be0a
mov r9, rdx
mov edx, 1
test r9, r9
je 0x14001bc7c
mov al, byte [rcx]
cmp al, 0x2d
je 0x14001bc84
cmp al, 0x2b
jne 0x14001bc95
add r9, 0xffffffffffffffff
je 0x14001bc8a
add rcx, 1
jmp 0x14001bc95
xor r10d, r10d
jmp 0x14001bdf2
cmp r9, 1
jne 0x14001bc95
mov r10d, 0x100
jmp 0x14001bdf2
cmp r8d, 0x10
ja 0x14001bcfd
cmp r9, 9
jae 0x14001bcfd
xor r10d, r10d
cmp r8d, 0xa
jbe 0x14001bd6b
mov r11d, 0xffffffff
xor edx, edx
xor eax, eax
jmp 0x14001bcd3
imul eax, r8d
add eax, edi
add rdx, 1
cmp r9, rdx
je 0x14001bdca
movzx esi, byte [rcx + rdx]
lea edi, [rsi - 0x30]
cmp edi, 9
jbe 0x14001bcc0
or esi, 0x20
add esi, 0xffffff9f
add esi, 0xa
cmovb esi, r11d
mov edi, esi
cmp esi, r8d
jb 0x14001bcc0
mov edx, 0x101
jmp 0x14001bde6
xor r10d, r10d
cmp r8d, 0xa
jbe 0x14001bd94
mov r11d, 0xffffffff
xor eax, eax
nop word cs:[rax + rax]
nop dword [rax]
movzx esi, byte [rcx + r10]
mul r8d
seto dl
lea edi, [rsi - 0x30]
mov ebx, 1
cmp edi, 0xa
jb 0x14001bd4f
or esi, 0x20
add esi, 0xffffff9f
add esi, 0xa
cmovb esi, r11d
xor ebx, ebx
cmp esi, r8d
setb bl
mov edi, esi
test ebx, ebx
sete bl
or dl, bl
jne 0x14001bdce
add eax, edi
jb 0x14001bde1
add r10, 1
cmp r9, r10
jne 0x14001bd20
jmp 0x14001bdc7
xor edx, edx
xor eax, eax
nop
movzx ebx, byte [rcx + rdx]
lea edi, [rbx - 0x30]
cmp edi, r8d
jae 0x14001bcf3
imul eax, r8d
add eax, ebx
add eax, 0xffffffd0
add rdx, 1
cmp r9, rdx
jne 0x14001bd70
jmp 0x14001bdca
xor eax, eax
nop word cs:[rax + rax]
movzx edi, byte [rcx + r10]
mul r8d
seto dl
add edi, 0xffffffd0
cmp edi, r8d
setae bl
jae 0x14001bdce
test dl, dl
jne 0x14001bdce
add eax, edi
jb 0x14001bde1
add r10, 1
cmp r9, r10
jne 0x14001bda0
xor r10d, r10d
xor edx, edx
jmp 0x14001bdf2
xor bl, 1
movzx edx, bl
shl rdx, 8
add rdx, 0x101
jmp 0x14001bde6
mov edx, 0x201
mov r10d, edx
and r10d, 0x300
xor eax, eax
shl rax, 0x20
or rax, r10
movzx ecx, dl
or rcx, rax
mov rax, rcx
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x30], rax
lea rax, [0x140021550]
mov qword [rsp + 0x38], rax
lea rax, str.from_str_radix_int:_must_lie_in_the_range___2__36_____found
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rdx, str.librarycore_src_nummod.rs
lea rcx, [rsp + 0x40]
call fcn.140023790
ud2
jmp 0x14001bc40
Function at 0x1400207f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
test r8, r8
je 0x14002086a
mov r11, qword [rsp + 0x70]
mov ebp, ecx
shr ebp, 8
lea r8, [rdx + r8*2]
xor eax, eax
mov rbx, rdx
movzx edi, byte [rdx + 1]
add rdx, 2
lea r10, [rax + rdi]
cmp byte [rbx], bpl
jne 0x140020860
cmp r10, rax
jb 0x1400208fd
cmp r10, r11
ja 0x14002090a
add rax, r9
xor ebx, ebx
nop dword [rax + rax]
cmp rdi, rbx
je 0x140020862
lea rsi, [rbx + 1]
cmp byte [rax + rbx], cl
mov rbx, rsi
jne 0x140020840
jmp 0x1400208d2
ja 0x14002086a
mov rax, r10
cmp rdx, r8
jne 0x14002080d
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x1400208d6
mov rbx, qword [rsp + 0x78]
add rdx, rbx
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
nop
lea rsi, [rbx + 1]
movzx edi, byte [rbx]
test dil, dil
js 0x1400208b0
mov rbx, rsi
sub ecx, edi
jns 0x1400208c9
jmp 0x1400208d8
cmp rsi, rdx
je 0x1400208e3
and edi, 0x7f
shl edi, 8
movzx ebp, byte [rbx + 1]
add rbx, 2
or edi, ebp
sub ecx, edi
js 0x1400208d8
xor al, 1
cmp rbx, rdx
jne 0x140020890
jmp 0x1400208d8
xor eax, eax
jmp 0x1400208d8
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, str.called__Option::unwrap____on_a__None__value:
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140023620
ud2
mov rcx, rax
mov rdx, r10
call fcn.140023890
ud2
mov rcx, r10
mov rdx, r11
call fcn.140023880
ud2
Function at 0x140020b00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov dword [rsp + 0x2c], r8d
lea eax, [r8 - 2]
cmp eax, 0x22
ja 0x14001be0a
mov r9, rdx
mov edx, 1
test r9, r9
je 0x14001bc7c
mov al, byte [rcx]
cmp al, 0x2d
je 0x14001bc84
cmp al, 0x2b
jne 0x14001bc95
add r9, 0xffffffffffffffff
je 0x14001bc8a
add rcx, 1
jmp 0x14001bc95
xor r10d, r10d
jmp 0x14001bdf2
cmp r9, 1
jne 0x14001bc95
mov r10d, 0x100
jmp 0x14001bdf2
cmp r8d, 0x10
ja 0x14001bcfd
cmp r9, 9
jae 0x14001bcfd
xor r10d, r10d
cmp r8d, 0xa
jbe 0x14001bd6b
mov r11d, 0xffffffff
xor edx, edx
xor eax, eax
jmp 0x14001bcd3
imul eax, r8d
add eax, edi
add rdx, 1
cmp r9, rdx
je 0x14001bdca
movzx esi, byte [rcx + rdx]
lea edi, [rsi - 0x30]
cmp edi, 9
jbe 0x14001bcc0
or esi, 0x20
add esi, 0xffffff9f
add esi, 0xa
cmovb esi, r11d
mov edi, esi
cmp esi, r8d
jb 0x14001bcc0
mov edx, 0x101
jmp 0x14001bde6
xor r10d, r10d
cmp r8d, 0xa
jbe 0x14001bd94
mov r11d, 0xffffffff
xor eax, eax
nop word cs:[rax + rax]
nop dword [rax]
movzx esi, byte [rcx + r10]
mul r8d
seto dl
lea edi, [rsi - 0x30]
mov ebx, 1
cmp edi, 0xa
jb 0x14001bd4f
or esi, 0x20
add esi, 0xffffff9f
add esi, 0xa
cmovb esi, r11d
xor ebx, ebx
cmp esi, r8d
setb bl
mov edi, esi
test ebx, ebx
sete bl
or dl, bl
jne 0x14001bdce
add eax, edi
jb 0x14001bde1
add r10, 1
cmp r9, r10
jne 0x14001bd20
jmp 0x14001bdc7
xor edx, edx
xor eax, eax
nop
movzx ebx, byte [rcx + rdx]
lea edi, [rbx - 0x30]
cmp edi, r8d
jae 0x14001bcf3
imul eax, r8d
add eax, ebx
add eax, 0xffffffd0
add rdx, 1
cmp r9, rdx
jne 0x14001bd70
jmp 0x14001bdca
xor eax, eax
nop word cs:[rax + rax]
movzx edi, byte [rcx + r10]
mul r8d
seto dl
add edi, 0xffffffd0
cmp edi, r8d
setae bl
jae 0x14001bdce
test dl, dl
jne 0x14001bdce
add eax, edi
jb 0x14001bde1
add r10, 1
cmp r9, r10
jne 0x14001bda0
xor r10d, r10d
xor edx, edx
jmp 0x14001bdf2
xor bl, 1
movzx edx, bl
shl rdx, 8
add rdx, 0x101
jmp 0x14001bde6
mov edx, 0x201
mov r10d, edx
and r10d, 0x300
xor eax, eax
shl rax, 0x20
or rax, r10
movzx ecx, dl
or rcx, rax
mov rax, rcx
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x30], rax
lea rax, [0x140021550]
mov qword [rsp + 0x38], rax
lea rax, str.from_str_radix_int:_must_lie_in_the_range___2__36_____found
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 1
lea rdx, str.librarycore_src_nummod.rs
lea rcx, [rsp + 0x40]
call fcn.140023790
ud2
jmp 0x14001bc40

Function at 0x14002262c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140022676
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140022676
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140022676
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140022676
cmp dword [rcx + 0x84], 0xe
jbe 0x140022676
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140022678
xor al, al
add rsp, 0x28
ret
Function at 0x140004890
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x10
mov rax, qword [0x140036018]
xor rax, rsp
mov qword [rsp + 8], rax
mov r11, qword [r8]
mov eax, 8
mov r10, rdx
mov qword [rsp], r11
mov rbx, rcx
lea r8, [rsp]
lea r9d, [rax - 6]
movzx edx, word [r8]
lea r8, [r8 + 4]
add eax, edx
dec r9d
movzx edx, word [r8 - 2]
mov ecx, eax
shl ecx, 0x10
shl edx, 0xb
xor edx, ecx
xor eax, edx
mov ecx, eax
shr ecx, 0xb
add eax, ecx
test r9d, r9d
jg 0x1400048bf
mov rdx, qword [rbx + 0x18]
lea ecx, [rax*8]
mov r8, qword [rbx + 8]
xor eax, ecx
mov ecx, eax
shr ecx, 5
add eax, ecx
mov ecx, eax
shl ecx, 4
xor eax, ecx
mov ecx, eax
shr ecx, 0x11
add eax, ecx
mov ecx, eax
shl ecx, 0x19
xor eax, ecx
mov ecx, eax
shr ecx, 6
add eax, ecx
mov rcx, qword [rbx + 0x30]
and rcx, rax
mov rax, rcx
add rax, rax
add rcx, rcx
mov rax, qword [rdx + rax*8]
mov r9, qword [rdx + rcx*8]
lea rdx, [rdx + rcx*8]
cmp r9, r8
je 0x140004969
mov rcx, qword [rdx + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x140004973
cmp qword [rax + 0x10], r11
jne 0x14000496e
mov qword [r10], rax
mov rax, r10
mov rcx, qword [rsp + 8]
xor rcx, rsp
call fcn.140005c90
add rsp, 0x10
pop rbx
ret
mov rcx, r8
jmp 0x140004945
mov rax, qword [rax]
jmp 0x140004939
mov qword [r10], r8
jmp 0x140004953
Function at 0x140004c40
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x248
mov rdi, rcx
mov ecx, dword [0x140036044]
cmp ecx, 0xffffffff
jne 0x14000929c
call fcn.140004d80
xor esi, esi
mov dword [rdi + 4], 0xffffffff
mov dword [rdi + 8], esi
mov rax, qword [0x140036a40]
lea ebp, [rsi + 1]
test rax, 0xfffffffffffffffe
jne 0x140004cab
xor eax, eax
lock cmpxchg qword [0x140036a40], rbp
jne 0x1400092b0
lea rax, [0x140036a48]
mov qword [0x140036a48], rsi
mov qword [0x140036a40], rax
mov rbx, qword [0x140036a40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov r9, qword [0x140036a38]
lea r10, [0x140036a50]
mov r8d, esi
mov eax, r8d
lea rcx, [r9 + 1]
add rcx, rax
movzx edx, cl
lea rax, [rdx + rdx*2]
cmp dword [r10 + rax*8], esi
jne 0x1400092d9
lea rax, [rdx + rdx*2]
mov qword [0x140036a38], rdx
mov dword [r10 + rax*8], ebp
mov qword [r10 + rax*8 + 8], rsi
mov dword [rdi + 4], edx
mov eax, dword [r10 + rax*8 + 0x10]
mov dword [rdi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [rdi + 4]
mov dword [rsp + 0x278], 0xffffffff
mov dword [rsp + 0x270], eax
cmp eax, 0xffffffff
je 0x1400092ee
mov rax, rsi
movzx ecx, bpl
test cl, cl
je 0x14000931a
mov eax, dword [rdi + 4]
mov dword [rsp + 0x280], 0x100
mov dword [rsp + 0x288], eax
cmp eax, 0x100
jge 0x140009362
movzx eax, bpl
test al, al
je 0x140009391
mov dword [rdi], ebp
add rsp, 0x248
pop rdi
pop rsi
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x140004c67
jmp 0x140004c62
mov rax, qword [0x140036a40]
cmp rax, rbp
jne 0x140004cab
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [0x140036a40]
cmp rax, rbp
je 0x1400092c0
jmp 0x140004cab
inc r8d
cmp r8d, 0x100
jl 0x140004ccc
jmp 0x140004d06
lea r8, str.slot____kInvalidSlotValue
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0x270]
call fcn.14000acac
test rax, rax
je 0x140004d30
xor cl, cl
jmp 0x140004d34
mov r9, rax
lea rdx, str.z:_build_build_src_security_sandbox_chromium_base_threading_thread_local_storage.cc
mov r8d, 0x11b
lea rcx, [rsp + 0x28]
call fcn.14000b120
mov ecx, dword [rsp + 0x12c]
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsp + 0xb8]
call fcn.14000b24c
lea rcx, [rsp + 0xb8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
jmp 0x140004d3c
lea r8, str.slot____kThreadLocalStorageSize
lea rdx, [rsp + 0x280]
lea rcx, [rsp + 0x288]
call fcn.14000acac
mov rsi, rax
test rax, rax
je 0x140004d5c
xor al, al
jmp 0x140004d60
mov r9, rsi
lea rdx, str.z:_build_build_src_security_sandbox_chromium_base_threading_thread_local_storage.cc
mov r8d, 0x11c
lea rcx, [rsp + 0x130]
call fcn.14000b120
mov ecx, dword [rsp + 0x234]
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsp + 0x1c0]
call fcn.14000b24c
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
jmp 0x140004d68
Function at 0x14000547c
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rdi, rdx
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1400054aa
lea ecx, [rax + 0x19]
int 0x29
test byte [rsp + 0x44], 0x44
je 0x1400054ff
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r9d, dword [rsp + 0x54]
xor edx, edx
lea ecx, [r9 - 1]
mov eax, ecx
lea r8, [r9 - 1]
and eax, edi
and ecx, ebx
add eax, ecx
not r8
dec rax
and r8, rbx
add rax, r9
div r9
xor edx, edx
mov rcx, rax
mov rax, rdi
div r9
add eax, ecx
je 0x1400054ff
lock or dword [r8], 0
add r8, r9
sub rax, 1
jne 0x1400054f1
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret

Function at 0x140005510
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
movsxd r8, dword [0x14000003c]
lea rdi, [0x140000000]
add r8, rdi
mov r11, rdx
mov rbx, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140005583
mov r9d, dword [r8 + 0xf0]
xor edx, edx
test r9d, r9d
je 0x140005583
movzx eax, word [r8 + 0x14]
lea rcx, [r8 + 0x18]
movzx r10d, word [r8 + 6]
add rcx, rax
mov r9d, dword [r9 + rdi + 0xc]
test r10d, r10d
je 0x140005583
mov eax, dword [rcx + 0xc]
cmp r9d, eax
jb 0x140005578
mov r8d, dword [rcx + 8]
add eax, r8d
cmp r9d, eax
jb 0x140005590
inc edx
add rcx, 0x28
cmp edx, r10d
jb 0x140005564
xor eax, eax
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret
mov dword [rbx], r8d
mov eax, dword [rcx + 0x24]
mov dword [r11], eax
mov eax, dword [rcx + 0xc]
add rax, rdi
jmp 0x140005585

Function at 0x14000a854
Capabilities:
Query environment variable
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x20
xor r8d, r8d
lea rcx, str.PATH
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
test eax, eax
je 0x14000a91a
mov eax, 2
mov r15, 0xffffffffffffffff
mul rbx
cmovo rax, r15
mov rcx, rax
call fcn.140005f70
mov r8d, ebx
lea rcx, str.PATH
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rbx - 1]
cmp ecx, eax
jne 0x14000a912
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
test eax, eax
je 0x14000a912
lea eax, [r15 + 3]
mul rsi
cmovo rax, r15
mov rcx, rax
call fcn.140005f70
mov r8d, esi
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x14000a90a
mov rdx, rbx
lea rcx, str.PATH
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rbx
call fcn.140006c90
mov rcx, rdi
call fcn.140006c90
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r15
ret
Function at 0x14000dadc
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rdi, rcx
xor ebx, ebx
mov rcx, qword [rcx + 0x28]
mov rsi, r8
test rcx, rcx
je 0x14000db74
cmp r8, 0x7fffffff
ja 0x14000db74
cmp qword [rdi + 0x38], rbx
jne 0x14000db74
cmp byte [rdi], bl
je 0x14000db18
call fcn.14000da64
test al, al
je 0x14000db74
mov al, byte [rdi + 0x40]
mov rcx, qword [rdi + 0x28]
neg al
mov qword [rsp + 0x20], rsi
sbb edx, edx
xor r9d, r9d
and edx, 0xfffffffe
xor r8d, r8d
add edx, 6
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 0x38], rax
mov rsi, rax
test rax, rax
je 0x14000db74
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000db6c
mov rbx, qword [rsp + 0x38]
sub rbx, rsi
add rbx, qword [rsp + 0x48]
mov qword [rdi + 0x30], rbx
mov al, 1
jmp 0x14000db76
xor al, al
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x14000f4dc
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
mov dword [0], 0x13
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 3
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x14000fbc8
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
mov eax, 0x2830
call fcn.140006eb0
sub rsp, rax
mov rax, qword [0x140036018]
xor rax, rsp
mov qword [rsp + 0x2820], rax
mov rbx, rcx
lea rax, [rsp + 0x20]
mov rdx, rcx
mov ecx, 0x20
lea edi, [rcx + 0x60]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rax + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rax + 0x50], xmm1
movups xmm1, xmmword [rdx + 0x70]
add rdx, rdi
movups xmmword [rax + 0x60], xmm0
add rax, rdi
movups xmmword [rax - 0x10], xmm1
sub rcx, 1
jne 0x14000fc08
mov r14d, dword [0x140036044]
lea rdx, [rsp + 0x20]
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, rbx
call fcn.140006c90
mov rax, qword [0x140036a40]
test rax, 0xfffffffffffffffe
jne 0x14000fca4
lea rcx, [0x140036a40]
call fcn.14000d880
test al, al
je 0x14000fca4
and qword [0x140036a48], 0
lea rax, [0x140036a48]
mov qword [0x140036a40], rax
mov rbx, qword [0x140036a40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
lea rax, [rsp + 0x1020]
mov edx, 0x30
lea rcx, [0x140036a50]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x30], xmm1
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x40], xmm0
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x50], xmm1
movups xmm1, xmmword [rcx + 0x70]
add rcx, rdi
movups xmmword [rax + 0x60], xmm0
add rax, rdi
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x14000fcc8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov esi, 0x100
xor dl, dl
lea rdi, [rsp + 0x20]
lea rbx, [rsp + 0x1030]
mov ebp, 0x100
mov rcx, qword [rdi]
test rcx, rcx
je 0x14000fd59
cmp dword [rbx - 0x10], 0
je 0x14000fd59
mov eax, dword [rbx]
cmp dword [rdi + 8], eax
jne 0x14000fd59
cmp qword [rbx - 8], 0
je 0x14000fd59
and qword [rdi], 0
call qword [rbx - 8]
mov dl, 1
add rbx, 0x18
add rdi, 0x10
sub rbp, 1
jne 0x14000fd34
dec esi
test esi, esi
jle 0x14000fd71
test dl, dl
jne 0x14000fd20
xor edx, edx
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rcx, qword [rsp + 0x2820]
xor rcx, rsp
call fcn.140005c90
lea r11, [rsp + 0x2830]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x14000fda4
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14000fdbe
mov dword [rbx], eax
mov al, 1
jmp 0x14000fdc0
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140010054
Capabilities:
Parse pe header

Disassembly:
mov rdx, qword [rcx + 8]
mov eax, 0x5a4d
cmp word [rdx], ax
je 0x140010065
xor al, al
ret
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x140010062
mov ecx, 0xf0
cmp word [rax + 0x14], cx
jne 0x140010062
mov ecx, 0x20b
cmp word [rax + 0x18], cx
sete al
ret
Function at 0x140011940
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1400104bc
test al, al
je 0x14001195d
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test rbx, rbx
je 0x14001196a
mov rcx, rbx
call fcn.140011684
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x140018c14
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x130
mov edi, 0x10000
mov rbx, rcx
cmp rcx, rdi
jbe 0x140018c92
lea r8, str.size___kAllocGranularity
lea rdx, [0x14002d6c8]
lea rcx, [rax + 8]
call fcn.14000fdc8
test rax, rax
je 0x140018c92
mov r9, rax
lea rdx, str.z:_build_build_src_security_sandbox_chromium_sandbox_win_src_interception.cc
mov r8d, 0x2b
lea rcx, [rsp + 0x20]
call fcn.14000b120
mov ecx, dword [rsp + 0x124]
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsp + 0xb0]
call fcn.14000b24c
lea rcx, [rsp + 0xb0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
sub rdi, rbx
mov edx, 4
lea rcx, [rsp + 0x148]
call qword [sym.imp.ADVAPI32.dll_SystemFunction036]
movzx ecx, word [rsp + 0x148]
mov dword [rsp + 0x148], ecx
cmp rcx, rdi
ja 0x140018c95
mov edx, 0x1000
mov eax, 0x800
jmp 0x140018cce
mov rdx, rax
shr rax, 1
cmp rax, rbx
jae 0x140018cc8
mov rbx, qword [rsp + 0x150]
lea rax, [rdx - 1]
not rax
and rax, rcx
add rsp, 0x130
pop rdi
ret
Function at 0x14001916c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x140036018]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor esi, esi
mov rdi, rcx
mov dword [rsp + 0x30], esi
lea ebx, [rsi + 1]
test dl, dl
jne 0x1400191bb
cmp qword [rcx + 0x10], rsi
jne 0x14001920a
xor eax, eax
jmp 0x140019366
and dword [rsp + 0x28], esi
lea rax, [0x14002e1d8]
mov r9d, ebx
mov qword [rsp + 0x20], rax
lea r8, str.NtMapViewOfSection
lea rdx, [0x14002e248]
call fcn.140018804
lea rax, [0x14002e218]
mov dword [rsp + 0x28], ebx
mov r9d, ebx
mov qword [rsp + 0x20], rax
lea r8, str.NtUnmapViewOfSection
mov rcx, rdi
lea rdx, [0x14002e248]
call fcn.140018804
mov rax, qword [rdi]
xor edx, edx
mov r9d, 0x2000
mov dword [rsp + 0x20], ebx
mov r8d, 0x10000
mov r15, qword [rax]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r14, qword [rdi + 0x10]
mov rbx, rax
shl r14, 6
add r14, 0x60
mov rcx, r14
call fcn.140018c14
mov r12, rax
mov dword [rsp + 0x20], 0x40
mov rdx, rax
lea r8, [r14 + 0xfff]
mov rax, 0xfffffffffffff000
mov r9d, 0x1000
and rdx, rax
and r8, rax
add rdx, rbx
mov rcx, r15
and r12d, 0xfff
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
jne 0x14001929f
mov r8d, 0x1a8
lea rdx, str.z:_build_build_src_security_sandbox_chromium_sandbox_win_src_interception.cc
lea rcx, [rsp + 0x40]
call fcn.14000b07c
lea esi, [rbx + 1]
test sil, 1
je 0x1400192c1
mov ecx, dword [rbp + 0x44]
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rbp - 0x30]
call fcn.14000b24c
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
and dword [rbp + 0x68], 0
lea rcx, [sym.firefox.exe_g_originals]
add rbx, r12
mov qword [rbp + 0x50], r14
mov r12d, 0x148
mov esi, 0x20
mov r8d, r12d
mov qword [rbp + 0x58], rsi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea r9, [rbp + 0x50]
mov r8, r14
mov rdx, rbx
mov rcx, rdi
call fcn.140018e4c
test eax, eax
jne 0x140019366
lea rax, [rsp + 0x38]
mov r9d, esi
lea r8, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140019361
cmp qword [rsp + 0x38], rsi
jne 0x140019361
lea rax, [rsp + 0x30]
mov r9d, esi
mov r8, r14
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [rdi]
lea r8, [sym.firefox.exe_g_originals]
mov r9d, r12d
lea rdx, [0x14002e238]
call fcn.14002a12c
jmp 0x140019366
mov eax, 0x2a
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140005c90
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret