joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401d0200
Capabilities:
Delete registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rdx, str.DeleteValue
lea r8, str..._.._base_win_registry.cc
lea rcx, [rsp + 0x20]
mov r9d, 0x145
call fcn.1400c0870
mov rcx, qword [rdi]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140115e50
mov eax, esi
add rsp, 0x48
pop rdi
pop rsi
ret

Function at 0x1401d7720
Capabilities:
Get token membership

Disassembly:
push rsi
sub rsp, 0x1c0
mov rax, qword [0x14030d038]
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
xor esi, esi
mov ecx, 0xb
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x1401d77b1
lea r8, [rsp + 0x168]
mov dword [r8], 0
lea rdx, [rsp + 0x170]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x1401d77cc
cmp dword [rsp + 0x168], 0
setne sil
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.140115e50
mov eax, esi
add rsp, 0x1c0
pop rsi
ret
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x1401d7822
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_util_install_util.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x18a
mov r9d, 2
call fcn.14019f9e0
lea rcx, [rsp + 0x38]
lea rdx, str.Failed_to_check_token_membership_for_WinInteractiveSid.
mov r8d, 0x37
call fcn.1400ff874
mov rcx, rsi
call fcn.140183e60
xor esi, esi
jmp 0x1401d77b1

Function at 0x1401d7e74
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140117f60
lea rcx, str._SystemRoot_SystemAppsMicrosoft.MicrosoftEdge_8wekyb3d8bbweMicrosoftEdge.exe
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x102
jbe 0x1401d7ec8
xor edi, edi
jmp 0x1401d7f36
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x50]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [0x1402ae190]
movaps xmmword [rsi], xmm0
mov rcx, rsi
call fcn.1400c0640
lea rbx, [rsp + 0x28]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1401124ec
mov qword [rbx + 8], rax
lea rdi, [rsp + 0x38]
mov rcx, rdi
mov rdx, rbx
call fcn.1400e4ea0
mov rcx, rsi
mov rdx, rdi
call fcn.1400f94f0
mov rcx, rdi
call fcn.1400e1350
mov rcx, rsi
call fcn.14014d0c0
mov edi, eax
mov rcx, rsi
call fcn.1400e1350
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140115e50
mov eax, edi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401db7aa
Capabilities:
Check os version

Disassembly:
push rsi
sub rsp, 0x150
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x148], rax
call fcn.14015871b
test al, al
je 0x1401db88a
call fcn.140179cdb
test al, al
je 0x1401db8a1
call fcn.1400ec2f0
cmp eax, 0xc
jl 0x1401db8a1
mov ecx, 0x1d
call qword [sym.imp.SHLWAPI.dll_IsOS]
test eax, eax
jne 0x1401db8a1
lea rsi, [rsp + 0x34]
mov r8d, 0x110
mov rcx, rsi
xor edx, edx
call fcn.140117f60
mov dword [rsi - 4], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1401db87c
lea rax, [rsp + 0x2c]
mov dword [rax], 0
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
test eax, eax
je 0x1401db87c
mov eax, dword [rsp + 0x34]
cmp eax, 0xa
je 0x1401db860
cmp eax, 6
jne 0x1401db87c
mov eax, dword [rsp + 0x2c]
add eax, 0xffffff83
cmp eax, 0x2f
ja 0x1401db87c
movabs rcx, 0xc00000000033
bt rcx, rax
jb 0x1401db8a1
call fcn.1401d7e74
test al, al
jne 0x1401db8be
mov sil, 1
jmp 0x1401db8a3
call fcn.1400ec2f0
cmp eax, 0x13
jl 0x1401db8a1
call fcn.1401d368a
test al, al
jne 0x1401db7d1
xor esi, esi
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.140115e50
mov eax, esi
add rsp, 0x150
pop rsi
ret
call fcn.1401dbaac
test al, al
jne 0x1401db885
jmp 0x1401db8a1

Function at 0x1401db8f0
Capabilities:
Create process on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov rdi, rcx
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x50]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x1402ae190]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.PinShortcutToTaskbar
lea r8, str..._.._base_win_shortcut.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x1f4
call fcn.1400c0870
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400c3400
cmp byte [rdi + 0x17], 0
jns 0x1401db974
mov rdi, qword [rdi]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, str.taskbarpin
xor ecx, ecx
mov r8, rdi
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
setg bl
mov rcx, rsi
call fcn.1400c20a0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140115e50
mov eax, ebx
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401e4fae
Capabilities:
Get session information

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x38]
mov qword [r9], 0
lea rax, [rsp + 0x34]
mov dword [rax], 0
mov qword [rsp + 0x20], rax
xor esi, esi
xor ecx, ecx
mov edx, 0xffffffff
mov r8d, 0x19
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x1401e5024
cmp dword [rsp + 0x34], 0xe8
jb 0x1401e5024
mov rax, qword [rsp + 0x38]
mov edi, dword [rax + 0x10]
call fcn.1400ec2f0
xor ecx, ecx
cmp edi, 1
sete cl
xor esi, esi
test edi, edi
sete sil
cmp eax, 4
cmove esi, ecx
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1401e5033
call sub.WTSAPI32.dll_WTSFreeMemory
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140115e50
mov eax, esi
add rsp, 0x48
pop rdi
pop rsi
ret
Function at 0x1401ef0e0
Capabilities:
Get token membership

Disassembly:
push rsi
sub rsp, 0x1c0
mov rax, qword [0x14030d038]
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
xor esi, esi
mov ecx, 0x16
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x1401ef171
lea r8, [rsp + 0x168]
mov dword [r8], 0
lea rdx, [rsp + 0x170]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x1401ef18c
cmp dword [rsp + 0x168], 0
setne sil
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.140115e50
mov eax, esi
add rsp, 0x1c0
pop rsi
ret
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x1401ef1e2
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_util_install_util.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x19e
mov r9d, 2
call fcn.14019f9e0
lea rcx, [rsp + 0x38]
lea rdx, str.Failed_to_check_token_membership_for_WinLocalSystemSid.
mov r8d, 0x37
call fcn.1400ff874
mov rcx, rsi
call fcn.140183e60
xor esi, esi
jmp 0x1401ef171
Function at 0x1401ef1e6
Capabilities:
Get session information

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x180
mov r14, rcx
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x178], rax
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov edi, eax
lea eax, [rdi + 1]
cmp eax, 2
jae 0x1401ef2be
lea rax, [rsp + 0x174]
mov dword [rax], 0
lea r9, [rsp + 0x168]
mov qword [r9], 0
mov qword [rsp + 0x20], rax
xor ecx, ecx
xor edx, edx
mov r8d, 1
call sub.WTSAPI32.dll_WTSEnumerateSessionsW
test eax, eax
je 0x1401ef3b8
mov eax, dword [rsp + 0x174]
test eax, eax
je 0x1401ef32e
mov ebx, 0x10
movabs r15, 0xaaaaaaaaaaaaaaaa
xor esi, esi
lea rdi, [rsp + 0x28]
mov rcx, qword [rsp + 0x168]
cmp dword [rcx + rbx], 0
je 0x1401ef29c
inc rsi
mov ecx, eax
add rbx, 0x18
cmp rsi, rcx
jb 0x1401ef27b
jmp 0x1401ef32e
mov qword [rsp + 0x28], r15
mov ecx, dword [rcx + rbx - 0x10]
mov rdx, rdi
call sub.WTSAPI32.dll_WTSQueryUserToken
test eax, eax
jne 0x1401ef413
mov eax, dword [rsp + 0x174]
jmp 0x1401ef289
lea r9, [rsp + 0x28]
mov qword [r9], 0
lea rax, [rsp + 0x168]
mov dword [rax], 0
mov qword [rsp + 0x20], rax
xor ecx, ecx
mov edx, edi
mov r8d, 8
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x1401ef21d
mov rcx, qword [rsp + 0x28]
mov esi, dword [rcx]
call sub.WTSAPI32.dll_WTSFreeMemory
test esi, esi
jne 0x1401ef21d
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
mov ecx, edi
call sub.WTSAPI32.dll_WTSQueryUserToken
test eax, eax
jne 0x1401ef420
jmp 0x1401ef21d
lea rcx, str..._.._chrome_installer_util_install_util.cc
mov edx, 0x2c
call fcn.1400c7bd0
test eax, eax
jle 0x1401ef382
lea rdx, str..._.._chrome_installer_util_install_util.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x1c4
mov r9d, 0xffffffff
call fcn.14019a740
lea rcx, [rsp + 0x38]
lea rdx, str.GetActiveUserToken_found_no_active_sessions.
mov r8d, 0x2c
call fcn.1400ff874
mov rcx, rdi
call fcn.140001d00
mov rcx, qword [rsp + 0x168]
call sub.WTSAPI32.dll_WTSFreeMemory
mov qword [r14], 0
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140115e50
mov rax, r14
add rsp, 0x180
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 1
call fcn.1400f34e0
test al, al
je 0x1401ef38f
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_util_install_util.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x1b3
mov r9d, 1
call fcn.14019f9e0
lea rcx, [rsp + 0x38]
lea rdx, str.GetActiveUserToken_failed_to_enumerate_sessions._Assume_no_active_sessions.
mov r8d, 0x4b
call fcn.1400ff874
mov rcx, rdi
call fcn.140183e60
jmp 0x1401ef38f
mov rcx, qword [rsp + 0x168]
call sub.WTSAPI32.dll_WTSFreeMemory
mov rdx, qword [rsp + 0x28]
mov qword [r14], 0
mov rcx, r14
call fcn.140105164
jmp 0x1401ef396
Function at 0x1401f18c0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
sub rsp, 0x168
mov rsi, rcx
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rax, qword [0x1403154b0]
test rax, rax
je 0x1401f19c1
cmp eax, 2
jne 0x1401f1946
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x1401f19a5
lea rdx, str..._.._third_party_crashpad_crashpad_client_crashpad_client_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x83
mov r9d, 2
call fcn.14019a740
lea rcx, [rsp + 0x38]
lea rdx, str.crash_server_failed_to_launch
mov r8d, 0x1d
call fcn.1400ff874
mov rcx, rsi
call fcn.140001d00
jmp 0x1401f19a5
mov eax, 1
lock xadd qword [0x1403154e8], rax
test rax, rax
jle 0x1401f1966
mov ecx, 0xffffffff
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x140315468], eax
mov qword [0x140315460], rsi
mov rcx, qword [0x140310ce8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
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.140115e50
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 [0x1403154b0]
test rax, rax
je 0x1401f19c8
jmp 0x1401f18ee
Function at 0x1401f7970
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb0
mov r14, rcx
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x90]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [0x1402ae190]
movaps xmmword [rsi], xmm0
lea rdx, str.CreateLocalWmiConnection
lea r8, str..._.._base_win_wmi.cc
lea rbx, [rsp + 0x70]
mov rcx, rbx
mov r9d, 0x1d
call fcn.1400c0870
lea r8, [0x140317530]
mov rcx, rsi
mov rdx, rbx
call fcn.1401618c0
mov qword [rbx], 0
mov qword [rsp + 0x20], rbx
lea rcx, [0x14029a218]
lea r9, [0x1402c9878]
xor esi, esi
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1401f7afa
xor esi, esi
lea r15, [rsp + 0x68]
mov qword [r15], rsi
mov rbx, qword [rsp + 0x70]
lea rax, [0x1402c9888]
lea rdx, [rsp + 0x50]
mov qword [rdx], rax
mov qword [rdx + 8], 0xa
lea rdi, [rsp + 0x60]
mov rcx, rdi
call fcn.1401673b0
mov rdx, qword [rdi]
mov rax, qword [rbx]
mov qword [rsp + 0x40], r15
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x28], 0
mov rcx, rbx
xor r8d, r8d
xor r9d, r9d
call qword [rax + 0x18]
mov ebx, eax
mov rcx, rdi
call fcn.14010bd20
test ebx, ebx
js 0x1401f7ae1
mov rcx, qword [rsp + 0x68]
mov eax, 3
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
xor esi, esi
mov edx, 0xa
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x1401f7ae1
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x68], 0
mov rcx, qword [r14]
mov qword [r14], rax
test rcx, rcx
je 0x1401f7b41
mov rax, qword [rcx]
call qword [rax + 0x10]
mov sil, 1
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1401f7afa
mov qword [rsp + 0x68], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1401f7b13
mov qword [rsp + 0x70], 0
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rcx, [rsp + 0x90]
call fcn.1401619e0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140115e50
mov eax, esi
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov sil, 1
jmp 0x1401f7afa

Function at 0x1401fa680
Capabilities:
Enumerate processes

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rcx
lea rsi, [rcx + 0x18]
mov r8d, 0x238
mov rcx, rsi
xor edx, edx
call fcn.140117f60
mov dword [rdi + 0x18], 0x238
cmp byte [rdi + 0x10], 0
je 0x1401fa6c2
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
mov byte [rdi + 0x10], 1
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x1401fa6b6
Function at 0x1401fdbce
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r15, rcx
mov rdi, qword [0x140317588]
cmp rdi, qword [0x140317590]
je 0x1401fdc0a
mov rax, qword [r15]
mov qword [rdi], rax
add qword [0x140317588], 8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rbx, qword [0x140317580]
mov r14, qword [0x140317578]
mov rax, rbx
sub rax, r14
jbe 0x1401fdc79
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
add rax, rcx
inc rax
sar rax, 1
mov r14, rax
neg r14
shl rax, 3
mov rsi, rbx
sub rsi, rax
sub rdi, rbx
je 0x1401fdc5f
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call fcn.1401178b0
mov rbx, qword [0x140317580]
add rdi, rsi
mov qword [0x140317588], rdi
lea rax, [rbx + r14*8]
mov qword [0x140317580], rax
jmp 0x1401fdbee
mov rax, rdi
sub rax, r14
mov rcx, rax
sar rcx, 2
test rax, rax
mov esi, 1
cmovne rsi, rcx
mov rax, rsi
shr rax, 0x3d
jne 0x1401fdd22
mov r12, rsi
shr r12, 2
lea rcx, [rsi*8]
call fcn.140112048
lea r9, [rax + r12*8]
lea r8, [rax + rsi*8]
mov r10, r9
sub rdi, rbx
je 0x1401fdce6
lea r10, [r9 + rdi]
sar rdi, 3
shl rdi, 3
lea rsi, [rax + r12*8]
xor ecx, ecx
mov rdx, qword [rbx + rcx]
mov qword [rsi + rcx], rdx
add rcx, 8
cmp rdi, rcx
jne 0x1401fdcd5
mov qword [0x140317578], rax
mov qword [0x140317580], r9
mov qword [0x140317588], r10
mov qword [0x140317590], r8
mov rdi, r10
test r14, r14
je 0x1401fdbee
mov rcx, r14
call fcn.140112038
mov rdi, qword [0x140317588]
jmp 0x1401fdbee
call fcn.140112370
int3

Function at 0x1401fdd28
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, rcx
mov rdi, qword [0x140317580]
cmp rdi, qword [0x140317578]
je 0x1401fdd6c
mov r13, rdi
mov rax, qword [r14]
mov qword [r13 - 8], rax
add qword [0x140317580], 0xfffffffffffffff8
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rsi, qword [0x140317588]
mov rax, qword [0x140317590]
cmp rsi, rax
jae 0x1401fddcd
sub rax, rsi
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r15, [rax + rcx]
inc r15
sar r15, 1
lea r13, [rsi + r15*8]
mov r8, rsi
sub r8, rdi
je 0x1401fddb9
sub r13, r8
mov rcx, r13
mov rdx, rdi
call fcn.1401178b0
mov rsi, qword [0x140317588]
mov qword [0x140317580], r13
lea rax, [rsi + r15*8]
mov qword [0x140317588], rax
jmp 0x1401fdd4d
sub rax, rdi
mov rcx, rax
sar rcx, 2
test rax, rax
mov r12d, 1
cmovne r12, rcx
mov rax, r12
shr rax, 0x3d
jne 0x1401fde73
lea r15, [r12 + 3]
shr r15, 2
lea rcx, [r12*8]
call fcn.140112048
lea r13, [rax + r15*8]
lea r8, [rax + r12*8]
mov r9, r13
sub rsi, rdi
je 0x1401fde3a
lea r9, [rsi + r13]
sar rsi, 3
shl rsi, 3
lea rcx, [rax + r15*8]
xor edx, edx
mov rbx, qword [rdi + rdx]
mov qword [rcx + rdx], rbx
add rdx, 8
cmp rsi, rdx
jne 0x1401fde29
mov qword [0x140317578], rax
mov qword [0x140317580], r13
mov qword [0x140317588], r9
mov qword [0x140317590], r8
test rdi, rdi
je 0x1401fdd4d
mov rcx, rdi
call fcn.140112038
mov r13, qword [0x140317580]
jmp 0x1401fdd4d
call fcn.140112370
int3
Function at 0x140209583
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 [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x198], rax
cmp byte [rcx + 0x17], 0
jns 0x1402095ad
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1402095ee
mov edi, eax
test bl, bl
jne 0x1402096a7
mov eax, edi
and eax, 0x400
je 0x1402096a7
xor edi, edi
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140115e50
mov eax, edi
add rsp, 0x1a0
pop rbx
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x1402095cf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x58]
mov r8d, 0x81
mov r9d, 2
call fcn.14019f9e0
lea rcx, [rsp + 0x68]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.1400ff874
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x30]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x40]
mov rcx, rsi
call fcn.1400c0b10
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14020967c
mov r8, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.1400ff874
cmp byte [rsp + 0x57], 0
jns 0x140209698
mov rcx, qword [rsp + 0x40]
call fcn.140112038
lea rcx, [rsp + 0x58]
call fcn.140183e60
jmp 0x1402095cf
and edi, 0x10
shr edi, 4
jmp 0x1402095d1
Function at 0x14020b14e
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x14020b175
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14020b190
and eax, 0x410
cmp eax, 0x410
je 0x14020b284
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14020b19c
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dil, 1
test eax, eax
je 0x14020b1c5
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140115e50
mov eax, edi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x14020b27d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_file_filesystem_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x94
mov r9d, 2
call fcn.14019f9e0
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.1400ff874
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.1400c0b10
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x14020b257
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.1400ff874
cmp byte [rsp + 0x4f], 0
jns 0x14020b273
mov rcx, qword [rsp + 0x38]
call fcn.140112038
lea rcx, [rsp + 0x50]
call fcn.140183e60
xor edi, edi
jmp 0x14020b1a9
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140115e50
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.1402290b1
Function at 0x1402172ec
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 [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov qword [rcx + 8], rdx
mov eax, dword [0x14031af50]
mov ecx, dword [0x140311f48]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140217579
mov rax, qword [0x14031af48]
test rax, rax
jne 0x14021740f
mov byte [rsi + 0x81], 0
movaps xmm0, xmmword [0x1402ae190]
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.1402175c0
test al, al
jne 0x1402174a8
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x1402173f0
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x21e
mov r9d, 2
call fcn.14019a740
lea rcx, [rsp + 0x40]
lea rdx, str.GetProcessBasicInformation_failed
mov r8d, 0x21
call fcn.1400ff874
mov rcx, rsi
call fcn.140001d00
xor esi, esi
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140115e50
mov eax, esi
add rsp, 0x180
pop rbx
pop rdi
pop rsi
ret
lea rdx, [rsp + 0x174]
mov dword [rdx], 0xaaaaaaaa
mov rcx, rdi
call rax
test eax, eax
jne 0x140217485
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x140217347
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r8d, 0x4b
mov r9d, 2
call fcn.14019f9e0
lea rcx, [rsp + 0x40]
lea rdx, [0x1402c7b7b]
mov r8d, 0xe
call fcn.1400ff874
mov rcx, rbx
call fcn.140183e60
jmp 0x140217347
cmp dword [rsp + 0x174], 0
setne byte [rsi + 0x81]
je 0x14021734e
mov byte [rsi + 0x80], 0
mov dl, 1
jmp 0x140217383
cmp byte [rsi + 0x80], 0
mov rdx, qword [rsi + 0x28]
mov rcx, rdi
mov r8, rsi
jne 0x1402174c2
call fcn.140217e12
jmp 0x1402174c7
call fcn.1402177e9
test al, al
jne 0x140217514
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x1402173f0
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x227
mov r9d, 2
call fcn.14019a740
lea rcx, [rsp + 0x40]
lea rdx, str.ReadProcessData_failed
mov r8d, 0x16
jmp 0x1402173e3
mov dl, byte [rsi + 0x80]
mov rcx, rdi
mov r8, rsi
call fcn.1402169bd
mov sil, 1
test al, al
jne 0x1402173f2
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x1402173f0
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_process_info.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x22c
mov r9d, 2
call fcn.14019a740
lea rcx, [rsp + 0x40]
lea rdx, str.ReadMemoryInfo_failed
mov r8d, 0x15
jmp 0x1402173e3
lea rcx, [0x14031af50]
call fcn.1401120e4
cmp dword [0x14031af50], 0xffffffff
jne 0x140217337
lea rcx, [0x1402b2b3a]
lea rdx, str.::IsWow64Process
xor r8d, r8d
call fcn.14017b2b2
mov qword [0x14031af48], rax
lea rcx, [0x14031af50]
call fcn.140112084
jmp 0x140217337