joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140015cf0
Capabilities:
Print debug messages

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x860
mov rsi, rcx
mov qword [rsp + 0x898], rdx
mov qword [rsp + 0x8a0], r8
mov qword [rsp + 0x8a8], r9
mov r15, qword [0x1401054a8]
mov rax, qword [r15]
xor rax, rsp
mov qword [rsp + 0x858], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140015da3
lea rdi, [rsp + 0x898]
mov qword [rsp + 0x28], rdi
lea rbx, [rsp + 0x30]
mov rcx, rbx
call qword [method.mozilla::PrintfTarget.PrintfTarget__]
lea rax, [0x140105428]
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x50]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 0x800
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call qword [method.mozilla::PrintfTarget.vprint_char_const__char_]
mov rax, qword [rsp + 0x38]
cmp rax, 0x7ff
mov ecx, 0x7ff
cmovb rcx, rax
mov byte [rsp + rcx + 0x50], 0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__fileno]
cmp eax, 0xfffffffe
je 0x140015dfb
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__dup]
lea rdx, [0x140105ea6]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll__fdopen]
test rax, rax
je 0x140015dfb
mov rdi, rax
lea r8, [rsp + 0x898]
mov qword [rsp + 0x50], r8
mov rcx, rax
mov rdx, rsi
call fcn.1400d5e00
mov rcx, rdi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov rax, qword [rsp + 0x858]
xor rax, rsp
mov rcx, qword [r15]
cmp rcx, rax
jne 0x140015e1d
add rsp, 0x860
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400d58e0
int3

Function at 0x1400160e0
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r14, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov r13, qword [0x1401054a8]
mov rax, qword [r13]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdx, qword [r8 + 8]
lea rbp, [rsp + 0x3c]
mov qword [rsp + 0x30], rbp
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov rcx, rdi
mov r8, rsi
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x14001613f
xor eax, eax
jmp 0x1400161a1
mov r12d, dword [rsp + 0x3c]
add r12, r12
mov rcx, r12
call qword [sym.imp.mozglue.dll_moz_xmalloc]
mov r15, rax
mov rcx, rax
xor edx, edx
mov r8, r12
call sub.ntdll.dll_memset
mov rcx, qword [r14]
mov qword [r14], r15
test rcx, rcx
je 0x140016173
call sub.mozglue.dll_free
mov r15, qword [r14]
mov rdx, qword [rbx + 8]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov r8, rsi
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
sete al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
mov rdx, qword [r13]
cmp rdx, rcx
jne 0x1400161c3
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400d58e0
int3
Function at 0x140017e50
Capabilities:
Map section object

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rdi, rdx
mov rsi, rcx
mov r14, qword [0x1401054a8]
mov rax, qword [r14]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rcx, qword [0x140148020]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
lea r8, [rsp + 0x58]
mov rdx, 0xffffffffffffffff
xor r9d, r9d
call sub.ntdll.dll_NtMapViewOfSection
test eax, eax
jns 0x140017ee1
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140017fad
mov ecx, dword [rax + 0x2c]
test ecx, ecx
jne 0x140017f02
mov dword [rax + 0x2c], 0x58
mov ecx, 0x58
mov ecx, ecx
add rax, rcx
mov ebp, 0x1000
sub rbp, rcx
mov r15d, 2
test rax, rax
cmovne r15, rax
jne 0x140017f28
cmp rbp, 2
jae 0x140018076
mov r13, rbp
shr r13, 1
xor r12d, r12d
cmp rbp, 2
jb 0x140017f7a
lea rbx, [rsp + 0x60]
nop dword [rax]
lea rdx, [r15 + r12*2]
mov rcx, rbx
call sub.ntdll.dll_RtlInitUnicodeString
cmp word [rsp + 0x60], 0
je 0x140017f7a
mov rcx, rbx
mov rdx, rdi
mov r8b, 1
call sub.ntdll.dll_RtlCompareUnicodeString
test eax, eax
je 0x140018026
movzx eax, word [rsp + 0x62]
shr rax, 1
add r12, rax
cmp r12, r13
jb 0x140017f40
movzx r8d, word [rdi]
lea rax, [r8 + r12*2]
add rax, 4
and rbp, 0xfffffffffffffffe
cmp rax, rbp
jbe 0x140017fda
mov byte [rsi + 0x10], 1
lea rax, str._var_tmp_build_firefox_1d8abcb1f7a7_browser_app_winlauncher_freestanding_SharedSection.cpp
mov qword [rsi], rax
movabs rax, 0x8007007a000000c3
mov qword [rsi + 8], rax
jmp 0x14001802a
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._var_tmp_build_firefox_1d8abcb1f7a7_browser_app_winlauncher_freestanding_SharedSection.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0xb6
mov dword [rsi + 0xc], ecx
jmp 0x14001802a
cmp r13, r12
jb 0x140018086
test r15, r15
sete al
sub r13, r12
sete cl
and cl, al
cmp r13, 0xffffffffffffffff
sete dl
or dl, al
cmp cl, dl
jne 0x140018076
test r15, r15
lea rax, [r15 + r12*2]
mov ebx, 2
cmovne rbx, rax
mov rdx, qword [rdi + 8]
mov rcx, rbx
call sub.ntdll.dll_memcpy
movzx eax, word [rdi]
and eax, 0xfffffffe
mov word [rbx + rax], 0
mov byte [rsi + 0x10], 0
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140018052
mov rcx, 0xffffffffffffffff
call sub.ntdll.dll_NtUnmapViewOfSection
test eax, eax
jns 0x140018052
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
mov rax, qword [rsp + 0x70]
xor rax, rsp
mov rcx, qword [r14]
cmp rcx, rax
jne 0x140018096
mov rax, rsi
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [0], 0x336
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
mov dword [0], 0x293
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
call fcn.1400d58e0
int3
Function at 0x140019750
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
movzx ebp, byte [rsp + 0x88]
mov r12d, dword [rsp + 0x80]
mov eax, dword [0x14014803c]
mov rcx, qword gs:[0x30]
cmp eax, dword [rcx + 0x48]
je 0x1400197b3
cmp byte [0x140148039], 0
je 0x1400197b3
mov eax, dword [0x140145660]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
jmp 0x1400197b8
call fcn.14001bdd0
mov qword [rsi], rax
lea rdi, [rsi + 8]
mov qword [rsi + 8], 0
mov byte [rsi + 0x10], 0
mov dword [rsi + 0x14], ebx
lea rcx, [rsi + 0x18]
mov qword [rsi + 0x20], 0
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x48]
mov dword [rsi + 0x28], eax
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], 0
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 [0x14014803c]
mov rcx, qword gs:[0x30]
cmp eax, dword [rcx + 0x48]
jne 0x140019846
mov rcx, rsi
call fcn.14001bde0
jmp 0x140019880
cmp byte [0x140148039], 0
jne 0x140019866
mov rax, qword gs:[0x30]
cmp qword [rax + 0x58], 0
je case.default.0x1400198a6
mov byte [0x140148039], 1
mov eax, dword [0x140145660]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 8], rsi
lea rcx, case.0x14001972e.0
mov rax, qword [case.0x14001972e.0]
mov rax, qword [rax + 0x38]
mov rdx, rdi
mov r8, rbx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp rax
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x48]
mov dword [0x14014803c], eax
jmp 0x14001983c
Function at 0x14001a0b0
Capabilities:
Map section object

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, rcx
mov rdi, qword [0x1401054a8]
mov rax, qword [rdi]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x1000
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 4
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test rax, rax
je 0x14001a18c
mov rcx, rax
call fcn.140019fa0
mov rcx, qword [0x140148020]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
lea r8, [rsp + 0x58]
mov rdx, 0xffffffffffffffff
xor r9d, r9d
call sub.ntdll.dll_NtMapViewOfSection
test eax, eax
jns 0x14001a16f
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14001a1ba
lea rcx, [rbx + 8]
call fcn.140019b80
mov dword [rbx], 1
xor eax, eax
jmp 0x14001a1e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov byte [rsi + 0x10], 1
lea rax, str._var_tmp_build_firefox_1d8abcb1f7a7_browser_app_winlauncher_freestanding_SharedSection.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0x9e
mov dword [rsi + 0xc], ecx
jmp 0x14001a20f
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
lea rax, str._var_tmp_build_firefox_1d8abcb1f7a7_browser_app_winlauncher_freestanding_SharedSection.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0xa8
mov dword [rsi + 0xc], ecx
mov al, 1
mov byte [rsi + 0x10], al
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14001a20f
mov rcx, 0xffffffffffffffff
call sub.ntdll.dll_NtUnmapViewOfSection
test eax, eax
jns 0x14001a20f
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
mov rax, qword [rsp + 0x68]
xor rax, rsp
mov rcx, qword [rdi]
cmp rcx, rax
jne 0x14001a22a
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
call fcn.1400d58e0
int3
Function at 0x14001a2a0
Capabilities:
Map section object

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, rcx
mov r14, qword [0x1401054a8]
mov rax, qword [r14]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp dword [rdx], 0
je 0x14001a366
mov ebx, r8d
mov rdi, rdx
mov rcx, qword [0x140148020]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
lea r8, [rsp + 0x58]
mov rdx, 0xffffffffffffffff
xor r9d, r9d
call sub.ntdll.dll_NtMapViewOfSection
test eax, eax
jns 0x14001a338
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
mov r15, qword [rsp + 0x58]
test r15, r15
je 0x14001a36f
cmp dword [r15 + 0x2c], 0
je 0x14001a39c
mov byte [rsi + 0x10], 1
lea rax, str._var_tmp_build_firefox_1d8abcb1f7a7_browser_app_winlauncher_freestanding_SharedSection.cpp
mov qword [rsi], rax
movabs rax, 0x8007139f000000d8
jmp 0x14001a3f2
mov byte [rsi + 0x10], 0
jmp 0x14001a41e
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._var_tmp_build_firefox_1d8abcb1f7a7_browser_app_winlauncher_freestanding_SharedSection.cpp
mov qword [rsi], rax
mov dword [rsi + 8], 0xd1
mov dword [rsi + 0xc], ecx
jmp 0x14001a3f6
movzx eax, bl
mov dword [r15 + 0x28], eax
mov r8d, dword [rdi]
cmp r8, 0xfc8
ja 0x14001a3da
lea rcx, [r15 + 0x38]
mov rdx, qword [rdi + 8]
call sub.ntdll.dll_memcpy
mov eax, dword [rdi]
test eax, eax
je 0x14001a3da
cmp eax, 0x21
mov ecx, 0x20
cmovae ecx, eax
add ecx, 0x38
mov dword [r15 + 0x2c], ecx
mov byte [rsi + 0x10], 0
jmp 0x14001a3f6
mov byte [rsi + 0x10], 1
lea rax, str._var_tmp_build_firefox_1d8abcb1f7a7_browser_app_winlauncher_freestanding_SharedSection.cpp
mov qword [rsi], rax
movabs rax, 0x8007007a000000e1
mov qword [rsi + 8], rax
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14001a41e
mov rcx, 0xffffffffffffffff
call sub.ntdll.dll_NtUnmapViewOfSection
test eax, eax
jns 0x14001a41e
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov ecx, eax
call sub.ntdll.dll_RtlSetLastWin32Error
mov rax, qword [rsp + 0x68]
xor rax, rsp
mov rcx, qword [r14]
cmp rcx, rax
jne 0x14001a43d
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400d58e0
int3
Function at 0x14001aae0
Capabilities:
Check os version

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x148
mov rdi, r8
mov r14, rdx
mov rsi, rcx
mov r15, qword [0x1401054a8]
mov rax, qword [r15]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov qword [r8], 0xffffffffffffffff
mov eax, dword [rcx + 0x18]
test al, 3
je 0x14001ab5a
lea rcx, [rsp + 0x24]
mov r8d, 0x110
xor edx, edx
call sub.ntdll.dll_memset
mov dword [rsp + 0x20], 0x114
lea rcx, [rsp + 0x20]
call sub.ntdll.dll_RtlGetVersion
test eax, eax
js 0x14001acc1
mov eax, dword [rsi + 0x18]
test al, 2
jne 0x14001acc8
test al, 1
jne 0x14001ace3
test al, 8
je 0x14001ab70
mov rcx, qword [0x1401061f8]
xor ebx, ebx
test byte [rcx], 1
je 0x14001ad17
test al, 0x40
je 0x14001ab86
mov rcx, qword [0x1401061f8]
xor ebx, ebx
test byte [rcx], 4
je 0x14001ad17
test al, al
jns 0x14001ab9c
mov rcx, qword [0x1401061f8]
xor ebx, ebx
test byte [rcx], 8
je 0x14001ad17
test eax, 0x100
je 0x14001abb5
mov rcx, qword [0x1401061f8]
xor ebx, ebx
test byte [rcx], 0x10
je 0x14001ad17
test al, 0x10
je 0x14001abcb
mov rcx, qword [0x1401061f8]
xor ebx, ebx
test byte [rcx], 1
jne 0x14001ad17
test eax, 0x200
je 0x14001abe4
mov rcx, qword [0x1401061f8]
xor ebx, ebx
test byte [rcx], 0x20
je 0x14001ad17
mov rcx, qword [rsi + 0x10]
cmp rcx, 0xffffffffffffffff
je 0x14001acfe
mov ebx, 2
cmp qword [r14 + 0x10], 0
je 0x14001ad17
test al, 4
jne 0x14001ad05
mov rcx, r14
mov dx, 0x10
mov r8w, 1
xor r9d, r9d
call fcn.14001ad50
test rax, rax
je 0x14001ad17
mov r14, rax
movzx ebp, word [rax]
cmp bp, 0x26
jb 0x14001ad17
movaps xmm0, xmmword [0x140107590]
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [0x140107580]
movaps xmmword [rsp + 0x20], xmm0
mov rcx, r14
add rcx, 6
lea rdx, [rsp + 0x20]
mov r8d, 0x10
call qword [sym.imp.ntdll.dll_RtlCompareMemory]
cmp rax, 0x10
jne 0x14001ad17
cmp word [r14 + 2], 0x34
jne 0x14001ad17
mov eax, 2
sub eax, r14d
and eax, 3
add rax, 0x26
cmp ax, bp
jae 0x14001ad17
cmp dword [rax + r14], 0xfeef04bd
jne 0x14001ad17
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 0x14001ad17
mov ebx, 2
jmp 0x14001ad17
xor ebx, ebx
cmp dword [rsp + 0x24], 6
ja 0x14001ad17
jne 0x14001ab52
cmp dword [rsp + 0x28], 2
ja 0x14001ad17
jmp 0x14001ab52
xor ebx, ebx
cmp dword [rsp + 0x24], 6
ja 0x14001ad17
jne 0x14001ab5a
cmp dword [rsp + 0x28], 2
jae 0x14001ad17
jmp 0x14001ab5a
mov ebx, 3
jmp 0x14001ad17
mov rax, qword [r14 + 8]
mov eax, dword [rax + 8]
xor edx, edx
cmp rcx, rax
setae dl
lea ebx, [rdx + rdx*2]
mov rax, qword [rsp + 0x140]
xor rax, rsp
mov rcx, qword [r15]
cmp rcx, rax
jne 0x14001ad3c
mov eax, ebx
add rsp, 0x148
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400d58e0
int3
Function at 0x14001bdf0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
test rdx, rdx
je 0x14001be7a
mov rax, rdx
movzx ecx, word [rdx]
cmp ecx, 0x5a4d
jne 0x14001be7a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
je 0x14001be7a
cmp dword [rcx], 0x4550
jne 0x14001be7a
movzx edx, word [rcx + 0x18]
cmp edx, 0x20b
jne 0x14001be7a
cmp dword [rcx + 0x50], 0x147
jbe 0x14001be7a
cmp dword [rcx + 0x84], 0
je 0x14001be7a
mov r9d, dword [rcx + 0x88]
test r9, r9
je 0x14001be7a
mov ecx, dword [rcx + 0x8c]
test ecx, ecx
je 0x14001be7a
mov rdx, r9
add rdx, rax
je 0x14001be7a
cmp dword [rdx + 0x14], 0
je 0x14001be7a
add ecx, r9d
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], ecx
mov rcx, rsi
mov rdx, r8
mov r8, rax
call fcn.14001beb0
jmp 0x14001bea3
mov qword [rsi], r8
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov dword [rsi + 0x18], 0
mov qword [rsi + 0x20], r8
movups xmmword [rsi + 0x28], xmm0
mov qword [rsi + 0x38], r8
movups xmmword [rsi + 0x40], xmm0
mov qword [rsi + 0x50], r8
movups xmmword [rsi + 0x58], xmm0
mov rax, rsi
add rsp, 0x30
pop rsi
ret
Function at 0x14001d020
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x178
mov rbx, rdx
mov rsi, rcx
mov r15, qword [0x1401054a8]
mov rax, qword [r15]
xor rax, rsp
mov qword [rsp + 0x170], rax
lea rdx, str.CreateFileVersionInfoWin
lea r8, str._var_tmp_build_firefox_1d8abcb1f7a7_security_sandbox_chromium_shim_base_file_version_info_win.cpp
lea rcx, [rsp + 0x38]
mov r9d, 0x31
call fcn.140023300
test byte [rbx], 1
je 0x14001d077
mov rbx, qword [rbx + 0x10]
jmp 0x14001d07b
add rbx, 2
lea rdx, [rsp + 0x28]
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x14001d196
mov ebp, eax
mov r14d, eax
mov rcx, r14
call fcn.1400d4140
mov rdi, rax
mov rcx, rax
xor edx, edx
mov r8, r14
call sub.ntdll.dll_memset
mov edx, dword [rsp + 0x28]
mov rcx, rbx
mov r8d, ebp
mov r9, rdi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14001d185
mov qword [rsp + 0x38], 0
lea rdx, str.VarFileInfoTranslation
lea r8, [rsp + 0x38]
lea r9, [rsp + 0x30]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14001d185
mov r12, qword [rsp + 0x38]
test r12, r12
je 0x14001d185
mov r13, rdi
add r13, r14
mov ecx, 0x30
call fcn.1400d4140
mov rbx, rax
mov eax, dword [r12]
mov qword [rbx], rdi
mov qword [rbx + 8], r13
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], rdi
mov dword [rbx + 0x20], eax
mov qword [rsp + 0x30], 0
lea rdx, [0x140108662]
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x2c]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x14001d177
lea rdx, str._var_tmp_build_firefox_1d8abcb1f7a7_security_sandbox_chromium_shim_base_file_version_info_win.cpp
lea r9, str.::VerQueryValue_data__kRoot__fixed_file_info__dummy_size_
lea rdi, [rsp + 0x38]
mov rcx, rdi
mov r8d, 0x28
call fcn.14001e870
mov rcx, rdi
call fcn.14001eb10
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x28], rax
mov qword [rsi], rbx
jmp 0x14001d19d
mov qword [rsi], 0
mov rcx, rdi
call fcn.1400d4220
jmp 0x14001d19d
mov qword [rsi], 0
mov rax, qword [rsp + 0x170]
xor rax, rsp
mov rcx, qword [r15]
cmp rcx, rax
jne 0x14001d1c7
mov rax, rsi
add rsp, 0x178
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400d58e0
int3
Function at 0x14001d8d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rcx
mov rdi, qword [0x1401054a8]
mov rax, qword [rdi]
xor rax, rsp
mov qword [rsp + 0x38], rax
movzx eax, byte [rdx]
lea rcx, [rdx + 2]
mov r8, rax
shr r8, 1
test al, 1
cmovne rcx, qword [rdx + 0x10]
mov qword [rsp + 0x28], rcx
cmovne r8, qword [rdx + 8]
mov qword [rsp + 0x30], r8
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14001d3a0
mov rcx, rsi
call fcn.14001d730
movzx ecx, byte [rsi]
lea rbx, [rsi + 2]
mov edx, ecx
mov rax, qword [rsi + 0x10]
and dl, 1
je 0x14001d945
mov r9, qword [rsi + 8]
mov r8, rax
cmp r9, 2
jae 0x14001d954
jmp 0x14001d995
mov r9, rcx
shr r9, 1
mov r8, rbx
cmp r9, 2
jb 0x14001d995
cmp word [r8 + 2], 0x3a
jne 0x14001d995
movzx r8d, word [r8]
cmp r8w, 0x41
jb 0x14001d995
cmp r8w, 0x5b
jb 0x14001d979
add r8d, 0xffffff9f
cmp r8w, 0x19
ja 0x14001d995
mov r8d, 2
mov rcx, rsi
xor edx, edx
call fcn.14007f0d0
movzx ecx, byte [rsi]
mov rax, qword [rsi + 0x10]
mov edx, ecx
and dl, 1
mov r8, qword [0x1401086b8]
mov r9, qword [r8]
test dl, dl
cmove rax, rbx
dec r9
je 0x14001da17
test dl, dl
je 0x14001d9b9
mov rcx, qword [rsi + 8]
test rcx, rcx
jne 0x14001d9c3
jmp 0x14001da17
shr cl, 1
movzx ecx, cl
test rcx, rcx
je 0x14001da17
lea r8, [rax + rcx*2]
mov rdx, qword [0x1401086a8]
movzx r10d, word [r8 - 2]
add r8, 0xfffffffffffffffe
xor r11d, r11d
nop word [rax + rax]
cmp word [rdx + r11*2], r10w
je 0x14001d9f6
inc r11
cmp r9, r11
jne 0x14001d9e0
cmp r8, rax
jne 0x14001d9ce
jmp 0x14001da17
sub r8, rax
cmp r8, 0xfffffffffffffffe
je 0x14001da17
sar r8, 1
dec rcx
cmp r8, rcx
jae 0x14001da17
inc r8
mov rcx, rsi
xor edx, edx
call fcn.14007f0d0
mov rax, qword [rsp + 0x38]
xor rax, rsp
mov rcx, qword [rdi]
cmp rcx, rax
jne 0x14001da32
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
call fcn.1400d58e0
int3
Function at 0x140022c90
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rsi, rdx
mov r14, rcx
mov r15, qword [0x1401054a8]
mov rax, qword [r15]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x40]
call fcn.140034b50
test byte [rsp + 0x50], 1
je 0x140022cd8
mov rcx, qword [rsp + 0x60]
jmp 0x140022cdd
lea rcx, [rsp + 0x52]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test byte [rsp + 0x50], 1
je 0x140022cfb
mov rcx, qword [rsp + 0x60]
call fcn.1400d4220
test rsi, rsi
je 0x140022dbe
test edi, edi
je 0x140022dbe
mov ecx, edi
add rcx, rcx
call fcn.1400d41e0
mov rbx, rax
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x30]
call fcn.140034b50
test byte [rsp + 0x50], 1
je 0x140022d3f
mov rcx, qword [rsp + 0x60]
jmp 0x140022d44
lea rcx, [rsp + 0x52]
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test byte [rsp + 0x50], 1
je 0x140022d61
mov rcx, qword [rsp + 0x60]
call fcn.1400d4220
mov qword [rsp + 0x20], rbx
cmp word [rbx], 0
je 0x140022d81
xor ecx, ecx
nop
lea rax, [rcx + 1]
cmp word [rbx + rcx*2 + 2], 0
mov rcx, rax
jne 0x140022d70
jmp 0x140022d83
xor eax, eax
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x20]
call fcn.140034bc0
test byte [rsi], 1
je 0x140022da5
mov rcx, qword [rsi + 0x10]
call fcn.1400d4220
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.1400d4250
test edi, edi
setne al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
mov rdx, qword [r15]
cmp rdx, rcx
jne 0x140022ddf
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400d58e0
int3