joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b9560
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x1401b1f80]
test rax, rax
jne 0x1400b95a4
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x1401b1f80]
test rax, rax
je 0x1400b9591
cmp eax, 2
jne 0x1400b95f2
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400b968a
lea rdx, str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0x84
mov r9d, 2
call fcn.14002c620
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x1400b967d
mov eax, 1
lock xadd qword [0x1401b1fb8], rax
test rax, rax
jle 0x1400b9612
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1401b1f38], eax
mov qword [0x1401b1f30], rsi
mov rcx, qword [0x1401ac8c8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400b968a
lea rdx, str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0xb0
mov r9d, 2
call fcn.14002c620
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
call fcn.140001e21
mov rcx, rsi
call fcn.14002cae0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14012cde0
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
Function at 0x1400b9ed8
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x198], rax
lea rbx, [rcx + 2]
test byte [rcx], 1
mov rcx, rbx
je 0x1400b9f07
mov rcx, qword [rsi + 0x10]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x1400ba00d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400b9f49
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14012cde0
mov rcx, rsi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
jmp fcn.1400ba02a
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400ba00b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x244
mov r9d, 2
call fcn.14002d550
lea rcx, [rsp + 0x60]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.140001e21
movzx edx, byte [rsi]
mov rcx, rdx
shr rcx, 1
test dl, 1
cmovne rbx, qword [rsi + 0x10]
mov rdi, rax
lea rdx, [rsp + 0x28]
mov qword [rdx], rbx
cmovne rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.140039950
movzx r8d, byte [rsi]
test r8b, 1
je 0x1400b9fe0
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
jmp 0x1400b9fe8
shr r8, 1
lea rdx, [rsp + 0x39]
mov rcx, rdi
call fcn.140001e21
test byte [rsp + 0x38], 1
je 0x1400ba001
mov rcx, qword [rsp + 0x48]
call fcn.14012c9c4
lea rcx, [rsp + 0x50]
call fcn.14002d640
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14012cde0
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400ba02a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov rsi, rcx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
lea rbx, [rcx + 2]
test byte [rcx], 1
mov rcx, rbx
je 0x1400ba059
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400ba108
mov dil, 1
test al, 0x10
jne 0x1400ba20e
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400ba20c
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x60]
mov r8d, 0x232
mov r9d, 2
call fcn.14002c620
lea rcx, [rsp + 0x70]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140001e21
movzx edx, byte [rsi]
mov rcx, rdx
shr rcx, 1
test dl, 1
cmovne rbx, qword [rsi + 0x10]
mov rdi, rax
lea rdx, [rsp + 0x28]
mov qword [rdx], rbx
cmovne rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.140039950
movzx r8d, byte [rsi]
test r8b, 1
je 0x1400ba1cc
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
jmp 0x1400ba1d4
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400ba20c
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x60]
mov r8d, 0x22e
mov r9d, 2
call fcn.14002d550
lea rcx, [rsp + 0x70]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140001e21
movzx edx, byte [rsi]
mov rcx, rdx
shr rcx, 1
test dl, 1
cmovne rbx, qword [rsi + 0x10]
mov rdi, rax
lea rdx, [rsp + 0x38]
mov qword [rdx], rbx
cmovne rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.140039950
movzx r8d, byte [rsi]
test r8b, 1
je 0x1400ba19f
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
jmp 0x1400ba1a7
shr r8, 1
lea rdx, [rsp + 0x49]
mov rcx, rdi
call fcn.140001e21
test byte [rsp + 0x48], 1
je 0x1400ba1c0
mov rcx, qword [rsp + 0x58]
call fcn.14012c9c4
lea rcx, [rsp + 0x60]
call fcn.14002d640
jmp 0x1400ba20c
shr r8, 1
lea rdx, [rsp + 0x49]
mov rcx, rdi
call fcn.140001e21
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.140001e21
test byte [rsp + 0x48], 1
je 0x1400ba202
mov rcx, qword [rsp + 0x58]
call fcn.14012c9c4
lea rcx, [rsp + 0x60]
call fcn.14002cae0
xor edi, edi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.14012cde0
mov eax, edi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400bc7ba
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
mov eax, dword [rcx + 0x68]
cmp eax, edx
jne 0x1400bc7d1
test byte [rcx + 0x10], 1
je 0x1400bc7e0
mov rcx, qword [rcx + 0x20]
jmp 0x1400bc7e4
xor ecx, ecx
cmp eax, 1
sete cl
lea eax, [rcx + rcx*2]
inc eax
jmp 0x1400bc7fd
add rcx, 0x12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov eax, 1
cmovne eax, ecx
add rsp, 0x28
ret
Function at 0x1400c7c81
Capabilities:
Allocate or change rwx memory

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rsi, r9
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea r12, [rsp + 0x34]
mov dword [r12], 0xaaaaaaaa
mov qword [rsp + 0x20], r12
mov r8, r9
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1400c7d2f
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbp, [rsp + 0x28]
mov qword [rbp], rax
mov qword [rsp + 0x20], rbp
mov rcx, rbx
mov rdx, rdi
mov r8, r14
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r14d, eax
mov r15, qword [rbp]
mov r9d, dword [rsp + 0x34]
mov qword [rsp + 0x20], r12
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1400c7d2f
test r14d, r14d
setne al
cmp r15, rsi
sete sil
and sil, al
jmp 0x1400c7d31
xor esi, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14012cde0
mov eax, esi
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x1400cbe7c
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
call fcn.1400cbbb0
test al, al
je 0x1400cbeaa
mov rcx, qword [rsi]
mov edx, 0x32
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsi]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rdi, [rsi + 0x38]
mov rcx, rdi
xor edx, edx
call fcn.1400cbf14
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x1400cbeca
mov qword [rsi + 0x60], rcx
call fcn.14012c9c4
mov rcx, qword [rsi + 0x50]
mov qword [rsi + 0x50], 0
test rcx, rcx
je 0x1400cbee0
call fcn.1401457b0
mov rcx, rdi
xor edx, edx
call fcn.1400cbf14
lea rcx, [rsi + 0x28]
call fcn.140005b88
lea rcx, [rsi + 0x20]
call fcn.140005b88
lea rcx, [rsi + 0x18]
call fcn.140005b88
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400cba90
Function at 0x1400cc66a
Capabilities:
Terminate process

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.1400cbbb0
test al, al
je 0x1400cc68c
mov rcx, qword [rsi]
xor edx, edx
add rsp, 0x20
pop rsi
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x20
pop rsi
ret

Function at 0x1400cf920
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x1401b22f8]
mov ecx, dword [0x1401af720]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400cf95d
lea rcx, [0x1401b22f0]
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.14005bb60
lea rcx, [0x1401b22f8]
call fcn.14012cb70
cmp dword [0x1401b22f8], 0xffffffff
jne 0x1400cf949
mov qword [0x1401b22f0], 0
lea rcx, [0x1401b22f0]
xor edx, edx
call fcn.14005bbb0
lea rcx, [0x1401b22f8]
call fcn.14012cc08
jmp 0x1400cf949

Function at 0x1400cf9a0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401b22f8]
mov ecx, dword [0x1401af720]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400cf9d5
lea rcx, [0x1401b22f0]
add rsp, 0x28
jmp fcn.14005bb20
lea rcx, [0x1401b22f8]
call fcn.14012cb70
cmp dword [0x1401b22f8], 0xffffffff
jne 0x1400cf9c5
mov qword [0x1401b22f0], 0
lea rcx, [0x1401b22f0]
xor edx, edx
call fcn.14005bbb0
lea rcx, [0x1401b22f8]
call fcn.14012cc08
jmp 0x1400cf9c5

Function at 0x1400cfa20
Capabilities:
Allocate or change rwx memory

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov ebp, 0x57
test rcx, rcx
je 0x1400cfaf0
mov rdi, rdx
test rdx, rdx
je 0x1400cfaf0
mov ebx, r8d
test r8d, r8d
je 0x1400cfaf0
mov rsi, rcx
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x2c], 0
lea rdx, [rsp + 0x30]
mov r8d, 0x30
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400cfae8
test byte [rsp + 0x54], 0xf0
mov eax, 4
mov r8d, 0x40
cmove r8d, eax
movsxd rbx, ebx
lea r9, [rsp + 0x2c]
mov rcx, rsi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400cfae8
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
call fcn.14012f890
mov r8d, dword [rsp + 0x2c]
lea r9, [rsp + 0x2c]
mov rcx, rsi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor ebp, ebp
jmp 0x1400cfaf0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14012cde0
mov eax, ebp
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x1400d1690
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, qword [rcx + 8]
jmp 0x1400d16a7
mov rsi, qword [rsi + 0x218]
test rsi, rsi
je 0x1400d16db
xor edi, edi
xchg qword [rsi], rdi
test rdi, rdi
je 0x1400d16a0
nop word cs:[rax + rax]
bsf rcx, rdi
mov ebx, 1
shl rbx, cl
mov rcx, qword [rsi + rcx*8 + 0x10]
call qword [rcx + 8]
xor rdi, rbx
jne 0x1400d16c0
jmp 0x1400d16a0
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400daa8f
Capabilities:
Check os version
Create pipe

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x58], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x40], xmm0
test dl, dl
je 0x1400dab06
call qword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xfe
cmp eax, 6
jb 0x1400dab06
xorps xmm0, xmm0
lea rdi, [rsp + 0x40]
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov dword [rdi], 0x18
xor ecx, ecx
call fcn.1400dab6a
mov qword [rdi + 8], rax
mov dword [rdi + 0x10], 1
jmp 0x1400dab08
xor edi, edi
movzx edx, bl
shl edx, 0x13
or edx, 3
test byte [rsi], 1
je 0x1400dab1c
mov rsi, qword [rsi + 0x10]
jmp 0x1400dab20
add rsi, 2
mov qword [rsp + 0x38], rdi
mov eax, 0x200
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 0
mov rcx, rsi
mov r8d, 6
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rsi, rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14012cde0
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400daf28
Capabilities:
Check os version

Disassembly:
push rsi
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x178], rax
call qword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
and ecx, 0xfe
cmp ecx, 6
jb 0x1400db001
and eax, 0xfeff
cmp eax, 6
je 0x1400db001
mov eax, dword [0x1401b23c0]
mov ecx, dword [0x1401af720]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400db028
mov rcx, rsi
xor edx, edx
mov r8d, 0x10000000
call qword [0x1401b23b8]
mov sil, 1
test eax, eax
jne 0x1400db00d
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400daffd
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_critical_section_with_debug_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x21
mov r9d, 2
call fcn.14002d550
lea rcx, [rsp + 0x40]
lea rdx, str.InitializeCriticalSectionEx
mov r8d, 0x1b
call fcn.140001e21
mov rcx, rsi
call fcn.14002d640
xor esi, esi
jmp 0x1400db00d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov sil, 1
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14012cde0
mov eax, esi
add rsp, 0x180
pop rsi
ret
lea rcx, [0x1401b23c0]
call fcn.14012cb70
cmp dword [0x1401b23c0], 0xffffffff
jne 0x1400daf8f
lea rcx, [0x140164f44]
lea rdx, str.::InitializeCriticalSectionEx
mov r8b, 1
call fcn.1400db218
mov qword [0x1401b23b8], rax
lea rcx, [0x1401b23c0]
call fcn.14012cc08
jmp 0x1400daf8f
Function at 0x1400dbdd2
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x190
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x1401b23d0]
mov ecx, dword [0x1401af720]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400dc04b
mov rax, qword [0x1401b23c8]
test rax, rax
je 0x1400dbeb9
lea rdx, [rsp + 0x184]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call rax
test eax, eax
je 0x1400dbe63
cmp dword [rsp + 0x184], 0
setne byte [rsi + 0x81]
je 0x1400dbec0
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x1400dbef5
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400dbeb9
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x4b
mov r9d, 2
call fcn.14002d550
lea rcx, [rsp + 0x40]
lea rdx, [0x14016cd46]
mov r8d, 0xe
call fcn.140001e21
mov rcx, rbx
call fcn.14002d640
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [section..rdata]
lea rbx, [rsp + 0x30]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rbx], 9
sete byte [rsi + 0x80]
cmp byte [rsi + 0x81], 0
setne dl
lea rax, [rsi + 0x30]
lea r9, [rsi + 0x28]
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov r8, rsi
call fcn.1400dc092
test al, al
je 0x1400dbf2b
cmp byte [rsi + 0x80], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
je 0x1400dbf74
call fcn.1400dc2c3
jmp 0x1400dbf79
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400dc02c
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x21e
mov r9d, 2
call fcn.14002c620
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
jmp 0x1400dc01f
call fcn.1400dc8ec
test al, al
je 0x1400dbfdf
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.1400db260
mov sil, 1
test al, al
jne 0x1400dc02e
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400dc02c
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22c
mov r9d, 2
call fcn.14002c620
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x1400dc01f
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400dc02c
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x227
mov r9d, 2
call fcn.14002c620
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
call fcn.140001e21
mov rcx, rsi
call fcn.14002cae0
xor esi, esi
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.14012cde0
mov eax, esi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401b23d0]
call fcn.14012cb70
cmp dword [0x1401b23d0], 0xffffffff
jne 0x1400dbe1d
lea rcx, [0x140164f44]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.1400db218
mov qword [0x1401b23c8], rax
lea rcx, [0x1401b23d0]
call fcn.14012cc08
jmp 0x1400dbe1d
Function at 0x1400de9c0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 0xffffffff
cmp r8, rax
mov ebx, 0xffffffff
cmovb ebx, r8d
lea r9, [rsp + 0x3c]
mov dword [r9], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400deacc
lea r14, str.bytes_read___static_cast_DWORD___1_
lea r15, [rsp + 0x30]
mov r13, qword [sym.imp.KERNEL32.dll_GetFileType]
mov r12, qword [sym.imp.KERNEL32.dll_ReadFile]
lea rbp, [rsp + 0x28]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x30], rax
mov edx, dword [rsp + 0x3c]
mov rcx, r15
mov r8d, 0xffffffff
mov r9, r14
call fcn.1400de972
cmp qword [rsp + 0x30], 0
je 0x1400dea8f
mov rcx, rbp
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
mov r8d, 0x7e
mov r9, r15
call fcn.140024f10
mov rcx, rbp
call fcn.140024ee0
mov rcx, rbp
call fcn.140024ef0
mov eax, dword [rsp + 0x3c]
test eax, eax
jne 0x1400deae4
mov rcx, rdi
call r13
cmp eax, 3
jne 0x1400deae0
mov dword [rsp + 0x3c], 0xaaaaaaaa
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rsi
mov r8d, ebx
lea r9, [rsp + 0x3c]
call r12
test eax, eax
jne 0x1400dea3b
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x1400deae6
mov eax, dword [rsp + 0x3c]
mov esi, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14012cde0
mov rax, rsi
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400df161
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rdi, rcx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor esi, esi
xor edx, edx
xor r8d, r8d
call fcn.1400df090
test rax, rax
jne 0x1400df1f8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
jne 0x1400df1f8
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400df1f6
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_file_io_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xf4
mov r9d, 2
call fcn.14002d550
lea rcx, [rsp + 0x38]
lea rdx, [0x14017777d]
mov r8d, 0xc
call fcn.140001e21
mov rcx, rsi
call fcn.14002d640
xor esi, esi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14012cde0
mov eax, esi
add rsp, 0x178
pop rdi
pop rsi
ret
Function at 0x1400e8f48
Capabilities:
Create thread

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400e8ff0]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 8], rax
test rax, rax
jne 0x1400e8fd3
lea rdx, str..._.._third_party_crashpad_crashpad_util_thread_thread_win.cc
lea r9, str.platform_thread_
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x1b
call fcn.140024fa0
mov rcx, rsi
call fcn.140024ee0
lea rdx, [0x140172bbe]
mov r8d, 0xc
mov rcx, rax
call fcn.140001e21
mov rcx, rsi
call fcn.140024ef0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14012cde0
nop
add rsp, 0x40
pop rsi
ret

Function at 0x1400ecc62
Capabilities:
Create pipe

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r14, qword [rsp + 0xc8]
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [r14], 0xffffffffffffffff
mov esi, 5
cmp ecx, 3
jne 0x1400ecd5d
mov edi, dword [rsp + 0xc0]
mov ebx, dword [rsp + 0xb8]
mov ecx, dword [rsp + 0xb0]
mov r10d, dword [rsp + 0xa8]
mov eax, dword [rsp + 0xa0]
test byte [r8], 1
je 0x1400eccc9
mov r8, qword [r8 + 0x10]
jmp 0x1400ecccd
add r8, 2
mov rsi, qword [rdx]
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ecx
mov qword [rsp + 0x38], 0
mov rcx, r8
mov edx, r9d
mov r8d, eax
mov r9d, r10d
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
cmp rax, 0xffffffffffffffff
je 0x1400ecd47
mov rdi, rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x40]
mov qword [r15], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ebx, ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x30], 3
mov rcx, rax
mov rdx, rdi
mov r8, rsi
mov r9, r15
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp eax, 1
sbb rbx, rbx
or rbx, qword [r15]
jmp 0x1400ecd4e
mov rbx, 0xffffffffffffffff
mov qword [r14], rbx
xor eax, eax
cmp rbx, 0xffffffffffffffff
sete al
lea esi, [rax + rax*4]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14012cde0
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400ed17a
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov r13d, ecx
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea eax, [r13 - 5]
mov ebp, 5
cmp eax, 1
ja 0x1400ed33f
mov rbx, r8
mov r15, rdx
mov rbp, qword [rsp + 0x130]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
xor r12d, r12d
mov qword [rsp + 0xb0], r12
mov dword [rsp + 0x50], 0x68
test byte [r9], 1
je 0x1400ed20b
mov r9, qword [r9 + 0x10]
jmp 0x1400ed20f
add r9, 2
mov rcx, r9
call fcn.1401423c8
mov r14, rax
movzx eax, byte [rbp]
test al, 1
je 0x1400ed22c
mov rax, qword [rbp + 8]
mov rbp, qword [rbp + 0x10]
jmp 0x1400ed233
add rbp, 2
shr rax, 1
mov rsi, qword [rsp + 0x138]
test rax, rax
cmove rbp, rax
test byte [rbx], 1
je 0x1400ed24d
mov rbx, qword [rbx + 0x10]
jmp 0x1400ed251
add rbx, 2
mov r15, qword [r15]
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebp, 5
test eax, eax
je 0x1400ed332
cmp r13d, 6
mov r12d, 0x1fffff
mov edi, 0x101c01
cmove edi, r12d
mov rbx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
mov rcx, rax
mov rdx, rbx
mov r8, r15
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rbx, qword [rsi + 8]
test eax, eax
je 0x1400ed329
add rsi, 8
cmp r13d, 6
mov edi, 0x100c43
cmove edi, r12d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
mov rcx, rax
mov rdx, rbx
mov r8, r15
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea ebp, [rcx + rcx*4]
jmp 0x1400ed332
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14, r14
je 0x1400ed33f
mov rcx, r14
call fcn.1401457b0
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14012cde0
mov eax, ebp
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret