joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a784
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x260
mov rdi, rcx
lea rbp, [rcx + 0x18]
xor ecx, ecx
mov word [rbp], cx
mov word [rdi + 0xa18], cx
mov word [rdi + 0xc18], cx
mov word [rdi + 0xe18], cx
lea r12, [rdi + 0x218]
lea r13, [rdi + 0x418]
mov word [r12], cx
mov word [r13], cx
lea r14, [rdi + 0x618]
mov word [r14], cx
lea r15, [rdi + 0x818]
mov rbx, rdx
mov word [r15], cx
mov ecx, r8d
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov r8d, dword [rsp + 0x2b0]
xor edx, edx
mov r9, rax
mov rcx, rbx
mov rsi, rax
call sub.VERSION.dll_GetFileVersionInfoW
lea r9, [rsp + 0x2b0]
lea r8, [rsp + 0x2a0]
lea rdx, [0x1400203c8]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14001a861
mov rcx, qword [rsp + 0x2a0]
mov eax, dword [rcx + 0x30]
mov dword [rdi + 4], eax
mov eax, dword [rcx + 8]
mov dword [rdi], eax
mov eax, dword [rcx + 0x14]
mov dword [rdi + 0xc], eax
mov eax, dword [rcx + 0x10]
mov dword [rdi + 8], eax
mov eax, dword [rcx + 0x24]
mov dword [rdi + 0x10], eax
mov eax, dword [rcx + 0x28]
mov dword [rdi + 0x14], eax
lea r9, [rsp + 0x2b0]
lea r8, [rsp + 0x2b8]
lea rdx, str.VarFileInfoTranslation
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14001a8d3
mov rax, qword [rsp + 0x2b8]
lea r8, str._4.4X_4.4X
mov edx, 0x14
movzx ecx, word [rax + 2]
movzx r9d, word [rax]
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll__snwprintf
lea r11, [rsp + 0x60]
lea r9, [0x14001f9c8]
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], r11
call fcn.14001a6c4
test eax, eax
jne 0x14001a8e4
lea rdx, str.040904E4
lea rcx, [rsp + 0x30]
call fcn.14001e8ea
lea r9, str.ProductName
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], rbp
call fcn.14001a6c4
lea r9, str.FileDescription
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], r12
call fcn.14001a6c4
lea r9, str.FileVersion
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], r13
call fcn.14001a6c4
lea r9, str.ProductVersion
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], r14
call fcn.14001a6c4
lea r9, str.CompanyName
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], r15
call fcn.14001a6c4
lea r11, [rdi + 0xa18]
lea r9, str.InternalName
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], r11
call fcn.14001a6c4
lea r11, [rdi + 0xc18]
lea r9, str.LegalCopyright
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], r11
call fcn.14001a6c4
lea r11, [rdi + 0xe18]
lea r9, str.OriginalFileName
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
mov qword [rsp + 0x20], r11
call fcn.14001a6c4
mov rcx, rsi
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rbx, qword [rsp + 0x2a8]
mov eax, 1
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001c4e8
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x880
and word [rax - 0x418], 0
mov rsi, rcx
lea rcx, [rax - 0x416]
xor edx, edx
mov r8d, 0x400
call sub.msvcrt.dll_memset
and word [rsp + 0x50], 0
mov edi, 0x208
lea rcx, [rsp + 0x52]
mov r8, rdi
xor edx, edx
call sub.msvcrt.dll_memset
and word [rsp + 0x260], 0
lea rcx, [rsp + 0x262]
mov r8, rdi
xor edx, edx
call sub.msvcrt.dll_memset
and word [rsp + 0x30], 0
xor eax, eax
xor ecx, ecx
cmp word [rsi + 0x210], ax
mov qword [rsp + 0x32], rax
mov qword [rsp + 0x3a], rax
mov qword [rsp + 0x42], rax
mov dword [rsp + 0x4a], eax
mov word [rsp + 0x4e], ax
mov dword [rsp + 0x890], ecx
je 0x14001c5aa
and dword [rsp + 0x20], eax
lea r9, [rsp + 0x890]
lea r8, [rsi + 0x210]
lea rcx, [rsp + 0x50]
mov edx, 0x104
call fcn.1400074ec
mov ecx, dword [rsp + 0x890]
movsxd rax, ecx
cmp word [rsi + rax*2 + 0x210], 0
je 0x14001c5da
mov dword [rsp + 0x20], ecx
lea r9, [rsp + 0x890]
lea r8, [rsi + 0x210]
lea rcx, [rsp + 0x30]
mov edx, InitCommonControls
call fcn.1400074ec
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll__wtoi
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x50]
mov edi, eax
mov r8d, 0x104
neg edi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov rbx, rax
je 0x14001c639
lea r8, [rsp + 0x470]
mov r9d, 0x200
mov edx, edi
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp word [rsp + 0x470], 0
je 0x14001c65e
lea rcx, [rsi + 0x20e]
lea rdx, [rsp + 0x470]
mov r8d, 0x200
call fcn.140006a28
lea r11, [rsp + 0x880]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14001e990
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
sub rsp, 0xc8
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
cmp word [0x140000000], 0x5a4d
je 0x14001e9cc
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
lea rdi, [0x140000000]
jmp 0x14001ea5a
movsxd rax, dword [0x14000003c]
lea rdi, [0x140000000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x14001e9f0
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x14001ea5a
movzx ecx, word [rax + 0x18]
cmp ecx, 0x10b
je 0x14001ea37
cmp ecx, 0x20b
je 0x14001ea0f
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x14001ea5a
cmp dword [rax + 0x84], 0xe
ja 0x14001ea23
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x14001ea5a
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
jmp 0x14001ea5a
cmp dword [rax + 0x74], 0xe
ja 0x14001ea48
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x14001ea5a
xor ebx, ebx
cmp dword [rax + 0xe8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
mov ecx, 2
call qword [sym.imp.msvcrt.dll___set_app_type]
mov qword [0x1400279d8], 0xffffffffffffffff
mov qword [0x1400279e0], 0xffffffffffffffff
mov rcx, qword [sym.imp.msvcrt.dll__fmode]
mov eax, dword [0x1400257bc]
mov dword [rcx], eax
mov rcx, qword [sym.imp.msvcrt.dll__commode]
mov eax, dword [0x1400257b8]
mov dword [rcx], eax
call fcn.14001ec60
cmp dword [section..data], 0
jne 0x14001eab4
lea rcx, [fcn.14001ec60]
call qword [sym.imp.msvcrt.dll___setusermatherr]
lea rdx, [0x14001f870]
lea rcx, [0x14001f868]
call fcn.1400be000
mov r11d, dword [0x1400257b4]
mov dword [rsp + 0xd8], r11d
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x1400257b0]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x3c]
call qword [sym.imp.msvcrt.dll___wgetmainargs]
lea rdx, [0x14001f860]
lea rcx, [0x14001f810]
call sub.msvcrt.dll__initterm
mov r8, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [r8], 0
jne 0x14001eb29
mov eax, 0xff
jmp 0x14001ebf9
mov r8, qword [r8]
mov qword [rsp + 0x30], r8
cmp word [r8], 0x22
jne 0x14001eb70
nop
nop
add r8, 2
mov qword [rsp + 0x30], r8
movzx eax, word [r8]
test ax, ax
je 0x14001eb5a
cmp ax, 0x22
je 0x14001eb5a
jmp 0x14001eb40
cmp word [r8], 0x22
jne 0x14001eb82
add r8, 2
mov qword [rsp + 0x30], r8
jmp 0x14001eb82
cmp word [r8], 0x20
jbe 0x14001eb82
add r8, 2
mov qword [rsp + 0x30], r8
jmp 0x14001eb70
movzx eax, word [r8]
test ax, ax
je 0x14001eb9c
cmp ax, 0x20
ja 0x14001eb9c
add r8, 2
mov qword [rsp + 0x30], r8
jmp 0x14001eb82
test byte [rsp + 0x8c], 1
je 0x14001ebb1
movzx r9d, word [rsp + 0x90]
jmp 0x14001ebb7
mov r9d, 0xa
xor edx, edx
mov rcx, rdi
call fcn.140016dd8
mov edi, eax
mov dword [rsp + 0x38], eax
test ebx, ebx
jne 0x14001ebd3
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
call qword [sym.imp.msvcrt.dll__cexit]
jmp 0x14001ebf7
mov eax, edi
mov rbx, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
add rsp, 0xc8
ret
Function at 0x140c54058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140c541df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140c54089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c5406f
add dl, dl
jne 0x140c54096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c540f6
xor eax, eax
add dl, dl
jne 0x140c540a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140c541ad
add dl, dl
jne 0x140c540b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c540c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c540d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c540dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140c540ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140c5407e
mov eax, 1
add dl, dl
jne 0x140c54106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140c54113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c540fb
sub eax, ebx
mov ebx, 1
jne 0x140c5414c
mov ecx, 1
add dl, dl
jne 0x140c5412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c5413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c54123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c5407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140c54168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140c54175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140c5415d
cmp eax, 0x7d00
jae 0x140c5419b
cmp eax, 0x500
jb 0x140c54196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c5407e
cmp eax, 0x7f
ja 0x140c5419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140c5407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140c541d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140c5407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1400083f0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
cmp qword [rcx], rdx
je 0x1400084a5
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 0x140008479
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140008465
mov qword [rsi], rdi
call fcn.140008500
mov r15, rax
mov r14, qword [rsp + 0x58]
cmp qword [0x140043a68], 0
je case.default.0x140008472
mov rcx, qword [0x140043a68]
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 [0x140047010]
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.140008500
mov r8, qword [rsp + 0x58]
mov rcx, r14
mov rdx, rsi
mov r9, rax
call fcn.140001040
mov rcx, qword [rsi]
call fcn.140001550
mov qword [rsi], 0
jmp 0x14000841f
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 0x1400084e8
lea rcx, [sym.plugin_container.exe_GetHandleVerifier]
cmp rax, rcx
jne 0x1400084ec
xor ecx, ecx
mov dl, 1
call fcn.140009c60
jmp 0x140008443
xor ecx, ecx
jmp 0x1400084f5
call qword [0x140047010]
mov rcx, rax
xor edx, edx
jmp 0x1400084de
nop
invalid
jnp 0x14007d5b8
or eax, 0xff0d3f6
insb byte [rdi], dx
invalid
or bh, byte [rax - 0x75013601]
hlt
Function at 0x140009e40
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x148
mov rsi, rcx
mov rax, qword [0x140042028]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov eax, 0xffffffff
mov qword [rcx], rax
mov ecx, dword [0x140042038]
cmp ecx, 0xffffffff
je 0x140009e7b
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140009e80
call fcn.14000a3c0
mov eax, dword [0x140043a58]
mov ecx, dword [0x1400421a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x140009eda
lea rcx, [0x140043a58]
call fcn.14001aa38
cmp dword [0x140043a58], 0xffffffff
jne 0x140009eda
mov ecx, 8
call sub.mozglue.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
mov qword [rax], 0
mov qword [0x140043a50], rax
lea rcx, [0x140043a58]
call fcn.14001a9d8
mov rdi, qword [0x140043a50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x140042248]
inc rax
xor ecx, ecx
lea rdx, [0x140042250]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x140009f7e
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], 0
mov qword [0x140042248], 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 0x140009f90
mov dword [rsp + 0x28], 0x100
mov dword [rsp + 0x24], eax
cmp eax, 0xff
jg 0x140009fd2
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14001bce0
mov rax, rsi
add rsp, 0x148
pop rdi
pop rsi
ret
inc rcx
cmp rcx, 0x100
jne 0x140009efd
jmp 0x140009f32
lea r8, str.slot____kInvalidSlotValue
lea rcx, [rsp + 0x24]
lea rdx, [rsp + 0x28]
call fcn.14001fd50
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.14001fa30
mov rcx, rdi
call fcn.14001fad0
mov eax, dword [rsi]
jmp 0x140009f4e
lea r8, str.slot____kThreadLocalStorageSize
lea rcx, [rsp + 0x24]
lea rdx, [rsp + 0x28]
call fcn.14001fd50
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.14001fa30
mov rcx, rdi
call fcn.14001fad0
jmp 0x140009f61
Function at 0x14000c7f0
Capabilities:
Encode data using base64

Disassembly:
push rsi
sub rsp, 0x20
cmp byte [rcx + 0x6c], 0
je 0x14000c831
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
jne 0x14000c81b
mov rcx, rsi
mov r8, rax
add rsp, 0x20
pop rsi
jmp fcn.14000c840
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 0x14000c840
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 0x14000c9a8
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 0x14000c9ad
test rax, rax
je 0x14000c9c7
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 0x14000c9cf
cmp r15, rdi
je 0x14000c95a
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 0x14000c939
mov rdi, qword [rsi]
test rdi, rdi
je 0x14000c97b
mov rdx, qword [rsi + 0x10]
sub rdx, rdi
cmp rdx, 0x1000
jae 0x14000ca2d
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.14001e940
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 0x14000c904
xor r14d, r14d
jmp 0x14000c904
cmp r15, rdi
je 0x14000c9f9
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 0x14000c9d7
mov r12, qword [rsi + 8]
cmp r12, rdi
je 0x14000c957
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 0x14000ca0a
jmp 0x14000c957
mov rax, qword [rdi - 8]
add rdi, 0xfffffffffffffff8
sub rdi, rax
cmp rdi, 0x20
jae 0x14000ca4a
add rdx, 0x27
mov rdi, rax
jmp 0x14000c973
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14000d740
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140042038]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14000d77e
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 0x14000d777
call fcn.14000a3c0
jmp 0x14000d75e
Function at 0x14000e870
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 [0x140042028]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rcx + 8]
test rax, rax
je 0x14000ea6e
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 0x14000e938
cmp ecx, dword [rdi + 0x10]
jae 0x14000ea6e
mov eax, dword [0x140043f34]
mov ecx, dword [0x1400421a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000e9ec
mov edx, dword [0x140043f30]
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 0x14000ea6e
mov eax, dword [0x140043f34]
mov ecx, dword [0x1400421a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000ea2d
mov eax, dword [0x140043f30]
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 0x14000e983
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 0x14000e9ad
test rdx, rdx
je 0x14000e9b0
test r9, r9
je 0x14000e9b0
test eax, eax
je 0x14000e9b0
test cl, cl
je 0x14000e9b0
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.14001bce0
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x140043f34]
call fcn.14001aa38
cmp dword [0x140043f34], 0xffffffff
jne 0x14000e8de
lea rbx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbx + 4]
mov dword [0x140043f30], eax
lea rcx, [0x140043f34]
call fcn.14001a9d8
jmp 0x14000e8de
lea rcx, [0x140043f34]
call fcn.14001aa38
cmp dword [0x140043f34], 0xffffffff
jne 0x14000e92b
lea rbx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbx + 4]
mov dword [0x140043f30], eax
lea rcx, [0x140043f34]
call fcn.14001a9d8
jmp 0x14000e92b
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi], xmm0
jmp 0x14000e9d5
Function at 0x1400110a0
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 [0x140042028]
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 [0x140043f34]
mov ecx, dword [0x1400421a8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400111b5
lea rcx, [0x140043f34]
call fcn.14001aa38

Function at 0x140014a40
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp dword [rcx + 0x10], 0
mov rcx, qword [rcx]
je 0x140014b7d
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 0x140014a91
mov rcx, rdi
call fcn.140014c00
mov rcx, rdi
call fcn.1400383a0
mov rcx, qword [rsi + 0x58]
test rcx, rcx
jne 0x140014ba0
mov rcx, qword [rsi + 0x50]
test rcx, rcx
je 0x140014aad
call qword [sym.imp.mozglue.dll_free]
mov rdi, qword [rsi + 0x38]
test rdi, rdi
jne 0x140014be4
mov rdi, qword [rsi + 0x28]
lea rax, [rdi + 1]
cmp rax, 2
jae 0x140014af3
mov rdi, qword [rsi + 0x20]
lea rax, [rdi + 1]
cmp rax, 2
jae 0x140014b20
mov rdi, qword [rsi + 0x18]
lea rax, [rdi + 1]
cmp rax, 2
jae 0x140014b4d
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140009290
lea rbx, [rsi + 0x28]
call fcn.140008500
mov r8, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rbx
mov r9, rax
call fcn.140001040
mov rcx, qword [rbx]
call fcn.140001550
mov qword [rbx], 0
jmp 0x140014ac8
lea rbx, [rsi + 0x20]
call fcn.140008500
mov r8, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rbx
mov r9, rax
call fcn.140001040
mov rcx, qword [rbx]
call fcn.140001550
mov qword [rbx], 0
jmp 0x140014ad6
lea rbx, [rsi + 0x18]
call fcn.140008500
mov r8, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rbx
mov r9, rax
call fcn.140001040
mov rcx, qword [rbx]
call fcn.140001550
mov qword [rbx], 0
jmp 0x140014ae4
test rcx, rcx
jne 0x140014a57
cmp dword [rsi + 0x14], 0
jne 0x140014a57
cmp qword [rsi + 8], 0
jne 0x140014a57
jmp 0x140014a70
mov rdx, qword [rsi + 0x68]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140014bc8
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x140014bf9
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 0x140014a9e
mov rcx, rdi
call fcn.140014c00
mov rcx, rdi
call fcn.1400383a0
jmp 0x140014aba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3