joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140167d50
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14024f038]
xor rax, rsp
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [0x1402103c0]
lea r14, [rsp + 0x40]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.MoveUnsafe
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x20]
mov rcx, r15
mov r9d, 0x4d8
call fcn.1400dc390
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400d1670
mov al, byte [rdi + 0x17]
test al, al
jns 0x140167358
cmp qword [rdi + 8], 0x103
ja 0x14016736b
mov cl, byte [rsi + 0x17]
test cl, cl
jns 0x140167397
cmp qword [rsi + 8], 0x103
jbe 0x140167397
xor ebx, ebx
lea rcx, [rsp + 0x40]
call fcn.1400d16f0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400fd9d0
mov eax, ebx
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rdx, rsi
test cl, cl
jns 0x1401673a1
mov rdx, qword [rsi]
mov rcx, rdi
test al, al
jns 0x1401673ab
mov rcx, qword [rdi]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov bl, 1
test eax, eax
jne 0x14016736b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, rdi
call fcn.14005d440
test al, al
jne 0x1401673db
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140167369
mov rcx, rdi
mov rdx, rsi
call fcn.1401673f0
test al, al
jne 0x14016736b
jmp 0x1401673d1
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.1400de380
test al, al
jne 0x140167d71
mov rcx, rsi
call fcn.1400de380
test al, al
je 0x140167d7a
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x1401672d0
Function at 0x14016abb0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x14024f038]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x140261760], 0
je 0x14016abf6
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1400fd9d0
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x140261768]
test rdi, rdi
je 0x14016ac97
test byte [0x1402517d0], 1
je 0x14016abd9
cmp byte [rdi + 0x17], 0
jns 0x14016ac18
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 [0x140261760], rax
inc rax
cmp rax, 1
ja 0x14016abd9
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400ffb20
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x14016ad5b
xor esi, esi
jmp 0x14016abd9
mov ecx, 0x18
call fcn.1400fc2cc
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400ffb20
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x1402103c0]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.1400c80e0
movsx rax, byte [rdi + 0x17]
mov rcx, rdi
test rax, rax
jns 0x14016ad01
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
jne 0x14016ad27
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.1400cc6b0
mov qword [0x140261768], rdi
jmp 0x14016ac06
add rax, rax
test rax, rax
je 0x14016ad06
lea rdx, [rax - 2]
cmp word [rcx + rax - 2], 0x5c
mov rax, rdx
jne 0x14016ad2a
cmp rdx, 0xfffffffffffffffe
je 0x14016ad06
sar rdx, 1
inc rdx
mov rcx, rdi
mov r8, 0xffffffffffffffff
call fcn.1400c95a0
jmp 0x14016ad06
mov rcx, qword [0x140261768]
lea rdx, [rsp + 0x40]
call fcn.1400406c0
mov rcx, qword [0x140261768]
call fcn.140161df0
cmp word [rax], 0x5c
je 0x14016ad97
mov rcx, qword [0x140261768]
lea rdx, [0x140211688]
mov r8d, 1
call fcn.1400cc6b0
mov rcx, qword [0x140261768]
lea rdx, str.debug.log
mov r8d, 9
call fcn.1400cc6b0
mov rcx, qword [0x140261768]
cmp byte [rcx + 0x17], 0
jns 0x14016adc0
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 [0x140261760], rax
inc rax
cmp rax, 1
ja 0x14016abd9
mov qword [0x140261760], 0
jmp 0x14016ac90
Function at 0x140171270
Capabilities:
Create process on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xd0
mov rdi, rcx
mov rax, qword [0x14024f038]
xor rax, rsp
mov qword [rsp + 0xc8], rax
call fcn.14006f9e0
test al, al
je 0x1401712e4
xorps xmm0, xmm0
lea rsi, [rsp + 0x90]
movaps xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
xor ebx, ebx
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
call fcn.140077f50
test al, al
je 0x1401712e6
call fcn.140075740
mov ebx, eax
call fcn.140090de0
cmp ebx, 2
jne 0x140171303
mov ecx, 1
mov rdx, rdi
call fcn.1400759b0
mov bl, 1
jmp 0x1401712e6
xor ebx, ebx
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.1400fd9d0
mov eax, ebx
add rsp, 0xd0
pop rbx
pop rdi
pop rsi
ret
cmp eax, 0x16
jl 0x140171449
call fcn.1400811a0
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rcx
movaps xmm0, xmmword [0x1402103c0]
movaps xmmword [rsp + 0x60], xmm0
lea rcx, str.ms_settings:defaultapps_
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], 0x18
lea rcx, str.registeredAppUser
lea rdx, str.registeredAppMachine
test al, al
cmovne rdx, rcx
mov qword [rsp + 0xa0], rdx
xor al, 1
movzx eax, al
lea rax, [rax + rax*2]
add rax, 0x12
mov qword [rsp + 0xa8], rax
lea rbx, [rsp + 0x48]
mov rcx, rbx
mov rdx, rdi
call fcn.140075880
movsx rax, byte [rbx + 0x17]
test rax, rax
jns 0x14017139c
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xb8], rax
test rax, rax
js 0x14017146c
sete al
test rbx, rbx
setne cl
or cl, al
je 0x14017147f
lea rdx, [rsp + 0x80]
mov qword [rdx], rsi
mov qword [rdx + 8], 3
lea rsi, [rsp + 0x60]
mov rcx, rsi
call fcn.14005a5c0
cmp byte [rsp + 0x5f], 0
jns 0x1401713f7
mov rcx, qword [rsp + 0x48]
call fcn.1400fc308
cmp byte [rsp + 0x77], 0
jns 0x140171403
mov rsi, qword [rsp + 0x60]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
lea rdx, str.open
xor ecx, ecx
mov r8, rsi
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rsi, rax
cmp byte [rsp + 0x77], 0
jns 0x14017143d
mov rcx, qword [rsp + 0x60]
call fcn.1400fc308
mov bl, 1
cmp rsi, 0x20
jg 0x1401712e6
lea rax, str.http
lea rcx, [rsp + 0x38]
mov qword [rcx], rax
mov qword [rcx + 8], 4
call fcn.1400a23c0
mov ebx, eax
jmp 0x1401712e6
lea rcx, [0x140210516]
lea rdx, str....._third_partylibc_srcinclude_string_view:318:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.140139400
lea rcx, [0x140210516]
lea rdx, str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.140139400
int3
Function at 0x140178ac0
Capabilities:
Get token membership

Disassembly:
push rsi
sub rsp, 0x1c0
mov rax, qword [0x14024f038]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
lea r9, [rsp + 0x16c]
mov dword [r9], 0x44
xorps xmm0, xmm0
lea r8, [rsp + 0x170]
movaps xmmword [r8 + 0x30], xmm0
movaps xmmword [r8 + 0x20], xmm0
movaps xmmword [r8 + 0x10], xmm0
movaps xmmword [r8], xmm0
mov dword [r8 + 0x40], 0
mov ecx, ntohl
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x140178b4b
lea r8, [rsp + 0x2c]
mov dword [r8], 0
lea rdx, [rsp + 0x170]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x140178bbe
cmp dword [rsp + 0x2c], 0
setne sil
jmp 0x140178ba3
mov ecx, 2
call fcn.1400dc0e0
test al, al
je 0x140178ba1
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromeinstallerutilinstall_util.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x159
mov r9d, 2
call fcn.14016b430
lea rcx, [rsp + 0x40]
lea rdx, str.Failed_to_create_well_known_SID
mov r8d, 0x1f
call fcn.1400be440
mov rcx, rsi
call fcn.14016b4a0
xor esi, esi
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.1400fd9d0
mov eax, esi
add rsp, 0x1c0
pop rsi
ret
mov ecx, 2
call fcn.1400dc0e0
test al, al
je 0x140178ba1
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromeinstallerutilinstall_util.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x15f
mov r9d, 2
call fcn.14016b430
lea rcx, [rsp + 0x40]
lea rdx, str.Failed_to_check_token_membership_for_WinInteractiveSid
mov r8d, 0x36
jmp 0x140178b94
Function at 0x14017aed0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x258
movaps xmmword [rsp + 0x240], xmm6
mov edi, edx
mov rsi, rcx
mov rax, qword [0x14024f038]
xor rax, rsp
mov qword [rsp + 0x238], rax
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov qword [rcx + 0x10], rbx
movaps xmm6, xmmword [0x1402103c0]
movups xmmword [rcx], xmm6
call fcn.1400dc560
mov ecx, edi
mov rdx, rsi
call fcn.140060460
test al, al
je 0x14017af49
movsx rax, byte [rsi + 0x17]
test rax, rax
jns 0x14017af34
mov rax, qword [rsi + 8]
test rax, rax
je 0x14017af49
mov rcx, rsi
call fcn.14005d440
test al, al
jne 0x14017b036
mov rcx, rsi
call fcn.1400dc710
mov ecx, 4
lea r14, [0x140228240]
mov rax, rcx
jmp 0x14017af78
not rax
add rax, rcx
lea r14, [r14 + rdx*8]
add r14, 0x18
mov rcx, rax
test rax, rax
je 0x14017af87
shr rax, 1
lea rdx, [rax + rax*2]
cmp dword [r14 + rdx*8], edi
jge 0x14017af70
jmp 0x14017af62
lea rax, str.PROGRAMFILES
cmp r14, rax
je 0x14017b02e
cmp dword [r14], edi
jg 0x14017b02e
lea rdi, [rsp + 0x32]
mov r8d, 0x206
mov rcx, rdi
mov dl, 0xaa
call fcn.1400ffb20
mov word [rdi - 2], 0
mov rcx, qword [r14 + 8]
lea rdi, [rsp + 0x30]
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0x102
ja 0x14017b02e
mov qword [rsi + 0x10], rbx
movups xmmword [rsi], xmm6
lea rbx, [rsp + 0x20]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.14011f794
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.1400dc5c0
mov rcx, rsi
call fcn.14006a730
test al, al
je 0x14017b026
mov rcx, rsi
call fcn.1400de380
test al, al
jne 0x14017b026
mov rcx, rsi
call fcn.14005d440
test al, al
jne 0x14017b036
mov rcx, rsi
call fcn.1400dc710
mov rcx, rsi
call fcn.1400dc560
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.1400fd9d0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x258
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14017d970
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x20
lea rax, [0x140261990]
xor ecx, ecx
mov edx, 0xedb88320
mov r9d, ecx
shr r9d, 1
mov r8d, ecx
and r8d, 1
neg r8d
and r8d, edx
xor r8d, r9d
mov r10d, r8d
shr r10d, 1
mov r9d, ecx
shl r9d, 0x1e
sar r9d, 0x1f
and r9d, edx
xor r9d, r10d
mov r10d, r9d
shr r10d, 6
mov r11d, ecx
shl r11d, 0x1d
sar r11d, 0x1f
and r11d, 0x76dc419
mov esi, ecx
shl esi, 0x1c
sar esi, 0x1f
and esi, 0xedb8832
xor esi, r11d
mov r11d, ecx
shl r11d, 0x1b
sar r11d, 0x1f
and r11d, 0x1db71064
xor r11d, esi
mov esi, ecx
shl esi, 0x1a
sar esi, 0x1f
and esi, 0x3b6e20c8
xor esi, r11d
xor esi, r10d
shl r8d, 0x1a
sar r8d, 0x1f
and r8d, 0x76dc4190
xor r8d, esi
shl r9d, 0x1a
sar r9d, 0x1f
and r9d, edx
xor r9d, r8d
mov dword [rax], r9d
inc rcx
add rax, 4
cmp rcx, 0x100
jne 0x14017d983
mov eax, 0x100
lea rcx, [0x140261990]
mov edx, dword [rcx + rax*4 - 0x400]
movzx r8d, dl
shr edx, 8
xor edx, dword [rcx + r8*4]
mov dword [rcx + rax*4], edx
inc rax
cmp rax, 0x800
jne 0x14017da46
lea rax, [0x1400fca60]
mov qword [0x140263990], rax
mov qword [0x140261988], rax
lea rsi, [0x1400fc970]
mov qword [0x140263998], rsi
call fcn.1401964d0
test eax, eax
jne 0x14017da99
mov qword [0x140261988], rsi
add rsp, 0x20
pop rsi
ret
Function at 0x1401814a0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rsi, rcx
mov rax, qword [0x14024f038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rax, qword [0x1402639e8]
test rax, rax
jne 0x1401814e4
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x1402639e8]
test rax, rax
je 0x1401814d1
cmp eax, 2
je 0x140181582
mov eax, 1
lock xadd qword [0x140263a20], rax
inc rax
cmp rax, 2
jl 0x140181511
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1402639a8], eax
mov qword [0x1402639a0], rsi
mov rcx, qword [0x140251ae8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.1400dc0e0
test al, al
je 0x1401815cf
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, ILCreateFromPathW
mov r9d, 2
call fcn.140067850
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
jmp 0x1401815c2
mov ecx, 2
call fcn.1400dc0e0
test al, al
je 0x1401815cf
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 0x90
mov r9d, 2
call fcn.140067850
lea rcx, [rsp + 0x30]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
call fcn.1400be440
mov rcx, rsi
call fcn.140067e60
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400fd9d0
xor eax, eax
add rsp, 0x158
pop rdi
pop rsi
ret

Function at 0x140182560
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x268
mov rsi, rdx
mov edi, ecx
mov rax, qword [0x14024f038]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rbx, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1400ffb20
mov word [rbx], 0
mov qword [rsp + 0x20], rbx
xor ecx, ecx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test eax, eax
js 0x1401825ef
lea r14, [rsp + 0x28]
mov qword [r14], rbx
mov rcx, rbx
call fcn.14011f794
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov rdx, r14
call fcn.1400dc5c0
mov rcx, rsi
mov rdx, rbx
call fcn.140068ec0
mov rcx, rbx
call fcn.1400dc710
test edi, edi
setns bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400fd9d0
mov eax, ebx
add rsp, 0x268
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140182b20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, r8
mov rax, qword [0x14024f038]
xor rax, rsp
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rcx + 0x50]
mov r15, qword [rcx + 0x58]
cmp rdi, r15
je 0x140182b76
mov rbx, rcx
lea r14, [rsp + 0x20]
mov rcx, rdi
mov rdx, r14
call fcn.1401846a0
test al, al
jne 0x140182b72
add rdi, 0x70
cmp rdi, r15
jne 0x140182b5a
mov r15, qword [rbx + 0x58]
cmp rdi, r15
je 0x140182baf
cmp byte [rdi + 0x27], 0
js 0x140182b87
lea rcx, [rdi + 0x10]
jmp 0x140182b8b
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 ebx, 1
cmovne ebx, ecx
test ebx, ebx
jne 0x140182bb4
mov qword [rsi], rdi
xor ebx, ebx
jmp 0x140182bb4
mov ebx, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400fd9d0
mov eax, ebx
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, r9
mov ebp, r8d
mov rdi, rcx
mov rax, qword [0x14024f038]
xor rax, rsp
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rbx, qword [rcx + 0x50]
mov r15, qword [rcx + 0x58]
cmp rbx, r15
je 0x140182d8a
lea r14, [rsp + 0x20]
mov rcx, rbx
mov rdx, r14
call fcn.1401846a0
test al, al
jne 0x140182d86
add rbx, 0x70
cmp rbx, r15
jne 0x140182d6e
mov r15, qword [rdi + 0x58]
mov r14d, 1
cmp rbx, r15
je 0x140182ddd
mov eax, dword [rbx + 0x68]
cmp eax, ebp
jne 0x140182dce
cmp byte [rbx + 0x27], 0
jns 0x140182da8
mov rcx, qword [rbx + 0x10]
jmp 0x140182dac
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140182ddd
shr eax, 3
and eax, 2
mov r14d, eax
jne 0x140182ddd
mov byte [rdi + 0x48], 1
mov qword [rsi], rbx
xor r14d, r14d
jmp 0x140182ddd
xor ecx, ecx
cmp eax, 1
sete cl
lea r14d, [rcx + rcx*2]
inc r14d
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400fd9d0
mov eax, r14d
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140187e90
Capabilities:
Hash data using sha512

Disassembly:
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x38], rax
movabs rax, 0x4000000000
mov qword [rcx + 0xd0], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x40], xmm0
mov eax, 1
ret
Function at 0x140199920
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x180
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14024f038]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x140266be0]
mov ecx, dword [0x14025e4e8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140199ba1
mov rax, qword [0x140266bd8]
test rax, rax
je 0x140199a0b
lea rdx, [rsp + 0x174]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call qword [0x14023e858]
test eax, eax
je 0x1401999b5
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x140199a12
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x140199a43
mov ecx, 2
call fcn.1400dc0e0
test al, al
je 0x140199a0b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x4d
mov r9d, 2
call fcn.14016b430
lea rcx, [rsp + 0x40]
lea rdx, [0x14022fe9c]
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.1400be440
mov rcx, rbx
call fcn.14016b4a0
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [0x1402103c0]
lea rbx, [rsp + 0x30]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [rbx], 9
sete byte [rsi + 0x80]
mov dl, byte [rsi + 0x81]
lea rax, [rsi + 0x30]
lea r9, [rsi + 0x28]
mov qword [rsp + 0x20], rax
and dl, 1
mov rcx, rdi
mov r8, rsi
call fcn.140199bf0
test al, al
jne 0x140199ace
mov ecx, 2
call fcn.1400dc0e0
test al, al
je 0x140199aaf
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x221
mov r9d, 2
call fcn.140067850
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
call fcn.1400be440
mov rcx, rsi
call fcn.140067e60
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.1400fd9d0
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
mov rdx, qword [rsi + 0x28]
cmp byte [rsi + 0x80], 1
jne 0x140199ae8
mov rcx, rdi
mov r8, rsi
call fcn.140199e30
jmp 0x140199af3
mov rcx, rdi
mov r8, rsi
call fcn.14019a4a0
test al, al
jne 0x140199b3c
mov ecx, 2
call fcn.1400dc0e0
test al, al
je 0x140199aaf
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22a
mov r9d, 2
call fcn.140067850
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
jmp 0x140199aa2
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.140198e50
mov sil, 1
test al, al
jne 0x140199ab1
mov ecx, 2
call fcn.1400dc0e0
test al, al
je 0x140199aaf
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22f
mov r9d, 2
call fcn.140067850
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x140199aa2
lea rcx, [0x140266be0]
call fcn.1400fc420
cmp dword [0x140266be0], 0xffffffff
jne 0x14019996b
lea rcx, [0x140217240]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.1400a7280
mov qword [0x140266bd8], rax
lea rcx, [0x140266be0]
call fcn.1400fc4b8
jmp 0x14019996b
Function at 0x1401a2060
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 [0x14024f038]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1401a208a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401a20a9
mov edi, eax
shr eax, 0xa
xor bl, 1
test al, bl
jne 0x1401a210a
and edi, 0x10
shr edi, 4
jmp 0x1401a210c
mov ecx, 2
call fcn.1400dc0e0
test al, al
je 0x1401a210a
call sub.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, 0x80
mov r9d, 2
call fcn.14016b430
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400be440
mov rcx, rax
mov rdx, rsi
call fcn.14016c220
mov rcx, rdi
call fcn.14016b4a0
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.1400fd9d0
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret

Function at 0x1401a2130
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x170
mov ebx, r8d
mov rsi, rcx
mov rax, qword [0x14024f038]
xor rax, rsp
mov qword [rsp + 0x168], rax
cmp byte [rcx + 0x17], 0
jns 0x1401a215b
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x1401a21e2
test bl, bl
je 0x1401a217f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1401a21ff
mov ecx, 2
call fcn.1400dc0e0
test al, al
je 0x1401a21e0
call sub.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, 0x61
mov r9d, 2
call fcn.14016b430
lea rcx, [rsp + 0x40]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.1400be440
mov rcx, rax
mov rdx, rsi
call fcn.14016c220
mov rcx, rdi
call fcn.14016b4a0
xor edi, edi
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.1400fd9d0
mov eax, edi
add rsp, 0x170
pop rbx
pop rdi
pop rsi
ret
mov dil, 1
mov rcx, rsi
mov dl, 1
call fcn.1401a2060
test al, al
jne 0x1401a21e2
mov ecx, 2
call fcn.1400dc0e0
test al, al
je 0x1401a21e0
lea rdx, str....._third_partycrashpadcrashpadutil_file_filesystem_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x5c
mov r9d, 2
call fcn.140067850
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.14016c220
lea rdx, str._not_a_directory
mov r8d, 0x10
mov rcx, rax
call fcn.1400be440
mov rcx, rdi
call fcn.140067e60
jmp 0x1401a21e0