joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000eef0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000b422
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000c050
test al, al
jne 0x14000b434
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000b3f0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x67
mov dword [rbp - 0x20], 0x360002
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x2b0020
mov dword [rbp - 0x18], 0x230035
mov dword [rbp - 0x14], 0x350030
mov dword [rbp - 0x10], 0x2b003a
call fcn.140004fd0
mov rcx, rax
call 0x14000b3c0
mov qword [0x1400161b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x69
mov dword [rbp - 0x20], 0x360002
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x2b0020
mov dword [rbp - 0x18], 0x230035
mov dword [rbp - 0x14], 0x460041
call fcn.1400022a0
mov rcx, rax
call 0x14000b3c0
lea rcx, [rbp - 0x20]
mov qword [0x1400161a8], rax
mov dword [rbp - 0x20], 0x70027
mov dword [rbp - 0x1c], 0x90016
mov dword [rbp - 0x18], 0x6f001c
call fcn.140004e60
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000b3c0
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x004431b0]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x004431c0]
mov dword [rax], 1
mov rax, qword [0x004431d0]
mov dword [rax], 1
mov rax, qword [0x004431a0]
mov dword [rax], 1
mov rax, qword [0x00442ff0]
cmp word [rax], 0x5a4d
jne 0x401067
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x4010d0
mov rax, qword [0x00443190]
mov dword [0x00448020], ecx
mov eax, dword [rax]
test eax, eax
je 0x4010c0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x00443110]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x004430f0]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x00442fa0]
cmp dword [rax], 1
je 0x401108
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x401084
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x401120
cmp dx, 0x20b
jne 0x401067
cmp dword [rax + 0x84], 0xe
jbe 0x401067
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x401067
lea rcx, [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x401067
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x401067

Function at 0x4047e0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov r14, qword [0x00443170]
lea rax, str.echoBinSafe
lea rbp, str._usr_lib_nim_system_io.nim
mov rsi, rdx
xor edx, edx
mov r12, rcx
mov qword [rsp + 0x28], rax
mov word [rsp + 0x40], dx
mov rdx, qword [r14]
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], 0
test rdx, rdx
je 0x404938
movzx eax, word [rdx + 0x22]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x20]
mov qword [r14], rdx
add eax, 1
mov word [rsp + 0x42], ax
cmp ax, 0x7d0
je 0x404928
test rsi, rsi
jle 0x4048b8
mov qword [rsp + 0x30], 0x321
mov rdi, qword [dbg.__acrt_iob_func]
xor ebx, ebx
lea r13, [rsi - 1]
mov qword [rsp + 0x38], rbp
mov r15, qword [r12 + rbx*8]
mov ecx, 1
add rbx, 1
call rdi
xor r8d, r8d
mov rcx, rax
mov rdx, r15
call sym.writeWindows__systemZio_205
cmp rbx, rsi
je 0x4048bf
mov qword [rsp + 0x30], 0x321
mov qword [rsp + 0x38], rbp
jb 0x404874
mov rdx, r13
mov rcx, rbx
call sym.raiseIndexError2
jmp 0x404874
mov rdi, qword [dbg.__acrt_iob_func]
mov qword [rsp + 0x30], 0x327
mov ecx, 1
mov qword [rsp + 0x38], rbp
call rdi
mov r8d, 1
mov edx, 1
lea rcx, [0x0043f4fa]
mov r9, rax
call sym.fwrite
mov qword [rsp + 0x38], rbp
mov ecx, 1
mov qword [rsp + 0x30], 0x328
call rdi
mov rcx, rax
call sym.fflush
mov rax, qword [r14]
mov rax, qword [rax]
mov qword [r14], rax
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
call sym.callDepthLimitReached__system_3004
jmp 0x404854
mov qword [rsp + 0x20], 0
xor eax, eax
mov word [rsp + 0x42], ax
lea rax, [rsp + 0x20]
mov qword [r14], rax
jmp 0x404854
Function at 0x404b20
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x28
xor r8d, r8d
mov r13, rcx
mov r12, rdx
test rdx, rdx
je 0x404b41
mov rcx, rdx
call sym.strlen
mov r8, rax
mov rcx, r12
mov r9, r13
mov edx, 1
call sym.fwrite
mov rcx, r13
add rsp, 0x28
pop r12
pop r13
jmp sym.fflush

Function at 0x41c940
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rbp, qword [0x00443170]
lea rax, str.find
lea rsi, str._usr_lib_nim_pure_strutils.nim
mov rdi, rdx
xor edx, edx
mov qword [rsp + 0x28], rax
mov r14, rcx
mov word [rsp + 0x40], dx
mov rdx, qword [rbp]
mov rbx, r8
mov r13, r9
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], 0
test rdx, rdx
je 0x41cb08
movzx eax, word [rdx + 0x22]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x20]
mov qword [rbp], rdx
add eax, 1
mov word [rsp + 0x42], ax
cmp ax, 0x7d0
je 0x41caf0
test r13, r13
jne 0x41c9d2
mov r13, 0xffffffffffffffff
test r14, r14
je 0x41c9d2
mov rax, qword [r14]
lea r13, [rax - 1]
lea r12, [0x00440bf0]
jmp 0x41c9ea
test rax, rax
jns 0x41ca52
call sym.raiseOverflow
cmp r13, rbx
jl 0x41cabe
test r14, r14
je 0x41ca5c
mov rdx, qword [r14]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], 0x766
cmp rdx, rbx
ja 0x41ca1a
sub rdx, 1
mov rcx, rbx
call sym.raiseIndexError2
movzx eax, byte [r14 + rbx + 0x10]
mov edx, eax
and eax, 7
shr dl, 3
movzx edx, dl
movzx edx, byte [rdi + rdx]
bt edx, eax
jb 0x41cb00
lea rax, [rbx + 1]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], 0x5d
mov rcx, rax
xor rcx, rbx
js 0x41c9e0
cmp r13, rax
jl 0x41cabe
mov rbx, rax
jmp 0x41c9f8
mov rdx, 0xffffffffffffffff
mov rcx, rbx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], 0x766
call sym.raiseIndexError2
movzx eax, byte [rbx + 0x10]
mov edx, eax
and eax, 7
shr dl, 3
movzx edx, dl
movzx edx, byte [rdi + rdx]
bt edx, eax
jb 0x41cb00
lea rax, [rbx + 1]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], 0x5d
mov rcx, rax
xor rcx, rbx
jns 0x41cab4
test rax, rax
js 0x41c9e5
cmp r13, rax
jl 0x41cabe
mov rbx, rax
jmp 0x41ca5c
mov qword [rsp + 0x30], 0x767
mov rax, 0xffffffffffffffff
mov qword [rsp + 0x38], rsi
mov rdx, qword [rbp]
mov rdx, qword [rdx]
mov qword [rbp], rdx
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
call sym.callDepthLimitReached__system_3004
jmp 0x41c9ba
mov rax, rbx
jmp 0x41cad3
mov qword [rsp + 0x20], 0
xor eax, eax
mov word [rsp + 0x42], ax
lea rax, [rsp + 0x20]
mov qword [rbp], rax
jmp 0x41c9ba

Function at 0x437240
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sym.vfprintf
call sym.abort
nop
nop word [rax + rax]
Function at 0x4372b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x0045b684]
mov r12, rcx
test ebx, ebx
jle 0x4373e0
mov rax, qword [0x0045b688]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x4372fc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x437383
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x4372e0
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rsi, rax
test rax, rax
je 0x437402
mov rax, qword [0x0045b688]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call dbg._GetPEImageBase
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x0045b688]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x4373e7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x43737c
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x437390
add dword [0x0045b684], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x0045b688]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x43737c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor ebx, ebx
jmp 0x437307
mov rax, qword [0x0045b688]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x4378d0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x0045b6e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x0045b6c0]
test rbx, rbx
je 0x437924
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x43791b
test r12, r12
je 0x43791b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x437900
lea rcx, [0x0045b6e0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x437b40
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x437b58
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x437b60
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x437b70
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
mov r8, rdx
lea rdx, [rax + rcx]
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x437bbc
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov ecx, dword [rax + 0xc]
mov rdx, rcx
cmp rcx, r8
ja 0x437bb3
add edx, dword [rax + 8]
cmp rdx, r8
ja 0x437bbe
add rax, 0x28
cmp rax, r9
jne 0x437ba0
xor eax, eax
ret

Function at 0x437bc0
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x437c50
mov rdx, qword [0x00442ff0]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x437c3e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x437c3e
cmp word [rax + 0x18], 0x20b
jne 0x437c3e
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x437c50
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x437c29
add r12, 0x28
cmp r12, rsi
je 0x437c50
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x437c20
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

Function at 0x437c60
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x00442ff0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x437c80
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x437c88
ret
cmp word [r8 + 0x18], 0x20b
jne 0x437c80
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x437cd5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x437ccc
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x437c80
add rax, 0x28
cmp rax, r9
jne 0x437cb8
xor eax, eax
ret

Function at 0x437ce0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x00442ff0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x437d00
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x437d08
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x437d00
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x437d20
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x00442ff0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x437d40
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x437d48
ret
cmp word [rdx + 0x18], 0x20b
jne 0x437d40
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x437d88
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x437d7f
test rcx, rcx
je 0x437d40
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x437d70
xor eax, eax
ret

Function at 0x437d90
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x00442ff0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x437db0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x437db8
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x437dd0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x00442ff0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x437df0
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x437df8
mov eax, r8d
ret
cmp word [rdx + 0x18], 0x20b
jne 0x437df0
sub rcx, rax
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x437df0
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x437e34
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x437e48
add rax, 0x28
cmp r9, rax
jne 0x437e20
xor r8d, r8d
mov eax, r8d
ret
mov r8d, dword [rax + 0x24]
not r8d
shr r8d, 0x1f
mov eax, r8d
ret

Function at 0x437e60
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x00442ff0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x437e82
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x437e90
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x437e82
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x437e82
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x437e82
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x437edd
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x437ef0
add rdx, 0x28
cmp r10, rdx
jne 0x437ec8
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x437eff
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x437f0f
mov edx, dword [rax + 0xc]
test edx, edx
je 0x437ee6
test ecx, ecx
jg 0x437ef8
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140001180
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 6]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, [0x14000f090]
mov r10, rax
sub rbx, rax
movabs rdi, 0xafb321a1496fdf0f
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rcx, r8
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 1]
mov byte [r9 - 1], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [rbx + r9]
mov byte [r9], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 + 1]
mov byte [r9 + 1], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 + 2]
mov byte [r9 + 2], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 + 3]
mov byte [r9 + 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 6]
xor al, byte [rbx + r9 + 4]
mov byte [r9 + 4], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 7]
xor al, byte [rbx + r9 + 5]
mov byte [r9 + 5], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 8]
xor al, byte [rbx + r9 + 6]
mov byte [r9 + 6], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 + 7]
mov byte [r9 + 7], al
lea rcx, [r8 + 9]
mov rax, rdi
lea r9, [r9 + 0xe]
mul rcx
add r11d, 0xe
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xa]
xor al, byte [rbx + r9 - 6]
mov byte [r9 - 6], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xb]
xor al, byte [rbx + r9 - 5]
mov byte [r9 - 5], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xc]
xor al, byte [rbx + r9 - 4]
mov byte [r9 - 4], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xd]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r11d, 0xe
jb 0x1400011d0
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001400
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x72]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r10d, r10d
lea rsi, [0x14000f090]
mov r11, rax
sub rbx, rax
movabs rdi, 0xafb321a1496fdf0f
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r10d
lea r9, [r9 + 2]
mov rax, rdi
mov rcx, r8
mul r8
add r10d, 2
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r10d, 0x7a
jb 0x140001450
mov rbx, qword [rsp + 0x30]
mov rax, r11
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400014c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, [0x14000f090]
mov r10, rax
sub rbx, rax
movabs rdi, 0xafb321a1496fdf0f
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rcx, r8
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 1]
mov byte [r9 - 1], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [rbx + r9]
mov byte [r9], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 + 1]
mov byte [r9 + 1], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 + 2]
mov byte [r9 + 2], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 + 3]
mov byte [r9 + 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 6]
xor al, byte [rbx + r9 + 4]
mov byte [r9 + 4], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 7]
xor al, byte [rbx + r9 + 5]
mov byte [r9 + 5], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 8]
xor al, byte [rbx + r9 + 6]
mov byte [r9 + 6], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 + 7]
mov byte [r9 + 7], al
lea rcx, [r8 + 9]
mov rax, rdi
lea r9, [r9 + 0xb]
mul rcx
add r11d, 0xb
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 0xa]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r11d, 0xb
jb 0x140001510
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001770
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx - 6]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r10d, r10d
lea rsi, [0x14000f210]
mov r11, rax
sub rbx, rax
movabs rdi, 0xafb321a1496fdf0f
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r10d
lea r9, [r9 + 2]
mov rax, rdi
mov rcx, r8
mul r8
add r10d, 2
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
shr rdx, 8
imul rax, rdx, 0x175
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r10d, 2
jb 0x1400017c0
mov rbx, qword [rsp + 0x30]
mov rax, r11
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret