joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401fb030
Capabilities:
Access the windows event log

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x858
mov rsi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x850], rax
cmp byte [0x14036f8a0], 0
je 0x1401fb1e9
mov rdx, qword [0x1403833b8]
test rdx, rdx
je 0x1401fb1e9
cmp byte [rdx + 0x17], 0
jns 0x1401fb07b
mov rdx, qword [rdx]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
test rax, rax
je 0x1401fb213
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.14013d7b0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 0x18]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x10], rax
movaps xmm0, xmmword [0x1402fa4a0]
movaps xmmword [r14], xmm0
mov rdx, r14
call fcn.14011d110
mov eax, dword [rsi + 8]
test eax, eax
je 0x1401fb12a
cmp eax, 1
je 0x1401fb130
mov bx, 1
add eax, 0xfffffffe
cmp eax, 2
jae 0x1401fb134
lea r12, [rsp + 0x78]
mov r8d, 0x7d8
mov rcx, r12
mov dl, 0xaa
call fcn.140191990
mov rcx, r12
call fcn.1400c48a0
lea r15, [rsp + 0x48]
mov rcx, r12
mov rdx, r15
call fcn.140261770
movzx r8d, byte [r15 + 0x17]
test r8b, r8b
js 0x1401fb261
and r8d, 0x7f
jmp 0x1401fb26b
mov bx, 4
jmp 0x1401fb134
mov bx, 2
cmp byte [rsp + 0x77], 0
jns 0x1401fb140
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x48], 0
mov rcx, qword [0x1403833c8]
cmp byte [rcx + 0x17], 0
jns 0x1401fb15e
mov rcx, qword [rcx]
lea rdx, [rsp + 0x48]
call sub.ADVAPI32.dll_ConvertStringSidToSidW
test eax, eax
je 0x1401fb246
mov rax, qword [rsp + 0x48]
mov r9d, dword [0x1403833c4]
movzx r8d, word [0x1403833c0]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 0
mov word [rsp + 0x28], 1
mov rcx, rdi
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_ReportEventA]
test eax, eax
je 0x1401fb22b
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1401fb1ca
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [rsp + 0x77], 0
jns 0x1401fb1db
mov rcx, qword [rsp + 0x60]
call fcn.14018e000
call fcn.14013d7b0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, rsi
call fcn.140076a20
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.14018f840
nop
add rsp, 0x858
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.1401c9900
jmp 0x1401fb1e9
lea rcx, [rsi + 0x10]
lea rdx, str.___NOT_ADDED_TO_EVENTLOG__
mov r8d, 0x1a
call fcn.1401c9900
jmp 0x1401fb1ba
lea rcx, [rsi + 0x10]
lea rdx, str.___ERROR_GETTING_USER_SID__
mov r8d, 0x1b
call fcn.1401c9900
jmp 0x1401fb170
mov r8, qword [rsp + 0x50]
mov r15, qword [rsp + 0x48]
lea rcx, [rsp + 0x60]
mov rdx, r15
call fcn.140126ea0
cmp byte [rsp + 0x5f], 0
jns 0x1401fb134
mov rcx, qword [rsp + 0x48]
call fcn.14018e000
jmp 0x1401fb134
Function at 0x1401fedd0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x140383550], 0
je 0x1401fee16
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.14018f840
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x140383528]
test rdi, rdi
je 0x1401feeb7
test byte [0x14036f8a4], 1
je 0x1401fedf9
cmp byte [rdi + 0x17], 0
jns 0x1401fee38
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 [0x140383550], rax
inc rax
cmp rax, 1
ja 0x1401fedf9
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140191990
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x1401fef80
xor esi, esi
jmp 0x1401fedf9
mov ecx, 0x18
call fcn.14018dfc4
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140191990
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x1402fa4a0]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.1401c9720
movzx eax, byte [rdi + 0x17]
test al, al
js 0x1401fef1d
and eax, 0x7f
mov rcx, rdi
jmp 0x1401fef24
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
je 0x1401fef5f
lea r8, [rax + rax]
test r8, r8
je 0x1401fef5f
lea rdx, [r8 - 2]
cmp word [rcx + r8 - 2], 0x5c
mov r8, rdx
jne 0x1401fef2d
cmp rdx, 0xfffffffffffffffe
je 0x1401fef5f
sar rdx, 1
cmp rax, rdx
jbe 0x1401ff047
inc rdx
mov rcx, rdi
call fcn.1401c9ae0
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.14004b140
mov qword [0x140383528], rdi
jmp 0x1401fee26
mov rdi, qword [0x140383528]
lea rbx, [rsp + 0x40]
mov rcx, rbx
call fcn.1401b3d34
mov rcx, rdi
mov rdx, rbx
mov r8, rax
call fcn.14004ad80
mov rcx, qword [0x140383528]
call fcn.1401f1820
cmp word [rax], 0x5c
je 0x1401fefcd
mov rcx, qword [0x140383528]
lea rdx, [0x1402fb790]
mov r8d, 1
call fcn.14004b140
mov rcx, qword [0x140383528]
lea rdx, str.debug.log
mov r8d, 9
call fcn.14004b140
mov rcx, qword [0x140383528]
cmp byte [rcx + 0x17], 0
jns 0x1401feff6
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 [0x140383550], rax
inc rax
cmp rax, 1
ja 0x1401fedf9
mov qword [0x140383550], 0
jmp 0x1401feeb0
mov rcx, rdi
call fcn.1401c98c0
int3
Function at 0x14020af50
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 [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x238], rax
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov qword [rcx + 0x10], rbx
movaps xmm6, xmmword [0x1402fa4a0]
movups xmmword [rcx], xmm6
call fcn.14013e000
mov ecx, edi
mov rdx, rsi
call fcn.14006b760
test al, al
je 0x14020afcc
movzx eax, byte [rsi + 0x17]
test al, al
js 0x14020afb3
and eax, 0x7f
jmp 0x14020afb7
mov rax, qword [rsi + 8]
test rax, rax
je 0x14020afcc
mov rcx, rsi
call fcn.140068880
test al, al
jne 0x14020b0b9
mov rcx, rsi
call fcn.14013e2f0
lea r14, [0x14030af70]
mov ecx, 3
mov rax, rcx
jmp 0x14020affb
not rax
add rax, rcx
lea r14, [r14 + rdx*8]
add r14, 0x18
mov rcx, rax
test rax, rax
je 0x14020b00a
shr rax, 1
lea rdx, [rax + rax*2]
cmp dword [r14 + rdx*8], edi
jge 0x14020aff3
jmp 0x14020afe5
lea rax, str.PROGRAMFILES
cmp r14, rax
je 0x14020b0b1
cmp dword [r14], edi
jg 0x14020b0b1
lea rdi, [rsp + 0x32]
mov r8d, 0x206
mov rcx, rdi
mov dl, 0xaa
call fcn.140191990
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 0x14020b0b1
mov qword [rsi + 0x10], rbx
movups xmmword [rsi], xmm6
lea rbx, [rsp + 0x20]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1401b3d34
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.14013e130
mov rcx, rsi
call fcn.140079650
test al, al
je 0x14020b0a9
mov rcx, rsi
call fcn.140140240
test al, al
jne 0x14020b0a9
mov rcx, rsi
call fcn.140068880
test al, al
jne 0x14020b0b9
mov rcx, rsi
call fcn.14013e2f0
mov rcx, rsi
call fcn.14013e000
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.14018f840
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x258
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14020dd10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
sub rsp, 0x20
lea rax, [0x140383940]
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 0x14020dd23
mov eax, 0x100
lea rcx, [0x140383940]
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 0x14020dde6
lea rax, [0x14018e930]
mov qword [0x140385940], rax
mov qword [0x140383938], rax
lea rsi, [0x14018e840]
mov qword [0x140385948], rsi
call fcn.14026ce30
test eax, eax
jne 0x14020de39
mov qword [0x140383938], rsi
add rsp, 0x20
pop rsi
ret
Function at 0x1402121d0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x1403859a8]
test rax, rax
jne 0x140212214
mov rdi, qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call rdi
mov rax, qword [0x1403859a8]
test rax, rax
je 0x140212201
cmp eax, 2
jne 0x14021226c
mov ecx, 2
call fcn.14013d6b0
test al, al
je 0x1402122c5
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x8e
mov r9d, 2
call fcn.140076540
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov r8d, 0x2f
call fcn.1401c9900
mov rcx, rsi
call fcn.140076a20
jmp 0x1402122c5
mov eax, 1
lock xadd qword [0x1403859e0], rax
test rax, rax
jle 0x14021228c
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x140385960], eax
mov qword [0x140385958], rsi
mov rcx, qword [0x14037bbd0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 2
call fcn.14013d6b0
test al, al
jne 0x1402122f5
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.14018f840
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret
lea rdx, str....._third_partycrashpadcrashpadclientcrashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, ILCreateFromPathW
mov r9d, 2
call fcn.140076540
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_did_not_respond__self_terminating
mov r8d, 0x2e
jmp 0x14021225d
Function at 0x14023f310
Capabilities:
Create process on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x40], r14
movaps xmm0, xmmword [0x1402fa4a0]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.PinShortcutToTaskbar
lea r8, str.....chromeinstallerutil_taskbar_util.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x77
call fcn.14013d790
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1401329b0
call fcn.1400af430
cmp eax, 0xd
jge 0x14023f3f7
cmp byte [rsi + 0x17], 0
jns 0x14023f39c
mov rsi, qword [rsi]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, str.taskbarpin
xor ecx, ecx
mov r8, rsi
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x21
setge sil
lea rcx, [rsp + 0x50]
call fcn.140132bf0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14018f840
mov eax, esi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
xor esi, esi
jmp 0x14023f3ca
lea rdi, [rsp + 0x30]
mov qword [rdi], r14
mov rcx, rdi
call fcn.14023f5f0
cmp qword [rdi], 0
je 0x14023f3f3
cmp byte [rsi + 0x17], 0
jns 0x14023f416
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov rdi, rax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
xor edx, edx
mov r8, rdi
mov r9d, 4
call qword [0x1403a9008]
test eax, eax
setns sil
test rdi, rdi
je 0x14023f456
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_ILFree]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14023f3ca
mov qword [rsp + 0x30], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403a9008]
jmp 0x14023f3ca
Function at 0x14023f480
Capabilities:
Create process on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x40], r14
movaps xmm0, xmmword [0x1402fa4a0]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.UnpinShortcutFromTaskbar
lea r8, str.....chromeinstallerutil_taskbar_util.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x83
call fcn.14013d790
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1401329b0
call fcn.1400af430
cmp eax, 0xd
jge 0x14023f562
cmp byte [rsi + 0x17], 0
jns 0x14023f50c
mov rsi, qword [rsi]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, str.taskbarunpin
xor ecx, ecx
mov r8, rsi
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x21
setge bl
lea rcx, [rsp + 0x50]
call fcn.140132bf0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14018f840
mov eax, ebx
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rdi, [rsp + 0x30]
mov qword [rdi], r14
mov rcx, rdi
call fcn.14023f5f0
cmp qword [rdi], 0
je 0x14023f503
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14023f584
mov rcx, qword [rsi]
call qword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov rbx, rax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
mov rdx, rbx
xor r8d, r8d
mov r9d, 4
call qword [0x1403a9008]
mov edi, eax
test rbx, rbx
je 0x14023f5be
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_ILFree]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14023f5de
mov qword [rsp + 0x30], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403a9008]
mov bl, 1
test edi, edi
jns 0x14023f539
jmp 0x14023f503

Function at 0x14023f860
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 [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rbx, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140191990
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 0x14023f8ef
lea r14, [rsp + 0x28]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1401b3d34
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov rdx, r14
call fcn.14013e130
mov rcx, rsi
mov rdx, rbx
call fcn.14013e300
mov rcx, rbx
call fcn.14013e2f0
test edi, edi
setns bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14018f840
mov eax, ebx
add rsp, 0x268
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14023fe20
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 [0x14036c038]
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 0x14023feb4
mov rsi, r8
mov r14, rcx
lea r15, [rsp + 0x20]
mov rcx, rdi
mov rdx, r15
call fcn.140240c80
test al, al
jne 0x14023fe7c
add rdi, 0x70
cmp rdi, r12
jne 0x14023fe61
mov rdi, r12
cmp rdi, qword [r14 + 0x58]
je 0x14023feb4
cmp byte [rdi + 0x27], 0
js 0x14023fe8e
lea rcx, [rdi + 0x10]
jmp 0x14023fe92
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 0x14023feb4
mov qword [rsi], rdi
xor ebx, ebx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14018f840
mov eax, ebx
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov r14, qword [rcx + 0x50]
mov r12, qword [rcx + 0x58]
mov esi, 1
cmp r14, r12
je 0x1402400bb
mov rdi, r9
mov ebp, r8d
mov rbx, rcx
lea r15, [rsp + 0x20]
mov rcx, r14
mov rdx, r15
call fcn.140240c80
test al, al
jne 0x1402400a0
add r14, 0x70
cmp r14, r12
jne 0x140240085
mov r14, r12
cmp r14, qword [rbx + 0x58]
je 0x1402400bb
mov eax, dword [r14 + 0x68]
cmp eax, ebp
je 0x1402400d9
xor ecx, ecx
cmp eax, 1
sete cl
lea esi, [rcx + rcx*2]
inc esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14018f840
mov eax, esi
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
cmp byte [r14 + 0x27], 0
js 0x1402400e6
lea rcx, [r14 + 0x10]
jmp 0x1402400ea
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1402400bb
shr eax, 3
and eax, 2
mov esi, eax
jne 0x1402400bb
mov byte [rbx + 0x48], 1
mov qword [rdi], r14
xor esi, esi
jmp 0x1402400bb
Function at 0x140250bf0
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 0x140254ae0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov edx, dword [rsp + 0xe0]
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x80], rax
movsxd r8, dword [rcx + 0x18]
lea ecx, [rdx + 4]
mov r11, rcx
shr r11, 6
xor eax, eax
mov r10d, 0
cmp r11, r8
jae 0x140254b3c
mov r10, qword [r9 + r11*8]
shr r10, cl
shl r10d, 5
and r10d, 0x20
lea ecx, [rdx + 3]
mov r11, rcx
shr r11, 6
cmp r11, r8
jae 0x140254b58
mov rax, qword [r9 + r11*8]
shr rax, cl
shl eax, 4
and eax, 0x10
or eax, r10d
lea ecx, [rdx + 2]
mov r14, rcx
shr r14, 6
xor r10d, r10d
mov r11d, 0
cmp r14, r8
jae 0x140254b82
mov r11, qword [r9 + r14*8]
shr r11, cl
shl r11d, 3
and r11d, 8
or eax, r11d
lea ecx, [rdx + 1]
mov r11, rcx
shr r11, 6
cmp r11, r8
jae 0x140254ba3
mov r10, qword [r9 + r11*8]
shr r10, cl
shl r10d, 2
and r10d, 4
or eax, r10d
mov ecx, edx
mov r11, rcx
shr r11, 6
xor r10d, r10d
cmp r11, r8
jae 0x140254bc5
mov r10, qword [r9 + r11*8]
shr r10, cl
add r10d, r10d
and r10d, 2
or eax, r10d
test edx, edx
je 0x140254beb
dec edx
mov r10, rdx
shr r10, 6
xor ecx, ecx
cmp r10, r8
jae 0x140254be9
mov r8, qword [r9 + r10*8]
xor ecx, ecx
bt r8, rdx
setb cl
or eax, ecx
mov r14d, eax
shr r14, 5
lea ecx, [r14 - 1]
neg r14
and ecx, eax
xor eax, 0x3f
mov r15d, r14d
and r15d, eax
or r15d, ecx
mov rax, r15
shr rax, 1
and r15d, 1
add r15, rax
xor r12d, r12d
mov r8d, 0xd8
mov rcx, rsi
xor edx, edx
call fcn.140191990
mov r8, r12
xor r8, r15
dec r8
sar r8, 0x3f
mov qword [rsp + 0x20], rsi
mov rcx, rdi
mov rdx, rsi
mov r9, rbx
call fcn.140251a00
inc r12
add rbx, 0xd8
cmp r12, 0x11
jne 0x140254c27
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rax
movaps xmm0, xmmword [0x1402fa4a0]
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
add rsi, 0x48
mov eax, dword [rdi + 0x40]
test eax, eax
jle 0x140254ce8
xor ecx, ecx
xor edx, edx
or rdx, qword [rsi + rcx*8]
inc rcx
cmp rax, rcx
jne 0x140254c90
test rdx, rdx
sete dl
test rax, rax
je 0x140254d39
movsxd rcx, eax
mov rax, qword [rdi + 0x38]
xor r8d, r8d
lea r9, [rsp + 0x30]
sub r10, r10
jmp 0x140254cc0
mov r10, qword [rax + r8*8]
sbb r10, qword [rsi + r8*8]
mov qword [r9 + r8*8], r10
lea r8, [r8 + 1]
dec rcx
jne 0x140254cc0
sbb r10, r10
movsxd rax, dword [rdi + 0x40]
mov ecx, eax
test rax, rax
jle 0x140254d07
xor r8d, r8d
jmp 0x140254cfc
mov dl, 1
jmp 0x140254ca2
xor r9d, r9d
mov qword [rsp + r8*8 + 0x30], r9
inc r8
cmp rcx, r8
je 0x140254d07
test dl, dl
jne 0x140254cec
mov r9, qword [rsp + r8*8 + 0x30]
jmp 0x140254cef
test rcx, rcx
je 0x140254d39
and r14d, 1
neg r14
mov rcx, r14
not rcx
xor edx, edx
mov r8, qword [rsp + rdx*8 + 0x30]
and r8, r14
mov r9, qword [rsi + rdx*8]
and r9, rcx
or r9, r8
mov qword [rsi + rdx*8], r9
inc rdx
cmp rax, rdx
jne 0x140254d1b
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14018f840
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x1402718f0
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 [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x14038aa08]
mov ecx, dword [0x14037df2c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140271b6f
mov rax, qword [0x14038aa00]
test rax, rax
je 0x1402719db
lea rdx, [rsp + 0x174]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call qword [0x1403a9008]
test eax, eax
je 0x140271985
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x1402719e2
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x140271a17
mov ecx, 2
call fcn.14013d6b0
test al, al
je 0x1402719db
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, 0x4b
mov r9d, 2
call fcn.1401ff380
lea rcx, [rsp + 0x40]
lea rdx, [0x140318e20]
mov r8d, reloc.WS2_32.dll_ntohl
call fcn.1401c9900
mov rcx, rbx
call fcn.1401ff400
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [0x1402fa4a0]
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]
cmp byte [rsi + 0x81], 0
setne dl
lea rax, [rsi + 0x30]
lea r9, [rsi + 0x28]
mov qword [rsp + 0x20], rax
mov rcx, rdi
mov r8, rsi
call fcn.140271bc0
test al, al
jne 0x140271aa1
mov ecx, 2
call fcn.14013d6b0
test al, al
jne 0x140271a60
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14018f840
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x21e
mov r9d, 2
call fcn.140076540
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
call fcn.1401c9900
mov rcx, rsi
call fcn.140076a20
jmp 0x140271a41
cmp byte [rsi + 0x80], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
je 0x140271abb
call fcn.140271e00
jmp 0x140271ac0
call fcn.140272480
test al, al
jne 0x140271b0a
mov ecx, 2
call fcn.14013d6b0
test al, al
je 0x140271a41
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x227
mov r9d, 2
call fcn.140076540
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
jmp 0x140271a92
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.1400d4a80
mov sil, 1
test al, al
jne 0x140271a43
mov ecx, 2
call fcn.14013d6b0
test al, al
je 0x140271a41
lea rdx, str....._third_partycrashpadcrashpadutilwinprocess_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22c
mov r9d, 2
call fcn.140076540
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x140271a92
lea rcx, [0x14038aa08]
call fcn.14018e120
cmp dword [0x14038aa08], 0xffffffff
jne 0x14027193b
lea rcx, [0x140300efc]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.1400d5f90
mov qword [0x14038aa00], rax
lea rcx, [0x14038aa08]
call fcn.14018e1b8
jmp 0x14027193b