joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011203
Capabilities:
Terminate process

Disassembly:
jmp 0x1400130a0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001128a
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400143e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014400
xor al, al
jmp 0x140014481
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014413
xor al, al
jmp 0x140014481
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001443d
xor al, al
jmp 0x140014481
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014451
xor al, al
jmp 0x140014481
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014463
xor al, al
jmp 0x140014481
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001447f
xor al, al
jmp 0x140014481
mov al, 1
add rsp, 0x38
ret
Function at 0x140001000
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
xor edi, edi
mov ebp, 0x1000
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebp
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x1400010a0
lea r9, [rsp + 0x30]
mov r8d, ebp
mov rdx, rax
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
cmp eax, 0xc0000004
jne 0x140001074
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
add ebp, ebp
inc edi
cmp edi, 0x64
jg 0x14000108c
cmp ebx, 0xc0000004
je 0x140001020
test ebx, ebx
js 0x14000108c
mov rax, rsi
jmp 0x1400010a2
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400010c0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x1400103c8]
xor rax, rsp
mov qword [rsp + 0x230], rax
call section..text
mov rbx, rax
test rax, rax
je 0x1400011e4
cmp dword [rax], 0
je 0x1400011d0
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov r11d, eax
test eax, eax
je 0x1400011d0
mov byte [rsp + r11 + 0x20], 0x5c
movzx eax, word [rbx + 0x2e]
mov qword [rsp + 0x250], rsi
lea rdx, [rax + rbx + 0x30]
lea eax, [r11 + 1]
mov qword [rsp + 0x258], rdi
lea r8, [rsp + rax + 0x20]
nop dword [rax + rax]
movzx eax, byte [rdx]
inc r8
inc rdx
mov byte [r8 - 1], al
test al, al
jne 0x140001140
mov rsi, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov rdi, rax
test rax, rax
je 0x1400011ce
lea rdx, str.PsLookupProcessByProcessId
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
sub rsi, rdi
mov rcx, rdi
lea rbx, [rsi + rax]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, rbx
mov rsi, qword [rsp + 0x250]
mov rdi, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140001640
add rsp, 0x240
pop rbx
ret
jmp 0x1400011a5
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x1400011b5
Function at 0x140001e33
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1400103c8]
jne 0x14000165a
rol rcx, 0x10
test cx, 0xffff
jne 0x140001656
repz ret
ror rcx, 0x10
jmp 0x140001d8c
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400113b0]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rax, qword [0x1400114a8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.ntdll.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140001e11
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, [0x1400113b0]
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.ntdll.dll_RtlVirtualUnwind
jmp 0x140001e33
mov rax, qword [rsp + 0x88]
mov qword [0x1400114a8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140011448], rax
mov rax, qword [0x1400114a8]
mov qword [0x140011320], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140011430], rax
mov dword [0x140011310], 0xc0000409
mov dword [0x140011314], 1
mov rax, qword [0x1400103c8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400103d0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400113a8], eax
mov ecx, 1
call fcn.140005cfc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000c348]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400113a8], 0
jne 0x140001eba
mov ecx, 1
call fcn.140005cfc
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 0x14000280c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14000267c

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

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
test rcx, rcx
jne 0x140003ef6
call fcn.140003e64
and dword [rax], 0
call fcn.140003e44
mov ebx, 0x16
mov dword [rax], ebx
call fcn.1400037f4
mov eax, ebx
jmp 0x140003f46
test edx, 0xfffffff9
jne 0x140003ed9
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140003f1f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140003e84
call fcn.140003e44
mov eax, dword [rax]
jmp 0x140003f46
test al, 0x10
jne 0x140003f44
test al, 1
je 0x140003f44
test bl, 2
je 0x140003f44
call fcn.140003e64
mov dword [rax], 5
call fcn.140003e44
mov dword [rax], 0xd
jmp 0x140003f16
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140008b94
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x1400103c8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400058a4
xor ebx, ebx
cmp qword [0x1400122d8], rbx
mov rdi, rax
jne 0x140008ca7
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140008d7e
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140008d7e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x1400122d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x1400122e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x1400122e8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1400122f8], rax
test rax, rax
je 0x140008c9e
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1400122f0], rax
jmp 0x140008cae
mov rax, qword [0x1400122f0]
jmp 0x140008cb5
mov rax, qword [0x1400122f0]
mov r11, qword [0x1400122f8]
cmp rax, rdi
je 0x140008d1c
cmp r11, rdi
je 0x140008d1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1400122f8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140008d1c
test rax, rax
je 0x140008d1c
call rsi
test rax, rax
je 0x140008d16
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x140008d16
test byte [rsp + 0x40], 1
jne 0x140008d1c
bts ebp, 0x15
jmp 0x140008d5c
mov rcx, qword [0x1400122e0]
cmp rcx, rdi
je 0x140008d5c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140008d5c
call rax
mov rbx, rax
test rax, rax
je 0x140008d5c
mov rcx, qword [0x1400122e8]
cmp rcx, rdi
je 0x140008d5c
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140008d5c
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1400122d8]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140008d7e
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140008d80
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001640
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000af40
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002fd98]
test rcx, rcx
je 0x14000af7b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000af6e
mov rcx, qword [0x14002fd98]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002fd98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002fda8], 0
je 0x14000b06e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x1400299b8]
mov qword [rsp + 0x80], rsi
lea rsi, [0x1400325d0]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b04f
test al, 0x10
je 0x14000b04f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000aff5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x140003030
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x13c0
call fcn.1401e1830
sub rsp, rax
mov rax, qword [0x1405efab8]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x14000306f
imul rax, rax, 0x64
jmp 0x14000308d
cqo
idiv rbx
mov rcx, rax
imul rax, rdx, 0x3b9aca00
imul rcx, rcx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
mov rcx, rax
mov dword [rsp + 0x13a4], 0xffffffff
mov dword [rsp + 0x24], eax
mov edx, 1
nop dword [rax]
nop dword [rax + rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [rsp + rdx*4 + 0x24], ecx
inc rdx
cmp rdx, 0x270
jb 0x1400030b0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x270
call fcn.140013d20
mov ecx, eax
lea rax, [rcx + rcx*4]
test eax, eax
jne 0x140003105
nop dword [rax + rax]
lea rcx, [rsp + 0x20]
call fcn.140013d20
mov ecx, eax
lea rax, [rcx + rcx*4]
cmp eax, 1
jb 0x1400030f0
shr rax, 0x20
test eax, eax
je 0x140003149
sub eax, 1
je 0x140003140
sub eax, 1
je 0x140003137
sub eax, 1
je 0x14000312e
cmp eax, 1
je 0x140003125
xor eax, eax
jmp 0x140003150
lea rax, [0x1404401a8]
jmp 0x140003150
lea rax, [0x1404401c8]
jmp 0x140003150
lea rax, [0x140440178]
jmp 0x140003150
lea rax, [0x140440198]
jmp 0x140003150
lea rax, [0x140440148]
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1401e0bc0
add rsp, 0x13c0
pop rbx
ret
Function at 0x140003ef0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x50
mov rax, qword [0x1405efab8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, qword [rcx + 0x50]
movabs rax, 0x6666666666666667
mov rbx, qword [rcx + 0x48]
mov rdx, rsi
sub rdx, rbx
mov rbp, rcx
imul rdx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x140003f3c
xor al, al
jmp 0x140003fe9
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], r14
cmp rbx, rsi
je 0x140003fc0
xor r14d, r14d
mov edx, dword [rbx + 8]
lea r9, [rsp + 0x38]
mov rcx, qword [rbx]
mov r8d, 0x40
mov dword [rsp + 0x38], r14d
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x14000401a
mov ecx, dword [rbx + 8]
call fcn.1400038e0
mov rdi, rax
test rax, rax
je 0x140003f9d
mov r8d, dword [rbx + 8]
mov rdx, rax
mov rcx, qword [rbx]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, dword [rbx + 8]
lea r9, [rsp + 0x38]
mov r8d, dword [rsp + 0x38]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x140003ffe
add rbx, 0x28
cmp rbx, rsi
jne 0x140003f51
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x50]
cmp rcx, rdx
je 0x140003fda
call fcn.1400125e0
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x50], rax
mov rdi, qword [rsp + 0x78]
mov al, 1
mov r14, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401e0bc0
add rsp, 0x50
pop rsi
pop rbp
pop rbx
ret
lea rcx, [rsp + 0x20]
call fcn.140001570
lea rdx, [0x14045fe70]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
call fcn.140001680
lea rdx, [0x14045fbf8]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140005820
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x3a0
mov rax, qword [0x1405efab8]
xor rax, rsp
mov qword [rsp + 0x390], rax
mov dword [rsp + 0x40], 0x348
xor ebx, ebx
xor edx, edx
xor r9d, r9d
lea r8, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayDevicesW]
test eax, eax
je 0x140005937
test byte [rsp + 0x184], 1
je 0x1400058d0
lea rdx, [rsp + 0x84]
lea rcx, [rsp + 0x20]
call fcn.1400111f0
nop
cmp qword [rsp + 0x30], 0
je 0x140005892
lea rcx, [rsp + 0x20]
call fcn.140004fa0
test al, al
jne 0x1400058d9
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400058d0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400058cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005930
call fcn.1401e10f8
inc ebx
mov edx, ebx
jmp 0x140005847
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140005917
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005912
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005930
call fcn.1401e10f8
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.1401e0bc0
add rsp, 0x3a0
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov ecx, 0x66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x1400067c0
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1405efab8]
xor rax, rsp
mov qword [rsp + 0x50], rax
call fcn.140005820
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140006818
lea r8, [rsp + 0x38]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x30]
test eax, eax
jne 0x14000682c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401e0bc0
add rsp, 0x68
ret
mov rax, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x44], rax
xor edx, edx
xor eax, eax
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x4c], 2
mov qword [rsp + 0x20], rax
lea r9d, [rax + 0x10]
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x140006812
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401e0bc0
add rsp, 0x68
ret
Function at 0x140013b70
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140013ba1
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1405f40c8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1405f40d8]
lea rdx, [rdi + rdi]
call fcn.140012000
mov rax, qword [0x1405f40c8]
lea r9, [rdi - 1]
mov qword [0x1405f40f0], r9
mov qword [0x1405f40f8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140013d14
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1405f40d8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140013c60
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140013cd5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140013c9d
mov r10, qword [rdx]
cmp r10, rax
je 0x140013c97
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140013cd5
cmp r9, rdx
je 0x140013cb1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140013ce9
cmp r9, rdx
jne 0x140013ca2
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x140013d0f
mov r9, qword [0x1405f40f0]
jmp 0x140013c11
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140013cd5
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140013d20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140013d81
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140013d40
mov ecx, dword [r9]
jmp 0x140013e68
cmp ecx, 0x4e0
jb 0x140013e68
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140013da0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140013df0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x14001dcb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov ebp, r9d
xor ecx, ecx
mov rdi, r8
mov rsi, rdx
cmp r8, 0xffffffffffffffff
jne 0x14001dd03
movzx eax, byte [rdx]
mov edi, ecx
test al, al
je 0x14001dcf7
imul ecx, ecx, 0x1003f
inc rdi
movzx eax, al
add ecx, eax
movzx eax, byte [rdi + rdx]
test al, al
jne 0x14001dce1
test rdi, rdi
jne 0x14001dd2f
xor eax, eax
jmp 0x14001ddb2
mov rdx, rcx
test r8, r8
je 0x14001dcf7
nop dword [rax + rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x14001dd2a
imul ecx, ecx, 0x1003f
inc rdx
add ecx, eax
cmp rdx, r8
jb 0x14001dd10
jmp 0x14001dcf7
mov ecx, reloc.WS2_32.dll_recvfrom
mov eax, dword [rbx + 0x128]
mov edx, ecx
xor edx, ebp
mov qword [rsp + 0x30], r14
mov r14d, 0xffffffff
cmp ebp, r14d
cmove edx, ecx
movzx ecx, byte [rbx + 0x12c]
imul rax, rdx
shr rax, cl
imul eax, dword [rbx + 0x120]
mov rbx, qword [rbx + 0x110]
sub edx, eax
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x14001ddaa
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x14001dd99
cmp dword [rbx + 0x14], ebp
jne 0x14001dd99
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x14001dd8a
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14001dda1
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14001dd71
test rbx, rbx
je 0x14001ddaa
mov r14d, dword [rbx + 0xc]
mov eax, r14d
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret