joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140189d50
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 [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x140226578]
mov ecx, dword [0x14021ef3c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140189fe5
mov rax, qword [0x140226570]
test rax, rax
jne 0x140189e90
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [0x1401e90c0]
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.14018a030
test al, al
je 0x140189f0a
cmp byte [rsi + 0x80], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
je 0x140189fdb
call fcn.140096280
test al, al
je 0x140189f76
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.140095870
mov sil, 1
test al, al
jne 0x140189f59
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x140189f57
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.14004a130
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x140189f4a
lea rdx, [rsp + 0x174]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call rax
test eax, eax
jne 0x140189fb8
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x140189dab
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.14015f200
lea rcx, [rsp + 0x40]
lea rdx, [0x1401fa220]
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.1400dd7e0
mov rcx, rbx
call fcn.14015f280
jmp 0x140189dab
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x140189f57
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.14004a130
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
call fcn.1400dd7e0
mov rcx, rsi
call fcn.14004a5c0
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140111870
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x140189f57
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.14004a130
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
jmp 0x140189f4a
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x140189db2
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x140189de7
call fcn.140096920
jmp 0x140189e23
lea rcx, [0x140226578]
call fcn.140110b10
cmp dword [0x140226578], 0xffffffff
jne 0x140189d9b
lea rcx, [0x1401ef616]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.140098380
mov qword [0x140226570], rax
lea rcx, [0x140226578]
call fcn.140110ba8
jmp 0x140189d9b
Function at 0x14018bc20
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 [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x14018bc4a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14018bc8b
mov edi, eax
test bl, bl
jne 0x14018bd43
mov eax, edi
and eax, 0x400
je 0x14018bd43
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140111870
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x14018bc6c
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.14015f200
lea rcx, [rsp + 0x68]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400dd7e0
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.1400edb80
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14018bd18
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.1400dd7e0
cmp byte [rsp + 0x57], 0
jns 0x14018bd34
mov rcx, qword [rsp + 0x40]
call fcn.1401109f8
lea rcx, [rsp + 0x58]
call fcn.14015f280
jmp 0x14018bc6c
and edi, 0x10
shr edi, 4
jmp 0x14018bc6e
Function at 0x14018bd50
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
cmp byte [rcx + 0x17], 0
jns 0x14018bd7b
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
je 0x14018bda7
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140111870
mov eax, edi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
ret
test bl, bl
je 0x14018bdbc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14018be89
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x14018be82
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.14015f200
lea rcx, [rsp + 0x50]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.1400dd7e0
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.1400edb80
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14018be56
mov r8, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
mov rcx, rdi
mov rdx, rsi
call fcn.1400dd7e0
cmp byte [rsp + 0x1a7], 0
jns 0x14018be78
mov rcx, qword [rsp + 0x190]
call fcn.1401109f8
lea rcx, [rsp + 0x40]
call fcn.14015f280
xor edi, edi
jmp 0x14018bd8a
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.14018bc20
test al, al
jne 0x14018bd8a
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x14018be82
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x40]
mov r8d, 0x5c
mov r9d, 2
call fcn.14004a130
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.1400edb80
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14018bf19
mov r8, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
mov rcx, rdi
mov rdx, rsi
call fcn.1400dd7e0
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.1400dd7e0
cmp byte [rsp + 0x1a7], 0
jns 0x14018bf50
mov rcx, qword [rsp + 0x190]
call fcn.1401109f8
lea rcx, [rsp + 0x40]
call fcn.14004a5c0
jmp 0x14018be82
Function at 0x14018bf60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rsi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x14018bf88
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14018bfb8
test eax, 0x410
sete bl
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140111870
mov eax, ebx
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x14018c06f
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, 0x74
mov r9d, 2
call fcn.14015f200
lea rcx, [rsp + 0x68]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400dd7e0
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.1400edb80
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14018c049
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.1400dd7e0
cmp byte [rsp + 0x57], 0
jns 0x14018c065
mov rcx, qword [rsp + 0x40]
call fcn.1401109f8
lea rcx, [rsp + 0x58]
call fcn.14015f280
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140111870
xor eax, eax
jmp 0x14018bfad

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

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x14018c0b7
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14018c0d2
and eax, 0x410
cmp eax, 0x410
je 0x14018c1c5
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14018c0de
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
je 0x14018c107
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140111870
mov eax, edi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x14018c1be
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.14015f200
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, ntohl
call fcn.1400dd7e0
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.1400edb80
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14018c198
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.1400dd7e0
cmp byte [rsp + 0x4f], 0
jns 0x14018c1b4
mov rcx, qword [rsp + 0x38]
call fcn.1401109f8
lea rcx, [rsp + 0x50]
call fcn.14015f280
xor edi, edi
jmp 0x14018c0eb
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140111870
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.14018c1f0
Function at 0x14018c1f0
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x14018c218
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test eax, eax
je 0x14018c246
test esi, esi
setne bl
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140111870
mov eax, ebx
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x14018c224
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.14015f200
lea rcx, [rsp + 0x68]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.1400dd7e0
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.1400edb80
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x14018c2d3
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov rcx, rbx
mov rdx, rdi
call fcn.1400dd7e0
cmp byte [rsp + 0x57], 0
jns 0x14018c2ef
mov rcx, qword [rsp + 0x40]
call fcn.1401109f8
lea rcx, [rsp + 0x58]
call fcn.14015f280
jmp 0x14018c224

Function at 0x1401915e0
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.140114200
mov dword [rdi + 0x18], 0x238
cmp byte [rdi + 0x10], 0
je 0x140191622
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 0x140191616
Function at 0x1401b1290
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r14, rcx
test r8d, r8d
jne 0x1401b12be
movabs rax, 0x100000001
mov qword [r14], rax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov r15d, r8d
mov dword [r14], 0
test dl, 1
jne 0x1401b12df
xor ebx, ebx
movzx edx, dx
shr edx, 1
inc ebx
mov ebp, edx
test dl, 1
je 0x1401b12cf
jmp 0x1401b12e4
movzx ebp, dx
xor ebx, ebx
bsr ecx, ebp
xor ecx, 0x1f
mov eax, 0x20
sub eax, ecx
imul eax, r15d
cmp eax, 0xde3
jg 0x1401b13e1
mov eax, 1
mov esi, eax
lea eax, [rsi + rsi]
cmp esi, r15d
jle 0x1401b1305
or cl, 0x20
mov r8, 0xffffffffffffffff
shl r8, cl
sar esi, 2
movzx r10d, dx
xor eax, eax
test esi, esi
jne 0x1401b13a0
xor esi, esi
mov rcx, r10
mov dword [r14], 0
test rcx, rcx
je 0x1401b1359
xor edx, edx
mov edi, ecx
and edi, 0xfffffff
mov dword [r14 + rdx*4 + 4], edi
shr rcx, 0x1c
inc rdx
test rcx, rcx
jne 0x1401b133c
mov word [r14], dx
test al, 1
je 0x1401b1367
mov rcx, r14
mov edx, ebp
call fcn.1401b0fb0
test esi, esi
je 0x1401b1386
mov rcx, r14
call fcn.1401b1100
test esi, r15d
je 0x1401b1382
mov rcx, r14
mov edx, ebp
call fcn.1401b0fb0
sar esi, 1
jne 0x1401b136b
imul ebx, r15d
mov rcx, r14
mov edx, ebx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.1401b0f00
xor eax, eax
mov r9d, 1
mov rcx, r10
imul rcx, rcx
test esi, r15d
je 0x1401b13cb
test rcx, r8
mov edx, 1
cmove rdx, r10
movzx eax, al
cmovne eax, r9d
imul rcx, rdx
sar esi, 1
je 0x1401b132e
mov rdx, rcx
shr rdx, 0x20
je 0x1401b13ab
jmp 0x1401b132e
call fcn.14017ce20
int3

Function at 0x1401bea00
Capabilities:
Parse pe header

Disassembly:
cmp rdx, 0x40
jb 0x1401bea4b
cmp byte [rcx], 0x4d
jne 0x1401bea4b
cmp byte [rcx + 1], 0x5a
jne 0x1401bea4b
mov r9d, dword [rcx + 0x3c]
xor eax, eax
test r9b, 7
jne 0x1401bea4d
cmp r9d, 0x40
jb 0x1401bea4d
cmp r9, rdx
jae 0x1401bea4d
mov r10, rdx
sub r10, r9
cmp r10, 0x18
jb 0x1401bea4d
cmp byte [rcx + r9], 0x50
jne 0x1401bea4b
cmp byte [rcx + r9 + 1], 0x45
jne 0x1401bea4b
cmp byte [rcx + r9 + 2], 0
je 0x1401bea4e
xor eax, eax
ret
cmp byte [rcx + r9 + 3], 0
jne 0x1401bea4b
add r9, 0x18
xor eax, eax
sub rdx, r9
jbe 0x1401bea4d
cmp rdx, 2
jb 0x1401bea4d
cmp word [rcx + r9], r8w
sete al
jmp 0x1401bea4d
Function at 0x1401d0220
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 [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [0x1401e90c0]
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.1401415f0
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, rbx
call fcn.1401d31f0
test al, al
je 0x1401d02e7
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x1401d0373
mov rcx, rdi
call fcn.1401415f0
movsxd rdi, dword [rsp + 0x19c]
add rdi, rax
mov r8d, 0x108
mov rcx, rsi
mov rdx, rdi
mov r9, r15
call fcn.1401d31f0
test al, al
je 0x1401d03b8
cmp dword [r15], 0x4550
jne 0x1401d03f7
mov sil, 1
test r14, r14
je 0x1401d0352
mov qword [r14], rdi
jmp 0x1401d0352
mov ecx, 1
call fcn.1400e83a0
test al, al
je 0x1401d0350
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.14004a130
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.1400dd7e0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1401d033d
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.1400dd7e0
mov rcx, rdi
call fcn.14004a5c0
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140111870
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.1400e83a0
test al, al
je 0x1401d0350
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.14004a130
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1401d0327
mov ecx, 1
call fcn.1400e83a0
test al, al
je 0x1401d0350
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.14004a130
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x1401d0321
mov ecx, 1
call fcn.1400e83a0
test al, al
je 0x1401d0350
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.14004a130
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x1401d0327
Function at 0x1401d0440
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 [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [0x1401e90c0]
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.1401415f0
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, rbx
call fcn.1401d31f0
test al, al
je 0x1401d0507
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x1401d0593
mov rcx, rdi
call fcn.1401415f0
movsxd rdi, dword [rsp + 0x19c]
add rdi, rax
mov r8d, 0xf8
mov rcx, rsi
mov rdx, rdi
mov r9, r15
call fcn.1401d31f0
test al, al
je 0x1401d05d8
cmp dword [r15], 0x4550
jne 0x1401d0617
mov sil, 1
test r14, r14
je 0x1401d0572
mov qword [r14], rdi
jmp 0x1401d0572
mov ecx, 1
call fcn.1400e83a0
test al, al
je 0x1401d0570
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.14004a130
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
call fcn.1400dd7e0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1401d055d
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
mov rcx, rax
mov rdx, rsi
call fcn.1400dd7e0
mov rcx, rdi
call fcn.14004a5c0
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140111870
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.1400e83a0
test al, al
je 0x1401d0570
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.14004a130
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x1401d0547
mov ecx, 1
call fcn.1400e83a0
test al, al
je 0x1401d0570
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.14004a130
lea rcx, [rsp + 0x38]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x1401d0541
mov ecx, 1
call fcn.1400e83a0
test al, al
je 0x1401d0570
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.14004a130
lea rcx, [rsp + 0x38]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
jmp 0x1401d0547
Function at 0x5fb1b0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x5fb1bd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x5fb1cd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x5fb1b5
lea eax, [rcx + 1]
jmp 0x5fb1db
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x5fb1ee
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x5fb1d4
sub eax, 3
jb 0x5fb20e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x5fb25d
sar eax, 1
movsxd rbp, eax
jb 0x5fb244
jmp 0x5fb21c
add ebx, ebx
jne 0x5fb21a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x5fb244
inc ecx
add ebx, ebx
jne 0x5fb22a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x5fb244
call r11
adc ecx, ecx
add ebx, ebx
jne 0x5fb23d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x5fb22c
add ecx, 2
jmp 0x5fb249
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.005fb172
jmp 0x5fb1bd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xae600
mov dl, 0x1e
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x5fb2a9
cmp rsi, rcx
jae 0x5fb2b1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x5fb290
cmp al, 0x8f
ja 0x5fb290
cmp byte [rsi - 2], 0xf
je 0x5fb296
sub al, 0xe8
cmp al, 1
ja 0x5fb27a
cmp rsi, rcx
jae 0x5fb2b1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x5fb280
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x5fb2b1
lodsb al, byte [rsi]
jmp 0x5fb290
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1f7000]
mov eax, dword [rdi]
or eax, eax
je 0x5fb30e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1fb000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x5fb2be
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x5fb308
mov qword [rbx], rax
add rbx, 8
jmp 0x5fb2de
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x5fb348
cmp al, 0xef
ja 0x5fb33a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x5fb31a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x5fb329
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x5fb39c
sub rsp, 0xffffffffffffff80
jmp 0x471ba0