joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800475b0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call sub.KERNEL32.dll_VirtualQuery
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1800475f7
xor al, al
jmp 0x180047699
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x180047621
xor al, al
jmp 0x180047699
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x180047691
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x180047691
mov al, 1
jmp 0x180047699
jmp 0x180047697
xor al, al
add rsp, 0x78
ret

Function at 0x1800479a0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x180096808]
mov qword [rsp + 0x28], rax
jmp 0x1800479c0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800479ef
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1800479ed
call sub.KERNEL32.dll_GetLastError
jmp 0x1800479f1
jmp 0x1800479b2
xor eax, eax
add rsp, 0x38
ret
Function at 0x1800480b0
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x180096820], eax
je 0x1800480cb
mov eax, 0x10dd
jmp 0x1800481f0
mov rax, qword [0x180096838]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180048175
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call sub.KERNEL32.dll_VirtualProtect
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x180048140
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x180048140
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.180046d00
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.18004c374
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x1800480d7
mov qword [0x180096838], 0
call fcn.180047760
mov rax, qword [0x180096830]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800481d9
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sub.KERNEL32.dll_ResumeThread
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.18004c374
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x180048191
mov qword [0x180096830], 0
mov dword [0x180096820], 0
xor eax, eax
add rsp, 0x68
ret
Function at 0x180048720
Capabilities:
Suspend thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp dword [0x180096824], 0
je 0x18004873d
mov eax, dword [0x180096824]
jmp 0x180048803
call sub.KERNEL32.dll_GetCurrentThread
cmp qword [rsp + 0x50], rax
jne 0x180048750
xor eax, eax
jmp 0x180048803
mov ecx, 0x10
call fcn.18004c8d4
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1800487be
mov dword [rsp + 0x20], 8
cmp qword [rsp + 0x28], 0
je 0x1800487a3
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x38]
call fcn.18004c374
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x20]
mov dword [0x180096824], eax
mov qword [0x180096828], 0
mov eax, dword [rsp + 0x20]
jmp 0x180048803
mov rcx, qword [rsp + 0x50]
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1800487d8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
jmp 0x180048779
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rcx, qword [0x180096830]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov qword [0x180096830], rax
xor eax, eax
add rsp, 0x48
ret

Function at 0x1800abc13
Capabilities:
Encode data using xor

Disassembly:
xor r13b, bpl
mov r13, qword [rsp + 0x18]
mov qword [rsp + 0x18], 0xffffffffff5b30b8
xor bpl, 0xaa
lea rbp, [rbp + rbp*8 + 0x691b1b25]
movzx bp, bpl
movsxd rbp, ebp
and ebp, 0x374b2ad0
or bpl, bpl
mov rbp, qword [rsp + 8]
jg 0x1800abc16
jns 0x1800b0971
push qword [rsp + 0x10]
popfq
lea rsp, [rsp + 0x18]
call fcn.1801a9bd1
Function at 0x140001548
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xe0
mov rsi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x74]
lea r8d, [rdx + 0x64]
call sub.msvcrt.dll_memset
xor edi, edi
mov dword [rsp + 0x70], 0x68
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x70]
mov rdx, rbx
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400015d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x14000162c
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x14000160f
test rsi, rsi
je 0x140001614
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x140001614
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x140001614
mov edi, 0x8000ffff
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140001648
Capabilities:
Check if file exists
Get file attributes
Get system information on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x288
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor r15d, r15d
mov r14, r9
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
cmp word [rcx], r15w
je 0x140001811
test rdx, rdx
je 0x140001811
cmp word [rdx], r15w
je 0x140001811
xor edx, edx
lea r8d, [r15 + 0x30]
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x30]
test eax, eax
je 0x1400016d2
cmp eax, 9
je 0x1400016c9
mov eax, 0x8000ffff
jmp 0x140001816
lea rdi, [0x140003408]
jmp 0x1400016d9
lea rdi, [0x140003410]
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x208
call sub.msvcrt.dll_memset
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r15w
jne 0x1400016ef
mov edx, 0x5c
mov qword [rsp + 0x28], rbx
cmp dx, word [rsi + rax*2 - 2]
lea rcx, str._s_s_s
lea r8, [0x140003418]
mov qword [rsp + 0x20], rdi
cmovne r8, rcx
mov r9, rsi
lea rcx, [rsp + 0x60]
mov edx, 0x104
call fcn.140001008
test eax, eax
js 0x140001816
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140001763
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x140001816
test al, 0x10
je 0x140001771
mov eax, 0x800700a1
jmp 0x140001816
mov ecx, 0x18
call fcn.140001d88
mov rbx, rax
test rax, rax
je 0x1400017a8
lea rax, [0x140003010]
mov qword [rbx + 0x10], r15
lea r8, [rbx + 8]
mov qword [rbx], rax
lea rdx, [rsp + 0x60]
mov dword [r8], r15d
call fcn.1400019e8
mov qword [rbx + 0x10], rax
jmp 0x1400017ab
mov rbx, r15
test rbp, rbp
je 0x1400017ee
lea rdx, [0x140003404]
mov rcx, rbx
call fcn.140001b64
test eax, eax
je 0x1400017d2
mov rdx, rbp
mov rcx, rbx
call fcn.140001b64
test eax, eax
jne 0x1400017ee
test rbx, rbx
je 0x1400017eb
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax]
call qword [0x140003350]
mov rbx, r15
test rbx, rbx
je 0x140001749
cmp qword [rbx + 0x10], r15
lea rcx, [0x14000350c]
mov rdx, r14
cmovne rcx, qword [rbx + 0x10]
call fcn.140001548
jmp 0x140001816
mov eax, 0x80070057
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400021a0
add rsp, 0x288
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14000183c
Capabilities:
Enumerate gui resources
Set current directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov r12, rcx
xor edi, edi
and dword [rbp - 0x10], edi
xor ecx, ecx
mov qword [rbp - 8], rdi
mov r15, r8
call fcn.140001300
test eax, eax
je 0x14000188d
and dword [rbp - 0xc], edi
lea rdx, [rbp - 0xc]
lea rcx, [0x140001380]
call qword [sym.imp.USER32.dll_EnumWindows]
mov eax, 0xb7
jmp 0x140001998
call fcn.14000116c
mov rbx, rax
test rax, rax
je 0x14000197e
call fcn.14000123c
mov rsi, rax
test rax, rax
je 0x14000197e
call fcn.140001088
cmp qword [rsi + 0x10], rdi
lea r14, [0x14000350c]
mov rdx, r14
mov rcx, r14
cmovne rdx, qword [rsi + 0x10]
cmp qword [rbx + 0x10], rdi
cmovne rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400018e6
lea r9, [rbp - 0x10]
mov r8, r15
call fcn.140001648
jmp 0x1400018eb
mov eax, 0x80070057
test eax, eax
jns 0x140001965
lea rcx, [rbp - 8]
call fcn.140001300
test eax, eax
je 0x140001917
and dword [rbp - 0xc], edi
lea rdx, [rbp - 0xc]
lea rcx, [0x140001380]
call qword [sym.imp.USER32.dll_EnumWindows]
mov eax, 0xb7
jmp 0x14000195e
lea rdx, str.Sources_
mov rcx, rbx
call fcn.140001b64
cmp qword [rbx + 0x10], rdi
mov rcx, r14
cmovne rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rdx, str.autorun.dll
mov rcx, rbx
call fcn.140001b64
cmp qword [rbx + 0x10], rdi
mov r8, r15
mov rcx, r12
cmovne r14, qword [rbx + 0x10]
mov rdx, r14
call fcn.1400013f8
mov rdi, qword [rbp - 8]
mov dword [rbp - 0x10], eax
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax]
call qword [0x140003350]
mov eax, dword [rbp - 0x10]
jmp 0x140001987
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x10], eax
test rdi, rdi
je 0x140001998
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp - 0x10]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140001f00
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x1400055e8], rbx
je 0x140001f67
cmp rax, rbx
jne 0x140001f5a
mov ebx, 1
mov esi, ebx
jmp 0x140001f6c
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001f3f
mov ebx, 1
mov eax, dword [0x1400055f0]
cmp eax, ebx
jne 0x140001f84
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x140001ff0
mov eax, dword [0x1400055f0]
test eax, eax
jne 0x140001fe5
mov dword [0x1400055f0], ebx
lea r15, [0x140003388]
lea rdi, [0x140003370]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140001fd7
test eax, eax
jne 0x140001fdb
cmp qword [rdi], r14
je 0x140001fcc
mov rax, qword [rdi]
mov rcx, qword [0x140003350]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x140001fae
test eax, eax
je 0x140001feb
mov eax, 0xff
jmp 0x140002146
mov dword [0x140005024], ebx
mov edi, 0x1f
mov eax, dword [0x1400055f0]
cmp eax, ebx
jne 0x140002017
lea rdx, [0x140003368]
lea rcx, [0x140003358]
call sub.msvcrt.dll__initterm
mov dword [0x1400055f0], 2
test esi, esi
jne 0x140002025
mov rax, r14
xchg qword [0x1400055e8], rax
cmp qword [0x1400055f8], r14
je 0x140002058
lea rcx, [0x1400055f8]
call fcn.140002360
test eax, eax
je 0x140002058
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400055f8]
mov r9, qword [0x140003350]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x140002071
mov eax, 0xff
jmp 0x140002146
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x1400020f7
test ax, ax
je 0x14000208c
test edx, edx
jne 0x1400020f7
sub ax, bx
cmp ax, di
ja 0x1400020a2
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000208c
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.14000183c
mov dword [0x140005020], eax
cmp dword [0x140005040], r14d
jne 0x1400020e0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140005024], r14d
jne 0x1400020f5
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140005020]
jmp 0x140002146
cmp ax, 0x22
jne 0x14000210b
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000207a
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14018c000
add rsp, 0x28
jmp 0x140001f00
Function at 0x14000224c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140002298
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140002290
cmp dword [rcx + 0x3c], edx
jl 0x140002290
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140002290
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140002298
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1409b93e7
Capabilities:
Execute anti-debugging instructions

Disassembly:
push r11
jmp 0x140a23a52
pushfq
push rdi
cmovg di, r14w
mov di, bx
push r12
setno dil
push rdx
movsx edx, r9w
cwd
not di
push r9
movsx rdi, r14w
push rbx
cmovl di, sp
movsxd rdi, edx
push r10
cdq
movsx rdx, dx
push rax
movsxd rax, r9d
push r15
movzx eax, ax
cbw
rdtsc
push rcx
inc r9d
jmp 0x140a5b03f
push r13
setne r9b
cwde
cbw
movabs rbx, 0
mov dil, r11b
movsx rdx, r8w
push rbx
mov r8, qword [rsp + 0x90]
dec r9d
inc rdx
cmovge edx, r11d
not r8d
xchg r9w, ax
dec r8d
cmp edx, 0x55e2779d
add dl, 0x31
cmp r13d, r14d
xor r8d, 0x168d3700
mov dl, 0x3a
ror dil, 0x9d
ror r8d, 2
mov r9w, bp
bswap r8d
inc r8d
shld di, si, 0xc9
btc edi, r9d
xor r8d, 0x3e2c45f9
rcl sil, 0xa0
bsr ax, dx
neg r8d
movzx eax, r15w
ror r9w, cl
ror r8d, 1
bsf esi, esi
sub r9b, r9b
xchg dl, dl
lea r8, [r8 + rbx]
test r8w, di
movabs rdx, 0x100000000
and esi, r10d
btc di, 0xe1
add r8, rdx
test dil, 0x9b
rcl rsi, cl
movsx esi, bp
mov r9, rsp
rcr di, 0x9f
rcr rsi, cl
sub rsp, 0x180
movsxd rax, r9d
and rsp, 0xfffffffffffffff0
mov rsi, r8
neg di
sar edx, 0x90
cmc
movabs rdx, 0
bsr ax, di
btc ax, 0xf2
sar di, 0xfb
sub rsi, rdx
sbb dil, 0x52
sal di, 0x96
lea rdi, [0x140a3ba15]
sbb eax, 0x25170cc9
sbb ax, r8w
movsx ax, sil
sub r8, 4
mov eax, dword [r8]
xor eax, esi
neg eax
jmp 0x140aad771
push r14
movzx rdi, bp
push rsi
xchg r9w, di
rdtsc
push r8
movsx rsi, r13w
movzx r8, bx
push rbp
movsx r8, r14w
lahf
jmp 0x140a3b91c
dec eax
cmc
stc
clc
not eax
ror eax, 2
not eax
cmp r11w, 0x3ccf
test r10d, 0x5b50325e
push rsi
xor si, cx
btr esi, 0xdd
xor dword [rsp], eax
mov rsi, 0x78d94b87
sbb rsi, 0x5a490b4c
pop rsi
movsxd rax, eax
cmc
stc
add rdi, rax
jmp rdi
Function at 0x1400c4210
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400c421d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400c422d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400c4215
lea eax, [rcx + 1]
jmp 0x1400c423b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400c424e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400c4234
sub eax, 3
jb 0x1400c426e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400c42bd
sar eax, 1
movsxd rbp, eax
jb 0x1400c42a4
jmp 0x1400c427c
add ebx, ebx
jne 0x1400c427a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400c42a4
inc ecx
add ebx, ebx
jne 0x1400c428a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400c42a4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400c429d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400c428c
add ecx, 2
jmp 0x1400c42a9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400c41d2
jmp 0x1400c421d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x89a00
mov dl, 7
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400c430d
cmp rsi, rcx
jae 0x1400c4315
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400c42f4
cmp al, 0x8f
ja 0x1400c42f4
cmp byte [rsi - 2], 0xf
je 0x1400c42fa
sub al, 0xe8
cmp al, 1
ja 0x1400c42de
cmp rsi, rcx
jae 0x1400c4315
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400c42e4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400c4315
lodsb al, byte [rsi]
jmp 0x1400c42f4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xc1000]
mov eax, dword [rdi]
or eax, eax
je 0x1400c4372
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xc4000]
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 0x1400c4322
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 0x1400c436c
mov qword [rbx], rax
add rbx, 8
jmp 0x1400c4342
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1400c43ac
cmp al, 0xef
ja 0x1400c439e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400c437e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400c438d
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.1400c442b], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.1400c442b
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400c441b
sub rsp, 0xffffffffffffff80
jmp 0x14000131a
Function at 0x140001650
Capabilities:
Create pipe

Disassembly:
push rsi
sub rsp, 0x60
mov rsi, rcx
test rcx, rcx
jne 0x140001666
xor eax, eax
add rsp, 0x60
pop rsi
ret
mov edx, 1
xor r9d, r9d
xor ecx, ecx
mov r8d, edx
mov qword [rsp + 0x78], rbp
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x1400016a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Failed_to_create_event:__d_n
mov edx, eax
call fcn.14000d898
mov rbp, qword [rsp + 0x78]
xor eax, eax
add rsp, 0x60
pop rsi
ret
mov ecx, 0x28
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x80], rdi
call fcn.14000da44
xor edi, edi
mov rbx, rax
test rax, rax
je 0x1400016e0
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
jmp 0x1400016e3
mov rbx, rdi
xor eax, eax
lea r8, [rsp + 0x48]
lea rcx, str.D:_A_OICI_GA___BG__D_OICI_GA___AN__A_OICI_GRGWGX___AU__A_OICI_GA___BA_S:_ML__NW___ME_
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x18], rbp
lea edx, [rax + 1]
xor r9d, r9d
mov dword [rsp + 0x40], 0x18
mov dword [rsp + 0x50], edi
call qword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
xor ecx, ecx
call fcn.14000a720
lea rcx, [rsp + 0x40]
mov r9d, 0xff
cmp eax, 8
mov edx, 0x40000003
cmovle rcx, rdi
xor r8d, r8d
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 0x1388
mov rcx, rsi
mov dword [rsp + 0x28], 0x200
mov dword [rsp + 0x20], 0x200
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140001784
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.CreateNamedPipe_failed_with__d._n
mov edx, eax
call fcn.14000d898
xor eax, eax
jmp 0x1400017ac
mov ecx, 0x448
call fcn.14000da44
test rax, rax
je 0x1400017a9
mov r8, rsi
mov rdx, rbp
mov rcx, rax
mov qword [rsp + 0x20], rbx
call fcn.1400017d0
mov rdi, rax
mov rax, rdi
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
add rsp, 0x60
pop rsi
ret

Function at 0x1400018c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
xor edx, edx
mov r8d, 0x200
add rcx, 0x2c
call fcn.14000fbf0
cmp dword [rbx + 8], 1
jne 0x14000190d
lea rax, [0x140002040]
test rax, rax
je 0x14000190d
mov r9, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x18]
lea rdx, [rbx + 0x2c]
mov r8d, 0x200
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret