joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007cef0
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xe8
mov ebp, dword [rsp + 0x150]
lea r12, [rsp + 0x60]
mov rbx, rcx
mov rsi, rdx
mov rcx, r9
mov rdx, r12
mov edi, r8d
call fcn.14007ff70
test eax, eax
jne 0x14007cfda
cmp qword [rbx + 0x68], 0
jne 0x14007d0b3
test byte [rbx + 0x59], 0x20
jne 0x14007cf98
cmp ebp, 0x10
je 0x14007d030
cmp ebp, 0x1c
jne 0x14007d0a9
mov r13, qword [0x140234290]
mov rcx, qword [rbx + 0x70]
mov dword [rsp + 0x5c], 0
movzx eax, word [r13]
cmp rcx, 0xffffffffffffffff
je 0x14007d060
cmp word [r13], 0x17
je 0x14007d000
mov r8d, ebp
mov rdx, r13
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x14007d040
or dword [rbx + 0x58], 0x2000
mov rcx, qword [rbx + 0x70]
mov rdx, rsi
mov dword [rsp + 0x30], ebp
lea r9, [rsp + 0x5c]
mov qword [rsp + 0x40], 0
mov r8d, edi
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0
call qword [sym.imp.WS2_32.dll_WSASendTo]
mov edx, eax
mov eax, dword [rsp + 0x5c]
test edx, edx
jne 0x14007cff0
add rsp, 0xe8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.140060690
jmp 0x14007cfda
lea r9, [rsp + 0x5c]
mov r8d, 0x1b
mov edx, 0x29
or dword [rbx + 0x58], 0x400000
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbx + 0x70]
jmp 0x14007cf7c
mov r13, qword [0x140234280]
jmp 0x14007cf55
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r14d, eax
test eax, eax
je 0x14007cf98
mov ecx, r14d
call fcn.140060690
jmp 0x14007cfda
movzx ecx, ax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x14007d040
mov rcx, qword [rbx + 8]
movzx r9d, word [r13]
mov r8, rax
mov rdx, rbx
call fcn.14007b6a0
mov r14d, eax
test eax, eax
jne 0x14007d09e
mov rcx, qword [rbx + 0x70]
jmp 0x14007cf70
mov rcx, r15
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x14007d051
mov eax, 0xfffff019
jmp 0x14007cfda
mov eax, 0xfffff008
jmp 0x14007cfda
Function at 0x14007d3b0
Capabilities:
Get common file path

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x258
mov rsi, rcx
mov rbx, rdx
test rcx, rcx
je 0x14007d500
test rdx, rdx
je 0x14007d500
lea rdi, [rsp + 0x40]
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x14007d4b8
cmp eax, 0x104
ja 0x14007d507
mov edx, eax
xor ecx, ecx
mov word [rsp + rdx*2 + 0x40], cx
lea edx, [rax - 1]
cmp word [rsp + rdx*2 + 0x40], 0x5c
je 0x14007d4d8
xor edx, edx
mov r9d, 0xffffffff
mov r8, rdi
mov ecx, 0xfde9
mov qword [rsp + 0x38], 0
mov rbp, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call rbp
test eax, eax
je 0x14007d4b8
mov rdx, qword [rbx]
mov ecx, edx
cmp edx, eax
jl 0x14007d50e
cmp rdx, 0x7fffffff
mov eax, 0x7fffffff
mov r8, rdi
mov qword [rsp + 0x38], 0
cmova ecx, eax
mov qword [rsp + 0x20], rsi
xor edx, edx
mov r9d, 0xffffffff
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], ecx
mov ecx, 0xfde9
call rbp
test eax, eax
je 0x14007d4b8
sub eax, 1
cdqe
mov qword [rbx], rax
xor eax, eax
add rsp, 0x258
pop rbx
pop rsi
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140060690
add rsp, 0x258
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 3
je 0x14007d4f0
xor eax, eax
mov word [rsp + rdx*2 + 0x40], ax
jmp 0x14007d411
cmp word [rsp + 0x42], 0x3a
jne 0x14007d4dd
jmp 0x14007d411
mov eax, 0xfffff019
jmp 0x14007d4a8
mov eax, 0xfffff01a
jmp 0x14007d4a8
cdqe
mov qword [rbx], rax
mov eax, 0xfffff024
jmp 0x14007d4a8
Function at 0x14007d520
Capabilities:
Get common file path
Set current directory
Set environment variable

Disassembly:
push rbx
sub rsp, 0x250
mov r8, rcx
test rcx, rcx
je 0x14007d65f
lea rbx, [rsp + 0x40]
xor edx, edx
mov ecx, 0xfde9
mov dword [rsp + 0x28], 0x104
mov qword [rsp + 0x20], rbx
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14007d608
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
je 0x14007d628
mov rdx, rbx
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, eax
test rax, rax
je 0x14007d628
cmp rax, 0x104
ja 0x14007d666
cmp word [rsp + rax*2 + 0x3e], 0x5c
lea rdx, [rax - 1]
je 0x14007d638
cmp rax, 1
jbe 0x14007d5f8
cmp word [rsp + 0x42], 0x3a
jne 0x14007d5f8
movzx eax, word [rsp + 0x40]
lea edx, [rax - 0x41]
cmp dx, 0x19
jbe 0x14007d5cf
lea edx, [rax - 0x61]
cmp dx, 0x19
ja 0x14007d5f8
sub eax, 0x20
mov edx, 0x3d
mov word [rsp + 0x3a], ax
lea rcx, [rsp + 0x38]
mov word [rsp + 0x38], dx
mov rdx, rbx
mov dword [rsp + 0x3c], 0x3a
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
je 0x14007d628
xor eax, eax
add rsp, 0x250
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
cmp eax, 0x7a
je 0x14007d658
call fcn.140060690
add rsp, 0x250
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
jmp 0x14007d615
cmp rax, 3
je 0x14007d5ad
xor ecx, ecx
mov rax, rdx
mov word [rsp + rdx*2 + 0x40], cx
jmp 0x14007d5a7
mov eax, 0xfffff020
jmp 0x14007d61a
mov eax, 0xfffff019
jmp 0x14007d61a
mov eax, 0xfffff01a
jmp 0x14007d61a

Function at 0x14007d680
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x68
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov edx, eax
mov rax, 0xffffffffffffffff
test edx, edx
je 0x14007d6a9
mov rax, qword [rsp + 0x30]
add rsp, 0x68
ret

Function at 0x14007d6b0
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x68
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov edx, eax
mov rax, 0xffffffffffffffff
test edx, edx
je 0x14007d6d9
mov rax, qword [rsp + 0x28]
add rsp, 0x68
ret

Function at 0x14007d6f0
Capabilities:
Enumerate processes

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x260
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 2
mov esi, eax
mov dword [rsp + 0x20], 0x238
lea rdi, [rsp + 0x20]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdx, rdi
mov rcx, rax
mov rbx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x14007d73f
jmp 0x14007d760
mov rdx, rdi
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x14007d760
cmp dword [rsp + 0x28], esi
jne 0x14007d730
mov esi, dword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
add rsp, 0x260
pop rbx
pop rsi
pop rdi
ret
mov esi, 0xffffffff
jmp 0x14007d749
Function at 0x14007e4f0
Capabilities:
Get common file path

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x258
mov rsi, rcx
mov rbx, rdx
test rcx, rcx
je 0x14007e638
test rdx, rdx
je 0x14007e638
cmp qword [rdx], 0
je 0x14007e638
lea rdi, [rsp + 0x40]
mov ecx, 0x105
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, eax
test rax, rax
je 0x14007e5f0
cmp rax, 0x105
ja 0x14007e64a
cmp word [rsp + rax*2 + 0x3e], 0x5c
lea rdx, [rax - 1]
je 0x14007e610
xor edx, edx
mov r9d, 0xffffffff
mov r8, rdi
mov ecx, 0xfde9
mov qword [rsp + 0x38], 0
mov rbp, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call rbp
test eax, eax
je 0x14007e5f0
mov rdx, qword [rbx]
mov eax, eax
cmp rdx, rax
jb 0x14007e640
mov dword [rsp + 0x28], edx
mov r9d, 0xffffffff
xor edx, edx
mov r8, rdi
mov qword [rsp + 0x38], 0
mov ecx, 0xfde9
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rsi
call rbp
test eax, eax
je 0x14007e5f0
sub eax, 1
mov qword [rbx], rax
xor eax, eax
add rsp, 0x258
pop rbx
pop rsi
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140060690
add rsp, 0x258
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp rax, 3
je 0x14007e628
xor eax, eax
mov word [rsp + rdx*2 + 0x40], ax
jmp 0x14007e557
cmp word [rsp + 0x42], 0x3a
jne 0x14007e616
jmp 0x14007e557
mov eax, 0xfffff019
jmp 0x14007e5de
mov qword [rbx], rax
mov eax, 0xfffff024
jmp 0x14007e5de
mov eax, 0xfffff01a
jmp 0x14007e5de
Function at 0x14007eba0
Capabilities:
Get common file path
Get session user name

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x468
mov rbx, rcx
test rcx, rcx
je 0x14007ed1a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x38]
mov edx, 0x20008
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14007ecb0
lea rsi, [rsp + 0x34]
lea rdi, [rsp + 0x250]
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x34], 0x104
mov r8, rsi
mov rdx, rdi
call qword [sym.imp.USERENV.dll_GetUserProfileDirectoryW]
test eax, eax
jne 0x14007ec38
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x7a
je 0x14007ed10
mov ecx, ebx
call fcn.140060690
add rsp, 0x468
pop rbx
pop rsi
pop rdi
pop rbp
ret
lea rbp, [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x34], 0x101
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x14007ecd0
mov qword [rbx + 0x18], 0
lea r8, [rbx + 0x18]
mov edx, 0xffffffff
mov rcx, rdi
call fcn.14007e6a0
test eax, eax
jne 0x14007ec25
mov qword [rbx], 0
mov r8, rbx
mov edx, 0xffffffff
mov rcx, rbp
call fcn.14007e6a0
test eax, eax
jne 0x14007ecf0
mov qword [rbx + 0x10], 0
mov qword [rbx + 8], 0xffffffffffffffff
jmp 0x14007ec25
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140060690
add rsp, 0x468
pop rbx
pop rsi
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
cmp eax, 0x7a
je 0x14007ed10
call fcn.140060690
add rsp, 0x468
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rcx, qword [rbx + 0x18]
mov dword [rsp + 0x2c], eax
call fcn.140082dd0
mov eax, dword [rsp + 0x2c]
jmp 0x14007ec25
mov eax, 0xfffff027
jmp 0x14007ec25
mov eax, 0xfffff019
jmp 0x14007ec25
Function at 0x14007ed40
Capabilities:
Query environment variable

Disassembly:
push r13
mov eax, 0x10058
push r12
push rbp
push rdi
push rsi
push rbx
call fcn.1400c9670
sub rsp, rax
test rdx, rdx
mov rsi, rdx
mov rdi, r8
sete al
test r8, r8
sete dl
or al, dl
jne 0x14007eea0
test rcx, rcx
je 0x14007eea0
cmp qword [r8], 0
je 0x14007eea0
lea r8, [rsp + 0x48]
mov edx, 0xffffffff
call fcn.14007eac0
mov ebx, eax
test eax, eax
je 0x14007edb0
mov eax, ebx
add rsp, 0x10058
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r13, qword [rsp + 0x48]
lea r12, [rsp + 0x50]
mov r8d, 0x7fff
mov rdx, r12
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov rcx, r13
mov ebp, eax
call fcn.140082dd0
test ebp, ebp
jne 0x14007ee00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
cmp eax, 0xcb
je 0x14007eeaa
call fcn.140060690
mov ebx, eax
jmp 0x14007ed97
xor edx, edx
mov r9d, 0xffffffff
mov r8, r12
mov ecx, 0xfde9
mov qword [rsp + 0x38], 0
mov rbp, qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call rbp
test eax, eax
je 0x14007ee90
mov rdx, qword [rdi]
mov eax, eax
cmp rdx, rax
jb 0x14007eeb4
mov dword [rsp + 0x28], edx
mov r9d, 0xffffffff
xor edx, edx
mov r8, r12
mov qword [rsp + 0x38], 0
mov ecx, 0xfde9
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rsi
call rbp
test eax, eax
je 0x14007ee90
sub eax, 1
mov qword [rdi], rax
jmp 0x14007ed97
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
jmp 0x14007eded
mov ebx, 0xfffff019
jmp 0x14007ed97
mov ebx, 0xfffff026
jmp 0x14007ed97
mov qword [rdi], rax
mov ebx, 0xfffff024
jmp 0x14007ed97
Function at 0x14007f620
Capabilities:
Initialize winsock library

Disassembly:
push rsi
push rbx
sub rsp, 0x468
mov ecx, 0x202
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x14007f831
xor edx, edx
lea r8, [0x140274f80]
lea rcx, str.0.0.0.0
call fcn.1400840c0
test eax, eax
jne 0x140211de0
xor edx, edx
lea r8, [0x140274f60]
lea rcx, [0x1402277c3]
call fcn.140084110
test eax, eax
jne 0x140211de0
mov rsi, qword [sym.imp.WS2_32.dll_socket]
xor r8d, r8d
mov edx, 1
mov ecx, 2
call rsi
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14007f790
lea rax, [rsp + 0x3c]
mov r8d, 0x2005
mov edx, 0xffff
mov dword [rsp + 0x3c], 0x274
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1e0]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x14007f81d
test byte [rsp + 0x1e2], 2
je 0x14007f770
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
je 0x14007f809
xor r8d, r8d
mov edx, 1
mov ecx, 0x17
call rsi
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14007f7c0
lea rax, [rsp + 0x3c]
mov r8d, 0x2005
mov edx, 0xffff
mov dword [rsp + 0x3c], 0x274
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x1e0]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
cmp eax, 0xffffffff
je 0x14007f81d
test byte [rsp + 0x1e2], 2
je 0x14007f780
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
je 0x14007f809
add rsp, 0x468
pop rbx
pop rsi
ret
mov dword [0x140274f94], 1
jmp 0x14007f6e3
mov dword [0x140274f90], 1
jmp 0x14007f752
mov rbx, qword [sym.imp.WS2_32.dll_WSAGetLastError]
call rbx
cmp eax, 0x273c
jle 0x14007f7e8
sub eax, 0x273e
cmp eax, 1
jbe 0x14007f6f5
call rbx
lea rdx, str.socket
mov ecx, eax
call fcn.140060630
nop
mov rbx, qword [sym.imp.WS2_32.dll_WSAGetLastError]
call rbx
cmp eax, 0x273c
jle 0x14007f7f8
sub eax, 0x273e
cmp eax, 1
ja 0x14007f7ae
add rsp, 0x468
pop rbx
pop rsi
ret
cmp eax, 0x273a
jg 0x14007f6f5
jmp 0x14007f7ae
cmp eax, 0x273a
jle 0x14007f7ae
add rsp, 0x468
pop rbx
pop rsi
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.closesocket
mov ecx, eax
call fcn.140060630
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.getsockopt
mov ecx, eax
call fcn.140060630
lea rdx, str.WSAStartup
mov ecx, eax
call fcn.140060630
nop

Function at 0x140088350
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
test dl, dl
jne 0x140088388
mov rsi, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r9d, 0x40
mov rdx, rbx
xor ecx, ecx
mov rax, rsi
mov r8d, 0x3000
add rsp, 0x28
pop rbx
pop rsi
jmp rax
lea rax, [rcx - 1]
mov rsi, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor ecx, ecx
mov r9d, 0x40
and rax, 0xffffffffffe00000
mov r8d, 0x20003000
lea rdx, [rax + 0x200000]
call rsi
test rax, rax
je 0x140088364
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x140088460
Capabilities:
Manipulate user privileges

Disassembly:
push rdi
push rsi
push rbx
add rsp, 0xffffffffffffff80
test rcx, rcx
jne 0x140088478
sub rsp, 0xffffffffffffff80
pop rbx
pop rsi
pop rdi
ret
call fcn.140088220
mov edx, eax
mov eax, 1
test edx, edx
je 0x1400884a0
mov byte [0x140275360], al
sub rsp, 0xffffffffffffff80
pop rbx
pop rsi
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1400884c8
xor eax, eax
jmp 0x140088488
lea rsi, [rsp + 0x50]
mov edx, 1
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x50], 0
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rsi
mov rdi, qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call rdi
mov edx, dword [rsp + 0x50]
test edx, edx
jne 0x140088528
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov qword [rsp + 0x20], rsi
call rdi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140088488
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rsi
mov edx, 1
mov rbx, rax
mov r9d, dword [rsp + 0x50]
mov r8, rax
call rdi
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x1400884bd
pxor xmm0, xmm0
xor ecx, ecx
lea r9, [rsp + 0x38]
mov rdx, rsi
mov r8d, 0xf0fff
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x70], xmm0
call sub.ADVAPI32.dll_LsaOpenPolicy
test eax, eax
je 0x1400885a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x140088488
lea rsi, str.SeLockMemoryPrivilege
mov rcx, rsi
call sub.msvcrt.dll_wcslen
mov r9d, 1
lea r8, [rsp + 0x40]
mov qword [rsp + 0x48], rsi
lea edx, [rax + 1]
movzx ecx, ax
mov eax, edx
mov rdx, qword [rbx]
shl eax, 0x10
or eax, ecx
mov rcx, qword [rsp + 0x38]
movd xmm0, eax
psllw xmm0, 1
movd dword [rsp + 0x40], xmm0
call sub.ADVAPI32.dll_LsaAddAccountRights
mov rcx, qword [rsp + 0x38]
test eax, eax
je 0x1400885f8
call sub.ADVAPI32.dll_LsaClose
jmp 0x14008858f
call sub.ADVAPI32.dll_LsaClose
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
call fcn.140088220
test eax, eax
setne al
jmp 0x140088488
Function at 0x14009e740
Capabilities:
Hash data using sha512

Disassembly:
push rdi
sub rsp, 0x40
mov r8, rcx
test rcx, rcx
je 0x14009e83c
lea rax, [rdx - 1]
cmp rax, 0x3f
ja 0x14009e823
mov eax, 0x101
lea rdi, [rcx + 0x48]
mov byte [rsp], dl
movabs r9, 0x3c6ef372fe94f82b
mov word [rsp + 2], ax
and rdi, 0xfffffffffffffff8
mov eax, ecx
movabs r10, 0xa54ff53a5f1d36f1
sub eax, edi
mov byte [rsp + 1], 0
movdqa xmm0, xmmword [0x14022b8e0]
mov dword [rsp + 4], 0
mov qword [rsp + 8], 0
mov qword [rcx + 0x40], 0
mov qword [rcx + 0xe8], 0
lea ecx, [rax + 0xf0]
xor eax, eax
shr ecx, 3
rep stosq qword [rdi], rax
mov qword [r8 + 0x10], r9
xor eax, eax
movabs r9, 0x510e527fade682d1
mov qword [r8 + 0x18], r10
movabs r10, 0x9b05688c2b3e6c1f
mov qword [r8 + 0x20], r9
pxor xmm0, xmmword [rsp]
movabs r9, 0x1f83d9abfb41bd6b
mov qword [r8 + 0x28], r10
movabs r10, 0x5be0cd19137e2179
mov qword [r8 + 0x30], r9
mov qword [r8 + 0x38], r10
mov dword [r8 + 0xe4], edx
movups xmmword [r8], xmm0
add rsp, 0x40
pop rdi
ret
cmp byte [rcx + 0xe8], 0
je 0x14009e834
mov qword [rcx + 0x58], 0xffffffffffffffff
mov qword [r8 + 0x50], 0xffffffffffffffff
mov eax, 0xffffffff
jmp 0x14009e81d
Function at 0x1400a0450
Capabilities:
Encode data using xor

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov r12, rdx
lea rax, [r8 + 1]
mov rsi, rcx
mov rbx, r8
movabs rdx, 0x5851f42d4c957f2d
lea r13, [rcx + 0x20]
lea rdi, [rsp + 0x20]
imul rax, rdx
lea rbp, [rcx + 0xc3e0]
movabs rdx, 0x810a978a59f5a1fc
xor rdx, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rdx
movabs rdx, 0xa77099df38c2d846
xor rdx, rax
mov qword [rsp + 0x30], rdx
movabs rdx, 0x8126b91cbf22495c
xor rdx, rax
mov qword [rsp + 0x38], rdx
movabs rdx, 0x494d2597179f8a62
xor rdx, rax
mov qword [rsp + 0x40], rdx
movabs rdx, 0x9237efb9ceaaec0c
xor rdx, rax
mov qword [rsp + 0x48], rdx
movabs rdx, 0x2f2a56746ce62d78
xor rdx, rax
mov qword [rsp + 0x50], rdx
movabs rdx, 0x84853bf7b62ce54e
xor rax, rdx
mov qword [rsp + 0x58], rax
nop word [rax + rax]
and ebx, 0x3fffff
mov rdx, r13
mov rcx, rdi
add r13, 0x1878
shl rbx, 6
add rbx, qword [rsi]
prefetchnta byte [rbx]
call fcn.1400a2440
mov rax, qword [rbx]
xor qword [rsp + 0x20], rax
mov rax, qword [rbx + 8]
xor qword [rsp + 0x28], rax
mov rax, qword [rbx + 0x10]
xor qword [rsp + 0x30], rax
mov rax, qword [rbx + 0x18]
xor qword [rsp + 0x38], rax
mov rax, qword [rbx + 0x20]
xor qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x28]
xor qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x30]
xor qword [rsp + 0x50], rax
mov rax, qword [rbx + 0x38]
xor qword [rsp + 0x58], rax
movsxd rax, dword [r13 - 0x64]
mov rbx, qword [rsp + rax*8 + 0x20]
cmp rbp, r13
jne 0x1400a0510
movdqa xmm0, xmmword [rsp + 0x20]
movdqa xmm1, xmmword [rsp + 0x30]
movdqa xmm2, xmmword [rsp + 0x40]
movdqa xmm3, xmmword [rsp + 0x50]
movups xmmword [r12], xmm0
movups xmmword [r12 + 0x10], xmm1
movups xmmword [r12 + 0x20], xmm2
movups xmmword [r12 + 0x30], xmm3
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
Function at 0x1400b2620
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
nop word [rax + rax]
movdqu xmm0, xmmword [rcx + rax]
movdqu xmm1, xmmword [rdx + rax]
pxor xmm0, xmm1
movups xmmword [rcx + rax], xmm0
add rax, 0x10
cmp rax, 0x400
jne 0x1400b2628
ret

Function at 0x1400b2920
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x820
mov rbp, rcx
mov rbx, rdx
test rcx, rcx
je 0x1400b2ad1
test rdx, rdx
je 0x1400b2ad1
mov r10, qword [rcx]
test r10, r10
je 0x1400b2ad1
mov eax, dword [rdx + 0x18]
mov r11, qword [rdx]
lea r12, [rsp + 0x20]
mov ecx, pe_nt_image_headers64
mov rdi, r12
mov r9, rax
shl rax, 0xa
lea rsi, [r11 + rax - 0x400]
rep movsq qword [rdi], qword [rsi]
mov esi, dword [rdx + 0x1c]
cmp esi, 1
jbe 0x1400b2a29
cmp esi, 3
jbe 0x1400b2ae3
lea eax, [rsi - 4]
lea r13d, [r9 + r9 - 1]
mov edi, 3
and eax, 0xfffffffe
lea r14d, [rax + 5]
mov r8d, r13d
lea ecx, [r13 + r9]
mov rax, r12
xor edx, edx
shl r8, 0xa
mov r13, rcx
shl rcx, 0xa
add r8, r11
add rcx, r11
nop dword [rax]
movdqu xmm0, xmmword [r8 + rdx]
movdqu xmm1, xmmword [r8 + rdx + 0x10]
add rax, 0x20
pxor xmm0, xmmword [rax - 0x20]
pxor xmm1, xmmword [rax - 0x10]
movaps xmmword [rax - 0x20], xmm0
movaps xmmword [rax - 0x10], xmm1
movdqu xmm2, xmmword [rcx + rdx + 0x10]
movdqu xmm3, xmmword [rcx + rdx]
add rdx, 0x20
pxor xmm1, xmm2
pxor xmm0, xmm3
movaps xmmword [rax - 0x20], xmm0
movaps xmmword [rax - 0x10], xmm1
cmp rdx, 0x400
jne 0x1400b29c8
lea eax, [rdi + 2]
add r13d, r9d
cmp r14d, eax
je 0x1400b2ae8
mov edi, eax
jmp 0x1400b29a3
lea r8, [rsp + 0x420]
mov rdi, r8
mov edx, dword [rbp + 8]
mov ecx, pe_nt_image_headers64
mov rsi, r12
rep movsq qword [rdi], qword [rsi]
lea rsi, [rsp + 0x420]
mov r9d, 0x400
mov rcx, r10
mov r8, rsi
call fcn.1400b5d60
mov r9d, dword [0x1402794e0]
test r9d, r9d
je 0x1400b2a8d
mov edx, 0x400
mov rcx, r12
call fcn.1400b2560
mov r8d, dword [0x1402794e0]
test r8d, r8d
je 0x1400b2a8d
mov edx, 0x400
mov rcx, rsi
call fcn.1400b2560
mov ecx, dword [rbx + 0x28]
test ecx, ecx
jne 0x1400b2b39
mov esi, dword [rbx + 0x10]
mov edx, dword [0x1402794e0]
mov rcx, qword [rbx]
shl esi, 0xa
test edx, edx
je 0x1400b2ab8
test rcx, rcx
je 0x1400b2ab8
mov rdx, rsi
call fcn.1400b2560
mov eax, dword [rbx + 0x2c]
test eax, eax
jne 0x1400b2ad1
mov rax, qword [rbp + 0x68]
mov rcx, qword [rbx]
test rax, rax
je 0x1400b2b4a
mov rdx, rsi
call rax
nop
add rsp, 0x820
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov edi, 1
add edi, 1
lea r8, [rsp + 0x420]
mov ecx, edi
imul ecx, r9d
sub ecx, 1
mov edx, ecx
mov rax, r12
shl rdx, 0xa
add rdx, r11
nop dword [rax + rax]
movdqu xmm0, xmmword [rdx]
pxor xmm0, xmmword [rax]
add rax, 0x10
add rdx, 0x10
movaps xmmword [rax - 0x10], xmm0
cmp rax, r8
jne 0x1400b2b10
add ecx, r9d
cmp edi, esi
jae 0x1400b2a31
add edi, 1
jmp 0x1400b2afc
mov edx, dword [rbp + 8]
mov rcx, qword [rbp]
call fcn.1400b3e20
jmp 0x1400b2a98
call fcn.1400d4858
jmp 0x1400b2ad1
Function at 0x1400b5ab0
Capabilities:
Hash data using sha512

Disassembly:
pxor xmm0, xmm0
movabs r8, 0xbb67ae8584caa73b
movabs r9, 0x3c6ef372fe94f82b
movabs r10, 0xa54ff53a5f1d36f1
movabs rax, 0x6a09e667f3bcc908
movabs r11, 0x510e527fade682d1
or rdx, 0x1010000
mov qword [rcx + 8], r8
movabs r8, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x10], r9
xor rdx, rax
movabs r9, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x18], r10
movabs r10, 0x5be0cd19137e2179
mov qword [rcx + 0x20], r11
mov qword [rcx + 0x28], r8
mov qword [rcx + 0x30], r9
mov qword [rcx + 0x38], r10
mov qword [rcx + 0xd0], 0
mov qword [rcx], rdx
movups xmmword [rcx + 0x40], xmm0
ret