joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401f5670
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x58
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov rbx, rcx
xor r14b, r14b
mov eax, dword [0x140429a18]
lea r15, vtable.Core::Win32::RegistryKey.0
test al, 1
jne 0x1401f56c6
or eax, 1
mov dword [0x140429a18], eax
mov qword [0x1404299f0], r15
mov qword [0x1404299f8], 0xffffffff80000002
lea rcx, [0x1402fedc0]
call fcn.1402b8a74
xor esi, esi
mov qword [rbp + 0x50], rsi
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
mov rdx, qword [rbx + 8]
mov rcx, qword [0x1404299f8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1401f584c
lea ecx, [rsi + 0x10]
call fcn.1402b6dbc
mov rdi, rax
test rax, rax
je 0x1401f5714
mov rax, qword [rbp + 0x50]
mov qword [rdi], r15
mov qword [rdi + 8], rax
jmp 0x1401f5717
mov rdi, rsi
test rdi, rdi
je 0x1401f584c
mov dword [rbp + 0x38], esi
mov dword [rbp + 0x40], 4
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x48]
xor r8d, r8d
lea rdx, str.EnableDHCP
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r15d, 1
test ebx, ebx
jne 0x1401f5840
lea rax, [0x140346ce0]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rsi
cmp dword [rbp + 0x38], ebx
je 0x1401f57c4
mov rsi, qword [0x140416ee8]
test rsi, rsi
je 0x1401f57fe
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x1401f5790
test ebx, ebx
jle 0x1401f57fe
mov edx, ebx
lea rcx, [rbp - 0x20]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rbp - 0x18]
inc eax
movsxd rdx, eax
mov r8, rsi
mov rcx, qword [rbp - 0x20]
call fcn.1402ba94c
mov edx, ebx
jmp 0x1401f57f5
mov edx, 0x1d
lea rcx, [rbp - 0x20]
call fcn.1401fcb40
mov eax, dword [rbp - 0x18]
inc eax
movsxd rdx, eax
mov r9d, 0x1d
lea r8, str.208.67.222.222_208.67.220.220
mov rcx, qword [rbp - 0x20]
call fcn.1402ba94c
mov edx, 0x1d
lea rcx, [rbp - 0x20]
call fcn.1401fde50
mov eax, dword [rbp - 0x14]
add eax, eax
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, r15d
xor r8d, r8d
lea rdx, str.NameServer
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx r14d, r14b
test eax, eax
cmove r14d, r15d
cmp dword [rbp - 0x18], 0
jle 0x1401f5840
mov rcx, qword [rbp - 0x20]
call fcn.1402b7350
mov r8, qword [rdi]
mov edx, r15d
mov rcx, rdi
call qword [r8]
movzx eax, r14b
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1401f5e50
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x88], rbx
xor sil, sil
add rcx, 8
xor r8d, r8d
mov dl, 1
call fcn.1400eb0d0
mov rdi, rax
test rax, rax
je 0x1401f5f6c
xor ebp, ebp
mov dword [rsp + 0x78], ebp
mov dword [rsp + 0x70], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
xor r8d, r8d
lea rdx, str.ProxyEnable
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x1401f5f5e
mov dword [rsp + 0x70], ebp
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9d, [rbp + 4]
xor r8d, r8d
lea rdx, str.ProxyEnable
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1401f5f5e
lea rax, [0x140346ce0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbp
lea r8, [rsp + 0x38]
lea rdx, str.ProxyServer
mov rcx, rdi
call fcn.1400d8ae0
test al, al
je 0x1401f5f4a
lea rdx, str.ProxyServer
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov sil, 1
cmp dword [rsp + 0x40], 0
jle 0x1401f5f5e
mov rcx, qword [rsp + 0x38]
call fcn.1402b7350
mov r8, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [r8]
movzx eax, sil
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401f9b50
Capabilities:
Get graphical window text

Disassembly:
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov rsi, rdx
mov r14, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
cmp qword [rcx + 8], rbp
je 0x1401f9c37
lea r15, [0x140346ce0]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], rbp
mov rax, qword [rcx]
call qword [rax]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x1401f9be4
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
mov rdi, qword [rsp + 0x30]
mov ebx, dword [rsp + 0x38]
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
mov rcx, rax
lea r8d, [rbx + 1]
mov rdx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.1401fde50
mov qword [rsi + 8], rbp
mov edx, dword [rsp + 0x3c]
test edx, edx
jne 0x1401f9bf5
mov qword [rsi], r15
jmp 0x1401f9c1b
mov rcx, rsi
call fcn.1401fcb40
movsxd r9, dword [rsp + 0x3c]
mov eax, dword [rsi + 8]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsi]
call fcn.1402ba94c
mov edx, dword [rsp + 0x3c]
mov rcx, rsi
call fcn.1401fde50
nop
cmp dword [rsp + 0x38], 0
jle 0x1401f9c43
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
jmp 0x1401f9c43
lea rdx, [rcx + 0x40]
mov rcx, rsi
call fcn.1401faa80
mov rax, rsi
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
Function at 0x140203c10
Capabilities:
Receive http response

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
mov rcx, qword [rcx + 0xb0]
xor r9d, r9d
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x140203c5d
mov rcx, qword [rbx + 0xb0]
mov edx, dword [rbx + 0x78]
mov rax, qword [rcx + 0x18]
add rcx, 0x18
call qword [rax + 8]
test al, al
je 0x140203c56
mov rax, qword [rbx + 0xb0]
mov eax, dword [rax + 0x58]
jmp 0x140203c63
mov eax, 0x2ee2
jmp 0x140203c63
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140203c7e
mov rcx, qword [rbx + 0xb0]
mov eax, dword [rcx + 0x5c]
mov dword [rcx + 0x5c], 0
add rsp, 0x40
pop rbx
ret
lea rcx, [rsp + 0x20]
mov edx, eax
call fcn.1400ebd30
lea rdx, [0x14040d570]
lea rcx, [rsp + 0x20]
call fcn.1402bece8
int3
Function at 0x140207990
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1f0
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rbx, rcx
xor edx, edx
lea rax, vtable.Core::Windows::Forms::EventHandlerList.0
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rdx
mov qword [rcx + 0x20], rdx
mov qword [rcx + 0x28], rdx
mov qword [rcx + 0x30], rdx
mov qword [rbx + 0x48], rdx
lea rcx, [0x140346ce0]
mov qword [rbx + 0x40], rcx
mov qword [rbx + 0x50], rdx
mov qword [rbx + 0x58], rdx
mov qword [rbx + 0x60], rdx
mov qword [rbx + 0x68], rdx
mov qword [rbx + 0x70], rdx
mov qword [rbx + 0x78], rax
mov qword [rbx + 0x88], rdx
mov qword [rbx + 0x90], rdx
mov dword [rbx + 0x98], edx
lea rax, vtable.Core::Dictionary_int__class_Delegate_class_Core::Windows::Forms::Control____ptr64__class_Core::EventArgs____ptr64_____ptr64_.0
mov qword [rbx + 0x80], rax
mov dword [rbx + 0x38], 0xffffffff
mov byte [rbx + 0x3f], 1
mov word [rbx + 0x3c], 0x101
lea rax, vtable.Core::Windows::Forms::RichTextBox.0
mov qword [rbx], rax
mov qword [rbx + 0xb8], rcx
mov qword [rbx + 0xc0], rdx
xor ecx, ecx
mov qword [rbx + 0xa8], 2
mov dword [rbx + 0xb0], 0xffffffff
mov word [rbx + 0xb4], 0x100
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 8
mov dword [rsp + 0x24], 0xff
mov rdi, rax
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
lea rcx, [rsp + 0xd0]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea r8, [0x1403543dc]
lea rcx, [rsp + 0xd0]
mov edx, 0x104
call fcn.1402b9720
lea r8, str.Riched20.dll
lea rcx, [rsp + 0xd0]
mov edx, 0x104
call fcn.1402b9720
xor edx, edx
lea rcx, [rsp + 0xd0]
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test rax, rax
je 0x140207b7f
lea r8, [rsp + 0x30]
lea rdx, str.RichEdit20W
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassInfoW]
test eax, eax
je 0x140207b7f
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x208], rsi
lea rsi, str.CoreForms20.RichTextBox
lea r8, [rsp + 0x80]
mov rdx, rsi
mov rcx, rdi
mov qword [rbx + 0xa0], rax
call qword [sym.imp.USER32.dll_GetClassInfoW]
test eax, eax
jne 0x140207b53
lea rax, [0x1401fa3d0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x38], rax
call qword [sym.imp.USER32.dll_RegisterClassW]
mov rsi, qword [rsp + 0x208]
mov rax, rbx
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.1402b6d40
mov rbx, qword [rsp + 0x210]
add rsp, 0x1f0
pop rdi
ret
mov rax, rbx
jmp 0x140207b5e
Function at 0x1402081e0
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x2c0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x2f0], rbx
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov ebx, edx
mov rdi, rcx
xor ebp, ebp
mov dword [rsp + 0x40], ebp
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x140208378
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9d, [rbp + 1]
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x140208378
mov r9d, ebx
lea r8, str.Illegal_enum_value:__d.
lea edx, [rbp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400cac50
lea ecx, [rbp + 0x28]
call fcn.1402b6dbc
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14020835e
lea rax, [rsp + 0x60]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1402082a0
mov qword [rsp + 0x38], rbp
lea rsi, [0x140346ce0]
test ebx, ebx
jne 0x1402082c1
mov qword [rsp + 0x30], rsi
jmp 0x1402082e8
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
mov dword [rsp + 0x40], 2
lea rax, vtable.Core::Exception.0
mov qword [rdi], rax
mov qword [rdi + 0x10], rbp
mov edx, dword [rsp + 0x3c]
test edx, edx
jne 0x140208319
mov qword [rdi + 8], rsi
jmp 0x14020833d
lea rcx, [rdi + 8]
call fcn.1401fcb40
movsxd r9, dword [rsp + 0x3c]
mov eax, dword [rdi + 0x10]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x30]
mov rcx, qword [rdi + 8]
call fcn.1402ba94c
mov edx, dword [rsp + 0x3c]
lea rcx, [rdi + 8]
call fcn.1401fde50
lea rax, vtable.Core::ArgumentException.0
mov qword [rdi], rax
mov qword [rdi + 0x18], rsi
mov qword [rdi + 0x20], rbp
jmp 0x140208361
mov rdi, rbp
mov qword [rsp + 0x48], rdi
lea rdx, [0x14040dc18]
lea rcx, [rsp + 0x48]
call fcn.1402bece8
nop
lea rax, [rsp + 0xa0]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], bp
jne 0x140208384
mov qword [rdi + 8], rbp
test ebx, ebx
jne 0x1402083a1
lea rsi, [0x140346ce0]
mov qword [rdi], rsi
jmp 0x1402083c6
mov edx, ebx
mov rcx, rdi
call fcn.1401fcb40
movsxd r9, ebx
mov ecx, dword [rdi + 8]
inc ecx
movsxd rdx, ecx
lea r8, [rsp + 0xa0]
mov rcx, qword [rdi]
call fcn.1402ba94c
mov edx, ebx
mov rcx, rdi
call fcn.1401fde50
mov rax, rdi
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1402b6d40
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2c0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140208400
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rdi, rcx
xor ecx, ecx
mov dword [rsp + 0x20], ecx
lea rax, [0x140346ce0]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov dword [rsp + 0x20], 1
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ebx, eax
mov edx, eax
mov rcx, rdi
call fcn.1401fcb40
mov rdx, qword [rdi]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, eax
mov rcx, rdi
call fcn.1401fde50
mov rax, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1402084c0
Capabilities:
Initialize winhttp library

Disassembly:
push rbx
sub rsp, 0x30
xor r9d, r9d
mov rbx, rcx
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rbx], rax
xor eax, eax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x14020a790
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x180
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r14d, r9d
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdx
lea rax, vtable.Core::FileStream.0
mov qword [rcx], rax
mov ebp, 0x80
cmp r9d, 2
jne 0x14020a7f3
mov rcx, qword [rdx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
cmovne ebp, eax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8d, dword [rsp + 0x1d0]
mov edx, esi
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 0x10], rax
cmp rax, 0xffffffffffffffff
jne 0x14020a882
mov word [rbx + 8], 0
mov byte [rbx + 0xa], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x104
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rdx, [0x14040d3f0]
lea rcx, [rsp + 0x40]
call fcn.1402bece8
int3
test esi, 0x80000000
setne al
mov byte [rbx + 8], al
mov edx, esi
shr edx, 0x1e
and dl, 1
mov byte [rbx + 9], dl
test esi, esi
setne dl
mov byte [rbx + 0xa], dl
cmp dword [rdi + 8], 0
jle 0x14020a8af
mov rcx, qword [rdi]
call fcn.1402b7350
mov rax, rbx
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1402b6d40
add rsp, 0x180
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14020a9c0
Capabilities:
Get file size

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0x10]
cmp rcx, 0xffffffffffffffff
jne 0x14020a9d5
or eax, ecx
add rsp, 0x28
ret
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov ecx, dword [rsp + 0x30]
or edx, 0xffffffff
test eax, eax
cmove ecx, edx
mov eax, ecx
add rsp, 0x28
ret

Function at 0x14020aa40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x10], 0xffffffffffffffff
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
jne 0x14020aa72
or eax, 0xffffffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rax, qword [rcx]
call qword [rax + 8]
test al, al
je 0x14020aa5f
mov rcx, qword [rbx + 0x10]
lea r9, [rsp + 0x40]
mov r8d, edi
mov rdx, rsi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14020aa5f
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14020aac0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x10], 0xffffffffffffffff
mov rdi, rdx
mov rbx, rcx
jne 0x14020aae4
xor al, al
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rax, qword [rcx]
call qword [rax + 8]
test al, al
je 0x14020aad7
mov rcx, qword [rbx + 0x10]
lea r9, [rsp + 0x40]
mov r8d, 1
mov rdx, rdi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x14020ab1b
cmp dword [rsp + 0x40], 0
je 0x14020aad7
mov al, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14020abb0
Capabilities:
Clear file content

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x10], 0xffffffffffffffff
mov rbx, rcx
je 0x14020abe2
mov rax, qword [rcx]
xor r8d, r8d
call qword [rax + 0x60]
test al, al
je 0x14020abe2
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14020abf0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x10], 0xffffffffffffffff
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
jne 0x14020ac22
or eax, 0xffffffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rax, qword [rcx]
call qword [rax + 0x10]
test al, al
jne 0x14020ac3e
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rbx + 0x10]
xor eax, eax
lea r9, [rsp + 0x40]
mov r8d, edi
mov rdx, rsi
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
or edx, 0xffffffff
test eax, eax
cmove ecx, edx
mov eax, ecx
add rsp, 0x30
pop rdi
ret

Function at 0x14020c5e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rdi, rdx
mov rbx, rcx
mov eax, 0x204e
cmp word [rdx + 0x10], ax
jne 0x14020c683
mov rcx, qword [rdx + 8]
mov eax, dword [rcx + 0x10]
cmp eax, 0xfffffffe
jne 0x14020c631
lea rax, vtable.Core::EventArgs.0
mov qword [rsp + 0x58], rax
mov rax, qword [rbx]
lea rdx, [rsp + 0x58]
mov rcx, rbx
call qword [rax + 0x120]
nop
jmp 0x14020c683
cmp eax, 0xffffff9b
jne 0x14020c683
mov r8d, dword [rcx + 0x18]
cmp r8d, 0xffffffff
je 0x14020c683
mov r9, qword [rcx + 0x38]
mov eax, dword [rcx + 0x24]
shr eax, 1
and al, 1
mov edx, dword [rcx + 0x20]
shr edx, 1
and dl, 1
cmp al, dl
je 0x14020c683
lea rax, vtable.Core::Windows::Forms::ListViewItemSelectionChangedEventArgs.0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], r9
mov dword [rsp + 0x38], r8d
mov byte [rsp + 0x3c], dl
mov rax, qword [rbx]
lea rdx, [rsp + 0x28]
mov rcx, rbx
call qword [rax + 0x128]
nop
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
jmp fcn.1401f9d40
Function at 0x140219930
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov eax, edx
mov edi, edx
shl rax, 4
mov ecx, 0x40
cmp rax, 0x400
cmova edi, ecx
cmp edi, dword [rbx]
jne 0x140219964
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x140428e20]
test rax, rax
je 0x140219972
call rax
shl edi, 4
mov ecx, edi
call fcn.140215780
mov rcx, qword [0x140428e28]
mov rdi, rax
test rcx, rcx
je 0x14021998d
call rcx
test rdi, rdi
je 0x140219957
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x38], rsi
call fcn.140215ac0
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [0x140419150]
xor edx, edx
mov rcx, rdi
movsxd rsi, eax
shr rsi, 4
mov r8d, esi
mov dword [rbx], esi
shl r8, 4
call fcn.1402bfa30
mov rcx, qword [rbx + 8]
xor r11d, r11d
mov qword [rbx + 8], r11
test rcx, rcx
je 0x140219aa7
mov qword [rsp + 0x30], rbp
lea rbp, [0x14032a100]
nop word [rax + rax]
mov r9d, dword [rcx + 0x20]
mov r10, qword [rcx + 0x18]
mov eax, r11d
test r9d, r9d
jle 0x140219a22
movzx edx, byte [r10]
dec r9d
lea r10, [r10 + 1]
movzx r8d, byte [rdx + rbp]
lea edx, [rax*8]
xor r8d, edx
xor eax, r8d
test r9d, r9d
jg 0x140219a00
mov r9, qword [rcx]
xor edx, edx
div esi
mov r8d, edx
shl r8, 4
add r8, rdi
je 0x140219a7a
mov eax, dword [r8]
test eax, eax
je 0x140219a42
mov rdx, qword [r8 + 8]
jmp 0x140219a45
mov rdx, r11
inc eax
mov qword [r8 + 8], rcx
mov dword [r8], eax
test rdx, rdx
je 0x140219a7a
mov qword [rcx], rdx
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rax, qword [rdx + 8]
test rax, rax
je 0x140219a70
mov qword [rax], rcx
mov qword [rdx + 8], rcx
jmp 0x140219a96
mov qword [rbx + 8], rcx
mov qword [rdx + 8], rcx
jmp 0x140219a96
mov rax, qword [rbx + 8]
mov qword [rcx], rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x140219a8e
mov qword [rax + 8], rcx
mov qword [rcx + 8], r11
mov qword [rbx + 8], rcx
mov rcx, r9
test r9, r9
jne 0x1402199f0
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x140219c20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r15
sub rsp, 0x20
mov rbp, r9
mov r9d, dword [rcx]
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
lea r12, [0x14032a100]
test r9d, r9d
je 0x140219c8a
xor eax, eax
mov r10, rdx
test r8d, r8d
jle 0x140219c80
nop dword [rax]
movzx ecx, byte [r10]
dec r8d
lea r10, [r10 + 1]
movzx edx, byte [rcx + r12]
lea ecx, [rax*8]
xor edx, ecx
xor eax, edx
test r8d, r8d
jg 0x140219c60
xor edx, edx
div r9d
mov r15d, edx
jmp 0x140219c8d
xor r15d, r15d
mov r9d, r15d
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call fcn.140219ac0
mov rdx, rax
test rax, rax
je 0x140219d2a
mov rdi, qword [rax + 0x10]
test rbp, rbp
jne 0x140219d1a
mov rax, qword [rax + 8]
test rax, rax
je 0x140219cc4
mov rcx, qword [rdx]
mov qword [rax], rcx
jmp 0x140219ccb
mov rax, qword [rdx]
mov qword [rbx + 8], rax
mov rcx, qword [rdx]
test rcx, rcx
je 0x140219cdb
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140219cfd
mov ecx, r15d
shl rcx, 4
add rcx, rax
cmp qword [rcx + 8], rdx
jne 0x140219cfb
mov rax, qword [rdx]
mov qword [rcx + 8], rax
dec dword [rcx]
mov rcx, rdx
call fcn.140215ac0
dec dword [rbx + 4]
jne 0x140219d22
mov rcx, rbx
call fcn.1402197d0
mov rax, rdi
jmp 0x140219dfb
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, rdi
jmp 0x140219dfb
test rbp, rbp
jne 0x140219d36
xor eax, eax
jmp 0x140219dfb
mov ecx, 0x28
mov qword [rsp + 0x40], r14
call fcn.140215780
mov r14, rax
test rax, rax
jne 0x140219d55
mov rax, rbp
jmp 0x140219df6
mov qword [rax + 0x18], rsi
mov dword [rax + 0x20], edi
mov qword [rax + 0x10], rbp
inc dword [rbx + 4]
mov edx, dword [rbx + 4]
cmp edx, 0xa
jb 0x140219db4
mov eax, dword [rbx]
add eax, eax
cmp edx, eax
jbe 0x140219db4
add edx, edx
mov rcx, rbx
call fcn.140219930
test eax, eax
je 0x140219db4
xor eax, eax
test edi, edi
jle 0x140219dad
nop word [rax + rax]
movzx ecx, byte [rsi]
dec edi
lea rsi, [rsi + 1]
movzx edx, byte [rcx + r12]
lea ecx, [rax*8]
xor edx, ecx
xor eax, edx
test edi, edi
jg 0x140219d90
xor edx, edx
div dword [rbx]
mov r15d, edx
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x140219dd4
mov edx, r15d
mov r8, r14
mov rcx, rbx
shl rdx, 4
add rdx, rax
call fcn.1402198c0
jmp 0x140219df4
mov rax, qword [rbx + 8]
mov qword [r14], rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x140219de8
mov qword [rax + 8], r14
mov qword [r14 + 8], 0
mov qword [rbx + 8], r14
xor eax, eax
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r12
pop rdi
ret