joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004ddb0
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 0x14004ded2
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 0x14004df08
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 0x14004df10
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 0x14004df14
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 0x14004df1a
pop rdi
pop rsi
ret
xor r10d, r10d
jmp 0x14004de0c
xor eax, eax
jmp 0x14004dea1
mov dl, byte [r8 + 0x19]
jmp 0x14004df01
cmp byte [r8 + 0x1a], 0
je 0x14004df05
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x14004df05
cmp ecx, 0x666f736f
jne 0x14004df05
cmp edx, 0x76482074
jne 0x14004df05
mov byte [r8 + 0x19], 1
jmp 0x14004df05
Function at 0x14004e0a0
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 0x14004e253
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 0x14004e142
mov rcx, qword [rdi + 0x20]
mov rdx, rdi
call fcn.14004e500
test al, al
je 0x14004e112
lea rcx, [rdi + 8]
call fcn.14004e280
mov rcx, qword [rdi]
test rcx, rcx
je 0x14004e112
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rdi + 0x20]
mov rax, rcx
and rax, rbx
cmp rax, qword [0x14029be48]
je 0x14004e22a
mov qword [rdi + 0x20], 0
lea rcx, [rdi + 8]
call fcn.14004e280
mov rcx, rdi
call fcn.1401833ec
mov rdx, qword [rsi + 0x48]
mov qword [rsi + 0x48], 0
test rdx, rdx
je 0x14004e162
lea rcx, fcn.1400f1570
xor r8d, r8d
call fcn.1400edf60
mov rcx, qword [rsi + 0x38]
and rbx, rcx
cmp rbx, qword [0x14029be48]
je 0x14004e234
mov rdi, qword [rsi + 0x30]
xorps xmm0, xmm0
movups xmmword [rsi + 0x30], xmm0
test rdi, rdi
jne 0x14004e23e
mov rax, qword [rsi + 0x28]
inc rax
cmp rax, 2
jb 0x14004e1c8
call fcn.1400ea220
mov rdi, qword [rsi + 0x28]
cmp qword [0x1402b6720], 0
je 0x14004e1e9
mov rcx, qword [0x1402b6720]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rdi
call qword [0x1402c9008]
mov qword [rsi + 0x28], 0
lea rcx, [rsi + 0x20]
call fcn.1400432e0
lea rcx, [rsi + 0x18]
call fcn.1400432e0
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140040800
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 0x14004e276
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14004e224
call qword [0x1402c9008]
mov rcx, rax
xor edx, edx
call fcn.140014550
jmp 0x14004e1aa
xor ecx, ecx
mov dl, 1
jmp 0x14004e21d
call fcn.1400dca60
jmp 0x14004e129
call fcn.1400dca60
jmp 0x14004e176
mov rcx, rdi
call fcn.140076c70
mov rcx, rdi
call fcn.1401833ec
jmp 0x14004e18a
test rcx, rcx
jne 0x14004e0b7
cmp dword [rsi + 0x14], 0
jne 0x14004e0b7
cmp qword [rsi + 8], 0
jne 0x14004e0b7
jmp 0x14004e0d0
xor ecx, ecx
jmp 0x14004e21b
Function at 0x140051360
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140188160
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 0x140051408
cmp word [rsp + 0x70], 0
je 0x140051408
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.140183fc8
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.14010a8d0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140186020
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
jmp 0x1400513d7
xorps xmm0, xmm0
lea rcx, [rsp + 0x40]
movaps xmmword [rcx], xmm0
mov qword [rcx + 0x10], 0
call fcn.140055f00
test al, al
jne 0x1400513f5
lea rax, [0x14027b3e4]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.14010a8d0
cmp byte [rsp + 0x57], 0
jns 0x1400513d7
mov rcx, qword [rsp + 0x40]
call fcn.1401833ec
jmp 0x1400513d7

Function at 0x140051b00
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x140051b27
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140051b61
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140051b80
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140186020
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.140051c60
mov sil, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140186020
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret
cmp dword [0x1402b65e0], 2
jg 0x140051c4d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x266
mov r9d, 2
call fcn.1401f99b0
lea rcx, [rsp + 0x60]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.1401c1300
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x140051bdf
mov rax, qword [rsi + 8]
mov rsi, qword [rsi]
jmp 0x140051be2
and eax, 0x7f
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rax
test rax, rax
js 0x140051c54
test rsi, rsi
jne 0x140051bfb
test rax, rax
jne 0x140051c57
lea rsi, [rsp + 0x38]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.140148c90
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x140051c1d
and r8d, 0x7f
jmp 0x140051c27
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.1401c1300
cmp byte [rsp + 0x4f], 0
jns 0x140051c43
mov rcx, qword [rsp + 0x38]
call fcn.1401833ec
lea rcx, [rsp + 0x50]
call fcn.1401f9a30
xor esi, esi
jmp 0x140051b64
int3
int3
Function at 0x140051c60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x1a8
mov rsi, rcx
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
cmp byte [rcx + 0x17], 0
jns 0x140051c87
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140051cb9
mov dil, 1
test al, 0x10
je 0x140051d95
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140186020
mov eax, edi
add rsp, 0x1a8
pop rdi
pop rsi
ret
cmp dword [0x1402b65e0], 2
jg 0x140051d8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x60]
mov r8d, 0x251
mov r9d, 2
call fcn.1401f99b0
lea rcx, [rsp + 0x70]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1401c1300
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
js 0x140051d14
and eax, 0x7f
jmp 0x140051d1b
mov rax, qword [rsi + 8]
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rax
test rax, rax
js 0x140051e6e
test rsi, rsi
jne 0x140051d3c
test rax, rax
jne 0x140051e74
lea rsi, [rsp + 0x48]
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.140148c90
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x140051d5e
and r8d, 0x7f
jmp 0x140051d68
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, rsi
call fcn.1401c1300
cmp byte [rsp + 0x5f], 0
jns 0x140051d84
mov rcx, qword [rsp + 0x48]
call fcn.1401833ec
lea rcx, [rsp + 0x60]
call fcn.1401f9a30
xor edi, edi
jmp 0x140051c9d
cmp dword [0x1402b65e0], 2
jg 0x140051d8e
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x60]
mov r8d, 0x255
mov r9d, 2
call fcn.140007440
lea rcx, [rsp + 0x70]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1401c1300
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
js 0x140051de2
and eax, 0x7f
jmp 0x140051de9
mov rax, qword [rsi + 8]
mov rsi, qword [rsi]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rax
test rax, rax
js 0x140051e71
test rsi, rsi
jne 0x140051e02
test rax, rax
jne 0x140051e77
lea rsi, [rsp + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.140148c90
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x140051e2a
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
jmp 0x140051e2e
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.1401c1300
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.1401c1300
cmp byte [rsp + 0x5f], 0
jns 0x140051e5f
mov rcx, qword [rsp + 0x48]
call fcn.1401833ec
lea rcx, [rsp + 0x60]
call fcn.140007530
jmp 0x140051d8e
int3
int3
int3
int3
Function at 0x140055f00
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140188160
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x140055fb5
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.140183fc8
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14010a8d0
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.140055ff0
cmp byte [rsi + 0x17], 0
js 0x140055fdd
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 0x140055fb5
mov rcx, qword [rsp + 0x30]
call fcn.1401833ec
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140186020
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rsi]
call fcn.1401833ec
jmp 0x140055f87
Function at 0x140058200
Capabilities:
Clear file content

Disassembly:
push rsi
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x178], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r8, [rsp + 0x170]
mov qword [r8], rax
xor edx, edx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140058277
cmp qword [rsp + 0x170], 0
jne 0x1400582c8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
je 0x1400582cc
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140186020
mov eax, esi
add rsp, 0x180
pop rsi
ret
cmp dword [0x1402b65e0], 2
jg 0x1400582c8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0xf1
mov r9d, 2
call fcn.1401f99b0
lea rcx, [rsp + 0x40]
lea rdx, [0x140287bda]
mov r8d, 0x10
call fcn.1401c1300
mov rcx, rsi
call fcn.1401f9a30
xor esi, esi
jmp 0x14005825c
cmp dword [0x1402b65e0], 2
jg 0x1400582c8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0xfb
mov r9d, 2
call fcn.1401f99b0
lea rcx, [rsp + 0x40]
lea rdx, [0x140287beb]
mov r8d, 0xc
jmp 0x1400582bb

Function at 0x140059dc0
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 [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x168], rax
mov sil, 1
test r8, r8
je 0x140059e4a
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov r12d, 0xffffffff
lea r15, [rsp + 0x28]
mov r13, qword [sym.imp.KERNEL32.dll_WriteFile]
cmp rdi, r12
mov r8d, 0xffffffff
cmovb r8, rdi
mov dword [rsp + 0x28], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, r14
mov rdx, rbx
mov r9, r15
call r13
test eax, eax
je 0x140059e6f
mov eax, dword [rsp + 0x28]
cmp rax, r12
je 0x140059ec4
add rbx, rax
sub rdi, rax
jne 0x140059e07
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140186020
mov eax, esi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp dword [0x1402b65e0], 2
jg 0x140059ec0
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_file_io.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x8c
mov r9d, 2
call fcn.1401f99b0
lea rcx, [rsp + 0x38]
lea rdx, [0x140287c54]
mov r8d, 9
call fcn.1401c1300
mov rcx, rsi
call fcn.1401f9a30
xor esi, esi
jmp 0x140059e4a
int3
Function at 0x14005f9b0
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 [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x30], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x28]
mov qword [rsi], rax
mov rdx, rsi
call fcn.140060430
mov rax, qword [rsi]
test rax, rax
je 0x14005fa27
mov rbx, qword [rax + 0x50]
mov r15, qword [rax + 0x58]
xor esi, esi
cmp rbx, r15
jne 0x14005fa2e
lea rcx, [rsp + 0x28]
call fcn.14005fa90
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140186020
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov esi, 3
jmp 0x14005fa00
mov r12, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], 0
je 0x14005fa46
add rbx, 0x70
cmp rbx, r15
je 0x14005fa00
jmp 0x14005fa35
cmp byte [rbx + 0x27], 0
js 0x14005fa52
lea rcx, [rbx + 0x10]
jmp 0x14005fa56
mov rcx, qword [rbx + 0x10]
call r12
test al, 0x10
jne 0x14005fa3b
mov r14, qword [rdi + 8]
cmp r14, qword [rdi + 0x10]
je 0x14005fa7c
mov rcx, r14
mov rdx, rbx
call fcn.1400c1490
add r14, 0x68
mov qword [rdi + 8], r14
jmp 0x14005fa3b
mov rcx, rdi
mov rdx, rbx
call fcn.1400c1270
jmp 0x14005fa3b
Function at 0x1400637c0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x14029b028]
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 0x1400638cb
lea rdi, [rsi + 0x10]
lea rdx, [0x1402734c9]
lea rbx, [rsp + 0x20]
mov rcx, rbx
call fcn.1401c3730
mov rcx, rdi
mov rdx, rbx
call fcn.1400638d0
cmp byte [rbx + 0x17], 0
js 0x1400638bc
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 0x140063886
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x98]
inc rax
cmp rax, 2
jae 0x14006389e
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14006387e
mov qword [rsi + 0x98], rdi
call fcn.1400ea220
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140186020
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
call fcn.1400ea220
mov rcx, qword [rsi + 0x98]
call fcn.140134ed0
mov qword [rsi + 0x98], 0
jmp 0x140063868
mov rcx, qword [rsp + 0x20]
call fcn.1401833ec
jmp 0x140063820
int3

Function at 0x1400644a0
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 0x1400644ca
call fcn.1400ea220
cmp qword [rsi], r14
je 0x1400644f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14006454f
cmp r15, 2
jb 0x1400644f1
mov qword [rsi], r14
call fcn.1400ea220
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 0x14006451e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400ea220
mov rbx, qword [rdi]
cmp qword [0x1402b6720], 0
je 0x140064568
mov rcx, qword [0x1402b6720]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rbx
call qword [0x1402c9008]
mov qword [rdi], 0
jmp 0x14006450f
call fcn.1400ea220
mov rcx, qword [rsi]
call fcn.140134ed0
mov qword [rsi], 0
jmp 0x1400644e3
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 0x1400645a9
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x1400645a3
call qword [0x1402c9008]
mov rcx, rax
xor edx, edx
call fcn.140014550
jmp 0x140064530
xor ecx, ecx
mov dl, 1
jmp 0x14006459c
xor ecx, ecx
jmp 0x14006459a
Function at 0x1400645f0
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 0x140064771
mov rdi, rcx
cmp qword [rcx + 0x18], 0
jne 0x140064771
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 0x14006467e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi + 8]
inc rax
cmp rax, 2
jae 0x140064792
mov rax, r14
inc rax
cmp rax, 2
jb 0x140064672
mov qword [rdi + 8], r14
call fcn.1400ea220
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14006484c
movabs r12, 0xfffffffc00000000
mov ecx, 0x20
call fcn.1401833f4
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.1401833f4
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 [0x14029be48]
je 0x1400647c5
mov rax, r15
and rax, r12
cmp rax, qword [0x14029be48]
je 0x1400647cf
mov qword [rdi + 0x18], r15
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400bfd20]
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 0x140064768
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rdi + 0x10]
inc rax
cmp rax, 2
jae 0x1400647ad
mov rax, r15
inc rax
cmp rax, 2
jb 0x14006475c
mov qword [rdi + 0x10], r15
call fcn.1400ea220
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r15, qword [rdi + 0x10]
inc r15
cmp r15, 1
jbe 0x1400647f0
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
jne 0x1400647dc
mov eax, r14d
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400ea220
mov rcx, qword [rdi + 8]
call fcn.140134ed0
mov qword [rdi + 8], 0
jmp 0x14006465d
call fcn.1400ea220
mov rcx, qword [rdi + 0x10]
call fcn.140134ed0
mov qword [rdi + 0x10], 0
jmp 0x140064747
call fcn.1400dfe50
jmp 0x1400646ea
mov rcx, r15
call fcn.1400dc910
jmp 0x1400646fd
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
mov edx, 1
call qword [0x1402c9008]
jmp 0x140064780
mov rcx, qword [rdi + 0x18]
and r12, rcx
cmp r12, qword [0x14029be48]
jne 0x140064805
call fcn.1400dfe50
mov qword [rdi + 0x18], 0
test rbx, rbx
je 0x14006484c
mov rdi, qword [rbx + 0x10]
mov qword [rbx + 0x10], 0
test rdi, rdi
je 0x140064833
mov rcx, rdi
call fcn.1400cd040
mov rcx, rdi
call fcn.1401833ec
mov rcx, qword [rbx + 8]
mov qword [rbx + 8], 0
test rcx, rcx
jne 0x140064857
mov rcx, rbx
call fcn.1401833ec
mov r14d, 0x3b
jmp 0x140064771
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
mov edx, 1
call qword [0x1402c9008]
jmp 0x140064844
Function at 0x140068ce0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rdx
mov r15b, byte [rbp + 0x68]
test byte [r9 + 8], 1
jne 0x140068d42
mov dl, byte [rbp + 0x60]
movzx r8d, r15b
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov dword [rsp + 0x28], r8d
mov byte [rsp + 0x20], dl
mov rdx, rsi
mov r8, rdi
call qword [0x1402c9008]
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov qword [rsi], rdi
jmp 0x140068d2d
mov rax, qword [r9 + 0x30]
lea rbx, [rbp - 0x20]
mov qword [rbx], rax
mov qword [rbp - 8], rax
lock inc dword [rax + 8]
lea rdx, [0x1402b52e0]
mov rcx, rbx
call fcn.140164ae0
mov r14, rax
mov eax, 0xffffffff
mov rcx, qword [rbp - 8]
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x140068d8a
mov rcx, qword [rbp - 8]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1402c9008]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rbp - 0x10], rax
movaps xmm0, xmmword [0x14026cc70]
movaps xmmword [rbp - 0x20], xmm0
mov rax, qword [r14]
xor r15b, 1
movzx ecx, r15b
mov rax, qword [rax + rcx*8 + 0x28]
mov rcx, r14
mov rdx, rbx
call qword [0x1402c9008]
mov al, byte [rbp - 9]
test al, al
mov rcx, qword [rbp - 0x20]
cmovs rbx, rcx
jmp 0x140068df2
movzx edx, al
mov rax, qword [rdi]
mov rax, qword [rax + 0x60]
mov rcx, rdi
call qword [0x1402c9008]
cmp eax, 0xffffffff
jne 0x140068de8
xor edi, edi
inc rbx
mov al, byte [rbp - 9]
mov rcx, qword [rbp - 0x20]
test al, al
js 0x140068e26
movzx eax, al
add rax, rbp
add rax, 0xffffffffffffffe0
cmp rbx, rax
je 0x140068d3d
test rdi, rdi
je 0x140068de6
mov al, byte [rbx]
mov rcx, qword [rdi + 0x30]
cmp rcx, qword [rdi + 0x38]
je 0x140068dce
lea rdx, [rcx + 1]
mov qword [rdi + 0x30], rdx
mov byte [rcx], al
jmp 0x140068de8
mov rax, qword [rbp - 0x18]
add rax, rcx
cmp rbx, rax
jne 0x140068e09
mov qword [rsi], rdi
call fcn.1401833ec
jmp 0x140068d2d
Function at 0x14006f330
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x14006f379
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14006f395
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14006f371
mov qword [rsi], rdi
call fcn.1400ea220
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp rax, rdi
je 0x14006f407
mov rax, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400ea220
mov r14, qword [rsi]
cmp qword [0x1402b6720], 0
je 0x14006f3c6
mov rcx, qword [0x1402b6720]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, r14
call qword [0x1402c9008]
mov qword [rsi], 0
jmp 0x14006f35f
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 0x14006f40a
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x14006f401
call qword [0x1402c9008]
mov rcx, rax
xor edx, edx
call fcn.140014550
jmp 0x14006f3a7
xor ecx, ecx
mov dl, 1
jmp 0x14006f3fa
int3
xor ecx, ecx
jmp 0x14006f3f8