joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140139ff0
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov rsi, r9
mov rbx, r8
mov rdi, rdx
mov r15, rcx
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp byte [rdx + 0x17], 0
js 0x14013a028
mov byte [rdi + 0x17], 6
mov rax, rdi
jmp 0x14013a033
mov qword [rdi + 8], 6
mov rax, qword [rdi]
movabs rcx, 0x6f007200680043
mov qword [rax], rcx
mov dword [rax + 8], 0x65006d
mov word [rax + 0xc], 0
lea rdx, str.0.0.0.0_devel
mov r8d, 0xd
mov rcx, rbx
call fcn.1400146a0
cmp byte [rsi + 0x17], 0
js 0x14013a073
mov word [rsi], 0
mov byte [rsi + 0x17], 0
jmp 0x14013a083
mov rax, qword [rsi]
mov word [rax], 0
mov qword [rsi + 8], 0
mov dword [rsp + 0x64], 0
cmp byte [r15 + 0x17], 0
mov rcx, r15
jns 0x14013a098
mov rcx, qword [r15]
lea rdx, [rsp + 0x64]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x14013a228
mov ebp, eax
mov ecx, eax
call fcn.1400d2cc8
mov r14, rax
mov edx, dword [rsp + 0x64]
cmp byte [r15 + 0x17], 0
jns 0x14013a0c4
mov r15, qword [r15]
mov rcx, r15
mov r8d, ebp
mov r9, r14
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14013a21b
lea rdx, [0x1401d76c6]
lea r15, [rsp + 0x40]
mov rcx, r15
call fcn.140014b00
mov rcx, r14
mov rdx, r15
mov r8, rbx
call fcn.14013a280
cmp byte [r15 + 0x17], 0
jns 0x14013a10d
mov rcx, qword [rsp + 0x40]
call fcn.1400d2b80
xorps xmm0, xmm0
lea r15, [rsp + 0x40]
movaps xmmword [r15], xmm0
mov qword [r15 + 0x10], 0
lea rdx, [0x1401d76e4]
lea r12, [rsp + 0x28]
mov rcx, r12
call fcn.140014b00
mov rcx, r14
mov rdx, r12
mov r8, r15
call fcn.14013a280
cmp byte [r12 + 0x17], 0
jns 0x14013a155
mov rcx, qword [rsp + 0x28]
call fcn.1400d2b80
movsx rax, byte [rsp + 0x57]
test rax, rax
cmovs rax, qword [rsp + 0x48]
cmovs r15, qword [rsp + 0x40]
test rax, rax
js 0x14013a276
sete cl
test r15, r15
setne dl
or dl, cl
je 0x14013a276
cmp rax, 1
jne 0x14013a191
cmp word [r15], 0x31
je 0x14013a1a6
lea rdx, str._devel
mov r8d, 6
mov rcx, rbx
call fcn.14004c260
lea rdx, [0x1401d7710]
lea rbx, [rsp + 0x28]
mov rcx, rbx
call fcn.140014b00
mov rcx, r14
mov rdx, rbx
mov r8, rdi
call fcn.14013a280
cmp byte [rbx + 0x17], 0
jns 0x14013a1d8
mov rcx, qword [rsp + 0x28]
call fcn.1400d2b80
lea rdx, str.SpecialBuild
lea rdi, [rsp + 0x28]
mov rcx, rdi
call fcn.140014b00
mov rcx, r14
mov rdx, rdi
mov r8, rsi
call fcn.14013a280
cmp byte [rdi + 0x17], 0
jns 0x14013a20a
mov rcx, qword [rsp + 0x28]
call fcn.1400d2b80
cmp byte [rsp + 0x57], 0
jns 0x14013a21b
mov rcx, qword [rsp + 0x40]
call fcn.1400d2b80
test r14, r14
je 0x14013a228
mov rcx, r14
call fcn.1400d2ea8
mov rsi, qword [rsp + 0xd0]
lea rcx, [rsp + 0x40]
call fcn.14013a560
cmp byte [rsi + 0x17], 0
jns 0x14013a248
mov rcx, qword [rsi]
call fcn.1400d2b80
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400d4e20
nop
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
ud2
Function at 0x14013d360
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
cmp dword [0x14020b404], 0
mov r8, qword [rcx]
je 0x14013d392
mov rcx, qword [rsi + 0x28]
mov rdx, rbx
mov r9d, edi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140113370
movsxd rax, edi
mov rcx, rbx
mov rdx, r8
mov r8, rax
call fcn.14010c000
test rbx, rbx
je 0x14013d3c3
mov ecx, dword [rsi + 0x4c]
mov r8d, edi
mov rdx, rbx
call fcn.140035bf0
mov ebx, eax
mov dword [rsi + 0x4c], ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
xor ebx, ebx
test edi, edi
jne 0x14013d3b8
lea rcx, [0x14020b408]
lea rdx, [0x140077930]
xor ebx, ebx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
jmp 0x14013d3b8

Function at 0x140143880
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rcx + 0x10]
cmp rbx, qword [rcx + 0x18]
je 0x1401438c6
mov r15, rbx
test r15, r15
je 0x1401439a1
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r12, qword [rsi]
mov r14, qword [rsi + 8]
mov rax, r14
sub rax, r12
jbe 0x140143922
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r12, rax
neg r12
shl rax, 3
mov r15, r14
sub r15, rax
sub rbx, r14
je 0x140143911
mov rcx, r15
mov rdx, r14
mov r8, rbx
call fcn.14010c000
mov r14, qword [rsi + 8]
add r15, rbx
mov qword [rsi + 0x10], r15
lea rax, [r14 + r12*8]
mov qword [rsi + 8], rax
jmp 0x1401438a2
mov rax, rbx
sub rax, r12
sar rax, 2
cmp rbx, r12
mov r13d, 1
cmovne r13, rax
mov rax, r13
shr rax, 0x3d
jne 0x1401439bd
lea rcx, [r13*8]
call fcn.1400d2b88
mov rcx, r13
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rbx
mov r15, rcx
sub rdx, r14
je 0x140143983
xor r15d, r15d
mov r8, rcx
add r8, r15
je 0x1401439a1
mov r9, qword [r14 + r15]
mov qword [r8], r9
add r15, 8
cmp rdx, r15
jne 0x140143968
add r15, rcx
lea rdx, [rax + r13*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], rdx
cmp rbx, r14
je 0x1401439a3
add rbx, 0xfffffffffffffff8
jne 0x140143996
ud2
test r12, r12
je 0x1401438a2
mov rcx, r12
call fcn.1400d2b80
mov r15, qword [rsi + 0x10]
jmp 0x1401438a2
call fcn.140111390
int3
Function at 0x1401599b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, r8
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rcx + 0x50]
mov r15, qword [rcx + 0x58]
cmp rdi, r15
je 0x140159a06
mov rbx, rcx
lea r14, [rsp + 0x20]
mov rcx, rdi
mov rdx, r14
call fcn.140179c10
test al, al
jne 0x140159a02
add rdi, 0x70
cmp rdi, r15
jne 0x1401599ea
mov r15, qword [rbx + 0x58]
cmp rdi, r15
je 0x140159a3f
cmp byte [rdi + 0x27], 0
js 0x140159a17
lea rcx, [rdi + 0x10]
jmp 0x140159a1b
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov ebx, 1
cmovne ebx, ecx
test ebx, ebx
jne 0x140159a44
mov qword [rsi], rdi
xor ebx, ebx
jmp 0x140159a44
mov ebx, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d4e20
mov eax, ebx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, r9
mov ebp, r8d
mov rdi, rcx
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rbx, qword [rcx + 0x50]
mov r15, qword [rcx + 0x58]
cmp rbx, r15
je 0x140159c1a
lea r14, [rsp + 0x20]
mov rcx, rbx
mov rdx, r14
call fcn.140179c10
test al, al
jne 0x140159c16
add rbx, 0x70
cmp rbx, r15
jne 0x140159bfe
mov r15, qword [rdi + 0x58]
mov r14d, 1
cmp rbx, r15
je 0x140159c6d
mov eax, dword [rbx + 0x68]
cmp eax, ebp
jne 0x140159c5e
cmp byte [rbx + 0x27], 0
jns 0x140159c38
mov rcx, qword [rbx + 0x10]
jmp 0x140159c3c
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140159c6d
shr eax, 3
and eax, 2
mov r14d, eax
jne 0x140159c6d
mov byte [rdi + 0x48], 1
mov qword [rsi], rbx
xor r14d, r14d
jmp 0x140159c6d
xor ecx, ecx
cmp eax, 1
sete cl
lea r14d, [rcx + rcx*2]
inc r14d
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400d4e20
mov eax, r14d
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140160910
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rsi, rcx
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rax, qword [0x14020ed80]
test rax, rax
jne 0x140160954
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x14020ed80]
test rax, rax
je 0x140160941
cmp eax, 2
je 0x1401609f2
mov eax, 1
lock xadd qword [0x14020edb8], rax
inc rax
cmp rax, 2
jl 0x140160981
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x14020ed40], eax
mov qword [0x14020ed38], rsi
mov rcx, qword [0x1402047a8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.140076b30
test al, al
je 0x140160a3f
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0xbc
mov r9d, 2
call fcn.140134ae0
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
jmp 0x140160a32
mov ecx, 2
call fcn.140076b30
test al, al
je 0x140160a3f
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0x90
mov r9d, 2
call fcn.140134ae0
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
call fcn.1400d0590
mov rcx, rsi
call fcn.140134e30
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400d4e20
xor eax, eax
add rsp, 0x158
pop rdi
pop rsi
ret
Function at 0x140176b70
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
xor edx, edx
xor r8d, r8d
call fcn.1400485f0
test rax, rax
je 0x140176b94
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rdi
call fcn.14017a4e0
test al, al
je 0x140176b8b
mov r8d, 0x28
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400448f0

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1401793ba
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401793d9
mov edi, eax
shr eax, 0xa
xor bl, 1
test al, bl
jne 0x14017943a
and edi, 0x10
shr edi, 4
jmp 0x14017943c
mov ecx, 2
call fcn.140076b30
test al, al
je 0x14017943a
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x80
mov r9d, 2
call fcn.1401357a0
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400d0590
mov rcx, rax
mov rdx, rsi
call fcn.140136a60
mov rcx, rdi
call fcn.140135810
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.1400d4e20
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret

Function at 0x140179460
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x14017948b
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x140179512
test bl, bl
je 0x1401794af
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14017952f
mov ecx, 2
call fcn.140076b30
test al, al
je 0x140179510
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x61
mov r9d, 2
call fcn.1401357a0
lea rcx, [rsp + 0x40]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.1400d0590
mov rcx, rax
mov rdx, rsi
call fcn.140136a60
mov rcx, rdi
call fcn.140135810
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.1400d4e20
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.140179390
test al, al
jne 0x140179512
mov ecx, 2
call fcn.140076b30
test al, al
je 0x140179510
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x5c
mov r9d, 2
call fcn.140134ae0
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.140136a60
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.1400d0590
mov rcx, rdi
call fcn.140134e30
jmp 0x140179510
Function at 0x1401795a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x160], rax
cmp byte [rcx + 0x17], 0
jns 0x1401795c7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401795f7
test eax, 0x410
sete sil
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400d4e20
mov eax, esi
add rsp, 0x168
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.140076b30
test al, al
je 0x140179658
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x73
mov r9d, 2
call fcn.1401357a0
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400d0590
mov rcx, rax
mov rdx, rsi
call fcn.140136a60
mov rcx, rdi
call fcn.140135810
xor esi, esi
jmp 0x1401795db

Function at 0x14017a4e0
Capabilities:
Clear file content

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rdi, rcx
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor esi, esi
xor edx, edx
xor r8d, r8d
call fcn.1400485f0
test rax, rax
je 0x14017a52b
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400d4e20
mov eax, esi
add rsp, 0x168
pop rdi
pop rsi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov sil, 1
test eax, eax
jne 0x14017a50f
cmp dword [0x140208460], 2
jg 0x14017a58c
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_file_io_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xfc
mov r9d, 2
call fcn.1401357a0
lea rcx, [rsp + 0x38]
lea rdx, [0x1401e144f]
mov r8d, 0xc
call fcn.1400d0590
mov rcx, rsi
call fcn.140135810
xor esi, esi
jmp 0x14017a50f
Function at 0x140181670
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 [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x14020f8c0]
mov ecx, dword [0x1402053a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401818f1
mov rax, qword [0x14020f8b8]
test rax, rax
je 0x14018175b
lea rdx, [rsp + 0x174]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call qword [0x1401e8220]
test eax, eax
je 0x140181705
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x140181762
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x140181793
mov ecx, 2
call fcn.140076b30
test al, al
je 0x14018175b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x4d
mov r9d, 2
call fcn.1401357a0
lea rcx, [rsp + 0x40]
lea rdx, [0x1401dbd5a]
mov r8d, 0xe
call fcn.1400d0590
mov rcx, rbx
call fcn.140135810
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [0x1401c7000]
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]
mov dl, byte [rsi + 0x81]
lea rax, [rsi + 0x30]
lea r9, [rsi + 0x28]
mov qword [rsp + 0x20], rax
and dl, 1
mov rcx, rdi
mov r8, rsi
call fcn.140181940
test al, al
jne 0x14018181e
mov ecx, 2
call fcn.140076b30
test al, al
je 0x1401817ff
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x221
mov r9d, 2
call fcn.140134ae0
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
call fcn.1400d0590
mov rcx, rsi
call fcn.140134e30
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.1400d4e20
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
mov rdx, qword [rsi + 0x28]
cmp byte [rsi + 0x80], 1
jne 0x140181838
mov rcx, rdi
mov r8, rsi
call fcn.140181b80
jmp 0x140181843
mov rcx, rdi
mov r8, rsi
call fcn.140182250
test al, al
jne 0x14018188c
mov ecx, 2
call fcn.140076b30
test al, al
je 0x1401817ff
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22a
mov r9d, 2
call fcn.140134ae0
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
jmp 0x1401817f2
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.140180bf0
mov sil, 1
test al, al
jne 0x140181801
mov ecx, 2
call fcn.140076b30
test al, al
je 0x1401817ff
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22f
mov r9d, 2
call fcn.140134ae0
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x1401817f2
lea rcx, [0x14020f8c0]
call fcn.1400d2c50
cmp dword [0x14020f8c0], 0xffffffff
jne 0x1401816bb
lea rcx, [0x1401cd258]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.140078480
mov qword [0x14020f8b8], rax
lea rcx, [0x14020f8c0]
call fcn.1400d2be4
jmp 0x1401816bb
Function at 0x140192340
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test ecx, ecx
sets al
test rdx, rdx
sete cl
or cl, al
je 0x14019235c
add rsp, 0x28
pop rdi
pop rsi
ret
mov rsi, rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rdi, eax
mov rcx, rsi
mov rdx, rdi
call 0x1401923a0
test edi, edi
je 0x140192355
cmp byte [rsi + rdi - 1], 0xa
je 0x140192355
lea rcx, [0x1401cbeb7]
mov edx, 1
add rsp, 0x28
pop rdi
pop rsi
jmp 0x1401923a0
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
add rsi, rdi
lea r14, [rsp + 0x34]
mov r15, qword [sym.imp.KERNEL32.dll_WriteFile]
cmp rdi, rsi
jae 0x140192417
mov dword [rsp + 0x34], 0
mov r8d, esi
sub r8d, edi
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, rdi
mov r9, r14
call r15
mov ecx, dword [rsp + 0x34]
test eax, eax
cmovne eax, ecx
je 0x140192417
add rdi, rax
test ecx, ecx
jne 0x1401923dd
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d4e20
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1401923a0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test ecx, ecx
sets al
test rdx, rdx
sete cl
or cl, al
je 0x14019235c
add rsp, 0x28
pop rdi
pop rsi
ret
mov rsi, rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rdi, eax
mov rcx, rsi
mov rdx, rdi
call 0x1401923a0
test edi, edi
je 0x140192355
cmp byte [rsi + rdi - 1], 0xa
je 0x140192355
lea rcx, [0x1401cbeb7]
mov edx, 1
add rsp, 0x28
pop rdi
pop rsi
jmp 0x1401923a0
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
add rsi, rdi
lea r14, [rsp + 0x34]
mov r15, qword [sym.imp.KERNEL32.dll_WriteFile]
cmp rdi, rsi
jae 0x140192417
mov dword [rsp + 0x34], 0
mov r8d, esi
sub r8d, edi
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, rdi
mov r9, r14
call r15
mov ecx, dword [rsp + 0x34]
test eax, eax
cmovne eax, ecx
je 0x140192417
add rdi, rax
test ecx, ecx
jne 0x1401923dd
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d4e20
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1401963a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r8
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, 0xaaaaaaaa
lea rdi, [rsp + 0x44]
mov dword [rdi], eax
lea r8, [rsp + 0x40]
mov dword [r8], eax
lea rax, [rsp + 0x3c]
mov dword [rax], 4
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rdi]
xor ecx, 4
or ecx, eax
sete bl
jne 0x140196400
mov eax, dword [rsp + 0x40]
mov dword [rsi], eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400d4e20
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401ac7f0
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [0x1401c7000]
lea r15, [rsp + 0x150]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea r14, [rcx + 0x18]
mov rcx, r14
call fcn.140111250
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, r15
call fcn.1401b5a80
test al, al
je 0x1401ac907
movzx eax, word [rsp + 0x150]
cmp eax, 0x5a4d
jne 0x1401ac8c1
mov rcx, r14
call fcn.140111250
movsxd r14, dword [rsp + 0x18c]
add r14, rax
mov r8d, 0x108
mov rcx, rsi
mov rdx, r14
mov r9, rbx
call fcn.1401b5a80
test al, al
je 0x1401ac993
cmp dword [rbx], 0x4550
jne 0x1401ac9d2
mov sil, 1
test rdi, rdi
je 0x1401ac972
mov qword [rdi], r14
jmp 0x1401ac972
mov ecx, 1
call fcn.140076b30
test al, al
je 0x1401ac970
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.140134ae0
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1401ac947
mov ecx, 1
call fcn.140076b30
test al, al
je 0x1401ac970
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.140134ae0
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.1400d0590
movsx r8, byte [rsi + 0x17]
test r8, r8
jns 0x1401ac95d
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.1400d0590
mov rcx, rdi
call fcn.140134e30
xor esi, esi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.1400d4e20
mov eax, esi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.140076b30
test al, al
je 0x1401ac970
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.140134ae0
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x1401ac941
mov ecx, 1
call fcn.140076b30
test al, al
je 0x1401ac970
lea rdx, str....._third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.140134ae0
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x1401ac947