joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004df20
Capabilities:
Read file via mapping

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
and qword [r11 - 0x40], 0
mov r15d, dword [rsp + 0x90]
mov r14d, r9d
lea eax, [r14 + r15]
mov r12, r8
mov r13, rdx
mov rdi, rcx
lea rsi, [rcx + 0x28]
xor r9d, r9d
xor edx, edx
mov r8d, 0x8000004
or rcx, 0xffffffffffffffff
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, rsi
mov rdx, rax
call fcn.140003604
mov rbp, qword [rsi]
lea rax, [rbp + 1]
test rax, 0xfffffffffffffffe
jne 0x14004df9b
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14004e12f
mov rbx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
lea r9, [rsp + 0x70]
mov rcx, rax
mov r8, rbx
mov rdx, rbp
mov dword [rsp + 0x20], 6
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x14004df90
mov rcx, qword [rsi]
and qword [rsp + 0x20], 0
xor r9d, r9d
lea edx, [r9 + 6]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbp, rax
test rax, rax
je 0x14004df90
lea r8, [r14 + rax]
mov rdx, r15
mov rcx, r12
mov rsi, r15
call fcn.14004dbf8
mov rax, qword [rsp + 0x70]
mov r12d, 8
lea r8, [0x1401f4388]
lea rdx, str.g_shared_section
mov rcx, rdi
mov r9d, r12d
mov qword [0x1401f4388], rax
call fcn.14004e174
xor r15d, r15d
mov ecx, eax
mov qword [0x1401f4388], r15
test eax, eax
je 0x14004e04e
mov eax, 1
cmp ecx, eax
jne 0x14004e12f
jmp 0x14004df90
lea r8, [0x1401f44b8]
lea rdx, str.g_shared_IPC_size
mov r9, r12
mov rcx, rdi
mov qword [0x1401f44b8], r14
call fcn.14004e174
mov qword [0x1401f44b8], r15
mov ecx, eax
test eax, eax
jne 0x14004e03c
lea r8, [0x1401f44c0]
lea rdx, str.g_shared_policy_size
mov r9, r12
mov rcx, rdi
mov qword [0x1401f44c0], rsi
call fcn.14004e174
mov qword [0x1401f44c0], r15
mov ecx, eax
test eax, eax
jne 0x14004e03c
lea ecx, [rax + 0x40]
call fcn.140098304
test rax, rax
je 0x14004e0db
mov rcx, qword [rdi + 0x40]
mov r9, qword [rdi + 0x30]
mov r8d, dword [rdi + 0x10]
mov rdx, qword [rdi]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.14005215c
mov rsi, rax
jmp 0x14004e0de
mov rsi, r15
mov rbx, qword [rdi + 0x38]
mov qword [rdi + 0x38], r15
test rbx, rbx
je 0x14004e0fb
mov rcx, rbx
call fcn.140052218
mov rcx, rbx
call fcn.14006bd10
mov r9d, 0x400
mov r8d, r14d
mov rdx, rbp
mov rcx, rsi
mov qword [rdi + 0x38], rsi
call fcn.140052488
test al, al
jne 0x14004e11c
mov eax, r12d
jmp 0x14004e12f
mov rcx, rdi
call fcn.14001de74
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x14004e150
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.14001dd00
test al, al
je 0x14004e16d
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x20
pop rbx
ret
Function at 0x140053b48
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x1401f05f0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor edi, edi
mov rsi, rcx
lea ebx, [rdi + 1]
mov dword [rsp + 0x30], edi
test dl, dl
jne 0x140053b92
cmp qword [rcx + 0x10], rdi
jne 0x140053be1
mov eax, ebx
jmp 0x140053d0d
lea rax, [0x14005d05c]
lea r8, str.NtMapViewOfSection
lea rdx, [0x1400c9fa8]
mov r9d, ebx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call fcn.140053294
lea rax, [0x14005d2a0]
lea r8, str.NtUnmapViewOfSection
lea rdx, [0x1400c9fa8]
mov r9d, ebx
mov rcx, rsi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
call fcn.140053294
mov rax, qword [rsi]
xor edx, edx
mov r9d, 0x2000
mov r14, qword [rax]
mov r8d, 0x10000
mov dword [rsp + 0x20], ebx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, qword [rsi + 0x10]
shl rbp, 6
mov rbx, rax
add rbp, 0x60
mov rcx, rbp
call fcn.1400536a8
mov rcx, 0xfffffffffffff000
lea r8, [rbp + 0xfff]
mov rdx, rax
mov r15, rax
and r8, rcx
and rdx, rcx
mov r9d, 0x1000
mov rcx, r14
add rdx, rbx
and r15d, 0xfff
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
jne 0x140053c61
call fcn.14001123c
add rbx, r15
lea rcx, [0x1401f4500]
mov r15d, 0x20
xor edx, edx
mov r8d, 0xc8
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x58], edi
call fcn.140099550
lea r9, [rsp + 0x40]
mov r8, rbp
mov rdx, rbx
mov rcx, rsi
call fcn.140053888
test al, al
je 0x140053d0b
lea rax, [rsp + 0x38]
lea r8, [rsp + 0x40]
mov r9d, r15d
mov rdx, rbx
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140053d0b
cmp qword [rsp + 0x38], r15
jne 0x140053d0b
lea rax, [rsp + 0x30]
mov r9d, r15d
mov r8, rbp
mov rdx, rbx
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [rsi]
lea r8, [0x1401f4500]
lea rdx, str.g_originals
mov r9d, 0xc8
call fcn.14004e174
test eax, eax
sete al
jmp 0x140053d0d
xor al, al
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400991d0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14005915c
Capabilities:
Create pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [rsp + 0xa0]
mov r10d, r9d
mov r9d, dword [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x98]
mov r11d, r8d
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x90]
mov rbx, rdx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x88]
mov rdi, rcx
mov r8d, r10d
mov edx, r11d
mov rcx, rbx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
or rsi, 0xffffffffffffffff
mov rbx, rax
cmp rax, rsi
jne 0x1400591cd
mov rax, rsi
jmp 0x140059207
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 3
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, rax
mov r8, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rcx, qword [rsp + 0x40]
test eax, eax
cmove rcx, rsi
mov rax, rcx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x14005a0f4
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rsi, qword [rsp + 0xc8]
mov r10, r9
mov r9, qword [rsp + 0x98]
mov qword [rax - 0x20], rsi
mov rax, qword [rsp + 0xc0]
mov r11, r8
mov r8, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xb0]
mov r15d, edx
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0xa8]
mov r14, rcx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa0]
mov rdx, r10
mov rcx, r11
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
xor edi, edi
test eax, eax
jne 0x14005a18a
xor eax, eax
jmp 0x14005a20a
mov ebx, 0x101c01
mov ebp, 0x100c43
test r15d, r15d
je 0x14005a1a0
mov ebx, 0x1fffff
mov ebp, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rsi]
mov r15d, 1
mov dword [rsp + 0x30], r15d
mov r9, rsi
mov r8, r14
mov rcx, rax
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x14005a1db
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14005a183
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rsi + 8]
mov dword [rsp + 0x30], r15d
lea r9, [rsi + 8]
mov rcx, rax
mov r8, r14
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebp
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
setne dil
mov eax, edi
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14005c694
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1401f05f0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov rdx, rcx
xor ebx, ebx
or r14, 0xffffffffffffffff
lea rcx, [rbp - 0x48]
mov esi, 7
xor r8d, r8d
mov r9, r14
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], rsi
mov word [rbp - 0x48], bx
call fcn.140005be8
lea r15d, [rsi - 3]
lea r9, [0x1400ca9b0]
lea rcx, [rbp - 0x48]
mov r8d, r15d
xor edx, edx
mov qword [rsp + 0x20], r15
call fcn.14000600c
test eax, eax
jne 0x14005c75e
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
mov r9, r14
mov r8d, r15d
mov qword [rbp - 0x10], rsi
mov qword [rbp - 0x18], rbx
mov word [rbp - 0x28], bx
call fcn.140005be8
cmp qword [rbp - 0x30], 8
jb 0x14005c735
mov rcx, qword [rbp - 0x48]
call fcn.14006bd10
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x38], rbx
mov word [rbp - 0x48], bx
call fcn.14000449c
cmp qword [rbp - 0x10], 8
jb 0x14005c75e
mov rcx, qword [rbp - 0x28]
call fcn.14006bd10
lea rcx, [rbp - 0x48]
call fcn.14005c5c4
test al, al
je 0x14005c772
mov byte [rdi], bl
jmp 0x14005c834
mov rax, r14
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
mov r9, rax
xor r8d, r8d
mov qword [rbp - 0x10], rsi
mov qword [rbp - 0x18], rbx
mov word [rbp - 0x28], bx
call fcn.140005be8
cmp qword [rbp - 0x30], 8
jb 0x14005c7a4
mov rcx, qword [rbp - 0x48]
call fcn.14006bd10
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x38], rbx
mov word [rbp - 0x48], bx
call fcn.14000449c
cmp qword [rbp - 0x10], 8
jb 0x14005c7cd
mov rcx, qword [rbp - 0x28]
call fcn.14006bd10
cmp qword [rbp - 0x30], 8
lea rcx, [rbp - 0x48]
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14005c7ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
add eax, 0xfffffffe
cmp eax, 1
jbe 0x14005c805
cmp ecx, 0x7b
je 0x14005c805
mov ebx, ecx
jmp 0x14005c834
bt eax, 0xa
jb 0x14005c831
mov eax, 0x5c
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x48]
lea r9d, [rax - 0x5b]
mov r8, r14
mov word [rbp - 0x50], ax
call fcn.140007018
cmp rax, 2
jbe 0x14005c76b
jmp 0x14005c775
mov byte [rdi], 1
cmp qword [rbp - 0x30], 8
jb 0x14005c844
mov rcx, qword [rbp - 0x48]
call fcn.14006bd10
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400991d0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005cd7c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x40
mov rbx, r9
lea rax, [r11 - 0x18]
mov r14, r8
mov r9d, 8
mov r8, rbx
mov rsi, rdx
mov qword [r11 - 0x28], rax
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
xor edi, edi
test eax, eax
je 0x14005ce0d
lea rax, [rsp + 0x38]
mov r9, rbx
mov r8, r14
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14005cde8
cmp rbx, qword [rsp + 0x38]
jne 0x14005cde8
mov dil, 1
mov r9d, dword [rsp + 0x30]
lea rax, [rsp + 0x30]
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
neg eax
sbb al, al
and al, dil
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14005ff34
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x218]
sub rsp, 0x318
mov rax, qword [0x1401f05f0]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rax, qword [rbp + 0x2a8]
mov rsi, qword [rbp + 0x2b0]
mov r10, qword [rbp + 0x298]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rax
mov eax, dword [rbp + 0x290]
mov r12, rdx
mov rdx, qword [rbp + 0x2a0]
mov rbx, r9
mov r9, qword [rbp + 0x280]
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r10
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x288]
mov r15, r8
mov r11, rcx
mov r8, rbx
mov rdx, r15
mov rcx, r12
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x68], rsi
call r11
xor edi, edi
test eax, eax
je 0x14005ffd7
lea eax, [rdi + 1]
jmp 0x140060061
call fcn.140048af8
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, rax
call fcn.14004b9c0
test al, al
je 0x14006005f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x18
mov rcx, rsi
lea r8d, [rdx - 0x17]
mov r13d, eax
call fcn.140051d88
test al, al
je 0x140060056
call fcn.140051988
mov rbx, rax
test rax, rax
je 0x140060056
mov rsi, rdi
mov r14, rdi
test r15, r15
je 0x140060037
mov rcx, r15
call fcn.1400516c4
mov rsi, rax
test rax, rax
je 0x140060056
test r12, r12
je 0x140060084
mov rcx, r12
call fcn.1400516c4
mov r14, rax
test rax, rax
jne 0x140060084
xor edx, edx
mov rcx, rsi
call fcn.1400511d4
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400991d0
add rsp, 0x318
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
test rsi, rsi
je 0x140060094
mov rax, qword [rsi + 8]
mov qword [rsp + 0x50], rax
jmp 0x140060099
mov qword [rsp + 0x50], rdi
test r14, r14
je 0x1400600a9
mov rax, qword [r14 + 8]
mov qword [rsp + 0x58], rax
jmp 0x1400600ae
mov qword [rsp + 0x58], rdi
lea rdx, [rbp - 0x10]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rbp - 0x10]
mov rdx, rbx
dec eax
cmp eax, 0x102
cmova rcx, rdi
mov qword [rsp + 0x60], rcx
lea rcx, [rbp - 0x80]
call fcn.140050f6c
xor edx, edx
lea rcx, [rbp - 0x6c]
lea r8d, [rdx + 0x54]
mov dword [rbp - 0x70], edi
call fcn.140099550
mov rax, qword [rsp + 0x68]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x70]
lea r8, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov edx, reloc.WS2_32.dll_listen
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x70], 0x18
call fcn.14005fcd0
xor edx, edx
mov rcx, rsi
mov ebx, eax
call fcn.1400511d4
xor edx, edx
mov rcx, r14
call fcn.1400511d4
test ebx, ebx
jne 0x140060056
mov ecx, dword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [rbp - 0x68], edi
sete dil
mov eax, edi
jmp 0x140060061
Function at 0x14006016c
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x218]
sub rsp, 0x318
mov rax, qword [0x1401f05f0]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rax, qword [rbp + 0x298]
mov r10, qword [rbp + 0x290]
mov r11, qword [rbp + 0x288]
mov r15, qword [rbp + 0x2a0]
mov r14, r9
mov r9, qword [rbp + 0x270]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], rax
mov eax, dword [rbp + 0x280]
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x30], r11
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x278]
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x50], r8
mov r8, r14
mov rdx, rsi
mov rcx, rdi
mov dword [rsp + 0x20], eax
call rbx
xor ebx, ebx
test eax, eax
je 0x14006020f
lea eax, [rbx + 1]
jmp 0x140060305
call fcn.140048af8
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, rax
call fcn.14004b9c0
test al, al
je 0x140060303
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 1
mov rcx, r15
lea r14d, [r8 + 0x17]
mov esi, eax
mov edx, r14d
call fcn.140051d88
test al, al
je 0x1400602fb
call fcn.140051988
mov rdi, rax
test rax, rax
je 0x1400602fb
lea rdx, [rbp - 0x10]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rbp - 0x10]
mov rdx, rdi
dec eax
cmp eax, 0x102
cmova rcx, rbx
mov qword [rsp + 0x58], rcx
lea rcx, [rsp + 0x78]
call fcn.140050f6c
lea r8d, [r14 + 0x3c]
lea rcx, [rbp - 0x6c]
xor edx, edx
mov dword [rbp - 0x70], ebx
call fcn.140099550
lea rax, [rbp - 0x70]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
lea edx, [r14 - 0xb]
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x68], r14d
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x20], rax
call fcn.14005fcd0
test eax, eax
jne 0x1400602fb
mov ecx, dword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [rbp - 0x68], ebx
sete bl
mov eax, ebx
jmp 0x140060305
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400991d0
add rsp, 0x318
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140062b8c
Capabilities:
Terminate process

Disassembly:
cmp r8, 0x10
jne 0x140062cd0
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rax, qword [0x1401f05f0]
xor rax, rsp
mov qword [rbp + 0x17], rax
or qword [rsp + 0x30], 0xffffffffffffffff
mov qword [rsp + 0x38], rdx
mov r13, rcx
xor r12d, r12d
xor ebx, ebx
xor r15d, r15d
call fcn.140064dc8
mov rdi, rax
lea rcx, [rsp + 0x40]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
test eax, eax
je 0x140062c7c
mov eax, dword [rsp + 0x40]
mov esi, 0x10002
dec eax
je 0x140062cd8
dec eax
je 0x140062cd1
dec eax
je 0x140062c59
dec eax
je 0x140062c48
dec eax
je 0x140062c31
dec eax
jne 0x140062d33
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140062d33
mov edx, dword [rsp + 0x48]
mov rcx, rdi
call fcn.140064e34
mov r12d, 1
jmp 0x140062d33
mov edx, dword [rsp + 0x48]
mov rcx, rdi
call fcn.140064e34
jmp 0x140062d33
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, qword [rbp - 0x79]
mov edx, dword [rsp + 0x48]
mov rcx, rdi
call fcn.140064eac
test eax, eax
jne 0x140062d33
mov ebx, 1
mov rcx, rdi
call fcn.140064e14
mov rcx, qword [rsp + 0x30]
cmp rcx, 0xffffffffffffffff
je 0x140062c9a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140062caa
or edx, 0xffffffff
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400991d0
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8, qword [rsp + 0x50]
jmp 0x140062c68
mov edx, dword [rsp + 0x48]
mov rcx, rdi
mov esi, 0x80010001
call fcn.140064e74
cmp rax, 0xffffffffffffffff
je 0x140062c7c
mov r14, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x48]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x38]
mov r9, rax
mov rdx, r13
mov dword [rsp + 0x20], r14d
call fcn.1400627a8
test eax, eax
jne 0x140062d2e
cmp r14d, 0x80000003
jne 0x140062d33
test r15d, r15d
jne 0x140062d33
lea r15d, [rax + 1]
mov esi, 0x10002
mov edx, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x44]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
test eax, eax
je 0x140062c81
test r12d, r12d
jne 0x140062c81
jmp 0x140062bde
Function at 0x140062b96
Capabilities:
Terminate process

Disassembly:
cmp r8, 0x10
jne 0x140062cd0
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rax, qword [0x1401f05f0]
xor rax, rsp
mov qword [rbp + 0x17], rax
or qword [rsp + 0x30], 0xffffffffffffffff
mov qword [rsp + 0x38], rdx
mov r13, rcx
xor r12d, r12d
xor ebx, ebx
xor r15d, r15d
call fcn.140064dc8
mov rdi, rax
lea rcx, [rsp + 0x40]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
test eax, eax
je 0x140062c7c
mov eax, dword [rsp + 0x40]
mov esi, 0x10002
dec eax
je 0x140062cd8
dec eax
je 0x140062cd1
dec eax
je 0x140062c59
dec eax
je 0x140062c48
dec eax
je 0x140062c31
dec eax
jne 0x140062d33
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140062d33
mov edx, dword [rsp + 0x48]
mov rcx, rdi
call fcn.140064e34
mov r12d, 1
jmp 0x140062d33
mov edx, dword [rsp + 0x48]
mov rcx, rdi
call fcn.140064e34
jmp 0x140062d33
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8, qword [rbp - 0x79]
mov edx, dword [rsp + 0x48]
mov rcx, rdi
call fcn.140064eac
test eax, eax
jne 0x140062d33
mov ebx, 1
mov rcx, rdi
call fcn.140064e14
mov rcx, qword [rsp + 0x30]
cmp rcx, 0xffffffffffffffff
je 0x140062c9a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140062caa
or edx, 0xffffffff
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400991d0
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8, qword [rsp + 0x50]
jmp 0x140062c68
mov edx, dword [rsp + 0x48]
mov rcx, rdi
mov esi, 0x80010001
call fcn.140064e74
cmp rax, 0xffffffffffffffff
je 0x140062c7c
mov r14, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x48]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x38]
mov r9, rax
mov rdx, r13
mov dword [rsp + 0x20], r14d
call fcn.1400627a8
test eax, eax
jne 0x140062d2e
cmp r14d, 0x80000003
jne 0x140062d33
test r15d, r15d
jne 0x140062d33
lea r15d, [rax + 1]
mov esi, 0x10002
mov edx, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x44]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ContinueDebugEvent]
test eax, eax
je 0x140062c81
test r12d, r12d
jne 0x140062c81
jmp 0x140062bde
Function at 0x140062d5c
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov eax, dword [r9 + 0x2ac]
mov r14, rdx
lea rdx, [r8 + 0x2ac]
mov rsi, r9
inc eax
mov edi, 4
lea r8, [rsp + 0x70]
mov r9d, edi
mov rbp, rcx
mov dword [rsp + 0x70], eax
call fcn.140062e50
xor ebx, ebx
test eax, eax
jne 0x140062daa
xor eax, eax
jmp 0x140062e3a
mov rdx, qword [rsp + 0x80]
lea r8, [rsp + 0x88]
mov r9, rdi
add rdx, 0x100
mov rcx, rbp
call fcn.140062e50
test eax, eax
je 0x140062da3
cmp qword [rsi + 0x2b0], 0xffffffffffffffff
je 0x140062da3
mov rdi, qword [rsp + 0x90]
cmp qword [rdi], 0xffffffffffffffff
jne 0x140062e18
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rsi + 0x2b0]
mov dword [rsp + 0x30], 2
mov r8, rax
mov r9, rdi
mov rcx, rbp
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x140062da3
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x140062da3
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x140063318
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rsi
sub rsp, 0x30
xor esi, esi
cmp dword [0x1401f469c], esi
jne 0x140063352
lea rax, str.g_initialized
lea r9d, [rsi + 0x52]
lea r8, str.c:core_no_admin_src_native_client_src_trusted_service_runtime_sel_main_chrome.c
lea rdx, str.Fatal_error_in_file__s__line__d:____s__n
lea ecx, [rsi - 4]
mov qword [rsp + 0x20], rax
call fcn.14007a9a0
mov ecx, 0x78
call fcn.14009ea04
mov rbx, rax
test rax, rax
je 0x1400633c8
or rax, 0xffffffffffffffff
lea rcx, str.NACL_DANGEROUS_SKIP_QUALIFICATION_TEST
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov dword [rbx + 0x20], esi
mov qword [rbx + 0x24], 1
mov qword [rbx], rax
mov dword [rbx + 8], eax
call fcn.14009f438
test rax, rax
lea rax, str.NaClMain
mov ecx, esi
setne cl
mov qword [rbx + 0x70], rax
mov dword [rbx + 0x30], esi
mov rax, rbx
mov qword [rbx + 0x38], rsi
mov qword [rbx + 0x40], rsi
mov dword [rbx + 0x2c], ecx
mov qword [rbx + 0x48], rsi
mov qword [rbx + 0x50], rsi
mov qword [rbx + 0x58], rsi
mov qword [rbx + 0x60], rsi
mov dword [rbx + 0x68], 1
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rsi
ret