joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407a00
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
sub rsp, 0x2a8
mov rax, qword [0x00454a00]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov eax, dword [rcx + 0x20]
xor edx, edx
mov r8d, 0x104
mov dword [rsp + 0x6c], eax
mov eax, dword [rcx + 0x24]
mov qword [rsp + 0x2c8], rdi
mov dword [rsp + 0x58], eax
mov eax, dword [rcx + 0x28]
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x54], 0x104
mov dword [rsp + 0x50], 4
mov dword [rsp + 0x5c], eax
call fcn.00420630
lea r11, [rsp + 0x68]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], r11
mov qword [rsp + 0x38], rax
xor edi, edi
mov qword [rsp + 0x30], rdi
lea rdx, str.SOFTWAREHuawei_technologiesCurrentDriver
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x407aae
lea rcx, str.INFO:_DriverInfo_Open_Key_error._n
call fcn.004042c0
jmp 0x407c23
cmp dword [rsp + 0x68], 2
jne 0x407c04
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x54]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x70]
lea r8, [rsp + 0x180]
mov qword [rsp + 0x30], rax
xor edx, edx
mov qword [rsp + 0x2c0], rbx
mov qword [rsp + 0x28], rdi
mov ebx, edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x407bfc
nop
nop
nop
nop
lea rdx, str.MajorVersion
lea rcx, [rsp + 0x180]
add ebx, 1
call fcn.0041ff80
test rax, rax
je 0x407b40
mov r8d, dword [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x6c]
call fcn.00420a60
lea rdx, str.MinorVersion
lea rcx, [rsp + 0x180]
call fcn.0041ff80
test rax, rax
je 0x407b6d
mov r8d, dword [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.00420a60
lea rdx, str.Customization
lea rcx, [rsp + 0x180]
call fcn.0041ff80
test rax, rax
je 0x407b9a
mov r8d, dword [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x5c]
call fcn.00420a60
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8d, 0x104
mov dword [rsp + 0x54], 0x104
mov dword [rsp + 0x50], 4
call fcn.00420630
mov rcx, qword [rsp + 0x60]
lea r11, [rsp + 0x50]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x54]
lea r8, [rsp + 0x180]
mov edx, ebx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x407b10
mov rbx, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.SOFTWAREHuawei_technologiesCurrentDriver
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
xor eax, eax
mov rdi, qword [rsp + 0x2c8]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.00420600
add rsp, 0x2a8
ret
Function at 0x407c50
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
sub rsp, 0x128
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x00454a00]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov dword [rsp + 0x60], 0x80
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlCOM_Name_Arbiter
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea r11, [rsp + 0x60]
mov qword [rsp + 0x28], r11
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
xor r8d, r8d
lea rdx, str.ComDB
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
xor ebx, ebx
lea ebp, [rbx - 1]
test eax, eax
je 0x407d5c
call fcn.00413cb8
mov r11, rax
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x407d15
mov ecx, 0x80004005
call fcn.00401000
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
mov r8d, edi
lea rdx, str.RegQueryValueEx_errorcode:__d
lea rcx, [rsp + 0x70]
call fcn.00403500
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x407d5c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.00413cb8
mov rcx, rax
test rax, rax
setne bl
test ebx, ebx
jne 0x407d79
mov ecx, 0x80004005
call fcn.00401000
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
movzx eax, byte [rsp + 0x99]
movzx ecx, byte [rsp + 0x98]
movzx edx, byte [rsp + 0x97]
movzx r10d, byte [rsp + 0x96]
movzx r11d, byte [rsp + 0x95]
movzx ebx, byte [rsp + 0x94]
movzx edi, byte [rsp + 0x93]
movzx esi, byte [rsp + 0x92]
movzx r9d, byte [rsp + 0x91]
movzx r8d, byte [rsp + 0x90]
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], esi
lea rdx, str.ComDB_before_install:__d__d__d__d__d__d__d__d__d__d_n
lea rcx, [rsp + 0x68]
call fcn.00403500
mov rbx, qword [rsp + 0x68]
mov rcx, rbx
call fcn.004042c0
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x407e36
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.00420600
mov rbx, qword [rsp + 0x130]
mov rbp, qword [rsp + 0x138]
mov rsi, qword [rsp + 0x140]
mov rdi, qword [rsp + 0x148]
add rsp, 0x128
ret
Function at 0x407eb0
Capabilities:
Check if file exists

Disassembly:
mov r11, rsp
sub rsp, 0x68
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rdi
mov rax, qword [0x00454a00]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [r11 - 0x20], 0xf
mov qword [r11 - 0x28], 0
mov byte [rsp + 0x30], 0
lea rcx, [r11 - 0x40]
call fcn.00403f10
test al, al
jne 0x407f18
cmp qword [rsp + 0x48], 0x10
jb 0x407f0e
mov rcx, qword [rsp + 0x30]
call fcn.004135ec
mov eax, 0x4e24
jmp 0x408008
xor edx, edx
mov r8d, 0x104
mov rcx, rbx
call fcn.00420630
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
mov rcx, rbx
nop
movzx eax, byte [rdx]
mov byte [rcx], al
add rdx, 1
add rcx, 1
test al, al
jne 0x407f40
call fcn.004048b0
test eax, eax
je 0x407f7e
mov rdi, rbx
xor eax, eax
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.DriverX64]
mov qword [rdi - 1], rax
mov eax, dword [0x00439ec8]
mov dword [rdi + 7], eax
jmp 0x407fa0
mov rdi, rbx
xor eax, eax
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.DriverX86]
mov qword [rdi - 1], rax
mov eax, dword [0x00439eb8]
mov dword [rdi + 7], eax
lea rcx, str.Info_t:_Driver_path:
call fcn.004042c0
mov rcx, rbx
call fcn.004042c0
lea rcx, [0x00439e90]
call fcn.004042c0
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x407fe4
cmp qword [rsp + 0x48], 0x10
jb 0x407fe0
mov rcx, qword [rsp + 0x30]
call fcn.004135ec
xor eax, eax
jmp 0x408008
lea rcx, str.Error_:_Driver_path_is_not_founded._n
call fcn.004042c0
nop
cmp qword [rsp + 0x48], 0x10
jb 0x408003
mov rcx, qword [rsp + 0x30]
call fcn.004135ec
mov eax, 0x4e24
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.00420600
mov rbx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x88]
add rsp, 0x68
ret
Function at 0x40e0b0
Capabilities:
Check if file exists

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
je 0x40e0cf
mov eax, 0x4e24
add rsp, 0x20
pop rbx
ret
mov rcx, rbx
call fcn.0040d2a0
mov r8d, dword [0x004565ac]
lea rdx, [0x0045d8b0]
mov rcx, rbx
call fcn.00408da0
lea rdx, str.hwgpssensor.dll
mov r8d, 1
mov rcx, rbx
call fcn.00408da0
mov r8d, dword [0x004565a4]
lea rdx, [0x004565b0]
mov rcx, rbx
call fcn.00408da0
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x413450
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x50], rbx
mov rax, rdx
mov qword [rsp + 0x58], rbp
mov rbp, rcx
lea rdx, [0x0043af9c]
mov rcx, rax
mov qword [rsp + 0x68], rdi
xor bl, bl
mov qword [rsp + 0x40], r12
call fcn.004218e0
test rax, rax
mov rdi, rax
je 0x413513
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call fcn.004235c0
mov rcx, rdi
call fcn.00423450
xor r8d, r8d
xor edx, edx
mov rcx, rdi
movsxd r12, eax
call fcn.004235c0
lea r11d, [r12 + 1]
test r11d, r11d
movsxd rcx, r11d
jne 0x413538
xor ecx, ecx
mov qword [rsp + 0x60], rsi
call fcn.004135b0
mov r9, rdi
mov r8d, 1
mov rdx, r12
mov rcx, rax
mov rsi, rax
call fcn.00421760
cmp rax, 1
jne 0x4134fa
mov rdx, rsi
mov rcx, rbp
mov byte [r12 + rsi], 0
call fcn.00413180
movzx ebx, al
mov rcx, rdi
call fcn.004212d0
mov rcx, rsi
call fcn.004135ec
test bl, bl
mov rsi, qword [rsp + 0x60]
jne 0x41351d
xor edx, edx
mov rcx, rbp
call fcn.00413180
mov r12, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x58]
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x48
ret
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 1
jae 0x4134c0
xor ecx, ecx
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x28]
call fcn.00420dc0
lea r11, vtable.DWKK8uNL5M.0
lea rdx, [0x00447ae8]
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x28], r11
call fcn.00421ba0
int3

Function at 0x426ac7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x00454a00]
jne 0x42061a
rol rcx, 0x10
test cx, 0xffff
jne 0x420616
repz ret
ror rcx, 0x10
jmp 0x426a20
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x0047bac0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x0047bbb8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x426aa5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x0047bac0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x426ac7
mov rax, qword [rsp + 0x88]
mov qword [0x0047bbb8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x0047bb58], rax
mov rax, qword [0x0047bbb8]
mov qword [0x0047ba30], rax
mov rax, qword [rsp + 0x90]
mov qword [0x0047bb40], rax
mov dword [0x0047ba20], 0xc0000409
mov dword [0x0047ba24], 1
mov rax, qword [0x00454a00]
mov qword [rsp + 0x68], rax
mov rax, qword [0x00454a08]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x0047bab8], eax
mov ecx, 1
call fcn.004295f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x0043d9d0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x0047bab8], 0
jne 0x426b4e
mov ecx, 1
call fcn.004295f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x430250
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov r13, rcx
mov edi, r8d
mov r12, rdx
call fcn.00425dc0
xor ebx, ebx
cmp qword [0x0047c490], rbx
mov rsi, rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ebx
jne 0x430381
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rbp, rax
jne 0x4302b3
xor eax, eax
jmp 0x430461
lea rdx, [0x0043e510]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x4302ac
mov rcx, rax
call fcn.00425d50
lea rdx, str.GetActiveWindow
mov rcx, rbp
mov qword [0x0047c490], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.00425d50
lea rdx, [0x0043e4e8]
mov rcx, rbp
mov qword [0x0047c498], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.00425d50
lea rcx, [rsp + 0x30]
mov qword [0x0047c4a0], rax
call fcn.00424600
test eax, eax
je 0x430337
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.00421900
cmp dword [rsp + 0x30], 2
jne 0x430381
lea rdx, str.GetUserObjectInformationA
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.00425d50
test rax, rax
mov qword [0x0047c4b0], rax
je 0x430381
lea rdx, str.GetProcessWindowStation
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.00425d50
mov qword [0x0047c4a8], rax
mov rcx, qword [0x0047c4a8]
cmp rcx, rsi
je 0x430413
cmp qword [0x0047c4b0], rsi
je 0x430413
call fcn.00425e20
call rax
test rax, rax
mov rbp, rax
je 0x4303de
mov rcx, qword [0x0047c4b0]
call fcn.00425e20
lea rcx, [rsp + 0x38]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
lea r8, [rsp + 0x40]
mov rcx, rbp
call rax
test eax, eax
je 0x4303de
test byte [rsp + 0x48], 1
jne 0x430413
lea rcx, [rsp + 0x34]
call fcn.00424650
test eax, eax
je 0x430400
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.00421900
cmp dword [rsp + 0x34], 4
jb 0x43040d
bts edi, 0x15
jmp 0x430447
bts edi, 0x12
jmp 0x430447
mov rcx, qword [0x0047c498]
cmp rcx, rsi
je 0x430447
call fcn.00425e20
call rax
test rax, rax
mov rbx, rax
je 0x430447
mov rcx, qword [0x0047c4a0]
cmp rcx, rsi
je 0x430447
call fcn.00425e20
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x0047c490]
call fcn.00425e20
mov r9d, edi
mov r8, r12
mov rdx, r13
mov rcx, rbx
call rax
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
invalid
add eax, 0x4a939355
fbstp tbyte [rsi + 0x2f713529]
sub dword [0x1490625ab], esi
sub dword [0x1490625ab], esi
and eax, 0x86a5b543
stosb byte [rdi], al
lodsb al, byte [rsi]
cmp ah, dh
jo 0x14003f679
adc al, 0xb3
xchg byte [rdx - 0x22529b23], bpl
in eax, 0x23
movabs al, byte [0x77521b594b1cd5a]
loop 0x14003f62d
xor dword [0x13d753095], edi
std
mov ah, 0xac
cdqe
xor eax, 0x5a2dbc50
push rax
mov esp, 0x25aa5a2d
invalid
invalid
insd dword [rdi], dx
outsb dx, byte [rsi]
int1
test byte [rbp + 0x72], cl
pop rdi
retf 0x5d70
push rax
mov esp, 0x25aa5a2d
invalid
invalid
movabs al, byte [0x4bb10512b59bb8cb]
outsd dx, dword [rsi]
idiv dword [rbx - 0x101bc3fb]
out dx, eax
out dx, eax
je 0x14003f660
ror edi, 1
sbb al, 0x40
xchg ebx, eax
xchg ebx, eax
enter 0xffffffffffffff62, 0xffffffffffffffbb
cmp byte [rcx + 0x21], ah
sub dword [rdx], edx
xchg ebp, eax
in al, dx
mov esi, 0x1cbc048e
pop rcx
pop rbp
or byte [rdx], dl
jge 0x14003f6ec
add eax, 0xa7c06acc
xor al, 0x8e
fsub dword [rbx + 0x77069201]
add dword [rdx + 0x71797706], edx
invalid
sbb al, 0xe2
jmp 0x14a6afbdc
imul ebp, dword [0x15ae5f583], 0xf007af89
mov byte [rcx], 0x17
xchg ebp, eax
loope 0x14003f777
push rbp
lodsb al, byte [rsi]
cmp eax, 0xd71027af
mov dh, 0xdf
loope 0x14003f68e
push rbx
fucom st(0)
popfq
movabs al, byte [0x24d468e31b0d87c2]
or dl, dh
invalid
or esi, dword [rsi]
sbb al, bh
xor byte [rdx - 0x7d18472b], dh
outsb dx, byte [rsi]
fisub word [rcx - 0x27]
ret 0x4a62
invalid
Function at 0x1400016e6
Capabilities:
Hash data using sha256

Disassembly:
mov r8d, 1
jmp 0x140016e42
Function at 0x14000b270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x14000b300
cmp r11, r10
ja 0x14000b376
cmp r10, rdx
ja 0x14000b388
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14000b302
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14000b2e0
jmp 0x14000b364
ja 0x14000b30a
mov r11, r10
cmp rax, r8
jne 0x14000b2a4
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x14000b340
mov rdi, r8
sub ecx, edx
jns 0x14000b35b
jmp 0x14000b366
cmp r8, rsi
je 0x14000b397
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14000b366
xor al, 1
cmp rdi, rsi
jne 0x14000b320
jmp 0x14000b366
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140024260
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140023fd0
lea rcx, str.called__Option::unwrap____on_a__None__value__
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140024050
int3
Function at 0x14000c341
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
cmp byte [rcx + 0x79], 0
je 0x14000c355
xor esi, esi
jmp 0x14000c4fe
mov rdi, rcx
mov rsi, qword [rcx + 0x48]
cmp qword [rcx], 0
je 0x14000c39c
lea rdx, [rdi + 8]
mov r9, qword [rdi + 0x50]
movups xmm0, xmmword [rdi + 0x58]
cmp qword [rdi + 0x38], 0xffffffffffffffff
sete byte [rsp + 0x30]
movups xmmword [rsp + 0x20], xmm0
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov r8, rsi
call fcn.14000c54b
cmp qword [rbx], 0
jne 0x14000c4aa
jmp 0x14000c4c8
mov al, byte [rdi + 0x1a]
mov r8, qword [rdi + 8]
mov rdx, qword [rdi + 0x50]
mov cl, byte [rdi + 0x18]
test al, al
jne 0x14000c4c8
mov r9d, ecx
xor r9b, 1
mov byte [rdi + 0x18], r9b
mov r9, rdx
test r8, r8
je 0x14000c3df
mov r9, rdx
sub r9, r8
jbe 0x14000c3d9
cmp byte [rsi + r8], 0xbf
jg 0x14000c3df
jmp 0x14000c509
jne 0x14000c509
test r9, r9
je 0x14000c49c
mov r11b, byte [rsi + r8]
movzx r9d, r11b
test r9b, r9b
jns 0x14000c455
mov r10d, r9d
and r10d, 0x1f
movzx ebx, byte [rsi + r8 + 1]
and ebx, 0x3f
cmp r9b, 0xdf
jbe 0x14000c442
movzx r9d, byte [rsi + r8 + 2]
shl ebx, 6
and r9d, 0x3f
or r9d, ebx
cmp r11b, 0xf0
jb 0x14000c44e
movzx r11d, byte [rsi + r8 + 3]
and r10d, 7
shl r10d, 0x12
shl r9d, 6
and r11d, 0x3f
or r11d, r9d
or r11d, r10d
mov r9d, r11d
jmp 0x14000c455
shl r10d, 6
or r10d, ebx
mov r9d, r10d
jmp 0x14000c455
shl r10d, 0xc
or r9d, r10d
test cl, cl
jne 0x14000c4a0
cmp r9d, 0x110000
je 0x14000c4c4
mov ecx, 1
cmp r9d, 0x80
jb 0x14000c48e
mov ecx, 2
cmp r9d, 0x800
jb 0x14000c48e
cmp r9d, 0x10000
mov ecx, 4
sbb rcx, 0
add r8, rcx
mov qword [rdi + 8], r8
mov cl, 1
jmp 0x14000c3aa
test cl, cl
je 0x14000c4c4
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], r8
mov rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rdi + 0x68]
add rsi, rcx
sub rdx, rcx
mov qword [rdi + 0x68], rax
jmp 0x14000c4fe
mov byte [rdi + 0x1a], 1
cmp byte [rdi + 0x79], 0
jne 0x14000c34e
mov byte [rdi + 0x79], 1
cmp byte [rdi + 0x78], 0
je 0x14000c4e6
mov rsi, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
jmp 0x14000c4f7
mov rsi, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
cmp rdx, rsi
je 0x14000c34e
sub rdx, rsi
add rsi, qword [rdi + 0x48]
mov rax, rsi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
lea rax, str._rustc_07dca489ac2d933c78d3c5158e3f43beefeb02celibrarycore_src_strpattern.rs
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov r9, rdx
call fcn.140024540
int3

Function at 0x14000c708
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
movaps xmmword [rdx], xmm0
xor ecx, ecx
mov r8d, 0x10
mov r9d, 2
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
js 0x14000c73b
mov rax, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x14000c740
call fcn.14001f8d0
mov ecx, dword [0x1400fd244]
mov r8, qword gs:[0x58]
mov rcx, qword [r8 + rcx*8]
mov byte [rcx + 0x48], 1
mov qword [rcx + 0x50], rax
mov qword [rcx + 0x58], rdx
add rsp, 0x38
ret
Function at 0x14000fafa
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
mov byte [rdx + 0xf0], 0xa
mov edx, 4
call fcn.14000fc36
mov edi, eax
mov dword [rsi], eax
lea rcx, [rbx + 4]
mov edx, 4
call fcn.14000fc36
mov dword [rsi + 4], eax
lea rcx, [rbx + 8]
mov edx, 4
call fcn.14000fc36
mov dword [rsi + 8], eax
add rbx, 0xc
mov edx, 4
mov rcx, rbx
call fcn.14000fc36
mov dword [rsi + 0xc], eax
xor ecx, ecx
mov edx, 0xff
lea r8, [0x1400f2840]
lea r9, [0x1400f2c40]
lea r10, [0x1400f3040]
lea r11, [0x1400f3440]
lea rbx, [0x1400f3840]
mov r14d, eax
shr r14d, 0x10
and r14d, edx
movzx ebp, byte [r8 + r14*4 + 3]
shl ebp, 0x18
xor ebp, edi
mov edi, eax
shr edi, 8
and edi, edx
movzx edi, byte [r9 + rdi*4 + 2]
shl edi, 0x10
mov r14d, eax
and r14d, edx
movzx r14d, byte [r10 + r14*4 + 1]
shl r14d, 8
xor r14d, edi
xor r14d, ebp
mov edi, eax
shr edi, 0x18
movzx edi, byte [r11 + rdi*4]
xor edi, r14d
xor edi, dword [rcx + rbx]
mov dword [rsi + rcx*4 + 0x10], edi
mov ebp, dword [rsi + rcx*4 + 4]
xor ebp, edi
mov dword [rsi + rcx*4 + 0x14], ebp
xor ebp, dword [rsi + rcx*4 + 8]
mov dword [rsi + rcx*4 + 0x18], ebp
xor eax, ebp
mov dword [rsi + rcx*4 + 0x1c], eax
add rcx, 4
cmp rcx, 0x28
jne 0x14000fb7f
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x140013b70
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140006f40
cmp rax, rcx
je 0x140013b95
cmp rdx, 4
jae 0x140013b98
xor eax, eax
xor r8d, r8d
jmp 0x140013c30
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x1400265a0]
movdqa xmm3, xmmword [0x1400265b0]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140013bc0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140013c47
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140013c30
ret
Function at 0x140017e7b
Capabilities:
Hash data using murmur3

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
mov rsi, qword [rsp + 0x58]
mov eax, dword [rdx]
mov edi, r8d
rol edi, 0x19
mov r10d, dword [rdx + 4]
mov ebx, eax
rol ebx, 0x19
mov r11d, dword [rdx + 8]
mov ebp, r10d
rol ebp, 0x19
mov r14d, r11d
rol r14d, 0x19
mov r15d, r8d
rol r15d, 0xe
xor r15d, edi
mov edi, eax
rol edi, 0xe
xor edi, ebx
mov ebx, r10d
rol ebx, 0xe
xor ebx, ebp
mov ebp, r11d
rol ebp, 0xe
xor ebp, r14d
shr r8d, 3
xor r8d, r15d
add r8d, eax
shr eax, 3
xor eax, edi
add eax, r10d
shr r10d, 3
xor r10d, ebx
add r10d, r11d
shr r11d, 3
xor r11d, ebp
add r11d, dword [rdx + 0xc]
add r8d, dword [rsi + 0xc]
add eax, dword [r9]
add r10d, dword [r9 + 4]
add r11d, dword [r9 + 8]
mov edx, dword [rsi + 4]
mov edi, edx
rol edi, 0xf
mov r9d, dword [rsi]
mov esi, edx
rol esi, 0xd
xor esi, edi
shr edx, 0xa
xor edx, esi
add edx, r11d
mov r11d, r9d
rol r11d, 0xf
mov esi, r9d
rol esi, 0xd
xor esi, r11d
shr r9d, 0xa
xor r9d, esi
mov r11d, edx
rol r11d, 0xf
add r9d, r10d
mov r10d, edx
rol r10d, 0xd
xor r10d, r11d
mov r11d, edx
shr r11d, 0xa
xor r11d, r10d
add r11d, eax
mov eax, r9d
rol eax, 0xf
mov r10d, r9d
rol r10d, 0xd
xor r10d, eax
mov eax, r9d
shr eax, 0xa
xor eax, r10d
add eax, r8d
mov dword [rcx], eax
mov dword [rcx + 4], r11d
mov dword [rcx + 8], r9d
mov dword [rcx + 0xc], edx
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret