joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400edaba
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov r13d, ecx
mov rax, qword [0x1401af6a8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea eax, [r13 - 5]
mov ebp, 5
cmp eax, 1
ja 0x1400edc7f
mov rbx, r8
mov r15, rdx
mov rbp, qword [rsp + 0x130]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
xor r12d, r12d
mov qword [rsp + 0xb0], r12
mov dword [rsp + 0x50], 0x68
test byte [r9], 1
je 0x1400edb4b
mov r9, qword [r9 + 0x10]
jmp 0x1400edb4f
add r9, 2
mov rcx, r9
call fcn.140143094
mov r14, rax
movzx eax, byte [rbp]
test al, 1
je 0x1400edb6c
mov rax, qword [rbp + 8]
mov rbp, qword [rbp + 0x10]
jmp 0x1400edb73
add rbp, 2
shr rax, 1
mov rsi, qword [rsp + 0x138]
test rax, rax
cmove rbp, rax
test byte [rbx], 1
je 0x1400edb8d
mov rbx, qword [rbx + 0x10]
jmp 0x1400edb91
add rbx, 2
mov r15, qword [r15]
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebp, 5
test eax, eax
je 0x1400edc72
cmp r13d, 6
mov r12d, 0x1fffff
mov edi, 0x101c01
cmove edi, r12d
mov rbx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
mov rcx, rax
mov rdx, rbx
mov r8, r15
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov rbx, qword [rsi + 8]
test eax, eax
je 0x1400edc69
add rsi, 8
cmp r13d, 6
mov edi, 0x100c43
cmove edi, r12d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
mov rcx, rax
mov rdx, rbx
mov r8, r15
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ecx, ecx
test eax, eax
sete cl
lea ebp, [rcx + rcx*4]
jmp 0x1400edc72
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14, r14
je 0x1400edc7f
mov rcx, r14
call fcn.140041f30
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14012d670
mov eax, ebp
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400edca6
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 0x1400edd3e
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 0x1400f085c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov r12, rcx
mov rax, qword [0x1401af6a8]
xor rax, rsp
mov qword [rsp + 0xa8], rax
test dl, dl
je 0x1400f08e8
lea rax, [0x140107040]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
lea rdi, [0x14017ad20]
lea r8, str.NtMapViewOfSection
mov rcx, r12
mov rdx, rdi
mov r9d, 1
call fcn.1400f027c
lea rax, [0x1401070b0]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 1
lea r8, str.NtUnmapViewOfSection
mov rcx, r12
mov rdx, rdi
mov r9d, 1
call fcn.1400f027c
jmp 0x1400f08f4
cmp qword [r12 + 0x18], 0
je 0x1400f0a93
mov rax, qword [r12]
mov r14, qword [rax]
mov dword [rsp + 0x20], 1
mov r13, qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r8d, 0x10000
mov rcx, r14
xor edx, edx
mov r9d, 0x2000
call r13
mov rdi, rax
mov rsi, qword [r12 + 0x18]
shl rsi, 6
lea r15, [rsi + 0x60]
mov rcx, r15
call fcn.1400f00e4
mov rbx, rax
mov rax, 0xfffffffffffff000
mov rcx, rbx
and rcx, rax
lea rdx, [rcx + rdi]
and ebx, 0xfff
add rsi, 0x105f
and rsi, rax
mov dword [rsp + 0x20], 0x40
mov rcx, r14
mov r8, rsi
mov r9d, 0x1000
call r13
mov rdi, rax
test rax, rax
jne 0x1400f09aa
lea rdx, str..._.._sandbox_win_src_interception.cc
lea r9, str.thunk_base
lea rsi, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0x189
call fcn.140024e50
mov rcx, rsi
call fcn.140024ee0
mov rcx, rsi
call fcn.140024ef0
add rdi, rbx
movaps xmm0, xmmword [section..rdata]
lea rsi, [rsp + 0x48]
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x50], xmm0
movups xmmword [rsi + 0x40], xmm0
movups xmmword [rsi + 0x30], xmm0
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi], r15
mov dword [rsi + 0x18], 0
mov qword [rsi + 8], 0x20
lea rcx, [0x1401b5410]
mov r8d, 0x150
xor edx, edx
call fcn.140130ac0
mov rcx, r12
mov rdx, rdi
mov r8, r15
mov r9, rsi
call fcn.1400f0d5e
mov ebx, eax
test eax, eax
jne 0x1400f0a95
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x40]
mov qword [rcx], rax
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x48]
mov r9d, 0x20
mov rcx, r14
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ebx, 0x2a
test eax, eax
je 0x1400f0a95
cmp qword [rsp + 0x40], 0x20
jne 0x1400f0a95
lea rax, [rsp + 0x3c]
mov dword [rax], 0xaaaaaaaa
mov qword [rsp + 0x20], rax
mov rcx, r14
mov rdx, rdi
mov r8, r15
mov r9d, 0x20
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [r12]
lea rdx, str.g_originals
lea r8, [0x1401b5410]
mov r9d, 0x150
call fcn.1400ccc70
mov ebx, eax
jmp 0x1400f0a95
xor ebx, ebx
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14012d670
mov eax, ebx
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400f24d0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov eax, dword [0x1401b5588]
mov ecx, dword [0x1401b2730]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f2553
lea rcx, [0x1401b5580]
call fcn.14005bdf0
test rax, rax
jne 0x1400f2542
mov ecx, 4
call fcn.14012d2c8
mov rsi, rax
mov dword [rax], 0
lea rcx, [0x1401b5580]
call fcn.14005bdf0
test rax, rax
je 0x1400f2533
mov rcx, rax
call fcn.14012d304
lea rcx, [0x1401b5580]
mov rdx, rsi
call fcn.14005be30
lea rcx, [0x1401b5580]
add rsp, 0x20
pop rsi
jmp fcn.14005bdf0
lea rcx, [0x1401b5588]
call fcn.14012d420
cmp dword [0x1401b5588], 0xffffffff
jne 0x1400f24f6
mov qword [0x1401b5580], 0
lea rcx, [0x1401b5580]
lea rdx, [0x1400246a0]
call fcn.14005be80
lea rcx, [0x1401b5588]
call fcn.14012d4b8
jmp 0x1400f24f6
Function at 0x1400f3ff0
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
jmp 0x140108084
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 0x1401080b3
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401080ec
and eax, 0x410
cmp eax, 0x410
jne 0x1401080ec
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14012d670
mov rcx, rsi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
jmp 0x1401081ea
test byte [rsi], 1
mov rcx, rbx
je 0x1401080f8
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
jne 0x1401081cd
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1401081cb
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.14002d550
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, 0xb
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 0x1401081a0
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
jmp 0x1401081a8
shr r8, 1
lea rdx, [rsp + 0x39]
mov rcx, rdi
call fcn.140001e21
test byte [rsp + 0x38], 1
je 0x1401081c1
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
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 0x140108219
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dil, 1
test eax, eax
jne 0x1401082ee
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1401082ec
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, 0x2f
mov r9d, 2
call fcn.14002d550
lea rcx, [rsp + 0x60]
lea rdx, str.RemoveDirectory
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 0x1401082c1
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
jmp 0x1401082c9
shr r8, 1
lea rdx, [rsp + 0x39]
mov rcx, rdi
call fcn.140001e21
test byte [rsp + 0x38], 1
je 0x1401082e2
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 0x1400f6b80
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x1a0
mov rax, qword [0x1401af6a8]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [section..rdata]
lea rsi, [rsp + 0x160]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsi + 0x20], 0x100
jb 0x1400f6c13
mov ecx, 1
call fcn.14002c580
test al, al
je 0x1400f6c13
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_system_snapshot_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0xb1
mov r9d, 1
call fcn.14002c620
lea rcx, [rsp + 0x30]
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov r8d, 0x2c
call fcn.140001e21
mov rcx, rsi
call fcn.14002cae0
mov eax, dword [rsp + 0x180]
cmp eax, 0x100
mov esi, 0xff
cmovb esi, eax
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14012d670
mov eax, esi
add rsp, 0x1a0
pop rsi
ret
Function at 0x140106c44
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub rsp, 0x28
mov edx, 4
call sub.ADVAPI32.dll_SystemFunction036
test al, al
setne al
add rsp, 0x28
ret
Function at 0x140108084
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
jmp 0x140108084
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 0x1401080b3
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401080ec
and eax, 0x410
cmp eax, 0x410
jne 0x1401080ec
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14012d670
mov rcx, rsi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
jmp 0x1401081ea
test byte [rsi], 1
mov rcx, rbx
je 0x1401080f8
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
jne 0x1401081cd
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1401081cb
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.14002d550
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, 0xb
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 0x1401081a0
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
jmp 0x1401081a8
shr r8, 1
lea rdx, [rsp + 0x39]
mov rcx, rdi
call fcn.140001e21
test byte [rsp + 0x38], 1
je 0x1401081c1
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
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 0x140108219
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dil, 1
test eax, eax
jne 0x1401082ee
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1401082ec
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, 0x2f
mov r9d, 2
call fcn.14002d550
lea rcx, [rsp + 0x60]
lea rdx, str.RemoveDirectory
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 0x1401082c1
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
jmp 0x1401082c9
shr r8, 1
lea rdx, [rsp + 0x39]
mov rcx, rdi
call fcn.140001e21
test byte [rsp + 0x38], 1
je 0x1401082e2
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 0x1401081ea
Capabilities:
Delete directory

Disassembly:
jmp 0x140108084
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 0x1401080b3
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401080ec
and eax, 0x410
cmp eax, 0x410
jne 0x1401080ec
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14012d670
mov rcx, rsi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
jmp 0x1401081ea
test byte [rsi], 1
mov rcx, rbx
je 0x1401080f8
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
jne 0x1401081cd
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1401081cb
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.14002d550
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, 0xb
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 0x1401081a0
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
jmp 0x1401081a8
shr r8, 1
lea rdx, [rsp + 0x39]
mov rcx, rdi
call fcn.140001e21
test byte [rsp + 0x38], 1
je 0x1401081c1
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
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 0x140108219
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dil, 1
test eax, eax
jne 0x1401082ee
mov ecx, 2
call fcn.14002c580
test al, al
je 0x1401082ec
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, 0x2f
mov r9d, 2
call fcn.14002d550
lea rcx, [rsp + 0x60]
lea rdx, str.RemoveDirectory
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 0x1401082c1
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
jmp 0x1401082c9
shr r8, 1
lea rdx, [rsp + 0x39]
mov rcx, rdi
call fcn.140001e21
test byte [rsp + 0x38], 1
je 0x1401082e2
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 0x14010c69a
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 [0x1401af6a8]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [section..rdata]
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.14010d148
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, rbx
call fcn.140117c1a
test al, al
je 0x14010c768
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x14010c7b1
mov rcx, rdi
call fcn.14010d148
movsxd rdi, dword [rsp + 0x19c]
add rdi, rax
mov r8d, 0x108
mov rcx, rsi
mov rdx, rdi
mov r9, r15
call fcn.140117c1a
test al, al
je 0x14010c7fa
cmp dword [r15], 0x4550
jne 0x14010c83d
mov sil, 1
test r14, r14
je 0x14010c8b1
mov qword [r14], rdi
jmp 0x14010c8b1
mov ecx, 1
call fcn.14002c580
test al, al
je 0x14010c8af
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.14002c620
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
jmp 0x14010c87d
mov ecx, 1
call fcn.14002c580
test al, al
je 0x14010c8af
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.14002c620
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x14010c87d
mov ecx, 1
call fcn.14002c580
test al, al
je 0x14010c8af
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.14002c620
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x14010c7a6
mov ecx, 1
call fcn.14002c580
test al, al
je 0x14010c8af
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.14002c620
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
call fcn.140001e21
movzx r8d, byte [rsi]
test r8b, 1
je 0x14010c896
mov r8, qword [rsi + 8]
mov rsi, qword [rsi + 0x10]
jmp 0x14010c89c
shr r8, 1
inc rsi
mov rcx, rax
mov rdx, rsi
call fcn.140001e21
mov rcx, rdi
call fcn.14002cae0
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.14012d670
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14010c8d2
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 [0x1401af6a8]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
movaps xmm0, xmmword [section..rdata]
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.14010d148
mov r8d, 0x40
mov rcx, rsi
mov rdx, rax
mov r9, rbx
call fcn.140117c1a
test al, al
je 0x14010c9a0
movzx eax, word [rsp + 0x160]
cmp eax, 0x5a4d
jne 0x14010c9e9
mov rcx, rdi
call fcn.14010d148
movsxd rdi, dword [rsp + 0x19c]
add rdi, rax
mov r8d, 0xf8
mov rcx, rsi
mov rdx, rdi
mov r9, r15
call fcn.140117c1a
test al, al
je 0x14010ca32
cmp dword [r15], 0x4550
jne 0x14010ca75
mov sil, 1
test r14, r14
je 0x14010cae9
mov qword [r14], rdi
jmp 0x14010cae9
mov ecx, 1
call fcn.14002c580
test al, al
je 0x14010cae7
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x154
mov r9d, 1
call fcn.14002c620
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_dos_header_from
mov r8d, 0x1f
jmp 0x14010cab5
mov ecx, 1
call fcn.14002c580
test al, al
je 0x14010cae7
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x15a
mov r9d, 1
call fcn.14002c620
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_e_magic_in_dos_header_of
mov r8d, 0x21
jmp 0x14010cab5
mov ecx, 1
call fcn.14002c580
test al, al
je 0x14010cae7
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x162
mov r9d, 1
call fcn.14002c620
lea rcx, [rsp + 0x30]
lea rdx, str.could_not_read_nt_headers_from
jmp 0x14010c9de
mov ecx, 1
call fcn.14002c580
test al, al
je 0x14010cae7
lea rdx, str..._.._third_party_crashpad_crashpad_snapshot_win_pe_image_reader.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x168
mov r9d, 1
call fcn.14002c620
lea rcx, [rsp + 0x30]
lea rdx, str.invalid_signature_in_nt_headers_of
mov r8d, 0x23
call fcn.140001e21
movzx r8d, byte [rsi]
test r8b, 1
je 0x14010cace
mov r8, qword [rsi + 8]
mov rsi, qword [rsi + 0x10]
jmp 0x14010cad4
shr r8, 1
inc rsi
mov rcx, rax
mov rdx, rsi
call fcn.140001e21
mov rcx, rdi
call fcn.14002cae0
xor esi, esi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.14012d670
mov eax, esi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14010f6f0
Capabilities:
Enumerate pe sections

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov dword [rcx + 0x48], 0x1003f
mov eax, dword [rdx + 0x234]
mov dword [rcx + 0x4c], eax
mov eax, dword [rdx + 0x238]
mov dword [rcx + 0x50], eax
mov eax, dword [rdx + 0x23c]
mov dword [rcx + 0x54], eax
mov eax, dword [rdx + 0x240]
mov dword [rcx + 0x58], eax
mov eax, dword [rdx + 0x24c]
mov dword [rcx + 0x5c], eax
mov eax, dword [rdx + 0x250]
mov dword [rcx + 0x60], eax
lea rdx, [rcx + 0x64]
lea rbx, [rdi + 0x34]
mov rcx, rbx
call fcn.1400ea010
movzx eax, word [rdi + 0x30]
mov dword [rsi + 0xd4], eax
movzx eax, word [rdi + 0x2e]
mov dword [rsi + 0xd8], eax
movzx eax, word [rdi + 0x2c]
mov dword [rsi + 0xdc], eax
movzx eax, word [rdi + 0x2a]
mov dword [rsi + 0xe0], eax
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0xe4], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0xe8], eax
mov eax, dword [rdi + 4]
mov dword [rsi + 0xec], eax
mov eax, dword [rdi + 0xc]
mov dword [rsi + 0xf0], eax
mov eax, dword [rdi + 8]
mov dword [rsi + 0xf4], eax
mov eax, dword [rdi]
mov dword [rsi + 0xf8], eax
mov eax, dword [rdi + 0x18]
mov dword [rsi + 0xfc], eax
mov eax, dword [rdi + 0x20]
mov dword [rsi + 0x100], eax
movzx eax, word [rdi + 0x28]
mov dword [rsi + 0x104], eax
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x108], eax
mov eax, dword [rdi + 0x1c]
mov dword [rsi + 0x10c], eax
movzx eax, word [rdi + 0x32]
mov dword [rsi + 0x110], eax
add rsi, 0x114
mov r8d, 0x200
mov rcx, rsi
mov rdx, rbx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1401306b0