joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400467a0
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 [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor ebx, ebx
mov ecx, 0x65c2937b
xor eax, eax
lock cmpxchg dword [rsi], ecx
jne 0x140046952
mov dword [0x1402c3508], ebx
lea rbp, [0x1402c3508]
movabs rax, 0x100000000
mov qword [0x1402c3628], rax
movaps xmm6, xmmword [0x140272a70]
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 [0x1402c3630], rcx
mov r15d, 0x20
mov qword [0x1402c3638], r15
mov r12d, 0x40
mov qword [0x1402c3640], r12
mov dword [0x1402c3648], ebx
mov qword [0x1402c3510], rbx
lea rax, [0x1402c3510]
mov r13, 0xffffffffb37cc16a
xor rax, r13
mov qword [0x1402c3518], rax
mov qword [0x1402c3520], rbp
mov dword [0x1402c3530], ebx
lea rcx, [0x1402c3538]
mov r8d, 0xf0
xor edx, edx
call fcn.1401d6710
mov dword [0x1402c3650], ebx
lea rbp, [0x1402c3650]
mov qword [0x1402c3770], 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 [0x1402c3778], rcx
mov qword [0x1402c3780], r15
mov qword [0x1402c3788], r12
mov dword [0x1402c3790], ebx
mov qword [0x1402c3658], rbx
lea rax, [0x1402c3658]
xor rax, r13
mov qword [0x1402c3660], rax
mov qword [0x1402c3668], rbp
mov dword [0x1402c3678], ebx
lea rcx, [0x1402c3680]
mov r8d, 0xf0
xor edx, edx
call fcn.1401d6710
mov eax, 0xdd
xchg dword [rsi], eax
cmp eax, 0x5a308d2
je 0x140046972
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x14004693c
call fcn.14019d280
int3
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, [0x140278130]
mov rcx, rsi
mov edx, 3
call fcn.14005f600
test eax, eax
jne 0x140046925
jmp 0x1400467da
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14019d280
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.1401d9660
Function at 0x140047c50
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1401d6710
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, Ordinal_41
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140047cef
cmp word [rsp + 0x70], 0
je 0x140047cef
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.14019aed8
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140150d20
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x140047ce1
call fcn.14019d280
int3
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.140049160
test al, al
jne 0x140047d3d
lea rax, [0x140283cd8]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.140150d20
cmp byte [rsp + 0x57], 0
jns 0x140047cc7
mov rcx, qword [rsp + 0x40]
call fcn.14019aab4
jmp 0x140047cc7
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
jmp 0x140047cc7

Function at 0x1400484b0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp dword [rcx + 0x10], 0
mov rcx, qword [rcx]
je 0x1400485f3
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 0x140048500
mov rcx, rdi
call fcn.140048630
mov rcx, rdi
call fcn.14019aab4
mov rcx, qword [rsi + 0x48]
mov qword [rsi + 0x48], 0
test rcx, rcx
je 0x140048518
xor edx, edx
call fcn.140001b10
mov rcx, qword [rsi + 0x38]
movabs rax, 0xfffffffc00000000
and rax, rcx
cmp rax, qword [0x1402b5708]
je 0x1400485e9
mov rdi, qword [rsi + 0x30]
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
test rdi, rdi
jne 0x140048616
mov rax, qword [rsi + 0x28]
inc rax
cmp rax, 2
jb 0x140048588
call fcn.1401054e0
mov rdi, qword [rsi + 0x28]
cmp qword [0x1402c5688], 0
je 0x1400485a8
mov rcx, qword [0x1402c5688]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rdi
call qword [0x1402a4958]
mov qword [rsi + 0x28], 0
lea rcx, [rsi + 0x20]
call fcn.140032b50
lea rcx, [rsi + 0x18]
call fcn.140032b50
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14002fde0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14028b1d5]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004862b
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400485e3
call qword [0x1402a4958]
mov rcx, rax
xor edx, edx
call fcn.14003d980
jmp 0x14004856a
xor ecx, ecx
mov dl, 1
jmp 0x1400485dc
call fcn.140004e70
jmp 0x140048536
test rcx, rcx
jne 0x1400484c6
cmp dword [rsi + 0x14], 0
jne 0x1400484c6
cmp qword [rsi + 8], 0
jne 0x1400484c6
jmp 0x1400484df
mov rcx, rdi
call fcn.140048630
mov rcx, rdi
call fcn.14019aab4
jmp 0x14004854a
xor ecx, ecx
jmp 0x1400485da
Function at 0x140049160
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1401d6710
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14004921d
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14019aed8
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140150d20
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.140049250
cmp byte [rsi + 0x17], 0
jns 0x1400491ef
mov rcx, qword [rsi]
call fcn.14019aab4
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 0x14004921d
mov rcx, qword [rsp + 0x30]
call fcn.14019aab4
cmp edi, 0x103
setb al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x140049240
call fcn.14019d280
int3
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14004ecc0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x170
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x168], rax
mov sil, 1
test r8, r8
je 0x14004ed46
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov r12d, 0xffffffff
lea r15, [rsp + 0x30]
mov r13, qword [sym.imp.KERNEL32.dll_WriteFile]
cmp rdi, r12
mov r8d, 0xffffffff
cmovb r8, rdi
mov dword [rsp + 0x30], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, r14
mov rdx, rbx
mov r9, r15
call r13
test eax, eax
je 0x14004ed78
mov eax, dword [rsp + 0x30]
cmp rax, r12
je 0x14004ed75
add rbx, rax
sub rdi, rax
jne 0x14004ed07
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x14004ed60
call fcn.14019d280
int3
mov eax, esi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
int3
cmp dword [0x1402c5570], 2
jg 0x14004edc9
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_file_io.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, Ordinal_145
mov r9d, 2
call fcn.140202e20
lea rcx, [rsp + 0x40]
lea rdx, [0x14029d0c8]
mov r8d, 9
call fcn.140181360
mov rcx, rsi
call fcn.140202e90
xor esi, esi
jmp 0x14004ed46

Function at 0x14004ff60
Capabilities:
Clear file content

Disassembly:
push rsi
sub rsp, 0x170
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x168], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r8, [rsp + 0x160]
mov qword [r8], rax
xor edx, edx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14004ffe4
cmp qword [rsp + 0x160], 0
jne 0x14005007f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, eax
mov al, 1
test ecx, ecx
je 0x14005002e
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x14004ffdb
call fcn.14019d280
int3
add rsp, 0x170
pop rsi
ret
cmp dword [0x1402c5570], 2
jg 0x14005007f
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xf1
mov r9d, 2
call fcn.140202e20
lea rcx, [rsp + 0x38]
lea rdx, [0x14029d03e]
mov r8d, 0x10
jmp 0x140050072
cmp dword [0x1402c5570], 2
jg 0x14005007f
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xfb
mov r9d, 2
call fcn.140202e20
lea rcx, [rsp + 0x38]
lea rdx, [0x14029d04f]
mov r8d, Ordinal_14
call fcn.140181360
mov rcx, rsi
call fcn.140202e90
xor eax, eax
jmp 0x14004ffc1
Function at 0x140054170
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x178], rax
xorps xmm0, xmm0
movups xmmword [rcx + 8], xmm0
lea rax, [0x140275188]
mov qword [rcx], rax
lea rax, [0x1402740b8]
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
setne al
cmp rcx, rdi
sete dl
and dl, al
cmp dl, 1
je 0x1400542cb
test rcx, rcx
jne 0x1400542d0
mov qword [rsi + 0x20], rdi
cmp dword [0x1402c5570], 3
setl al
test rdi, rdi
sete cl
and cl, al
cmp cl, 1
je 0x1400542e4
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
setne al
cmp rcx, rdi
sete dl
and dl, al
cmp dl, 1
je 0x1400542cb
test rcx, rcx
jne 0x1400542da
mov qword [rsi + 0x38], rdi
cmp dword [0x1402c5570], 3
setl al
test rdi, rdi
sete cl
and cl, al
cmp cl, 1
je 0x140054331
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400f80d0]
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 0x14005437e
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x1400542bd
call fcn.14019d280
int3
mov rax, rsi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
call fcn.1401b594c
call fcn.1400f7f90
jmp 0x1400541f9
call fcn.1400f7f90
jmp 0x140054252
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwin_session_end_watcher.cc
lea rdi, [rsp + 0x38]
mov rcx, rdi
mov r8d, 0x5b
mov r9d, 2
call fcn.140202e20
lea rcx, [rsp + 0x48]
lea rdx, str.CreateEvent
mov r8d, Ordinal_14
call fcn.140181360
mov rcx, rdi
call fcn.140202e90
jmp 0x140054218
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwin_session_end_watcher.cc
lea rdi, [rsp + 0x38]
mov rcx, rdi
mov r8d, 0x5e
mov r9d, 2
call fcn.140202e20
lea rcx, [rsp + 0x48]
lea rdx, str.CreateEvent
mov r8d, Ordinal_14
call fcn.140181360
mov rcx, rdi
call fcn.140202e90
jmp 0x140054271
lea rdx, str.Start
lea r8, str....._third_partycrashpadcrashpadutil_thread_thread_win.cc
lea rdi, [rsp + 0x38]
mov rcx, rdi
mov r9d, reloc.WLDAP32.dll_Ordinal_27
call fcn.140131450
lea rbx, [rsp + 0x170]
mov rcx, rbx
mov rdx, rdi
call fcn.140204670
lea rdx, [0x140291b28]
mov rcx, rbx
call fcn.14021e510
mov rcx, rbx
call fcn.1401d7120
jmp 0x1400542a3
Function at 0x1400569f0
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rdi, rdx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x30], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x28]
mov qword [rsi], rax
mov rdx, rsi
call fcn.140057390
mov rax, qword [rsi]
test rax, rax
je 0x140056a71
mov rbx, qword [rax + 0x50]
mov r15, qword [rax + 0x58]
xor esi, esi
cmp rbx, r15
jne 0x140056a78
lea rcx, [rsp + 0x28]
call fcn.140056ae0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x140056a61
call fcn.14019d280
int3
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 3
jmp 0x140056a40
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 0
jne 0x140056a9c
cmp byte [rbx + 0x27], 0
js 0x140056a91
lea rcx, [rbx + 0x10]
jmp 0x140056a95
mov rcx, qword [rbx + 0x10]
call r12
test al, 0x10
je 0x140056aa7
add rbx, 0x70
cmp rbx, r15
je 0x140056a40
jmp 0x140056a7f
mov r14, qword [rdi + 8]
cmp r14, qword [rdi + 0x10]
jae 0x140056ac6
mov rcx, r14
mov rdx, rbx
call fcn.14021a1e0
add r14, 0x68
mov qword [rdi + 8], r14
jmp 0x140056a9c
mov rcx, rdi
mov rdx, rbx
call fcn.14021a080
mov r14, rax
jmp 0x140056ac0
Function at 0x1400581f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov esi, r8d
mov edi, edx
mov rbx, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0xb8], rax
movaps xmm0, xmmword [0x140272a70]
lea r15, [rsp + 0x60]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, str.PathHasAccess
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x40]
mov rcx, r14
mov r9d, 0x20c
call fcn.140131450
mov rcx, r15
xor edx, edx
xor r8d, r8d
call fcn.140106c40
mov qword [rsp + 0xa0], Ordinal_14
mov al, byte [0x1402c525b]
test al, al
jne 0x1400583b7
cmp byte [rbx + 0x17], 0
jns 0x140058288
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400583b0
test al, 0x10
cmove edi, esi
mov eax, 0x80
mov ecx, 0x2000000
cmove ecx, eax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 3
xor esi, esi
mov rcx, rbx
mov edx, edi
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
test rax, rax
je 0x1400582fd
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp rbx, 0xffffffffffffffff
je 0x140058368
call fcn.1401054e0
mov rsi, rbx
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
setne dil
lea rax, [rsi + 1]
cmp rax, 2
jb 0x140058333
call fcn.1401054e0
cmp qword [0x1402c5688], 0
je 0x14005836c
mov rcx, qword [0x1402c5688]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rsi
call qword [0x1402a4958]
lea rcx, [rsp + 0x60]
call fcn.14014a900
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x140058357
call fcn.14019d280
int3
mov eax, edi
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor esi, esi
jmp 0x1400582f5
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14028b1d5]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400583e9
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400583aa
call qword [0x1402a4958]
mov rcx, rax
xor edx, edx
call fcn.14003d980
jmp 0x14005831d
xor ecx, ecx
mov dl, 1
jmp 0x1400583a0
xor edi, edi
jmp 0x140058333
movzx ecx, al
lea r9, [rsp + 0xb0]
mov qword [r9], r14
lea rax, str.ScopedBlockingCall
lea r8, [rsp + 0xa8]
mov qword [r8], rax
lea rdx, [rsp + 0xa0]
call fcn.1402003b0
jmp 0x14005827f
xor ecx, ecx
jmp 0x14005839e
Function at 0x140058660
Capabilities:
Get token privileges

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [rcx]
lea r15, [rsp + 0x2c]
mov dword [r15], 0
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov edx, 3
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x140058892
mov r14d, dword [rsp + 0x2c]
test r14d, r14d
je 0x140058892
mov rcx, r14
call fcn.14019aa78
mov rdi, rax
xor eax, eax
mov rcx, rdi
add rcx, rax
je 0x140058881
mov byte [rcx], 0
inc rax
cmp r14, rax
jne 0x1400586cd
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov edx, 3
mov r8, rdi
mov r9d, r14d
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14005888d
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
mov eax, dword [rdi]
test rax, rax
je 0x140058777
shl rax, 2
lea r14, [rax + rax*2]
mov rcx, r14
call fcn.14019aa78
mov rbx, rax
add r14, rax
mov qword [rsi], rax
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], r14
lea r15, [rdi + 0xc]
xor r12d, r12d
mov r13, qword [r15 - 8]
mov rcx, qword [rsi + 0x10]
cmp rbx, rcx
jae 0x1400587b3
test rbx, rbx
je 0x140058881
mov eax, dword [r15]
mov qword [rbx], r13
mov dword [rbx + 8], eax
add rbx, 0xc
mov qword [rsi + 8], rbx
inc r12
mov eax, dword [rdi]
add r15, 0xc
cmp r12, rax
jb 0x140058742
test rdi, rdi
je 0x140058784
mov rcx, rdi
call fcn.14019aab4
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x14005879b
call fcn.14019d280
int3
mov rax, rsi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x140058825
movabs rax, 0x1555555555555555
mov r8, qword [rsi]
sub rbx, r8
sar rbx, 2
movabs r9, 0xaaaaaaaaaaaaaaab
imul rbx, r9
lea rdx, [rbx + 1]
cmp rdx, rax
ja 0x140058883
sub rcx, r8
sar rcx, 2
imul rcx, r9
lea rbp, [rcx + rcx]
cmp rbp, rdx
ja 0x1400587f9
mov rbp, rdx
movabs rdx, 0xaaaaaaaaaaaaaaa
cmp rcx, rdx
cmovae rbp, rax
test rbp, rbp
je 0x1400587af
cmp rbp, rax
ja 0x140058888
lea rax, [rbp*4]
lea rcx, [rax + rax*2]
call fcn.14019aa78
lea r14, [rbx + rbx*2]
shl r14, 2
add r14, rax
je 0x140058881
lea rcx, [rbp*2]
add rcx, rbp
lea rbp, [rax + rcx*4]
mov eax, dword [r15]
mov qword [r14], r13
mov dword [r14 + 8], eax
lea rbx, [r14 + 0xc]
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
sub r8, rdx
sub r14, r8
mov rcx, r14
call fcn.1401d6070
mov rcx, qword [rsi]
mov qword [rsi], r14
mov qword [rsi + 0x10], rbp
test rcx, rcx
je 0x140058765
call fcn.14019aab4
jmp 0x140058765
ud2
call fcn.1401daa30
call fcn.1401da2d0
test rdi, rdi
jne 0x1400588a5
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
jmp 0x140058784
mov rcx, rdi
call fcn.14019aab4
jmp 0x140058892
Function at 0x14005b4d0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rcx], 0
mov byte [rcx + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test rax, rax
je 0x14005b60b
lea rax, [rsp + 0x35]
mov byte [rax + 2], 0x15
lea rcx, str.ExitCodeWatcherThread
lea rdx, [rsp + 0x20]
cmp rdx, rcx
seta dl
cmp rax, rcx
setbe al
or al, dl
je 0x14005b609
lea rcx, [rsi + 0x10]
movups xmm0, xmmword [str.ExitCodeWatcherThread]
lea rdi, [rsp + 0x20]
movaps xmmword [rdi], xmm0
movabs rax, 0x6461657268547265
mov qword [rdi + 0xd], rax
mov byte [rdi + 0x15], 0
mov rdx, rdi
call fcn.14005b620
cmp byte [rdi + 0x17], 0
js 0x14005b60e
mov dword [rsi + 0x90], 0x103
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0x98], 0
test rax, rax
je 0x14005b5c9
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x98]
inc rax
cmp rax, 2
jae 0x14005b5eb
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14005b5c1
mov qword [rsi + 0x98], rdi
call fcn.1401054e0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x14005b5e0
call fcn.14019d280
int3
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
call fcn.1401054e0
mov rcx, qword [rsi + 0x98]
call fcn.140184070
mov qword [rsi + 0x98], 0
jmp 0x14005b5ab
ud2
int3
mov rcx, qword [rsp + 0x20]
call fcn.14019aab4
jmp 0x14005b563

Function at 0x14005bda0
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
mov r14, qword [rdx]
mov qword [rdx], 0
lea r15, [r14 + 1]
cmp r15, 2
jb 0x14005bdca
call fcn.1401054e0
cmp qword [rsi], r14
je 0x14005bdf9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14005be4f
cmp r15, 2
jb 0x14005bdf1
mov qword [rsi], r14
call fcn.1401054e0
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 0x14005be1e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1401054e0
mov rbx, qword [rdi]
cmp qword [0x1402c5688], 0
je 0x14005be68
mov rcx, qword [0x1402c5688]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [0x1402a4958]
mov qword [rdi], 0
jmp 0x14005be0f
call fcn.1401054e0
mov rcx, qword [rsi]
call fcn.140184070
mov qword [rsi], 0
jmp 0x14005bde3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14028b1d5]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005bea9
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14005bea3
call qword [0x1402a4958]
mov rcx, rax
xor edx, edx
call fcn.14003d980
jmp 0x14005be30
xor ecx, ecx
mov dl, 1
jmp 0x14005be9c
xor ecx, ecx
jmp 0x14005be9a