joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400952a0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400952b9
mov dword [rsi], eax
mov al, 1
jmp 0x1400952bb
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x1400990b0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401a37c8]
mov ecx, dword [0x1401a1580]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400990e5
lea rcx, [0x1401a37c0]
add rsp, 0x28
jmp fcn.14005c6a0
lea rcx, [0x1401a37c8]
call fcn.140120570
cmp dword [0x1401a37c8], 0xffffffff
jne 0x1400990d5
mov qword [0x1401a37c0], 0
lea rcx, [0x1401a37c0]
xor edx, edx
call fcn.14005c730
lea rcx, [0x1401a37c8]
call fcn.140120608
jmp 0x1400990d5

Function at 0x14009a2c4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
test r8, r8
je 0x14009a3dd
mov rdi, rcx
mov rax, qword [rcx + 8]
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx + 0x84], 0
je 0x14009a3dd
cmp word [rax + rcx + 0x14], 0x78
jb 0x14009a3dd
mov r14, r8
mov r12, rdx
mov edx, dword [rax + rcx + 0x88]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
test rax, rax
je 0x14009a3dd
cmp r12, 0xffff
ja 0x14009a333
mov word [r14], r12w
jmp 0x14009a416
mov rsi, rax
mov edx, dword [rax + 0x20]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov edx, dword [rsi + 0x18]
lea rcx, [rdx*4]
test rcx, rcx
je 0x14009a3dd
mov qword [rsp + 0x30], rsi
lea rbx, [rax + rdx*4]
lea r13, [r12 + 1]
mov qword [rsp + 0x28], rax
mov rbp, rax
mov rax, rbx
sub rax, rbp
mov rcx, rax
sar rcx, 2
shr rax, 0x3f
add rax, rcx
and rax, 0xfffffffffffffffe
lea r15, [rax*2]
add r15, rbp
mov edx, dword [r15]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov cl, byte [r12]
test cl, cl
je 0x14009a3b6
mov rdx, r13
cmp cl, byte [rax]
jne 0x14009a3b8
inc rax
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x14009a3a6
xor ecx, ecx
movzx ecx, cl
movzx eax, byte [rax]
mov edx, ecx
sub edx, eax
lea rsi, [r15 + 4]
test edx, edx
cmovg rbp, rsi
cmp ecx, eax
cmovs rbx, r15
je 0x14009a3f0
xor eax, eax
cmp rbp, rbx
jne 0x14009a36c
jmp 0x14009a3df
xor eax, eax
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rsi, qword [rsp + 0x30]
mov edx, dword [rsi + 0x24]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
sub r15, qword [rsp + 0x28]
sar r15, 1
movzx eax, word [rax + r15]
add ax, word [rsi + 0x10]
mov word [r14], ax
mov al, 1
jmp 0x14009a3df

Function at 0x14009a842
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rcx + 8]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14009a879
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14009a879
movzx edx, word [rax + rcx + 0x14]
cmp edx, 0xf0
jne 0x14009a879
movzx eax, word [rax + rcx + 0x18]
cmp eax, 0x20b
sete al
ret
xor eax, eax
ret
Function at 0x1400af8c0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x1401a3d08]
test rax, rax
jne 0x1400af904
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x1401a3d08]
test rax, rax
je 0x1400af8f1
cmp eax, 2
jne 0x1400af952
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400af9ea
lea rdx, str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x84
mov r9d, 2
call fcn.140030390
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x1400af9dd
mov eax, 1
lock xadd qword [0x1401a3d40], rax
test rax, rax
jle 0x1400af972
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1401a3cc0], eax
mov qword [0x1401a3cb8], rsi
mov rcx, qword [0x14019e8b0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400af9ea
lea rdx, str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xb0
mov r9d, 2
call fcn.140030390
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
call fcn.140001c63
mov rcx, rsi
call fcn.14002f710
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.1401207e0
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
Function at 0x1400b0248
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x190], rax
lea rbx, [rcx + 2]
test byte [rcx], 1
mov rcx, rbx
je 0x1400b0278
mov rcx, qword [rsi + 0x10]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x1400b0381
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400b02bb
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401207e0
mov rcx, rsi
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.1400b039f
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400b037f
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.140030be0
lea rcx, [rsp + 0x60]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.140001c63
movzx edx, byte [rsi]
mov rcx, rdx
shr rcx, 1
mov bpl, 1
test dl, bpl
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.14003af00
movzx r8d, byte [rsi]
test r8b, bpl
je 0x1400b0354
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
jmp 0x1400b035c
shr r8, 1
lea rdx, [rsp + 0x39]
mov rcx, rdi
call fcn.140001c63
test byte [rsp + 0x38], bpl
je 0x1400b0375
mov rcx, qword [rsp + 0x48]
call fcn.1401203c4
lea rcx, [rsp + 0x50]
call fcn.140030cb0
xor edi, edi
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.1401207e0
mov eax, edi
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x1400b039f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1a8
mov rsi, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
lea rbx, [rcx + 2]
test byte [rcx], 1
mov rcx, rbx
je 0x1400b03cf
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400b0480
mov dil, 1
test al, 0x10
jne 0x1400b0588
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400b0586
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.140030390
lea rcx, [rsp + 0x68]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140001c63
movzx edx, byte [rsi]
mov rcx, rdx
shr rcx, 1
mov bpl, 1
test dl, bpl
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.14003af00
movzx r8d, byte [rsi]
test r8b, bpl
je 0x1400b0546
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
jmp 0x1400b054e
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400b0586
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.140030be0
lea rcx, [rsp + 0x70]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.140001c63
movzx edx, byte [rsi]
mov rcx, rdx
shr rcx, 1
mov bpl, 1
test dl, bpl
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.14003af00
movzx r8d, byte [rsi]
test r8b, bpl
je 0x1400b0519
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
jmp 0x1400b0521
shr r8, 1
lea rdx, [rsp + 0x49]
mov rcx, rdi
call fcn.140001c63
test byte [rsp + 0x48], bpl
je 0x1400b053a
mov rcx, qword [rsp + 0x58]
call fcn.1401203c4
lea rcx, [rsp + 0x60]
call fcn.140030cb0
jmp 0x1400b0586
shr r8, 1
lea rdx, [rsp + 0x49]
mov rcx, rdi
call fcn.140001c63
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.140001c63
test byte [rsp + 0x48], bpl
je 0x1400b057c
mov rcx, qword [rsp + 0x58]
call fcn.1401203c4
lea rcx, [rsp + 0x60]
call fcn.14002f710
xor edi, edi
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1401207e0
mov eax, edi
add rsp, 0x1a8
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x1400b2ba0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
mov eax, dword [rcx + 0x68]
cmp eax, edx
jne 0x1400b2bb7
test byte [rcx + 0x10], 1
je 0x1400b2bc6
mov rcx, qword [rcx + 0x20]
jmp 0x1400b2bca
xor ecx, ecx
cmp eax, 1
sete cl
lea eax, [rcx + rcx*2]
inc eax
jmp 0x1400b2be3
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 0x1400bab50
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x40]
call fcn.14003a9a0
test byte [rsp + 0x50], 1
je 0x1400bab94
mov rcx, qword [rsp + 0x60]
jmp 0x1400bab99
lea rcx, [rsp + 0x52]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebp, eax
test byte [rsp + 0x50], 1
je 0x1400babb7
mov rcx, qword [rsp + 0x60]
call fcn.1401203c4
test ebp, ebp
je 0x1400babf9
mov r14b, 1
test rsi, rsi
je 0x1400bac9d
mov ecx, ebp
add rcx, rcx
call fcn.1401203fc
mov rbx, rax
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x30]
call fcn.14003a9a0
test byte [rsp + 0x50], 1
je 0x1400bac01
mov rcx, qword [rsp + 0x60]
jmp 0x1400bac06
xor r14d, r14d
jmp 0x1400bac9d
lea rcx, [rsp + 0x52]
mov rdx, rbx
mov r8d, ebp
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test byte [rsp + 0x50], 1
je 0x1400bac23
mov rcx, qword [rsp + 0x60]
call fcn.1401203c4
mov qword [rsp + 0x20], rbx
cmp word [rbx], 0
je 0x1400bac3e
xor eax, eax
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x1400bac30
jmp 0x1400bac40
xor eax, eax
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x20]
call fcn.14003af30
test byte [rsi], 1
jne 0x1400bac60
mov word [rsi], 0
jmp 0x1400bac84
mov rax, qword [rsi + 0x10]
mov byte [rax], 0
mov qword [rsi + 8], 0
test byte [rsi], 1
je 0x1400bac84
mov rcx, qword [rsi + 0x10]
call fcn.1401203c4
mov qword [rsi], 0
mov rax, qword [rsp + 0x60]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.140120404
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401207e0
mov eax, r14d
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x1400bb420
Capabilities:
Compare security identifiers

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x90], rax
cmp byte [rcx + 0x54], 0
je 0x1400bb5a9
mov rsi, rdx
mov rbx, rcx
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x38]
mov qword [rdi], rax
lea rdx, [rcx + 0x48]
mov rcx, rdi
mov r8d, 2
call fcn.1400bb5e3
mov r13, qword [rdi]
test r13, r13
je 0x1400bb5b0
mov qword [rsp + 0x28], rbx
cmp dword [r13], 0
je 0x1400bb594
lea r14, [r13 + 8]
mov rax, qword [rsp + 0x28]
add rax, 0x30
mov qword [rsp + 0x30], rax
xor r12d, r12d
mov rbx, qword [sym.imp.ADVAPI32.dll_EqualSid]
mov rbp, r12
shl rbp, 4
test dword [r14 + rbp + 8], 0xc0000020
jne 0x1400bb584
add rbp, r14
test rsi, rsi
je 0x1400bb536
mov rax, qword [rsi]
cmp qword [rsi + 8], rax
je 0x1400bb536
mov r15d, 1
xor ecx, ecx
mov rdi, qword [rbp]
mov rdx, rcx
shl rdx, 6
lea rcx, [rdx + rcx*4]
add rcx, rax
call fcn.14000aa40
mov rcx, rax
mov rdx, rdi
call rbx
test eax, eax
jne 0x1400bb584
mov ecx, r15d
mov rax, qword [rsi]
mov rdx, qword [rsi + 8]
sub rdx, rax
sar rdx, 2
movabs rdi, 0xf0f0f0f0f0f0f0f1
imul rdx, rdi
inc r15d
cmp rdx, rcx
ja 0x1400bb4ec
mov r15, rbx
mov rdx, qword [rbp]
lea rbx, [rsp + 0x48]
mov rcx, rbx
call fcn.1400bbd8c
mov rbp, qword [rsp + 0x28]
mov rdi, qword [rbp + 0x38]
cmp rdi, qword [rbp + 0x40]
jae 0x1400bb574
mov r8d, 0x44
mov rcx, rdi
mov rdx, rbx
call fcn.140123290
add rdi, 0x44
mov qword [rbp + 0x38], rdi
jmp 0x1400bb581
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call fcn.14009225a
mov rbx, r15
inc r12
mov eax, dword [r13]
cmp r12, rax
jb 0x1400bb4bd
mov qword [rsp + 0x38], 0
mov rcx, r13
call fcn.140120404
xor esi, esi
jmp 0x1400bb5bd
mov esi, 0x3f0
jmp 0x1400bb5bd
mov esi, dword [rsp + 0x44]
mov qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401207e0
mov eax, esi
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400bd79d
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 [0x14019e638]
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 0x1400bd84b
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 0x1400bd84b
test r14d, r14d
setne al
cmp r15, rsi
sete sil
and sil, al
jmp 0x1400bd84d
xor esi, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401207e0
mov eax, esi
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x1400c1540
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
call fcn.14009cf00
test al, al
je 0x1400c156e
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.1400c15d6
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x1400c158e
mov qword [rsi + 0x60], rcx
call fcn.1401203c4
mov rcx, qword [rsi + 0x50]
xor eax, eax
mov qword [rsi + 0x50], rax
test rcx, rcx
je 0x1400c15a2
call fcn.14013b290
mov rcx, rdi
xor edx, edx
call fcn.1400c15d6
lea rcx, [rsi + 0x28]
call fcn.140002000
lea rcx, [rsi + 0x20]
call fcn.140002000
lea rcx, [rsi + 0x18]
call fcn.140002000
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14009cde0
Function at 0x1400c1d2e
Capabilities:
Terminate process

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.14009cf00
test al, al
je 0x1400c1d50
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 0x1400ca680
Capabilities:
Allocate or change rwx memory

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov ebp, 0x57
test rcx, rcx
je 0x1400ca750
mov rdi, rdx
test rdx, rdx
je 0x1400ca750
mov ebx, r8d
test r8d, r8d
je 0x1400ca750
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 0x1400ca748
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 0x1400ca748
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
call fcn.140123290
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 0x1400ca750
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401207e0
mov eax, ebp
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x1400ca860
Capabilities:
Check if file exists
Get file attributes

Disassembly:
movzx eax, byte [rcx]
test al, 1
jne 0x1400ca874
shr rax, 1
test rax, rax
je 0x1400ca87d
jmp fcn.140046760
mov rax, qword [rcx + 8]
test rax, rax
jne 0x1400ca86f
xor eax, eax
ret
Function at 0x1400cc835
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 [0x14019e638]
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 0x1400cc8ac
call qword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xfe
cmp eax, 6
jb 0x1400cc8ac
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.1400cc910
mov qword [rdi + 8], rax
mov dword [rdi + 0x10], 1
jmp 0x1400cc8ae
xor edi, edi
movzx edx, bl
shl edx, 0x13
or edx, 3
test byte [rsi], 1
je 0x1400cc8c2
mov rsi, qword [rsi + 0x10]
jmp 0x1400cc8c6
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.1401207e0
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400cccd8
Capabilities:
Check os version

Disassembly:
push rsi
sub rsp, 0x170
mov rsi, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x168], rax
call qword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
and ecx, 0xfe
cmp ecx, 6
jb 0x1400ccdb1
and eax, 0xfeff
cmp eax, 6
je 0x1400ccdb1
mov eax, dword [0x1401a4090]
mov ecx, dword [0x1401a1580]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400ccdd8
mov rcx, rsi
xor edx, edx
mov r8d, 0x10000000
call qword [0x1401a4088]
mov sil, 1
test eax, eax
jne 0x1400ccdbd
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400ccdad
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 + 0x28]
mov rcx, rsi
mov r8d, 0x21
mov r9d, 2
call fcn.140030be0
lea rcx, [rsp + 0x38]
lea rdx, str.InitializeCriticalSectionEx
mov r8d, 0x1b
call fcn.140001c63
mov rcx, rsi
call fcn.140030cb0
xor esi, esi
jmp 0x1400ccdbd
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov sil, 1
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.1401207e0
mov eax, esi
add rsp, 0x170
pop rsi
ret
lea rcx, [0x1401a4090]
call fcn.140120570
cmp dword [0x1401a4090], 0xffffffff
jne 0x1400ccd3f
lea rcx, [0x14015a158]
lea rdx, str.::InitializeCriticalSectionEx
mov r8b, 1
call fcn.1400ccfb4
mov qword [0x1401a4088], rax
lea rcx, [0x1401a4090]
call fcn.140120608
jmp 0x1400ccd3f
Function at 0x1400cdb74
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x1401a40a0]
mov ecx, dword [0x1401a1580]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400cdded
mov rax, qword [0x1401a4098]
test rax, rax
je 0x1400cdc5b
lea rdx, [rsp + 0x174]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call rax
test eax, eax
je 0x1400cdc05
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x1400cdc62
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x1400cdc97
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400cdc5b
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.140030be0
lea rcx, [rsp + 0x40]
lea rdx, [0x1401609bd]
mov r8d, 0xe
call fcn.140001c63
mov rcx, rbx
call fcn.140030cb0
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.1400cde34
test al, al
je 0x1400cdccd
cmp byte [rsi + 0x80], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
je 0x1400cdd16
call fcn.1400ce065
jmp 0x1400cdd1b
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400cddce
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.140030390
lea rcx, [rsp + 0x38]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
jmp 0x1400cddc1
call fcn.1400ce68e
test al, al
je 0x1400cdd81
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.1400ccffc
mov sil, 1
test al, al
jne 0x1400cddd0
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400cddce
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.140030390
lea rcx, [rsp + 0x38]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x1400cddc1
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400cddce
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.140030390
lea rcx, [rsp + 0x38]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
call fcn.140001c63
mov rcx, rsi
call fcn.14002f710
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.1401207e0
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401a40a0]
call fcn.140120570
cmp dword [0x1401a40a0], 0xffffffff
jne 0x1400cdbbf
lea rcx, [0x14015a158]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.1400ccfb4
mov qword [0x1401a4098], rax
lea rcx, [0x1401a40a0]
call fcn.140120608
jmp 0x1400cdbbf