joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a8b8d
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, rcx
mov rax, qword [0x14019c018]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x1400a8bb5
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test eax, eax
jne 0x1400a8c7c
mov ecx, 2
call fcn.14006c840
test al, al
je 0x1400a8c7c
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, 0x30
mov r9d, 2
call fcn.14006d900
lea rcx, [rsp + 0x68]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.14001df3c
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.14004ad60
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x1400a8c56
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov rcx, rbx
mov rdx, rdi
call fcn.14001df3c
cmp byte [rsp + 0x57], 0
jns 0x1400a8c72
mov rcx, qword [rsp + 0x40]
call fcn.1401349d4
lea rcx, [rsp + 0x58]
call fcn.14006d9f0
test esi, esi
setne bl
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140135280
mov eax, ebx
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400aa958
Capabilities:
Get graphical window text

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdx], rax
mov rcx, rdx
call fcn.1400607c4
mov rcx, qword [rbx + 8]
mov edx, edi
call qword [sym.imp.USER32.dll_GetDlgItem]
test rax, rax
je 0x1400aa9c3
mov rdi, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [rax + 1]
mov rcx, rsi
mov edx, ebx
call fcn.140060fe6
mov rcx, rdi
mov rdx, rax
mov r8d, ebx
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, rsi
mov edx, 0xffffffff
call fcn.1400ac706
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400aaa2e
Capabilities:
Hide graphical window

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rdi, rcx
mov rax, qword [0x14019c018]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rcx, qword [rcx + 8]
xor r14d, r14d
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], 0
cmp dword [rdi + 0x28], 0
je 0x1400aaadd
lea rsi, [rsp + 0x58]
mov rcx, rdi
mov rdx, rsi
mov r8d, 0x41d
call fcn.1400aa958
mov rdx, qword [rsi]
lea rcx, [rsp + 0x70]
call fcn.140044c94
mov rdx, qword [rsi]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
dec eax
test eax, eax
jg 0x1400aaabe
add rdx, 0xffffffffffffffe8
mov rcx, qword [rdx]
call fcn.1400606a0
lea rsi, [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.1400ac0d2
mov r14, qword [rsi]
mov r15, qword [rsi + 8]
mov r12, qword [rsi + 0x10]
jmp 0x1400aaae3
xor r15d, r15d
xor r12d, r12d
mov rcx, qword [rdi + 8]
xor esi, esi
mov qword [rsp + 0x20], rsi
mov rbx, qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov edx, 0x41b
mov r8d, 0xf0
xor r9d, r9d
call rbx
xor ecx, ecx
cmp rax, 1
sete cl
mov dword [rdi + 0x18], ecx
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x20], rsi
mov edx, 0x41a
mov r8d, 0xf0
xor r9d, r9d
call rbx
mov rsi, rax
call fcn.1400578b8
mov rdi, rax
cmp rsi, 1
jne 0x1400aab51
test r12, r12
js 0x1400aab67
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r12
jmp 0x1400aab77
test r12, r12
js 0x1400aab83
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r12
jmp 0x1400aab93
lea rcx, [rsp + 0x40]
mov rdx, r14
mov r8, r15
call fcn.140043c3e
lea r8, [rsp + 0x40]
mov rcx, rdi
mov dl, 1
jmp 0x1400aab9d
lea rcx, [rsp + 0x28]
mov rdx, r14
mov r8, r15
call fcn.140043c3e
lea r8, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call fcn.14008fd24
test r12, r12
jns 0x1400aabaf
mov rcx, r14
call fcn.1401349d4
cmp byte [rsp + 0x87], 0
jns 0x1400aabc3
mov rcx, qword [rsp + 0x70]
call fcn.1401349d4
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140135280
nop
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1400ad2f1
Capabilities:
Read .ini file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov rax, qword [0x14019c018]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
lea rsi, [rsp + 0x70]
mov r8d, 0x424
mov rcx, rsi
xor edx, edx
call fcn.140138090
xor ecx, ecx
mov rdx, rsi
mov r8d, 0x212
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rsi
mov dx, 0x5c
call fcn.140138518
lea rcx, [rax + 2]
lea rdx, str.bugreport.ini
call fcn.140151a98
mov ecx, 0x8000
call fcn.140134a0c
mov r12, rax
lea rcx, str.STRINGTABLE
mov rdx, rax
mov r8d, 0x4000
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
je 0x1400ad4f3
cmp word [r12], 0
je 0x1400ad4f3
movabs rbp, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x48]
lea rbx, [0x14018018c]
lea r14, [rsp + 0x40]
lea rsi, [rsp + 0x38]
mov r15, r12
mov qword [rsp + 0x48], rbp
mov rcx, rdi
mov rdx, r15
call fcn.140057976
mov rcx, rdi
call fcn.1400acebc
mov rcx, rax
call fcn.1400acf1a
mov rcx, qword [rsp + 0x48]
cmp dword [rcx - 0x10], 0
js 0x1400ad4b7
mov rdx, rbx
call fcn.1401385c8
test rax, rax
je 0x1400ad4b7
mov r13, rax
mov rax, qword [rsp + 0x48]
sub r13, rax
shr r13, 1
cmp r13d, 0xffffffff
je 0x1400ad4b7
mov r8d, r13d
not r8d
add r8d, dword [rax - 0x10]
mov rcx, rdi
mov rdx, r14
call fcn.1400ac69c
mov rcx, rdi
mov rdx, rsi
mov r8d, r13d
call fcn.1400ac648
mov qword [rsp + 0x50], rsi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rcx, [0x1401ae078]
lea rdx, [rsp + 0x60]
mov r8, rsi
lea r9, [0x140182fa0]
call fcn.1400ad884
mov rcx, qword [rsp + 0x60]
add rcx, 0x28
mov rdx, r14
call fcn.14008ff7c
mov rdx, qword [rsp + 0x38]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
dec eax
test eax, eax
jg 0x1400ad496
add rdx, 0xffffffffffffffe8
mov rcx, qword [rdx]
call fcn.1400606a0
mov rdx, qword [rsp + 0x40]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
dec eax
test eax, eax
jg 0x1400ad4b7
add rdx, 0xffffffffffffffe8
mov rcx, qword [rdx]
call fcn.1400606a0
mov rdx, qword [rsp + 0x48]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
dec eax
test eax, eax
jg 0x1400ad4d8
add rdx, 0xffffffffffffffe8
mov rcx, qword [rdx]
call fcn.1400606a0
mov rcx, r15
call fcn.140151168
lea r15, [r15 + rax*2]
add r15, 2
cmp word [r15], 0
jne 0x1400ad3b5
test r12, r12
je 0x1400ad500
mov rcx, r12
call fcn.140134a14
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140135280
mov eax, 1
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400adcb0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x14019c018]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1401ae0a0]
test rdi, rdi
jne 0x1400add54
mov ecx, 0x48
call fcn.140134998
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov ecx, 0x18
call fcn.140134998
mov qword [rsi + 0x10], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x20], rcx
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x18], rcx
lea rax, [rsi + 0x30]
movups xmmword [rsi + 0x30], xmm6
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x40], 1
mov qword [0x1401ae0a0], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400add76
mov rcx, rax
call fcn.140151168
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400add80
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140135280
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
int3
Function at 0x1400add80
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x14019c018]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8d, 3
call fcn.140087b70
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
cmp qword [rsi + 8], 0
je 0x1400adf8e
movups xmm0, xmmword [rsi]
movups xmmword [r14], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, str.api_ms_win_downlevel_shell32_l1_1_0.dll
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x1400ade2e
lea rdx, [0x14018303a]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400ade41
mov rcx, qword [rsi]
lea rdx, [rsp + 0x4c]
call qword [0x1401bf010]
jmp 0x1400ade3c
mov rcx, qword [rsi]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r12, rax
jmp 0x1400ade44
xor r12d, r12d
movsxd rbp, dword [rsp + 0x4c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x40], 0
test rbp, rbp
je 0x1400adf4d
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], r14
test ebp, ebp
js 0x1400adfe5
shl rbp, 3
lea rsi, [rbp*2]
add rsi, rbp
mov rcx, rsi
call fcn.140134998
mov rbx, rax
mov qword [rsp + 0x30], rax
add rax, rsi
mov qword [rsp + 0x40], rax
xor r15d, r15d
jmp 0x1400adf06
lea r14, [rdi + 8]
and r14, 0xfffffffffffffff8
lea rcx, [r14 + r14]
call fcn.140134998
mov r13, rax
mov qword [rbx], rax
movabs rax, 0x7fffffffffffffef
add rax, 0x11
or rax, r14
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rdi
mov r8, rdi
add r8, rdi
mov rcx, r13
mov rdx, rsi
call fcn.1401379e0
mov word [r13 + rdi*2], 0
add rbx, 0x18
add r15, 8
cmp rbp, r15
je 0x1400adf3c
mov rsi, qword [r12 + r15]
mov rcx, rsi
call fcn.140151168
mov rdi, rax
movabs rax, 0x7fffffffffffffef
cmp rdi, rax
ja 0x1400adfdd
cmp rdi, 0xb
jae 0x1400adeb0
mov byte [rbx + 0x17], dil
mov r13, rbx
test rdi, rdi
jne 0x1400adee0
jmp 0x1400adef1
mov qword [rsp + 0x38], rbx
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x20]
jmp 0x1400adf4f
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.1400adb70
movups xmmword [r14], xmm6
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x1400adf77
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x30]
test rsi, rsi
je 0x1400adf8e
cmp rbx, rsi
jne 0x1400adfc8
mov rcx, rsi
call fcn.1401349d4
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140135280
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, rdi
cmp rdi, rsi
je 0x1400adf86
lea rdi, [rbx - 0x18]
cmp byte [rbx - 1], 0
jns 0x1400adfc0
mov rcx, qword [rbx - 0x18]
call fcn.1401349d4
jmp 0x1400adfc0
mov rcx, rbx
call fcn.140043704
lea rcx, [rsp + 0x30]
call fcn.14001ba1a
int3
Function at 0x1400b2db4
Capabilities:
Read pipe
Write pipe

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x190
mov r14, r8
mov r15, rdx
mov rdi, rcx
mov rax, qword [0x14019c018]
xor rax, rsp
mov qword [rsp + 0x188], rax
mov rbx, qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13, qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x1400b2e02
mov rcx, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x110000
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
cmp rax, 0xffffffffffffffff
jne 0x1400b2ea6
call r12
cmp eax, 0xe7
jne 0x1400b2f9b
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x1400b2e48
mov rcx, qword [rdi]
mov edx, 0xffffffff
call r13
test eax, eax
jne 0x1400b2df6
mov ecx, 2
call fcn.14006c840
test al, al
je 0x1400b2ff1
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, [0x140184390]
lea rsi, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0x6f
mov r9d, 2
call fcn.14006d900
lea rcx, [rsp + 0x58]
lea rdx, str.WaitNamedPipe
mov r8d, 0xd
jmp 0x1400b2fe4
mov rsi, rax
lea rdx, [rsp + 0x44]
mov dword [rdx], 2
mov rcx, rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x1400b2ff5
lea rax, [rsp + 0x40]
mov dword [rax], 0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0x10
mov rcx, rsi
mov rdx, r15
mov r8d, 0x804
mov r9, r14
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x1400b304b
mov dil, 1
cmp dword [rsp + 0x40], 0x10
je 0x1400b304d
mov ecx, 2
call fcn.14006c840
test al, al
je 0x1400b304b
lea rdx, [0x140184390]
lea rdi, [rsp + 0x48]
mov rcx, rdi
mov r8d, 0x8a
mov r9d, 2
call fcn.14006c8f0
lea rcx, [rsp + 0x58]
lea rdx, str.TransactNamedPipe:_expected
mov r8d, 0x1c
call fcn.14001df3c
mov edx, 0x10
mov rcx, rax
call fcn.14001aad0
lea rdx, str.__observed
mov r8d, inet_ntoa
mov rcx, rax
call fcn.14001df3c
mov edx, dword [rsp + 0x40]
mov rcx, rax
call fcn.14001a678
mov rcx, rdi
call fcn.14006cd80
jmp 0x1400b304b
mov ecx, 2
call fcn.14006c840
test al, al
je 0x1400b2ff1
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, [0x140184390]
lea rsi, [rsp + 0x48]
mov rcx, rsi
mov r8d, 0x6a
mov r9d, 2
call fcn.14006d900
lea rcx, [rsp + 0x58]
lea rdx, str.CreateFile
mov r8d, 0xa
call fcn.14001df3c
mov rcx, rsi
call fcn.14006d9f0
xor edi, edi
jmp 0x1400b3055
mov ecx, 2
call fcn.14006c840
test al, al
je 0x1400b304b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, [0x140184390]
lea rdi, [rsp + 0x48]
mov rcx, rdi
mov r8d, pe_nt_image_headers64
mov r9d, 2
call fcn.14006d900
lea rcx, [rsp + 0x58]
lea rdx, [0x1401843f3]
mov r8d, 0x17
call fcn.14001df3c
mov rcx, rdi
call fcn.14006d9f0
xor edi, edi
mov rcx, rsi
call fcn.140099e38
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140135280
mov eax, edi
add rsp, 0x190
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400b307a
Capabilities:
Create pipe

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x188
mov rsi, rcx
mov rax, qword [0x14019c018]
xor rax, rsp
mov qword [rsp + 0x180], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x140173f60]
movaps xmmword [rsp + 0x40], xmm0
test dl, dl
je 0x1400b3165
lea r14, [rsp + 0x6c]
xor ebx, ebx
mov r8d, 0x110
mov rcx, r14
xor edx, edx
call fcn.140138090
mov dword [r14 - 0xc], 0x11c
mov rdi, qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 1
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call rdi
mov qword [r14 - 8], 6
mov word [r14 + 0x108], 0
lea rcx, [rsp + 0x60]
mov edx, 0x23
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
mov edi, 0x80003
test eax, eax
je 0x1400b316c
xorps xmm0, xmm0
lea rbx, [rsp + 0x40]
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov dword [rbx], 0x18
xor ecx, ecx
call fcn.1400b31c9
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], 1
jmp 0x1400b316c
mov edi, 3
xor ebx, ebx
cmp byte [rsi + 0x17], 0
jns 0x1400b3175
mov rsi, qword [rsi]
mov qword [rsp + 0x38], rbx
mov eax, 0x200
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 0
mov rcx, rsi
mov edx, edi
mov r8d, 6
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rsi, rax
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140135280
mov rax, rsi
add rsp, 0x188
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400bb530
Capabilities:
Check if file exists
Read file via mapping

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov rsi, rcx
mov rax, qword [0x14019c018]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x140173f60]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
lea rdx, str.MapImageToMemory
lea r8, str..._.._base_files_memory_mapped_file_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x1a
call fcn.1400651f0
lea rcx, [rsp + 0x50]
xor edi, edi
mov rdx, rbx
xor r8d, r8d
call fcn.1400bbe30
mov rcx, rsi
call fcn.140075f30
test al, al
je 0x1400bb6a9
mov rcx, rsi
call fcn.140075f40
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 0x11000002
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
cmp qword [rsi + 0x40], rax
je 0x1400bb64e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 0x40]
add rax, 1
cmp rax, 2
jb 0x1400bb62c
call fcn.140065210
mov rcx, qword [rsi + 0x40]
call fcn.1400bc7d0
mov qword [rsi + 0x40], 0
mov rax, rbx
add rax, 1
cmp rax, 2
jb 0x1400bb642
mov qword [rsi + 0x40], rbx
call fcn.140065210
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsi + 0x40]
lea rax, [rbx + 1]
cmp rax, 2
jae 0x1400bb65c
xor edi, edi
jmp 0x1400bb6a9
mov qword [rsp + 0x20], 0
xor edi, edi
mov rcx, rbx
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x1400bb6a9
lea rcx, fcn.1400467b0
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
call fcn.1400fcf4c
mov eax, dword [rax + 0x50]
mov qword [rsi + 0x38], rax
mov dil, 1
lea rcx, [rsp + 0x50]
call fcn.1400bc150
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140135280
mov eax, edi
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400bb6d0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov ebp, r8d
mov r15, rdx
mov rsi, rcx
mov rax, qword [0x14019c018]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [0x140173f60]
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
lea rdx, str.MapFileRegionToMemory
lea r8, str..._.._base_files_memory_mapped_file_win.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r9d, 0x39
call fcn.1400651f0
lea rcx, [rsp + 0x60]
xor ebx, ebx
mov rdx, rdi
xor r8d, r8d
call fcn.1400bbe30
mov rcx, rsi
call fcn.140075f30
test al, al
je 0x1400bb922
cmp ebp, 3
ja case.default.0x1400bb78d
mov eax, ebp
lea rcx, [0x1400bb950]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov r14d, 2
jmp 0x1400bb7a2
xor r14d, r14d
jmp 0x1400bb7a2
mov r14d, 4
xor ebp, ebp
jmp 0x1400bb7b7
mov rbx, qword [r15 + 8]
mov rbp, rbx
shr rbp, 0x20
mov r14d, 4
mov rcx, rsi
call fcn.140075f40
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x28], 0
mov rcx, rax
xor edx, edx
mov r8d, r14d
mov r9d, ebp
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
cmp qword [rsi + 0x40], rax
je 0x1400bb834
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x40]
add rax, 1
cmp rax, 2
jb 0x1400bb812
call fcn.140065210
mov rcx, qword [rsi + 0x40]
call fcn.1400bc7d0
mov qword [rsi + 0x40], 0
mov rax, rbx
add rax, 1
cmp rax, 2
jb 0x1400bb828
mov qword [rsi + 0x40], rbx
call fcn.140065210
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsi + 0x40]
add rbx, 1
cmp rbx, 2
jae 0x1400bb845
xor ebx, ebx
jmp 0x1400bb922
mov dword [rsp + 0x3c], 0
lea rdx, [0x1401847c8]
mov rcx, r15
call fcn.1400bb9d0
test al, al
je 0x1400bb88d
mov rcx, rsi
call fcn.140076470
xor ebx, ebx
test rax, rax
jle 0x1400bb922
mov qword [rsi + 0x38], rax
xor r8d, r8d
xor eax, eax
jmp 0x1400bb8ea
mov rcx, rsi
call fcn.1400bb530
mov ebx, eax
jmp 0x1400bb922
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov rcx, qword [r15]
mov rdx, qword [r15 + 8]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
lea r9, [rsp + 0x30]
call fcn.1400bbb60
mov rbx, qword [rsp + 0x40]
test rbx, rbx
js 0x1400bb83e
mov rcx, qword [r15 + 8]
movsxd rax, dword [rsp + 0x3c]
add rax, rcx
js 0x1400bb83e
mov r8, rbx
shr r8, 0x20
mov qword [rsi + 0x38], rcx
and r14d, 2
add r14d, 2
mov rcx, qword [rsi + 0x40]
mov qword [rsp + 0x20], rax
mov edx, r14d
mov r9d, ebx
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x1400bb83e
movsxd rcx, dword [rsp + 0x3c]
add rax, rcx
mov qword [rsi + 0x30], rax
mov bl, 1
lea rcx, [rsp + 0x60]
call fcn.1400bc150
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140135280
mov eax, ebx
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400bc9ac
Capabilities:
Create thread

Disassembly:
push rsi
sub rsp, 0x40
mov rsi, rcx
mov rax, qword [0x14019c018]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400bca50]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 8], rax
test rax, rax
je 0x1400bca05
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140135280
nop
add rsp, 0x40
pop rsi
ret
lea rdx, str..._.._third_party_crashpad_crashpad_util_thread_thread_win.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x1b
call fcn.1400b34a0
mov rcx, rsi
call fcn.1400b3470
lea rdx, [0x14017f0ce]
mov r8d, reloc.WS2_32.dll_inet_ntoa
mov rcx, rax
call fcn.14001df3c
mov rcx, rsi
call fcn.1400b3480
jmp 0x1400bc9f1
Function at 0x1400c0496
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 [0x14019c018]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x1401ae7d0]
mov ecx, dword [0x1401a559c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400c0713
mov rax, qword [0x1401ae7c8]
test rax, rax
je 0x1400c0581
lea rdx, [rsp + 0x174]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call qword [0x1401bf010]
test eax, eax
je 0x1400c052b
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x1400c0588
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x1400c05bd
mov ecx, 2
call fcn.14006c840
test al, al
je 0x1400c0581
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.14006d900
lea rcx, [rsp + 0x40]
lea rdx, [0x140181f0b]
mov r8d, 0xe
call fcn.14001df3c
mov rcx, rbx
call fcn.14006d9f0
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [0x140173f60]
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.1400c075a
test al, al
je 0x1400c05f3
cmp byte [rsi + 0x80], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
je 0x1400c063c
call fcn.1400c098b
jmp 0x1400c0641
mov ecx, 2
call fcn.14006c840
test al, al
je 0x1400c06f4
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.14006c8f0
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
jmp 0x1400c06e7
call fcn.1400c0fb9
test al, al
je 0x1400c06a7
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.1400bf8dc
mov sil, 1
test al, al
jne 0x1400c06f6
mov ecx, 2
call fcn.14006c840
test al, al
je 0x1400c06f4
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.14006c8f0
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x1400c06e7
mov ecx, 2
call fcn.14006c840
test al, al
je 0x1400c06f4
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.14006c8f0
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
call fcn.14001df3c
mov rcx, rsi
call fcn.14006cd80
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140135280
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1401ae7d0]
call fcn.140134af0
cmp dword [0x1401ae7d0], 0xffffffff
jne 0x1400c04e1
lea rcx, [0x14017b8be]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.140076cc8
mov qword [0x1401ae7c8], rax
lea rcx, [0x1401ae7d0]
call fcn.140134b88
jmp 0x1400c04e1