joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4606e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x46079b
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x004607e0]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.004688c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00468a00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.004606e0
Function at 0x46ab80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00c98120]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x00c97be9], 0
je 0x46abb6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00c98480]
aesenc xmm0, xmmword [0x00c98490]
aesenc xmm0, xmmword [0x00c984a0]
movq rax, xmm0
ret
jmp 0x40a600

Function at 0x46c560
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x00c98400]
mov qword [rsp + 8], rdx
lea r8d, [0x00c97c0c]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.0046aa60
add rsp, 0x30
ret
Function at 0x140001a01
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov r12, rcx
test edx, edx
je 0x140001b75
mov r13d, edx
mov edi, 0
lea r14, [0x140001530]
lea rbx, [0x1405b7241]
jmp 0x140001a67
mov byte [0x1405b7241], 0
mov edx, esi
sar edx, 0x1f
shr edx, 0x1b
lea eax, [rsi + rdx]
and eax, 0x1f
sub eax, edx
cdqe
lea rdx, [0x1405b7220]
xor bpl, byte [rdx + rax]
mov byte [r12 + rdi], bpl
add rdi, 1
cmp r13, rdi
je 0x140001b75
mov esi, edi
movzx ebp, byte [r12 + rdi]
mov byte [rsp + 0x20], 0x8a
mov byte [rsp + 0x21], 0x81
mov byte [rsp + 0x22], 0x85
mov byte [rsp + 0x23], 0x83
mov byte [rsp + 0x24], 0x8d
mov byte [rsp + 0x25], pe_nt_image_headers64
mov byte [rsp + 0x26], 0x77
mov byte [rsp + 0x27], 0x83
mov byte [rsp + 0x28], 0x7b
mov byte [rsp + 0x29], 0x8b
mov byte [rsp + 0x2a], 0x75
mov byte [rsp + 0x2b], 0x7a
mov byte [rsp + 0x2c], 0x83
mov byte [rsp + 0x2d], 0x8d
mov byte [rsp + 0x2e], 0x8c
mov byte [rsp + 0x2f], 0x77
mov byte [rsp + 0x30], 0x88
mov byte [rsp + 0x31], 0x86
mov byte [rsp + 0x32], 0x75
mov byte [rsp + 0x33], 0x89
mov byte [rsp + 0x34], pe_nt_image_headers64
mov byte [rsp + 0x35], 0x7f
mov byte [rsp + 0x36], 0x7b
mov byte [rsp + 0x37], 0x81
mov byte [rsp + 0x38], 0x7d
mov byte [rsp + 0x39], 0x7a
mov byte [rsp + 0x3a], 0x7f
mov byte [rsp + 0x3b], pe_nt_image_headers64
mov byte [rsp + 0x3c], 0x7c
mov byte [rsp + 0x3d], 0x85
mov byte [rsp + 0x3e], 0x81
mov byte [rsp + 0x3f], 0x7f
mov byte [rsp + 0x40], 0x13
cmp byte [0x1405b7200], 0
jne 0x140001b50
mov byte [0x1405b7241], 1
mov eax, 0
lea rcx, [0x1405b7220]
movzx edx, byte [rsp + rax + 0x20]
mov byte [rcx + rax], dl
add rax, 1
cmp rax, 0x21
jne 0x140001b2f
mov byte [0x1405b7200], 1
mov rcx, r14
call fcn.1400014f0
cmp byte [0x1405b7241], 0
je 0x140001a39
lea rax, [0x1405b7220]
sub byte [rax], 0x13
add rax, 1
cmp rbx, rax
jne 0x140001b64
jmp 0x140001a32
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x140006a80
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x140006ab0
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x140006aaf
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140006ab5
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x140006aaf
mov eax, 0
jmp 0x140006aaf

Function at 0x140007130
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.1400070e0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140010740
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140019280
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140019280
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x1400107b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1405b75f4]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x140010940
mov rax, qword [0x1405b75f8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x1400107fc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x140010885
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x1400107e0
mov rcx, rdi
call fcn.140011310
test rax, rax
mov r12, rax
je 0x140010992
mov rax, qword [0x1405b75f8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.140011450
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1405b75f8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140010975
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14001087e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400108f0
add dword [0x1405b75f4], 1
cmp ebx, 8
jae 0x1400108b1
test bl, 4
jne 0x140010950
test ebx, ebx
je 0x1400108a6
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x140010964
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x1400108a6
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x1400108ca
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x1405b75f8]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001087e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140010740
xor esi, esi
jmp 0x140010807
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x1400108a6
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x1400108a6
mov rax, qword [0x1405b75f8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.140010740
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.140010740
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x140010f60
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1405b7660]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1405b7640]
test rbx, rbx
je 0x140010fb4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140010fab
test rsi, rsi
je 0x140010fab
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140010f90
lea rcx, [0x1405b7660]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140011310
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1405b21f0]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x14001137f
mov rcx, r9
call fcn.1400111e0
test eax, eax
je 0x14001137f
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x14001137d
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x140011374
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14001137f
add rdx, 0x28
cmp rdx, r9
jne 0x140011360
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x14001b680
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1405aecc0]
jmp 0x140012140

Function at 0x14001b690
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1405aecc0]
jmp 0x140012140
Function at 0x180002670
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov edi, dword [rsp + 0x70]
lea r14d, [rcx - 0x912]
mov r15d, edi
mov esi, edi
xor r15d, 0x129f
mov ebp, edx
xor esi, 0x182c
xor edi, 0x1424
xor ebp, 0x1816
mov rbx, r9
lea r9d, [r8 + 0x3d3]
lea eax, [r15 + 0x62d]
lea r8d, [rcx + 0x65c]
cmp ebp, eax
je 0x18000272d
cmp dword [0x180026060], 0x13714
je 0x1800026f3
mov rcx, qword [section..data]
mov eax, 0xffffca97
sub eax, dword [rbx + 0xdc]
sub eax, dword [rbx + 0x50]
add dword [rcx + 0x28], eax
mov edx, dword [0x1800260b8]
add edx, dword [0x1800260ec]
mov eax, dword [rbx + 0xe8]
xor edx, 0x31f57
imul eax, edx
cmp dword [rbx + 0x14], 0xa825
mov dword [rbx + 0xe8], eax
ja 0x18000272d
mov rax, qword [section..data]
mov ecx, dword [rax + 0xe8]
mov dword [rbx + 0x7c], ecx
mov eax, r15d
xor eax, 0x182f
cmp r8d, eax
jge 0x1800027f6
lea eax, [rbp + 0x65c]
cmp r14d, eax
je 0x180002774
mov rax, qword [section..data]
mov ecx, dword [rax + 4]
sub dword [rbx + 0x7c], ecx
mov rax, qword [section..data]
mov ecx, dword [rbx + 0x94]
cmp dword [rax + 0x48], ecx
je 0x180002774
mov eax, dword [rbx + 0xe8]
mov dword [rbx + 0xe4], eax
lea eax, [rsi + 0x129c]
mov qword [rsp + 0x28], rbx
lea r9d, [r14 + 0x129c]
mov dword [rsp + 0x20], eax
add r8d, 0xfffff52e
lea edx, [rbp + 0xb1c]
lea ecx, [rdi + 0x2e]
call fcn.18000e530
mov r8d, dword [0x180026120]
xor ecx, ecx
sub r8d, dword [0x180026118]
mov esi, eax
mov edx, dword [0x180026040]
add r8d, 0x34b786
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
add rax, 0x2000
mov qword [rbx + 0xc8], rax
mov rbx, qword [rsp + 0x50]
xor esi, 0x6bb
mov rbp, qword [rsp + 0x58]
mov eax, esi
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
mov rdx, qword [section..data]
mov eax, dword [rdx + 0x104]
and eax, dword [rdx + 0x2c]
cmp dword [rdx + 0x48], eax
ja 0x18000287c
mov eax, dword [0x1800260ac]
xor eax, r14d
and eax, r9d
cmp esi, eax
ja 0x1800027d5
mov ecx, dword [rdx + 0x9c]
sub ecx, dword [rdx + 0xa4]
call qword [sym.imp.KERNEL32.dll_HeapLock]
mov rax, qword [section..data]
mov r8d, dword [rbx + 0x108]
mov r10d, dword [rbx + 0x60]
or r10, 0x165c
imul r9d, esi, 0xc08
mov edx, dword [rax + 0xa4]
lea eax, [rdi + r15]
imul edx, dword [0x18002603c]
movsxd rcx, eax
imul r8d, r14d
or rcx, 0x1a0b
mov qword [rsp + 0x20], r10
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
jmp 0x1800027d5
mov ecx, dword [0x180026038]
mov ebx, dword [rbx]
add ecx, edi
cmp ebx, ecx
jb 0x1800027d5
nop
mov ecx, dword [rdx + 0x9c]
imul ecx, edi
mov eax, ebp
xor rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateActCtxA]
mov ecx, dword [0x180026038]
add ebx, 4
add ecx, edi
cmp ebx, ecx
jb 0x1800027d5
mov rdx, qword [section..data]
jmp 0x180002890
Function at 0x1800028c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push r14
sub rsp, 0x28
mov qword [rsp + 0x40], rbp
lea eax, [r9 + 0x510]
mov qword [rsp + 0x48], rsi
lea r14d, [rcx - 0xaa]
mov qword [rsp + 0x20], r15
lea ebp, [r9 - 0x8d7]
mov r15d, dword [rsp + 0x60]
mov esi, r9d
add r15d, 0xffffeefc
xor esi, 0x150d
xor edx, 0xb8b
mov rbx, r8
cmp edx, eax
je 0x180002986
mov eax, esi
xor eax, 0xb5d
cmp ebp, eax
jne 0x180002986
mov qword [rsp + 0x50], rdi
mov edi, dword [r8 + 0x78]
mov qword [rsp + 0x58], r12
lea r12d, [rsi + 0xab3]
cmp edi, r12d
je 0x18000297c
nop dword [rax]
nop word [rax + rax]
mov rax, qword [section..data]
mov ecx, dword [rax + 0x14]
imul ecx, r14d
cmp dword [rbx + 0x70], ecx
jbe 0x180002974
mov ecx, dword [rbx]
sub ecx, dword [0x180026074]
sub ecx, 0x644
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [r15 - 0x5f0]
mov dword [0x180026038], eax
add edi, 4
cmp edi, r12d
jne 0x180002940
mov rdi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rax, qword [section..data]
cmp dword [rax + 0x28], 0x6f26
jb 0x1800029a6
mov eax, dword [0x180026058]
xor eax, 0x4f787a29
add dword [rbx + 0x68], eax
jmp 0x1800029af
mov eax, dword [rbx + 0x60]
sub dword [0x180026070], eax
xor esi, 0x105a
xor ebp, 0xa72
add esi, 0x4b3
lea eax, [rsi - 0xec9]
cmp r15d, eax
jge 0x180002a00
lea eax, [rbp + 0x13d9]
xor eax, 0x1e81
cmp esi, eax
jle 0x180002a00
xor ebp, 0x1349
cmp r15d, ebp
je 0x180002a00
cmp dword [rbx + 0x100], 0xfa72
jae 0x180002a00
lea rax, [0x180028bc0]
mov qword [rbx + 0xb8], rax
mov edx, dword [rbx + 0x28]
xor r9d, r9d
mov r15, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
nop word [rax + rax]
mov eax, dword [rbx + 0x94]
xor eax, dword [0x1800260ec]
sub eax, 0x1fceec
xor dword [rbx + 0x100], eax
mov rax, qword [section..data]
mov rcx, qword [rax + 0xb8]
mov eax, edx
sub eax, dword [rbx]
sub eax, 0xbed56
mov r8d, dword [r9 + rcx]
add r9, 4
add dword [rbx + 0x48], eax
mov rax, qword [section..data]
imul r8d, dword [rax + 0x68]
mov eax, dword [rbx + 0x50]
sub eax, 0x56
or eax, edx
mov dword [rbx + 0x28], eax
mov rax, qword [section..data]
movsxd rdx, dword [0x18002607c]
mov rcx, qword [rax + 0xc0]
mov byte [rdx + rcx], r8b
inc dword [0x18002607c]
mov eax, dword [rbx + 0xe0]
imul eax, dword [rbx + 0x14]
mov ecx, dword [rbx + 0x34]
xor ecx, dword [rbx + 0x88]
mov dword [rbx + 0xe0], eax
mov eax, 0xfff04d03
mov rdx, qword [section..data]
sub eax, ecx
add dword [rdx + 0x28], eax
mov ecx, dword [rbx + 0x88]
add ecx, dword [rbx + 0xdc]
mov eax, dword [rbx + 0x28]
xor ecx, 0x180013
imul eax, ecx
mov dword [rbx + 0x28], eax
mov eax, dword [rbx + 0x2c]
xor eax, dword [rbx + 0x60]
sub eax, 0x183290f
add dword [rbx + 0xe0], eax
mov rcx, qword [section..data]
mov eax, dword [0x180026084]
or dword [rcx + 0x94], eax
mov ecx, dword [rbx + 0x108]
mov edx, dword [rbx + 0x28]
add ecx, edx
xor ecx, dword [rbx + 0x98]
xor ecx, 0x407517
mov dword [rbx + 0x98], ecx
cmp r9, 0x1c2c0
jl 0x180002a20
mov ecx, dword [0x1800260f0]
add ecx, 0xfff9d507
xor r14d, 0x2c6
mov dword [0x180026078], ecx
mov eax, r14d
add rsp, 0x28
pop r14
pop rbx
ret
Function at 0x18000d740
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov eax, r8d
lea edi, [rcx - 0x1a0b]
mov r14d, r8d
lea esi, [r9 - 0x129c]
xor eax, 0xf43
lea r12d, [r8 - 0x5f0]
xor r14d, 0x5f0
lea r13d, [r8 + 0x106c]
mov rbx, rdx
cmp edi, r8d
je 0x18000d7f6
mov rax, qword [rdx + 0xc8]
mov qword [rdx + 0xc0], rax
mov rcx, qword [section..data]
mov eax, dword [rcx + 0x48]
cmp dword [0x1800260ec], eax
ja 0x18000d7b6
mov eax, dword [rcx + 0x88]
xor eax, 0x132f0c
mov dword [rdx + 0x68], eax
jmp 0x18000d7ca
mov eax, dword [rdx + 0x108]
sub eax, dword [rdx + 0x94]
add eax, 0x33f5
mov dword [rdx + 0x50], eax
mov rcx, qword [section..data]
mov eax, dword [rcx + 0xe0]
cmp dword [rcx + 0x98], eax
je 0x18000d8c0
mov eax, dword [rcx + 0x9c]
add eax, 0x17b4a
xor dword [rdx + 0x68], eax
jmp 0x18000d8c0
mov edx, dword [rdx + 0x2c]
lea ecx, [rax - 0xc08]
cmp edx, ecx
je 0x18000d8c0
mov qword [rsp + 0x70], rbp
lea r9d, [rsi + 0x165c]
movsxd rax, esi
mov qword [rsp + 0x78], r15
movsxd rbp, r12d
or rbp, rax
lea eax, [r14 + rsi]
movsxd r15, eax
movsxd rax, r13d
or r15, rax
sub ecx, edx
mov eax, ecx
mov qword [rsp + 0x30], rax
nop word [rax + rax]
mov rax, qword [section..data]
mov edx, dword [rbx + 0x90]
mov r8d, dword [0x180026074]
add r8d, esi
mov qword [rsp + 0x28], rbp
mov ecx, dword [rax + 0x60]
xor r8d, esi
or ecx, r14d
mov eax, edi
or ecx, esi
and rdx, rax
mov eax, r12d
mov dword [rsp + 0x20], ecx
and rdx, rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rax, qword [section..data]
mov edx, dword [0x180026080]
add edx, dword [0x180026060]
add edx, r13d
mov ecx, dword [rax + 0x104]
and ecx, 0xc36
call qword [sym.imp.KERNEL32.dll_ActivateActCtx]
sub qword [rsp + 0x30], 1
lea r9d, [rsi + 0x165c]
jne 0x18000d840
mov r15, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
lea eax, [rdi + 0x912]
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x18000e530
Capabilities:
Create thread

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, 0x40
mov eax, dword [rsp + 0x70]
lea r9d, [rdx - 0x8d1]
mov esi, eax
lea ebx, [r8 + 0x6c1]
mov ebp, ecx
lea edi, [rdx - 0x34e]
xor esi, 0x398
xor ebp, 0xc36
lea r14d, [rax - 0x7e9]
lea r11d, [rax + 0x271]
lea eax, [r14 + 0x1d4]
cmp r9d, eax
jg 0x18000e66b
mov rdx, qword [rsp + 0x78]
mov eax, dword [0x180026118]
cmp dword [rdx + 0x74], eax
jbe 0x18000e5bb
mov ecx, dword [rdx + 0xdc]
mov eax, 0x11dee
xor ecx, dword [rdx + 0x9c]
sub eax, ecx
add dword [rdx + 0x108], eax
jmp 0x18000e5cb
mov rcx, qword [section..data]
mov eax, dword [rdx + 0x18]
add dword [rcx + 0xe4], eax
lea eax, [rsi - 0xc68]
cmp edi, eax
je 0x18000e6e7
lea eax, [r9 + 0xc1e]
cmp edi, eax
jge 0x18000e617
cmp dword [rdx + 0xa8], 0x5c6c
jb 0x18000e604
mov eax, dword [rdx + 0x34]
xor eax, dword [rdx + 0x14]
xor eax, dword [rdx + 0x2c]
xor eax, dword [0x1800260a8]
mov dword [rdx + 0x2c], eax
jmp 0x18000e617
mov rax, qword [section..data]
mov ecx, dword [rax + 0x2c]
sub ecx, 0x9bf25
mov dword [rdx + 0x30], ecx
mov eax, 0xfffff902
lea r8d, [r11 - 0xf1d]
sub eax, dword [0x180026084]
lea ecx, [rbx + 0x9b0]
add dword [rdx + 0x30], eax
mov r10d, ebx
lea edx, [rdi - 0x86]
xor r10d, 0x1b07
mov dword [rsp + 0x30], edx
lea eax, [r11 + 0x31f]
mov rdx, qword [section..data]
add r9d, 0xeae
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], eax
call sym.zpodb664uz4.dll_PwAFLBz
jmp 0x18000e6e7
mov rbx, qword [rsp + 0x78]
and r9d, r11d
imul r9d, dword [0x180026038]
mov r11d, ebp
mov eax, dword [0x180026108]
xor r11d, esi
mov r8d, dword [rbx + 0x28]
mov edx, dword [rbx + 0x60]
sub esi, r8d
mov ecx, dword [rbx + 0xd0]
or r8, rax
mov r10d, r9d
add edx, 0x1a1d
mov eax, ebp
xor rdx, 0xe7b
mov qword [rsp + 0x28], r10
and rcx, rax
mov r9d, esi
xor r9, 0x142e
mov dword [rsp + 0x20], r11d
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [0x180026094]
sub edx, dword [rbx + 0x14]
mov ecx, dword [0x180026018]
and edx, dword [0x180026084]
add ecx, r14d
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rbx, qword [rsp + 0x50]
lea eax, [rdi - 0x4d8]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop r14
ret
Function at 0x140003ba0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x150
xor esi, esi
mov ebx, r8d
cmp r8d, dword [rsp + 0x190]
mov r15, r9
mov r14, rdx
mov r12d, ecx
setae sil
jb 0x140003be9
mov r8d, dword [rsp + 0x190]
jmp 0x140003c9f
mov r13d, 0x40
lea rcx, [rsp + 0x30]
mov r8d, r13d
lea edx, [r13 - 0xa]
call fcn.1400c5710
mov r8d, r13d
lea edx, [r13 + 0x1c]
lea rcx, [rsp + 0x70]
call fcn.1400c5710
test ebx, ebx
je 0x140003c3d
lea rax, [rsp + 0x30]
mov r8, rbx
sub r14, rax
xor edx, edx
lea rax, [rsp + 0x30]
add rax, rdx
mov cl, byte [r14 + rax]
xor byte [rsp + rdx + 0x70], cl
inc rdx
xor byte [rax], cl
sub r8, 1
jne 0x140003c22
lea r9, [rsp + 0xb0]
mov dword [rsp + 0x20], ebx
mov r8d, r13d
lea rdx, [rsp + 0x30]
mov ecx, r12d
call fcn.14000391c
test eax, eax
je 0x140003ca7
lea r9, [rsp + 0xb0]
mov dword [rsp + 0x20], ebx
add r9, rbx
lea rdx, [rsp + 0x70]
mov r8d, r13d
mov ecx, r12d
call fcn.14000391c
mov esi, eax
test eax, eax
je 0x140003ca7
lea ecx, [rbx + rbx]
cmp dword [rsp + 0x190], ecx
lea rdx, [rsp + 0xb0]
cmovb ecx, dword [rsp + 0x190]
mov r8d, ecx
mov rcx, r15
call fcn.1400c5b50
lea r11, [rsp + 0x150]
mov eax, esi
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
Function at 0x140005fdc
Capabilities:
Hash data via bcrypt

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push r12
push r14
push r15
sub rsp, 0x60
mov r15d, r9d
mov r12, r8
mov esi, edx
mov r14, rcx
xor ebx, ebx
mov dword [rax - 0x38], ebx
lea r9d, [rbx + 8]
lea r8, str.Microsoft_Primitive_Provider
lea rdx, str.SHA256
lea rcx, [rax - 0x28]
call qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
js 0x140006133
and dword [rsp + 0x28], ebx
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 4]
lea r8, [rsp + 0xa8]
lea rdx, str.ObjectLength
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.bcrypt.dll_BCryptGetProperty]
test eax, eax
js 0x140006116
mov edx, dword [rsp + 0xa8]
lea ecx, [rbx + 0x40]
call qword [0x1400eb9e8]
mov rdi, rax
test rax, rax
je 0x140006124
and dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r14
mov r9d, dword [rsp + 0xa8]
mov r8, rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.bcrypt.dll_BCryptCreateHash]
test eax, eax
js 0x1400060fd
xor r9d, r9d
mov r8d, r15d
mov rdx, r12
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.bcrypt.dll_BCryptHashData]
xor r9d, r9d
lea r8d, [rbx + 0x20]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.bcrypt.dll_BCryptFinishHash]
mov ebx, eax
mov edx, eax
not ebx
shr ebx, 0x1f
mov dword [rsp + 0x40], ebx
test ebx, ebx
jne 0x1400060f0
lea rcx, str.ERROR_kull_m_crypto_ngc_signature_derived___BCryptFinishHash:_0x_08x_n
call fcn.14000be84
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.bcrypt.dll_BCryptDestroyHash]
jmp 0x14000610b
mov edx, eax
lea rcx, str.ERROR_kull_m_crypto_ngc_signature_derived___BCryptCreateHash:_0x_08x_n
call fcn.14000be84
mov rcx, rdi
call qword [0x1400eb9b0]
jmp 0x140006124
mov edx, eax
lea rcx, str.ERROR_kull_m_crypto_ngc_signature_derived___BCryptGetProperty:_0x_08x_n
call fcn.14000be84
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
jmp 0x140006141
mov edx, eax
lea rcx, str.ERROR_kull_m_crypto_ngc_signature_derived___BCryptOpenAlgorithmProvider:_0x_08x_n
call fcn.14000be84
jmp 0x140006153
mov eax, ebx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret