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

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [0x14024f018]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor edi, edi
cmp r9, 0x30
jbe 0x140195603
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140106490
mov eax, edi
add rsp, 0x68
pop rdi
pop rsi
ret
mov rsi, rcx
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmm2, xmmword [rdx + 0x20]
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x30], xmm0
test r9, r9
je 0x140195637
xor eax, eax
mov cl, byte [r8 + rax]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp r9, rax
jne 0x140195627
xor eax, eax
lea rcx, [0x1402297c0]
mov dl, byte [rax + rcx]
xor byte [rsp + rax + 0x30], dl
inc rax
cmp rax, 0x30
jne 0x140195640
lea r8, [rsi + 0xf8]
mov qword [rsp + 0x20], 0x20
lea rdi, [rsp + 0x30]
mov rcx, rsi
xor edx, edx
mov r9, rdi
call fcn.14018e8f0
mov qword [rsi + 0x100], rax
movaps xmm0, xmmword [rdi + 0x20]
movups xmmword [rsi + 0x108], xmm0
mov qword [rsi + 0x118], 1
mov edi, 1
jmp 0x1401955ed

Function at 0x1401956a0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x14024f018]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ebp, ebp
cmp r8, 0x30
jbe 0x1401956e7
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140106490
mov eax, ebp
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x1402183e0]
lea r14, [rsp + 0x50]
movaps xmmword [r14], xmm0
movaps xmmword [r14 - 0x10], xmm0
movaps xmmword [r14 - 0x20], xmm0
lea r13, [rsp + 0x40]
lea r15, [rcx + 0x108]
lea r12, [rcx + 0xf8]
mov ecx, dword [rcx + 0x114]
call fcn.140113c9c
lea ecx, [rax + 1]
call fcn.140113c9c
mov dword [rsi + 0x114], eax
lea rdx, [rsp + 0x30]
mov rcx, r15
mov r8, rsi
call qword [rsi + 0xf8]
mov ecx, dword [rsi + 0x114]
call fcn.140113c9c
lea ecx, [rax + 1]
call fcn.140113c9c
mov dword [rsi + 0x114], eax
mov rcx, r15
mov rdx, r13
mov r8, rsi
call qword [rsi + 0xf8]
mov ecx, dword [rsi + 0x114]
call fcn.140113c9c
lea ecx, [rax + 1]
call fcn.140113c9c
mov dword [rsi + 0x114], eax
mov rcx, r15
mov rdx, r14
mov r8, rsi
call qword [rsi + 0xf8]
test rbx, rbx
je 0x1401957ad
xor eax, eax
mov cl, byte [rdi + rax]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp rbx, rax
jne 0x14019579e
mov qword [rsp + 0x20], 0x20
lea r9, [rsp + 0x30]
mov rcx, rsi
xor edx, edx
mov r8, r12
call fcn.14018e8f0
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [r14]
movups xmmword [r15], xmm0
mov ebp, 1
jmp 0x1401956c7
Function at 0x14019f730
Capabilities:
Set environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rax, qword [0x14024f018]
xor rax, rsp
mov qword [rsp + 0x88], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
movzx eax, byte [r8 + 0x17]
test al, al
mov rcx, qword [r8]
cmovns rcx, r8
lea rdx, [rsp + 0x60]
mov qword [rdx], rcx
cmovs rax, qword [r8 + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x70]
mov rcx, rsi
call fcn.14004fe40
cmp byte [rsi + 0x17], 0
jns 0x14019f78b
mov rsi, qword [rsp + 0x70]
movaps xmm0, xmmword [rsp + 0x20]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x48]
mov rcx, rdi
call fcn.14004fe40
cmp byte [rdi + 0x17], 0
jns 0x14019f7b0
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esi, eax
cmp byte [rsp + 0x5f], 0
jns 0x14019f7cf
mov rcx, qword [rsp + 0x48]
call fcn.140105bb4
cmp byte [rsp + 0x87], 0
jns 0x14019f7e3
mov rcx, qword [rsp + 0x70]
call fcn.140105bb4
test esi, esi
setne bl
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140106490
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x1401a2b80
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r15, r8
mov r12, rdx
mov rdi, rcx
lea r14, [rcx + 0x38]
mov rcx, qword [rcx + 0x38]
test rcx, rcx
jne 0x1401a2c1d
lea rbx, [rdi + 0x30]
mov rcx, qword [rdi + 0x30]
test rcx, rcx
jne 0x1401a2c2f
mov qword [rsp + 0x20], rbx
lea rcx, [0x140205210]
lea r9, [0x14022e6f0]
xor edx, edx
mov r8d, 0x17
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rsi, qword [rbx]
test eax, eax
js 0x1401a2c41
mov rcx, qword [r14]
test rcx, rcx
jne 0x1401a2c55
mov rax, qword [rsi]
mov rcx, rsi
mov rdx, r14
call qword [rax + 0x90]
test eax, eax
js 0x1401a2c67
mov rcx, rdi
mov rdx, r12
call fcn.140048960
add rdi, 0x18
mov rcx, rdi
mov rdx, r15
call fcn.140049590
mov al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov qword [r14], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1401a2ba3
mov qword [rbx], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1401a2bb0
test rsi, rsi
je 0x1401a2c7c
mov qword [rbx], 0
mov rax, qword [rsi]
mov rcx, rsi
jmp 0x1401a2c79
mov qword [r14], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1401a2be0
mov rcx, qword [r14]
test rcx, rcx
je 0x1401a2c7c
mov qword [r14], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
jmp 0x1401a2c0f
Function at 0x1401aae40
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 [0x14024f018]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x14025ec88]
mov ecx, dword [0x140256f3c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401ab0d5
mov rax, qword [0x14025ec80]
test rax, rax
jne 0x1401aaf80
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [0x1402183e0]
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.1401ab120
test al, al
je 0x1401aaffa
cmp byte [rsi + 0x80], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
je 0x1401ab0cb
call fcn.140098690
test al, al
je 0x1401ab066
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.140097c90
mov sil, 1
test al, al
jne 0x1401ab049
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x1401ab047
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.14004bc40
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x1401ab03a
lea rdx, [rsp + 0x174]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call rax
test eax, eax
jne 0x1401ab0a8
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x1401aae9b
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.140157100
lea rcx, [rsp + 0x40]
lea rdx, [0x14022b378]
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.1400e7690
mov rcx, rbx
call fcn.140157180
jmp 0x1401aae9b
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x1401ab047
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.14004bc40
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
call fcn.1400e7690
mov rcx, rsi
call fcn.14004c0e0
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140106490
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x1401ab047
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.14004bc40
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
jmp 0x1401ab03a
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x1401aaea2
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x1401aaed7
call fcn.140098d30
jmp 0x1401aaf13
lea rcx, [0x14025ec88]
call fcn.140105cd0
cmp dword [0x14025ec88], 0xffffffff
jne 0x1401aae8b
lea rcx, [0x14021eb46]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.14009a380
mov qword [0x14025ec80], rax
lea rcx, [0x14025ec88]
call fcn.140105d68
jmp 0x1401aae8b
Function at 0x1401ac970
Capabilities:
Check os version

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov rsi, rcx
mov rax, qword [0x14024f018]
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 0x1401aca4c
and eax, 0xfeff
cmp eax, 6
je 0x1401aca4c
mov eax, dword [0x14025ed18]
mov ecx, dword [0x140256f3c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x1401aca13
lea rcx, [0x14025ed18]
call fcn.140105cd0
cmp dword [0x14025ed18], 0xffffffff
jne 0x1401aca13
lea rcx, [0x14021eb46]
lea rdx, str.::InitializeCriticalSectionEx
mov r8b, 1
call fcn.14009a380
mov qword [0x14025ed10], rax
lea rcx, [0x14025ed18]
call fcn.140105d68
mov rcx, rsi
xor edx, edx
mov r8d, 0x10000000
call qword [0x14025ed10]
mov esi, eax
test eax, eax
je 0x1401aca59
test esi, esi
setne bl
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140106490
mov eax, ebx
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov bl, 1
jmp 0x1401aca2f
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x1401aca2a
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 rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x21
mov r9d, 2
call fcn.140157100
lea rcx, [rsp + 0x38]
lea rdx, [0x1402301cc]
mov r8d, 0x1b
call fcn.1400e7690
mov rcx, rdi
call fcn.140157180
jmp 0x1401aca2a

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x14024f018]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x1401ad11a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401ad15b
mov edi, eax
test bl, bl
jne 0x1401ad213
mov eax, edi
and eax, 0x400
je 0x1401ad213
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140106490
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x1401ad13c
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x81
mov r9d, 2
call fcn.140157100
lea rcx, [rsp + 0x68]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400e7690
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x30]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x40]
mov rcx, rsi
call fcn.1400f0680
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1401ad1e8
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.1400e7690
cmp byte [rsp + 0x57], 0
jns 0x1401ad204
mov rcx, qword [rsp + 0x40]
call fcn.140105bb4
lea rcx, [rsp + 0x58]
call fcn.140157180
jmp 0x1401ad13c
and edi, 0x10
shr edi, 4
jmp 0x1401ad13e
Function at 0x1401ad220
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x14024f018]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
cmp byte [rcx + 0x17], 0
jns 0x1401ad24b
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
je 0x1401ad277
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140106490
mov eax, edi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
ret
test bl, bl
je 0x1401ad28c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1401ad359
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x1401ad352
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x40]
mov r8d, 0x61
mov r9d, 2
call fcn.140157100
lea rcx, [rsp + 0x50]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.1400e7690
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x30]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x190]
mov rcx, rsi
call fcn.1400f0680
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1401ad326
mov r8, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
mov rcx, rdi
mov rdx, rsi
call fcn.1400e7690
cmp byte [rsp + 0x1a7], 0
jns 0x1401ad348
mov rcx, qword [rsp + 0x190]
call fcn.140105bb4
lea rcx, [rsp + 0x40]
call fcn.140157180
xor edi, edi
jmp 0x1401ad25a
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.1401ad0f0
test al, al
jne 0x1401ad25a
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x1401ad352
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x40]
mov r8d, 0x5c
mov r9d, 2
call fcn.14004bc40
lea rdi, [rsp + 0x50]
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x180]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x190]
mov rcx, rsi
call fcn.1400f0680
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1401ad3e9
mov r8, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
mov rcx, rdi
mov rdx, rsi
call fcn.1400e7690
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.1400e7690
cmp byte [rsp + 0x1a7], 0
jns 0x1401ad420
mov rcx, qword [rsp + 0x190]
call fcn.140105bb4
lea rcx, [rsp + 0x40]
call fcn.14004c0e0
jmp 0x1401ad352
Function at 0x1401ad430
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x14024f018]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x1401ad457
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401ad487
test eax, 0x410
sete sil
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140106490
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x1401ad53e
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x74
mov r9d, 2
call fcn.140157100
lea rcx, [rsp + 0x60]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400e7690
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.1400f0680
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1401ad518
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.1400e7690
cmp byte [rsp + 0x4f], 0
jns 0x1401ad534
mov rcx, qword [rsp + 0x38]
call fcn.140105bb4
lea rcx, [rsp + 0x50]
call fcn.140157180
xor esi, esi
jmp 0x1401ad46b

Function at 0x1401ad550
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x14024f018]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x1401ad577
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401ad592
and eax, 0x410
cmp eax, 0x410
je 0x1401ad685
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1401ad59e
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
je 0x1401ad5c7
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140106490
mov eax, edi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x1401ad67e
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x94
mov r9d, 2
call fcn.140157100
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, ntohl
call fcn.1400e7690
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.1400f0680
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1401ad658
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.1400e7690
cmp byte [rsp + 0x4f], 0
jns 0x1401ad674
mov rcx, qword [rsp + 0x38]
call fcn.140105bb4
lea rcx, [rsp + 0x50]
call fcn.140157180
xor edi, edi
jmp 0x1401ad5ab
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140106490
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.1401ad6b0
Function at 0x1401ad6b0
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, rcx
mov rax, qword [0x14024f018]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x1401ad6d8
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test eax, eax
je 0x1401ad706
test esi, esi
setne bl
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140106490
mov eax, ebx
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x1401ad6e4
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x2f
mov r9d, 2
call fcn.140157100
lea rcx, [rsp + 0x68]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.1400e7690
mov rbx, rax
movzx eax, byte [rdi + 0x17]
test al, al
mov rcx, qword [rdi]
cmovns rcx, rdi
lea rdx, [rsp + 0x30]
mov qword [rdx], rcx
cmovs rax, qword [rdi + 8]
mov qword [rdx + 8], rax
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.1400f0680
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x1401ad793
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov rcx, rbx
mov rdx, rdi
call fcn.1400e7690
cmp byte [rsp + 0x57], 0
jns 0x1401ad7af
mov rcx, qword [rsp + 0x40]
call fcn.140105bb4
lea rcx, [rsp + 0x58]
call fcn.140157180
jmp 0x1401ad6e4

Function at 0x1401b0c50
Capabilities:
Enumerate processes

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rcx
lea rsi, [rcx + 0x18]
mov r8d, 0x238
mov rcx, rsi
xor edx, edx
call fcn.140109290
mov dword [rdi + 0x18], 0x238
cmp byte [rdi + 0x10], 0
je 0x1401b0c92
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
mov byte [rdi + 0x10], 1
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x1401b0c86

Function at 0x1401bcef0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x1401bcf2c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1401bcf36
add rdi, rbx
sub rsi, rbx
jne 0x1401bcf0a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140119940
int3
Function at 0x1401ef740
Capabilities:
Parse pe header

Disassembly:
cmp rdx, 0x40
jb 0x1401ef78b
cmp byte [rcx], 0x4d
jne 0x1401ef78b
cmp byte [rcx + 1], 0x5a
jne 0x1401ef78b
mov r9d, dword [rcx + 0x3c]
xor eax, eax
test r9b, 7
jne 0x1401ef78d
cmp r9d, 0x40
jb 0x1401ef78d
cmp r9, rdx
jae 0x1401ef78d
mov r10, rdx
sub r10, r9
cmp r10, 0x18
jb 0x1401ef78d
cmp byte [rcx + r9], 0x50
jne 0x1401ef78b
cmp byte [rcx + r9 + 1], 0x45
jne 0x1401ef78b
cmp byte [rcx + r9 + 2], 0
je 0x1401ef78e
xor eax, eax
ret
cmp byte [rcx + r9 + 3], 0
jne 0x1401ef78b
add r9, 0x18
xor eax, eax
sub rdx, r9
jbe 0x1401ef78d
cmp rdx, 2
jb 0x1401ef78d
cmp word [rcx + r9], r8w
sete al
jmp 0x1401ef78d
Function at 0x1401ffc80
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov rax, qword [0x14024f018]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [0x1402183e0]
lea rbx, [rsp + 0x160]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdi, [rcx + 0x18]
mov rcx, rdi
call fcn.140136630
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, rbx
call fcn.140202c30
test al, al
je 0x1401ffd47
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x1401ffdd3
mov rcx, rdi
call fcn.140136630
movsxd rdi, dword [rsp + 0x19c]
add rdi, rax
mov r8d, 0x108
mov rcx, rsi
mov rdx, rdi
mov r9, r15
call fcn.140202c30
test al, al
je 0x1401ffe18
cmp dword [r15], 0x4550
jne 0x1401ffe57
mov sil, 1
test r14, r14
je 0x1401ffdb2
mov qword [r14], rdi
jmp 0x1401ffdb2
mov ecx, 1
call fcn.14004bc00
test al, al
je 0x1401ffdb0
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.14004bc40
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.1400e7690
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1401ffd9d
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.1400e7690
mov rcx, rdi
call fcn.14004c0e0
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140106490
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.14004bc00
test al, al
je 0x1401ffdb0
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.14004bc40
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1401ffd87
mov ecx, 1
call fcn.14004bc00
test al, al
je 0x1401ffdb0
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.14004bc40
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x1401ffd81
mov ecx, 1
call fcn.14004bc00
test al, al
je 0x1401ffdb0
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.14004bc40
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x1401ffd87