joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401fbbb0
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.1400ed8e0
mov rdi, rax
test rax, rax
je 0x1401fbccc
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 0x1401fbcbe
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 0x1401fbcbe
lea rax, [0x14034d1a0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbp
lea r8, [rsp + 0x38]
lea rdx, str.ProxyServer
mov rcx, rdi
call fcn.1400d9fd0
test al, al
je 0x1401fbcaa
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 0x1401fbcbe
mov rcx, qword [rsp + 0x38]
call fcn.1402bd0e0
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 0x1401fbce0
Capabilities:
Get common file path
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
mov rdx, qword [rcx + 0x58]
add rcx, 0x58
test rdx, rdx
je 0x1401fbd07
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x1401fbcf1
test rax, rax
je 0x1401fbd07
xor edx, edx
jmp fcn.1401fbea0
xor ecx, ecx
jmp fcn.1401fbd10
Function at 0x1401ff8b0
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 0x1401ff997
lea r15, [0x14034d1a0]
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 0x1401ff944
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.1402028a0
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.140203bb0
mov qword [rsi + 8], rbp
mov edx, dword [rsp + 0x3c]
test edx, edx
jne 0x1401ff955
mov qword [rsi], r15
jmp 0x1401ff97b
mov rcx, rsi
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rsp + 0x3c]
mov rcx, rsi
call fcn.140203bb0
nop
cmp dword [rsp + 0x38], 0
jle 0x1401ff9a3
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
jmp 0x1401ff9a3
lea rdx, [rcx + 0x40]
mov rcx, rsi
call fcn.1402007e0
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 0x140209900
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 0x14020994d
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 0x140209946
mov rax, qword [rbx + 0xb0]
mov eax, dword [rax + 0x58]
jmp 0x140209953
mov eax, 0x2ee2
jmp 0x140209953
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14020996e
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.1400ee540
lea rdx, [0x140415900]
lea rcx, [rsp + 0x20]
call fcn.1402c4a18
int3
Function at 0x14020dfa0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1f0
mov rax, qword [0x14041da10]
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, [0x14034d1a0]
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, [0x14035aae4]
lea rcx, [rsp + 0xd0]
mov edx, 0x104
call fcn.1402bf4b0
lea r8, str.Riched20.dll
lea rcx, [rsp + 0xd0]
mov edx, 0x104
call fcn.1402bf4b0
xor edx, edx
lea rcx, [rsp + 0xd0]
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test rax, rax
je 0x14020e18f
lea r8, [rsp + 0x30]
lea rdx, str.RichEdit20W
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassInfoW]
test eax, eax
je 0x14020e18f
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 0x14020e163
lea rax, [0x140200130]
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.1402bcad0
mov rbx, qword [rsp + 0x210]
add rsp, 0x1f0
pop rdi
ret
mov rax, rbx
jmp 0x14020e16e
Function at 0x14020e790
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 [0x14041da10]
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 0x14020e928
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 0x14020e928
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.1402bcb4c
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14020e90e
lea rax, [rsp + 0x60]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14020e850
mov qword [rsp + 0x38], rbp
lea rsi, [0x14034d1a0]
test ebx, ebx
jne 0x14020e871
mov qword [rsp + 0x30], rsi
jmp 0x14020e898
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140203bb0
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 0x14020e8c9
mov qword [rdi + 8], rsi
jmp 0x14020e8ed
lea rcx, [rdi + 8]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rsp + 0x3c]
lea rcx, [rdi + 8]
call fcn.140203bb0
lea rax, vtable.Core::ArgumentException.0
mov qword [rdi], rax
mov qword [rdi + 0x18], rsi
mov qword [rdi + 0x20], rbp
jmp 0x14020e911
mov rdi, rbp
mov qword [rsp + 0x48], rdi
lea rdx, [0x140415fd0]
lea rcx, [rsp + 0x48]
call fcn.1402c4a18
nop
lea rax, [rsp + 0xa0]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], bp
jne 0x14020e934
mov qword [rdi + 8], rbp
test ebx, ebx
jne 0x14020e951
lea rsi, [0x14034d1a0]
mov qword [rdi], rsi
jmp 0x14020e976
mov edx, ebx
mov rcx, rdi
call fcn.1402028a0
movsxd r9, ebx
mov ecx, dword [rdi + 8]
inc ecx
movsxd rdx, ecx
lea r8, [rsp + 0xa0]
mov rcx, qword [rdi]
call fcn.1402c06dc
mov edx, ebx
mov rcx, rdi
call fcn.140203bb0
mov rax, rdi
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.1402bcad0
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2c0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14020e9b0
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, [0x14034d1a0]
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.1402028a0
mov rdx, qword [rdi]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, eax
mov rcx, rdi
call fcn.140203bb0
mov rax, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14020ea70
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 0x140210580
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 [0x14041da10]
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 0x1402105e3
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 0x140210672
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, [0x140415780]
lea rcx, [rsp + 0x40]
call fcn.1402c4a18
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 0x14021069f
mov rcx, qword [rdi]
call fcn.1402bd0e0
mov rax, rbx
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1402bcad0
add rsp, 0x180
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1402107b0
Capabilities:
Get file size

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx + 0x10]
cmp rcx, 0xffffffffffffffff
jne 0x1402107c5
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 0x140210830
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 0x140210862
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 0x14021084f
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 0x14021084f
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1402108b0
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 0x1402108d4
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 0x1402108c7
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 0x14021090b
cmp dword [rsp + 0x40], 0
je 0x1402108c7
mov al, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1402109a0
Capabilities:
Clear file content

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x10], 0xffffffffffffffff
mov rbx, rcx
je 0x1402109d2
mov rax, qword [rcx]
xor r8d, r8d
call qword [rax + 0x60]
test al, al
je 0x1402109d2
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 0x1402109e0
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 0x140210a12
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 0x140210a2e
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 0x140212720
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 0x1402127c3
mov rcx, qword [rdx + 8]
mov eax, dword [rcx + 0x10]
cmp eax, 0xfffffffe
jne 0x140212771
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 0x1402127c3
cmp eax, 0xffffff9b
jne 0x1402127c3
mov r8d, dword [rcx + 0x18]
cmp r8d, 0xffffffff
je 0x1402127c3
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 0x1402127c3
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.1401ffaa0
Function at 0x14021f660
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 0x14021f694
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x140430ee0]
test rax, rax
je 0x14021f6a2
call rax
shl edi, 4
mov ecx, edi
call fcn.14021b4b0
mov rcx, qword [0x140430ee8]
mov rdi, rax
test rcx, rcx
je 0x14021f6bd
call rcx
test rdi, rdi
je 0x14021f687
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x38], rsi
call fcn.14021b7f0
mov rcx, rdi
mov qword [rbx + 0x10], rdi
call qword [0x140421150]
xor edx, edx
mov rcx, rdi
movsxd rsi, eax
shr rsi, 4
mov r8d, esi
mov dword [rbx], esi
shl r8, 4
call fcn.1402c5760
mov rcx, qword [rbx + 8]
xor r11d, r11d
mov qword [rbx + 8], r11
test rcx, rcx
je 0x14021f7d7
mov qword [rsp + 0x30], rbp
lea rbp, [0x1403301f0]
nop word [rax + rax]
mov r9d, dword [rcx + 0x20]
mov r10, qword [rcx + 0x18]
mov eax, r11d
test r9d, r9d
jle 0x14021f752
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 0x14021f730
mov r9, qword [rcx]
xor edx, edx
div esi
mov r8d, edx
shl r8, 4
add r8, rdi
je 0x14021f7aa
mov eax, dword [r8]
test eax, eax
je 0x14021f772
mov rdx, qword [r8 + 8]
jmp 0x14021f775
mov rdx, r11
inc eax
mov qword [r8 + 8], rcx
mov dword [r8], eax
test rdx, rdx
je 0x14021f7aa
mov qword [rcx], rdx
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rax, qword [rdx + 8]
test rax, rax
je 0x14021f7a0
mov qword [rax], rcx
mov qword [rdx + 8], rcx
jmp 0x14021f7c6
mov qword [rbx + 8], rcx
mov qword [rdx + 8], rcx
jmp 0x14021f7c6
mov rax, qword [rbx + 8]
mov qword [rcx], rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x14021f7be
mov qword [rax + 8], rcx
mov qword [rcx + 8], r11
mov qword [rbx + 8], rcx
mov rcx, r9
test r9, r9
jne 0x14021f720
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 0x14021f950
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, [0x1403301f0]
test r9d, r9d
je 0x14021f9ba
xor eax, eax
mov r10, rdx
test r8d, r8d
jle 0x14021f9b0
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 0x14021f990
xor edx, edx
div r9d
mov r15d, edx
jmp 0x14021f9bd
xor r15d, r15d
mov r9d, r15d
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call fcn.14021f7f0
mov rdx, rax
test rax, rax
je 0x14021fa5a
mov rdi, qword [rax + 0x10]
test rbp, rbp
jne 0x14021fa4a
mov rax, qword [rax + 8]
test rax, rax
je 0x14021f9f4
mov rcx, qword [rdx]
mov qword [rax], rcx
jmp 0x14021f9fb
mov rax, qword [rdx]
mov qword [rbx + 8], rax
mov rcx, qword [rdx]
test rcx, rcx
je 0x14021fa0b
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14021fa2d
mov ecx, r15d
shl rcx, 4
add rcx, rax
cmp qword [rcx + 8], rdx
jne 0x14021fa2b
mov rax, qword [rdx]
mov qword [rcx + 8], rax
dec dword [rcx]
mov rcx, rdx
call fcn.14021b7f0
dec dword [rbx + 4]
jne 0x14021fa52
mov rcx, rbx
call fcn.14021f500
mov rax, rdi
jmp 0x14021fb2b
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, rdi
jmp 0x14021fb2b
test rbp, rbp
jne 0x14021fa66
xor eax, eax
jmp 0x14021fb2b
mov ecx, 0x28
mov qword [rsp + 0x40], r14
call fcn.14021b4b0
mov r14, rax
test rax, rax
jne 0x14021fa85
mov rax, rbp
jmp 0x14021fb26
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 0x14021fae4
mov eax, dword [rbx]
add eax, eax
cmp edx, eax
jbe 0x14021fae4
add edx, edx
mov rcx, rbx
call fcn.14021f660
test eax, eax
je 0x14021fae4
xor eax, eax
test edi, edi
jle 0x14021fadd
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 0x14021fac0
xor edx, edx
div dword [rbx]
mov r15d, edx
mov rax, qword [rbx + 0x10]
test rax, rax
je 0x14021fb04
mov edx, r15d
mov r8, r14
mov rcx, rbx
shl rdx, 4
add rdx, rax
call fcn.14021f5f0
jmp 0x14021fb24
mov rax, qword [rbx + 8]
mov qword [r14], rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x14021fb18
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
Function at 0x140238df0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov r15, rcx
mov r14d, edx
mov r11, qword [rax + 8]
mov rax, qword [rcx + 0x28]
mov r12d, r9d
mov r8d, dword [r11 + 0x30]
mov r10, qword [rax + 8]
mov r13, qword [r11]
movsxd rax, dword [r10 + 0x30]
mov ecx, r8d
mov dword [rsp + 0x78], r8d
cmp eax, r8d
mov qword [rsp + 0x28], rax
cmovl ecx, eax
xor ebx, ebx
mov dword [rsp + 0x70], ecx
mov rcx, rax
imul r14, rax
cmp eax, r8d
je 0x140238e58
cmp byte [r13 + 0x12], bl
mov eax, 8
cmovne ebx, eax
mov rdi, r14
sub rdi, rcx
test ebx, ebx
jne 0x140238f7e
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x30], rsi
cmp rdi, r14
jge 0x140238f60
mov rax, rdi
movsxd rbp, r8d
mov qword [rsp + 0x20], 0
cqo
idiv rbp
mov rsi, rdx
xor edx, edx
lea r10d, [rax + 1]
mov rax, qword [r15 + 8]
mov rcx, qword [rax + 8]
mov eax, dword [0x14041eee4]
div dword [rcx + 0x30]
inc eax
cmp r10d, eax
je 0x140238f55
lea r8, [rsp + 0x20]
xor r9d, r9d
mov edx, r10d
mov rcx, r13
call fcn.140229650
mov ebx, eax
test eax, eax
jne 0x140238f41
mov rcx, qword [rsp + 0x20]
call fcn.140229e30
mov ebx, eax
test eax, eax
jne 0x140238f41
mov rax, qword [rsp + 0x20]
movsxd r8, dword [rsp + 0x70]
add rsi, qword [rax + 8]
mov rax, rdi
cqo
mov rcx, rsi
idiv qword [rsp + 0x28]
add rdx, qword [rsp + 0x80]
call fcn.1402bd1f0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x10]
mov byte [rcx], bl
test rdi, rdi
jne 0x140238f41
test r12d, r12d
jne 0x140238f41
mov rax, qword [r15 + 0x28]
mov rcx, qword [rax + 8]
mov edx, dword [rcx + 0x3c]
mov eax, edx
mov byte [rsi + 0x1f], dl
shr eax, 0x18
mov byte [rsi + 0x1c], al
mov eax, edx
shr eax, 0x10
mov byte [rsi + 0x1d], al
mov eax, edx
shr eax, 8
mov byte [rsi + 0x1e], al
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140238f50
call fcn.1402299c0
mov r8d, dword [rsp + 0x78]
add rdi, rbp
test ebx, ebx
je 0x140238e73
mov rbp, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x30]
mov eax, ebx
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
ret
mov eax, ebx
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
ret