joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002c8f0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.140187990
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14029c028]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.140189b30
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 0x14002c9b1
mov eax, dword [rsp + 0x3c]
cmp eax, 1
jne 0x14002c9b5
lea rdi, [rsp + 0x840]
mov rcx, rdi
call fcn.140185998
mov rcx, rsi
mov rdx, rdi
mov r8, rax
call fcn.14002ca10
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1401879f0
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret
mov edi, eax
jmp 0x14002c992
cmp eax, 2
jne 0x14002ca00
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.140189b30
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 0x14002ca07
lea rdi, [rsp + 0x40]
jmp 0x14002c97a
mov edi, 0x3f4
jmp 0x14002c992
mov edi, 0xea
jmp 0x14002c992

Function at 0x14002f9a0
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 [0x1402ac12c]
cmp ecx, 0xffffffff
je 0x14002fa7a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x14002fa7a
mov eax, dword [0x1402b9520]
mov ecx, dword [0x1402ac5e0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14002fa84
mov rbx, qword [0x1402b9518]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14002fac6
mov rax, qword [0x1402b7d08]
inc rax
xor ecx, ecx
lea rdx, [0x1402b7d10]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x14002fad3
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x1402b9510]
inc ecx
mov dword [0x1402b9510], ecx
mov dword [rax + 0x14], ecx
mov qword [0x1402b7d08], 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 0x14002fae8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140019900
jmp 0x14002f9ca
lea rcx, [0x1402b9520]
call fcn.140184f58
cmp dword [0x1402b9520], 0xffffffff
jne 0x14002f9ef
mov ecx, 8
call fcn.140184dc4
mov qword [rax], 0
mov qword [0x1402b9518], rax
lea rcx, [0x1402b9520]
call fcn.140184fc0
jmp 0x14002f9ef
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x14002fa07
inc rcx
cmp rcx, 0x100
jne 0x14002fa1a
jmp 0x14002fa60
int3
Function at 0x140030450
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 0x14003047c
call fcn.1400eba00
mov qword [rsi], 0
test r15, r15
je 0x1400304b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003050a
cmp r12, 2
jb 0x1400304aa
mov qword [rsi], r15
call fcn.1400eba00
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 0x1400304d9
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400eba00
mov rbx, qword [rdi]
cmp qword [0x1402b7720], 0
je 0x14003053e
mov rcx, qword [0x1402b7720]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [0x1402ca008]
mov qword [rdi], 0
jmp 0x1400304c8
call fcn.1400eba00
mov r14, qword [rsi]
cmp qword [0x1402b7720], 0
je 0x140030582
mov rcx, qword [0x1402b7720]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402ca008]
mov qword [rsi], 0
jmp 0x14003049c
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 0x1400305c6
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14003057c
call qword [0x1402ca008]
mov rcx, rax
xor edx, edx
call fcn.14003b860
jmp 0x1400304eb
xor ecx, ecx
mov dl, 1
jmp 0x140030572
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 0x1400305ca
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400305c0
call qword [0x1402ca008]
mov rcx, rax
xor edx, edx
call fcn.14003b860
jmp 0x14003051c
xor ecx, ecx
mov dl, 1
jmp 0x1400305b6
xor ecx, ecx
jmp 0x140030570
xor ecx, ecx
jmp 0x1400305b4

Function at 0x140032620
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x28
test rdx, rdx
jne 0x14003264f
test r8d, r8d
jne 0x140032648
lea rcx, [0x1402b7980]
lea rdx, [0x1400c0e60]
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.140166950
Function at 0x140033460
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
jne 0x140033555
cmp qword [rsi], 0
jne 0x140033555
cmp dword [rsi + 0x14], 0
jne 0x140033555
cmp qword [rsi + 8], 0
jne 0x140033555
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x1400334d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003353c
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400334cc
mov qword [rsi], r14
call fcn.1400eba00
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x14003350e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140033524
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140033506
mov qword [rsi + 8], r14
call fcn.1400eba00
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, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400eba00
mov rcx, qword [rsi + 8]
call fcn.1401692a0
mov qword [rsi + 8], 0
jmp 0x1400334f3
call fcn.1400eba00
mov rcx, qword [rsi]
call fcn.1401692a0
mov qword [rsi], 0
jmp 0x1400334ba
mov rcx, rsi
call fcn.140216b00
mov rax, qword [rsi]
jmp 0x14003349a

Function at 0x1400364a0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rax, qword [0x14029c028]
xor rax, rsp
mov qword [rsp + 0x48], rax
test rcx, rcx
je 0x140036579
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 0x14003657d
mov r14, qword [rsp + 0x40]
cmp qword [rsi], r14
je 0x140036548
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140036563
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140036540
mov qword [rsi], r14
call fcn.1400eba00
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401879f0
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400eba00
mov rcx, qword [rsi]
call fcn.1401692a0
mov qword [rsi], 0
jmp 0x14003652e
mov bl, 1
jmp 0x140036548
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140036540
Function at 0x140036c30
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 [0x14029c028]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, qword [0x1402b7668]
test rdi, rdi
je 0x140036c80
lea rbx, [0x14027d2e3]
mov rcx, rdi
mov rdx, rbx
call fcn.140168700
test al, al
jne 0x140036ca9
lea rdx, str.vmodule
mov rcx, rdi
call fcn.140168700
test al, al
jne 0x140036ca9
mov eax, dword [rsi]
mov dword [0x1402abf58], eax
test al, 1
jne 0x140036d62
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401879f0
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.140147ff0
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.140147ff0
mov ecx, 0x20
call fcn.140184dc4
mov rdi, rax
lea r9, [0x1402b75e0]
mov rcx, rax
mov rdx, rbx
mov r8, r14
call fcn.140205430
cmp byte [rbx + 0x17], 0
jns 0x140036d22
mov rcx, qword [rsp + 0x30]
call fcn.140184dbc
cmp byte [rsp + 0x6f], 0
jns 0x140036d33
mov rcx, qword [rsp + 0x58]
call fcn.140184dbc
test rdi, rdi
je 0x140036c80
xor eax, eax
lock cmpxchg qword [0x1402b75f0], rdi
je 0x140036c80
mov rcx, rdi
call fcn.140205500
mov rcx, rdi
call fcn.140184dbc
jmp 0x140036c80
mov rcx, qword [0x1402b75e8]
test rcx, rcx
jne 0x140036d7c
mov rcx, qword [0x1402b75d8]
test rcx, rcx
je 0x140036da0
jmp 0x140036dc2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1402b75e8], 0
mov rcx, qword [0x1402b75d8]
test rcx, rcx
jne 0x140036dc2
and byte [0x1402abf58], 0xfe
mov ecx, 0x18
call fcn.140184dc4
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1402b75d8], rax
mov rdx, qword [rsi + 8]
call fcn.140072bd0
cmp dword [rsi + 0x14], 0
jne 0x140036de7
mov rcx, qword [0x1402b75d8]
cmp byte [rcx + 0x17], 0
jns 0x140036de1
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401879f0
nop
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1401fa080
Function at 0x1400378c0
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 [0x14029c028]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor ebx, ebx
mov ecx, 0x65c2937b
xor eax, eax
lock cmpxchg dword [rsi], ecx
jne 0x140037a68
mov dword [0x1402afb00], ebx
lea rbp, [0x1402afb00]
movabs rax, 0x100000000
mov qword [0x1402afc20], rax
movaps xmm6, xmmword [0x14026dc70]
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 [0x1402afc28], rcx
mov r15d, 0x20
mov qword [0x1402afc30], r15
mov r12d, 0x40
mov qword [0x1402afc38], r12
mov dword [0x1402afc40], ebx
mov qword [0x1402afb08], rbx
lea rax, [0x1402afb08]
mov r13, 0xffffffffb37cc16a
xor rax, r13
mov qword [0x1402afb10], rax
mov qword [0x1402afb18], rbp
mov dword [0x1402afb28], ebx
lea rcx, [0x1402afb30]
mov r8d, 0xf0
xor edx, edx
call fcn.140189b30
mov dword [0x1402afc48], ebx
lea rbp, [0x1402afc48]
mov qword [0x1402afd68], 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 [0x1402afd70], rcx
mov qword [0x1402afd78], r15
mov qword [0x1402afd80], r12
mov dword [0x1402afd88], ebx
mov qword [0x1402afc50], rbx
lea rax, [0x1402afc50]
xor rax, r13
mov qword [0x1402afc58], rax
mov qword [0x1402afc60], rbp
mov dword [0x1402afc70], ebx
lea rcx, [0x1402afc78]
mov r8d, 0xf0
xor edx, edx
call fcn.140189b30
mov eax, 0xdd
xchg dword [rsi], eax
cmp eax, 0x5a308d2
je 0x140037a88
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401879f0
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, [0x1402758b0]
mov rcx, rsi
mov edx, 3
call fcn.140009850
test eax, eax
jne 0x140037a45
jmp 0x1400378fa
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401879f0
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.1401c2f30
Function at 0x14003b750
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 0x14003b77a
call fcn.1400eba00
cmp qword [rsi], r14
je 0x14003b7a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003b7ff
cmp r15, 2
jb 0x14003b7a1
mov qword [rsi], r14
call fcn.1400eba00
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 0x14003b7ce
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400eba00
mov rbx, qword [rdi]
cmp qword [0x1402b7720], 0
je 0x14003b818
mov rcx, qword [0x1402b7720]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [0x1402ca008]
mov qword [rdi], 0
jmp 0x14003b7bf
call fcn.1400eba00
mov rcx, qword [rsi]
call fcn.1401692a0
mov qword [rsi], 0
jmp 0x14003b793
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 0x14003b859
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14003b853
call qword [0x1402ca008]
mov rcx, rax
xor edx, edx
call fcn.14003b860
jmp 0x14003b7e0
xor ecx, ecx
mov dl, 1
jmp 0x14003b84c
xor ecx, ecx
jmp 0x14003b84a

Function at 0x14003c1c0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, qword [rdx]
mov qword [rdx], 0
lea r14, [rbx + 1]
cmp r14, 2
jb 0x14003c1e5
call fcn.1400eba00
cmp qword [rsi], rbx
je 0x14003c214
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003c221
cmp r14, 2
jb 0x14003c20c
mov qword [rsi], rbx
call fcn.1400eba00
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400eba00
mov rcx, qword [rsi]
call fcn.1401692a0
mov qword [rsi], 0
jmp 0x14003c1fe
Function at 0x14003eb80
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 [0x14029c028]
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 0x14003ec21
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 0x14003ec10
cmp eax, 0xffffffff
je 0x14003ec5b
mov esi, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401879f0
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 0x14003ec35
mov eax, dword [rsp + 0x2c]
jmp 0x14003ebf0
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x14003ebf2
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 0x14003ebe3
jmp 0x14003ec21
int3

Function at 0x140041bb0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov rbx, qword [rdx]
mov qword [rdx], rax
lea r14, [rbx + 1]
cmp r14, 2
jb 0x140041bd6
call fcn.1400eba00
cmp qword [rsi], rbx
je 0x140041c05
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140041c12
cmp r14, 2
jb 0x140041bfd
mov qword [rsi], rbx
call fcn.1400eba00
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400eba00
mov rcx, qword [rsi]
call fcn.1401692a0
mov qword [rsi], 0
jmp 0x140041bef
Function at 0x140042a20
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov rax, qword [0x14029c028]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rax, qword [rcx]
inc rax
cmp rax, 1
ja 0x140042bae
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 0x140042aa7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140042b8b
mov rax, r14
inc rax
cmp rax, 2
jb 0x140042a9b
mov qword [rsi], r14
call fcn.1400eba00
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi]
lea rax, [r14 + 1]
cmp rax, 1
jbe 0x140042bd4
xor r15d, r15d
lea rcx, [rsp + 0x30]
mov r8d, 0x90
xor edx, edx
call fcn.140189b30
test ebp, ebp
jne 0x140042b76
mov ecx, 0x37
mov r15d, 0x408
mov dword [rsp + 0x58], 1
mov eax, r15d
or ecx, 0xc8
mov dword [rsp + 0x2c], ecx
mov r15d, ecx
test rbx, rbx
je 0x140042b07
or eax, 0x100
mov qword [rsp + 0xa0], rbx
or eax, 0x2000
mov dword [rsp + 0x40], eax
lea r8, [rsp + 0x30]
mov rcx, r14
mov edx, 9
mov r9d, 0x90
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
je 0x140042ba4
not edi
and r15d, edi
lea r8, [rsp + 0x2c]
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 0x140042ba4
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401879f0
mov eax, esi
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
cmp ebp, 1
jne 0x140042bb5
mov ecx, 0x10
mov r15d, 8
jmp 0x140042add
call fcn.1400eba00
mov rcx, qword [rsi]
call fcn.1401692a0
mov qword [rsi], 0
jmp 0x140042a87
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140042b54
mov esi, 0x4df
jmp 0x140042b54
cmp ebp, 2
jne 0x140042bc1
xor ecx, ecx
jmp 0x140042ae5
mov eax, 0
cmp ebp, 3
je 0x140042af5
jmp 0x140042b10
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401879f0
nop
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x140044e30
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov eax, r8d
mov rsi, rdx
mov rdx, qword [0x14029c028]
xor rdx, rsp
mov qword [rsp + 0x38], rdx
mov rcx, qword [rcx]
movabs rdx, 0xaaaaaaaaaaaaaaaa
lea r8, [rsp + 0x30]
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 0x140044efe
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140044efe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x140044efa
call fcn.1400eba00
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi], 1
mov qword [rsi + 8], 0
test rbx, rbx
je 0x140044ee2
cmp rbx, 0xffffffffffffffff
je 0x140044f03
call fcn.1400eba00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsi + 8], rbx
call fcn.1400eba00
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401879f0
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
xor ebx, ebx
jmp 0x140044ea6
mov byte [rsi], 0
jmp 0x140044ee2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x140044eda
Function at 0x14004f2a0
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 0x14004f453
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsi]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
movabs rbx, 0xfffffffc00000000
mov rdi, qword [rsi + 0x30]
mov qword [rsi + 0x30], 0
test rdi, rdi
je 0x14004f342
mov rcx, qword [rdi + 0x20]
mov rdx, rdi
call fcn.14004f700
test al, al
je 0x14004f312
lea rcx, [rdi + 8]
call fcn.14004f480
mov rcx, qword [rdi]
test rcx, rcx
je 0x14004f312
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rdi + 0x20]
mov rax, rcx
and rax, rbx
cmp rax, qword [0x14029ce48]
je 0x14004f42a
mov qword [rdi + 0x20], 0
lea rcx, [rdi + 8]
call fcn.14004f480
mov rcx, rdi
call fcn.140184dbc
mov rdx, qword [rsi + 0x48]
mov qword [rsi + 0x48], 0
test rdx, rdx
je 0x14004f362
lea rcx, fcn.1400f2ed0
xor r8d, r8d
call fcn.1400ef740
mov rcx, qword [rsi + 0x38]
and rbx, rcx
cmp rbx, qword [0x14029ce48]
je 0x14004f434
mov rdi, qword [rsi + 0x30]
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
test rdi, rdi
jne 0x14004f43e
mov rax, qword [rsi + 0x28]
inc rax
cmp rax, 2
jb 0x14004f3c8
call fcn.1400eba00
mov rdi, qword [rsi + 0x28]
cmp qword [0x1402b7720], 0
je 0x14004f3e9
mov rcx, qword [0x1402b7720]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rdi
call qword [0x1402ca008]
mov qword [rsi + 0x28], 0
lea rcx, [rsi + 0x20]
call fcn.1400448d0
lea rcx, [rsi + 0x18]
call fcn.1400448d0
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140041df0
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 0x14004f476
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14004f424
call qword [0x1402ca008]
mov rcx, rax
xor edx, edx
call fcn.14003b860
jmp 0x14004f3aa
xor ecx, ecx
mov dl, 1
jmp 0x14004f41d
call fcn.1400de590
jmp 0x14004f329
call fcn.1400de590
jmp 0x14004f376
mov rcx, rdi
call fcn.1400782b0
mov rcx, rdi
call fcn.140184dbc
jmp 0x14004f38a
test rcx, rcx
jne 0x14004f2b7
cmp dword [rsi + 0x14], 0
jne 0x14004f2b7
cmp qword [rsi + 8], 0
jne 0x14004f2b7
jmp 0x14004f2d0
xor ecx, ecx
jmp 0x14004f41b
Function at 0x14004f9d0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor ecx, ecx
xor eax, eax
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x14004faf2
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 0x14004fb28
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
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 0x14004fb30
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
test al, al
setne al
test edi, edi
setne cl
and cl, al
mov byte [r8 + 0x16], cl
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x14004fb34
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 0x14004fb3a
pop rdi
pop rsi
ret
xor r10d, r10d
jmp 0x14004fa2c
xor eax, eax
jmp 0x14004fac1
mov dl, byte [r8 + 0x19]
jmp 0x14004fb21
cmp byte [r8 + 0x1a], 0
je 0x14004fb25
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x14004fb25
cmp ecx, 0x666f736f
jne 0x14004fb25
cmp edx, 0x76482074
jne 0x14004fb25
mov byte [r8 + 0x19], 1
jmp 0x14004fb25