joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2fc4cb0e0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4cbae2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f0108]
test eax, eax
je 0x2fc4cbb7a
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f0110]
mov qword [rbp - 8], rax
jmp 0x2fc4cbb5e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4cbb52
cmp qword [rbp - 0x10], 0
je 0x2fc4cbb52
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4cbb18
lea rax, [0x2fc4f00e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4cbb7b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4cbc80
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4cbca8
mov eax, 0
jmp 0x2fc4cbcf6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4cbcd1
mov eax, 0
jmp 0x2fc4cbcf6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4cbcf1
mov eax, 0
jmp 0x2fc4cbcf6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4cbcfc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4cbd7a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4cbd71
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4cbd71
mov rax, qword [rbp - 8]
jmp 0x2fc4cbd8f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4cbd44
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001000
Capabilities:
Create process on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x210
mov rax, qword [0x14001a140]
xor rax, rsp
mov qword [rsp + 0x200], rax
mov dword [rsp + 0x34], 0
mov qword [rsp + 0x40], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x40]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140001099
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x38]
mov edx, 0x14
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14000108d
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [rsp + 0x34], 0
jne 0x14000113b
mov r8d, 0x104
lea rdx, [rsp + 0xf0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [rsp + 0x50], 0x70
lea rax, [rsp + 0x54]
mov rdi, rax
xor eax, eax
mov ecx, 0x6c
rep stosb byte [rdi], al
lea rcx, str.runas
call fcn.140001250
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x80], 1
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x140001133
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0x4c7
jne 0x140001133
mov ecx, 1
call fcn.140005370
nop
xor ecx, ecx
call fcn.140005370
nop
lea rax, [0x1400012c0]
mov qword [rsp + 0xc0], rax
lea rax, [0x140001470]
mov qword [rsp + 0xc8], rax
lea rax, [0x1400014a0]
mov qword [rsp + 0xd0], rax
lea rax, [0x140001500]
mov qword [rsp + 0xd8], rax
lea rax, [0x140001600]
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x30], 0
jmp 0x14000119a
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
cmp rax, 5
jae 0x1400011b4
movsxd rax, dword [rsp + 0x30]
call qword [rsp + rax*8 + 0xc0]
nop
jmp 0x140001190
call fcn.1400017d0
call fcn.140001910
xor eax, eax
mov rcx, qword [rsp + 0x200]
xor rcx, rsp
call fcn.140001d50
add rsp, 0x210
pop rdi
ret

Function at 0x140001730
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140001758
jmp 0x1400017c3
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140001777
jmp 0x1400017c3
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 2
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1400017c3
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.14000f0f0
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov edx, 2
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
add rsp, 0x48
ret
Function at 0x140001910
Capabilities:
Create process on windows
Get common file path
Move file

Disassembly:
push rdi
sub rsp, 0x310
mov rax, qword [0x14001a140]
xor rax, rsp
mov qword [rsp + 0x300], rax
lea rdx, [rsp + 0xe0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rcx, str.solace.exe
call fcn.140001250
mov rdx, rax
lea rcx, [rsp + 0xe0]
call fcn.140005390
mov r8d, 0x104
lea rdx, [rsp + 0x1f0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [rsp + 0x70], 0x68
lea rax, [rsp + 0x78]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
nop
xor eax, eax
cmp eax, 1
je 0x140001a01
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x1400019ec
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.140001d50
add rsp, 0x310
pop rdi
ret

Function at 0x1400024d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000251a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000251a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000251a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000251a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000251a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000251c
xor al, al
add rsp, 0x28
ret

Function at 0x14000516c
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400051db
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400051db
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400051db
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400051db
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400051db
cmp dword [rcx + 0x84], 0xe
jbe 0x1400051db
cmp dword [rcx + 0xf8], 0
je 0x1400051db
mov ecx, ebx
call fcn.14000528c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140005068
nop
cmp dword [rbp + 0x20], 0
je 0x140005229
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140005234
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000516c
Function at 0x140005370
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1400051db
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400051db
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400051db
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400051db
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400051db
cmp dword [rcx + 0x84], 0xe
jbe 0x1400051db
cmp dword [rcx + 0xf8], 0
je 0x1400051db
mov ecx, ebx
call fcn.14000528c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140005068
nop
cmp dword [rbp + 0x20], 0
je 0x140005229
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140005234
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000516c
Function at 0x140009160
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140009190
xor eax, eax
jmp 0x140009253
mov rbp, rbx
cmp word [rax], si
je 0x1400091b5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000919c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140009198
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140009080
movsxd r14, eax
test eax, eax
jne 0x1400091f3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140009189
mov rcx, r14
call fcn.14000690c
mov rdi, rax
test rax, rax
jne 0x14000920c
xor ecx, ecx
call fcn.1400076b8
jmp 0x1400091e8
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140009080
test eax, eax
jne 0x14000923d
mov rcx, rdi
call fcn.1400076b8
jmp 0x140009247
xor ecx, ecx
call fcn.1400076b8
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x14000e840
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000e868
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000e868
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001000
Capabilities:
Generate random numbers via winapi
Get common file path
Read file on windows
Write file on windows

Disassembly:
mov rax, rsp
push rsi
sub rsp, 0x360
xor esi, esi
xor edx, edx
xor ecx, ecx
mov dword [rax + 0x10], esi
mov dword [rax + 8], esi
lea r9d, [rsi + 2]
lea r8d, [rsi + 8]
call sub.bcrypt.dll_BCryptGenRandom
lea rdx, [rsp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x1400011d5
mov eax, esi
nop
movzx ecx, byte [rsp + rax + 0x40]
mov byte [rsp + rax + 0x150], cl
lea rax, [rax + 1]
test cl, cl
jne 0x140001040
lea rdx, [rsp + 0x150]
dec rdx
nop
cmp byte [rdx + 1], sil
lea rdx, [rdx + 1]
jne 0x140001060
movsd xmm0, qword [str.results.tmp]
mov ecx, 0x104
mov eax, dword [0x1400050d8]
movsd qword [rdx], xmm0
mov dword [rdx + 8], eax
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x1400011d5
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x150]
mov dword [rsp + 0x28], 0x100
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
mov qword [rsp + 0x380], rbx
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400011cd
mov qword [rsp + 0x388], rdi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor r8d, r8d
mov rcx, rax
lea edx, [r8 + 8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r9d, 2
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
mov rdi, rax
call sub.bcrypt.dll_BCryptGenRandom
lea r9, [rsp + 0x370]
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400011c5
cmp dword [rsp + 0x370], esi
jne 0x1400011c5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x150]
mov dword [rsp + 0x28], 0x4000100
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400011c5
lea r9, [rsp + 0x378]
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400011c5
cmp dword [rsp + 0x378], esi
jne 0x1400011c5
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x388]
mov rbx, qword [rsp + 0x380]
add rsp, 0x360
pop rsi
ret
Function at 0x140001220
Capabilities:
Encode data using xor
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xf0
mov edi, edx
mov r8, rcx
test rcx, rcx
je 0x140001371
test edx, edx
je 0x140001371
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001371
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x140001371
movups xmm0, xmmword [rax + 0x18]
lea rcx, [rsp]
xor r9d, r9d
movups xmm1, xmmword [rax + 0x28]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x38]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x48]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x68]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x78]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax + 0x88]
sub rax, 0xffffffffffffff68
movups xmmword [rcx - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rcx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm1
mov eax, dword [rsp + 0x70]
add rax, r8
mov r10d, dword [rax + 0x20]
mov ebp, dword [rax + 0x1c]
add r10, r8
mov r11d, dword [rax + 0x24]
add rbp, r8
mov esi, dword [rax + 0x14]
add r11, r8
test esi, esi
je 0x140001371
nop dword [rax]
movzx eax, word [r11]
mov edx, dword [r10]
add rdx, r8
mov ebx, dword [rbp + rax*4]
mov eax, 0x47362036
add rbx, r8
movzx ecx, byte [rdx]
test cl, cl
je 0x14000135d
nop dword [rax]
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, eax
shr ecx, 0xf
xor eax, ecx
movzx ecx, byte [rdx]
test cl, cl
jne 0x140001340
cmp edi, eax
je 0x14000138c
inc r9d
add r11, 2
add r10, 4
cmp r9d, esi
jb 0x140001320
xor eax, eax
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rax, rbx
jmp 0x140001373
Function at 0x1400013a0
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x110
mov edi, ecx
test ecx, ecx
je 0x14000148d
mov rax, qword gs:[0x60]
mov rdx, qword [rax + 0x18]
mov r10, qword [rdx + 0x20]
test r10, r10
je 0x14000148d
mov esi, 0x104
nop dword [rax + rax]
movzx eax, word [r10 + 0x48]
test ax, ax
je 0x14000148d
cmp ax, si
jae 0x14000148d
mov r11, qword [r10 + 0x50]
xor r9d, r9d
cmp word [r11], r9w
je 0x14000143c
xor ebx, ebx
xor eax, eax
nop dword [rax + rax]
movzx r8d, byte [rax + r11]
lea eax, [r8 - 0x20]
movzx ecx, al
lea edx, [r8 - 0x61]
cmp dl, 0x19
cmova ecx, r8d
inc r9d
mov byte [rsp + rbx], cl
mov ebx, r9d
lea rax, [r9 + r9]
cmp word [rax + r11], 0
jne 0x140001410
mov byte [rsp + r9], 0
lea rdx, [rsp]
movzx ecx, byte [rsp]
mov eax, 0x47362036
test cl, cl
je 0x14000147d
nop dword [rax]
nop word [rax + rax]
movsx ecx, cl
lea rdx, [rdx + 1]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, eax
shr ecx, 0xf
xor eax, ecx
movzx ecx, byte [rdx]
test cl, cl
jne 0x140001460
cmp eax, edi
je 0x1400014a4
mov r10, qword [r10]
test r10, r10
jne 0x1400013e0
xor eax, eax
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
mov rax, qword [r10 + 0x20]
jmp 0x14000148f
Function at 0x140002600
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov r8, qword [rcx]
mov r14, rcx
movabs rcx, 0xffffffff00000000
movzx eax, word [r8 + 0x14]
mov r12, qword [r8 + 0x30]
mov r9d, dword [r14 + 0x68]
and r12, rcx
dec r9
mov r11d, dword [rax + r8 + 0x20]
not r9
mov ecx, dword [rax + r8 + 0x28]
or r11, r12
and r9, r11
mov qword [rsp + 0x20], r11
mov qword [rsp + 0x28], r9
test ecx, ecx
jne 0x140002668
mov edx, dword [rax + r8 + 0x3c]
test dl, 0x40
je 0x140002660
mov ecx, dword [r8 + 0x20]
jmp 0x140002668
test dl, dl
jns 0x140002668
mov ecx, dword [r8 + 0x24]
mov edx, dword [rax + r8 + 0x3c]
mov r13d, 1
mov r15d, r13d
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbp
mov r10d, ecx
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x30], r10
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], 0
cmp r13w, word [r8 + 6]
jae 0x140002769
lea rdi, [r8 + 0x64]
add rdi, rax
nop word [rax + rax]
mov esi, dword [rdi - 0x1c]
mov ebx, dword [r14 + 0x68]
or rsi, r12
mov eax, dword [rdi - 0x14]
neg rbx
and rbx, rsi
test eax, eax
jne 0x1400026ec
mov ecx, dword [rdi]
test cl, 0x40
je 0x1400026e4
mov eax, dword [r8 + 0x20]
jmp 0x1400026ec
test cl, cl
jns 0x1400026ec
mov eax, dword [r8 + 0x24]
mov ebp, eax
cmp r9, rbx
je 0x140002730
lea rax, [r10 + r11]
cmp rax, rbx
ja 0x140002730
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140002540
test eax, eax
je 0x14000280c
mov edx, dword [rdi]
mov r11, rsi
mov r8, qword [r14]
mov r9, rbx
mov qword [rsp + 0x20], rsi
mov r10d, ebp
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rbp
jmp 0x140002750
mov ecx, dword [rdi]
mov eax, ecx
and eax, edx
or edx, ecx
bt eax, 0x19
jb 0x140002742
btr edx, 0x19
mov r10, rbp
sub r10, r11
add r10, rsi
mov qword [rsp + 0x30], r10
movzx eax, word [r8 + 6]
inc r15d
add rdi, 0x28
mov dword [rsp + 0x38], edx
cmp r15d, eax
jl 0x1400026c0
test r10, r10
je 0x14000278d
bt edx, 0x19
jae 0x1400027b7
cmp r11, r9
jne 0x14000278d
mov r9, qword [r14 + 0x58]
mov r8d, 0x4000
mov rdx, r10
mov rcx, r11
call qword [r14 + 0x30]
mov eax, r13d
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
ret
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x70]
mov rax, rcx
shr rcx, 0x1e
shr rax, 0x1d
and ecx, r13d
and eax, r13d
lea rcx, [rcx + rax*2]
mov eax, edx
shr rax, 0x1f
lea rcx, [rax + rcx*2]
lea rax, section..data
mov eax, dword [rax + rcx*4]
mov r8d, eax
bts r8d, 9
mov rcx, r11
and edx, 0x4000000
mov rdx, r10
cmove r8d, eax
call qword [0x1400076c0]
test eax, eax
jne 0x14000278d
xor eax, eax
jmp 0x140002790
Function at 0x1400035a0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbp, rax
test rax, rax
jne 0x1400035e3
lea ecx, [rax + 1]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
int3
test rsi, rsi
je 0x1400036c3
test rbx, rbx
je 0x140003651
cmp rbp, rsi
jae 0x140003623
test rbx, rbx
je 0x140003651
mov r8, rsi
mov rcx, rbp
sub r8, rbp
mov rdx, rbx
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140003610
jmp 0x140003651
jbe 0x140003651
lea rcx, [rbx - 1]
mov r8, rsi
add rcx, rbp
mov rdx, rbx
sub r8, rbp
nop word [rax + rax]
movzx eax, byte [rcx + r8]
mov byte [rcx], al
lea rcx, [rcx - 1]
sub rdx, 1
jne 0x140003640
test rdi, rdi
je 0x140003720
test rbx, rbx
je 0x140003720
cmp rsi, rdi
jae 0x140003692
test rbx, rbx
je 0x1400036cd
mov rdx, rdi
mov rcx, rbx
sub rdx, rsi
nop word [rax + rax]
movzx eax, byte [rdx + rsi]
mov byte [rsi], al
lea rsi, [rsi + 1]
sub rcx, 1
jne 0x140003680
jmp 0x1400036cd
jbe 0x1400036cd
lea rcx, [rbx - 1]
mov r8, rdi
add rcx, rsi
mov rdx, rbx
sub r8, rsi
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + r8]
mov byte [rcx], al
lea rcx, [rcx - 1]
sub rdx, 1
jne 0x1400036b0
jmp 0x1400036cd
test rdi, rdi
je 0x140003720
test rbx, rbx
je 0x140003720
cmp rdi, rbp
jae 0x1400036f2
test rbx, rbx
je 0x140003720
mov rcx, rbp
sub rcx, rdi
nop dword [rax]
movzx eax, byte [rcx + rdi]
mov byte [rdi], al
lea rdi, [rdi + 1]
sub rbx, 1
jne 0x1400036e0
jmp 0x140003720
jbe 0x140003720
test rbx, rbx
je 0x140003720
lea rcx, [rbx - 1]
mov rdx, rbp
add rcx, rdi
sub rdx, rdi
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
mov byte [rcx], al
lea rcx, [rcx - 1]
sub rbx, 1
jne 0x140003710
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbp
xor edx, edx
mov rcx, rax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_HeapFree]