joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e3087
Capabilities:
Encode data using xor

Disassembly:
push rsi
test rdx, rdx
je 0x1400e30cb
movzx r10d, byte [rdx]
mov r11d, r10d
shl r11d, 5
sub r11d, r10d
sub r11d, r10d
test r10d, r10d
je 0x1400e30ce
inc rdx
movsx r10d, r10b
mov eax, r11d
shl eax, 5
mov esi, r11d
shr esi, 3
add esi, r10d
add esi, eax
xor r11d, esi
mov r10b, byte [rdx]
inc rdx
test r10b, r10b
jne 0x1400e30a6
jmp 0x1400e30ce
xor r11d, r11d
mov eax, r11d
shl eax, 5
mov r10d, r11d
shr r10d, 3
add r10d, eax
xor r10d, r11d
test r8, r8
je 0x1400e3110
mov al, byte [r8]
test al, al
je 0x1400e3110
inc r8
movsx eax, al
mov edx, r10d
shl edx, 5
mov esi, r10d
shr esi, 3
add esi, edx
add esi, eax
xor r10d, esi
mov al, byte [r8]
inc r8
test al, al
jne 0x1400e30f0
mov edx, r10d
shl edx, 5
mov eax, r10d
shr eax, 3
add eax, edx
xor eax, r10d
test r9, r9
je 0x1400e314f
mov dl, byte [r9]
test dl, dl
je 0x1400e314f
inc r9
movsx r8d, dl
mov esi, eax
shl esi, 5
mov edx, eax
shr edx, 3
add edx, esi
add edx, r8d
xor eax, edx
mov dl, byte [r9]
inc r9
test dl, dl
jne 0x1400e3130
xor edx, edx
div dword [rcx + 8]
mov eax, edx
pop rsi
ret

Function at 0x1400ec270
Capabilities:
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
cmp dword [r8], 0
jle 0x1400ec28b
xor eax, eax
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
call fcn.140081698
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10000080
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x1400ec339
mov rbx, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r14, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14, r14
je 0x1400ec339
mov qword [rsp + 0x20], 0
mov rcx, r14
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rdi + 8], rax
test rax, rax
je 0x1400ec364
mov qword [rdi + 0x28], r14
mov al, 1
jmp 0x1400ec281
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
cmp ecx, 0x8007000e
jne 0x1400ec27f
mov dword [rsi], 7
jmp 0x1400ec27f
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400ec27f
Function at 0x1400ef8da
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rcx
cmp dword [rcx + 0x10108], 0
mov r9d, dword [rcx + 0xd4]
je 0x1400ef996
test r9d, r9d
je 0x1400ef993
xor eax, eax
mov r8d, 0xff
mov esi, dword [rdi + 0x10128]
mov ecx, dword [rdi + 0x10130]
mov edx, ecx
and edx, 0xfffd
lea r10d, [rdx + 2]
xor edx, 3
imul edx, r10d
shr edx, 8
movzx r10d, byte [rdi + rax + 0x100]
mov r11, qword [rdi + 0x10138]
mov ebx, esi
and ebx, r8d
xor ebx, r10d
shr esi, 8
xor esi, dword [r11 + rbx*4]
mov dword [rdi + 0x10128], esi
and esi, r8d
add esi, dword [rdi + 0x1012c]
imul ebx, esi, 0x8088405
inc ebx
mov dword [rdi + 0x1012c], ebx
shr ebx, 0x18
mov esi, ecx
and esi, r8d
xor esi, ebx
shr ecx, 8
xor ecx, dword [r11 + rsi*4]
mov dword [rdi + 0x10130], ecx
xor byte [rdi + rax + 0x100], dl
inc rax
cmp rax, r9
jb 0x1400ef909
jmp 0x1400ef996
xor r9d, r9d
lea r8, [rdi + 0x100]
mov rcx, qword [rdi + 0x38]
mov rdx, qword [rdi + 0x58]
call qword [rdi + 0x10]
mov edx, dword [rdi + 0x84]
mov ebx, dword [rdi + 0xd4]
xor ecx, ecx
cmp eax, ebx
setne cl
add qword [rdi + 0x10118], rbx
add qword [rdi + 0x10120], rdx
neg ecx
xor eax, eax
mov dword [rdi + 0x84], eax
mov dword [rdi + 0xd4], eax
mov eax, ecx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400f0729
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [rcx]
mov r9d, dword [rcx + 8]
xor r8d, eax
mov r10d, 0xff
and r8d, r10d
shr eax, 8
xor eax, dword [rdx + r8*4]
mov dword [rcx], eax
and eax, r10d
add eax, dword [rcx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [rcx + 4], eax
shr eax, 0x18
and r10d, r9d
xor r10d, eax
shr r9d, 8
xor r9d, dword [rdx + r10*4]
mov dword [rcx + 8], r9d
ret
Function at 0x1400f0d1e
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 [0x1401ee6a8]
xor rax, rsp
mov qword [rsp + 0x90], rax
cmp byte [rcx + 0x54], 0
je 0x1400f0e93
mov rsi, rdx
mov rbx, rcx
lea rdx, [rcx + 0x48]
lea rdi, [rsp + 0x38]
lea r9, [rsp + 0x44]
mov rcx, rdi
mov r8d, 2
call fcn.1400f0ecd
mov r13, qword [rdi]
test r13, r13
je 0x1400f0e9a
mov qword [rsp + 0x28], rbx
cmp dword [r13], 0
je 0x1400f0e7e
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 0x1400f0e6e
add rbp, r14
test rsi, rsi
je 0x1400f0e20
mov rax, qword [rsi]
cmp qword [rsi + 8], rax
je 0x1400f0e20
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.14000d650
mov rcx, rax
mov rdx, rdi
call rbx
test eax, eax
jne 0x1400f0e6e
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 0x1400f0dd6
mov r15, rbx
mov rdx, qword [rbp]
lea rbx, [rsp + 0x48]
mov rcx, rbx
call fcn.1400f15f8
mov rbp, qword [rsp + 0x28]
mov rdi, qword [rbp + 0x38]
cmp rdi, qword [rbp + 0x40]
jae 0x1400f0e5e
mov r8d, 0x44
mov rcx, rdi
mov rdx, rbx
call fcn.1401667e0
add rdi, 0x44
mov qword [rbp + 0x38], rdi
jmp 0x1400f0e6b
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
call fcn.140089ef4
mov rbx, r15
inc r12
mov eax, dword [r13]
cmp r12, rax
jb 0x1400f0da7
mov qword [rsp + 0x38], 0
mov rcx, r13
call fcn.140163ad4
xor esi, esi
jmp 0x1400f0ea7
mov esi, 0x3f0
jmp 0x1400f0ea7
mov esi, dword [rsp + 0x44]
mov qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140163e00
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 0x1400f2f95
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 [0x1401ee6a8]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea r12, [rsp + 0x34]
mov qword [rsp + 0x20], r12
mov r8, r9
mov r9d, 8
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1400f302d
lea rbp, [rsp + 0x28]
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 0x1400f302d
test r14d, r14d
setne al
cmp r15, rsi
sete sil
and sil, al
jmp 0x1400f302f
xor esi, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140163e00
mov eax, esi
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x1400f6dc0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
call fcn.1400ab640
test al, al
je 0x1400f6dee
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.1400f6e56
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x1400f6e0e
mov qword [rsi + 0x60], rcx
call fcn.140163a8c
mov rcx, qword [rsi + 0x50]
xor eax, eax
mov qword [rsi + 0x50], rax
test rcx, rcx
je 0x1400f6e22
call case.0x1400878dc.0
mov rcx, rdi
xor edx, edx
call fcn.1400f6e56
lea rcx, [rsi + 0x28]
call fcn.14000236c
lea rcx, [rsi + 0x20]
call fcn.14000236c
lea rcx, [rsi + 0x18]
call fcn.14000236c
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400ab520
Function at 0x1400f72ba
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov r14d, r9d
mov rbx, r8
mov r13, rdx
mov r12, rcx
mov rbp, qword [rsp + 0xc8]
mov ecx, dword [rsp + 0xc0]
mov rax, qword [0x1401ee6a8]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea eax, [rcx + r14]
lea rdi, [r12 + 0x28]
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x28], 0
xor r15d, r15d
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x8000004
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, rdi
mov rdx, rax
call fcn.1400022d0
mov rsi, qword [r12 + 0x28]
lea rax, [rsi + 1]
cmp rax, 1
ja 0x1400f736d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov ebx, 0x19
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140163e00
mov eax, ebx
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x40], r14
mov rbp, qword [r12]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 7
lea r9, [rsp + 0x48]
mov rcx, rax
mov rdx, rsi
mov r8, rbp
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1400f74b4
mov rcx, qword [rdi]
mov qword [rsp + 0x20], 0
mov edx, 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x1400f74ce
mov rbp, rax
mov esi, dword [rsp + 0x40]
mov eax, dword [rsp + 0xc0]
mov r14d, eax
test rbx, rbx
je 0x1400f7417
test eax, eax
je 0x1400f7417
lea rdi, [rsi + rbp]
mov rcx, rdi
mov rdx, rbx
mov r8, r14
call fcn.1401667e0
xor eax, eax
mov rcx, qword [rdi + rax*8]
test rcx, rcx
je 0x1400f740e
sub rcx, rbx
mov qword [rdi + rax*8], rcx
inc rax
cmp rax, 0x40
jne 0x1400f73fe
mov rax, qword [rsp + 0x48]
mov qword [0x1401f5708], rax
lea r8, [0x1401f5708]
mov r9d, 8
mov rcx, r12
call fcn.1400f723e
mov qword [0x1401f5708], 0
test eax, eax
jne 0x1400f749d
mov qword [0x1401f6760], rsi
lea r8, [0x1401f6760]
mov r9d, 8
mov rcx, r12
call fcn.1400f723e
mov qword [0x1401f6760], 0
test eax, eax
jne 0x1400f749d
mov qword [0x1401f6768], r14
lea r8, [0x1401f6768]
mov r9d, 8
mov rcx, r12
call fcn.1400f723e
mov qword [0x1401f6768], 0
test eax, eax
je 0x1400f74e8
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xc8]
mov dword [rcx], eax
jmp 0x1400f734d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xc8]
mov dword [rcx], eax
mov ebx, 0x1a
jmp 0x1400f734d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xc8]
mov dword [rcx], eax
mov ebx, 0x1b
jmp 0x1400f734d
lea rsi, [r12 + 0x38]
mov ecx, 0x40
call fcn.140163a50
mov rdi, rax
mov r9, qword [r12 + 0x40]
mov r8d, dword [r12 + 0x10]
mov rdx, qword [r12]
mov qword [rsp + 0x20], r13
mov rcx, rax
call fcn.14011acd4
mov rcx, rsi
mov rdx, rdi
call fcn.1400f6e56
mov rcx, qword [r12 + 0x38]
mov rdx, rbp
mov r8, qword [rsp + 0x40]
mov r9d, 0x400
call fcn.14011ad84
mov ebx, 4
test al, al
je 0x1400f734d
mov rcx, r12
call fcn.1400ab860
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x1400f734d
Function at 0x1400f755e
Capabilities:
Terminate process

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.1400ab640
test al, al
je 0x1400f7580
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 0x140103250
Capabilities:
Check os version
Create pipe

Disassembly:
push rsi
push rbx
sub rsp, 0x68
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x1401ee6a8]
xor rax, rsp
mov qword [rsp + 0x60], rax
test dl, dl
je 0x1401032a4
call qword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xfe
cmp eax, 6
jb 0x1401032a4
xorps xmm0, xmm0
lea rax, [rsp + 0x40]
movaps xmmword [rax], xmm0
mov qword [rax + 0x10], 1
mov dword [rax], 0x18
lea rcx, [0x1401b74c4]
mov qword [rax + 8], rcx
jmp 0x1401032a6
xor eax, eax
movzx edx, bl
shl edx, 0x13
or edx, 3
cmp byte [rsi + 0x17], 0
jns 0x1401032b8
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rax
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 + 0x60]
xor rcx, rsp
call fcn.140163e00
mov rax, rsi
add rsp, 0x68
pop rbx
pop rsi
ret

Function at 0x140103304
Capabilities:
Check os version

Disassembly:
push rsi
sub rsp, 0x170
mov rsi, rcx
mov rax, qword [0x1401ee6a8]
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 0x1401033dd
and eax, 0xfeff
cmp eax, 6
je 0x1401033dd
mov eax, dword [0x1401f6940]
mov ecx, dword [0x1401f3a70]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140103404
mov rcx, rsi
xor edx, edx
mov r8d, 0x10000000
call qword [0x1401f6938]
mov sil, 1
test eax, eax
jne 0x1401033e9
mov ecx, 2
call fcn.140038810
test al, al
je 0x1401033d9
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.140039550
lea rcx, [rsp + 0x38]
lea rdx, str.InitializeCriticalSectionEx
mov r8d, 0x1b
call fcn.140001e11
mov rcx, rsi
call fcn.140039620
xor esi, esi
jmp 0x1401033e9
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov sil, 1
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140163e00
mov eax, esi
add rsp, 0x170
pop rsi
ret
lea rcx, [0x1401f6940]
call fcn.140163bb0
cmp dword [0x1401f6940], 0xffffffff
jne 0x14010336b
lea rcx, [0x14019701a]
lea rdx, str.::InitializeCriticalSectionEx
mov r8b, 1
call fcn.140103598
mov qword [0x1401f6938], rax
lea rcx, [0x1401f6940]
call fcn.140163c48
jmp 0x14010336b
Function at 0x1401041b2
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 [0x1401ee6a8]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x1401f6950]
mov ecx, dword [0x1401f3a70]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140104413
mov rax, qword [0x1401f6948]
test rax, rax
je 0x140104293
lea rdx, [rsp + 0x174]
mov rcx, rdi
call rax
test eax, eax
je 0x14010423d
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x14010429a
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x1401042bd
mov ecx, 2
call fcn.140038810
test al, al
je 0x140104293
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.140039550
lea rcx, [rsp + 0x40]
lea rdx, [0x14019f47b]
mov r8d, 0xe
call fcn.140001e11
mov rcx, rbx
call fcn.140039620
mov byte [rsi + 0x81], 0
lea rbx, [rsp + 0x30]
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.14010445a
test al, al
je 0x1401042f3
cmp byte [rsi + 0x80], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
je 0x14010433c
call fcn.14010465d
jmp 0x140104341
mov ecx, 2
call fcn.140038810
test al, al
je 0x1401043f4
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.1400388b0
lea rcx, [rsp + 0x38]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
jmp 0x1401043e7
call fcn.140104d31
test al, al
je 0x1401043a7
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.1401035e0
mov sil, 1
test al, al
jne 0x1401043f6
mov ecx, 2
call fcn.140038810
test al, al
je 0x1401043f4
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.1400388b0
lea rcx, [rsp + 0x38]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x1401043e7
mov ecx, 2
call fcn.140038810
test al, al
je 0x1401043f4
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.1400388b0
lea rcx, [rsp + 0x38]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
call fcn.140001e11
mov rcx, rsi
call fcn.140038d10
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140163e00
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401f6950]
call fcn.140163bb0
cmp dword [0x1401f6950], 0xffffffff
jne 0x1401041fd
lea rcx, [0x14019701a]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.140103598
mov qword [0x1401f6948], rax
lea rcx, [0x1401f6950]
call fcn.140163c48
jmp 0x1401041fd
Function at 0x140110c34
Capabilities:
Create thread

Disassembly:
push rsi
sub rsp, 0x180
mov rsi, rcx
mov rax, qword [0x1401ee6a8]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140110cd0]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 8], rax
test rax, rax
je 0x140110c99
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140163e00
nop
add rsp, 0x180
pop rsi
ret
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_thread_thread_win.cc
lea rsi, [rsp + 0x38]
mov rcx, rsi
mov r8d, 0x19
mov r9d, 3
call fcn.140039550
mov rcx, rsi
call fcn.140039620
jmp 0x140110c7f

Function at 0x140116bf2
Capabilities:
Create pipe

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r15, qword [rsp + 0xc8]
mov rax, qword [0x1401ee6a8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [r15], 0xffffffffffffffff
mov esi, 5
cmp ecx, 3
jne 0x140116cda
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]
cmp byte [r8 + 0x17], 0
jns 0x140116c57
mov r8, qword [r8]
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 0x140116cc4
mov rdi, 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
lea r14, [rsp + 0x40]
mov rcx, rax
mov rdx, rdi
mov r8, rsi
mov r9, r14
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
cmp eax, 1
sbb rbx, rbx
or rbx, qword [r14]
jmp 0x140116ccb
mov rbx, 0xffffffffffffffff
mov qword [r15], rbx
xor eax, eax
cmp rbx, 0xffffffffffffffff
sete al
lea esi, [rax + rax*4]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140163e00
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140117594
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, r8
mov r8, rdx
mov rdi, rcx
mov rsi, qword [rsp + 0x90]
mov edx, dword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
mov qword [rsi], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x20], r9
xor r14d, r14d
xor edx, edx
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x14011762c
mov rbx, rax
mov rdi, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0x30], 3
mov rcx, rax
mov rdx, rbx
mov r8, rdi
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea eax, [rcx + rcx*4]
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x140119ede
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov r15, rcx
mov rax, qword [0x1401ee6a8]
xor rax, rsp
mov qword [rsp + 0xa8], rax
test dl, dl
je 0x140119f69
lea rax, [0x140135aa0]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
lea rdi, [0x1401b91c0]
lea r8, str.NtMapViewOfSection
mov rcx, r15
mov rdx, rdi
mov r9d, 1
call fcn.140119966
lea rax, [0x140135b10]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 1
lea r8, str.NtUnmapViewOfSection
mov rcx, r15
mov rdx, rdi
mov r9d, 1
call fcn.140119966
jmp 0x140119f74
cmp qword [r15 + 0x18], 0
je 0x14011a0b1
mov rax, qword [r15]
mov r14, qword [rax]
mov dword [rsp + 0x20], 1
mov r12, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r8d, 0x10000
mov rcx, r14
xor edx, edx
mov r9d, 0x2000
call r12
mov rdi, rax
mov rsi, qword [r15 + 0x18]
shl rsi, 6
lea rbx, [rsi + 0x60]
mov rcx, rbx
call fcn.14011981c
mov rbp, rax
mov rax, 0xfffffffffffff000
mov rcx, rbp
and rcx, rax
lea rdx, [rcx + rdi]
add rsi, 0x105f
and rsi, rax
mov dword [rsp + 0x20], 0x40
mov rcx, r14
mov r8, rsi
mov r9d, 0x1000
call r12
test rax, rax
je 0x14011a0d7
mov rdi, rax
and ebp, 0xfff
add rdi, rbp
lea rsi, [rsp + 0x48]
mov qword [rsi], rbx
mov dword [rsi + 0x18], 0
mov qword [rsi + 8], 0x20
lea rcx, [0x1401f6f80]
mov r8d, 0x150
xor edx, edx
call fcn.140166bf0
mov rcx, r15
mov rdx, rdi
mov r8, rbx
mov r9, rsi
call fcn.14011a31a
mov ebp, eax
test eax, eax
jne 0x14011a0b3
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x48]
mov r9d, 0x20
mov rcx, r14
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebp, 0x2a
test eax, eax
je 0x14011a0b3
cmp qword [rsp + 0x40], 0x20
jne 0x14011a0b3
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
mov rcx, r14
mov rdx, rdi
mov r8, rbx
mov r9d, 0x20
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [r15]
lea rdx, str.g_originals
lea r8, [0x1401f6f80]
mov r9d, 0x150
call fcn.1400f723e
mov ebp, eax
jmp 0x14011a0b3
xor ebp, ebp
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140163e00
mov eax, ebp
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
int3