joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001c420
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
call fcn.14000cf50
test al, al
je 0x14001c453
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 0x14001c474
mov rcx, rdi
call fcn.14001c670
mov rcx, rdi
call sub.mozglue.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsi + 0x58]
test rcx, rcx
jne 0x14001c608
mov rcx, qword [rsi + 0x50]
test rcx, rcx
je 0x14001c490
call qword [sym.imp.mozglue.dll_free]
mov rdi, qword [rsi + 0x38]
test rdi, rdi
jne 0x14001c64c
mov rax, qword [rsi + 0x28]
inc rax
cmp rax, 2
jae 0x14001c4df
mov rax, qword [rsi + 0x20]
inc rax
cmp rax, 2
jae 0x14001c542
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 2
jae 0x14001c5a5
mov rcx, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.1400053b0
lea rdi, [rsi + 0x28]
call fcn.14000d440
mov rbx, rax
mov r14, qword [rsp + 0x58]
mov r15, qword [rdi]
call fcn.14000d450
mov rcx, qword [rax]
mov r10, qword [rcx + 0x10]
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov rdx, r15
mov r8, rdi
mov r9, r14
mov rax, r10
call qword [0x14006a010]
mov rbx, qword [rdi]
call fcn.14000d450
mov rcx, qword [rax]
mov r8, qword [rcx]
mov rcx, rax
mov rdx, rbx
mov rax, r8
call qword [0x14006a010]
mov qword [rdi], 0
jmp 0x14001c4aa
lea rdi, [rsi + 0x20]
call fcn.14000d440
mov rbx, rax
mov r14, qword [rsp + 0x58]
mov r15, qword [rdi]
call fcn.14000d450
mov rcx, qword [rax]
mov r10, qword [rcx + 0x10]
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov rdx, r15
mov r8, rdi
mov r9, r14
mov rax, r10
call qword [0x14006a010]
mov rbx, qword [rdi]
call fcn.14000d450
mov rcx, qword [rax]
mov r8, qword [rcx]
mov rcx, rax
mov rdx, rbx
mov rax, r8
call qword [0x14006a010]
mov qword [rdi], 0
jmp 0x14001c4bb
lea rdi, [rsi + 0x18]
call fcn.14000d440
mov rbx, rax
mov r14, qword [rsp + 0x58]
mov r15, qword [rdi]
call fcn.14000d450
mov rcx, qword [rax]
mov r10, qword [rcx + 0x10]
mov qword [rsp + 0x20], rbx
mov rcx, rax
mov rdx, r15
mov r8, rdi
mov r9, r14
mov rax, r10
call qword [0x14006a010]
mov rbx, qword [rdi]
call fcn.14000d450
mov rcx, qword [rax]
mov r8, qword [rcx]
mov rcx, rax
mov rdx, rbx
mov rax, r8
call qword [0x14006a010]
mov qword [rdi], 0
jmp 0x14001c4cc
mov rdx, qword [rsi + 0x68]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14001c630
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x14001c661
add rdx, 0x27
mov rcx, rax
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 0x14001c481
mov rcx, rdi
call fcn.14001c670
mov rcx, rdi
call sub.mozglue.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x14001c49d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14001cb60
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x150
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140064030]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov ecx, dword [0x140064088]
cmp ecx, 0xffffffff
je 0x14001cb97
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x14001cb9c
call fcn.14001cd40
mov eax, dword [0x140066668]
mov ecx, dword [0x1400644c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x14001cbf6
lea rcx, [0x140066668]
call fcn.14002eec4
cmp dword [0x140066668], 0xffffffff
jne 0x14001cbf6
mov ecx, 8
call sub.mozglue.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rax], 0
mov qword [0x140066660], rax
lea rcx, [0x140066668]
call fcn.14002ee64
mov rbx, qword [0x140066660]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x140064e58]
inc rax
xor ecx, ecx
lea rdx, [0x140064e60]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x14001cc97
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov qword [0x140064e58], r8
mov dword [rsi], r8d
mov eax, dword [rax + 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 0x14001cca9
mov eax, dword [rsi]
mov dword [rsp + 0x30], 0x100
mov dword [rsp + 0x2c], eax
cmp eax, 0xff
jg 0x14001ccee
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.140030030
nop
add rsp, 0x150
pop rbx
pop rdi
pop rsi
ret
inc rcx
cmp rcx, 0x100
jne 0x14001cc19
jmp 0x14001cc4a
lea r8, str.slot____kInvalidSlotValue
lea rcx, [rsp + 0x2c]
lea rdx, [rsp + 0x30]
call fcn.14003b2b0
test rax, rax
je 0x14001cc66
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.14003af60
mov rcx, rdi
call fcn.14003b000
jmp 0x14001cc66
lea r8, str.slot____kThreadLocalStorageSize
lea rcx, [rsp + 0x2c]
lea rdx, [rsp + 0x30]
call fcn.14003b2b0
test rax, rax
je 0x14001cc7b
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.14003af60
mov rcx, rsi
call fcn.14003b000
jmp 0x14001cc7b
Function at 0x140023e30
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x140064030]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x3c], 8
cmp qword [r8 + 0x18], 8
jb 0x140023e59
mov r8, qword [r8]
mov rcx, qword [rdx]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
mov rdx, r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140023e9e
cmp dword [rsp + 0x38], 0xb
jne 0x140023ec3
mov rax, qword [rsp + 0x40]
mov byte [rsi + 0x10], 0
mov qword [rsi], rax
mov byte [rsi + 8], 1
jmp 0x140023ead
cmp eax, 2
jne 0x140023ee1
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov byte [rsi + 0x10], 0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140030030
mov rax, rsi
add rsp, 0x50
pop rsi
ret
mov byte [rsi + 0x10], 1
lea rax, str._builds_worker_checkouts_gecko_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
movabs rax, 0x8007065d00000043
mov qword [rsi + 8], rax
jmp 0x140023ead
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [rsi + 0x10], 1
lea rax, str._builds_worker_checkouts_gecko_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0x3f
mov dword [rsi + 0xc], ecx
jmp 0x140023ead
Function at 0x140024870
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140064030]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp byte [0x140064d6c], 1
je 0x1400249f5
cmp qword [rdi + 0x20], 0
je 0x140024975
cmp byte [rdi + 8], 0
je 0x1400248fe
mov rbx, qword [rdi]
mov rcx, rdi
call fcn.140024b70
mov qword [rsp + 0x48], rbx
cmp qword [rax + 0x18], 8
jb 0x1400248c4
mov rax, qword [rax]
mov rcx, qword [rdi + 0x20]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rdx
mov dword [rsp + 0x28], 8
mov rdx, rax
xor r8d, r8d
mov r9d, 0xb
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140024a25
cmp byte [rdi + 8], 0
je 0x1400248fe
mov byte [rdi + 8], 0
cmp byte [rdi + 0x18], 0
je 0x140024959
mov rbx, qword [rdi + 0x10]
mov rcx, rdi
call fcn.140024a90
mov qword [rsp + 0x48], rbx
cmp qword [rax + 0x18], 8
jb 0x14002491f
mov rax, qword [rax]
mov rcx, qword [rdi + 0x20]
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x20], rdx
mov dword [rsp + 0x28], 8
mov rdx, rax
xor r8d, r8d
mov r9d, 0xb
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140024a25
cmp byte [rdi + 0x18], 0
je 0x140024959
mov byte [rdi + 0x18], 0
mov byte [rsi + 0x10], 0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140030030
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 0
lea rdx, str.SOFTWAREMozillaFirefoxLauncher
mov rcx, 0xffffffff80000001
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140024a50
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rdi + 0x20]
test rcx, rcx
jne 0x140024a76
mov qword [rdi + 0x20], rbx
mov eax, dword [rsp + 0x54]
dec eax
cmp eax, 1
jbe 0x1400248a4
mov eax, 0xb4
mov ecx, 0x80070507
jmp 0x140024a63
cmp byte [rdi + 0x18], 0
je 0x1400249ff
mov byte [rdi + 0x18], 0
mov rax, qword [rdi + 0x10]
mov qword [rdi], rax
mov al, byte [rdi + 0x18]
mov byte [rdi + 8], al
mov eax, dword [rdi + 0x19]
mov dword [rdi + 9], eax
movzx eax, word [rdi + 0x1d]
mov word [rdi + 0xd], ax
mov al, byte [rdi + 0x1f]
mov byte [rdi + 0xf], al
jmp 0x140024959
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [rsi + 0x10], 1
lea rax, str._builds_worker_checkouts_gecko_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0x79
mov dword [rsi + 0xc], ecx
jmp 0x14002495d
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, 0xa5
mov byte [rsi + 0x10], 1
lea rdx, str._builds_worker_checkouts_gecko_toolkit_xre_LauncherRegistryInfo.cpp
mov qword [rsi], rdx
mov dword [rsi + 8], eax
jmp 0x140024a48
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400249d6
Function at 0x1400252b0
Capabilities:
Parse pe header

Disassembly:
mov rax, rcx
lea rcx, [0x140000000]
and rcx, 0xfffffffffffffffc
mov qword [rax], rcx
xorps xmm0, xmm0
movups xmmword [rax + 8], xmm0
mov byte [rax + 0x18], 0
je 0x14002533c
movzx edx, word [rcx]
cmp edx, 0x5a4d
jne 0x14002533c
lea r8, [rax + 8]
movsxd r9, dword [rcx + 0x3c]
lea rdx, [rcx + r9]
mov qword [r8], rdx
cmp dword [rcx + r9], 0x4550
jne 0x14002533c
movzx r8d, word [rdx + 0x18]
cmp r8d, 0x20b
jne 0x14002533c
mov r8d, dword [rdx + 0x50]
cmp r8d, 0x148
jb 0x14002533c
lea r9d, [r8 - 1]
add rcx, r9
mov qword [rax + 0x10], rcx
mov ecx, dword [rdx + 0x84]
cmp ecx, 0x10
mov r9d, 0x10
cmovb r9d, ecx
cmp r9d, 2
jb 0x14002533c
cmp dword [rdx + 0x90], r8d
setae byte [rax + 0x18]
ret

Function at 0x1400253c0
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x140064030]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rdi, [rsp + 0x40]
mov dword [rdi], 4
mov qword [rsp + 0x30], rdi
lea r14, [rsp + 0x4c]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], 0
lea rdx, str.SOFTWAREPoliciesMozillaFirefox
mov rcx, 0xffffffff80000002
mov r8, rsi
mov r9d, 0x18
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp dword [r14], 1
sete bl
test eax, eax
je 0x1400254ff
mov dword [rsp + 0x4c], 8
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
lea rdx, str.SOFTWAREPoliciesMozillaFirefox
mov rcx, 0xffffffff80000002
mov r8, rsi
mov r9d, 0x48
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp qword [rsp + 0x40], 1
sete bl
test eax, eax
je 0x1400254ff
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], 0
lea rdx, str.SOFTWAREPoliciesMozillaFirefox
mov rcx, 0xffffffff80000001
mov r8, rsi
mov r9d, 0x18
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp dword [rsp + 0x4c], 1
sete bl
test eax, eax
je 0x1400254ff
mov dword [rsp + 0x4c], 8
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
lea rdx, str.SOFTWAREPoliciesMozillaFirefox
mov rcx, 0xffffffff80000001
mov r8, rsi
mov r9d, 0x48
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
sete al
cmp qword [rsp + 0x40], 1
sete bl
and bl, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140030030
mov eax, ebx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140025520
Capabilities:
Map section object

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rsi, rcx
mov rax, qword [0x140064030]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp dword [rdx], 0
je 0x1400255d7
mov ebx, r8d
mov rdi, rdx
mov rcx, qword [0x140064dd0]
xor eax, eax
lea r8, [rsp + 0x50]
mov qword [r8], rax
lea rdx, [rsp + 0x58]
mov qword [rdx], rax
mov qword [rsp + 0x30], rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
mov rdx, 0xffffffffffffffff
xor r9d, r9d
call sub.ntdll.dll_NtMapViewOfSection
test eax, eax
jns 0x1400255a9
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
mov r14, qword [rsp + 0x50]
test r14, r14
je 0x1400255e0
cmp dword [r14 + 0x2c], 0
je 0x14002560d
mov byte [rsi + 0x10], 1
lea rax, str._builds_worker_checkouts_gecko_browser_app_winlauncher_freestanding_SharedSection.cpp
mov qword [rsi], rax
movabs rax, 0x8007139f000000d6
jmp 0x140025663
mov byte [rsi + 0x10], 0
jmp 0x14002568f
call sub.ntdll.dll_RtlGetLastWin32Error
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [rsi + 0x10], 1
lea rax, str._builds_worker_checkouts_gecko_browser_app_winlauncher_freestanding_SharedSection.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0xcf
mov dword [rsi + 0xc], ecx
jmp 0x140025667
movzx eax, bl
mov dword [r14 + 0x28], eax
mov r8d, dword [rdi]
cmp r8, 0xfc8
ja 0x14002564b
lea rcx, [r14 + 0x38]
mov rdx, qword [rdi + 8]
call sub.ntdll.dll_memcpy
mov eax, dword [rdi]
test eax, eax
je 0x14002564b
cmp eax, 0x21
mov ecx, 0x20
cmovae ecx, eax
add ecx, 0x38
mov dword [r14 + 0x2c], ecx
mov byte [rsi + 0x10], 0
jmp 0x140025667
mov byte [rsi + 0x10], 1
lea rax, str._builds_worker_checkouts_gecko_browser_app_winlauncher_freestanding_SharedSection.cpp
mov qword [rsi], rax
movabs rax, 0x8007007a000000df
mov qword [rsi + 8], rax
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x14002568f
mov rcx, 0xffffffffffffffff
call sub.ntdll.dll_NtUnmapViewOfSection
test eax, eax
jns 0x14002568f
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140030030
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140027480
Capabilities:
Get common file path

Disassembly:
push rsi
sub rsp, 0x240
mov rax, qword [0x140064030]
xor rax, rsp
mov qword [rsp + 0x238], rax
mov eax, dword [0x140064aa8]
mov ecx, dword [0x1400644c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x140027500
lea rcx, [0x140064aa8]
call fcn.14002eec4
cmp dword [0x140064aa8], 0xffffffff
jne 0x140027500
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.SetDefaultDllDirectories
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140064aa0], rax
lea rcx, [0x140064aa8]
call fcn.14002ee64
cmp qword [0x140064aa0], 0
je case.default.0x140027534
lea rsi, str.user32.dll
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.140030030
mov rcx, rsi
xor edx, edx
mov r8d, 0x800
add rsp, 0x240
pop rsi
jmp qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
lea rcx, [rsp + 0x20]
mov edx, 0x105
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [rax - 1]
cmp ecx, 0xf9
ja 0x140027573
mov eax, eax
cmp word [rsp + rax*2 + 0x1e], 0x5c
je 0x140027575
cmp eax, 0xf9
ja 0x140027573
mov word [rsp + rax*2 + 0x20], 0x5c
inc rax
jmp 0x140027575
xor eax, eax
lea rsi, [rsp + rax*2]
add rsi, 0x20
lea rdx, str.user32.dll
mov r8d, 0xa
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov word [rsi + 0x14], 0
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 8
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.140030030
nop
add rsp, 0x240
pop rsi
ret
mov esp, 0x6d52609f
cdq
jp 0x1400bf59b
xchg edi, eax
shr eax, 1
retf
pop rdi
mov dh, 0xc
xor byte fs:[rcx + 0x2b], ah
invalid
sub esp, dword [rdx]
test byte gs:[rdx], bl
jnp 0x1400bf61c
outsd dx, dword [rsi]
invalid

Function at 0x140028000
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x140064030]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x140064d74]
mov ecx, dword [0x1400644c0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140028050
mov esi, dword [0x140064d70]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140030030
mov eax, esi
add rsp, 0x60
pop rsi
ret
lea rcx, [0x140064d74]
call fcn.14002eec4
cmp dword [0x140064d74], 0xffffffff
jne 0x140028035
lea rsi, [rsp + 0x28]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsi + 4]
mov dword [0x140064d70], eax
lea rcx, [0x140064d74]
call fcn.14002ee64
jmp 0x140028035
Function at 0x14002abd0
Capabilities:
Access peb ldr_data

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov ebx, r9d
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov bpl, byte [rsp + 0x88]
mov r12d, dword [rsp + 0x80]
mov eax, dword [0x140064df0]
mov rcx, qword gs:[0x30]
cmp eax, dword [rcx + 0x48]
je 0x14002ac54
cmp byte [0x140064df4], 0
je 0x14002ac54
mov eax, dword [0x1400644c0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp byte [rax + 8], 0
jne 0x14002ac38
call fcn.14002f7f8
mov eax, dword [0x1400644c0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x10]
jmp 0x14002ac59
call fcn.14002c100
mov qword [rsi], rax
lea rdi, [rsi + 8]
xor eax, eax
mov qword [rsi + 8], rax
mov byte [rsi + 0x10], 0
mov dword [rsi + 0x14], ebx
lea rcx, [rsi + 0x18]
mov qword [rsi + 0x20], rax
mov rdx, qword gs:[0x30]
mov edx, dword [rdx + 0x48]
mov dword [rsi + 0x28], edx
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
lea rbx, [rsi + 0x40]
movups xmm1, xmmword [r15]
movups xmmword [rsi + 0x40], xmm1
mov dword [r15], 0
mov qword [r15 + 8], rax
mov qword [rsi + 0x50], r14
movups xmmword [rsi + 0x60], xmm0
mov qword [rsi + 0x58], 8
mov dword [rsi + 0x70], r12d
mov byte [rsi + 0x74], bpl
call sub.ntdll.dll_RtlQueryPerformanceCounter
mov eax, dword [0x140064df0]
mov rcx, qword gs:[0x30]
cmp eax, dword [rcx + 0x48]
jne 0x14002acdd
mov rcx, rsi
call fcn.14002c110
jmp 0x14002ad38
cmp byte [0x140064df4], 0
jne 0x14002acfd
mov rax, qword gs:[0x30]
cmp qword [rax + 0x58], 0
je 0x14002ad68
mov byte [0x140064df4], 1
mov eax, dword [0x1400644c0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp byte [rax + 8], 0
jne 0x14002ad1e
call fcn.14002f7f8
mov eax, dword [0x1400644c0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x10], rsi
lea rcx, [0x140064068]
mov rax, qword [0x140064068]
mov rax, qword [rax + 0x40]
mov rdx, rdi
mov r8, rbx
call qword [0x14006a010]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x48]
mov dword [0x140064df0], eax
jmp 0x14002acd3
Function at 0x14002b220
Capabilities:
Check os version

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x140
mov rdi, r8
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x140064030]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov qword [r8], 0xffffffffffffffff
mov eax, dword [rcx + 0x18]
test al, 3
je 0x14002b297
lea rbx, [rsp + 0x24]
mov r8d, 0x110
mov rcx, rbx
xor edx, edx
call sub.ntdll.dll_memset
mov dword [rbx - 4], 0x114
lea rcx, [rsp + 0x20]
call sub.ntdll.dll_RtlGetVersion
test eax, eax
js 0x14002b3db
mov eax, dword [rsi + 0x18]
test al, 2
jne 0x14002b3e2
test al, 1
jne 0x14002b3fd
test al, 8
je 0x14002b2aa
xor ebx, ebx
test byte [0x140064a98], 1
je 0x14002b431
test al, 0x40
je 0x14002b2bd
xor ebx, ebx
test byte [0x140064a98], 4
je 0x14002b431
test al, al
jns 0x14002b2d0
xor ebx, ebx
test byte [0x140064a98], 8
je 0x14002b431
bt eax, 8
jae 0x14002b2e5
xor ebx, ebx
test byte [0x140064a98], 0x10
je 0x14002b431
test al, 0x10
je 0x14002b2f8
xor ebx, ebx
test byte [0x140064a98], 1
jne 0x14002b431
bt eax, 9
jae 0x14002b30d
xor ebx, ebx
test byte [0x140064a98], 0x20
je 0x14002b431
mov rcx, qword [rsi + 0x10]
cmp rcx, 0xffffffffffffffff
je 0x14002b418
mov ebx, 2
cmp qword [r14 + 0x10], 0
je 0x14002b431
test al, 4
jne 0x14002b41f
mov rcx, r14
call fcn.14002b460
test rax, rax
je 0x14002b431
mov r14, rax
movzx ebp, word [rax]
cmp bp, 0x26
jb 0x14002b431
movaps xmm0, xmmword [0x140056d50]
lea rdx, [rsp + 0x20]
movaps xmmword [rdx + 0x10], xmm0
movaps xmm0, xmmword [0x140056d40]
movaps xmmword [rdx], xmm0
mov rcx, r14
add rcx, 6
mov r8d, 0x10
call qword [sym.imp.ntdll.dll_RtlCompareMemory]
cmp rax, 0x10
jne 0x14002b431
cmp word [r14 + 2], 0x34
jne 0x14002b431
mov eax, 2
sub eax, r14d
and eax, 3
add rax, 0x26
cmp ax, bp
jae 0x14002b431
cmp dword [rax + r14], 0xfeef04bd
jne 0x14002b431
mov ecx, dword [r14 + rax + 8]
mov eax, dword [r14 + rax + 0xc]
shl rcx, 0x20
or rax, rcx
mov qword [rdi], rax
xor ecx, ecx
cmp qword [rsi + 0x10], rax
setae cl
lea ebx, [rcx + rcx*2]
jmp 0x14002b431
mov ebx, 2
jmp 0x14002b431
xor ebx, ebx
cmp dword [rsp + 0x24], 6
ja 0x14002b431
jne 0x14002b28f
cmp dword [rsp + 0x28], 2
ja 0x14002b431
jmp 0x14002b28f
xor ebx, ebx
cmp dword [rsp + 0x24], 6
ja 0x14002b431
jne 0x14002b297
cmp dword [rsp + 0x28], 2
jae 0x14002b431
jmp 0x14002b297
mov ebx, 3
jmp 0x14002b431
mov rax, qword [r14 + 8]
mov eax, dword [rax + 8]
xor edx, edx
cmp rcx, rax
setae dl
lea ebx, [rdx + rdx*2]
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.140030030
mov eax, ebx
add rsp, 0x140
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x1400309c0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rcx + 8]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x1400309f7
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1400309f7
movzx edx, word [rax + rcx + 0x14]
cmp edx, 0xf0
jne 0x1400309f7
movzx eax, word [rax + rcx + 0x18]
cmp eax, 0x20b
sete al
ret
xor eax, eax
jmp 0x1400309f6

Function at 0x140032080
Capabilities:
Query environment variable

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x140064030]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rcx, str.MOZ_ENABLE_HANDLE_VERIFIER
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
jne 0x1400320bf
call fcn.1400321d0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140030030
nop
add rsp, 0x60
pop rsi
ret
movaps xmm0, xmmword [str.kernel32ext_ms_win_ntuser_windowstation_l1_1_0]
movaps xmmword [rsp + 0x30], xmm0
movabs rax, 0x6c006c0064002e
mov qword [rsp + 0x40], rax
mov word [rsp + 0x48], 0
cmp qword [0x140066ab8], 0
jne 0x1400320fd
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140066ab8], rax
lea r9, [rsp + 0x28]
mov qword [r9], 0
lea rax, [0x140066b08]
lea r8, [rsp + 0x30]
mov qword [r8], rax
lea rsi, [0x140066a98]
mov qword [r8 + 8], rsi
lea rax, [0x140058d81]
mov qword [r8 + 0x10], rax
lea rax, [0x140053250]
mov qword [r8 + 0x18], rax
mov byte [r8 + 0x20], 0
lea rcx, [0x140066b10]
lea rdx, [0x1400532f0]
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1400320a6
cmp qword [rsp + 0x28], 0
je 0x1400320a6
lea r9, [rsp + 0x28]
mov qword [r9], 0
lea rax, [0x140066b18]
lea r8, [rsp + 0x30]
mov qword [r8], rax
mov qword [r8 + 8], rsi
lea rax, [0x140058d71]
mov qword [r8 + 0x10], rax
lea rax, [0x140053280]
mov qword [r8 + 0x18], rax
mov byte [r8 + 0x20], 0
lea rcx, [0x140066b20]
lea rdx, [0x1400532f0]
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1400320a6
cmp qword [rsp + 0x28], 0
jne 0x1400320ab
jmp 0x1400320a6