joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b4d2c
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400b4d5c
xor eax, eax
jmp 0x1400b4e1f
mov rbp, rbx
cmp word [rax], si
je 0x1400b4d81
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400b4d68
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400b4d64
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400b4c7c
movsxd r14, eax
test eax, eax
jne 0x1400b4dbf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400b4d55
mov rcx, r14
call fcn.140030f00
mov rdi, rax
test rax, rax
jne 0x1400b4dd8
xor ecx, ecx
call fcn.140069450
jmp 0x1400b4db4
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400b4c7c
test eax, eax
jne 0x1400b4e09
mov rcx, rdi
call fcn.140069450
jmp 0x1400b4e13
xor ecx, ecx
call fcn.140069450
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400b4e3c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400b4ec3
mov rsi, rbx
cmp word [rax], bp
je 0x1400b4e82
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400b4e6c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400b4e68
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140030f00
mov rdi, rax
test rax, rax
je 0x1400b4eb0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14008ca80
mov rbp, rdi
xor ecx, ecx
call fcn.140069450
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400bba3c
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.140097a0c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400bbac6
cmp byte [rbp - 0x21], r15b
je 0x1400bbac1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400bbafc
call fcn.1400ae104
test eax, eax
jne 0x1400bbae8
cmp byte [rbp - 0x21], r15b
je 0x1400bbae0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400bbafc
cmp byte [rbp - 0x21], r15b
je 0x1400bbaf9
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.14009cfe8
test eax, eax
jne 0x1400bbb9c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140097a0c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400bbb3b
cmp byte [rbp - 0x21], r15b
je 0x1400bbb70
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400bbb70
call fcn.1400ae104
test eax, eax
jne 0x1400bbb5c
cmp byte [rbp - 0x21], r15b
je 0x1400bbb55
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400bbb70
cmp byte [rbp - 0x21], r15b
je 0x1400bbb6d
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.14009cfe8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400bbb9c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400bbb9f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400bbbad
mov rcx, rdi
call fcn.140069450
cmp byte [rbp + 0x3f], r15b
je 0x1400bbbbc
mov rcx, qword [rbp + 0x27]
call fcn.140069450
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 0x1400d5540
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x10
call fcn.140089b6c
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400d55b0]
xor ecx, ecx
xor edx, edx
mov r9, rax
call fcn.14009d164
mov qword [rbx], rax
test rax, rax
je 0x1400d5597
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x1400d67d0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x17], 0
jns 0x1400d67dd
mov rcx, qword [rcx]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x1400d7140
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x140125038]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x1401383d0]
test rax, rax
je 0x1400d7245
cmp eax, 2
jne 0x1400d71bc
mov ecx, 2
call fcn.14006efc0
test al, al
je 0x1400d7215
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x8e
mov r9d, 2
call fcn.14003b420
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
jmp 0x1400d7296
mov eax, 1
lock xadd qword [0x140138408], rax
test rax, rax
jle 0x1400d71dc
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x140138388], eax
mov qword [0x140138380], rsi
mov rcx, qword [0x140127148]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.14006efc0
test al, al
jne 0x1400d7264
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.14008b000
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x1401383d0]
test rax, rax
je 0x1400d724c
jmp 0x1400d716e
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0xba
mov r9d, 2
call fcn.14003b420
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
call fcn.1400bd2f0
mov rcx, rsi
call fcn.14003b910
jmp 0x1400d7215
Function at 0x1400da570
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x140125038]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x1401384d8], 0
je 0x1400da5b6
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.14008b000
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x1401384b0]
test rdi, rdi
je 0x1400da657
test byte [0x140127750], 1
je 0x1400da599
cmp byte [rdi + 0x17], 0
jns 0x1400da5d8
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 [0x1401384d8], rax
inc rax
cmp rax, 1
ja 0x1400da599
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14008d130
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x1400da722
xor esi, esi
jmp 0x1400da599
mov ecx, 0x18
call fcn.140089b6c
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.14008d130
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x140109be0]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.1400bd1d0
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x1400da6be
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
jmp 0x1400da6c4
and eax, 0x7f
mov rcx, rdi
test rax, rax
jne 0x1400da6ea
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.140028120
mov qword [0x1401384b0], rdi
jmp 0x1400da5c6
lea r8, [rax + rax]
test r8, r8
je 0x1400da6c9
lea rdx, [r8 - 2]
cmp word [rcx + r8 - 2], 0x5c
mov r8, rdx
jne 0x1400da6ee
cmp rdx, 0xfffffffffffffffe
je 0x1400da6c9
sar rdx, 1
inc rdx
cmp rax, rdx
jb 0x1400da7e9
mov rcx, rdi
call fcn.1400d5bd0
jmp 0x1400da6c9
mov rdi, qword [0x1401384b0]
lea rbx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400a9710
mov rcx, rdi
mov rdx, rbx
mov r8, rax
call fcn.140027e00
mov rcx, qword [0x1401384b0]
call fcn.140026330
cmp word [rax], 0x5c
je 0x1400da76f
mov rcx, qword [0x1401384b0]
lea rdx, [0x14010d63a]
mov r8d, 1
call fcn.140028120
mov rcx, qword [0x1401384b0]
lea rdx, str.debug.log
mov r8d, 9
call fcn.140028120
mov rcx, qword [0x1401384b0]
cmp byte [rcx + 0x17], 0
jns 0x1400da798
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 [0x1401384d8], rax
inc rax
cmp rax, 1
ja 0x1400da599
mov qword [0x1401384d8], 0
jmp 0x1400da650
call fcn.1400a2400
int3
Function at 0x1400e1480
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, qword [0x140125038]
xor rax, rsp
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rcx + 0x50]
mov r12, qword [rcx + 0x58]
mov ebx, 1
cmp rdi, r12
je 0x1400e1514
mov rsi, r8
mov r14, rcx
lea r15, [rsp + 0x20]
mov rcx, rdi
mov rdx, r15
call fcn.1400e0d90
test al, al
jne 0x1400e14dc
add rdi, 0x70
cmp rdi, r12
jne 0x1400e14c1
mov rdi, r12
cmp rdi, qword [r14 + 0x58]
je 0x1400e1514
cmp byte [rdi + 0x27], 0
jns 0x1400e14ee
mov rcx, qword [rdi + 0x10]
jmp 0x1400e14f2
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov ebx, 1
cmovne ebx, ecx
test ebx, ebx
jne 0x1400e1514
mov qword [rsi], rdi
xor ebx, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14008b000
mov eax, ebx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

Function at 0x1400eb300
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 [0x140125038]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x1400eb32a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400eb34c
mov edi, eax
test bl, bl
jne 0x1400eb344
mov eax, edi
and eax, 0x400
jne 0x1400eb35a
and edi, 0x10
shr edi, 4
jmp 0x1400eb35c
mov ecx, 2
call fcn.14006efc0
test al, al
jne 0x1400eb379
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14008b000
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.1400dacd0
lea rcx, [rsp + 0x68]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400bd2f0
mov rdi, rax
movzx eax, byte [rsi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsi]
cmovns rax, rsi
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x40]
mov rcx, rsi
call fcn.140067fe0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400eb3ff
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
jmp 0x1400eb403
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.1400bd2f0
cmp byte [rsp + 0x57], 0
jns 0x1400eb41f
mov rcx, qword [rsp + 0x40]
call fcn.140089ba8
lea rcx, [rsp + 0x58]
call fcn.1400dad50
jmp 0x1400eb35a
Function at 0x1400eb430
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x140125038]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x1400eb457
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400eb487
test eax, 0x410
sete sil
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14008b000
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14006efc0
test al, al
jne 0x1400eb499
xor esi, esi
jmp 0x1400eb46b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x75
mov r9d, 2
call fcn.1400dacd0
lea rcx, [rsp + 0x60]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400bd2f0
mov rdi, rax
movzx eax, byte [rsi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsi]
cmovns rax, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.140067fe0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400eb51f
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
jmp 0x1400eb523
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.1400bd2f0
cmp byte [rsp + 0x4f], 0
jns 0x1400eb53f
mov rcx, qword [rsp + 0x38]
call fcn.140089ba8
lea rcx, [rsp + 0x50]
call fcn.1400dad50
jmp 0x1400eb495
Function at 0x1400eb550
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x140125038]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x1400eb577
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400eb58e
and eax, 0x410
cmp eax, 0x410
je 0x1400eb5d5
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400eb59a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
je 0x1400eb5c3
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14008b000
mov eax, edi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.14006efc0
test al, al
jne 0x1400eb5f6
xor edi, edi
jmp 0x1400eb5a7
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14008b000
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.1400eb6b0
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x95
mov r9d, 2
call fcn.1400dacd0
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.1400bd2f0
mov rdi, rax
movzx eax, byte [rsi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsi]
cmovns rax, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
cmovs rcx, qword [rsi + 8]
mov qword [rdx + 8], rcx
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.140067fe0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400eb67c
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
jmp 0x1400eb680
and r8d, 0x7f
mov rcx, rdi
mov rdx, rsi
call fcn.1400bd2f0
cmp byte [rsp + 0x4f], 0
jns 0x1400eb69c
mov rcx, qword [rsp + 0x38]
call fcn.140089ba8
lea rcx, [rsp + 0x50]
call fcn.1400dad50
jmp 0x1400eb5d1
Function at 0x1400eb6b0
Capabilities:
Delete directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x1a0
mov rdi, rcx
mov rax, qword [0x140125038]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x1400eb6d8
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test eax, eax
jne 0x1400eb6f2
mov ecx, 2
call fcn.14006efc0
test al, al
jne 0x1400eb714
test esi, esi
setne bl
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.14008b000
mov eax, ebx
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, 0x30
mov r9d, 2
call fcn.1400dacd0
lea rcx, [rsp + 0x68]
lea rdx, str.RemoveDirectory
mov r8d, 0x10
call fcn.1400bd2f0
mov rbx, rax
movzx eax, byte [rdi + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rdi]
cmovns rax, rdi
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
cmovs rcx, qword [rdi + 8]
mov qword [rdx + 8], rcx
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.140067fe0
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x1400eb79a
mov r8, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
jmp 0x1400eb79e
and r8d, 0x7f
mov rcx, rbx
mov rdx, rdi
call fcn.1400bd2f0
cmp byte [rsp + 0x57], 0
jns 0x1400eb7ba
mov rcx, qword [rsp + 0x40]
call fcn.140089ba8
lea rcx, [rsp + 0x58]
call fcn.1400dad50
jmp 0x1400eb6f2
Function at 0x1400f1f40
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov r14, rdx
mov rsi, rcx
mov rax, qword [rcx + 8]
cmp rax, qword [rcx + 0x10]
je 0x1400f1f7e
test rax, rax
je 0x1400f203b
mov rcx, qword [r14]
mov qword [rax], rcx
add rax, 8
mov qword [rsi + 8], rax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
sub rax, qword [rsi]
mov rbx, rax
sar rbx, 3
lea rcx, [rbx + 1]
mov rdx, rcx
shr rdx, 0x3d
jne 0x1400f2067
movabs rdx, 0x1fffffffffffffff
lea rdi, [rsi + 0x18]
mov r15, rax
sar r15, 2
cmp r15, rcx
cmovbe r15, rcx
movabs rcx, 0x7ffffffffffffff8
cmp rax, rcx
cmovae r15, rdx
test r15, r15
jne 0x1400f202e
xor eax, eax
shl rbx, 3
add rbx, rax
je 0x1400f203b
lea r15, [rax + r15*8]
mov rax, qword [r14]
mov qword [rbx], rax
lea r14, [rbx + 8]
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
sub r8, rdx
sub rbx, r8
mov rcx, rbx
call fcn.14008ca80
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov qword [rsi], rbx
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], r15
test rdx, rdx
je 0x1400f1f72
sub r8, rdx
sar r8, 3
mov rcx, rdi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.1400f25a0
mov rcx, rdi
mov rdx, r15
call fcn.1400f2b20
jmp 0x1400f1fcd
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.1400bdb10
call fcn.1400a2400
int3

Function at 0x1400f6650
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x1400f668c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1400f6696
add rdi, rbx
sub rsi, rbx
jne 0x1400f666a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1400a2400
int3

Function at 0x1400f9c00
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 [0x140125038]
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]
cmp rdi, rsi
jae 0x1400f9c88
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 0x1400f9c81
mov rdx, rcx
add rdi, rdx
cmp al, 1
jne 0x1400f9c42
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14008b000
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021210]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020640]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020640]
call fcn.1400123b8
lea rcx, [0x140021210]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
sbb byte [0x18c8ef6f0], cl
push rdi
add bh, bh
pop rdi
inc dword [rax]
mov ebp, 0xf500794f
jns 0x14003f6ec
cmc
jns 0x14003f6ec
cmc
push rsp
mov al, 0
dec dword [rbx + 0x3400ff]
inc dword [rax]
xor al, 0
inc dword [rax]
xor al, 0
add byte [rbx], al
scasd eax, dword [rdi]
sub al, 0x65
or ch, cl
cmp byte [rcx + rdx + 0x1aa03bdf], cl
loopne 0x14003f743
movsb byte [rdi], byte [rsi]
and dh, bl
fidivr word [0x17ce319b6]
fidivr word [0x17ce319b6]
test eax, 0xa63cdf21
invalid
fdivr dword [rdx]
invalid
invalid
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
scasd eax, dword [rdi]
nop
or dh, ah
hlt