joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401c7ee0
Capabilities:
Suspend thread

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
lea rax, [0x14029ccc8]
mov qword [rcx], rax
mov qword [rcx + 8], rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
setne byte [rsi + 0x10]
mov rax, rsi
add rsp, 0x20
pop rsi
ret

Function at 0x1401c7f10
Capabilities:
Resume thread

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x14029ccc8]
mov qword [rcx], rax
cmp byte [rcx + 0x10], 0
je 0x1401c7f92
mov rsi, rcx
lea rdi, [rsp + 0x2c]
mov rcx, qword [rcx + 8]
mov qword [rdi - 0xc], rcx
mov qword [rdi - 4], 0
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetThreadPriorityBoost]
mov dword [rdi - 4], eax
test eax, eax
je 0x1401c7f6d
mov rcx, qword [rsp + 0x20]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x1401c7fa7
cmp dword [rsp + 0x28], 0
je 0x1401c7f92
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14010fba0
nop
add rsp, 0x38
pop rdi
pop rsi
ret
int3

Function at 0x1401c80e0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov edi, edx
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x1401c8151
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x1401c815b
mov dil, 1
test bl, bl
je 0x1401c813a
cmp byte [rsi + 8], 0
je 0x1401c8156
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14010fba0
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsi]
jmp 0x1401c810d
mov rcx, qword [rsi]
jmp 0x1401c812f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 0
je 0x1401c8183
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1401c8188
xor edi, edi
jmp 0x1401c813a
mov rcx, qword [rsi]
jmp 0x1401c8170
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 0
je 0x1401c81af
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dil, 1
jmp 0x1401c813a
mov rcx, qword [rsi]
jmp 0x1401c819f
Function at 0x1401c9ad0
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x14029bb90]
lea rbx, [rsp + 0x40]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.DeleteFileAfterReboot
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x20]
mov rcx, r14
mov r9d, 0x234
call fcn.14009b140
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140059ca0
mov al, byte [rsi + 0x17]
test al, al
jns 0x1401c9b4e
cmp qword [rsi + 8], 0x103
ja 0x1401c9b6c
test al, al
jns 0x1401c9b55
mov rsi, qword [rsi]
mov rcx, rsi
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne dil
lea rcx, [rsp + 0x40]
call fcn.140059e90
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14010fba0
mov eax, edi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1401c9e90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x14029bb90]
lea rbx, [rsp + 0x60]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.PathHasAccess
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x40]
mov rcx, r14
mov r9d, 0x2e7
call fcn.14009b140
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140059ca0
cmp byte [rsi + 0x17], 0
jns 0x1401c9f06
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401c9f8d
test al, 0x10
mov eax, 0x40000000
mov edx, 2
cmove edx, eax
mov eax, 0x80
mov ecx, 0x2000000
cmove ecx, eax
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 3
mov rcx, rsi
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rsi, [rsp + 0x40]
mov qword [rsi], rdi
mov rcx, rsi
mov rdx, rax
call fcn.1400cbff2
mov rax, qword [rsi]
inc rax
test rax, 0xfffffffffffffffe
setne dil
cmp rax, 2
jb 0x1401c9f8d
call fcn.140096510
mov rcx, qword [rsp + 0x40]
call fcn.140095cd0
lea rcx, [rsp + 0x60]
call fcn.140059e90
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14010fba0
mov eax, edi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1401ca6f0
Capabilities:
Identify system language via api

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x278
mov qword [rsp + 0x38], r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x270], rax
movzx eax, word [rcx + 0x28]
mov word [rsp + 0x260], ax
movzx eax, word [rcx + 0x2a]
mov word [rsp + 0x262], ax
mov rsi, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call rsi
mov word [rsp + 0x264], ax
movzx eax, word [rbx + 0x2a]
mov word [rsp + 0x266], ax
movzx eax, word [rbx + 0x28]
mov word [rsp + 0x268], ax
mov bp, 0x4e4
mov word [rsp + 0x26a], bp
call rsi
mov word [rsp + 0x26c], ax
mov word [rsp + 0x26e], bp
mov esi, 2
lea r14, [rsp + 0x50]
lea r15, str.StringFileInfo_04x_04x_ls
lea r12, [rsp + 0x48]
lea r13, [rsp + 0x44]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140111cd0
movzx eax, word [rsp + rsi + 0x260]
movzx ecx, word [rsp + rsi + 0x25e]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
mov r9, r15
call fcn.1401ca870
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x44], 0xaaaaaaaa
mov rcx, qword [rbx + 0x20]
mov rdx, r14
mov r8, r12
mov r9, r13
call sub.VERSION.dll_VerQueryValueW
test eax, eax
setne al
mov rdx, qword [rsp + 0x48]
test rdx, rdx
setne cl
mov r8d, dword [rsp + 0x44]
test r8d, r8d
setne bpl
and bpl, cl
and bpl, al
cmp bpl, 1
je 0x1401ca85c
add rsi, 4
cmp rsi, 0x12
jne 0x1401ca79a
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14010fba0
mov eax, ebp
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
dec r8d
mov rcx, qword [rsp + 0x38]
call fcn.1400b64d0
jmp 0x1401ca836
Function at 0x1401cd5c0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x258
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov sil, 1
cmp qword [0x1402f4058], 0
je 0x1401cd604
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14010fba0
mov eax, esi
add rsp, 0x258
pop rdi
pop rsi
ret
mov rcx, qword [0x1402f4048]
test rcx, rcx
je 0x1401cd6a2
test byte [0x1402e3900], 1
je 0x1401cd5e8
cmp byte [rcx + 0x17], 0
jns 0x1401cd626
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1402f4058], rax
inc rax
cmp rax, 1
ja 0x1401cd5e8
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140111cd0
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x1401cd785
xor esi, esi
jmp 0x1401cd5e8
mov ecx, 0x18
call fcn.14010cc14
mov rsi, rax
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140111cd0
xor ecx, ecx
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x14029bb90]
movups xmmword [rsi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsi + 0x10], rax
mov rcx, rsi
mov rdx, rdi
call fcn.1400eb674
movzx ecx, byte [rsi + 0x17]
mov r9d, ecx
and r9d, 0x7f
test cl, cl
mov rax, qword [rsi]
mov rdx, qword [rsi + 8]
cmovs r9, rdx
mov r10, rsi
cmovs r10, rax
test r9, r9
jne 0x1401cd741
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rsi
call fcn.1400edda0
mov qword [0x1402f4048], 0
jmp 0x1401cd69b
add r9, r9
test r9, r9
je 0x1401cd71c
lea r8, [r9 - 2]
cmp word [r10 + r9 - 2], 0x5c
mov r9, r8
jne 0x1401cd744
cmp r8, 0xfffffffffffffffe
je 0x1401cd71c
sar r8, 1
lea r9, [r8 + 1]
test cl, cl
jns 0x1401cd85a
cmp rdx, r8
jbe 0x1401cd872
mov qword [rsi + 8], r9
mov word [rax + r8*2 + 2], 0
jmp 0x1401cd71c
mov rcx, qword [0x1402f4048]
lea rdx, [rsp + 0x40]
call fcn.1400cc104
mov rcx, qword [0x1402f4048]
movzx eax, byte [rcx + 0x17]
test al, al
jns 0x1401cd84d
mov rax, qword [rcx + 8]
test rax, rax
je 0x1401cd86f
mov rdx, qword [rcx]
cmp word [rdx + rax*2 - 2], 0x5c
je 0x1401cd7da
lea rdx, [0x1402a5e96]
mov r8d, 1
call fcn.1400edda0
mov rcx, qword [0x1402f4048]
lea rdx, str.debug.log
mov r8d, 9
call fcn.1400edda0
mov rcx, qword [0x1402f4048]
cmp byte [rcx + 0x17], 0
jns 0x1401cd7fc
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1402f4058], rax
inc rax
cmp rax, 1
ja 0x1401cd5e8
mov qword [0x1402f4058], 0
jmp 0x1401cd69b
test rax, rax
je 0x1401cd86f
mov rdx, rcx
jmp 0x1401cd7b9
cmp r8, rcx
jae 0x1401cd872
and r9b, 0x7f
mov byte [rsi + 0x17], r9b
mov rax, rsi
jmp 0x1401cd77b
int3
int3
Function at 0x1401d07bc
Capabilities:
Identify system language via api

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x278
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x270], rax
cmp byte [r8 + 0x17], 0
js 0x1401d0966
mov word [rsi], 0
mov byte [rsi + 0x17], 0
test rbx, rbx
je 0x1401d0941
lea r8, [rsp + 0x50]
mov qword [r8], 0
lea r9, [rsp + 0x260]
mov dword [r9], 0
lea rdx, str.VarFileInfoTranslation
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1401d0941
lea r14, [rsp + 0x50]
mov rax, qword [r14]
movzx ebp, word [rax]
movzx r15d, word [rax + 2]
mov word [rsp + 0x260], bp
mov word [rsp + 0x262], r15w
mov r12, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call r12
mov word [rsp + 0x264], ax
mov word [rsp + 0x266], r15w
mov word [rsp + 0x268], bp
mov bp, 0x4e4
mov word [rsp + 0x26a], bp
call r12
mov word [rsp + 0x26c], ax
mov word [rsp + 0x26e], bp
mov rbp, 0xfffffffffffffffe
lea r15, [0x1402ac260]
lea r12, [rsp + 0x48]
lea r13, [rsp + 0x44]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140111cd0
cmp byte [rdi + 0x17], 0
mov rax, rdi
jns 0x1401d08d0
mov rax, qword [rdi]
movzx ecx, word [rsp + rbp*2 + 0x264]
movzx edx, word [rsp + rbp*2 + 0x266]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], ecx
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
mov r9, r15
call fcn.1401ca870
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x44], 0
mov rcx, rbx
mov rdx, r14
mov r8, r12
mov r9, r13
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1401d0933
mov rdx, qword [rsp + 0x48]
test rdx, rdx
jne 0x1401d097b
add rbp, 2
cmp rbp, 5
jbe 0x1401d08b4
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14010fba0
nop
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi]
mov word [rax], 0
mov qword [rsi + 8], 0
jmp 0x1401d07fe
mov rcx, rsi
call fcn.1400cc104
jmp 0x1401d0941
Function at 0x1401d0985
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, r9
mov r14, r8
mov rdi, rdx
mov r15, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rdx + 0x17], 0
js 0x1401d09bf
mov byte [rdi + 0x17], 6
mov rax, rdi
jmp 0x1401d09ca
mov qword [rdi + 8], 6
mov rax, qword [rdi]
movabs rcx, 0x6400450053004d
mov qword [rax], rcx
mov dword [rax + 8], 0x650067
mov word [rax + 0xc], 0
lea rdx, str.0.0.0.0_devel
mov r8d, 0xd
mov rcx, r14
call fcn.1400cc12c
cmp byte [rsi + 0x17], 0
js 0x1401d0a0a
mov word [rsi], 0
mov byte [rsi + 0x17], 0
jmp 0x1401d0a1a
mov rax, qword [rsi]
mov word [rax], 0
mov qword [rsi + 8], 0
mov dword [rsp + 0x5c], 0
cmp byte [r15 + 0x17], 0
mov rcx, r15
jns 0x1401d0a2f
mov rcx, qword [r15]
mov r13, qword [rsp + 0xd0]
lea rdx, [rsp + 0x5c]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x1401d0bb9
mov ebp, eax
mov ecx, eax
call fcn.14010d000
mov rbx, rax
mov edx, dword [rsp + 0x5c]
cmp byte [r15 + 0x17], 0
jns 0x1401d0a63
mov r15, qword [r15]
mov rcx, r15
mov r8d, ebp
mov r9, rbx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1401d0bac
lea rdx, [0x1402ab0a4]
lea r15, [rsp + 0x40]
mov r8d, 0xe
mov rcx, r15
call fcn.1400eb6d2
mov rcx, rbx
mov rdx, r15
mov r8, r14
call fcn.1401d07bc
cmp byte [r15 + 0x17], 0
jns 0x1401d0ab2
mov rcx, qword [rsp + 0x40]
call fcn.14010cc0c
xorps xmm0, xmm0
lea r15, [rsp + 0x40]
movaps xmmword [r15], xmm0
mov qword [r15 + 0x10], 0
lea rdx, [0x1402ac230]
lea r12, [rsp + 0x28]
mov r8d, 0xe
mov rcx, r12
call fcn.1400eb6d2
mov rcx, rbx
mov rdx, r12
mov r8, r15
call fcn.1401d07bc
cmp byte [r12 + 0x17], 0
jns 0x1401d0b00
mov rcx, qword [rsp + 0x28]
call fcn.14010cc0c
lea rdx, [0x1402a0f02]
lea rcx, [rsp + 0x40]
call fcn.1400ffb4a
test al, al
jne 0x1401d0b2a
lea rdx, [0x1402ac24e]
mov r8d, 6
mov rcx, r14
call fcn.1400edda0
lea rdx, [0x1402ab082]
lea r14, [rsp + 0x28]
mov r8d, 0x10
mov rcx, r14
call fcn.1400eb6d2
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call fcn.1401d07bc
cmp byte [r14 + 0x17], 0
jns 0x1401d0b63
mov rcx, qword [rsp + 0x28]
call fcn.14010cc0c
lea rdx, str.SpecialBuild
lea rdi, [rsp + 0x28]
mov r8d, 0xc
mov rcx, rdi
call fcn.1400eb6d2
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call fcn.1401d07bc
cmp byte [rdi + 0x17], 0
jns 0x1401d0b9b
mov rcx, qword [rsp + 0x28]
call fcn.14010cc0c
cmp byte [rsp + 0x57], 0
jns 0x1401d0bac
mov rcx, qword [rsp + 0x40]
call fcn.14010cc0c
test rbx, rbx
je 0x1401d0bb9
mov rcx, rbx
call fcn.14010ccd4
lea rcx, [rsp + 0x40]
mov dl, 1
call fcn.1400f6760
cmp byte [r13 + 0x17], 0
jns 0x1401d0bd5
mov rcx, qword [r13]
call fcn.14010cc0c
mov rax, qword [rsp + 0x50]
mov qword [r13 + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [r13], xmm0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14010fba0
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1401d4f2f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1401d4f59
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1401d4fe0
cmp dword [0x1402f4050], 2
jg 0x1401d4fc1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x80
mov r9d, 2
call fcn.1401cdc40
lea rcx, [rsp + 0x38]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14017d289
mov rcx, rax
mov rdx, rsi
call fcn.1400fdfa0
mov rcx, rdi
call fcn.1401cdcc0
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.14010fba0
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
mov edi, eax
bt eax, 0xa
jae 0x1401d4fec
test bl, bl
je 0x1401d4fc1
and edi, 0x10
shr edi, 4
jmp 0x1401d4fc3

Function at 0x1401d4ff4
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1401d501f
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x1401d509e
test bl, bl
je 0x1401d503f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1401d50bb
cmp dword [0x1402f4050], 2
jg 0x1401d509c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x61
mov r9d, 2
call fcn.1401cdc40
lea rcx, [rsp + 0x38]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.14017d289
mov rcx, rax
mov rdx, rsi
call fcn.1400fdfa0
mov rcx, rdi
call fcn.1401cdcc0
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.14010fba0
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.1401d4f2f
test al, al
jne 0x1401d509e
cmp dword [0x1402f4050], 2
jg 0x1401d509c
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x5c
mov r9d, 2
call fcn.1400c0e80
lea rcx, [rsp + 0x38]
mov rdx, rsi
call fcn.1400fdfa0
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.14017d289
mov rcx, rdi
call fcn.140089d40
jmp 0x1401d509c
Function at 0x1401d5124
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x170], rax
cmp byte [rcx + 0x17], 0
jns 0x1401d514b
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401d517b
test eax, 0x410
sete sil
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14010fba0
mov eax, esi
add rsp, 0x178
pop rdi
pop rsi
ret
cmp dword [0x1402f4050], 2
jg 0x1401d51d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x73
mov r9d, 2
call fcn.1401cdc40
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14017d289
mov rcx, rax
mov rdx, rsi
call fcn.1400fdfa0
mov rcx, rdi
call fcn.1401cdcc0
xor esi, esi
jmp 0x1401d515f

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

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x170], rax
cmp byte [rcx + 0x17], 0
jns 0x1401d5203
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401d521e
and eax, 0x410
cmp eax, 0x410
je 0x1401d52b2
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1401d522a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
jne 0x1401d5296
cmp dword [0x1402f4050], 2
jg 0x1401d5294
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x93
mov r9d, 2
call fcn.1401cdc40
lea rcx, [rsp + 0x40]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.14017d289
mov rcx, rax
mov rdx, rsi
call fcn.1400fdfa0
mov rcx, rdi
call fcn.1401cdcc0
xor edi, edi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14010fba0
mov eax, edi
add rsp, 0x178
pop rdi
pop rsi
ret
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14010fba0
mov rcx, rsi
add rsp, 0x178
pop rdi
pop rsi
jmp fcn.1401d52d3

Function at 0x1401d52d3
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov rsi, rcx
mov rax, qword [0x1402e0038]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1401d52fb
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, eax
test eax, eax
jne 0x1401d5364
cmp dword [0x1402f4050], 2
jg 0x1401d5364
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov r8d, 0x2f
mov r9d, 2
call fcn.1401cdc40
lea rcx, [rsp + 0x38]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.14017d289
mov rcx, rax
mov rdx, rsi
call fcn.1400fdfa0
mov rcx, rbx
call fcn.1401cdcc0
test edi, edi
setne bl
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.14010fba0
mov eax, ebx
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401e35e0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov r12, qword [rcx + 0x10]
cmp r12, qword [rcx + 0x18]
je 0x1401e3626
mov r15, r12
test r15, r15
je 0x1401e3731
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x1401e3688
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r13, rax
neg r13
shl rax, 3
mov r15, rbx
sub r15, rax
mov r14, r12
sub r14, rbx
je 0x1401e3674
mov rcx, r15
mov rdx, rbx
mov r8, r14
call fcn.140111620
mov r12, qword [rsi + 8]
add r15, r14
mov qword [rsi + 0x10], r15
lea rax, [r12 + r13*8]
mov qword [rsi + 8], rax
jmp 0x1401e3602
mov rax, r12
sub rax, r14
sar rax, 2
cmp r12, r14
mov r13d, 1
cmovne r13, rax
mov rax, r13
shr rax, 0x3d
jne 0x1401e3734
lea rcx, [r13*8]
call fcn.14010cc14
mov rcx, r13
and rcx, 0xfffffffffffffffc
mov rdx, r12
sub rdx, rbx
mov r8, r12
lea rcx, [rax + rcx*2]
mov r15, rcx
sub r8, rbx
je 0x1401e36fc
sar rdx, 3
lea r15, [r8 + rcx]
shl rdx, 3
xor r8d, r8d
mov r9, rcx
add r9, r8
je 0x1401e372e
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x1401e36e4
lea rdx, [rax + r13*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], rdx
cmp r12, rbx
jne 0x1401e3737
test r14, r14
je 0x1401e3602
mov rcx, r14
call fcn.14010cc0c
mov r15, qword [rsi + 0x10]
jmp 0x1401e3602
int3
int3
int3
add r12, 0xfffffffffffffff8
jne 0x1401e370f
int3
Function at 0x1401e3750
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rcx + 8]
cmp rbx, qword [rcx]
je 0x1401e3792
mov r15, rbx
add r15, 0xfffffffffffffff8
je 0x1401e3897
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 8], 0xfffffffffffffff8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, qword [rsi + 0x10]
mov rax, qword [rsi + 0x18]
cmp r14, rax
jae 0x1401e37ea
sub rax, r14
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r12, [rax + rcx]
inc r12
sar r12, 1
lea r15, [r14 + r12*8]
mov rax, r14
sub rax, rbx
sub r15, rax
sub r14, rbx
je 0x1401e37dc
mov rcx, r15
mov rdx, rbx
mov r8, r14
call fcn.140111620
mov rbx, qword [rsi + 0x10]
mov qword [rsi + 8], r15
lea rax, [rbx + r12*8]
mov qword [rsi + 0x10], rax
jmp 0x1401e376f
mov rcx, rax
sub rcx, rbx
sar rcx, 2
cmp rax, rbx
mov r12d, 1
cmovne r12, rcx
mov rax, r12
shr rax, 0x3d
jne 0x1401e389a
lea rcx, [r12*8]
call fcn.14010cc14
lea r15, [r12*2 + 6]
and r15, 0xfffffffffffffff8
add r15, rax
mov rdx, r14
sub rdx, rbx
mov r8, r14
mov rcx, r15
sub r8, rbx
je 0x1401e3862
sar rdx, 3
lea rcx, [r8 + r15]
shl rdx, 3
xor r8d, r8d
mov r9, r15
add r9, r8
je 0x1401e3894
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x1401e384a
lea rdx, [rax + r12*8]
mov qword [rsi], rax
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
cmp r14, rbx
jne 0x1401e389d
test rbx, rbx
je 0x1401e376f
mov rcx, rbx
call fcn.14010cc0c
mov r15, qword [rsi + 8]
jmp 0x1401e376f
int3
int3
int3
add r14, 0xfffffffffffffff8
jne 0x1401e3875
int3

Function at 0x1401e8e10
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.140111cd0
mov dword [rdi + 0x18], 0x238
cmp byte [rdi + 0x10], 0
je 0x1401e8e52
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 0x1401e8e46