joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100401540
Capabilities:
Terminate process

Disassembly:
mov rax, qword [sym.vim.exe_did_outofmem_msg]
mov eax, dword [rax]
test eax, eax
je 0x10065f4c1
ret
jmp fcn.10065f400

Function at 0x100409d90
Capabilities:
Get file attributes

Disassembly:
push rbp
push r13
push r12
mov rbp, rsp
sub rsp, 0xa0
mov edx, 1
xor r13d, r13d
call sym.vim.exe_FullName_save
mov r12, rax
test rax, rax
je 0x100409ddd
lea r13, [rbp - 0x80]
mov rcx, rax
mov rdx, r13
call sub.msys_2.0.dll_stat
test eax, eax
js 0x100409df0
mov rdx, r13
mov rcx, r12
call fcn.100409090
mov rcx, r12
mov r13, rax
call sym.vim.exe_vim_free
mov rax, r13
add rsp, 0xa0
pop r12
pop r13
pop rbp
ret
mov dword [rbp - 0x80], 0xffffffff
jmp 0x100409dc7

Function at 0x100409e00
Capabilities:
Get file attributes

Disassembly:
push rbp
push r13
push r12
mov rbp, rsp
sub rsp, 0xa0
lea r13, [rbp - 0x80]
mov r12, rcx
mov rdx, r13
call sub.msys_2.0.dll_stat
test eax, eax
jns 0x100409e29
mov dword [rbp - 0x80], 0xffffffff
mov rdx, r13
mov rcx, r12
call fcn.100409090
add rsp, 0xa0
pop r12
pop r13
pop rbp
ret

Function at 0x10040c3e0
Capabilities:
Get file attributes

Disassembly:
push rbp
push r13
push r12
mov rbp, rsp
sub rsp, 0x20
mov r12, rcx
test rcx, rcx
je 0x10040c430
cmp byte [rcx], 0
je 0x10040c430
mov rax, qword [sym.vim.exe_curbuf]
mov r13, qword [rax]
mov rdx, qword [r13 + 0x88]
test rdx, rdx
je 0x10040c430
call sym.vim.exe_vim_fnamecmp
test eax, eax
je 0x10040c435
xor r8d, r8d
mov rdx, r12
mov rcx, r13
add rsp, 0x20
pop r12
pop r13
pop rbp
jmp fcn.100408fa0
mov eax, 1
add rsp, 0x20
pop r12
pop r13
pop rbp
ret

Function at 0x10040c440
Capabilities:
Get file attributes

Disassembly:
push rbp
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rbx, rcx
mov rcx, qword [rcx + 0x98]
test rcx, rcx
je 0x10040c498
lea rdx, [rbp - 0x60]
call sub.msys_2.0.dll_stat
test eax, eax
js 0x10040c498
mov dword [rbx + 0xa0], 1
mov eax, dword [rbp - 0x60]
mov dword [rbx + 0xa4], eax
mov rax, qword [rbp - 0x58]
mov qword [rbx + 0xa8], rax
add rsp, 0xa8
pop rbx
pop rbp
ret
mov dword [rbx + 0xa0], 0
add rsp, 0xa8
pop rbx
pop rbp
ret
Function at 0x100412550
Capabilities:
Get file attributes

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rbx
mov rbp, rsp
sub rsp, 0xb0
mov r12, rcx
mov r14, r8
mov rcx, rdx
mov ebx, r9d
test rdx, rdx
je 0x10041257f
cmp byte [rdx], 0
jne 0x100412640
mov r8, qword [r12 + 0x90]
mov rcx, qword [r12 + 0x88]
cmp r8, rcx
je 0x100412628
test r8, r8
je 0x1004125b9
mov rcx, r8
call sym.vim.exe_vim_free
mov rcx, qword [r12 + 0x88]
mov qword [r12 + 0x90], 0
test rcx, rcx
je 0x1004125cf
call sym.vim.exe_vim_free
mov qword [r12 + 0x88], 0
mov rax, qword [r12 + 0x90]
mov dword [rbp - 0x80], 0xffffffff
mov qword [r12 + 0x98], rax
mov dword [r12 + 0xa0], 0
mov dword [r12 + 0x1ea8], 0
mov rcx, r12
mov r15d, 1
call sym.vim.exe_buf_name_changed
mov eax, r15d
add rsp, 0xb0
pop rbx
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov qword [r12 + 0x90], 0
test rcx, rcx
jne 0x1004125be
jmp 0x1004125cf
test r8, r8
cmove r14, rdx
mov edx, 1
xor r15d, r15d
call sym.vim.exe_FullName_save
mov r13, rax
test rax, rax
je 0x10041260c
lea rsi, [rbp - 0x80]
mov rcx, rax
mov rdx, rsi
call sub.msys_2.0.dll_stat
test eax, eax
jns 0x100412676
mov dword [rbp - 0x80], 0xffffffff
mov r15d, dword [r12 + 0x7c]
and r15d, 0x80
je 0x100412719
mov rcx, r14
call sym.vim.exe_vim_strsave
mov rbx, rax
test rax, rax
je 0x1004127d7
mov rcx, rax
xor edx, edx
call sym.vim.exe_fname_case
mov r8, qword [r12 + 0x90]
mov rcx, qword [r12 + 0x88]
cmp r8, rcx
je 0x1004126cb
mov rcx, r8
call sym.vim.exe_vim_free
mov rcx, qword [r12 + 0x88]
call sym.vim.exe_vim_free
mov eax, dword [rbp - 0x80]
mov qword [r12 + 0x88], r13
mov qword [r12 + 0x90], rbx
mov qword [r12 + 0x98], rbx
cmp eax, 0xffffffff
je 0x1004125e6
mov dword [r12 + 0xa4], eax
mov rax, qword [rbp - 0x78]
mov dword [r12 + 0xa0], 1
mov qword [r12 + 0xa8], rax
jmp 0x1004125f2
mov rdx, rsi
mov rcx, r13
call fcn.100409090
mov r10, rax
test rax, rax
je 0x100412688
cmp r12, rax
je 0x100412688
mov rax, qword [sym.vim.exe_first_tabpage]
mov r8, qword [rax]
test r8, r8
je 0x100412804
mov rax, qword [sym.vim.exe_curtab]
xor edx, edx
mov ecx, 1
mov r11, qword [rax]
mov rax, qword [sym.vim.exe_firstwin]
mov r9, qword [rax]
nop word [rax + rax]
mov rax, r9
cmp r11, r8
je 0x10041278b
mov rax, qword [r8 + 0x20]
jmp 0x10041278b
cmp qword [rax + 8], r10
mov rax, qword [rax + 0x18]
cmove edx, ecx
test rax, rax
jne 0x100412780
mov r8, qword [r8]
test r8, r8
jne 0x100412770
and edx, 1
cmp qword [r10 + 8], 0
jne 0x1004127a6
test dl, dl
je 0x1004127b7
test ebx, ebx
jne 0x1004127ee
mov rcx, r13
call sym.vim.exe_vim_free
jmp 0x10041260c
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov rdx, r10
xor ecx, ecx
mov r8d, 4
call sym.vim.exe_close_buffer
jmp 0x100412688
xor ecx, ecx
xor r15d, r15d
call sym.vim.exe_vim_free
mov rcx, r13
call sym.vim.exe_vim_free
jmp 0x10041260c
lea rcx, str.E95:_Buffer_with_this_name_already_exists
call sub.msys_intl_8.dll_libintl_gettext
mov rcx, rax
call sym.vim.exe_emsg
jmp 0x1004127aa
xor edx, edx
jmp 0x10041279b
Function at 0x100416ea0
Capabilities:
Get file attributes
Read file on windows

Disassembly:
push rbp
push rsi
push rbx
mov rbp, rsp
sub rsp, 0xa0
mov rsi, rcx
mov rbx, rdx
call sub.msys_2.0.dll_fileno
lea rdx, [rbp - 0x80]
mov ecx, eax
call sub.msys_2.0.dll_fstat
test eax, eax
js 0x100416f10
mov edx, dword [rbp - 0x58]
mov rcx, rbx
call sym.vim.exe_ga_grow
test eax, eax
je 0x100416f10
mov r8, qword [rbp - 0x58]
mov rcx, qword [rbx + 0x10]
mov r9, rsi
mov edx, 1
mov dword [rbx], r8d
movsxd r8, r8d
call sub.msys_2.0.dll_fread
movsxd rdx, dword [rbx]
cmp rdx, rax
setbe al
movzx eax, al
add rsp, 0xa0
pop rbx
pop rsi
pop rbp
ret
xor eax, eax
add rsp, 0xa0
pop rbx
pop rsi
pop rbp
ret

Function at 0x100416f20
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x80]
movsxd r8, dword [rdx]
mov r9, rcx
mov rcx, qword [rdx + 0x10]
mov rbx, rdx
mov edx, 1
call sub.msys_2.0.dll_fwrite
movsxd rdx, dword [rbx]
mov r8, rax
mov eax, 1
cmp r8, rdx
jb 0x100416f60
add rsp, 0x28
pop rbx
pop rbp
ret
mov rcx, qword [sym.vim.exe_e_write]
call sub.msys_intl_8.dll_libintl_gettext
mov rcx, rax
call sym.vim.exe_emsg
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
ret
Function at 0x100417ba0
Capabilities:
Encrypt data using blowfish

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x80]
mov ebx, 0x3e8
mov rdi, r8
mov rsi, rcx
mov r8d, r9d
mov rcx, rdx
mov rdx, rdi
mov r13d, r9d
call sym.vim.exe_sha256_key
mov r12, rax
nop word [rax + rax]
mov rcx, r12
mov r8d, r13d
mov rdx, rdi
call sym.vim.exe_sha256_key
mov r12, rax
sub ebx, 1
jne 0x100417be0
mov rcx, rax
call sub.msys_2.0.dll_strlen
mov edi, eax
shr edi, 0x1f
add edi, eax
sar edi, 1
je 0x100417d4d
mov r13, r12
lea r15, [rbp - 0x5c]
lea r14, [0x10068f8df]
xor ebx, ebx
cmp eax, 1
jle 0x100417c49
nop word [rax + rax]
mov rcx, r13
mov r8, r15
mov rdx, r14
add r13, 2
call sub.msys_2.0.dll_sscanf
mov eax, dword [rbp - 0x5c]
mov byte [r12 + rbx], al
add rbx, 1
cmp edi, ebx
jg 0x100417c28
lea rbx, [rsi + 0x48]
mov r8d, 0x1000
lea rdx, [0x10066c540]
mov rcx, rbx
call sub.msys_2.0.dll_memmove
xor r9d, r9d
mov r11d, 4
lea r10, [0x10066d540]
nop word [rax + rax]
mov r8d, r9d
xor eax, eax
shl eax, 8
mov ecx, eax
mov eax, r8d
add r8d, 1
cdq
idiv edi
movsxd rdx, edx
movzx eax, byte [r12 + rdx]
or eax, ecx
cmp r8d, r11d
jne 0x100417c7d
xor eax, dword [r10 + r9]
lea r11d, [r8 + 4]
mov dword [rsi + r9], eax
add r9, 4
cmp r8d, 0x48
jne 0x100417c78
mov dword [rbp - 0x54], 0
mov r12, rsi
lea r8, [rbp - 0x54]
lea rdi, [rbp - 0x58]
mov dword [rbp - 0x58], 0
nop word [rax + rax]
mov rdx, rdi
mov rcx, rsi
add r12, 8
call fcn.1004177d0
mov eax, dword [rbp - 0x58]
mov dword [r12 - 8], eax
mov eax, dword [rbp - 0x54]
mov dword [r12 - 4], eax
cmp rbx, r12
jne 0x100417cd0
lea r12, [rsi + 0x448]
lea r13, [rsi + 0x1448]
lea rbx, [r12 - 0x400]
nop word [rax + rax]
mov rdx, rdi
mov rcx, rsi
add rbx, 8
call fcn.1004177d0
mov eax, dword [rbp - 0x58]
mov dword [rbx - 8], eax
mov eax, dword [rbp - 0x54]
mov dword [rbx - 4], eax
cmp rbx, r12
jne 0x100417d10
lea r12, [rbx + 0x400]
cmp r13, r12
jne 0x100417d02
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, str.E831:_bf_key_init___called_with_empty_password
call sub.msys_intl_8.dll_libintl_gettext
mov rcx, rax
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp sym.vim.exe_iemsg
Function at 0x100417d80
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
push rbp
mov eax, 0x10d8
push r12
push rdi
push rbx
call fcn.10065e270
sub rsp, rax
lea rbp, [rsp + 0x80]
xor eax, eax
mov ecx, 0x212
xor ebx, ebx
lea r12, [rbp - 0x50]
mov rdi, r12
rep stosq qword [rdi], rax
lea rax, [0x10066d540]
mov dword [rbp + 0x1040], 0x40
lea rdx, [rax + 0x48]
xor ebx, dword [rax]
add rax, 4
cmp rdx, rax
jne 0x100417dc2
lea rdx, [0x10066c940]
lea rcx, [rdx + 0x1000]
lea rax, [rdx - 0x400]
nop word [rax + rax]
xor ebx, dword [rax]
add rax, 4
cmp rdx, rax
jne 0x100417de8
add rdx, 0x400
cmp rdx, rcx
jne 0x100417ddb
lea rcx, str.salt
call sub.msys_2.0.dll_strlen
lea r8, str.salt
mov rcx, r12
mov r9d, eax
lea rdx, [r8 - 0x40]
call fcn.100417ba0
lea rcx, [rbp - 8]
mov rax, r12
xor edx, edx
mov r9d, dword [str._epV]
nop dword [rax]
xor edx, dword [rax]
add rax, 4
cmp rcx, rax
jne 0x100417e38
lea rcx, [r12 + 0x448]
lea r8, [r12 + 0x1448]
lea rax, [rcx - 0x400]
nop word [rax + rax]
xor edx, dword [rax]
add rax, 4
cmp rcx, rax
jne 0x100417e60
add rcx, 0x400
cmp r8, rcx
jne 0x100417e53
mov rax, qword [str.plaintxt]
cmp r9d, edx
lea r8, [rbp - 0x54]
lea rdx, [rbp - 0x58]
mov rcx, r12
mov qword [rbp - 0x58], rax
je 0x100417ea6
call fcn.1004177d0
xor eax, eax
add rsp, 0x10d8
pop rbx
pop rdi
pop r12
pop rbp
ret
call fcn.1004177d0
mov rax, qword [rbp - 0x58]
cmp qword [0x10066c512], rax
mov qword [rbp - 0x60], rax
je 0x100417ee3
cmp ebx, 0x6ffa520a
jne 0x100417e97
cmp rax, qword [str.rP_8]
jne 0x100417e97
lea rcx, str.E817:_Blowfish_big_little_endian_use_wrong
call sub.msys_intl_8.dll_libintl_gettext
mov rcx, rax
call sym.vim.exe_emsg
jmp 0x100417e97
xor eax, eax
cmp ebx, 0x6ffa520a
sete al
add rsp, 0x10d8
pop rbx
pop rdi
pop r12
pop rbp
ret

Function at 0x100418160
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x80]
mov rdi, qword [rbp + 0x10]
mov esi, dword [rbp + 0x18]
mov r12, rcx
mov ecx, 0x1094
mov r13, rdx
mov r14, r8
mov r15d, r9d
call sym.vim.exe_alloc_clear
mov rbx, rax
test rax, rax
je 0x1004181c3
cmp dword [r12], 1
mov qword [r12 + 8], rax
mov edx, 8
mov eax, 0x40
cmovne eax, edx
mov dword [rbx + 0x1090], eax
call sym.vim.exe_blowfish_self_test
test eax, eax
jne 0x1004181e0
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov r8, r14
mov rdx, r13
mov rcx, rbx
mov r9d, r15d
call fcn.100417ba0
movsxd r8, dword [rbx + 0x1090]
xor edx, edx
mov qword [rbx + 0x1048], 0
lea rcx, [rbx + 0x1050]
call sub.msys_2.0.dll_memset
test esi, esi
jle 0x100418255
mov r9d, dword [rbx + 0x1090]
cmp esi, r9d
mov r10d, r9d
cmovge r10d, esi
xor ecx, ecx
nop dword [rax + rax]
mov eax, ecx
cdq
idiv r9d
mov eax, ecx
add ecx, 1
movsxd r8, edx
cdq
idiv esi
movsxd rdx, edx
movzx eax, byte [rdi + rdx]
xor byte [rbx + r8 + 0x1050], al
cmp r10d, ecx
jne 0x100418230
mov eax, 1
jmp 0x1004181c5
Function at 0x1004184f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r12
push rdi
push rsi
push rbx
mov rbp, rsp
sub rsp, 0x20
lea rdi, str.namespace
call fcn.100418260
mov ecx, 9
mov rsi, rax
mov r12, rax
repe cmpsb byte [rsi], byte [rdi]
seta bl
sbb bl, 0
movsx ebx, bl
test ebx, ebx
jne 0x1004185ed
movzx ecx, byte [rax + 9]
test cl, cl
jne 0x1004185e0
lea rcx, [r12 + 9]
call sym.vim.exe_skipwhite
mov rcx, rax
call fcn.100418260
movzx ecx, byte [rax]
mov r12, rax
test cl, cl
je 0x1004185ca
xor esi, esi
jmp 0x100418572
test ebx, ebx
jne 0x1004185ed
add r12, 1
mov esi, 1
movzx ecx, byte [r12]
test cl, cl
je 0x1004185ca
cmp cl, 0x20
je 0x100418600
cmp cl, 9
je 0x100418600
cmp cl, 0x7b
je 0x1004185ca
call sym.vim.exe_vim_iswordc
test eax, eax
jne 0x100418558
cmp byte [r12], 0x3a
jne 0x1004185ed
cmp byte [r12 + 1], 0x3a
jne 0x1004185ed
movzx ecx, byte [r12 + 2]
call sym.vim.exe_vim_iswordc
test eax, eax
je 0x1004185ed
xor esi, 1
or ebx, esi
jne 0x1004185ed
movzx ecx, byte [r12 + 3]
add r12, 3
mov esi, 1
test cl, cl
jne 0x100418572
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop rbp
ret
call sym.vim.exe_vim_iswordc
test eax, eax
je 0x100418533
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop rbp
ret
mov rcx, r12
mov ebx, 1
call sym.vim.exe_skipwhite
mov rcx, rax
call fcn.100418260
mov r12, rax
jmp 0x100418569

Function at 0x10041fbc0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword [0x10066d5a0]
test eax, eax
jne 0x10041fbd3
cmp rcx, qword [sym.vim.exe_clip_star]
je 0x10041fbe0
jmp sym.vim.exe_clip_mch_set_selection
mov rax, qword [sym.vim.exe_clip_unnamed_saved]
test byte [rax], 3
je 0x10041fbd3
mov dword [0x100707930], 1
ret

Function at 0x100420160
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov rax, qword [sym.vim.exe_redo_VIsual_busy]
mov edx, dword [rax]
test edx, edx
jne 0x100420190
mov rax, qword [sym.vim.exe_VIsual_active]
mov eax, dword [rax]
test eax, eax
je 0x100420190
mov rax, qword [sym.vim.exe_State]
test byte [rax], 1
je 0x100420190
jmp fcn.10041ff10
ret
Function at 0x100420240
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x168
lea rbp, [rsp + 0x80]
mov edx, dword [rcx + 4]
mov rdi, rcx
test edx, edx
je 0x100420430
mov rax, qword [sym.vim.exe_clip_star]
mov qword [rbp - 8], rax
cmp rcx, rax
je 0x100420460
call sym.vim.exe_block_autocmds
call sym.vim.exe_get_y_previous
mov r13, rax
call sym.vim.exe_get_y_current
mov rsi, qword [sym.vim.exe_curwin]
mov r14, qword [sym.vim.exe_curbuf]
mov r12, rax
mov rax, qword [rsi]
mov r11, qword [rax + 0x38]
mov r10, qword [rax + 0x40]
mov r9, qword [rax + 0x48]
mov rax, qword [r14]
mov qword [rbp - 0x58], r11
mov rbx, qword [rax + 0x11f0]
mov rdx, qword [rax + 0x11f8]
mov qword [rbp - 0x48], r9
mov rcx, qword [rax + 0x1210]
mov r9, qword [sym.vim.exe_VIsual_mode]
mov qword [rbp - 0x50], r10
mov qword [rbp - 0x18], rbx
mov rbx, qword [sym.vim.exe_VIsual]
mov r8, qword [rax + 0x1218]
mov qword [rbp - 0x10], rdx
lea rdx, [rbp + 0x50]
mov rax, qword [rbx + 8]
mov r15, qword [rbx]
mov qword [rbp - 0x20], rcx
mov rcx, rdx
mov qword [rbp - 0x30], r8
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x28], r15
mov r15d, dword [r9]
mov qword [rbp - 0x38], rdx
call sym.vim.exe_clear_oparg
xor ecx, ecx
cmp rdi, qword [rbp - 8]
mov rdx, qword [rbp - 0x38]
sete cl
mov r8d, 1
mov qword [rbp + 8], 0
add ecx, 0x2a
mov qword [rbp], rdx
xor edx, edx
mov dword [rbp + 0x54], ecx
mov rcx, rbp
mov qword [rbp + 0x38], 0
mov dword [rbp + 0x50], 2
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x40], 0
mov dword [rbp + 0xc], 0x79
mov qword [rbp + 0x30], 1
mov dword [rbp + 0x3c], 2
call sym.vim.exe_do_pending_operator
mov rcx, r13
call sym.vim.exe_set_y_previous
mov rcx, r12
call sym.vim.exe_set_y_current
mov rdx, qword [rsi]
mov r11, qword [rbp - 0x58]
mov r10, qword [rbp - 0x50]
mov qword [rdx + 0x38], r11
mov qword [rdx + 0x40], r10
call sym.vim.exe_changed_cline_bef_curs
mov rdx, qword [rsi]
mov r9, qword [rbp - 0x48]
mov rax, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
mov qword [rdx + 0x48], r9
mov rdx, qword [r14]
mov r8, qword [rbp - 0x30]
mov qword [rdx + 0x11f0], rax
mov rax, qword [rbp - 0x10]
mov qword [rdx + 0x1210], rcx
mov qword [rdx + 0x11f8], rax
mov rax, qword [rbp - 0x28]
mov qword [rdx + 0x1218], r8
mov qword [rbx], rax
mov rax, qword [rbp - 0x40]
mov qword [rbx + 8], rax
mov rax, qword [sym.vim.exe_VIsual_mode]
mov dword [rax], r15d
call sym.vim.exe_unblock_autocmds
nop
add rsp, 0x168
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov eax, dword [0x100707930]
test eax, eax
jne 0x100420417
call sym.vim.exe_clip_free_selection
mov rcx, rdi
add rsp, 0x168
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp sym.vim.exe_clip_mch_request_selection
mov ecx, 0x25
call sym.vim.exe_get_y_register
cmp qword [rax], 0
jne 0x100420417
mov ecx, 0x25
call sym.vim.exe_get_y_register
cmp qword [rax], 0
jne 0x100420417
jmp 0x10042027d
Function at 0x1004207f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbp
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x80]
call sym.vim.exe_get_y_current
mov ecx, 0x25
mov rbx, rax
call sym.vim.exe_get_y_register
cmp rbx, rax
je 0x100420838
call sym.vim.exe_get_y_current
mov ecx, 0x25
mov rbx, rax
call sym.vim.exe_get_y_register
cmp rbx, rax
je 0x100420890
add rsp, 0x28
pop rbx
pop rbp
ret
mov rbx, qword [sym.vim.exe_clip_star]
mov r8d, dword [rbx]
test r8d, r8d
je 0x100420815
mov ecx, dword [rbx + 4]
test ecx, ecx
jne 0x100420862
mov rcx, rbx
call sym.vim.exe_clip_mch_own_selection
cmp eax, 1
sete al
movzx eax, al
mov dword [rbx + 4], eax
mov edx, dword [0x10066d5a0]
test edx, edx
jne 0x100420878
mov rax, qword [sym.vim.exe_clip_unnamed_saved]
test byte [rax], 3
jne 0x1004208a8
mov rcx, qword [sym.vim.exe_clip_star]
add rsp, 0x28
pop rbx
pop rbp
jmp sym.vim.exe_clip_mch_set_selection
mov rbx, qword [sym.vim.exe_clip_star]
mov eax, dword [rbx]
test eax, eax
jne 0x100420847
add rsp, 0x28
pop rbx
pop rbp
ret
mov dword [0x100707930], 1
jmp 0x10042082c

Function at 0x100426890
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rbx
mov rbp, rsp
sub rsp, 0x30
mov r8d, 1
lea r15, [rbp - 0xc]
mov rbx, rcx
mov r12, rdx
mov r9, rcx
mov edx, 0xc
mov rcx, r15
call sub.msys_2.0.dll_fread
cmp rax, 1
jne 0x100426970
mov rcx, r15
call fcn.100426400
mov r14d, eax
test eax, eax
js 0x100426970
cdqe
lea rax, [rax + rax*2]
shl rax, 5
mov rdx, rax
lea rax, [0x100690ae0]
add rax, rdx
mov edx, dword [rax + 0x10]
mov eax, dword [rax + 0x14]
lea esi, [rdx + rax + 0xc]
movsxd rcx, esi
call sym.vim.exe_alloc
mov r13, rax
test rax, rax
je 0x100426970
mov r8d, 0xc
mov rdx, r15
mov rcx, rax
call sub.msys_2.0.dll_memmove
cmp esi, 0xc
jle 0x100426944
lea edx, [rsi - 0xc]
lea rcx, [r13 + 0xc]
mov r9, rbx
mov r8d, 1
movsxd rdx, edx
call sub.msys_2.0.dll_fread
cmp rax, 1
jne 0x100426960
mov rdx, r12
mov ecx, r14d
mov r8, r13
call sym.vim.exe_crypt_create_from_header
mov rcx, r13
mov r12, rax
call sym.vim.exe_vim_free
jmp 0x100426973
mov rcx, r13
call sym.vim.exe_vim_free
nop dword [rax + rax]
xor r12d, r12d
mov rax, r12
add rsp, 0x30
pop rbx
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x100427130
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rbx
mov rbp, rsp
sub rsp, 0x20
mov rsi, rcx
mov ecx, 0xc
mov rbx, rdx
call sym.vim.exe_alloc
mov r10, rax
xor eax, eax
test r10, r10
je 0x100427231
mov eax, dword [0x1007079e0]
mov qword [rsi + 8], r10
xor r8d, r8d
lea r9, [0x100707a00]
test eax, eax
jne 0x1004271af
mov eax, r8d
mov edx, 8
nop dword [rax + rax]
mov ecx, eax
and eax, 1
imul eax, eax, 0xedb88320
shr ecx, 1
xor eax, ecx
sub edx, 1
jne 0x100427180
mov dword [r9 + r8*4], eax
add r8, 1
cmp r8, 0x100
jne 0x100427170
mov dword [0x1007079e0], 1
movabs rax, 0x2345678912345678
mov dword [r10 + 8], 0x34567890
mov qword [r10], rax
movzx eax, byte [rbx]
test al, al
je 0x10042722c
mov ecx, 0x34567890
mov r8d, 0x23456789
mov edx, 0x12345678
lea r9, [0x100707a00]
nop word [rax + rax]
xor eax, edx
shr edx, 8
add rbx, 1
movzx eax, al
xor edx, dword [r9 + rax*4]
movzx eax, dl
mov dword [r10], edx
add eax, r8d
imul eax, eax, 0x8088405
lea r8d, [rax + 1]
mov eax, r8d
mov dword [r10 + 4], r8d
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [r9 + rax*4]
mov dword [r10 + 8], ecx
movzx eax, byte [rbx]
test al, al
jne 0x1004271e8
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop rbp
ret

Function at 0x100427240
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r12
push rdi
push rsi
push rbx
mov rbp, rsp
mov rcx, qword [rcx + 8]
mov rdi, rdx
test r8, r8
je 0x1004272c6
xor r10d, r10d
lea rsi, [0x100707a00]
nop
movzx r11d, byte [rdi + r10]
mov eax, dword [rcx]
mov edx, dword [rcx + 8]
mov r12d, r11d
xor r12d, eax
shr eax, 8
mov ebx, edx
movzx r12d, r12b
or ebx, 2
xor eax, dword [rsi + r12*4]
mov dword [rcx], eax
movzx eax, al
add eax, dword [rcx + 4]
imul eax, eax, 0x8088405
add eax, 1
mov dword [rcx + 4], eax
shr eax, 0x18
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [rsi + rax*4]
mov eax, ebx
movzx ebx, bx
xor eax, 1
mov dword [rcx + 8], edx
movzx eax, ax
imul ebx, eax
shr ebx, 8
xor ebx, r11d
mov byte [r9 + r10], bl
add r10, 1
cmp r8, r10
jne 0x100427260
pop rbx
pop rsi
pop rdi
pop r12
pop rbp
ret

Function at 0x1004272d0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rbx
mov rbp, rsp
mov rcx, qword [rcx + 8]
mov rbx, rdx
test r8, r8
je 0x100427358
mov eax, dword [rcx + 8]
mov edx, dword [rcx]
xor r10d, r10d
lea r11, [0x100707a00]
nop dword [rax]
mov esi, eax
or esi, 2
mov eax, esi
movzx esi, si
xor eax, 1
movzx eax, ax
imul eax, esi
shr eax, 8
xor al, byte [rbx + r10]
mov byte [r9 + r10], al
xor eax, edx
mov edx, dword [rcx]
add r10, 1
movzx eax, al
mov esi, dword [rcx + 8]
shr edx, 8
xor edx, dword [r11 + rax*4]
movzx eax, dl
add eax, dword [rcx + 4]
mov dword [rcx], edx
imul eax, eax, 0x8088405
add eax, 1
mov dword [rcx + 4], eax
shr eax, 0x18
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [r11 + rax*4]
mov dword [rcx + 8], esi
mov eax, esi
cmp r8, r10
jne 0x1004272f8
pop rbx
pop rsi
pop rbp
ret