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

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x1401af6a8]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x1401b4eb0]
test rax, rax
jne 0x1400b9ee4
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x1401b4eb0]
test rax, rax
je 0x1400b9ed1
cmp eax, 2
jne 0x1400b9f32
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400b9fca
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 0x1400b9fbd
mov eax, 1
lock xadd qword [0x1401b4ee8], rax
test rax, rax
jle 0x1400b9f52
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1401b4e68], eax
mov qword [0x1401b4e60], rsi
mov rcx, qword [0x1401af8d8]
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 0x1400b9fca
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.14012d670
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
Function at 0x1400ba818
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x1401af6a8]
xor rax, rsp
mov qword [rsp + 0x198], rax
lea rbx, [rcx + 2]
test byte [rcx], 1
mov rcx, rbx
je 0x1400ba847
mov rcx, qword [rsi + 0x10]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x1400ba94d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400ba889
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14012d670
mov rcx, rsi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
jmp fcn.1400ba96a
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400ba94b
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 0x1400ba920
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
jmp 0x1400ba928
shr r8, 1
lea rdx, [rsp + 0x39]
mov rcx, rdi
call fcn.140001e21
test byte [rsp + 0x38], 1
je 0x1400ba941
mov rcx, qword [rsp + 0x48]
call fcn.14012d304
lea rcx, [rsp + 0x50]
call fcn.14002d640
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14012d670
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400ba96a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov rsi, rcx
mov rax, qword [0x1401af6a8]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
lea rbx, [rcx + 2]
test byte [rcx], 1
mov rcx, rbx
je 0x1400ba999
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400baa48
mov dil, 1
test al, 0x10
jne 0x1400bab4e
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400bab4c
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 0x1400bab0c
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
jmp 0x1400bab14
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400bab4c
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 0x1400baadf
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
jmp 0x1400baae7
shr r8, 1
lea rdx, [rsp + 0x49]
mov rcx, rdi
call fcn.140001e21
test byte [rsp + 0x48], 1
je 0x1400bab00
mov rcx, qword [rsp + 0x58]
call fcn.14012d304
lea rcx, [rsp + 0x60]
call fcn.14002d640
jmp 0x1400bab4c
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 0x1400bab42
mov rcx, qword [rsp + 0x58]
call fcn.14012d304
lea rcx, [rsp + 0x60]
call fcn.14002cae0
xor edi, edi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.14012d670
mov eax, edi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400bd0fa
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
mov eax, dword [rcx + 0x68]
cmp eax, edx
jne 0x1400bd111
test byte [rcx + 0x10], 1
je 0x1400bd120
mov rcx, qword [rcx + 0x20]
jmp 0x1400bd124
xor ecx, ecx
cmp eax, 1
sete cl
lea eax, [rcx + rcx*2]
inc eax
jmp 0x1400bd13d
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 0x1400c6016
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 [0x1401af6a8]
xor rax, rsp
mov qword [rsp + 0x90], rax
cmp byte [rcx + 0x6c], 0
je 0x1400c619f
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 + 0x60]
mov rcx, rdi
mov r8d, 2
call fcn.1400c61d9
mov r13, qword [rdi]
test r13, r13
je 0x1400c61a6
mov qword [rsp + 0x28], rbx
cmp dword [r13], 0
je 0x1400c618a
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 0x1400c617a
add rbp, r14
test rsi, rsi
je 0x1400c612c
mov rax, qword [rsi]
cmp qword [rsi + 8], rax
je 0x1400c612c
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.140007b30
mov rcx, rax
mov rdx, rdi
call rbx
test eax, eax
jne 0x1400c617a
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 0x1400c60e2
mov r15, rbx
mov rdx, qword [rbp]
lea rbx, [rsp + 0x48]
mov rcx, rbx
call fcn.1400c6c10
mov rbp, qword [rsp + 0x28]
mov rdi, qword [rbp + 0x38]
cmp rdi, qword [rbp + 0x40]
jae 0x1400c616a
mov r8d, 0x44
mov rcx, rdi
mov rdx, rbx
call fcn.1401306b0
add rdi, 0x44
mov qword [rbp + 0x38], rdi
jmp 0x1400c6177
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call fcn.14009543e
mov rbx, r15
inc r12
mov eax, dword [r13]
cmp r12, rax
jb 0x1400c60b3
mov qword [rsp + 0x38], 0
mov rcx, r13
call fcn.14012d344
xor esi, esi
jmp 0x1400c61b3
mov esi, 0x3f0
jmp 0x1400c61b3
mov esi, dword [rsp + 0x44]
mov qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14012d670
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 0x1400c85c1
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 [0x1401af6a8]
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 0x1400c866f
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 0x1400c866f
test r14d, r14d
setne al
cmp r15, rsi
sete sil
and sil, al
jmp 0x1400c8671
xor esi, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14012d670
mov eax, esi
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x1400cc7bc
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
call fcn.1400cc4f0
test al, al
je 0x1400cc7ea
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.1400cc854
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x1400cc80a
mov qword [rsi + 0x60], rcx
call fcn.14012d304
mov rcx, qword [rsi + 0x50]
mov qword [rsi + 0x50], 0
test rcx, rcx
je 0x1400cc820
call fcn.140041f30
mov rcx, rdi
xor edx, edx
call fcn.1400cc854
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.1400cc3d0
Function at 0x1400ccfaa
Capabilities:
Terminate process

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.1400cc4f0
test al, al
je 0x1400ccfcc
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 0x1400d0260
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x1401b5228]
mov ecx, dword [0x1401b2730]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400d029d
lea rcx, [0x1401b5220]
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.14005be30
lea rcx, [0x1401b5228]
call fcn.14012d420
cmp dword [0x1401b5228], 0xffffffff
jne 0x1400d0289
mov qword [0x1401b5220], 0
lea rcx, [0x1401b5220]
xor edx, edx
call fcn.14005be80
lea rcx, [0x1401b5228]
call fcn.14012d4b8
jmp 0x1400d0289

Function at 0x1400d02e0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401b5228]
mov ecx, dword [0x1401b2730]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400d0315
lea rcx, [0x1401b5220]
add rsp, 0x28
jmp fcn.14005bdf0
lea rcx, [0x1401b5228]
call fcn.14012d420
cmp dword [0x1401b5228], 0xffffffff
jne 0x1400d0305
mov qword [0x1401b5220], 0
lea rcx, [0x1401b5220]
xor edx, edx
call fcn.14005be80
lea rcx, [0x1401b5228]
call fcn.14012d4b8
jmp 0x1400d0305

Function at 0x1400d0360
Capabilities:
Allocate or change rwx memory

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x1401af6a8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov ebp, 0x57
test rcx, rcx
je 0x1400d0430
mov rdi, rdx
test rdx, rdx
je 0x1400d0430
mov ebx, r8d
test r8d, r8d
je 0x1400d0430
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 0x1400d0428
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 0x1400d0428
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
call fcn.1401306b0
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 0x1400d0430
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14012d670
mov eax, ebp
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x1400d1fd0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, qword [rcx + 8]
jmp 0x1400d1fe7
mov rsi, qword [rsi + 0x218]
test rsi, rsi
je 0x1400d201b
xor edi, edi
xchg qword [rsi], rdi
test rdi, rdi
je 0x1400d1fe0
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 0x1400d2000
jmp 0x1400d1fe0
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400db3cf
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 [0x1401af6a8]
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 0x1400db446
call qword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xfe
cmp eax, 6
jb 0x1400db446
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.1400db4aa
mov qword [rdi + 8], rax
mov dword [rdi + 0x10], 1
jmp 0x1400db448
xor edi, edi
movzx edx, bl
shl edx, 0x13
or edx, 3
test byte [rsi], 1
je 0x1400db45c
mov rsi, qword [rsi + 0x10]
jmp 0x1400db460
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.14012d670
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400db868
Capabilities:
Check os version

Disassembly:
push rsi
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x1401af6a8]
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 0x1400db941
and eax, 0xfeff
cmp eax, 6
je 0x1400db941
mov eax, dword [0x1401b52f0]
mov ecx, dword [0x1401b2730]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400db968
mov rcx, rsi
xor edx, edx
mov r8d, 0x10000000
call qword [0x1401b52e8]
mov sil, 1
test eax, eax
jne 0x1400db94d
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400db93d
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 0x1400db94d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov sil, 1
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14012d670
mov eax, esi
add rsp, 0x180
pop rsi
ret
lea rcx, [0x1401b52f0]
call fcn.14012d420
cmp dword [0x1401b52f0], 0xffffffff
jne 0x1400db8cf
lea rcx, [0x140166f78]
lea rdx, str.::InitializeCriticalSectionEx
mov r8b, 1
call fcn.1400dbb58
mov qword [0x1401b52e8], rax
lea rcx, [0x1401b52f0]
call fcn.14012d4b8
jmp 0x1400db8cf
Function at 0x1400dc712
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 [0x1401af6a8]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x1401b5300]
mov ecx, dword [0x1401b2730]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400dc98b
mov rax, qword [0x1401b52f8]
test rax, rax
je 0x1400dc7f9
lea rdx, [rsp + 0x184]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call rax
test eax, eax
je 0x1400dc7a3
cmp dword [rsp + 0x184], 0
setne byte [rsi + 0x81]
je 0x1400dc800
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x1400dc835
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400dc7f9
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, [0x14016ee86]
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.1400dc9d2
test al, al
je 0x1400dc86b
cmp byte [rsi + 0x80], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
je 0x1400dc8b4
call fcn.1400dcc03
jmp 0x1400dc8b9
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400dc96c
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 0x1400dc95f
call fcn.1400dd22c
test al, al
je 0x1400dc91f
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.1400dbba0
mov sil, 1
test al, al
jne 0x1400dc96e
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400dc96c
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 0x1400dc95f
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400dc96c
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.14012d670
mov eax, esi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401b5300]
call fcn.14012d420
cmp dword [0x1401b5300], 0xffffffff
jne 0x1400dc75d
lea rcx, [0x140166f78]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.1400dbb58
mov qword [0x1401b52f8], rax
lea rcx, [0x1401b5300]
call fcn.14012d4b8
jmp 0x1400dc75d
Function at 0x1400df300
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 [0x1401af6a8]
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 0x1400df40c
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.1400df2b2
cmp qword [rsp + 0x30], 0
je 0x1400df3cf
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 0x1400df424
mov rcx, rdi
call r13
cmp eax, 3
jne 0x1400df420
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 0x1400df37b
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp eax, 0x6d
setne sil
neg rsi
jmp 0x1400df426
mov eax, dword [rsp + 0x3c]
mov esi, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14012d670
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 0x1400dfaa1
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rdi, rcx
mov rax, qword [0x1401af6a8]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor esi, esi
xor edx, edx
xor r8d, r8d
call fcn.1400df9d0
test rax, rax
jne 0x1400dfb38
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
jne 0x1400dfb38
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1400dfb36
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, [0x1401799dd]
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.14012d670
mov eax, esi
add rsp, 0x178
pop rdi
pop rsi
ret
Function at 0x1400e9888
Capabilities:
Create thread

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x1401af6a8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400e9930]
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 0x1400e9913
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, [0x140174cfe]
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.14012d670
nop
add rsp, 0x40
pop rsi
ret

Function at 0x1400ed5a2
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 [0x1401af6a8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [r14], 0xffffffffffffffff
mov esi, 5
cmp ecx, 3
jne 0x1400ed69d
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 0x1400ed609
mov r8, qword [r8 + 0x10]
jmp 0x1400ed60d
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 0x1400ed687
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 0x1400ed68e
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.14012d670
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret