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

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x18008d5f4
cmp r8d, 0xff
jne 0x18008d531
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x18008d51b
lea r8, [0x180000000]
mov r9, qword [r8 + r10*8 + 0xade30]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.18006e600
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.18006e600
cmp r8d, 0xfb
jne 0x18008d543
lea r9, str.WILL
jmp 0x18008d581
cmp r8d, 0xfc
jne 0x18008d555
lea r9, str.WONT
jmp 0x18008d581
cmp r8d, 0xfd
jne 0x18008d567
lea r9, [0x1800ae854]
jmp 0x18008d581
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x18008d5dd
cmp r10d, 0x27
jg 0x18008d5b4
lea r8, [0x180000000]
mov r8, qword [r8 + r10*8 + 0xae450]
test r8, r8
jne 0x18008d5c4
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.18006e600
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x18008d59b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.18006e600
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.18006e600
add rsp, 0x38
ret

Function at 0x18008d940
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x18008d99f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.18006e480
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.18008d4d0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x18008db50
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x18008dcf8
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x18008dbb5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x18008dbb5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x18008dbb5
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x18008dbec
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x18008dc42
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x18008dc42
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x18008dc42
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x18008dc42
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x18008dc42
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.18008d600
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x18008dca4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.18006e480
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.18008d9d0
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x18008dcf0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.18006e480
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x18008f460
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1800e6080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x18008f4f5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x18008f556
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.18006e480
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1800a1f30
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x18008f611
sub ecx, 1
je 0x18008f684
sub ecx, 1
je 0x18008f5c0
cmp ecx, 1
je 0x18008f5a3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1800b2cec]
call fcn.18006e480
jmp 0x18008f684
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.18008f190
test eax, eax
je 0x18008f684
jmp 0x18008f52a
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x18008f684
sub rax, rsi
cmp rax, rbp
jae 0x18008f684
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.18006e600
jmp 0x18008f684
cmp r8d, 4
jle 0x18008f684
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x18008f684
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.18006e3a0
mov esi, eax
test eax, eax
je 0x18008f663
mov edx, 5
mov rcx, rbx
call fcn.180090150
mov eax, esi
jmp 0x18008f52a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.180078a30
mov rcx, r14
call fcn.180078d10
test eax, eax
je 0x18008f528
mov edx, 5
mov rcx, rbx
call fcn.180090150
mov eax, Ordinal_45
jmp 0x18008f52a
Function at 0x1800a1de0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [0x1800e6020]
mov rdi, rax
test rax, rax
jne 0x1800a1e22
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1800a1e69
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1800a1ec2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1800a1e80
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1800a1f03
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1800b193a]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1800b193b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1800a1ed0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1400111fe
Capabilities:
Terminate process

Disassembly:
jmp 0x140013380
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001128f
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400146d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400146f0
xor al, al
jmp 0x140014771
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014703
xor al, al
jmp 0x140014771
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001472d
xor al, al
jmp 0x140014771
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014741
xor al, al
jmp 0x140014771
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014753
xor al, al
jmp 0x140014771
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001476f
xor al, al
jmp 0x140014771
mov al, 1
add rsp, 0x38
ret
Function at 0x140618058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406181df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140618089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14061806f
add dl, dl
jne 0x140618096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406180f6
xor eax, eax
add dl, dl
jne 0x1406180a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406181ad
add dl, dl
jne 0x1406180b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406180c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406180d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406180dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406180ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14061807e
mov eax, 1
add dl, dl
jne 0x140618106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140618113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406180fb
sub eax, ebx
mov ebx, 1
jne 0x14061814c
mov ecx, 1
add dl, dl
jne 0x14061812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14061813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140618123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14061807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140618168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140618175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14061815d
cmp eax, 0x7d00
jae 0x14061819b
cmp eax, 0x500
jb 0x140618196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14061807e
cmp eax, 0x7f
ja 0x14061819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14061807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406181d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14061807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000af40
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002dd78]
test rcx, rcx
je 0x14000af7b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000af6e
mov rcx, qword [0x14002dd78]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002dd78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002dd88], 0
je 0x14000b06e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x1400288e8]
mov qword [rsp + 0x80], rsi
lea rsi, [0x1400305b0]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b04f
test al, 0x10
je 0x14000b04f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000aff5
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x140004c90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0xc0
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x30], rax
jmp 0x140004cd3
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
add rax, 0x20
cmp qword [rsp + 0x30], rax
je 0x140004df8
mov rax, qword [rsp + 0x30]
sub rax, 0x10
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
add rax, 0x58
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x64
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0
jmp 0x140004d28
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cdq
sub eax, edx
sar eax, 1
sub eax, 4
cmp dword [rsp + 0x20], eax
je 0x140004d60
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 8]
movzx ecx, word [rcx + rax*2]
call fcn.140004280
movsxd rcx, dword [rsp + 0x20]
mov byte [rsp + rcx + 0x50], al
jmp 0x140004d1e
cmp dword [rsp + 0xd0], 0
je 0x140004d7d
lea rcx, [rsp + 0x50]
call fcn.140002cf0
cmp dword [rsp + 0xd0], eax
jne 0x140004df3
movzx eax, byte [rsp + 0xd8]
test eax, eax
je 0x140004de8
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 8]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x10]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x18]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x10]
mov qword [rax], rcx
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x30]
jmp 0x140004dfa
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x30]
jmp 0x140004dfa
jmp 0x140004cc6
xor eax, eax
add rsp, 0xc0
pop rdi
ret
Function at 0x140004e10
Capabilities:
Access peb ldr_data

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0xc0
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x28], rax
jmp 0x140004e59
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
add rax, 0x20
cmp qword [rsp + 0x28], rax
je 0x140004f35
mov rax, qword [rsp + 0x28]
sub rax, 0x10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
add rax, 0x58
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x64
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0
jmp 0x140004eae
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
cdq
sub eax, edx
sar eax, 1
sub eax, 4
cmp dword [rsp + 0x20], eax
je 0x140004ee6
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 8]
movzx ecx, word [rcx + rax*2]
call fcn.140004280
movsxd rcx, dword [rsp + 0x20]
mov byte [rsp + rcx + 0x50], al
jmp 0x140004ea4
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
cmp qword [rsp + 0xd8], rax
jne 0x140004efe
jmp 0x140004e4c
movzx r8d, byte [rsp + 0xe0]
mov edx, dword [rsp + 0xd0]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x30]
call fcn.140004f40
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x140004f30
mov rax, qword [rsp + 0x48]
jmp 0x140004f37
jmp 0x140004e4c
xor eax, eax
add rsp, 0xc0
pop rdi
ret
Function at 0x140001000
Capabilities:
Delete file

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [r11 - 0x5f]
sub rsp, 0xc0
xor esi, esi
mov qword [rbp + 0x27], rcx
mov qword [r11 - 0x68], rsi
lea r9, [rbp + 7]
mov dword [rsp + 0x68], 0x100
lea r8, [rbp + 0x17]
mov qword [r11 - 0x78], rsi
lea rcx, [rbp + 0x67]
mov dword [rsp + 0x58], esi
xor eax, eax
mov dword [rsp + 0x50], esi
xorps xmm0, xmm0
mov qword [rsp + 0x48], rsi
mov ebx, 0x110000
mov dword [rsp + 0x40], 0x60
mov edx, ebx
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rsi
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x67], rsi
mov qword [rbp + 0x17], 0x30
mov qword [rbp + 0x2f], 0x240
mov qword [rbp + 0x1f], rsi
movdqu xmmword [rbp + 0x37], xmm0
call qword [sym.imp.ntoskrnl.exe_IoCreateFileEx]
test eax, eax
js 0x14000112b
mov r8, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
lea rax, [rbp + 0x6f]
mov rcx, qword [rbp + 0x67]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov edx, ebx
mov qword [rsp + 0x28], rax
mov r8, qword [r8]
mov dword [rsp + 0x20], 0x656c6946
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandleWithTag]
xor edx, edx
mov edi, eax
test eax, eax
jns 0x1400010eb
mov rcx, qword [rbp + 0x67]
call qword [sym.imp.ntoskrnl.exe_ObCloseHandle]
jmp 0x140001129
mov rax, qword [rbp + 0x6f]
mov rcx, qword [rax + 0x28]
mov qword [rcx + 0x10], rsi
call qword [sym.imp.ntoskrnl.exe_MmFlushImageSection]
mov rcx, qword [rbp + 0x6f]
mov bl, al
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rbp + 0x67]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ObCloseHandle]
test bl, bl
je 0x140001129
lea rcx, [rbp + 0x17]
call qword [sym.imp.ntoskrnl.exe_ZwDeleteFile]
mov edi, eax
test eax, eax
jns 0x14000112b
mov eax, edi
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400015e4
Capabilities:
Attach user process memory
Check for software breakpoints
Check http status code
Find process by pid

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140007b50]
xor rax, rsp
mov qword [rbp - 8], rax
movups xmm0, xmmword [rdx]
mov ebx, ecx
lea rcx, [0x140004100]
movdqu xmmword [rbp - 0x48], xmm0
jmp loc.14001e332

Function at 0x1400019fc
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov ebx, ecx
lea rcx, [0x140004150]
jmp loc.140015737

Function at 0x140001aa0
Capabilities:
Find process by pid

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov ebx, ecx
mov rdi, r9
lea rcx, [0x140004140]
mov esi, r8d
mov rbp, rdx
jmp fcn.140021578

Function at 0x140001cec
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x88
mov rax, qword [0x140007b50]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r14, r9
mov esi, r8d
mov rdi, rdx
mov ebx, ecx
lea rcx, [0x140004180]
jmp loc.140026470
Function at 0x140001eb0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rdi, rcx
mov r14, r8
lea rcx, [0x1400040d0]
mov r15, rdx
jmp fcn.14000e22d
Function at 0x1400095fc
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov r15, r8
mov rbp, rdx
mov rsi, rcx
test rcx, rcx
je 0x1400096a7
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov rdi, rax
test rax, rax
je 0x1400096a7
movzx ecx, word [rax + 6]
lea r14, [rax + 0x108]
mov rbx, r14
lea rdx, [rcx + rcx*4]
lea rcx, [r14 + rdx*8]
cmp r14, rcx
jae 0x1400096a7
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntoskrnl.exe_RtlInitAnsiString]
mov r8b, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_RtlCompareString]
test eax, eax
je 0x140009699
movzx eax, word [rdi + 6]
add rbx, 0x28
lea rcx, [rax + rax*4]
lea rax, [r14 + rcx*8]
cmp rbx, rax
jb 0x14000964f
jmp 0x1400096a7
mov eax, dword [rbx + 0xc]
mov ecx, dword [rbx + 8]
mov dword [r15], ecx
add rax, rsi
jne 0x1400096a9
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret