joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14018dfb0
Capabilities:
Get graphical window text

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
mov rbx, qword [rdx + 0x18]
mov rcx, rbx
call qword [sym.imp.user32.dll_GetWindowTextLengthW]
mov edi, eax
mov r15d, eax
inc r15d
movsxd rax, r15d
mov qword [rbp - 0x10], rax
jne 0x14018dff7
xor edx, edx
mov eax, 2
mov qword [rbp - 8], rax
jmp 0x14018e01a
js 0x14018e08c
lea r14, [rax + rax]
mov edx, 2
mov rcx, r14
call fcn.140104c50
mov rdx, rax
mov qword [rbp - 8], rax
test rax, rax
je 0x14018e093
mov rcx, rbx
mov dword [rbp - 0x14], r15d
mov r8d, r15d
call qword [sym.imp.user32.dll_GetWindowTextW]
movsxd rcx, edi
cmp edi, 0xffffffff
je 0x14018e07a
mov rdx, qword [rbp - 8]
lea rax, [rdx + rcx*2]
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], rax
mov word [rbp - 0x20], 0
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.140198250
mov rdx, qword [rbp - 0x10]
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 8]
call fcn.140104c30
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea r8, str.C:Usersomerf.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tao_0.16.7_srcplatform_implwindowswindow.rs
mov rdx, qword [rbp - 0x10]
call fcn.14026c6b0
ud2
call fcn.1402402c0
ud2
mov ecx, 2
mov rdx, r14
call fcn.14026bed0
ud2

Function at 0x14018eb80
Capabilities:
Log keystrokes

Disassembly:
push rsi
sub rsp, 0x70
mov rsi, rcx
call qword [sym.imp.user32.dll_SetForegroundWindow]
test eax, eax
je 0x14018eb98
add rsp, 0x70
pop rsi
ret
mov ecx, 0x12
xor edx, edx
call qword [sym.imp.user32.dll_MapVirtualKeyW]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x20], 1
mov word [rsp + 0x28], 0xa4
mov word [rsp + 0x2a], ax
mov dword [rsp + 0x2c], 1
mov dword [rsp + 0x48], 1
mov word [rsp + 0x50], 0xa4
mov word [rsp + 0x52], ax
mov dword [rsp + 0x54], 3
lea rdx, [rsp + 0x20]
mov ecx, 2
mov r8d, 0x28
call qword [sym.imp.user32.dll_SendInput]
mov rcx, rsi
call qword [sym.imp.user32.dll_SetForegroundWindow]
nop
add rsp, 0x70
pop rsi
ret
Function at 0x140194d40
Capabilities:
Register raw input devices

Disassembly:
sub rsp, 0x48
movzx edx, dl
test dl, dl
je 0x140194d57
cmp edx, 1
jne 0x140194d61
mov eax, 0x2000
jmp 0x140194d66
mov eax, 1
mov rcx, rdx
jmp 0x140194d66
mov eax, 0x2100
mov dword [rsp + 0x28], 0x20001
mov dword [rsp + 0x2c], eax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x38], 0x60001
mov dword [rsp + 0x3c], eax
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x28]
mov edx, 2
mov r8d, 0x10
call qword [sym.imp.user32.dll_RegisterRawInputDevices]
test eax, eax
setne al
add rsp, 0x48
ret
Function at 0x14019c4c0
Capabilities:
Log keystrokes via polling

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
call fcn.14019ac10
cmp byte [rdx + 0x98], 0
je 0x14019c4eb
mov ecx, 0xa5
call qword [sym.imp.user32.dll_GetKeyState]
test ax, ax
setns bl
jmp 0x14019c4ed
mov bl, 1
mov rdi, qword [sym.imp.user32.dll_GetKeyState]
mov ecx, 0x10
call rdi
movzx esi, ax
shr esi, 0xf
lea ebp, [rsi*4]
mov ecx, 0x11
call rdi
test ax, ax
lea r14d, [rsi*4 + 0x20]
cmovns r14d, ebp
test bl, bl
cmove r14d, ebp
mov ecx, 0x12
call rdi
lea esi, [r14 + 0x100]
test ax, ax
cmovns esi, r14d
test bl, bl
cmove esi, r14d
mov ecx, 0x5b
call rdi
test ax, ax
js 0x14019c563
mov ecx, 0x5c
call qword [sym.imp.user32.dll_GetKeyState]
test ax, ax
js 0x14019c563
and esi, 0xf7ff
jmp 0x14019c569
or esi, 0x800
mov eax, esi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

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

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
lea rdx, [0x140693908]
call fcn.1401ad056
lea rdx, str.EBWebViewx64EmbeddedBrowserWebView.dll
mov rcx, rsi
call fcn.1401ad056
mov rcx, rsi
call fcn.1401ad130
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x1401abe76
Capabilities:
Print debug messages

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x140781300]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov edx, 0x104
mov rcx, rsi
call fcn.1401aceea
mov rcx, rsi
mov rdx, r14
call fcn.1401acf72
mov rcx, rsi
call fcn.1401ad130
mov rbx, rax
mov rcx, rsi
call fcn.1401ad12c
cmp rax, 3
jb 0x1401abefa
movzx eax, word [rbx + 2]
cmp ax, 0x3a
jne 0x1401abeea
cmp word [rbx + 4], 0x5c
jne 0x1401abefa
movzx eax, word [rbx]
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp ax, 0x1a
jae 0x1401abefa
jmp 0x1401abfb7
cmp word [rbx], 0x5c
jne 0x1401abefa
cmp ax, 0x5c
je 0x1401abfb7
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x20]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x140693610]
movaps xmmword [rbx], xmm0
mov rcx, rbx
call fcn.1401ace7c
xor ecx, ecx
mov rdx, rbx
call fcn.1401abdaa
test eax, eax
js 0x1401abff6
lea rbx, [rsp + 0x20]
mov rcx, rbx
call fcn.1401ad12c
mov rdi, rax
mov rcx, rbx
call fcn.1401ad130
mov rcx, rsi
mov rdx, rax
mov r8, rdi
call fcn.1401acfa4
mov rcx, rbx
call fcn.1401ad130
mov rcx, rax
mov dx, 0x5c
call fcn.140252b90
test rax, rax
je 0x1401ac007
mov rbx, rax
lea rdi, [rsp + 0x20]
mov rcx, rdi
call fcn.1401ad130
sub rbx, rax
add rbx, 2
sar rbx, 1
mov rcx, rdi
call fcn.1401ad130
mov rcx, rsi
mov rdx, rax
mov r8, rbx
call fcn.1401acfa4
mov rcx, rsi
mov rdx, r14
call fcn.1401ad056
mov rcx, rdi
call fcn.1401ace8e
mov rcx, rsi
call fcn.1401abd6a
xor ebx, ebx
test al, al
jne 0x1401ac016
lea rcx, str.WebView2:_Failed_to_find_the_WebView2_client_dll_at:
mov rdi, qword [sym.imp.kernel32.dll_OutputDebugStringA]
call rdi
mov rcx, rsi
call fcn.1401ad130
mov rcx, rax
call qword [sym.imp.kernel32.dll_OutputDebugStringW]
lea rcx, str._nADVAPI32.dll
call rdi
mov ebx, 0x80070002
jmp 0x1401ac016
mov ebx, eax
lea rcx, str.WebView2:_Failed_to_find_the_app_exe_path._n
call qword [sym.imp.kernel32.dll_OutputDebugStringA]
jmp 0x1401ac00c
mov ebx, 0x80004005
lea rcx, [rsp + 0x20]
call fcn.1401ace8e
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1402512a0
mov eax, ebx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1401aca9a
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x260
mov r15, r9
mov r14, r8
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x140781300]
xor rax, rsp
mov qword [rsp + 0x258], rax
lea rdi, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140257c90
mov dword [rsp + 0x3c], 0x104
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
movzx eax, bl
mov rcx, 0xffffffff80000002
sub rcx, rax
mov qword [rsp + 0x20], rdx
xor ebx, ebx
mov rdx, rsi
xor r8d, r8d
mov r9d, 0x20219
call qword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
je 0x1401acb3f
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.1402512a0
mov eax, ebx
add rsp, 0x260
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea rdx, str.EBWebView
xor ebx, ebx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov esi, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.advapi32.dll_RegCloseKey]
test esi, esi
jne 0x1401acb1e
cmp dword [rsp + 0x3c], 3
jb 0x1401acb1e
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.1401acf72
mov rcx, r15
call fcn.1401ad130
mov rcx, rax
mov dx, 0x5c
call fcn.140252b90
test rax, rax
je 0x1401acbec
mov rdi, rax
add rdi, 2
movaps xmm0, xmmword [0x140693610]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
mov rcx, rdi
call fcn.1401ac96d
test al, al
je 0x1401acbec
test r14, r14
je 0x1401acbd8
mov rcx, r14
mov rdx, rdi
call fcn.1401acf72
lea rcx, [rsp + 0x40]
mov rdx, r15
call fcn.1401acbf3
mov ebx, eax
jmp 0x1401acb1e
xor ebx, ebx
jmp 0x1401acb1e

Function at 0x1401acbf3
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
xor eax, eax
lea rdx, [0x140693c00]
mov esi, dword [rax + rdx]
cmp dword [rcx + rax], esi
ja 0x1401acc19
jb 0x1401acc27
add rax, 4
cmp rax, 0x10
jne 0x1401acc05
mov rcx, rdi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1401abd6a
lea rcx, str.Loader_skipped_an_incompatible_version:
mov rsi, qword [sym.imp.kernel32.dll_OutputDebugStringW]
call rsi
mov rcx, rdi
call fcn.1401ad130
mov rcx, rax
call rsi
lea rcx, [0x140693c62]
call rsi
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x1401ad7a9
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r14, r9
mov r15, r8
mov rbx, rdx
mov rdi, rcx
mov rsi, qword [rsp + 0xa0]
mov rax, qword [0x140781300]
xor rax, rsp
mov qword [rsp + 0x48], rax
test rsi, rsi
je 0x1401ad84c
lea rax, [rsp + 0x44]
mov dword [rax], 0
lea rcx, [rsp + 0x40]
mov dword [rcx], 4
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov rcx, rdi
xor edx, edx
mov r8, rbx
mov r9d, 0x10
call qword [sym.imp.advapi32.dll_RegGetValueW]
test eax, eax
je 0x1401ad875
mov rcx, rdi
mov rdx, rbx
mov r8, r15
mov r9, r14
call 0x1401ad8a8
test al, al
je 0x1401ad887
mov rcx, qword [r15]
test rcx, rcx
je 0x1401ad8a4
xor edx, edx
mov r8d, 0xa
call sub.api_ms_win_crt_convert_l1_1_0.dll_wcstol
cmp eax, 1
jmp 0x1401ad87a
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1402512a0
mov rcx, rdi
mov rdx, rbx
mov r8, r15
mov r9, r14
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp 0x1401ad8a8
cmp dword [rsp + 0x44], 1
sete al
movzx eax, al
mov dword [rsi], eax
mov sil, 1
jmp 0x1401ad889
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1402512a0
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor eax, eax
jmp 0x1401ad87d
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x250
mov r15, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140781300]
xor rax, rsp
mov qword [rsp + 0x248], rax
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
xor edx, edx
call fcn.140257c90
lea rax, [rsp + 0x3c]
mov dword [rax], 0x104
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
mov rcx, rsi
xor edx, edx
mov r8, rbx
mov r9d, 2
call qword [sym.imp.advapi32.dll_RegGetValueW]
mov ebx, eax
test eax, eax
jne 0x1401ad939
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.1401acf72
mov rcx, r15
call fcn.1401ad130
mov qword [r14], rax
test ebx, ebx
sete bl
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1402512a0
mov eax, ebx
add rsp, 0x250
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1401ad8a8
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r14, r9
mov r15, r8
mov rbx, rdx
mov rdi, rcx
mov rsi, qword [rsp + 0xa0]
mov rax, qword [0x140781300]
xor rax, rsp
mov qword [rsp + 0x48], rax
test rsi, rsi
je 0x1401ad84c
lea rax, [rsp + 0x44]
mov dword [rax], 0
lea rcx, [rsp + 0x40]
mov dword [rcx], 4
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov rcx, rdi
xor edx, edx
mov r8, rbx
mov r9d, 0x10
call qword [sym.imp.advapi32.dll_RegGetValueW]
test eax, eax
je 0x1401ad875
mov rcx, rdi
mov rdx, rbx
mov r8, r15
mov r9, r14
call 0x1401ad8a8
test al, al
je 0x1401ad887
mov rcx, qword [r15]
test rcx, rcx
je 0x1401ad8a4
xor edx, edx
mov r8d, 0xa
call sub.api_ms_win_crt_convert_l1_1_0.dll_wcstol
cmp eax, 1
jmp 0x1401ad87a
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1402512a0
mov rcx, rdi
mov rdx, rbx
mov r8, r15
mov r9, r14
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp 0x1401ad8a8
cmp dword [rsp + 0x44], 1
sete al
movzx eax, al
mov dword [rsi], eax
mov sil, 1
jmp 0x1401ad889
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1402512a0
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor eax, eax
jmp 0x1401ad87d
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x250
mov r15, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140781300]
xor rax, rsp
mov qword [rsp + 0x248], rax
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
xor edx, edx
call fcn.140257c90
lea rax, [rsp + 0x3c]
mov dword [rax], 0x104
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
mov rcx, rsi
xor edx, edx
mov r8, rbx
mov r9d, 2
call qword [sym.imp.advapi32.dll_RegGetValueW]
mov ebx, eax
test eax, eax
jne 0x1401ad939
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.1401acf72
mov rcx, r15
call fcn.1401ad130
mov qword [r14], rax
test ebx, ebx
sete bl
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1402512a0
mov eax, ebx
add rsp, 0x250
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1401ada0f
Capabilities:
Print debug messages

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov rsi, r9
mov ebp, r8d
mov r14d, edx
mov rbx, rcx
mov rax, qword [0x140781300]
xor rax, rsp
mov qword [rsp + 0x58], rax
call qword [sym.imp.kernel32.dll_LoadLibraryW]
test rax, rax
je 0x1401ada89
mov rdi, rax
lea rdx, str.CreateWebViewEnvironmentWithOptionsInternal
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401adb1e
mov rcx, qword [rsp + 0xb8]
mov r9, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rcx
mov ecx, r14d
mov edx, ebp
mov r8, rsi
call qword [0x14026d978]
mov esi, eax
mov dword [rsp + 0x54], eax
jmp 0x1401adba0
call qword [sym.imp.kernel32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
lea rbp, [rsp + 0x54]
mov dword [rbp], esi
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x140693610]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.1401ace7c
mov edx, 4
mov rcx, rbp
mov r8b, 1
mov r9, rdi
call fcn.1401ad960
lea rcx, str.WebView2:_CoreWebView2Environment_failed_when_trying_to_LoadLibrary:_hr0x
mov rbp, qword [sym.imp.kernel32.dll_OutputDebugStringW]
call rbp
mov rcx, rdi
call fcn.1401ad130
mov rcx, rax
call rbp
lea rcx, str._path
call rbp
mov rcx, rbx
call rbp
lea rcx, [0x140693c62]
call rbp
mov rcx, rdi
call fcn.1401ace8e
jmp 0x1401adbbe
call qword [sym.imp.kernel32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
lea rbp, [rsp + 0x54]
mov dword [rbp], esi
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x140693610]
movaps xmmword [rbx], xmm0
mov rcx, rbx
call fcn.1401ace7c
mov edx, 4
mov rcx, rbp
mov r8b, 1
mov r9, rbx
call fcn.1401ad960
lea rcx, str.WebView2:_CoreWebView2Environment_failed_when_trying_to_call_into_EmbeddedBrowserWebView.dll._hr0x
mov rbp, qword [sym.imp.kernel32.dll_OutputDebugStringW]
call rbp
mov rcx, rbx
call fcn.1401ad130
mov rcx, rax
call rbp
lea rcx, [0x140693c62]
call rbp
mov rcx, rbx
call fcn.1401ace8e
lea rdx, str.DllCanUnloadNow
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401adbbe
mov rcx, rdi
call qword [sym.imp.kernel32.dll_FreeLibrary]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1402512a0
mov eax, esi
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x1401adbd8
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
xor edx, edx
xor r8d, r8d
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1401adc2c
mov ebx, eax
mov edx, eax
mov rcx, rsi
call fcn.1401aceea
test al, al
je 0x1401adc2c
mov rcx, rsi
call fcn.1401ad130
mov rcx, rdi
mov rdx, rax
mov r8d, ebx
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov edx, eax
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1401ad034
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401b5230
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
nop word [rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1401b5240
test al, 1
je 0x1401b525f
test al, 2
jne 0x1401b5279
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140695178]
mov edx, 0x23
call fcn.14026c1c0
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1406951b8]
mov edx, 0x25
call fcn.14026c1c0
ud2

Function at 0x1401bb4c0
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0xb0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov qword [rbp + 0x18], rcx
mov rax, qword [rcx]
nop
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1401bb4e0
test al, 1
je 0x1401bb5a9
test al, 2
jne 0x1401bb5c3
xor rax, 3
mov qword [rbp], rax
mov rcx, rbp
lea rdx, [rbp + 0x18]
call fcn.1401bc650
test rax, rax
je 0x1401bb53e
mov qword [rbp + 0x10], rax
mov rcx, rax
mov qword [rbp + 0x20], rdx
call qword [rdx]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax + 8]
test rdx, rdx
mov rcx, qword [rbp + 0x10]
je 0x1401bb53e
mov r8, qword [rax + 0x10]
call fcn.140104c30
mov rcx, qword [rbp + 0x18]
mov qword [rbp + 8], 1
mov rax, 0xffffffffffffffc0
lock xadd qword [rcx], rax
shr rax, 6
cmp rax, qword [rbp + 8]
jb 0x1401bb5dd
jne 0x1401bb59f
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x20], rax
lea rcx, [rax + 0x28]
call fcn.1401b00f0
mov rax, qword [rbp + 0x20]
mov rax, qword [rax + 0x58]
test rax, rax
je 0x1401bb58b
mov rcx, qword [rbp + 0x20]
mov rcx, qword [rcx + 0x60]
call qword [rax + 0x18]
mov edx, 0x80
mov r8d, 0x80
mov rcx, qword [rbp + 0x20]
call fcn.140104c30
nop
add rsp, 0xb0
pop rbp
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140695178]
mov edx, 0x23
call fcn.14026c1c0
ud2
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1406951b8]
mov edx, 0x25
call fcn.14026c1c0
ud2
mov qword [rbp - 8], rax
lea rax, [rbp - 8]
mov qword [rbp - 0x28], rax
lea rax, [fcn.140250390]
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 8]
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x10], rax
lea rax, str.current:___sub:
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], 2
mov qword [rbp - 0x38], 0
lea rax, [rbp - 0x28]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 2
lea rdx, [0x140695200]
lea rcx, [rbp - 0x58]
call fcn.14026c110
ud2

Function at 0x1401c6da0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x1401de740
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x1401de782
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x1401de78a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1401de79b
jmp 0x1401de7b2
xor r10d, r10d
jmp 0x1401de83d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1401de7b2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1401de7c9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x1401de7e9
add r11, r8
jmp 0x1401de91a
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x1401de8b2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x1401de860
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x1401de8d0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x1401de8e2
jmp 0x1401de8fc
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x1401de8fc
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x1401de916
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x1401e1470
Capabilities:
Hash data using fnv

Disassembly:
push rsi
cmp qword [rcx + 0x18], 0
je 0x1401e155f
mov eax, dword [rdx]
mov edx, eax
shr edx, 0x10
mov r8d, eax
shr r8d, 0x18
movzx r9d, al
movabs r10, 0xcbf29ce484222325
xor r10, r9
movabs r9, 0x100000001b3
imul r10, r9
movzx esi, ah
xor rsi, r10
imul rsi, r9
movzx edx, dl
xor rdx, rsi
imul rdx, r9
xor rdx, r8
imul rdx, r9
mov r8, qword [rcx]
mov rcx, qword [rcx + 8]
mov r9, rdx
shr r9, 0x39
movd xmm0, r9d
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
xor r9d, r9d
pcmpeqd xmm1, xmm1
and rdx, rcx
movdqu xmm2, xmmword [r8 + rdx]
movdqa xmm3, xmm2
pcmpeqb xmm3, xmm0
pmovmskb r10d, xmm3
nop word cs:[rax + rax]
test r10w, r10w
je 0x1401e1540
lea r11d, [r10 - 1]
and r11d, r10d
tzcnt r10d, r10d
add r10, rdx
and r10, rcx
shl r10, 2
mov rsi, r8
sub rsi, r10
mov r10d, r11d
cmp eax, dword [rsi - 4]
jne 0x1401e1510
jmp 0x1401e155b
pcmpeqb xmm2, xmm1
pmovmskb r10d, xmm2
test r10d, r10d
jne 0x1401e155f
add rdx, r9
add rdx, 0x10
add r9, 0x10
jmp 0x1401e14ec
mov al, 1
pop rsi
ret
xor eax, eax
pop rsi
ret

Function at 0x1401e1570
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov ebx, edx
mov rsi, rcx
mov eax, edx
shr eax, 0x10
mov ecx, edx
shr ecx, 0x18
movzx edx, bl
movabs r8, 0xcbf29ce484222325
xor r8, rdx
movabs rdx, 0x100000001b3
imul r8, rdx
movzx ebp, bh
xor rbp, r8
imul rbp, rdx
movzx edi, al
xor rdi, rbp
imul rdi, rdx
xor rdi, rcx
imul rdi, rdx
cmp qword [rsi + 0x10], 0
je 0x1401e1682
mov rax, qword [rsi]
mov rdx, qword [rsi + 8]
mov rcx, rdi
shr rcx, 0x39
movd xmm0, ecx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
xor r10d, r10d
pcmpeqd xmm1, xmm1
xor r11d, r11d
and rdi, rdx
movdqu xmm2, xmmword [rax + rdi]
movdqa xmm3, xmm2
pcmpeqb xmm3, xmm0
pmovmskb ebp, xmm3
nop dword [rax]
mov r9d, ebp
test bp, bp
je 0x1401e1640
lea ebp, [r9 - 1]
and ebp, r9d
tzcnt r14d, r9d
add r14, rdi
and r14, rdx
shl r14, 2
mov r15, rax
sub r15, r14
cmp dword [r15 - 4], ebx
jne 0x1401e1610
jmp 0x1401e16e1
cmp r11, 1
mov r11d, 1
je 0x1401e1666
pmovmskb r8d, xmm2
xor r11d, r11d
test r8d, r8d
setne r11b
tzcnt r8d, r8d
add r8, rdi
and r8, rdx
pcmpeqb xmm2, xmm1
pmovmskb ebp, xmm2
test ebp, ebp
jne 0x1401e1698
add rdi, r10
add rdi, 0x10
add r10, 0x10
jmp 0x1401e15f9
lea r8, [rsi + 0x20]
mov edx, 1
mov rcx, rsi
call fcn.140268d40
jmp 0x1401e15cf
movzx r10d, byte [rax + r8]
test r10b, r10b
js 0x1401e16b5
movdqa xmm0, xmmword [rax]
pmovmskb r8d, xmm0
tzcnt r8d, r8d
movzx r10d, byte [rax + r8]
and r10b, 1
movzx r10d, r10b
sub qword [rsi + 0x10], r10
lea r10, [r8 - 0x10]
and r10, rdx
mov byte [rax + r8], cl
mov byte [r10 + rax + 0x10], cl
inc qword [rsi + 0x18]
shl r8, 2
neg r8
mov dword [rax + r8 - 4], ebx
test r9w, r9w
setne al
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret