joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002b050
Capabilities:
Delete file
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, rcx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, qword [0x1402438f8]
test rdi, rdi
je 0x14002b0a0
lea rbx, [0x140210933]
mov rcx, rdi
mov rdx, rbx
call fcn.140107b20
test al, al
jne 0x14002b0c9
lea rdx, str.vmodule
mov rcx, rdi
call fcn.140107b20
test al, al
jne 0x14002b0c9
mov eax, dword [rsi]
mov dword [0x1402336b0], eax
test al, 1
jne 0x14002b182
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14012d2c0
mov al, 1
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rax, str.vmodule
lea r8, [rsp + 0x48]
mov qword [r8], rax
mov qword [r8 + 8], 7
lea r14, [rsp + 0x58]
mov rcx, rdi
mov rdx, r14
call fcn.140107c70
lea r8, [rsp + 0x20]
mov qword [r8], rbx
mov qword [r8 + 8], 1
lea rbx, [rsp + 0x30]
mov rcx, rdi
mov rdx, rbx
call fcn.140107c70
mov ecx, 0x20
call fcn.14012aa30
mov rdi, rax
lea r9, [0x140243868]
mov rcx, rax
mov rdx, rbx
mov r8, r14
call fcn.1401934f0
cmp byte [rbx + 0x17], 0
jns 0x14002b142
mov rcx, qword [rsp + 0x30]
call fcn.14012aa6c
cmp byte [rsp + 0x6f], 0
jns 0x14002b153
mov rcx, qword [rsp + 0x58]
call fcn.14012aa6c
test rdi, rdi
je 0x14002b0a0
xor eax, eax
lock cmpxchg qword [0x140243870], rdi
je 0x14002b0a0
mov rcx, rdi
call fcn.1401935d0
mov rcx, rdi
call fcn.14012aa6c
jmp 0x14002b0a0
mov rcx, qword [0x140243858]
test rcx, rcx
je 0x14002b1b0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140243858], 0
cmp qword [0x140243860], 0
jne 0x14002b1b0
and byte [0x1402336b0], 0xfe
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x14002b1c5
mov qword [0x140243858], rax
jmp 0x14002b0b0
mov rcx, qword [0x140243860]
test rcx, rcx
jne 0x14002b1f3
mov ecx, 0x18
call fcn.14012aa30
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x140243860], rax
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x14002b239
call fcn.140036d60
cmp dword [rsi + 0x14], 0
jne 0x14002b21d
mov rcx, qword [0x140243860]
cmp byte [rcx + 0x17], 0
jns 0x14002b217
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14012d2c0
nop
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140186e80
lea rcx, [0x14020310b]
lea rdx, str....._third_partylibc_srcinclude_string:2719:_assertion___s___nullptr_failed:_string::assign_received_nullptr_n
call fcn.140164a90
int3
Function at 0x14002b250
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x178], rax
xorps xmm0, xmm0
movups xmmword [rcx + 8], xmm0
lea rax, [0x1402002c8]
mov qword [rcx], rax
lea rax, [0x1401ff098]
mov qword [rcx + 0x18], rax
xor ecx, ecx
mov qword [rsi + 0x20], rcx
mov byte [rsi + 0x28], cl
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rcx
mov byte [rsi + 0x40], cl
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdi, rax
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14002b2c7
cmp rcx, rdi
je 0x14002b371
test rcx, rcx
jne 0x14002b376
mov qword [rsi + 0x20], rdi
cmp dword [0x140243868], 2
jg 0x14002b2e6
test rdi, rdi
je 0x14002b3d7
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdi, rax
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x14002b30a
cmp rcx, rdi
je 0x14002b371
test rcx, rcx
jne 0x14002b380
mov qword [rsi + 0x38], rdi
cmp dword [0x140243868], 2
jg 0x14002b325
test rdi, rdi
je 0x14002b424
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x14009a9e0]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 8], rax
test rax, rax
je 0x14002b387
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14012d2c0
mov rax, rsi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
call fcn.1401436d0
call fcn.14009a900
jmp 0x14002b2d0
call fcn.14009a900
jmp 0x14002b30f
lea rdx, str.Start
lea r8, str....._third_partycrashpadcrashpadutil_thread_thread_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r9d, 0x1b
call fcn.1400dc8d0
lea rbx, [rsp + 0x170]
mov rcx, rbx
mov rdx, rdi
call fcn.140188fe0
lea rdx, [0x14021a3c8]
mov rcx, rbx
call fcn.1401a7480
mov rcx, rbx
call fcn.140164aa0
jmp 0x14002b353
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwin_session_end_watcher.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x5b
mov r9d, 2
call fcn.1401876d0
lea rcx, [rsp + 0x40]
lea rdx, str.CreateEvent
mov r8d, 0xb
call fcn.140106fa0
mov rcx, rdi
call fcn.140187750
jmp 0x14002b2e6
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwin_session_end_watcher.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x5e
mov r9d, 2
call fcn.1401876d0
lea rcx, [rsp + 0x40]
lea rdx, str.CreateEvent
mov r8d, 0xb
call fcn.140106fa0
mov rcx, rdi
call fcn.140187750
jmp 0x14002b325
Function at 0x14002e880
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov eax, dword [0x140249ab0]
mov ecx, dword [0x1402403d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002e9b5
mov ecx, dword [0x14023f7d0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14002e8e1
mov rcx, qword [0x140249aa0]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x140249aa8]
jne 0x14002e8e1
add rax, rcx
cmp qword [rax], 0
jne 0x14002e974
mov ecx, 4
call fcn.14012aa30
mov rsi, rax
mov dword [rax], 0
mov ecx, dword [0x14023f7d0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14002e9ae
mov rcx, qword [0x140249aa0]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x140249aa8]
jne 0x14002e9ae
add rax, rcx
mov rdi, qword [rax]
mov ecx, dword [0x14023f7d0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
jne 0x14002e947
test rsi, rsi
je 0x14002e96b
call fcn.14001b6e0
mov rcx, qword [0x140249aa0]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [0x140249aa8]
mov rdx, qword [0x140249aa0]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
test rdi, rdi
jne 0x14002ea08
mov ecx, dword [0x14023f7d0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14002e9aa
mov rcx, qword [0x140249aa0]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x140249aa8]
jne 0x14002e9aa
add rax, rcx
mov rax, qword [rax]
add rsp, 0x28
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x14002e9a3
xor edi, edi
jmp 0x14002e92b
lea rcx, [0x140249ab0]
call fcn.14012ad90
cmp dword [0x140249ab0], 0xffffffff
jne 0x14002e8ab
mov qword [0x140249aa8], 0
lea rcx, [0x140249aa0]
mov qword [0x140249aa0], 0xffffffffffffffff
lea rdx, [0x14006aaa0]
call fcn.140036e40
lea rcx, [0x140249ab0]
call fcn.14012ad24
jmp 0x14002e8ab
mov rcx, rdi
call fcn.14012aa6c
jmp 0x14002e974
Function at 0x140034cc0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r12, qword [rcx + 0x10]
cmp r12, qword [rcx + 0x18]
je 0x140034d06
mov r14, r12
test r14, r14
je 0x140034e08
mov rax, qword [rdi]
mov qword [r14], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r15, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r15
jbe 0x140034d68
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r13, rax
neg r13
shl rax, 3
mov r14, rbx
sub r14, rax
mov r15, r12
sub r15, rbx
je 0x140034d54
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.140163ed0
mov r12, qword [rsi + 8]
add r14, r15
mov qword [rsi + 0x10], r14
lea rax, [r12 + r13*8]
mov qword [rsi + 8], rax
jmp 0x140034ce2
mov rax, r12
sub rax, r15
sar rax, 2
cmp r12, r15
mov r13d, 1
cmovne r13, rax
mov rax, r13
shr rax, 0x3d
jne 0x140034e2e
lea rcx, [r13*8]
call fcn.14012aa30
mov rcx, r13
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, r12
mov r14, rcx
sub rdx, rbx
je 0x140034dce
lea r14, [rdx + rcx]
xor r8d, r8d
mov r9, rcx
add r9, r8
je 0x140034e08
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x140034db6
lea rdx, [rax + r13*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], rdx
cmp r12, rbx
je 0x140034dee
add r12, 0xfffffffffffffff8
jne 0x140034de1
jmp 0x140034e1b
test r15, r15
je 0x140034ce2
mov rcx, r15
call fcn.14012aa6c
mov r14, qword [rsi + 0x10]
jmp 0x140034ce2
lea rcx, [0x14020310b]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.140164a90
lea rcx, [0x14020310b]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
call fcn.140164a90
call fcn.140168b40
int3

Function at 0x1400356b0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
test rdx, rdx
jne 0x1400356df
test r8d, r8d
jne 0x1400356d8
lea rcx, [0x140246488]
lea rdx, [0x140099550]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
xor eax, eax
add rsp, 0x28
ret
mov r8d, r8d
add rsp, 0x28
jmp fcn.1400356f0
Function at 0x140036c50
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.14012d260
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.140164570
lea r9, [rsp + 0x3c]
mov dword [r9], 1
lea rax, [rsp + 0x38]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140036d03
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x140036d07
lea rdx, [rsp + 0x840]
mov rcx, rsi
call fcn.140036d60
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14012d2c0
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x140036ce4
cmp eax, 2
jne 0x140036d4f
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.140164570
lea rcx, [rsp + 0x840]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x140036d56
lea rdx, [rsp + 0x40]
jmp 0x140036cda
mov edi, 0x3f4
jmp 0x140036ce4
mov edi, 0xea
jmp 0x140036ce4

Function at 0x140036e40
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x14023f7d0]
cmp ecx, 0xffffffff
je 0x140036e62
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x140036e67
call fcn.14001b6e0
mov eax, dword [0x140247e40]
mov ecx, dword [0x1402403d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140036f17
mov rbx, qword [0x140247e38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140036f5c
mov rax, qword [0x140246628]
inc rax
xor ecx, ecx
lea rdx, [0x140246630]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x140036f69
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x140247e30]
inc ecx
mov dword [0x140247e30], ecx
mov dword [rax + 0x14], ecx
mov qword [0x140246628], r8
mov qword [rsi], r8
mov eax, dword [rax + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsi], 0x100
jae 0x140036f59
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140247e40]
call fcn.14012ad90
cmp dword [0x140247e40], 0xffffffff
jne 0x140036e8c
mov ecx, 8
call fcn.14012aa30
mov qword [rax], 0
mov qword [0x140247e38], rax
lea rcx, [0x140247e40]
call fcn.14012ad24
jmp 0x140036e8c
int3
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x140036ea4
inc rcx
cmp rcx, 0x100
jne 0x140036eb7
jmp 0x140036efd
Function at 0x140037740
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rdx]
mov qword [rdx], 0
lea r12, [r15 + 1]
cmp r12, 2
jb 0x14003776c
call fcn.1400b28a0
mov qword [rsi], 0
test r15, r15
je 0x1400377a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400377cd
cmp r12, 2
jb 0x14003779a
mov qword [rsi], r15
call fcn.1400b28a0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, byte [rdi + 8]
mov byte [rsi + 8], al
mov byte [rdi + 8], 0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14003783f
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400b28a0
mov r14, qword [rsi]
cmp qword [0x140243970], 0
je 0x1400377fe
mov rcx, qword [0x140243970]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402233e0]
mov qword [rsi], 0
jmp 0x14003778c
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 0x14003784c
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140037839
call qword [0x1402233e0]
mov rcx, rax
xor edx, edx
call fcn.14004bfd0
jmp 0x1400377df
xor ecx, ecx
mov dl, 1
jmp 0x140037832
mov rcx, rdi
call fcn.14011c830
jmp 0x1400377bc
xor ecx, ecx
jmp 0x140037830
Function at 0x140037b60
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x328
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x320], rax
lea rbx, [rsp + 0x58]
mov r8d, 0x2c8
mov rcx, rbx
mov dl, 0xaa
call fcn.140164570
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.140037ee0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [0x1401fd000]
movaps xmmword [rsi], xmm0
mov rcx, rbx
mov rdx, rsi
call fcn.1400382b0
movsx rax, byte [rsi + 0x17]
mov rcx, rax
test rax, rax
jns 0x140037bf5
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140037cbc
xor r14d, r14d
mov r15, qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r12, qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdi, [rsp + 0x58]
lea rbx, [rsp + 0x28]
xor r13d, r13d
cmp byte [rsp + 0x58], 0
je 0x140037d01
mov edx, dword [rsp + 0x5c]
test dl, 1
jne 0x140037d0b
test dl, 0x10
jne 0x140037cfa
cmp byte [rsp + 0x57], 0
mov rcx, rsi
jns 0x140037c4c
mov rcx, qword [rsp + 0x40]
call r15
test eax, eax
jne 0x140037cfa
call r12
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
cmove ebp, r14d
test r13d, r13d
cmovne ebp, r13d
mov rcx, rdi
mov rdx, rbx
call fcn.1400382b0
cmp byte [rsp + 0x57], 0
jns 0x140037c89
mov rcx, qword [rsp + 0x40]
call fcn.14012aa6c
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rsp + 0x40], xmm0
movsx rax, byte [rsp + 0x57]
mov rcx, rax
test rax, rax
jns 0x140037cb0
mov rcx, qword [rsp + 0x48]
mov r13d, ebp
test rcx, rcx
jne 0x140037c1c
test al, al
jns 0x140037cca
mov rcx, qword [rsp + 0x40]
call fcn.14012aa6c
lea rcx, [rsp + 0x58]
call fcn.140037d40
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.14012d2c0
mov eax, ebp
add rsp, 0x328
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ebp, ebp
jmp 0x140037c66
call fcn.140165a30
jmp 0x140037c3d
xor ebp, ebp
test dl, 0x10
jne 0x140037c66
test al, al
js 0x140037d21
lea rcx, [rsp + 0x40]
jmp 0x140037d26
mov rcx, qword [rsp + 0x40]
and edx, 0xffffffee
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x140037c3d
Function at 0x14003c6a0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rcx, qword [rcx]
mov rdx, qword [r14 + 8]
xorps xmm0, xmm0
lea rdi, [rsp + 0x30]
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov r8, rdi
call fcn.1400e6b80
cmp byte [rdi + 0x17], 0
jns 0x14003c6eb
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x47], 0
jns 0x14003c70c
mov rcx, qword [rsp + 0x30]
call fcn.14012aa6c
test rsi, rsi
je 0x14003c7bd
test edi, edi
je 0x14003c7bd
mov ecx, edi
add rcx, rcx
call fcn.14012ab44
mov rbx, rax
mov rcx, qword [r14]
mov rdx, qword [r14 + 8]
xorps xmm0, xmm0
lea r14, [rsp + 0x30]
movaps xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
mov r8, r14
call fcn.1400e6b80
cmp byte [r14 + 0x17], 0
jns 0x14003c759
mov r14, qword [rsp + 0x30]
mov rcx, r14
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x47], 0
jns 0x14003c779
mov rcx, qword [rsp + 0x30]
call fcn.14012aa6c
mov qword [rsp + 0x20], rbx
test rbx, rbx
je 0x14003c7db
mov rcx, rbx
call fcn.14012b154
lea rdx, [rsp + 0x20]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x30]
call fcn.140107f70
cmp byte [rsi + 0x17], 0
js 0x14003c7ee
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.14012ab3c
test edi, edi
setne bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14012d2c0
mov eax, ebx
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x14020310b]
lea rdx, str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.140164a90
mov rcx, qword [rsi]
call fcn.14012aa6c
jmp 0x14003c7a4

Function at 0x14003ca20
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ebx, 0xffffffff
cmp r8, rbx
cmovb rbx, r8
lea r9, [rsp + 0x2c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14003cae8
mov r15, qword [sym.imp.KERNEL32.dll_GetFileType]
lea r14, [rsp + 0x2c]
mov r12, qword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x14003cab0
cmp eax, 0xffffffff
je 0x14003cac1
mov esi, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14012d2c0
mov rax, rsi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, rdi
call r15
cmp eax, 3
je 0x14003cac4
mov eax, dword [rsp + 0x2c]
jmp 0x14003ca90
int3
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
mov r9, r14
call r12
test eax, eax
jne 0x14003ca83
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x14003ca92
Function at 0x14003da50
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov r14, qword [rdx]
mov qword [rdx], rax
lea r15, [r14 + 1]
cmp r15, 2
jb 0x14003da78
call fcn.1400b28a0
cmp qword [rsi], r14
je 0x14003daa7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003dab6
cmp r15, 2
jb 0x14003da9f
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 0x14003dae7
mov rcx, qword [0x140243970]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [0x1402233e0]
mov qword [rsi], 0
jmp 0x14003da91
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 0x14003db28
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14003db22
call qword [0x1402233e0]
mov rcx, rax
xor edx, edx
call fcn.14004bfd0
jmp 0x14003dac8
xor ecx, ecx
mov dl, 1
jmp 0x14003db1b
xor ecx, ecx
jmp 0x14003db19
Function at 0x14003ef20
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc0
mov rax, qword [0x140231040]
xor rax, rsp
mov qword [rsp + 0xb8], rax
mov rax, qword [rcx]
inc rax
cmp rax, 1
ja 0x14003f11b
mov rbx, r9
mov edi, r8d
mov ebp, edx
mov rsi, rcx
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov r14, rax
cmp qword [rsi], rax
je 0x14003efa9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003f095
mov rax, r14
inc rax
cmp rax, 2
jb 0x14003ef9d
mov qword [rsi], r14
call fcn.1400b28a0
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi]
lea rax, [r14 + 1]
cmp rax, 1
jbe 0x14003f125
xor r15d, r15d
lea rcx, [rsp + 0x28]
mov r8d, 0x90
xor edx, edx
call fcn.140164570
test ebp, ebp
jne 0x14003f07c
mov ecx, 0xff
mov r15d, 0x408
mov dword [rsp + 0x50], 1
mov eax, r15d
mov dword [rsp + 0x24], ecx
mov r15d, ecx
test rbx, rbx
je 0x14003f003
or eax, 0x100
mov qword [rsp + 0x98], rbx
or eax, 0x2000
mov dword [rsp + 0x38], eax
lea r8, [rsp + 0x28]
mov rcx, r14
mov edx, 9
mov r9d, 0x90
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
je 0x14003f10e
not edi
and r15d, edi
lea r8, [rsp + 0x24]
mov dword [r8], r15d
mov rcx, qword [rsi]
mov edx, 4
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
xor esi, esi
test eax, eax
je 0x14003f10e
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14012d2c0
mov eax, esi
add rsp, 0xc0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
cmp ebp, 1
jne 0x14003f14e
mov ecx, 0xd8
mov r15d, 8
jmp 0x14003efdf
call fcn.1400b28a0
mov r12, qword [rsi]
cmp qword [0x140243970], 0
je 0x14003f0c9
mov rcx, qword [0x140243970]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r12
call qword [0x1402233e0]
mov qword [rsi], 0
jmp 0x14003ef89
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 0x14003f16f
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14003f108
call qword [0x1402233e0]
mov rcx, rax
xor edx, edx
call fcn.14004bfd0
jmp 0x14003f0a7
xor ecx, ecx
mov dl, 1
jmp 0x14003f101
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14003f058
mov esi, 0x4df
jmp 0x14003f058
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14012d2c0
nop
add rsp, 0xc0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0xc8
cmp ebp, 2
je 0x14003efe7
mov eax, 0
cmp ebp, 3
je 0x14003eff1
jmp 0x14003f00c
xor ecx, ecx
jmp 0x14003f0ff
Function at 0x140040aa0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov eax, r8d
mov rsi, rdx
mov rdx, qword [0x140231040]
xor rdx, rsp
mov qword [rsp + 0x40], rdx
mov rcx, qword [rcx]
movabs rdx, 0xaaaaaaaaaaaaaaaa
lea r8, [rsp + 0x38]
mov qword [r8], rdx
or r9d, 8
mov qword [rsp + 0x28], r8
mov dword [rsp + 0x20], 2
mov edx, r9d
xor r8d, r8d
mov r9d, eax
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x140040b72
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x140040b72
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x140040b6e
call fcn.1400b28a0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsi], 0
mov bpl, 1
test rbx, rbx
je 0x140040b51
cmp rbx, 0xffffffffffffffff
je 0x140040b79
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 0x140040b17
mov byte [rsi], 0
xor ebp, ebp
jmp 0x140040b51
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140040b49