joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400438c0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, rdx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rcx, qword [rcx]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdx, [rsp + 0x38]
mov qword [rdx], rax
or r8d, 8
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 1
mov edx, r8d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x14004398f
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x14004398f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14004398b
call fcn.1400b28a0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsi], 0
mov bpl, 1
test rbx, rbx
je 0x14004396e
cmp rbx, 0xffffffffffffffff
je 0x140043996
call fcn.1400b28a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsi], rbx
call fcn.1400b28a0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], bpl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14012d2c0
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
ret
xor ebx, ebx
jmp 0x140043934
mov byte [rsi], 0
xor ebp, ebp
jmp 0x14004396e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140043966
Function at 0x14004a8d0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x48], rax
test rcx, rcx
je 0x14004aa09
mov rsi, rdx
mov rdi, rcx
lea rbx, [rsp + 0x40]
mov qword [rbx], 0
mov r15, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call r15
mov r14, rax
call r15
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x30], 2
mov rcx, rax
mov rdx, rdi
mov r8, r14
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
setne bl
je 0x14004aa10
mov r15, qword [rsp + 0x40]
cmp qword [rsi], r15
je 0x14004a97c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14004a997
lea rax, [r15 + 1]
cmp rax, 2
jb 0x14004a974
mov qword [rsi], r15
call fcn.1400b28a0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14012d2c0
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400b28a0
mov r14, qword [rsi]
cmp qword [0x140243970], 0
je 0x14004a9c8
mov rcx, qword [0x140243970]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402233e0]
mov qword [rsi], 0
jmp 0x14004a962
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140215f0d]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004aa1d
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14004aa03
call qword [0x1402233e0]
mov rcx, rax
xor edx, edx
call fcn.14004bfd0
jmp 0x14004a9a9
xor ecx, ecx
mov dl, 1
jmp 0x14004a9fc
mov bl, 1
jmp 0x14004a97c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14004a974
xor ecx, ecx
jmp 0x14004a9fa

Function at 0x14004abf0
Capabilities:
Check if file exists

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov al, byte [rcx + 8]
cmp al, byte [rdx + 8]
je 0x14004ac1b
test al, al
jne 0x14004ac2f
test rsi, rsi
je 0x14004ac2c
mov rcx, rsi
call fcn.14003da50
mov byte [rsi + 8], 1
add rsp, 0x20
pop rsi
ret
test al, al
je 0x14004ac15
mov rcx, rsi
add rsp, 0x20
pop rsi
jmp fcn.14004ac40
int3
mov rcx, rsi
call fcn.1400376a0
mov byte [rsi + 8], 0
jmp 0x14004ac15
Function at 0x14004ac40
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov r14, qword [rdx]
mov qword [rdx], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x14004ac67
call fcn.1400b28a0
cmp qword [rsi], r14
je 0x14004ac96
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14004aca5
cmp r15, 2
jb 0x14004ac8e
mov qword [rsi], r14
call fcn.1400b28a0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400b28a0
mov rbx, qword [rsi]
cmp qword [0x140243970], 0
je 0x14004acd6
mov rcx, qword [0x140243970]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [0x1402233e0]
mov qword [rsi], 0
jmp 0x14004ac80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140215f0d]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004ad17
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14004ad11
call qword [0x1402233e0]
mov rcx, rax
xor edx, edx
call fcn.14004bfd0
jmp 0x14004acb7
xor ecx, ecx
mov dl, 1
jmp 0x14004ad0a
xor ecx, ecx
jmp 0x14004ad08
Function at 0x14004ad20
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
jne 0x14004aedc
cmp qword [rsi], 0
jne 0x14004aedc
cmp dword [rsi + 0x14], 0
jne 0x14004aedc
cmp qword [rsi + 8], 0
jne 0x14004aedc
xor eax, eax
mov r15, qword [rdi]
cmp rax, r15
je 0x14004ad96
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14004ae1f
lea rax, [r15 + 1]
cmp rax, 2
jb 0x14004ad8e
mov qword [rsi], r15
call fcn.1400b28a0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r15, qword [rdi + 8]
cmp qword [rsi + 8], r15
je 0x14004add0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x14004ade8
lea rax, [r15 + 1]
cmp rax, 2
jb 0x14004adc8
mov qword [rsi + 8], r15
call fcn.1400b28a0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400b28a0
mov r14, qword [rsi + 8]
cmp qword [0x140243970], 0
je 0x14004ae98
mov rcx, qword [0x140243970]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402233e0]
mov qword [rsi + 8], 0
jmp 0x14004adb5
call fcn.1400b28a0
mov r14, qword [rsi]
cmp qword [0x140243970], 0
je 0x14004ae53
mov rcx, qword [0x140243970]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402233e0]
mov qword [rsi], 0
jmp 0x14004ad7c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140215f0d]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004aefd
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14004ae92
call qword [0x1402233e0]
mov rcx, rax
xor edx, edx
call fcn.14004bfd0
jmp 0x14004ae31
xor ecx, ecx
mov dl, 1
jmp 0x14004ae8b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140215f0d]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004af01
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14004aed6
call qword [0x1402233e0]
mov rcx, rax
xor edx, edx
call fcn.14004bfd0
jmp 0x14004adff
xor ecx, ecx
mov dl, 1
jmp 0x14004aecc
mov rcx, rsi
call fcn.14011c830
lea rcx, [rsi + 8]
call fcn.14011c830
mov qword [rsi + 0x10], 0
mov rax, qword [rsi]
jmp 0x14004ad5c
xor ecx, ecx
jmp 0x14004ae89
xor ecx, ecx
jmp 0x14004aeca
Function at 0x14004bd40
Capabilities:
Check if file exists
Create thread

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov rsi, rdx
mov rax, qword [rcx + 8]
mov r14d, 8
inc rax
cmp rax, 1
ja 0x14004bec1
mov rdi, rcx
cmp qword [rcx + 0x18], 0
jne 0x14004bec1
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov r14, rax
cmp qword [rdi + 8], rax
je 0x14004bdce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jae 0x14004bee6
mov rax, r14
inc rax
cmp rax, 2
jb 0x14004bdc2
mov qword [rdi + 8], r14
call fcn.1400b28a0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14004bf82
movabs r12, 0xfffffffc00000000
mov ecx, 0x20
call fcn.14012aa30
mov r15, rax
mov qword [rax], rax
mov qword [rax + 8], rax
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
mov ecx, 0x18
call fcn.14012aa30
mov rbx, rax
mov rax, qword [rsi]
mov qword [rsi], 0
mov qword [rbx], r14
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], r15
mov rcx, qword [rdi + 0x18]
mov rax, rcx
and rax, r12
cmp rax, qword [0x1402336c8]
je 0x14004bf1c
mov rax, r15
and rax, r12
cmp rax, qword [0x1402336c8]
je 0x14004bf8d
mov qword [rdi + 0x18], r15
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140051c00]
xor r14d, r14d
xor ecx, ecx
xor edx, edx
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r15, rax
cmp qword [rdi + 0x10], rax
je 0x14004beb8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rdi + 0x10]
inc rax
cmp rax, 2
jae 0x14004bf01
mov rax, r15
inc rax
cmp rax, 2
jb 0x14004beac
mov qword [rdi + 0x10], r15
call fcn.1400b28a0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r15, qword [rdi + 0x10]
inc r15
cmp r15, 1
jbe 0x14004bf26
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
jne 0x14004bf9a
mov eax, r14d
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400b28a0
mov rcx, qword [rdi + 8]
call fcn.1401191b0
mov qword [rdi + 8], 0
jmp 0x14004bdad
call fcn.1400b28a0
mov rcx, qword [rdi + 0x10]
call fcn.1401191b0
mov qword [rdi + 0x10], 0
jmp 0x14004be97
call fcn.14009b9a0
jmp 0x14004be3a
mov rcx, qword [rdi + 0x18]
and r12, rcx
cmp r12, qword [0x1402336c8]
jne 0x14004bf3b
call fcn.14009b9a0
mov qword [rdi + 0x18], 0
test rbx, rbx
je 0x14004bf82
mov rdi, qword [rbx + 0x10]
mov qword [rbx + 0x10], 0
test rdi, rdi
je 0x14004bf69
mov rcx, rdi
call fcn.14009a7f0
mov rcx, rdi
call fcn.14012aa6c
mov rcx, qword [rbx + 8]
mov qword [rbx + 8], 0
test rcx, rcx
jne 0x14004bfb1
mov rcx, rbx
call fcn.14012aa6c
mov r14d, 0x3b
jmp 0x14004bec1
mov rcx, r15
call fcn.14009b840
jmp 0x14004be4d
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
mov edx, 1
call qword [0x1402233e0]
jmp 0x14004bed4
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
mov edx, 1
call qword [0x1402233e0]
jmp 0x14004bf7a
Function at 0x14004fcb0
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x14004fcd7
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14004fd11
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14004fd30
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14012d2c0
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.14004fe30
mov sil, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14012d2c0
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1401290e0
test al, al
je 0x14004fdf5
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x265
mov r9d, 2
call fcn.1401876d0
lea rcx, [rsp + 0x60]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.140106fa0
mov rdi, rax
movsx rax, byte [rsi + 0x17]
test rax, rax
jns 0x14004fd93
mov rax, qword [rsi + 8]
mov rsi, qword [rsi]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rax
test rax, rax
js 0x14004fdfc
je 0x14004fda9
test rsi, rsi
je 0x14004fe0f
lea rsi, [rsp + 0x38]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.140107f70
movsx r8, byte [rsi + 0x17]
test r8, r8
jns 0x14004fdcf
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.140106fa0
cmp byte [rsp + 0x4f], 0
jns 0x14004fdeb
mov rcx, qword [rsp + 0x38]
call fcn.14012aa6c
lea rcx, [rsp + 0x50]
call fcn.140187750
xor esi, esi
jmp 0x14004fd14
lea rcx, [0x14020310b]
lea rdx, str....._third_partylibc_srcinclude_string_view:314:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.140164a90
lea rcx, [0x14020310b]
lea rdx, str....._third_partylibc_srcinclude_string_view:316:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.140164a90
int3
Function at 0x14004fe30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rsi, rcx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x170], rax
cmp byte [rcx + 0x17], 0
jns 0x14004fe57
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004fefd
mov dil, 1
test al, 0x10
je 0x14004fe89
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14012d2c0
mov eax, edi
add rsp, 0x178
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1401290e0
test al, al
je 0x14004fef6
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x255
mov r9d, 2
call fcn.14001eab0
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140106fa0
mov rcx, rax
mov rdx, rsi
call fcn.140188560
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.140106fa0
mov rcx, rdi
call fcn.14000cf70
xor edi, edi
jmp 0x14004fe6d
mov ecx, 2
call fcn.1401290e0
test al, al
je 0x14004fef6
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x251
mov r9d, 2
call fcn.1401876d0
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140106fa0
mov rcx, rax
mov rdx, rsi
call fcn.140188560
mov rcx, rdi
call fcn.140187750
jmp 0x14004fef6
Function at 0x140050330
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor eax, eax
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x14005044c
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x140050488
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr edi, 5
shr r10b, 4
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x140050490
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
and dil, al
mov byte [r8 + 0x16], dil
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x140050482
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x140050494
pop rdi
pop rsi
ret
mov dl, byte [r8 + 0x19]
jmp 0x14005047b
xor r10d, r10d
jmp 0x14005038f
xor eax, eax
jmp 0x140050424
cmp byte [r8 + 0x1a], 0
je 0x14005047f
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x14005047f
cmp ecx, 0x666f736f
jne 0x14005047f
cmp edx, 0x76482074
jne 0x14005047f
mov byte [r8 + 0x19], 1
jmp 0x14005047f
Function at 0x140050890
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
movaps xmmword [rsp + 0x60], xmm6
mov rsi, rcx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor ebx, ebx
mov ecx, 0x65c2937b
xor eax, eax
lock cmpxchg dword [rsi], ecx
jne 0x140050a38
mov dword [0x140241840], ebx
lea rbp, [0x140241840]
movabs rax, 0x100000000
mov qword [0x140241960], rax
movaps xmm6, xmmword [0x1401fd000]
lea rdi, [rsp + 0x20]
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
mov r14, qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rcx, rdi
call r14
mov eax, dword [rdi + 4]
mov ecx, dword [rdi + 0x28]
cmp eax, ecx
cmova ecx, eax
mov qword [0x140241968], rcx
mov r15d, 0x20
mov qword [0x140241970], r15
mov r12d, 0x40
mov qword [0x140241978], r12
mov dword [0x140241980], ebx
mov qword [0x140241848], rbx
lea rax, [0x140241848]
mov r13, 0xffffffffb37cc16a
xor rax, r13
mov qword [0x140241850], rax
mov qword [0x140241858], rbp
mov dword [0x140241868], ebx
lea rcx, [0x140241870]
mov r8d, 0xf0
xor edx, edx
call fcn.140164570
mov dword [0x140241988], ebx
lea rbp, [0x140241988]
mov qword [0x140241aa8], rbx
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdi, [rsp + 0x20]
mov rcx, rdi
call r14
mov eax, dword [rdi + 4]
mov ecx, dword [rdi + 0x28]
cmp eax, ecx
cmova ecx, eax
mov qword [0x140241ab0], rcx
mov qword [0x140241ab8], r15
mov qword [0x140241ac0], r12
mov dword [0x140241ac8], ebx
mov qword [0x140241990], rbx
lea rax, [0x140241990]
xor rax, r13
mov qword [0x140241998], rax
mov qword [0x1402419a0], rbp
mov dword [0x1402419b0], ebx
lea rcx, [0x1402419b8]
mov r8d, 0xf0
xor edx, edx
call fcn.140164570
mov eax, 0xdd
xchg dword [rsi], eax
cmp eax, 0x5a308d2
je 0x140050a58
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14012d2c0
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r9d, edx
lea r8, [0x140204780]
mov rcx, rsi
mov edx, 3
call fcn.1400678a0
test eax, eax
jne 0x140050a15
jmp 0x1400508ca
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14012d2c0
mov rcx, rsi
mov dl, 1
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140166e00
Function at 0x140051b00
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140164570
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140051b95
cmp word [rsp + 0x70], 0
je 0x140051b95
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.14012b154
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.1400ea350
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14012d2c0
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
xorps xmm0, xmm0
lea rcx, [rsp + 0x40]
movaps xmmword [rcx], xmm0
mov qword [rcx + 0x10], 0
call fcn.1400532d0
test al, al
jne 0x140051be3
lea rax, [0x14020f8d0]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.1400ea350
cmp byte [rsp + 0x57], 0
jns 0x140051b77
mov rcx, qword [rsp + 0x40]
call fcn.14012aa6c
jmp 0x140051b77
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
jmp 0x140051b77

Function at 0x140052390
Capabilities:
Link many functions at runtime
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp dword [rcx + 0x10], 0
mov rcx, qword [rcx]
je 0x1400524dd
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 + 0x30]
mov qword [rsi + 0x30], 0
test rdi, rdi
je 0x1400523e0
mov rcx, rdi
call fcn.140052520
mov rcx, rdi
call fcn.14012aa6c
mov rdx, qword [rsi + 0x48]
mov qword [rsi + 0x48], 0
test rdx, rdx
je 0x140052400
lea rcx, str.PM_v_
xor r8d, r8d
call fcn.1400ce810
mov rcx, qword [rsi + 0x38]
movabs rax, 0xfffffffc00000000
and rax, rcx
cmp rax, qword [0x1402336c8]
je 0x1400524d3
mov rdi, qword [rsi + 0x30]
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
test rdi, rdi
jne 0x140052500
mov rax, qword [rsi + 0x28]
inc rax
cmp rax, 2
jae 0x14005245f
lea rcx, [rsi + 0x20]
call fcn.1400376a0
lea rcx, [rsi + 0x18]
call fcn.1400376a0
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14003dd30
call fcn.1400b28a0
mov rdi, qword [rsi + 0x28]
cmp qword [0x140243970], 0
je 0x140052492
mov rcx, qword [0x140243970]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rdi
call qword [0x1402233e0]
mov qword [rsi + 0x28], 0
jmp 0x14005243f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140215f0d]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140052515
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400524cd
call qword [0x1402233e0]
mov rcx, rax
xor edx, edx
call fcn.14004bfd0
jmp 0x140052472
xor ecx, ecx
mov dl, 1
jmp 0x1400524c6
call fcn.1400a3600
jmp 0x14005241e
test rcx, rcx
jne 0x1400523a6
cmp dword [rsi + 0x14], 0
jne 0x1400523a6
cmp qword [rsi + 8], 0
jne 0x1400523a6
jmp 0x1400523bf
mov rcx, rdi
call fcn.140052520
mov rcx, rdi
call fcn.14012aa6c
jmp 0x140052432
xor ecx, ecx
jmp 0x1400524c4
Function at 0x1400532d0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140164570
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14005338d
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14012b154
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.1400ea350
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.1400533c0
cmp byte [rsi + 0x17], 0
jns 0x14005335f
mov rcx, qword [rsi]
call fcn.14012aa6c
mov rax, qword [rsp + 0x58]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsi], xmm0
mov byte [rsp + 0x5f], 0
mov word [rsp + 0x48], 0
cmp byte [rsp + 0x47], 0
jns 0x14005338d
mov rcx, qword [rsp + 0x30]
call fcn.14012aa6c
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14012d2c0
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret