joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140007e60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
je 0x140007eaf
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140007eaf
bt eax, 0xa
jae 0x140007eaf
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140007e9f
test al, 0x10
je 0x140007e9f
mov rcx, rdi
call fcn.14003110c
jmp 0x140007ea7
mov rcx, rdi
call fcn.140030e80
test eax, eax
jne 0x140007f34
mov ecx, 0x18
call fcn.14002e7d0
mov rbx, rax
test rax, rax
je 0x140007f34
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
test rdi, rdi
je 0x140007efd
xor edx, edx
mov r8d, 0x1000
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_LoadLibraryExA]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rbx + 8], eax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8, rbx
lea rdx, [fcn.140007e60]
mov ecx, 4
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleExA]
test eax, eax
jne 0x140007f1d
mov qword [rbx], 0
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rbx + 8], eax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x140007f50
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14007a0f8]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor r12d, r12d
mov qword [r11 - 0x40], 0xffffffffffffffff
mov dword [r11 - 0x48], r12d
mov r14, rdx
mov dword [r11 - 0x34], r12d
mov r15, rcx
test rcx, rcx
je 0x140008127
test rdx, rdx
je 0x140008127
mov r8d, 0x101
mov qword [r11 + 0x18], rbx
lea rdx, [0x1400666e4]
lea rcx, [r11 - 0x48]
call qword [sym.imp.SETUPAPI.DLL_CM_Get_Device_ID_List_SizeA]
mov ebx, eax
test eax, eax
jne 0x14000811b
mov ebx, dword [rsp + 0x40]
mov qword [rsp + 0xa8], rbp
call qword [sym.imp.KERNEL32.DLL_GetProcessHeap]
mov r8d, ebx
lea edx, [r12 + 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov rbp, rax
test rax, rax
jne 0x140007fef
lea ebx, [rax + 2]
jmp 0x140008113
mov r8d, dword [rsp + 0x40]
lea rcx, [0x1400666e4]
mov r9d, 0x101
mov rdx, rbp
call qword [sym.imp.SETUPAPI.DLL_CM_Get_Device_ID_ListA]
mov ebx, eax
test eax, eax
jne 0x1400080ff
lea ebx, [rax + 0x25]
mov qword [rsp + 0x68], rsi
mov esi, dword [rsp + 0x40]
mov qword [rsp + 0x60], rdi
mov rdi, rbp
cmp byte [rbp], r12b
je 0x1400080f5
xor r9d, r9d
mov dword [rsp + 0x50], r12d
mov r8, rdi
lea rdx, [0x14007a0d8]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SETUPAPI.DLL_CM_Get_Device_Interface_List_SizeA]
mov ebx, eax
test eax, eax
jne 0x14000805c
cmp dword [rsp + 0x50], 1
ja 0x140008075
mov edx, esi
mov rcx, rdi
call fcn.14002f450
inc rax
add rdi, rax
sub esi, eax
cmp byte [rdi], r12b
jne 0x140008032
jmp 0x140008088
xor r8d, r8d
lea rcx, [rsp + 0x54]
mov rdx, rdi
call qword [sym.imp.SETUPAPI.DLL_CM_Locate_DevNodeA]
mov ebx, eax
test ebx, ebx
jne 0x1400080f5
mov ecx, dword [rsp + 0x54]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x28], r12d
lea r9d, [rbx + 1]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x20019
call qword [sym.imp.SETUPAPI.DLL_CM_Open_DevNode_Key]
mov ebx, eax
test eax, eax
jne 0x1400080f5
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea r9d, [rbx + 2]
mov qword [rsp + 0x28], r15
lea r8, str.InstallDir
xor edx, edx
mov qword [rsp + 0x20], r12
mov dword [rsp + 0x50], r14d
call qword [sym.imp.ADVAPI32.DLL_RegGetValueA]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
call qword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_HeapFree]
mov rbp, qword [rsp + 0xa8]
mov eax, ebx
mov rbx, qword [rsp + 0xa0]
jmp 0x14000812c
mov eax, 3
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400085e0
add rsp, 0x70
pop r15
pop r14
pop r12
ret
Function at 0x140008150
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x290
mov rax, qword [0x14007a0f8]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x14000834c
test rdx, rdx
je 0x14000834c
test r8, r8
je 0x14000834c
xor edx, edx
mov qword [rsp + 0x2c8], rbp
mov r8d, 0x104
lea rcx, [rsp + 0x60]
call fcn.140009950
lea rdx, [0x1400666d4]
mov rcx, rbx
call fcn.140032480
test rax, rax
jne 0x14000832a
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.140007f50
lea rbp, [0x1400666c8]
test eax, eax
jne 0x14000829c
lea rdx, [0x1400666d4]
mov rcx, rbx
call fcn.140032480
test rax, rax
jne 0x1400082f7
xor edx, edx
lea rcx, [rsp + 0x170]
mov r8d, 0x104
call fcn.140009950
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rbx
lea r8, str._s_s_s
mov qword [rsp + 0x20], rbp
lea rdx, [rsp + 0x170]
mov ecx, 0x104
call fcn.140008370
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140008286
bt eax, 0xa
jae 0x140008286
lea rcx, [rsp + 0x170]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140008275
test al, 0x10
je 0x140008275
lea rcx, [rsp + 0x170]
call fcn.14003110c
jmp 0x140008282
lea rcx, [rsp + 0x170]
call fcn.140030e80
test eax, eax
jne 0x14000829c
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x170]
call fcn.140035458
test eax, eax
je 0x1400082f7
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
cmp eax, 0x104
jae 0x140008325
lfence
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.14002f450
cmp rax, 0x104
jne 0x1400082d7
mov byte [rsp + 0x163], 0
jmp 0x1400082f7
lfence
mov r9, 0xffffffffffffffff
lea r8, str.IntelIPF
mov edx, 0x104
lea rcx, [rsp + 0x60]
call fcn.14002e8b4
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x60]
lea r8, str._s_s_s
mov qword [rsp + 0x20], rbp
mov rdx, rdi
mov rcx, rsi
call fcn.140008370
mov rbp, qword [rsp + 0x2c8]
mov rax, rdi
jmp 0x14000834e
mov byte [rsp + 0x60], 0
mov r9, 0xffffffffffffffff
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.14002ea6c
mov rbp, qword [rsp + 0x2c8]
mov rax, rdi
jmp 0x14000834e
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400085e0
add rsp, 0x290
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400317d4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400315c3
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test rax, rax
je 0x1400315c3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400315c3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400315c3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400315c3
cmp dword [rcx + 0x84], 0xe
jbe 0x1400315c3
cmp dword [rcx + 0xf8], 0
je 0x1400315c3
mov ecx, ebx
call fcn.1400316f4
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14003133c
cmp dword [rbp + 0x20], 0
je 0x140031610
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140031618
int3
xor r8d, r8d
xor edx, edx
jmp 0x14003155c

Function at 0x1400430e0
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x140043100
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.14003c65c
or eax, 0xffffffff
jmp 0x140043102
xor eax, eax
add rsp, 0x28
ret

Function at 0x140043110
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
jne 0x140043130
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
call fcn.14003c65c
or eax, 0xffffffff
jmp 0x140043132
xor eax, eax
add rsp, 0x28
ret
Function at 0x140132eab
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push qword [rsi - 1]
invalid
test byte [rax], al
add bl, al
jmp 0x140133253
rcr eax, 0x5b
je 0x140132ef2
jne 0x140132ef2
js 0x140132756
call rcx
pause
cmp r10, rdi
xor r12d, 0xa16ef27
jne 0x140132d96
jnp 0x140132cd9
jmp 0x14013338c
test esi, 0x309165f2
add edx, 0x29f1b9e7
jmp rcx
jmp rax
Function at 0x1408df058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1408df1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1408df089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408df06f
add dl, dl
jne 0x1408df096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408df0f6
xor eax, eax
add dl, dl
jne 0x1408df0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1408df1ad
add dl, dl
jne 0x1408df0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408df0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408df0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408df0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1408df0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1408df07e
mov eax, 1
add dl, dl
jne 0x1408df106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1408df113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408df0fb
sub eax, ebx
mov ebx, 1
jne 0x1408df14c
mov ecx, 1
add dl, dl
jne 0x1408df12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1408df13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408df123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408df07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1408df168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1408df175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1408df15d
cmp eax, 0x7d00
jae 0x1408df19b
cmp eax, 0x500
jb 0x1408df196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408df07e
cmp eax, 0x7f
ja 0x1408df19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1408df07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1408df1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1408df07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140006210
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14000621d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14000622d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140006215
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140006245
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140006232
sub eax, 3
jb 0x14000625f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140006296
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140006286
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140006284
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140006273
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.1400061d2
jmp 0x14000621d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x4000]
mov eax, dword [rdi]
or eax, eax
je 0x1400062f2
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x6000]
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 0x1400062a2
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 0x1400062ec
mov qword [rbx], rax
add rbx, 8
jmp 0x1400062c2
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 0x14000632c
cmp al, 0xef
ja 0x14000631e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400062fe
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14000630d
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 + 0x1ef]
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 0x140006380
sub rsp, 0xffffffffffffff80
jmp section.UPX0
Function at 0x140006700
Capabilities:
Print debug messages

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
mov rax, qword [rcx + 8]
movsxd rax, dword [rax + 4]
add rcx, rax
add rcx, 8
lea rdi, [rbp - 0x18]
mov rdx, rdi
call fcn.140020150
lea rdx, [0x14010c8d8]
mov rcx, rdi
call fcn.14003e990
mov r8, qword [rax]
mov rcx, rax
mov dl, 0xa
call qword [r8 + 0x38]
mov ebx, eax
lea r14, [rsi + 8]
mov rcx, rdi
call fcn.140020c50
mov rcx, r14
mov edx, ebx
call fcn.14001fdb0
mov rcx, r14
call fcn.14001eda0
mov eax, dword [rsi + 0x70]
test al, 0x10
jne 0x140006783
test al, 8
jne 0x14000679b
mov byte [rbp - 1], 0
jmp 0x1400067d2
mov rbx, qword [rsi + 0x40]
mov rcx, qword [rsi + 0x68]
mov eax, 0x28
cmp rcx, rbx
jae 0x1400067a6
mov qword [rsi + 0x68], rbx
jmp 0x1400067a9
mov rbx, qword [rsi + 0x30]
mov eax, 0x10
jmp 0x1400067a9
mov rbx, rcx
mov r14, qword [rsi + rax + 0x10]
sub rbx, r14
movabs rax, 0x7ffffffffffffff8
cmp rbx, rax
jae 0x140006935
cmp rbx, 0x17
jae 0x1400067d6
mov byte [rbp - 1], bl
test rbx, rbx
jne 0x140006813
xor ebx, ebx
jmp 0x140006821
mov rax, rbx
or rax, 7
lea rcx, [rax + 1]
cmp rax, 0x17
mov r15d, 0x19
cmovne r15, rcx
mov rcx, r15
call fcn.140096664
mov rdi, rax
mov qword [rbp - 0x18], rax
movabs rax, 0x8000000000000000
or rax, r15
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], rbx
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call fcn.140098a10
mov byte [rdi + rbx], 0
mov rax, qword [0x14010c610]
test rax, rax
je 0x14000685f
mov rdx, qword [rsi + 0x110]
mov r9, qword [rsi + 0x118]
mov r8d, dword [rsi + 0x120]
mov ecx, dword [rsi + 0x124]
lea r10, [rbp - 0x18]
mov qword [rsp + 0x20], r10
call rax
test al, al
jne 0x14000690a
mov eax, dword [0x14010821c]
test al, 4
je 0x1400068a6
cmp byte [rbp - 1], 0
jns 0x140006875
mov rdi, qword [rbp - 0x18]
jmp 0x140006879
lea rdi, [rbp - 0x18]
mov ecx, 2
call fcn.140099d28
mov rcx, rdi
mov rdx, rax
call fcn.1400ad60c
mov ecx, 2
call fcn.140099d28
mov rcx, rax
call fcn.1400ad21c
mov eax, dword [0x14010821c]
test al, 2
je 0x140006901
movsx rax, byte [rbp - 1]
test rax, rax
lea rcx, [rbp - 0x18]
cmovs rcx, qword [rbp - 0x18]
mov qword [rbp - 0x40], rcx
cmovs rax, qword [rbp - 0x10]
mov qword [rbp - 0x38], rax
lea rdi, [rbp - 0x30]
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.140017dc0
cmp byte [rbp - 0x19], 0
jns 0x1400068e2
mov rdi, qword [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [rbp - 0x19], 0
jns 0x140006901
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x20]
add rdx, rdx
call fcn.14009665c
cmp dword [rsi + 0x124], 4
je 0x14000693e
cmp byte [rbp - 1], 0
jns 0x140006927
movabs rdx, 0x7fffffffffffffff
and rdx, qword [rbp - 8]
mov rcx, qword [rbp - 0x18]
call fcn.14009665c
nop
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea rcx, [rbp - 0x18]
call fcn.140004e00
int3
Function at 0x14000ad00
Capabilities:
Check if file exists
Create directory

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x190
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x108], 0xfffffffffffffffe
mov rsi, rcx
cmp byte [rcx + 0x17], 0
jns 0x14000ad29
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, eax
mov al, 1
test ecx, ecx
jne 0x14000ae2f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000ad5c
mov rcx, rsi
add rsp, 0x190
pop rdi
pop rsi
pop rbp
jmp fcn.14000aec0
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace_::CreateDirectoryIfNecessary_const_base::FilePath__
lea r8, str.third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x50]
mov r9d, 0x265
call fcn.1400069d0
lea rcx, [rbp - 0x48]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.1400048b0
mov rdi, rax
movsx rax, byte [rsi + 0x17]
test rax, rax
jns 0x14000adb4
mov rax, qword [rsi + 8]
mov rsi, qword [rsi]
mov qword [rbp + 0xe0], rsi
mov qword [rbp + 0xe8], rax
lea rsi, [rbp + 0xf0]
lea rdx, [rbp + 0xe0]
mov rcx, rsi
call fcn.140017cd0
movsx r8, byte [rbp + 0x107]
test r8, r8
cmovs r8, qword [rbp + 0xf8]
cmovs rsi, qword [rbp + 0xf0]
mov rcx, rdi
mov rdx, rsi
call fcn.1400048b0
cmp byte [rbp + 0x107], 0
jns 0x14000ae24
movabs rdx, 0x7fffffffffffffff
and rdx, qword [rbp + 0x100]
mov rcx, qword [rbp + 0xf0]
call fcn.14009665c
lea rcx, [rbp - 0x50]
call fcn.140006a90
xor eax, eax
add rsp, 0x190
pop rdi
pop rsi
pop rbp
ret

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

Disassembly:
push rbp
push rsi
sub rsp, 0x168
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xe0], 0xfffffffffffffffe
mov rsi, rcx
cmp byte [rcx + 0x17], 0
jns 0x14000aee8
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000af66
mov ecx, eax
mov al, 1
test cl, 0x10
jne 0x14000afc0
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace_::EnsureDirectory_const_base::FilePath__
lea r8, str.third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x50]
mov r9d, 0x255
call fcn.140005c30
lea rcx, [rbp - 0x48]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400048b0
mov rcx, rax
mov rdx, rsi
call fcn.140008200
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.1400048b0
lea rcx, [rbp - 0x50]
call fcn.140006650
jmp 0x14000afbe
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace_::EnsureDirectory_const_base::FilePath__
lea r8, str.third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp - 0x50]
mov r9d, 0x251
call fcn.1400069d0
lea rcx, [rbp - 0x48]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400048b0
mov rcx, rax
mov rdx, rsi
call fcn.140008200
lea rcx, [rbp - 0x50]
call fcn.140006a90
xor eax, eax
add rsp, 0x168
pop rsi
pop rbp
ret
Function at 0x14000d370
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, r8
mov rdi, rdx
lea rdx, [rbp - 8]
call fcn.14000b650
mov r14, qword [rbp - 8]
test r14, r14
je 0x14000d456
movups xmm0, xmmword [rdi]
movaps xmmword [rbp - 0x20], xmm0
mov rdi, qword [r14 + 0x40]
mov r15, qword [r14 + 0x48]
cmp rdi, r15
je 0x14000d3df
lea rbx, [rbp - 0x20]
nop dword [rax]
mov rcx, rdi
mov rdx, rbx
call fcn.14004b2e0
test al, al
jne 0x14000d3db
add rdi, 0x70
cmp rdi, r15
jne 0x14000d3c0
mov rdi, r15
mov r15, qword [r14 + 0x48]
cmp rdi, r15
je 0x14000d45e
lea rbx, [rdi + 0x10]
cmp byte [rdi + 0x27], 0
mov rcx, rbx
jns 0x14000d3f5
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov r14d, 1
cmovne r14d, ecx
test r14d, r14d
jne 0x14000d4a7
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
lea rcx, [rsi + 0x10]
mov rdx, rbx
call fcn.1400073b0
cmp rsi, rdi
je 0x14000d48c
lea rcx, [rsi + 0x28]
lea rdx, [rdi + 0x28]
cmp byte [rsi + 0x3f], 0
movzx eax, byte [rdi + 0x3f]
js 0x14000d466
test al, al
js 0x14000d474
mov rax, qword [rdx + 0x10]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
jmp 0x14000d48c
mov r14d, 3
jmp 0x14000d4a7
mov r14d, 1
jmp 0x14000d4a7
test al, al
jns 0x14000d483
mov r8, qword [rdi + 0x30]
mov rdx, qword [rdi + 0x28]
jmp 0x14000d487
mov rdx, qword [rdi + 0x28]
mov r8, qword [rdi + 0x30]
call fcn.140009c60
jmp 0x14000d48c
movzx r8d, al
call fcn.140009b30
mov rax, qword [rdi + 0x60]
mov qword [rsi + 0x60], rax
movups xmm0, xmmword [rdi + 0x40]
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rsi + 0x50], xmm1
movups xmmword [rsi + 0x40], xmm0
xor r14d, r14d
lea rcx, [rbp - 8]
call fcn.14000c680
mov eax, r14d
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
Function at 0x14000d570
Capabilities:
Get file attributes

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov qword [rbp - 8], 0xfffffffffffffffe
mov r12, r8
mov esi, edx
mov rdi, qword [rcx + 0x40]
mov r14, qword [rcx + 0x48]
mov r15, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov qword [rbp - 0x18], r8
jmp 0x14000d5b9
mov rcx, r12
mov rdx, rdi
call fcn.14000f890
mov qword [r12 + 8], rax
add rdi, 0x70
cmp rdi, r14
je 0x14000d668
cmp dword [rdi + 0x68], esi
jne 0x14000d5b5
lea rbx, [rdi + 0x10]
cmp byte [rdi + 0x27], 0
mov rcx, rbx
jns 0x14000d5d8
mov rcx, qword [rdi + 0x10]
call r15
test al, 0x10
jne 0x14000d5b5
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
jae 0x14000d5a5
movups xmm0, xmmword [rdi]
movups xmmword [rax], xmm0
lea r12, [rax + 0x10]
mov rcx, r12
mov rdx, rbx
mov qword [rbp - 0x10], rax
call fcn.140007240
mov rax, qword [rbp - 0x10]
lea rcx, [rax + 0x28]
cmp byte [rdi + 0x3f], 0
js 0x14000d626
lea rax, [rdi + 0x28]
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
jmp 0x14000d637
mov qword [rbp - 0x20], r12
mov rdx, qword [rdi + 0x28]
mov r8, qword [rdi + 0x30]
call fcn.1400093c0
mov rax, qword [rdi + 0x60]
mov rcx, qword [rbp - 0x10]
mov qword [rcx + 0x60], rax
mov rax, rcx
movups xmm0, xmmword [rdi + 0x40]
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x40], xmm0
add rax, 0x68
mov r12, qword [rbp - 0x18]
mov qword [r12 + 8], rax
jmp 0x14000d5b0
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret