joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c0cc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push r12
push r14
sub rsp, 0x10
movzx esi, dl
xor r9d, r9d
mov eax, esi
mov r14, r8
add rax, rax
mov r12, rcx
movsd xmm0, qword [rcx + rax*8 + 8]
ucomisd xmm0, qword [r8]
jp 0x1400c0cfe
jne 0x1400c0cfe
movsd xmm0, qword [rcx + rax*8 + 0x10]
ucomisd xmm0, qword [r8 + 8]
jp 0x1400c0cfe
je 0x1400c0eaa
mov qword [rsp + 0x30], rbx
mov rdx, r12
mov qword [rsp + 0x40], rdi
mov qword [rsp + 8], r13
mov qword [rsp], r15
mov qword [rsp + 0x38], rbp
nop dword [rax]
mov rax, qword [r14]
movzx r10d, sil
mov edi, r10d
xor rdi, 1
movzx r13d, byte [r10 + rdx + 0x3c]
lea rcx, [r10 + r10]
mov r15, qword [rdx + r10*8 + 0x28]
mov qword [rdx + rcx*8 + 8], rax
mov rax, qword [r14 + 8]
mov qword [rdx + rcx*8 + 0x10], rax
mov rcx, rdi
add rcx, rcx
mov rax, qword [rdx + rcx*8 + 8]
cmp rax, qword [r14]
jne 0x1400c0e82
mov rax, qword [rdx + rcx*8 + 0x10]
cmp rax, qword [r14 + 8]
jne 0x1400c0e82
mov r8, qword [rdx + rdi*8 + 0x28]
test r8, r8
je 0x1400c0e19
movzx ebp, byte [rdi + rdx + 0x3c]
mov r11, r8
mov ebx, ebp
mov rcx, qword [r8 + rbp*8 + 0x28]
movzx r9d, byte [rbp + r8 + 0x3c]
cmp rcx, rdx
je 0x1400c0dbb
nop word [rax + rax]
movzx eax, r9b
movzx ebx, r9b
mov r11, rcx
movzx r9d, byte [rax + rcx + 0x3c]
mov rcx, qword [rcx + rax*8 + 0x28]
cmp rcx, rdx
jne 0x1400c0da0
movzx ecx, bl
mov qword [r11 + rcx*8 + 0x28], r8
movzx eax, byte [rdi + rdx + 0x3c]
mov byte [rcx + r11 + 0x3c], al
mov rax, rbp
mov qword [rdx + rdi*8 + 0x28], 0
mov r9, qword [r8 + rbp*8 + 0x28]
test r9, r9
jne 0x1400c0de8
mov r9, r8
jmp 0x1400c0dee
movzx ebp, byte [rbp + r8 + 0x3c]
mov rcx, qword [rdx + r10*8 + 0x28]
test rcx, rcx
jne 0x1400c0dff
mov qword [r8 + rax*8 + 0x28], rdx
jmp 0x1400c0e0a
mov qword [r8 + rax*8 + 0x28], rcx
movzx esi, byte [r10 + rdx + 0x3c]
mov byte [rax + r8 + 0x3c], sil
mov qword [rdx + r10*8 + 0x28], r9
mov byte [r10 + rdx + 0x3c], bpl
mov rbx, qword [rdx + r10*8 + 0x28]
mov r9, rbx
test rbx, rbx
je 0x1400c0e78
movzx r11d, byte [r10 + rdx + 0x3c]
mov rcx, qword [rbx + r11*8 + 0x28]
movzx r8d, byte [r11 + rbx + 0x3c]
cmp rcx, rdx
je 0x1400c0e5b
nop dword [rax]
movzx eax, r8b
movzx r11d, r8b
mov r9, rcx
movzx r8d, byte [rax + rcx + 0x3c]
mov rcx, qword [rcx + rax*8 + 0x28]
cmp rcx, rdx
jne 0x1400c0e40
movzx ecx, r11b
mov qword [r9 + rcx*8 + 0x28], rbx
movzx eax, byte [r10 + rdx + 0x3c]
mov byte [rcx + r9 + 0x3c], al
mov qword [rdx + r10*8 + 0x28], 0
or byte [rdx + 0x3e], 1
mov r9d, 1
movzx esi, r13b
mov rdx, r15
cmp r15, r12
jne 0x1400c0d20
mov r15, qword [rsp]
mov r13, qword [rsp + 8]
mov rdi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov eax, r9d
add rsp, 0x10
pop r14
pop r12
pop rsi
ret
Function at 0x1400c2de0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, ecx
mov qword [rsp + 0x20], 0
lea rcx, [0x1401ac138]
xor r9d, r9d
call fcn.1400db240
xor r8d, r8d
xor edx, edx
mov ecx, ebx
add rsp, 0x30
pop rbx
jmp fcn.140099ce0
Function at 0x1400c4dc0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
movsxd rbx, r9d
mov rcx, r8
mov rdi, r8
mov rsi, rdx
call fcn.1400ccdd0
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
xor edx, edx
lea rcx, [0x1401bb2d0]
mov r8d, 0x950
call sub.VCRUNTIME140.dll_memset
lea r10, [0x1401bb93c]
dec r10
nop dword [rax]
cmp byte [r10 + 1], 0
lea r10, [r10 + 1]
jne 0x1400c4e10
lea rdx, str.qhull
xor ecx, ecx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx + rcx]
mov byte [r10 + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400c4e30
call fcn.1400eb4c0
movss xmm0, dword [0x140158ef0]
mov r10, qword [rsp + 0x50]
mov qword [0x1401bba88], rdi
lea rdi, [0x1401bb4cc]
movss dword [0x1401bb910], xmm0
mov dword [0x1401bb2d4], 1
mov dword [0x1401bb2e0], 1
mov dword [0x1401bb308], 0xffffffff
mov qword [0x1401bba78], rbp
mov qword [0x1401bba80], rsi
mov dword [0x1401bbb2c], 0xffffffff
mov dword [0x1401bb348], 0x7f7fffff
mov dword [0x1401bbbf0], 0x80000000
mov qword [0x1401bbb38], 0
mov dword [0x1401bb90c], 0
mov dword [0x1401bb350], 1
mov dword [0x1401bbbf4], 0x7fffffff
mov dword [0x1401bbb40], 0
mov dword [0x1401bb2dc], 0
mov dword [0x1401bb368], 0x7f7fffff
mov dword [0x1401bb364], 0x7f7fffff
mov qword [0x1401bb358], 0
mov dword [0x1401bb2f8], 0x7f7fffff
mov dword [0x1401bb3ac], 1
mov dword [0x1401bbb58], 0
mov dword [0x1401bb2fc], 0x7f7fffff
mov dword [0x1401bbc18], 1
mov dword [0x1401bb450], 0x80000000
mov dword [0x1401bb360], 1
mov dword [0x1401bbb6c], 0
mov dword [0x1401bb480], 0x7f7fffff
mov dword [0x1401bb47c], 0xffffffff
mov dword [0x1401bbad4], 0xffffffff
mov dword [0x1401bbae0], 0xffffffff
test ebx, ebx
je 0x1400c4fa1
mov rcx, qword [r10]
mov rdx, rdi
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400c4f90
mov r11, rbx
cmp rbx, 1
jle 0x1400c505c
mov r9d, 1
lea rbx, [0x1401ac974]
nop dword [rax + rax]
mov rcx, qword [r10 + r9*8]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400c4fd0
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdi + rcx], 0
jne 0x1400c4fe0
inc rax
add rax, rcx
cmp rax, 0x100
jae 0x1400c5071
lea rcx, [rdi - 1]
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400c5000
xor edx, edx
nop dword [rax]
movzx eax, byte [rbx + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400c5010
lea rcx, [rdi - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x1400c5023
mov r8, qword [r10 + r9*8]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400c5040
inc r9
cmp r9, r11
jl 0x1400c4fc0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [0x1401bba88]
lea rdx, str.qhull_input_error:_more_than__d_characters_in_command_line_n
mov r8d, 0x100
call fcn.140011c80
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x1400d1b60
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rdx, str.qhull_internal_error__qh_infiniteloop_:_potential_infinite_loop_detected_n
mov rcx, qword [0x1401bba88]
call fcn.140011c80
xor r8d, r8d
mov rdx, rbx
lea ecx, [r8 + 5]
add rsp, 0x20
pop rbx
jmp fcn.140099ce0
Function at 0x1400d68a0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
cmp dword [0x1401bbb64], 0
mov r14, r9
mov rbx, r8
mov edi, edx
mov rsi, rcx
jne 0x1400d68d4
mov rcx, qword [0x1401bba88]
lea rdx, str.qhull_warning:_no_facets_printed_n
call fcn.140011c80
lea eax, [rdi - 7]
cmp eax, 0xd
ja case.0x1400d68f3.8
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0xd6a2c]
add rcx, rdx
jmp rcx
cmp dword [0x1401bb4c8], 4
jne 0x1400d69e1
cmp dword [0x1401bb308], 0
jge 0x1400d69e1
cmp dword [0x1401bb3a0], 0
jne 0x1400d69e1
inc dword [0x1401bbb74]
xor ecx, ecx
mov qword [rsp + 0x50], rbp
mov ebp, dword [rsp + 0x70]
mov dword [rsp + 0x58], ecx
test rbx, rbx
je 0x1400d695d
cmp qword [rbx + 0x30], 0
je 0x1400d6959
mov r9d, ebp
lea r8, [rsp + 0x58]
mov rdx, rbx
mov rcx, rsi
call fcn.1400d6a70
mov rbx, qword [rbx + 0x30]
test rbx, rbx
jne 0x1400d6936
mov ecx, dword [rsp + 0x58]
test r14, r14
je 0x1400d6993
mov rax, qword [r14 + 8]
lea rbx, [r14 + 8]
test rax, rax
je 0x1400d6993
nop
mov r9d, ebp
lea r8, [rsp + 0x58]
mov rdx, rax
lea rbx, [rbx + 8]
mov rcx, rsi
call fcn.1400d6a70
mov rax, qword [rbx]
test rax, rax
jne 0x1400d6970
mov ecx, dword [rsp + 0x58]
mov r8d, dword [0x1401bbbfc]
mov r9d, dword [0x1401bbb60]
mov rbp, qword [rsp + 0x50]
cmp ecx, r8d
jne 0x1400d69b0
cmp r9d, r8d
je case.0x1400d68f3.8
mov dword [rsp + 0x20], ecx
lea rdx, str.qhull_internal_error__qh_printend_:_number_of_ridges__d___number_printed__d_and_at_end__d_n
mov rcx, qword [0x1401bba88]
call fcn.140011c80
xor edx, edx
xor r8d, r8d
lea ecx, [rdx + 5]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
jmp fcn.140099ce0
lea rdx, [0x1401b142c]
jmp 0x1400d6a15
cmp dword [0x1401bb2f0], 0
je case.0x1400d68f3.8
lea rdx, [0x1401b14a4]
jmp 0x1400d6a15
lea rdx, [0x1401b150c]
jmp 0x1400d6a15
cmp dword [0x1401bb2f0], 0
je case.0x1400d68f3.8
lea rdx, [0x1401b1510]
mov rcx, rsi
call fcn.140011c80
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1400df000
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
mov rax, qword [rcx + 8]
lea rdi, [rcx + 8]
mov r14, rcx
mov r9, rdi
cmp rax, rdx
je 0x1400df032
nop
test rax, rax
je 0x1400df046
mov rax, qword [r9 + 8]
add r9, 8
cmp rax, rdx
jne 0x1400df020
test rax, rax
je 0x1400df046
mov qword [r9], r8
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
mov rcx, qword [0x1401bbc70]
mov r8, rdx
lea rdx, str.qhull_internal_error__qh_setreplace_:_elem__p_not_found_in_set_n
mov qword [rsp + 0x48], rsi
call fcn.140011c80
mov rsi, qword [0x1401bbc70]
lea r8, [0x1401bbcb6]
test r14, r14
jne 0x1400df085
lea rdx, str._s_set_is_null_n
mov rcx, rsi
call fcn.140011c80
jmp 0x1400df100
movsxd rdx, dword [r14]
mov r9, r14
mov qword [rsp + 0x40], rbx
mov ecx, dword [r14 + rdx*8 + 8]
test ecx, ecx
lea ebx, [rcx - 1]
mov rcx, rsi
cmove ebx, edx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edx
lea rdx, str._s_set_p_maxsize_d_size_d_elems
call fcn.140011c80
mov ecx, dword [r14]
cmp ebx, ecx
lea eax, [rcx + 1]
cmovle eax, ebx
movsxd rbx, eax
test eax, eax
jle 0x1400df0ec
nop word [rax + rax]
mov r8, qword [rdi]
lea rdx, [0x1401b4244]
mov rcx, rsi
call fcn.140011c80
lea rdi, [rdi + 8]
sub rbx, 1
jne 0x1400df0d0
lea rdx, [0x1401b4268]
mov rcx, rsi
call fcn.140011c80
mov rbx, qword [rsp + 0x40]
xor edx, edx
xor r8d, r8d
lea ecx, [rdx + 5]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
jmp fcn.140099ce0

Function at 0x1400e12e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r8, [rsp + 0x38]
mov rdx, rcx
mov rcx, qword [0x1401bba90]
call fcn.1400db780
movss xmm0, dword [rsp + 0x38]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1400e134f
movsxd rdx, dword [0x1401bb4c8]
movss xmm1, dword [0x140158d40]
test rdx, rdx
je 0x1400e1337
nop
mov rax, qword [rbx + 0x10]
sub rdx, 1
movss xmm0, dword [rax + rdx*4]
xorps xmm0, xmm1
movss dword [rax + rdx*4], xmm0
jne 0x1400e1320
movss xmm0, dword [rbx + 8]
mov eax, 1
xorps xmm0, xmm1
movss dword [rbx + 8], xmm0
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1400f6ad0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
lea rsi, [rcx + 0x80]
mov rdi, rcx
mov r12d, dword [rsi + 0x18]
xor r14d, r14d
nop
cmp dword [rsi + 8], 0
jne 0x1400f6b70
mov eax, dword [rdi + 0x74]
test eax, eax
je 0x1400f6b16
cmp eax, 0xfffffffb
jne 0x1400f6c3b
cmp dword [rdi + 0x50], 0
jne 0x1400f6bc5
mov ebp, dword [rdi + 0x28]
xor ebx, ebx
mov r15, qword [rdi + 0x30]
nop dword [rax]
mov ecx, dword [rdi + 0x1c]
mov r8d, ebp
mov edx, ebx
sub r8d, ebx
add rdx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
movsxd rcx, eax
test eax, eax
jle 0x1400f6b53
add ebx, ecx
cmp ebx, ebp
jb 0x1400f6b30
test eax, eax
js 0x1400f6bad
test eax, eax
jne 0x1400f6b60
mov dword [rdi + 0x50], 1
add dword [rsi + 8], ebx
mov rax, qword [rdi + 0x30]
mov qword [rsi], rax
cmp dword [rsi + 8], 0
je 0x1400f6bc5
xor edx, edx
mov rcx, rsi
call fcn.1400f47d0
mov r14d, eax
lea ecx, [rax + 2]
test ecx, 0xfffffffb
je 0x1400f6c27
cmp eax, 0xfffffffc
je 0x1400f6c19
cmp eax, 0xfffffffd
je 0x1400f6c00
mov eax, dword [rsi + 0x18]
test eax, eax
je 0x1400f6bdc
cmp r14d, 1
jne 0x1400f6b00
jmp 0x1400f6bdc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov r8, rax
mov edx, 0xffffffff
jmp 0x1400f6c33
lea r8, str.unexpected_end_of_file
mov edx, 0xfffffffb
mov rcx, rdi
call fcn.1400f6500
mov eax, dword [rsi + 0x18]
sub r12d, eax
mov ecx, r12d
mov dword [rdi], ecx
mov rax, qword [rsi + 0x10]
sub rax, rcx
mov qword [rdi + 8], rax
cmp r14d, 1
jne 0x1400f6bfc
mov dword [rdi + 0x44], 0
xor eax, eax
jmp 0x1400f6c40
mov rax, qword [rsi + 0x20]
lea r8, str.compressed_data_error
test rax, rax
mov edx, 0xfffffffd
cmovne r8, rax
jmp 0x1400f6c33
lea r8, str.out_of_memory
mov edx, 0xfffffffc
jmp 0x1400f6c33
lea r8, str.internal_error:_inflate_stream_corrupt
mov edx, 0xfffffffe
mov rcx, rdi
call fcn.1400f6500
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x1400f6d10
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor eax, eax
mov rbx, r9
mov dword [r9], eax
mov edi, r8d
mov rbp, rdx
mov rsi, rcx
nop word [rax + rax]
mov ecx, dword [rsi + 0x1c]
mov r8d, edi
mov edx, eax
sub r8d, eax
add rdx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
movsxd rcx, eax
test eax, eax
jle 0x1400f6d65
mov eax, dword [rbx]
add eax, ecx
mov dword [rbx], eax
cmp eax, edi
jb 0x1400f6d40
test rcx, rcx
jns 0x1400f6d8f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov edx, 0xffffffff
mov rcx, rsi
mov r8, rax
call fcn.1400f6500
mov eax, 0xffffffff
jmp 0x1400f6d9a
jne 0x1400f6d98
mov dword [rsi + 0x50], 1
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400f6f80
Capabilities:
Read file on windows

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 r14, r8
mov rbp, rdx
mov rbx, rcx
test r8, r8
je 0x1400f70e7
xor r12d, r12d
cmp dword [rcx + 0x70], r12d
je 0x1400f6fcd
mov rdx, qword [rcx + 0x68]
mov dword [rcx + 0x70], r12d
call fcn.1400f7110
cmp eax, 0xffffffff
je 0x1400f70e7
mov r15, r12
mov r13d, 0xffffffff
nop word [rax + rax]
mov eax, dword [rbx]
cmp r14, r13
mov esi, r13d
cmovb esi, r14d
test eax, eax
je 0x1400f7011
mov rdx, qword [rbx + 8]
cmp eax, esi
mov rcx, rbp
cmovae eax, esi
mov r8d, eax
mov edi, eax
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx + 8], rdi
sub dword [rbx], edi
jmp 0x1400f7091
cmp dword [rbx + 0x50], r12d
je 0x1400f7024
cmp dword [rbx + 0x88], r12d
je 0x1400f70bd
mov ecx, dword [rbx + 0x44]
test ecx, ecx
je 0x1400f70a2
mov eax, dword [rbx + 0x28]
add eax, eax
cmp esi, eax
jb 0x1400f70a2
cmp ecx, 1
jne 0x1400f7072
mov edi, r12d
nop dword [rax]
mov ecx, dword [rbx + 0x1c]
mov r8d, esi
mov edx, edi
sub r8d, edi
add rdx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
movsxd rcx, eax
test eax, eax
jle 0x1400f7063
add edi, ecx
cmp edi, esi
jb 0x1400f7040
test eax, eax
js 0x1400f70c9
test eax, eax
jne 0x1400f7091
mov dword [rbx + 0x50], 1
jmp 0x1400f7091
mov rcx, rbx
mov dword [rbx + 0x98], esi
mov qword [rbx + 0x90], rbp
call fcn.1400f6ad0
cmp eax, 0xffffffff
je 0x1400f70e7
mov edi, dword [rbx]
mov dword [rbx], r12d
mov eax, edi
sub r14, rax
add rbp, rax
add r15, rax
add qword [rbx + 0x10], rax
jmp 0x1400f70af
mov rcx, rbx
call fcn.1400f6c60
cmp eax, 0xffffffff
je 0x1400f70e7
test r14, r14
jne 0x1400f6fe0
mov rax, r15
jmp 0x1400f70e9
mov dword [rbx + 0x54], 1
mov rax, r15
jmp 0x1400f70e9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov edx, 0xffffffff
mov rcx, rbx
mov r8, rax
call fcn.1400f6500
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140147d80
Capabilities:
Encode data using xor

Disassembly:
push rbx
and r8d, 0x1f
mov r9, rdx
movabs rbx, 0xc2b2ae3d27d4eb4f
movabs r11, 0x9e3779b185ebca87
cmp r8, 8
jb 0x140147b6c
mov r10d, r8d
mov qword [rsp + 0x10], rdi
shr r10, 3
movabs rdi, 0x7a1435883d4d519d
imul rax, r10, 0xfffffffffffffff8
add r8, rax
mov rdx, qword [r9]
add r9, 8
imul rdx, rbx
rol rdx, 0x1f
imul rdx, r11
xor rcx, rdx
rol rcx, 0x1b
imul rcx, r11
sub rcx, rdi
sub r10, 1
jne 0x140147b40
mov rdi, qword [rsp + 0x10]
mov rax, r9
movabs r10, 0x165667b19e3779f9
cmp r8, 4
jb 0x140147b9b
mov eax, dword [rax]
add r9, 4
imul rax, r11
xor rcx, rax
rol rcx, 0x17
imul rcx, rbx
add rcx, r10
sub r8, 4
test r8, r8
je 0x140147bcd
movabs rdx, 0x27d4eb2f165667c5
nop word [rax + rax]
movzx eax, byte [r9]
lea r9, [r9 + 1]
imul rax, rdx
xor rcx, rax
rol rcx, 0xb
imul rcx, r11
sub r8, 1
jne 0x140147bb0
mov rax, rcx
shr rax, 0x21
xor rax, rcx
imul rax, rbx
mov rcx, rax
shr rcx, 0x1d
xor rcx, rax
imul rcx, r10
mov rax, rcx
shr rax, 0x20
xor rax, rcx
pop rbx
ret
push rbx
sub rsp, 0x20
mov rbx, qword [rcx]
cmp rbx, 0x20
jb 0x140147e5d
mov rdx, qword [rcx + 8]
mov r9, qword [rcx + 0x18]
mov rax, rdx
mov r8, qword [rcx + 0x10]
mov r11, r9
mov r10, qword [rcx + 0x20]
rol r11, 0xc
rol rax, 1
add r11, rax
mov qword [rsp + 0x30], rsi
movabs rsi, 0x9e3779b185ebca87
mov qword [rsp + 0x38], rdi
movabs rdi, 0xc2b2ae3d27d4eb4f
mov rax, r8
rol rax, 7
add r11, rax
mov rax, r10
imul rdx, rdi
imul r8, rdi
imul r10, rdi
imul r9, rdi
mov rdi, qword [rsp + 0x38]
rol rax, 0x12
add r11, rax
rol rdx, 0x1f
imul rdx, rsi
movabs rax, 0x7a1435883d4d519d
rol r8, 0x1f
xor r11, rdx
rol r10, 0x1f
imul r11, rsi
imul r8, rsi
imul r10, rsi
sub r11, rax
rol r9, 0x1f
xor r11, r8
imul r11, rsi
imul r9, rsi
sub r11, rax
xor r11, r9
imul r11, rsi
sub r11, rax
xor r11, r10
movabs r10, 0x85ebca77c2b2ae63
imul r11, rsi
mov rsi, qword [rsp + 0x30]
add r10, r11
jmp 0x140147e6e
mov r10, qword [rcx + 0x18]
movabs rdx, 0x27d4eb2f165667c5
add r10, rdx
add r10, rbx
lea rdx, [rcx + 0x28]
mov rcx, r10
xor r9d, r9d
mov r8, rbx
add rsp, 0x20
pop rbx
jmp 0x140147b00
Function at 0x1400fbf90
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400fbf9d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400fbfad
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400fbf95
lea eax, [rcx + 1]
jmp 0x1400fbfbb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400fbfce
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400fbfb4
sub eax, 3
jb 0x1400fbfee
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x1400fc03d
sar eax, 1
movsxd rbp, eax
jb 0x1400fc024
jmp 0x1400fbffc
add ebx, ebx
jne 0x1400fbffa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400fc024
inc ecx
add ebx, ebx
jne 0x1400fc00a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x1400fc024
call r11
adc ecx, ecx
add ebx, ebx
jne 0x1400fc01d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x1400fc00c
add ecx, 2
jmp 0x1400fc029
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1400fbf52
jmp 0x1400fbf9d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x72c00
mov dl, 7
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400fc089
cmp rsi, rcx
jae 0x1400fc091
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400fc070
cmp al, 0x8f
ja 0x1400fc070
cmp byte [rsi - 2], 0xf
je 0x1400fc076
sub al, 0xe8
cmp al, 1
ja 0x1400fc05a
cmp rsi, rcx
jae 0x1400fc091
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1400fc060
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400fc091
lodsb al, byte [rsi]
jmp 0x1400fc070
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xf8000]
mov eax, dword [rdi]
or eax, eax
je 0x1400fc0ee
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x13e394]
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 0x1400fc09e
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 0x1400fc0e8
mov qword [rbx], rax
add rbx, 8
jmp 0x1400fc0be
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 0x1400fc128
cmp al, 0xef
ja 0x1400fc11a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1400fc0fa
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x1400fc109
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.1400fc1a7], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.1400fc1a7
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400fc197
sub rsp, 0xffffffffffffff80
jmp 0x14000131a
Function at 0x140001000
Capabilities:
Find process by pid
Print debug messages

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov qword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x50]
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140001066
cmp dword [rsp + 0x20], 0xc000000d
jne 0x140001049
lea rcx, [0x140002040]
call sub.ntoskrnl.exe_DbgPrint
cmp dword [rsp + 0x20], 0xc000000b
jne 0x14000105f
lea rcx, [0x140002060]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xffffffff
jmp 0x1400010a5
mov rax, qword [rsp + 0x28]
add rax, 0x87a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
movzx ecx, byte [rsp + 0x58]
cmp eax, ecx
jne 0x140001097
lea rcx, [0x1400020b0]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
jmp 0x1400010a5
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x58]
mov byte [rax], cl
xor eax, eax
add rsp, 0x48
ret

Function at 0x1400010b0
Capabilities:
Create device object
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rcx, [0x140002480]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x1400042f8]
call sub.ntoskrnl.exe_ExInitializePushLock
mov rax, qword [rsp + 0x50]
lea rcx, [0x1400019d0]
mov qword [rax + 0x68], rcx
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x50]
lea rdx, [0x1400016a0]
mov qword [rcx + rax + 0x70], rdx
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
lea rdx, [0x140001290]
mov qword [rcx + rax + 0x70], rdx
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x50]
lea rdx, [0x140001270]
mov qword [rcx + rax + 0x70], rdx
mov rax, qword [rsp + 0x50]
add rax, 8
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x22
lea r8, section..data
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
lea rdx, section..data
lea rcx, [0x140004010]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
xor eax, eax
add rsp, 0x48
ret