joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001126c
Capabilities:
Download url
Receive data

Disassembly:
jmp 0x140014460
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x118
lea rbp, [rsp + 0x30]
lea rcx, [0x14002a0f4]
call fcn.140011677
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 0x108]
mov rdx, qword [rbp + 0x100]
xor ecx, ecx
call fcn.14001160e
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x1400144e1
lea rdx, str.Failed_to_download_file_from_URL._Error_code:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400110cd
mov edx, dword [rbp + 4]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
lea rdx, [0x14001104b]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor eax, eax
jmp 0x1400144e6
mov eax, 1
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1400113c0
Capabilities:
Terminate process

Disassembly:
jmp 0x140017be0
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 0x1400114b5
Capabilities:
Parse pe header

Disassembly:
jmp 0x140018f30
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140018f50
xor al, al
jmp 0x140018fd1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140018f63
xor al, al
jmp 0x140018fd1
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 0x140018f8d
xor al, al
jmp 0x140018fd1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140018fa1
xor al, al
jmp 0x140018fd1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140018fb3
xor al, al
jmp 0x140018fd1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140018fcf
xor al, al
jmp 0x140018fd1
mov al, 1
add rsp, 0x38
ret
Function at 0x100401500
Capabilities:
Terminate process

Disassembly:
mov rax, qword [sym.vim.exe_did_outofmem_msg]
mov eax, dword [rax]
test eax, eax
je 0x100673be6
ret
jmp fcn.100673b30

Function at 0x10040ac80
Capabilities:
Get file attributes

Disassembly:
push r13
push r12
sub rsp, 0xa8
mov edx, 1
xor r13d, r13d
call sym.vim.exe_FullName_save
mov r12, rax
test rax, rax
je 0x10040acca
lea r13, [rsp + 0x20]
mov rcx, rax
mov rdx, r13
call sub.msys_2.0.dll_stat
test eax, eax
js 0x10040ace0
mov rdx, r13
mov rcx, r12
call fcn.100409f90
mov rcx, r12
mov r13, rax
call sym.vim.exe_vim_free
mov rax, r13
add rsp, 0xa8
pop r12
pop r13
ret
mov dword [rsp + 0x20], 0xffffffff
jmp 0x10040acb4

Function at 0x10040acf0
Capabilities:
Get file attributes

Disassembly:
push r13
push r12
sub rsp, 0xa8
lea r13, [rsp + 0x20]
mov r12, rcx
mov rdx, r13
call sub.msys_2.0.dll_stat
test eax, eax
jns 0x10040ad17
mov dword [rsp + 0x20], 0xffffffff
mov rdx, r13
mov rcx, r12
call fcn.100409f90
add rsp, 0xa8
pop r12
pop r13
ret

Function at 0x10040d3b0
Capabilities:
Get file attributes

Disassembly:
push r13
push r12
sub rsp, 0x28
mov r12, rcx
test rcx, rcx
je 0x10040d400
cmp byte [rcx], 0
je 0x10040d400
mov rax, qword [sym.vim.exe_curbuf]
mov r13, qword [rax]
mov rdx, qword [r13 + 0x88]
test rdx, rdx
je 0x10040d400
call sym.vim.exe_vim_fnamecmp
test eax, eax
je 0x10040d405
xor r8d, r8d
mov rdx, r12
mov rcx, r13
add rsp, 0x28
pop r12
pop r13
jmp fcn.100409e90
mov eax, 1
add rsp, 0x28
pop r12
pop r13
ret

Function at 0x10040d410
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0xa0
mov rbx, rcx
mov rcx, qword [rcx + 0x98]
test rcx, rcx
je 0x10040d460
lea rdx, [rsp + 0x20]
call sub.msys_2.0.dll_stat
test eax, eax
js 0x10040d460
mov dword [rbx + 0xa0], 1
mov eax, dword [rsp + 0x20]
mov dword [rbx + 0xa4], eax
mov rax, qword [rsp + 0x28]
mov qword [rbx + 0xa8], rax
add rsp, 0xa0
pop rbx
ret
mov dword [rbx + 0xa0], 0
add rsp, 0xa0
pop rbx
ret
Function at 0x100413620
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rbx
sub rsp, 0xb8
mov r12, rcx
mov r14, r8
mov rcx, rdx
mov ebx, r9d
test rdx, rdx
je 0x10041364b
cmp byte [rdx], 0
jne 0x100413708
mov r8, qword [r12 + 0x90]
mov rcx, qword [r12 + 0x88]
cmp r8, rcx
je 0x1004136f0
test r8, r8
je 0x100413685
mov rcx, r8
call sym.vim.exe_vim_free
mov rcx, qword [r12 + 0x88]
mov qword [r12 + 0x90], 0
test rcx, rcx
je 0x10041369b
call sym.vim.exe_vim_free
mov qword [r12 + 0x88], 0
mov rax, qword [r12 + 0x90]
mov dword [rsp + 0x30], 0xffffffff
mov qword [r12 + 0x98], rax
mov dword [r12 + 0xa0], 0
mov dword [r12 + 0x1f10], 0
mov rcx, r12
mov r15d, 1
call sym.vim.exe_buf_name_changed
mov eax, r15d
add rsp, 0xb8
pop rbx
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [r12 + 0x90], 0
test rcx, rcx
jne 0x10041368a
jmp 0x10041369b
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 0x1004136d9
lea rsi, [rsp + 0x30]
mov rcx, rax
mov rdx, rsi
call sub.msys_2.0.dll_stat
test eax, eax
jns 0x100413740
mov dword [rsp + 0x30], 0xffffffff
mov r15d, dword [r12 + 0x7c]
and r15d, 0x80
je 0x1004137e5
mov rcx, r14
call sym.vim.exe_vim_strsave
mov rbx, rax
test rax, rax
je 0x1004138bd
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 0x100413795
mov rcx, r8
call sym.vim.exe_vim_free
mov rcx, qword [r12 + 0x88]
call sym.vim.exe_vim_free
mov edx, dword [rsp + 0x30]
mov qword [r12 + 0x88], r13
mov qword [r12 + 0x90], rbx
mov qword [r12 + 0x98], rbx
cmp edx, 0xffffffff
je 0x1004136b3
mov rax, qword [rsp + 0x38]
mov dword [r12 + 0xa4], edx
mov dword [r12 + 0xa0], 1
mov qword [r12 + 0xa8], rax
jmp 0x1004136bf
mov rdx, rsi
mov rcx, r13
call fcn.100409f90
mov r10, rax
test rax, rax
je 0x100413752
cmp r12, rax
je 0x100413752
mov rax, qword [sym.vim.exe_first_tabpage]
mov r11, qword [rax]
test r11, r11
je 0x1004138d4
mov rax, qword [sym.vim.exe_curtab]
xor edx, edx
mov ecx, 1
mov r9, qword [rax]
mov rax, qword [sym.vim.exe_firstwin]
mov r8, qword [rax]
nop dword [rax + rax]
mov rax, r8
cmp r9, r11
je 0x10041385b
mov rax, qword [r11 + 0x20]
jmp 0x10041385b
cmp qword [rax + 8], r10
mov rax, qword [rax + 0x18]
cmove edx, ecx
test rax, rax
jne 0x100413850
mov r11, qword [r11]
test r11, r11
jne 0x100413838
and edx, 1
cmp qword [r10 + 8], 0
jne 0x100413876
test dl, dl
je 0x100413887
test ebx, ebx
jne 0x1004138a7
mov rcx, r13
call sym.vim.exe_vim_free
jmp 0x1004136d9
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov rdx, r10
xor ecx, ecx
mov r8d, 4
call sym.vim.exe_close_buffer
jmp 0x100413752
mov rcx, qword [sym.vim.exe_e_buffer_with_this_name_already_exists]
call sub.msys_intl_8.dll_libintl_gettext
mov rcx, rax
call sym.vim.exe_emsg
jmp 0x10041387a
xor ecx, ecx
xor r15d, r15d
call sym.vim.exe_vim_free
mov rcx, r13
call sym.vim.exe_vim_free
jmp 0x1004136d9
xor edx, edx
jmp 0x10041386b
Function at 0x1004181e0
Capabilities:
Get file attributes
Read file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rbx, rdx
call sub.msys_2.0.dll_fileno
lea rdx, [rsp + 0x20]
mov ecx, eax
call sub.msys_2.0.dll_fstat
test eax, eax
js 0x100418250
mov edx, dword [rsp + 0x48]
mov rcx, rbx
call sym.vim.exe_ga_grow
test eax, eax
je 0x100418250
mov r8, qword [rsp + 0x48]
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, 0xa8
pop rbx
pop rsi
ret
xor eax, eax
add rsp, 0xa8
pop rbx
pop rsi
ret

Function at 0x100418260
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
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 0x100418298
add rsp, 0x20
pop rbx
ret
mov rcx, qword [sym.vim.exe_e_error_while_writing]
call sub.msys_intl_8.dll_libintl_gettext
mov rcx, rax
call sym.vim.exe_emsg
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1004194c0
Capabilities:
Encrypt data using blowfish

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov ebx, 0x3e8
mov rdi, r8
mov rsi, rcx
mov r8d, r9d
mov rcx, rdx
mov rdx, rdi
mov ebp, r9d
call sym.vim.exe_sha256_key
mov r12, rax
nop dword [rax]
mov rcx, r12
mov r8d, ebp
mov rdx, rdi
call sym.vim.exe_sha256_key
mov r12, rax
sub ebx, 1
jne 0x1004194f0
mov rcx, rax
call sub.msys_2.0.dll_strlen
mov edi, eax
shr edi, 0x1f
add edi, eax
sar edi, 1
je 0x10041965d
cmp eax, 1
jle 0x10041955a
mov rbp, r12
xor ebx, ebx
lea r14, [rsp + 0x24]
lea r13, [0x1006ae460]
nop dword [rax + rax]
mov rcx, rbp
mov r8, r14
mov rdx, r13
add rbp, 2
call sub.msys_2.0.dll_sscanf
mov eax, dword [rsp + 0x24]
mov byte [r12 + rbx], al
add rbx, 1
cmp edi, ebx
jg 0x100419538
lea rbx, [rsi + 0x48]
mov r8d, 0x1000
lea rdx, [0x100681540]
mov rcx, rbx
call sub.msys_2.0.dll_memmove
xor r9d, r9d
mov r11d, 4
lea r10, [0x100682540]
nop dword [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 0x10041958d
xor eax, dword [r10 + r9]
lea r11d, [r8 + 4]
mov dword [rsi + r9], eax
add r9, 4
cmp r8d, 0x48
jne 0x100419588
mov dword [rsp + 0x2c], 0
mov rbp, rsi
lea r8, [rsp + 0x2c]
lea rdi, [rsp + 0x28]
mov dword [rsp + 0x28], 0
nop
mov rdx, rdi
mov rcx, rsi
add rbp, 8
call fcn.1004190a0
mov eax, dword [rsp + 0x28]
mov dword [rbp - 8], eax
mov eax, dword [rsp + 0x2c]
mov dword [rbp - 4], eax
cmp rbx, rbp
jne 0x1004195e0
lea r12, [rsi + 0x448]
lea rbp, [rsi + 0x1448]
lea rbx, [r12 - 0x400]
nop dword [rax + rax]
mov rdx, rdi
mov rcx, rsi
add rbx, 8
call fcn.1004190a0
mov eax, dword [rsp + 0x28]
mov dword [rbx - 8], eax
mov eax, dword [rsp + 0x2c]
mov dword [rbx - 4], eax
cmp rbx, r12
jne 0x100419620
lea r12, [rbx + 0x400]
cmp r12, rbp
jne 0x100419610
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [sym.vim.exe_e_bf_key_init_called_with_empty_password]
call sub.msys_intl_8.dll_libintl_gettext
mov rcx, rax
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp sym.vim.exe_iemsg
Function at 0x100419680
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
push r12
mov eax, 0x10d8
push rdi
push rsi
push rbx
call fcn.100672980
sub rsp, rax
xor eax, eax
mov ecx, 0x212
xor ebx, ebx
lea r12, [rsp + 0x30]
mov rdi, r12
rep stosq qword [rdi], rax
lea rax, [0x100682540]
mov dword [rsp + 0x10c0], 0x40
lea rdx, [rax + 0x48]
xor ebx, dword [rax]
add rax, 4
cmp rdx, rax
jne 0x1004196bc
lea rdx, [0x100681940]
lea rcx, [rdx + 0x1000]
lea rax, [rdx - 0x400]
nop dword [rax]
xor ebx, dword [rax]
add rax, 4
cmp rdx, rax
jne 0x1004196e0
add rdx, 0x400
cmp rdx, rcx
jne 0x1004196d5
lea rsi, str.salt
mov rcx, rsi
call sub.msys_2.0.dll_strlen
lea rdx, [rsi - 0x40]
mov rcx, r12
mov r8, rsi
mov r9d, eax
call fcn.1004194c0
lea rcx, [rsp + 0x78]
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 0x100419730
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 0x100419758
add rcx, 0x400
cmp r8, rcx
jne 0x10041974b
mov rax, qword [str.plaintxt]
cmp r9d, edx
lea r8, [rsp + 0x2c]
lea rdx, [rsp + 0x28]
mov rcx, r12
mov qword [rsp + 0x28], rax
je 0x1004197a1
call fcn.1004190a0
xor eax, eax
add rsp, 0x10d8
pop rbx
pop rsi
pop rdi
pop r12
ret
call fcn.1004190a0
mov rax, qword [rsp + 0x28]
cmp qword [0x100681512], rax
je 0x1004197db
cmp ebx, 0x6ffa520a
jne 0x100419792
cmp rax, qword [str.rP_8]
jne 0x100419792
mov rcx, qword [sym.vim.exe_e_blowfish_big_little_endian_use_wrong]
call sub.msys_intl_8.dll_libintl_gettext
mov rcx, rax
call sym.vim.exe_emsg
jmp 0x100419792
xor eax, eax
cmp ebx, 0x6ffa520a
sete al
add rsp, 0x10d8
pop rbx
pop rsi
pop rdi
pop r12
ret

Function at 0x100419a60
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rdi, qword [rsp + 0x80]
mov esi, dword [rsp + 0x88]
mov rbp, rcx
mov ecx, 0x1094
mov r12, rdx
mov r13, r8
mov r14d, r9d
call sym.vim.exe_alloc_clear
mov rbx, rax
test rax, rax
je 0x100419abf
cmp dword [rbp], 1
mov qword [rbp + 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 0x100419ad0
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov r8, r13
mov rdx, r12
mov rcx, rbx
mov r9d, r14d
call fcn.1004194c0
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 0x100419b45
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 0x100419b20
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x100419d20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
call fcn.100419b60
mov r8d, 6
lea rdx, str.inline
mov rcx, rax
mov rsi, rax
call sub.msys_2.0.dll_strncmp
test eax, eax
jne 0x100419d69
movzx ecx, byte [rsi + 6]
test cl, cl
jne 0x100419e60
lea rcx, [rsi + 6]
call sym.vim.exe_skipwhite
mov rcx, rax
call fcn.100419b60
mov rsi, rax
mov r8d, 9
lea rdx, str.namespace
mov rcx, rsi
call sub.msys_2.0.dll_strncmp
mov ebx, eax
test eax, eax
jne 0x100419e4d
movzx ecx, byte [rsi + 9]
test cl, cl
jne 0x100419e40
lea rcx, [rsi + 9]
call sym.vim.exe_skipwhite
mov rcx, rax
call fcn.100419b60
movzx ecx, byte [rax]
mov r12, rax
test cl, cl
je 0x100419e2a
xor esi, esi
jmp 0x100419dd2
test ebx, ebx
jne 0x100419e4d
add r12, 1
mov esi, 1
movzx ecx, byte [r12]
test cl, cl
je 0x100419e2a
cmp cl, 0x20
je 0x100419e78
cmp cl, 9
je 0x100419e78
cmp cl, 0x7b
je 0x100419e2a
call sym.vim.exe_vim_iswordc
test eax, eax
jne 0x100419db8
cmp byte [r12], 0x3a
jne 0x100419e4d
cmp byte [r12 + 1], 0x3a
jne 0x100419e4d
movzx ecx, byte [r12 + 2]
call sym.vim.exe_vim_iswordc
test eax, eax
je 0x100419e4d
xor esi, 1
or ebx, esi
jne 0x100419e4d
movzx ecx, byte [r12 + 3]
add r12, 3
mov esi, 1
test cl, cl
jne 0x100419dd2
mov eax, 1
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
call sym.vim.exe_vim_iswordc
test eax, eax
je 0x100419d94
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
call sym.vim.exe_vim_iswordc
test eax, eax
je 0x100419d55
jmp 0x100419d69
mov rcx, r12
mov ebx, 1
call sym.vim.exe_skipwhite
mov rcx, rax
call fcn.100419b60
mov r12, rax
jmp 0x100419dc9

Function at 0x1004216e0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword [0x1006825a0]
test eax, eax
jne 0x1004216f3
cmp rcx, qword [sym.vim.exe_clip_star]
je 0x100421700
jmp sym.vim.exe_clip_mch_set_selection
mov rax, qword [sym.vim.exe_clip_unnamed_saved]
test byte [rax], 3
je 0x1004216f3
mov dword [0x100720970], 1
ret
Function at 0x100421d30
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x158
mov edx, dword [rcx + 4]
mov rdi, rcx
test edx, edx
je 0x100421f58
mov rax, qword [sym.vim.exe_clip_star]
mov qword [rsp + 0x20], rax
cmp rcx, rax
je 0x100421f88
call sym.vim.exe_block_autocmds
call sym.vim.exe_get_y_previous
mov r13, rax
call sym.vim.exe_get_y_current
mov rbp, qword [sym.vim.exe_curbuf]
mov rsi, qword [sym.vim.exe_curwin]
mov r12, rax
mov r8, qword [sym.vim.exe_VIsual_mode]
mov rdx, qword [rbp]
mov rax, qword [rsi]
mov r14d, dword [r8]
mov rbx, qword [rdx + 0x1218]
mov r9, qword [rax + 0x48]
mov r11, qword [rax + 0x38]
mov r10, qword [rax + 0x40]
mov qword [rsp + 0x40], rbx
mov rax, qword [rdx + 0x11f0]
mov rbx, qword [sym.vim.exe_VIsual]
mov r15, qword [rdx + 0x11f8]
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x50], rax
mov rax, qword [rdx + 0x1210]
mov rdx, qword [rbx + 8]
mov rcx, qword [rbx]
mov qword [rsp + 0x68], r11
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0xc0]
mov qword [rsp + 0x38], rcx
mov rcx, rdx
mov qword [rsp + 0x60], r10
mov qword [rsp + 0x48], rdx
call sym.vim.exe_clear_oparg
xor ecx, ecx
cmp rdi, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
sete cl
mov r8d, 1
mov qword [rsp + 0x78], 0
add ecx, 0x2a
mov qword [rsp + 0x70], rdx
xor edx, edx
mov dword [rsp + 0xc4], ecx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0xa8], 0
mov dword [rsp + 0xc0], 2
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xb0], 0
mov dword [rsp + 0x7c], 0x79
mov qword [rsp + 0xa0], 1
mov dword [rsp + 0xac], 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 [rsp + 0x68]
mov r10, qword [rsp + 0x60]
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 [rsp + 0x58]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
mov qword [rdx + 0x48], r9
mov rdx, qword [rbp]
mov qword [rbx], rcx
mov qword [rdx + 0x11f0], rax
mov rax, qword [rsp + 0x30]
mov qword [rdx + 0x11f8], r15
mov qword [rdx + 0x1210], rax
mov rax, qword [rsp + 0x40]
mov qword [rdx + 0x1218], rax
mov rdx, qword [rsp + 0x28]
mov rax, qword [sym.vim.exe_VIsual_mode]
mov qword [rbx + 8], rdx
mov dword [rax], r14d
call sym.vim.exe_unblock_autocmds
nop
add rsp, 0x158
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov eax, dword [0x100720970]
test eax, eax
jne 0x100421f3e
call sym.vim.exe_clip_free_selection
mov rcx, rdi
add rsp, 0x158
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.vim.exe_clip_mch_request_selection
mov ecx, 0x25
call sym.vim.exe_get_y_register
cmp qword [rax], 0
jne 0x100421f3e
mov ecx, 0x25
call sym.vim.exe_get_y_register
cmp qword [rax], 0
jne 0x100421f3e
jmp 0x100421d66
Function at 0x1004222f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbx
sub rsp, 0x30
call sym.vim.exe_get_y_current
mov ecx, 0x25
mov rbx, rax
call sym.vim.exe_get_y_register
cmp rbx, rax
je 0x100422330
call sym.vim.exe_get_y_current
mov ecx, 0x25
mov rbx, rax
call sym.vim.exe_get_y_register
cmp rbx, rax
je 0x100422388
add rsp, 0x30
pop rbx
ret
mov rcx, qword [sym.vim.exe_clip_star]
mov r9d, dword [rcx]
test r9d, r9d
je 0x10042230c
mov r8d, dword [rcx + 4]
test r8d, r8d
jne 0x100422363
mov qword [rsp + 0x28], rcx
call sym.vim.exe_clip_mch_own_selection
mov rcx, qword [rsp + 0x28]
cmp eax, 1
sete al
movzx eax, al
mov dword [rcx + 4], eax
mov edx, dword [0x1006825a0]
test edx, edx
jne 0x100422379
mov rax, qword [sym.vim.exe_clip_unnamed_saved]
test byte [rax], 3
jne 0x1004223a0
add rsp, 0x30
pop rbx
jmp sym.vim.exe_clip_mch_set_selection
mov rcx, qword [sym.vim.exe_clip_star]
mov eax, dword [rcx]
test eax, eax
jne 0x10042233f
add rsp, 0x30
pop rbx
ret
mov dword [0x100720970], 1
jmp 0x100422323
Function at 0x100428f20
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rbx
sub rsp, 0x38
mov r8d, 1
lea r15, [rsp + 0x24]
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 0x100429000
mov rcx, r15
call fcn.100428ae0
mov r14d, eax
test eax, eax
js 0x100429000
cdqe
lea rdx, [rax + rax*2]
lea rax, [0x1006af580]
shl rdx, 5
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 0x100429000
mov r8d, 0xc
mov rdx, r15
mov rcx, rax
call sub.msys_2.0.dll_memmove
cmp esi, 0xc
jle 0x100428fce
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 0x100428ff0
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 0x100429003
mov rcx, r13
call sym.vim.exe_vim_free
nop dword [rax + rax]
xor r12d, r12d
mov rax, r12
add rsp, 0x38
pop rbx
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x100429780
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov ecx, 0xc
mov rbx, rdx
call sym.vim.exe_alloc
mov r10, rax
xor eax, eax
test r10, r10
je 0x100429881
mov eax, dword [0x100720a40]
mov qword [rsi + 8], r10
xor r8d, r8d
lea r9, [0x100720a60]
test eax, eax
jne 0x1004297ff
nop dword [rax]
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 0x1004297d0
mov dword [r9 + r8*4], eax
add r8, 1
cmp r8, 0x100
jne 0x1004297c0
mov dword [0x100720a40], 1
movabs rax, 0x2345678912345678
mov dword [r10 + 8], 0x34567890
mov qword [r10], rax
movzx eax, byte [rbx]
test al, al
je 0x10042987c
mov ecx, 0x34567890
mov r8d, 0x23456789
mov edx, 0x12345678
lea r9, [0x100720a60]
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 0x100429838
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x100429890
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push rsi
push rbx
mov rcx, qword [rcx + 8]
mov rdi, rdx
test r8, r8
je 0x100429914
xor r10d, r10d
lea rsi, [0x100720a60]
nop word [rax + rax]
movzx r11d, byte [rdi + r10]
mov eax, dword [rcx]
mov edx, dword [rcx + 8]
mov ebp, r11d
xor ebp, eax
shr eax, 8
mov ebx, edx
movzx ebp, bpl
or ebx, 2
xor eax, dword [rsi + rbp*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 r11d, ebx
mov byte [r9 + r10], r11b
add r10, 1
cmp r8, r10
jne 0x1004298b0
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x100429920
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
mov r11, rdx
mov rdx, qword [rcx + 8]
test r8, r8
je 0x1004299a0
mov eax, dword [rdx + 8]
mov ebx, dword [rdx]
xor ecx, ecx
lea r10, [0x100720a60]
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 [r11 + rcx]
mov byte [r9 + rcx], al
xor eax, ebx
mov ebx, dword [rdx]
add rcx, 1
movzx eax, al
mov esi, dword [rdx + 8]
shr ebx, 8
xor ebx, dword [r10 + rax*4]
movzx eax, bl
add eax, dword [rdx + 4]
mov dword [rdx], ebx
imul eax, eax, 0x8088405
add eax, 1
mov dword [rdx + 4], eax
shr eax, 0x18
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [r10 + rax*4]
mov dword [rdx + 8], esi
mov eax, esi
cmp r8, rcx
jne 0x100429940
pop rbx
pop rsi
ret