joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401ba7f4
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140192514
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401ba87e
cmp byte [rbp - 0x21], r15b
je 0x1401ba879
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1401ba8b4
call fcn.1401b0cd4
test eax, eax
jne 0x1401ba8a0
cmp byte [rbp - 0x21], r15b
je 0x1401ba898
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1401ba8b4
cmp byte [rbp - 0x21], r15b
je 0x1401ba8b1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1401979fc
test eax, eax
jne 0x1401ba954
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140192514
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1401ba8f3
cmp byte [rbp - 0x21], r15b
je 0x1401ba928
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1401ba928
call fcn.1401b0cd4
test eax, eax
jne 0x1401ba914
cmp byte [rbp - 0x21], r15b
je 0x1401ba90d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1401ba928
cmp byte [rbp - 0x21], r15b
je 0x1401ba925
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1401979fc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1401ba954
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1401ba957
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1401ba965
mov rcx, rdi
call fcn.140180f30
cmp byte [rbp + 0x3f], r15b
je 0x1401ba974
mov rcx, qword [rbp + 0x27]
call fcn.140180f30
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1401bbea0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1401bbeb6
mov al, 1
jmp 0x1401bbf16
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1401bbec7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1401bbf14
mov ecx, dword [rcx + 0x18]
nop
call fcn.14019b4ac
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401bbf14
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1401bbf14
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1401bbf14
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1401bbf16
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1401c69e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x28
movapd xmmword [rsp + 0x10], xmm7
movapd xmmword [rsp], xmm6
mov r11, qword [r8]
mov r10, qword [r8 + 8]
mov rax, r10
sub rax, r11
sar rax, 2
lea r9, [rax - 1]
cmp r9, 2
jb 0x1401c6ab8
cvtsi2sd xmm0, ecx
cvtsi2sd xmm1, edx
add rax, 0xfffffffffffffffd
movq xmm2, rax
punpckldq xmm2, xmmword [0x140274d70]
subpd xmm2, xmmword [0x140274d80]
haddpd xmm2, xmm2
mov ecx, 1
movdqa xmm3, xmmword [0x140274d70]
movapd xmm4, xmmword [0x140274d80]
movsd xmm5, qword [0x14025fa70]
mov rdx, qword [r8]
mov r10, qword [r8 + 8]
sub r10, rdx
sar r10, 2
cmp r10, rcx
jbe 0x1401c6ada
movq xmm6, rax
punpckldq xmm6, xmm3
subpd xmm6, xmm4
haddpd xmm6, xmm6
lea r10, [rcx - 1]
movq xmm7, r10
punpckldq xmm7, xmm3
subpd xmm7, xmm4
haddpd xmm7, xmm7
mulsd xmm6, xmm0
mulsd xmm7, xmm1
addsd xmm7, xmm6
divsd xmm7, xmm2
addsd xmm7, xmm5
cvttsd2si r10d, xmm7
mov dword [rdx + rcx*4], r10d
dec rax
inc rcx
cmp rcx, r9
jne 0x1401c6a50
mov r11, qword [r8]
mov r10, qword [r8 + 8]
cmp r10, r11
je 0x1401c6add
mov dword [r10 - 4], 0x7fffffff
mov rcx, r8
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
add rsp, 0x28
jmp fcn.14016e610
int3
int3

Function at 0x1401c9150
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
add rsi, rdi
xor r15d, r15d
lea r14, [rsp + 0x2c]
mov r12, qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1401c919e
mov rdx, rcx
add rdi, rdx
cmp al, 1
je 0x1401c91dc
cmp rdi, rsi
jae 0x1401c91dc
mov dword [rsp + 0x2c], 0
mov r8d, esi
sub r8d, edi
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov rdx, rdi
mov r9, r14
call r12
test eax, eax
sete dl
mov ecx, dword [rsp + 0x2c]
test rcx, rcx
sete al
or al, dl
mov edx, 0
jne 0x1401c9197
jmp 0x1401c9194
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140186020
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1401f6b50
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 [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x1401f6bc1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x1401f6bcb
mov dil, 1
test bl, bl
je 0x1401f6baa
cmp byte [rsi + 8], 0
je 0x1401f6bc6
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.140186020
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsi]
jmp 0x1401f6b7d
mov rcx, qword [rsi]
jmp 0x1401f6b9f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 0
je 0x1401f6bf3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1401f6bf8
xor edi, edi
jmp 0x1401f6baa
mov rcx, qword [rsi]
jmp 0x1401f6be0
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 0
je 0x1401f6c1f
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 0x1401f6baa
mov rcx, qword [rsi]
jmp 0x1401f6c0f
Function at 0x1401f93e0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x1402b65e8], 0
je 0x1401f9426
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.140186020
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x1402b65d8]
test rdi, rdi
je 0x1401f94c7
test byte [0x1402aaf58], 1
je 0x1401f9409
cmp byte [rdi + 0x17], 0
jns 0x1401f9448
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1402b65e8], rax
inc rax
cmp rax, 1
ja 0x1401f9409
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140188160
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x1401f95b1
xor esi, esi
jmp 0x1401f9409
mov ecx, 0x18
call fcn.1401833f4
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140188160
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x14026cc70]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.1401c3a00
movzx eax, byte [rdi + 0x17]
mov edx, eax
and edx, 0x7f
test al, al
cmovs rdx, qword [rdi + 8]
mov rcx, qword [rdi]
mov r8, rdi
cmovs r8, rcx
test rdx, rdx
je 0x1401f957e
lea r10, [rdx + rdx]
test r10, r10
je 0x1401f957e
lea r9, [r10 - 2]
cmp word [r8 + r10 - 2], 0x5c
mov r10, r9
jne 0x1401f9540
cmp r9, 0xfffffffffffffffe
je 0x1401f957e
mov r8, r9
sar r8, 1
cmp rdx, r8
jbe 0x1401f969a
lea rdx, [r8 + 1]
test al, al
jns 0x1401f959f
mov qword [rdi + 8], rdx
mov word [rcx + r8*2 + 2], 0
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.14001f060
mov qword [0x1402b65d8], rdi
jmp 0x1401f9436
cmp r9, 0x14
jae 0x1401f9694
mov byte [rdi + 0x17], dl
mov rcx, rdi
jmp 0x1401f9576
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.140183fc8
mov rcx, qword [0x1402b65d8]
mov rdx, rdi
mov r8, rax
call fcn.14002b790
mov rcx, qword [0x1402b65d8]
movzx eax, byte [rcx + 0x17]
test al, al
jns 0x1401f9687
mov rax, qword [rcx + 8]
test rax, rax
je 0x1401f9697
mov rdx, qword [rcx]
cmp word [rdx + rax*2 - 2], 0x5c
je 0x1401f9614
lea rdx, [0x140277918]
mov r8d, 1
call fcn.14001f060
mov rcx, qword [0x1402b65d8]
lea rdx, str.debug.log
mov r8d, 9
call fcn.14001f060
mov rcx, qword [0x1402b65d8]
cmp byte [rcx + 0x17], 0
jns 0x1401f9636
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 [0x1402b65e8], rax
inc rax
cmp rax, 1
ja 0x1401f9409
mov qword [0x1402b65e8], 0
jmp 0x1401f94c0
test rax, rax
je 0x1401f9697
mov rdx, rcx
jmp 0x1401f95f3
int3
int3
int3
Function at 0x140201030
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r14, qword [rcx + 0x10]
cmp r14, qword [rcx + 0x18]
je 0x14020108c
test r14, r14
je 0x14020118b
mov rax, qword [rdi]
mov qword [r14], rax
add qword [rsi + 0x10], 8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140186020
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r15, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r15
jbe 0x1402010d6
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r15, [rax + rcx]
inc r15
shr r15, 1
shl r15, 3
mov rcx, rbx
sub rcx, r15
mov r8, r14
sub r8, rbx
mov rdx, rbx
call fcn.140187ab0
sub r14, r15
mov qword [rsi + 0x10], r14
sub qword [rsi + 8], r15
jmp 0x14020105c
mov rax, r14
sub rax, r15
sar rax, 2
cmp r14, r15
mov r12d, 1
cmovne r12, rax
lea rax, [rsi + 0x20]
mov qword [rsp + 0x48], rax
mov rax, r12
shr rax, 0x3d
jne 0x1402011b7
lea rcx, [r12*8]
call fcn.1401833f4
mov rcx, r12
and rcx, 0xfffffffffffffffc
lea rdx, [rax + rcx*2]
mov r9, r14
mov r8, rdx
sub r9, rbx
je 0x140201156
mov rcx, r9
sar rcx, 3
and r9, 0xfffffffffffffff8
mov r8, r9
add r8, rdx
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x14020118b
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x14020113e
lea r9, [rax + r12*8]
mov qword [rsi], rax
lea rcx, [rsp + 0x28]
mov qword [rcx], r15
mov qword [rsi + 8], rdx
mov qword [rcx + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rcx + 0x10], r14
mov qword [rsi + 0x18], r9
mov qword [rcx + 0x18], r14
call fcn.140201500
mov r14, qword [rsi + 0x10]
jmp 0x14020105c
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1401c1450
call fcn.1401c1450
int3
Function at 0x1402011c0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, qword [rcx + 8]
cmp rbx, qword [rcx]
je 0x14020121c
add rbx, 0xfffffffffffffff8
je 0x140201328
mov rax, qword [rdi]
mov qword [rbx], rax
add qword [rsi + 8], 0xfffffffffffffff8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140186020
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, qword [rsi + 0x10]
mov r15, qword [rsi + 0x18]
cmp r14, r15
jae 0x14020126f
sub r15, r14
sar r15, 3
lea rax, [r15 + 1]
shr rax, 0x3f
lea r12, [r15 + rax]
inc r12
shl r12, 2
and r12, 0xfffffffffffffff8
lea r15, [r14 + r12]
sub r14, rbx
sub r15, r14
mov rcx, r15
mov rdx, rbx
mov r8, r14
call fcn.140187ab0
mov qword [rsi + 8], r15
add qword [rsi + 0x10], r12
mov rbx, r15
jmp 0x1402011eb
mov rax, r15
sub rax, rbx
sar rax, 2
cmp r15, rbx
mov r12d, 1
cmovne r12, rax
lea rax, [rsi + 0x20]
mov qword [rsp + 0x48], rax
mov rax, r12
shr rax, 0x3d
jne 0x140201354
lea rcx, [r12*8]
call fcn.1401833f4
lea rdx, [r12*2 + 6]
and rdx, 0xfffffffffffffff8
add rdx, rax
mov r9, r14
mov r8, rdx
sub r9, rbx
je 0x1402012f3
mov rcx, r9
sar rcx, 3
and r9, 0xfffffffffffffff8
mov r8, r9
add r8, rdx
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x140201328
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x1402012db
lea r9, [rax + r12*8]
mov qword [rsi], rax
lea rcx, [rsp + 0x28]
mov qword [rcx], rbx
mov qword [rsi + 8], rdx
mov qword [rcx + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rcx + 0x10], r14
mov qword [rsi + 0x18], r9
mov qword [rcx + 0x18], r15
call fcn.140201500
mov rbx, qword [rsi + 8]
jmp 0x1402011eb
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1401c1450
call fcn.1401c1450
int3
Function at 0x140201360
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, qword [rcx + 8]
cmp rbx, qword [rcx]
je 0x1402013bc
add rbx, 0xfffffffffffffff8
je 0x1402014c8
mov rax, qword [rdi]
mov qword [rbx], rax
add qword [rsi + 8], 0xfffffffffffffff8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140186020
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, qword [rsi + 0x10]
mov r15, qword [rsi + 0x18]
cmp r14, r15
jae 0x14020140f
sub r15, r14
sar r15, 3
lea rax, [r15 + 1]
shr rax, 0x3f
lea r12, [r15 + rax]
inc r12
shl r12, 2
and r12, 0xfffffffffffffff8
lea r15, [r14 + r12]
sub r14, rbx
sub r15, r14
mov rcx, r15
mov rdx, rbx
mov r8, r14
call fcn.140187ab0
mov qword [rsi + 8], r15
add qword [rsi + 0x10], r12
mov rbx, r15
jmp 0x14020138b
mov rax, r15
sub rax, rbx
sar rax, 2
cmp r15, rbx
mov r12d, 1
cmovne r12, rax
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x48], rax
mov rax, r12
shr rax, 0x3d
jne 0x1402014f4
lea rcx, [r12*8]
call fcn.1401833f4
lea rdx, [r12*2 + 6]
and rdx, 0xfffffffffffffff8
add rdx, rax
mov r9, r14
mov r8, rdx
sub r9, rbx
je 0x140201493
mov rcx, r9
sar rcx, 3
and r9, 0xfffffffffffffff8
mov r8, r9
add r8, rdx
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x1402014c8
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x14020147b
lea r9, [rax + r12*8]
mov qword [rsi], rax
lea rcx, [rsp + 0x28]
mov qword [rcx], rbx
mov qword [rsi + 8], rdx
mov qword [rcx + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rcx + 0x10], r14
mov qword [rsi + 0x18], r9
mov qword [rcx + 0x18], r15
call fcn.140201500
mov rbx, qword [rsi + 8]
jmp 0x14020138b
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1401c1450
call fcn.1401c1450
int3

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x38], rax
movdqu xmm0, xmmword [rdx]
movdqa xmmword [rsp + 0x20], xmm0
mov rbx, qword [rcx + 0x50]
mov rax, qword [rcx + 0x58]
mov edi, 1
cmp rbx, rax
je 0x14020e314
mov rsi, r8
movdqu xmm0, xmmword [rbx]
pcmpeqb xmm0, xmmword [rsp + 0x20]
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x14020e32b
add rbx, 0x70
cmp rbx, rax
jne 0x14020e2f5
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140186020
mov eax, edi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
cmp rbx, rax
je 0x14020e314
cmp byte [rbx + 0x27], 0
js 0x14020e33c
lea rcx, [rbx + 0x10]
jmp 0x14020e340
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov edi, 1
cmovne edi, ecx
test edi, edi
jne 0x14020e314
mov qword [rsi], rbx
xor edi, edi
jmp 0x14020e314
Function at 0x14020e4d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x30], rax
movdqu xmm0, xmmword [rdx]
movdqa xmmword [rsp + 0x20], xmm0
mov r14, qword [rcx + 0x50]
mov rax, qword [rcx + 0x58]
mov esi, 1
cmp r14, rax
je 0x14020e52a
mov rdi, r9
mov rbx, rcx
movdqu xmm0, xmmword [r14]
pcmpeqb xmm0, xmmword [rsp + 0x20]
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x14020e543
add r14, 0x70
cmp r14, rax
jne 0x14020e50a
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140186020
mov eax, esi
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
cmp r14, rax
je 0x14020e52a
mov eax, dword [r14 + 0x68]
cmp eax, r8d
je 0x14020e560
xor ecx, ecx
cmp eax, 1
sete cl
lea esi, [rcx + rcx*2]
inc esi
jmp 0x14020e52a
cmp byte [r14 + 0x27], 0
js 0x14020e56d
lea rcx, [r14 + 0x10]
jmp 0x14020e571
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14020e52a
shr eax, 3
and eax, 2
mov esi, eax
jne 0x14020e52a
mov byte [rbx + 0x48], 1
mov qword [rdi], r14
xor esi, esi
jmp 0x14020e52a

Function at 0x140210430
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x1402b6c20]
test rax, rax
jne 0x140210474
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x1402b6c20]
test rax, rax
je 0x140210461
cmp eax, 2
je 0x140210505
mov eax, 1
lock xadd qword [0x1402b6c58], rax
test rax, rax
jle 0x14021049d
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1402b6bd8], eax
mov qword [0x1402b6bd0], rsi
mov rcx, qword [0x1402aafa0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x1402b65e0], 2
jg 0x14021054d
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xba
mov r9d, 2
call fcn.140007440
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
jmp 0x140210540
cmp dword [0x1402b65e0], 2
jg 0x14021054d
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x8e
mov r9d, 2
call fcn.140007440
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
call fcn.1401c1300
mov rcx, rsi
call fcn.140007530
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140186020
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
Function at 0x1402174e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
xor edx, edx
xor r8d, r8d
call fcn.14003ad90
test rax, rax
jne 0x14021751e
mov rcx, rdi
call fcn.140058200
test al, al
je 0x14021751e
mov r8d, 0x28
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140059dc0
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x14021930a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140219329
mov edi, eax
bt eax, 0xa
jae 0x140219321
test bl, bl
je 0x140219337
and edi, 0x10
shr edi, 4
jmp 0x140219339
mov ecx, 2
call fcn.1400ece10
test al, al
jne 0x140219356
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140186020
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x82
mov r9d, 2
call fcn.1401f99b0
lea rcx, [rsp + 0x68]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1401c1300
mov rdi, rax
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x1402193a6
and r8d, 0x7f
jmp 0x1402193ad
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.140180c80
lea rsi, [rsp + 0x40]
mov rcx, rsi
mov rdx, rbx
call fcn.140148c90
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x1402193dd
and r8d, 0x7f
jmp 0x1402193e7
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.1401c1300
cmp byte [rsp + 0x57], 0
jns 0x140219403
mov rcx, qword [rsp + 0x40]
call fcn.1401833ec
lea rcx, [rsp + 0x58]
call fcn.1401f9a30
jmp 0x140219337
Function at 0x140219420
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1b0
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
cmp byte [rcx + 0x17], 0
jns 0x14021944b
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x14021947b
test bl, bl
je 0x14021946b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140219498
mov ecx, 2
call fcn.1400ece10
test al, al
jne 0x1402194bc
xor edi, edi
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140186020
mov eax, edi
add rsp, 0x1b0
pop rbx
pop rdi
pop rsi
ret
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.1402192e0
test al, al
jne 0x14021947b
mov ecx, 2
call fcn.1400ece10
test al, al
je 0x140219479
jmp 0x140219587
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x40]
mov r8d, 0x62
mov r9d, 2
call fcn.1401f99b0
lea rcx, [rsp + 0x50]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.1401c1300
mov rdi, rax
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x14021950c
and r8d, 0x7f
jmp 0x140219513
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.140180c80
lea rsi, [rsp + 0x190]
mov rcx, rsi
mov rdx, rbx
call fcn.140148c90
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x140219546
and r8d, 0x7f
jmp 0x140219556
mov r8, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
mov rcx, rdi
mov rdx, rsi
call fcn.1401c1300
cmp byte [rsp + 0x1a7], 0
jns 0x140219578
mov rcx, qword [rsp + 0x190]
call fcn.1401833ec
lea rcx, [rsp + 0x40]
call fcn.1401f9a30
jmp 0x140219479
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x40]
mov r8d, 0x5d
mov r9d, 2
call fcn.140007440
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x1402195b4
and r8d, 0x7f
jmp 0x1402195bb
mov r8, qword [rsi + 8]
mov rsi, qword [rsi]
lea rdi, [rsp + 0x50]
lea rbx, [rsp + 0x180]
mov rcx, rbx
mov rdx, rsi
call fcn.140180c80
lea rsi, [rsp + 0x190]
mov rcx, rsi
mov rdx, rbx
call fcn.140148c90
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
js 0x1402195f6
and r8d, 0x7f
jmp 0x140219606
mov r8, qword [rsp + 0x198]
mov rsi, qword [rsp + 0x190]
mov rcx, rdi
mov rdx, rsi
call fcn.1401c1300
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.1401c1300
cmp byte [rsp + 0x1a7], 0
jns 0x14021963d
mov rcx, qword [rsp + 0x190]
call fcn.1401833ec
lea rcx, [rsp + 0x40]
call fcn.140007530
jmp 0x140219479