joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18006cc50
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x320]
sub rsp, 0x420
mov rax, qword [0x1800b0010]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov rsi, rdx
mov rbx, rcx
xor r14d, r14d
lea rcx, [0x180096440]
jmp 0x1800d662c

Function at 0x18006d0e0
Capabilities:
Check for time delay via queryperformancecounter
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x1800b0010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
movzx r15d, dl
mov r14, rcx
xor r12d, r12d
lea rcx, [0x180096458]
jmp 0x1800d6d55

Function at 0x18006e690
Capabilities:
Check http status code
Parse pe header

Disassembly:
push rbp
push r13
lea rbp, [rsp - 0x88]
sub rsp, 0x188
mov rax, qword [0x1800b0010]
xor rax, rsp
mov qword [rbp + 0x60], rax
lea rcx, [0x180096578]
mov qword [rsp + 0x50], rdx
mov r13, rdx
jmp 0x1800d8376

Function at 0x180070ac0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x20
lea rcx, [0x1800965f4]
jmp 0x1800db95b
Function at 0x180071540
Capabilities:
Encode data using xor
Execute anti-debugging instructions

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1800b0010]
xor rax, rsp
mov qword [rsp + 0x10], rax
mov qword [rsp + 0x50], rbx
xor r9d, r9d
lea rbx, [rcx + 2]
mov qword [rsp + 0x28], rsi
mov esi, edx
mov qword [rsp + 0x20], rdi
mov r11, rcx
cmp byte [rcx], r9b
jne 0x180071610
mov qword [rsp + 0x30], rbp
mov byte [rbx], r9b
mov byte [rcx + 1], 1
rdtsc
shl rdx, 0x20
lea r8, [rcx + 5]
or rax, rdx
lea ebp, [r9 + 1]
mov qword [rsp], rax
mov r10d, r9d
mov eax, r9d
nop
movsxd rcx, eax
inc eax
movzx edx, byte [rsp + rcx]
mov byte [r8 - 1], dl
cmp eax, 8
jne 0x1800716b0
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp], rax
mov byte [r8], al
movsxd rax, ebp
movzx ecx, byte [rsp + rax]
lea eax, [rbp + 1]
mov byte [r8 + 1], cl
movsxd rcx, eax
inc eax
movzx edx, byte [rsp + rcx]
mov byte [r8 + 2], dl
cmp eax, 8
jne 0x1800715f6
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp], rax
mov eax, r9d
add r10d, 4
add r8, 4
cmp r10d, 4
jb 0x1800715a0
mov byte [r11], bpl
mov rbp, qword [rsp + 0x30]
mov byte [r11 + 8], r9b
mov eax, dword [r11 + 4]
mov rdi, qword [rsp + 0x20]
mov dword [rsp], eax
movzx eax, byte [r11 + 1]
mov dword [rsp + 8], esi
mov rsi, qword [rsp + 0x28]
test al, al
je 0x180071649
mov ecx, eax
mov eax, dword [rsp + r9]
lea r9, [r9 + 4]
not eax
xor dword [rsp + r9 + 4], eax
sub rcx, 1
jne 0x180071630
lea rbx, [r11 + 2]
movzx eax, byte [rbx]
mov ecx, 4
mov rbx, qword [rsp + 0x50]
sub rcx, rax
cmp rcx, 4
jae 0x180071673
nop
movzx eax, byte [rsp + rcx]
not al
xor byte [rsp + rcx + 8], al
inc rcx
cmp rcx, 4
jb 0x180071660
movzx eax, byte [r11 + 8]
inc al
movzx r8d, al
mov eax, 0xaaaaaaab
mul r8d
shr edx, 1
lea eax, [rdx + rdx*2]
sub r8d, eax
mov eax, dword [rsp + 8]
movsxd rcx, r8d
mov dword [r11 + rcx*4 + 0xc], eax
mov byte [r11 + 8], r8b
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.1800836a0
add rsp, 0x38
ret
movsxd rcx, eax
inc eax
movzx edx, byte [rsp + rcx]
mov byte [r8], dl
cmp eax, 8
jne 0x1800716e5
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp], rax
mov byte [r8 + 1], al
movsxd rax, ebp
movzx ecx, byte [rsp + rax]
lea eax, [rbp + 1]
mov byte [r8 + 2], cl
jmp 0x1800715f6
movsxd rcx, eax
inc eax
movzx edx, byte [rsp + rcx]
mov byte [r8 + 1], dl
cmp eax, 8
jne 0x1800715d4
rdtsc
shl rdx, 0x20
or rax, rdx
mov qword [rsp], rax
mov byte [r8 + 2], al
mov eax, ebp
jmp 0x1800715f6
Function at 0x180071c30
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1800b0010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, rdx
mov rbx, rcx
lea r9, [rsp + 0x28]
mov edx, 2
lea r8d, [rdx + 0x3e]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x20], rax
mov r10, qword [rbx]
cmp rax, 2
jae 0x180071c88
movzx ecx, byte [rax + rdi]
mov byte [r10 + rax], cl
inc rax
jmp 0x180071c6d
lea r9, [rsp + 0x28]
mov r8d, dword [rsp + 0x28]
mov edx, 2
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, 1
jmp 0x180071ca6
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1800836a0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1800756a0
Capabilities:
Authenticate hmac
Encode data using base64
Execute anti-debugging instructions
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x118]
sub rsp, 0x1f0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x1800b0010]
xor rax, rsp
mov qword [rbp + 0xb0], rax
lea rcx, [0x180096c90]
jmp 0x1800dcbaf

Function at 0x180077030
Capabilities:
Authenticate hmac
Check for software breakpoints
Encode data using base64
Execute anti-debugging instructions
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xd8]
sub rsp, 0x1b0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x1800b0010]
xor rax, rsp
mov qword [rbp + 0x78], rax
mov qword [rsp + 0x78], rcx
lea rcx, [0x180096cb0]
jmp 0x1800df733

Function at 0x180079050
Capabilities:
Authenticate hmac
Check http status code
Encode data using base64
Execute anti-debugging instructions

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1800b0010]
xor rax, rsp
mov qword [rbp + 0x20], rax
lea rcx, [0x180096cd0]
jmp 0x1800e2f57
Function at 0x18007d500
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x1800b0010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov edx, 1
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_IsBadReadPtr]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x18007d55a
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1800b1280]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18007d59d
nop dword [rax + rax]
cmp rsi, r14
jb 0x18007d595
cmp rsi, r15
jae 0x18007d595
cmp qword [rsi + 8], 0
jne 0x18007d767
mov rsi, qword [rsi]
test rsi, rsi
jne 0x18007d580
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x18007d632
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x18007d629
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18007d629
cmp dword [rsp + 0x40], 0x10000
je 0x18007d6ab
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x18007d629
sub rbx, rbp
cmp rbx, r14
jae 0x18007d5f0
test rsi, rsi
jne 0x18007d710
cmp rdi, r15
ja 0x18007d74f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x18007d74f
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18007d74f
cmp dword [rsp + 0x40], 0x10000
je 0x18007d6e1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x18007d662
jmp 0x18007d74f
test rbx, rbx
je 0x18007d629
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18007d710
cmp rbx, r14
jae 0x18007d5d0
jmp 0x18007d632
test rdi, rdi
je 0x18007d74f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x18007d710
cmp rdi, r15
jbe 0x18007d640
jmp 0x18007d74f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x18007d720
mov rax, qword [0x1800b1280]
mov qword [rsi], rax
mov qword [0x1800b1280], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800836a0
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x18007e160
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1800b0010]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18007e28b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x18007e282
nop dword [rax]
cmp dword [rsp + 0x20], 0x10
jb 0x18007e264
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18007e264
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x18007e264
mov rdx, qword [rbx]
test rdx, rdx
jne 0x18007e222
mov rcx, qword [0x1800b1128]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x18007e282
jmp 0x18007e257
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x18007e257
mov rcx, qword [0x1800b1128]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x18007e282
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x18007e1d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x18007e2e3
cmp dword [rbx + 0xc], esi
jbe 0x18007e2e3
nop word [rax + rax]
mov rax, qword [rbx]
xor edx, edx
mov ecx, esi
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18007e2dc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.18007dfb0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x18007e2a0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800836a0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18007e310
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1800b0010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x1800b1270]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18007e383
mov eax, 0xa
jmp 0x18007e412
test esi, esi
je 0x18007e3a5
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x18007e3c8
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x18007e3c8
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x18007e3c1
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x18007e3c8
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
movzx eax, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800836a0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x18007e440
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov eax, dword [0x1800b127c]
xor edi, edi
mov ebx, edi
test eax, eax
je 0x18007e560
mov rcx, qword [0x1800b1270]
add rcx, 0x20
test byte [rcx], 2
je 0x18007e483
inc ebx
add rcx, 0x38
cmp ebx, eax
jb 0x18007e467
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18007e560
mov edx, 0xffffffff
lea rcx, [rsp + 0x20]
mov r8d, 1
call fcn.18007e160
mov edx, dword [0x1800b127c]
cmp ebx, edx
jae 0x18007e4e2
nop dword [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x1800b1270]
test byte [rcx + rax + 0x20], 2
jne 0x18007e4dc
mov edx, 1
mov ecx, ebx
call fcn.18007e310
mov edi, eax
test eax, eax
jne 0x18007e4e2
mov edx, dword [0x1800b127c]
inc ebx
cmp ebx, edx
jb 0x18007e4b0
cmp qword [rsp + 0x20], 0
je 0x18007e560
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18007e54c
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
mov qword [rsp + 0x48], rsi
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18007e538
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x18007e510
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800b1128]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x18007e7e0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
push r14
push r15
sub rsp, 0x30
xor r15d, r15d
mov edi, 1
mov r14d, r15d
mov ebx, r15d
xor eax, eax
lock cmpxchg dword [0x1800b1120], edi
je 0x18007e829
cmp rbx, 0x20
jae 0x18007e812
xor ecx, ecx
jmp 0x18007e814
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800b1120], edi
jne 0x18007e808
cmp qword [0x1800b1128], r14
mov qword [rsp + 0x60], r13
je 0x18007e9cb
mov ecx, dword [0x1800b127c]
mov ebx, r15d
test ecx, ecx
je 0x18007e86f
mov rdx, qword [0x1800b1270]
movabs r8, 0x1403fe474
mov rax, rdx
nop dword [rax]
cmp qword [rax], r8
je 0x18007e87a
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18007e860
mov r14d, 4
jmp 0x18007e9d1
cmp ebx, 0xffffffff
je 0x18007e86f
mov eax, ebx
imul r13, rax, 0x38
test byte [rdx + r13 + 0x20], 2
je 0x18007e930
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18007e160
xor edx, edx
mov ecx, ebx
call fcn.18007e310
mov r14d, eax
cmp qword [rsp + 0x20], r15
je 0x18007e920
mov ecx, dword [rsp + 0x2c]
test ecx, ecx
je 0x18007e90c
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x50], rbp
mov ebp, ecx
mov qword [rsp + 0x58], rsi
nop dword [rax]
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18007e8f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rbp, 1
jne 0x18007e8d0
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800b1128]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14d, r14d
jne 0x18007e9d1
mov rdx, qword [0x1800b1270]
mov rcx, qword [rdx + r13 + 0x10]
call fcn.18007d790
mov edx, dword [0x1800b127c]
dec edx
cmp ebx, edx
jae 0x18007e97f
mov eax, edx
imul rcx, rax, 0x38
mov rax, qword [0x1800b1270]
movups xmm0, xmmword [rcx + rax]
movups xmmword [rax + r13], xmm0
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rax + r13 + 0x10], xmm1
movups xmm0, xmmword [rcx + rax + 0x20]
movups xmmword [rax + r13 + 0x20], xmm0
movsd xmm1, qword [rcx + rax + 0x30]
movsd qword [rax + r13 + 0x30], xmm1
mov ecx, dword [0x1800b1278]
mov eax, ecx
mov dword [0x1800b127c], edx
shr eax, 1
cmp eax, 0x20
jb 0x18007e9d1
cmp eax, edx
jb 0x18007e9d1
mov r8, qword [0x1800b1270]
mov eax, ecx
mov rcx, qword [0x1800b1128]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x18007e9d1
shr dword [0x1800b1278], 1
mov qword [0x1800b1270], rax
jmp 0x18007e9d1
mov r14d, 2
xchg dword [0x1800b1120], r15d
mov r13, qword [rsp + 0x60]
mov eax, r14d
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x18007e9f0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov rdi, rcx
mov ebx, r15d
xor eax, eax
mov esi, 1
lock cmpxchg dword [0x1800b1120], esi
je 0x18007ea45
cmp rbx, 0x20
jae 0x18007ea2e
xor ecx, ecx
jmp 0x18007ea30
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800b1120], esi
jne 0x18007ea24
cmp qword [0x1800b1128], r15
je 0x18007eb2f
test rdi, rdi
jne 0x18007ea63
call fcn.18007e440
mov ebp, eax
jmp 0x18007eb34
mov ecx, dword [0x1800b127c]
mov ebx, r15d
test ecx, ecx
je 0x18007ea8f
mov rdx, qword [0x1800b1270]
mov rax, rdx
nop word [rax + rax]
cmp rdi, qword [rax]
je 0x18007ea99
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18007ea80
mov ebp, 4
jmp 0x18007eb34
cmp ebx, 0xffffffff
je 0x18007ea8f
mov eax, ebx
imul r8, rax, 0x38
test byte [r8 + rdx + 0x20], 2
jne 0x18007eb28
mov r8d, esi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18007e160
mov edx, esi
mov ecx, ebx
call fcn.18007e310
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x18007eb34
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18007eb12
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop dword [rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18007eb08
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x18007eae0
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800b1128]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18007eb34
mov ebp, 5
jmp 0x18007eb34
mov ebp, 2
xchg dword [0x1800b1120], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x18007ef80
Capabilities:
Execute shellcode via indirect call
Get file size
Parse pe header
Read file on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
sub rsp, 0x168
mov rax, qword [0x1800b0010]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
lea rcx, [0x180096d38]
jmp 0x1800e7f83

Function at 0x18007f340
Capabilities:
Authenticate hmac
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1800b0010]
xor rax, rsp
mov qword [rbp + 0x198], rax
mov qword [rbp + 0x68], rcx
xor r15d, r15d
mov esi, r15d
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x20], r15d
lea rcx, [0x180096dd8]
jmp 0x1800e861a

Function at 0x180080de0
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x1800b0010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rdi, rcx
lea rcx, [0x180096e18]
jmp 0x1800eb6ec
Function at 0x140001be0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
sub rsi, rcx
mov r9d, 4
nop dword [rax]
mov r8d, 4
nop word [rax + rax]
movzx eax, byte [rsi + rcx + 0xa0]
xor byte [rcx], al
inc rcx
sub r8, 1
jne 0x140001c20
sub r9, 1
jne 0x140001c10
mov bpl, 9
lea rdi, [rsi + 0x90]
lea r14, [0x140036d00]
nop word [rax + rax]
movzx eax, byte [rbx + 9]
mov r8, rbx
movzx ecx, byte [rbx + 0xd]
mov r9d, 4
mov byte [rbx + 0xd], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 9], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 5], al
movzx eax, byte [rbx + 0xa]
mov byte [rbx + 1], cl
movzx ecx, byte [rbx + 2]
mov byte [rbx + 2], al
movzx eax, byte [rbx + 0xe]
mov byte [rbx + 0xa], cl
movzx ecx, byte [rbx + 6]
mov byte [rbx + 6], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0xe], cl
movzx ecx, byte [rbx + 3]
mov byte [rbx + 3], al
movzx eax, byte [rbx + 0xb]
mov byte [rbx + 7], al
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xb], al
mov byte [rbx + 0xf], cl
nop dword [rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + r14]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x140001cc0
inc r8
sub r9, 1
jne 0x140001cb0
mov rax, rbx
lea r8d, [rdx + 4]
nop word [rax + rax]
mov edx, 4
nop word [rax + rax]
movzx ecx, byte [rdi + rax]
xor byte [rax], cl
inc rax
sub rdx, 1
jne 0x140001d00
sub r8, 1
jne 0x140001cf0
mov rcx, rbx
call fcn.140001620
sub rdi, 0x10
add bpl, 0xff
jne 0x140001c50
movzx eax, byte [rbx + 9]
mov r8, rbx
movzx ecx, byte [rbx + 0xd]
mov r9d, 4
mov byte [rbx + 0xd], al
movzx eax, byte [rbx + 5]
mov byte [rbx + 9], al
movzx eax, byte [rbx + 1]
mov byte [rbx + 5], al
movzx eax, byte [rbx + 0xa]
mov byte [rbx + 1], cl
movzx ecx, byte [rbx + 2]
mov byte [rbx + 2], al
movzx eax, byte [rbx + 0xe]
mov byte [rbx + 0xa], cl
movzx ecx, byte [rbx + 6]
mov byte [rbx + 6], al
movzx eax, byte [rbx + 7]
mov byte [rbx + 0xe], cl
movzx ecx, byte [rbx + 3]
mov byte [rbx + 3], al
movzx eax, byte [rbx + 0xb]
mov byte [rbx + 7], al
movzx eax, byte [rbx + 0xf]
mov byte [rbx + 0xb], al
mov byte [rbx + 0xf], cl
nop dword [rax + rax]
mov rcx, r8
mov edx, 4
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 4]
movzx eax, byte [rax + r14]
mov byte [rcx - 4], al
sub rdx, 1
jne 0x140001da0
inc r8
sub r9, 1
jne 0x140001d90
lea edx, [r9 + 4]
mov ecx, 4
nop word [rax + rax]
movzx eax, byte [rbx + rsi]
xor byte [rbx], al
inc rbx
sub rcx, 1
jne 0x140001dd0
sub rdx, 1
jne 0x140001dc2
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret