joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff6052b0d70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r15d, r15d
sub rax, 0x34
mov qword [rcx + 0x78], r15
mov qword [rcx + 0x28], rax
mov r14d, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r15w
lea ebp, [r15 - 1]
mov dword [rcx + 0x3c], r15d
mov edi, r15d
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r15w
cmp r15w, word [rcx + 0xb8]
jge 0x7ff6052b0eab
mov esi, r15d
mov rax, qword [rbx + 0xd0]
lea edx, [rbp + 1]
mov dword [rbx + 0x88], r15d
mov r9d, r14d
mov qword [rbx + 0x80], r15
mov rcx, rbx
movsx ebp, word [rsi + rax]
mov r8d, ebp
call fcn.7ff6052b1240
test al, al
jne 0x7ff6052b0f46
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
lea eax, [r8 - 1]
test edx, eax
jne 0x7ff6052b0e3f
cmp edx, dword [rbx + 0x60]
jl 0x7ff6052b0e3f
cmp edx, dword [rbx + 0x64]
jg 0x7ff6052b0e3f
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x7ff6052b0e3f
mov rax, qword [rbx + 0x70]
movzx ecx, byte [rcx + 0x18]
xor cl, byte [rax + 0x18]
test cl, 8
jne 0x7ff6052b0e3f
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x7ff6052b0e62
test byte [r9 + 0x18], 8
je 0x7ff6052b0e62
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x7ff6052b0e73
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.7ff6052b1c10
test al, al
jne 0x7ff6052b0f46
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x7ff6052b0e96
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xb8]
inc edi
add rsi, 2
cmp edi, eax
jl 0x7ff6052b0dd3
movzx edi, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp di, 1
jbe 0x7ff6052b0f4a
test rdx, rdx
je 0x7ff6052b0f4a
mov ebp, 0xffff
nop dword [rax + rax]
lea rsi, [rdx + 8]
cmp di, 1
jbe 0x7ff6052b0ee8
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x7ff6052b0eeb
mov r10, r15
mov qword [rsi], r10
test byte [rdx + 0x18], 8
mov r11d, dword [rdx + 0x20]
mov r8d, r11d
mov eax, dword [rdx + 0x1c]
je 0x7ff6052b0f06
dec r11d
add r11d, eax
jmp 0x7ff6052b0f1d
sub r8d, eax
inc r8d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.7ff6052b1f30
test al, al
jne 0x7ff6052b0f46
lea edx, [r11 + 1]
mov rcx, rbx
call fcn.7ff6052b1f30
test al, al
jne 0x7ff6052b0f46
mov rdx, qword [rsi]
add di, bp
jne 0x7ff6052b0ed0
jmp 0x7ff6052b0f4e
mov al, 1
jmp 0x7ff6052b0f59
mov qword [rbx + 0x78], r15
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x7ff6052b6ff0
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x7ff6052b700c
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.kernel32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x7ff6052b7060
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetFileSizeEx]
test eax, eax
je 0x7ff6052b7185
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x7ff6052b7185
test rax, rax
je 0x7ff6052b7185
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.kernel32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x7ff6052b7185
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.kernel32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.kernel32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x7ff6052b70fa
lea rax, [0x7ff6052b71e0]
jmp 0x7ff6052b7153
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x7ff6052b7185
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x7ff6052b7173
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x7ff6052b7120
lea rax, [0x7ff6052b71b0]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x7ff6052b719a
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x7ff6052b88f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x7ff6052b88fb
xor eax, eax
ret
lea r11, [0x7ff605461bc0]
not ecx
cmp r8d, 8
jb 0x7ff6052b89d1
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x7ff6052b8920
test r8d, r8d
je 0x7ff6052b89fd
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x7ff6052b89e0
not ecx
mov eax, ecx
ret
Function at 0x7ff6052c6150
Capabilities:
Set thread local storage value

Disassembly:
mov eax, 0x28
call fcn.7ff60542b960
sub rsp, rax
mov ecx, dword [rcx]
call qword [sym.imp.kernel32.dll_TlsSetValue]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
add rsp, 0x28
ret
Function at 0x7ff6052d3960
Capabilities:
Initialize winsock library

Disassembly:
mov eax, 0x28
call fcn.7ff60542b960
sub rsp, rax
cmp dword [0x7ff605747540], 0
jne 0x7ff6052d3a1a
xor edx, edx
mov dword [0x7ff605747540], 1
mov r8d, 0x198
lea rcx, [0x7ff605747550]
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x202
lea rdx, [0x7ff605747550]
call qword [sym.imp.ws2_32.dll_WSAStartup]
test eax, eax
je 0x7ff6052d3a1a
call fcn.7ff6052cc7d0
lea r8, [0x7ff605481ed0]
mov edx, 0x94
lea rcx, [0x7ff605481eb8]
call fcn.7ff6052cc8f0
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
lea r8, [0x7ff605481ee0]
mov ecx, 2
mov edx, eax
call fcn.7ff6052cc9f0
call fcn.7ff6052cc7d0
lea r8, [0x7ff605481ed0]
mov edx, 0x96
lea rcx, [0x7ff605481eb8]
call fcn.7ff6052cc8f0
xor r8d, r8d
lea edx, [r8 + 0x7a]
lea ecx, [rdx - 0x5a]
call fcn.7ff6052cc9f0
mov eax, 0xffffffff
add rsp, 0x28
ret
mov eax, 1
add rsp, 0x28
ret

Function at 0x7ff6052d3a30
Capabilities:
Set socket configuration

Disassembly:
push rbx
mov eax, 0x20
call fcn.7ff60542b960
sub rsp, rax
mov dword [rsp + 0x30], edx
lea r8, [rsp + 0x30]
mov edx, 0x8004667e
movsxd rcx, ecx
call qword [sym.imp.ws2_32.dll_ioctlsocket]
mov ebx, eax
test eax, eax
jns 0x7ff6052d3a92
call fcn.7ff6052cc7d0
lea r8, [0x7ff605481ef8]
mov edx, 0xd1
lea rcx, [0x7ff605481eb8]
call fcn.7ff6052cc8f0
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
lea r8, [0x7ff605481f10]
mov ecx, 2
mov edx, eax
call fcn.7ff6052cc9f0
xor eax, eax
test ebx, ebx
sete al
add rsp, 0x20
pop rbx
ret

Function at 0x7ff6052d3aa0
Capabilities:
Get socket status

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x260
call fcn.7ff60542b960
sub rsp, rax
mov rax, qword [0x7ff60566c600]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov edi, ecx
mov rbx, r8
mov esi, edx
cmp ecx, 0x3f
ja 0x7ff6052d3b33
test rbx, rbx
jne 0x7ff6052d3ada
lea eax, [r8 + 1]
jmp 0x7ff6052d3b38
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll__time64]
mov rcx, rax
cmp rbx, rax
jge 0x7ff6052d3aee
xor eax, eax
jmp 0x7ff6052d3b38
xor eax, eax
mov qword [rsp + 0x48], rdi
sub ebx, ecx
mov dword [rsp + 0x34], eax
test esi, esi
mov dword [rsp + 0x40], 1
lea r8, [rsp + 0x40]
mov dword [rsp + 0x30], ebx
cmovne r8, rax
lea rdx, [rsp + 0x40]
cmove rdx, rax
lea ecx, [rdi + 1]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ws2_32.dll_select]
jmp 0x7ff6052d3b38
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.7ff60542acb0
add rsp, 0x260
pop rdi
pop rsi
pop rbx
ret
Function at 0x7ff6052d5dc0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov eax, 0x280
call fcn.7ff60542b960
sub rsp, rax
mov rax, qword [0x7ff60566c600]
xor rax, rsp
mov qword [rsp + 0x270], rax
cmp dword [0x7ff605747828], 0
lea rax, [0x7ff6052d5730]
mov qword [rsp + 0x28], rax
lea rbx, [0x7ff6054825d8]
lea rax, [0x7ff6054825e8]
movzx ebp, cx
mov qword [rsp + 0x30], rax
lea rax, [0x7ff6052d5b70]
mov qword [rsp + 0x38], rax
lea rax, [0x7ff6054825f8]
mov qword [rsp + 0x40], rax
lea rax, [0x7ff6052d56d0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], rbx
jne 0x7ff6052d5f99
mov edx, 0x104
lea rcx, [rsp + 0x160]
call qword [sym.imp.kernel32.dll_GetSystemDirectoryA]
test eax, eax
je 0x7ff6052d5f8f
lea r8, [rsp + 0x160]
mov qword [rsp + 0x290], rsi
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call qword [sym.imp.ucrtbase.dll_strcpy_s]
lea r8, [0x7ff605482608]
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call qword [sym.imp.ucrtbase.dll_strcat_s]
lea rcx, [rsp + 0x50]
call qword [sym.imp.kernel32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x7ff6052d5ebc
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
jne 0x7ff6052d5f1e
mov rcx, rsi
call qword [sym.imp.kernel32.dll_FreeLibrary]
lea r8, [rsp + 0x160]
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call qword [sym.imp.ucrtbase.dll_strcpy_s]
lea r8, [0x7ff605482610]
mov edx, 0x10c
lea rcx, [rsp + 0x50]
call qword [sym.imp.ucrtbase.dll_strcat_s]
lea rcx, [rsp + 0x50]
call qword [sym.imp.kernel32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x7ff6052d5f87
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
jne 0x7ff6052d5f1e
mov rcx, rsi
call qword [sym.imp.kernel32.dll_FreeLibrary]
jmp 0x7ff6052d5f87
mov qword [rsp + 0x298], rdi
lea rbx, [rsp + 0x28]
xor edi, edi
nop dword [rax]
mov rdx, qword [rbx - 8]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_GetProcAddress]
mov qword [rbx], rax
test rax, rax
je 0x7ff6052d5f76
inc edi
add rbx, 0x10
cmp edi, 3
jl 0x7ff6052d5f30
mov rax, qword [rsp + 0x28]
mov qword [0x7ff605668da0], rax
mov rax, qword [rsp + 0x38]
mov qword [0x7ff605668db0], rax
mov rax, qword [rsp + 0x48]
mov qword [0x7ff605668dc0], rax
jmp 0x7ff6052d5f7f
mov rcx, rsi
call qword [sym.imp.kernel32.dll_FreeLibrary]
mov rdi, qword [rsp + 0x298]
mov rsi, qword [rsp + 0x290]
mov dword [0x7ff605747828], 1
mov rax, rbp
lea rcx, [0x7ff605668d98]
add rax, rax
mov rax, qword [rcx + rax*8 + 8]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.7ff60542acb0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x280
pop rbp
ret
Function at 0x7ff6052d5fd0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x870
call fcn.7ff60542b960
sub rsp, rax
mov rax, qword [0x7ff60566c600]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov r13, qword [rsp + 0x8c8]
mov r14, rcx
mov dword [rsp + 0x24], r8d
xor ebp, ebp
mov dword [rsp + 0x28], edx
mov r8d, 0x400
mov qword [rsp + 0x38], rcx
xor edx, edx
lea rcx, [rsp + 0x41]
mov byte [rsp + 0x40], bpl
mov r12d, ebp
mov word [rsp + 0x20], r9w
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov byte [rsp + 0x450], bpl
mov r8d, 0x400
lea rcx, [rsp + 0x451]
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x400
lea rbx, [rsp + 0x40]
mov r8, r14
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x40]
lea rdi, [rsp + 0x450]
lea edx, [r9 + 1]
call qword [sym.imp.ucrtbase.dll_strncpy_s]
lea r15, [rbp - 1]
nop dword [rax]
mov rcx, r14
mov qword [r13], rbp
mov rsi, r13
mov byte [rdi], bpl
call qword [sym.imp.ws2_32.dll_gethostbyname]
mov r14, rax
test rax, rax
je 0x7ff6052d61e0
cmp word [rax + 0x10], 2
jne 0x7ff6052d6107
cmp word [rax + 0x12], 4
jne 0x7ff6052d6107
mov rbx, qword [rax + 0x18]
mov rax, qword [rbx]
test rax, rax
je 0x7ff6052d6102
nop dword [rax]
mov r9d, dword [rax]
movzx r8d, word [rsp + 0x20]
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x28]
call fcn.7ff6052d6240
mov qword [rsi], rax
test rax, rax
je 0x7ff6052d61d9
add rbx, 8
lea rsi, [rax + 0x28]
mov rax, qword [rbx]
test rax, rax
jne 0x7ff6052d60d0
mov rbx, qword [rsp + 0x30]
mov r8, qword [r14]
mov r9d, 0x400
mov rcx, rdi
lea edx, [r9 + 1]
call qword [sym.imp.ucrtbase.dll_strncpy_s]
cmp qword [r13], rbp
jne 0x7ff6052d6181
mov rax, r15
inc rax
cmp byte [rdi + rax], bpl
jne 0x7ff6052d6126
test rax, rax
je 0x7ff6052d61fa
mov r8, rdi
mov rax, rbx
sub r8, rbx
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x7ff6052d6154
inc rax
test ecx, ecx
jne 0x7ff6052d6141
test edx, edx
je 0x7ff6052d61fa
inc r12d
cmp r12d, 0x10
je 0x7ff6052d61fa
mov r14, qword [rsp + 0x38]
mov rax, rbx
mov rbx, rdi
mov rdi, rax
mov qword [rsp + 0x30], rbx
jmp 0x7ff6052d6090
cmp dword [rsp + 0x8c0], ebp
je 0x7ff6052d620d
nop
cmp byte [rdi + r15 + 1], bpl
lea r15, [r15 + 1]
jne 0x7ff6052d6190
lea rdx, [r15 + 1]
mov ecx, 1
call qword [sym.imp.ucrtbase.dll_calloc]
mov rbx, rax
test rax, rax
jne 0x7ff6052d61b7
mov rbx, rbp
jmp 0x7ff6052d61c7
mov r8, rdi
lea rdx, [r15 + 1]
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_strcpy_s]
mov rax, qword [r13]
mov qword [rax + 0x18], rbx
mov rax, qword [r13]
cmp qword [rax + 0x18], rbp
jne 0x7ff6052d620d
mov ebp, 8
jmp 0x7ff6052d620d
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ecx, eax
sub ecx, 0x2af9
je 0x7ff6052d6208
sub ecx, 1
je 0x7ff6052d6201
sub ecx, 1
jne 0x7ff6052d6208
mov ebp, 0x2afb
jmp 0x7ff6052d620d
mov ebp, 0x2afa
jmp 0x7ff6052d620d
mov ebp, 0x2af9
mov eax, ebp
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.7ff60542acb0
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x7ff6052d6cb0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
mov eax, 0x40
call fcn.7ff60542b960
sub rsp, rax
mov rbx, r8
mov r14, rdx
mov r8, qword [rsp + 0xb0]
mov rbp, rcx
mov edi, dword [r8]
mov dword [rsp + 0x30], edi
test edi, edi
je 0x7ff6052d6d15
mov rdx, qword [rsp + 0xa8]
test rbx, rbx
je 0x7ff6052d6d11
mov eax, edi
dec rbx
movzx ecx, byte [rax + rdx]
xor cl, byte [rbp]
inc rbp
mov byte [r14], cl
inc r14
inc edi
and edi, 0xf
jne 0x7ff6052d6cf0
mov dword [rsp + 0x30], edi
mov rax, qword [rsp + 0xa0]
mov esi, 1
mov ecx, dword [rax + 0xc]
lea r15, [rax + 0xc]
mov r10, qword [rsp + 0xb8]
mov qword [rsp + 0x80], r12
lea r13d, [rsi + 0xb]
bswap ecx
mov dword [rsp + 0x90], ecx
cmp rbx, 0x10
jb 0x7ff6052d6e23
mov rdi, qword [rsp + 0xa0]
mov eax, 0x10000000
nop dword [rax]
mov rdx, rbx
mov qword [rsp + 0x20], rdi
shr rdx, 4
cmp rdx, rax
cmova rdx, rax
add ecx, edx
mov r12, rdx
mov eax, ecx
sub r12, rax
cmp rax, rdx
cmovae r12, rdx
xor r8d, r8d
cmp rax, rdx
mov rdx, r14
cmovae r8d, ecx
mov rcx, rbp
mov dword [rsp + 0x90], r8d
mov r8, r12
call r10
mov ecx, dword [rsp + 0x90]
mov eax, ecx
bswap eax
mov dword [r15], eax
test ecx, ecx
jne 0x7ff6052d6ddc
mov r8d, r13d
mov eax, esi
mov rdx, r15
nop dword [rax]
movzx ecx, byte [rdx - 1]
lea rdx, [rdx - 1]
add eax, ecx
mov byte [rdx], al
shr eax, 8
add r8d, 0xffffffff
jne 0x7ff6052d6dc0
mov ecx, dword [rsp + 0x90]
mov r10, qword [rsp + 0xb8]
mov eax, 0x10000000
mov r9, qword [rsp + 0x98]
shl r12, 4
sub rbx, r12
add r14, r12
add rbp, r12
cmp rbx, 0x10
jae 0x7ff6052d6d60
mov edi, dword [rsp + 0x30]
mov r8, qword [rsp + 0xb0]
mov rax, qword [rsp + 0xa0]
mov dword [rsp + 0x90], ecx
test rbx, rbx
je 0x7ff6052d6ea2
mov r12, qword [rsp + 0xa8]
xorps xmm0, xmm0
mov r8, rsi
mov qword [rsp + 0x20], rax
mov rdx, r12
mov rcx, r12
movups xmmword [r12], xmm0
call r10
mov r8d, dword [rsp + 0x90]
add r8d, esi
bswap r8d
mov dword [r15], r8d
jne 0x7ff6052d6e80
nop dword [rax]
movzx eax, byte [r15 - 1]
lea r15, [r15 - 1]
add esi, eax
mov byte [r15], sil
shr esi, 8
add r13d, 0xffffffff
jne 0x7ff6052d6e60
nop word [rax + rax]
mov ecx, edi
inc edi
movzx eax, byte [rcx + rbp]
xor al, byte [rcx + r12]
mov byte [rcx + r14], al
sub rbx, 1
jne 0x7ff6052d6e80
mov rax, qword [rsp + 0xb0]
mov dword [rax], edi
jmp 0x7ff6052d6ea5
mov dword [r8], edi
mov r12, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x7ff6052d6f80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
push r12
push r15
mov eax, 0x30
call fcn.7ff60542b960
sub rsp, rax
mov rsi, qword [rsp + 0x88]
mov r10, r9
mov rdi, r8
mov r15, rdx
mov r12, rcx
mov ebx, dword [rsi]
test ebx, ebx
jns 0x7ff6052d6fc5
mov dword [rsi], 0xffffffff
add rsp, 0x30
pop r15
pop r12
pop rdi
pop rsi
pop rbx
ret
mov qword [rsp + 0x60], rbp
mov rbp, qword [rsp + 0x80]
test ebx, ebx
je 0x7ff6052d6ff8
test rdi, rdi
je 0x7ff6052d6ff8
mov eax, ebx
dec rdi
movzx ecx, byte [rax + rbp]
xor cl, byte [r12]
inc r12
mov byte [r15], cl
inc r15
inc ebx
and ebx, 0xf
jne 0x7ff6052d6fd6
mov r9, qword [rsp + 0x90]
cmp rdi, 0x10
jb 0x7ff6052d70c9
mov qword [rsp + 0x28], r13
mov rsi, r15
mov r13, rdi
mov qword [rsp + 0x20], r14
shr r13, 4
mov r14, r12
imul rax, r13, 0xfffffffffffffff0
sub rsi, rbp
sub r14, rbp
add rdi, rax
mov rax, r13
shl rax, 4
add r15, rax
mov qword [rsp + 0x68], r15
add r12, rax
mov r15, qword [rsp + 0x78]
nop word [rax + rax]
mov r8, r15
mov rdx, rbp
mov rcx, rbp
call r9
cmp ebx, 0x10
jae 0x7ff6052d7095
mov edx, 0xf
mov eax, ebx
sub edx, ebx
add rax, rbp
shr edx, 3
inc edx
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [r14 + rax]
xor rcx, qword [rax]
mov qword [rsi + rax], rcx
lea rax, [rax + 8]
sub rdx, 1
jne 0x7ff6052d7080
mov r9, qword [rsp + 0x90]
add rsi, 0x10
add r14, 0x10
xor ebx, ebx
sub r13, 1
jne 0x7ff6052d7050
mov r14, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov r15, qword [rsp + 0x68]
mov r10, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
test rdi, rdi
je 0x7ff6052d70f6
mov r8, r10
mov rdx, rbp
mov rcx, rbp
call r9
nop word [rax + rax]
mov ecx, ebx
inc ebx
movzx eax, byte [rcx + r12]
xor al, byte [rcx + rbp]
mov byte [rcx + r15], al
sub rdi, 1
jne 0x7ff6052d70e0
mov dword [rsi], ebx
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x7ff6052d7b50
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push r14
mov eax, 0x20
call fcn.7ff60542b960
sub rsp, rax
cmp qword [rcx + 0x38], 0
mov rbx, r8
mov r14, rdx
mov rbp, rcx
je 0x7ff6052d7b80
mov eax, 0xfffffffe
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov rcx, qword [rcx + 0x30]
movabs rax, 0x2000000000000000
add rcx, rbx
cmp rcx, rax
ja 0x7ff6052d7c72
cmp rcx, rbx
jb 0x7ff6052d7c72
mov qword [rsp + 0x40], rsi
mov esi, dword [rbp + 0x17c]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r12
mov qword [rbp + 0x30], rcx
test esi, esi
je 0x7ff6052d7bf6
test rbx, rbx
je 0x7ff6052d7c52
movzx eax, byte [r14]
dec rbx
mov ecx, esi
inc r14
xor byte [rcx + rbp + 0x40], al
inc esi
and esi, 0xf
jne 0x7ff6052d7bc0
lea r12, [rbp + 0x60]
lea rdi, [rbp + 0x40]
mov rdx, r12
mov rcx, rdi
call qword [rbp + 0x170]
jmp 0x7ff6052d7bfe
lea r12, [rbp + 0x60]
lea rdi, [rbp + 0x40]
mov qword [rsp + 0x58], r15
mov r15, rbx
and r15, 0xfffffffffffffff0
je 0x7ff6052d7c24
mov r9, r15
mov r8, r14
mov rdx, r12
mov rcx, rdi
call qword [rbp + 0x168]
add r14, r15
sub rbx, r15
mov r15, qword [rsp + 0x58]
test rbx, rbx
je 0x7ff6052d7c52
mov esi, ebx
sub r14, rbp
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r14 + rdi - 0x40]
xor byte [rdi], al
lea rdi, [rdi + 1]
sub rbx, 1
jne 0x7ff6052d7c40
mov rdi, qword [rsp + 0x48]
xor eax, eax
mov r12, qword [rsp + 0x50]
mov dword [rbp + 0x17c], esi
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
mov eax, 0xffffffff
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
Function at 0x7ff6052d8c60
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r13
push r14
mov eax, 0x20
call fcn.7ff60542b960
sub rsp, rax
xor r13d, r13d
lea r14, [rcx + 0x40]
mov qword [rcx + 0x30], r13
mov rdi, r8
mov qword [rcx + 0x38], r13
mov rsi, rdx
mov qword [rcx + 0x178], r13
mov rbx, rcx
cmp r8, 0xc
jne 0x7ff6052d8cb8
movsd xmm0, qword [rdx]
lea edi, [r8 - 0xb]
movsd qword [rcx], xmm0
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov dword [rcx + 0xc], 0x1000000
jmp 0x7ff6052d8de1
mov qword [rsp + 0x50], rbp
mov rbp, rdi
mov qword [rsp + 0x60], r15
lea r15, [rcx + 0x60]
mov qword [r14], r13
mov qword [rcx + 0x48], r13
cmp rdi, 0x10
jb 0x7ff6052d8d7e
mov qword [rsp + 0x58], r12
mov r12, rdi
shr r12, 4
imul rax, r12, 0xfffffffffffffff0
add rdi, rax
nop dword [rax]
movzx eax, byte [rsi]
mov rdx, r15
xor byte [r14], al
mov rcx, r14
movzx eax, byte [rsi + 1]
xor byte [rbx + 0x41], al
movzx eax, byte [rsi + 2]
xor byte [rbx + 0x42], al
movzx eax, byte [rsi + 3]
xor byte [rbx + 0x43], al
movzx eax, byte [rsi + 4]
xor byte [rbx + 0x44], al
movzx eax, byte [rsi + 5]
xor byte [rbx + 0x45], al
movzx eax, byte [rsi + 6]
xor byte [rbx + 0x46], al
movzx eax, byte [rsi + 7]
xor byte [rbx + 0x47], al
movzx eax, byte [rsi + 8]
xor byte [rbx + 0x48], al
movzx eax, byte [rsi + 9]
xor byte [rbx + 0x49], al
movzx eax, byte [rsi + 0xa]
xor byte [rbx + 0x4a], al
movzx eax, byte [rsi + 0xb]
xor byte [rbx + 0x4b], al
movzx eax, byte [rsi + 0xc]
xor byte [rbx + 0x4c], al
movzx eax, byte [rsi + 0xd]
xor byte [rbx + 0x4d], al
movzx eax, byte [rsi + 0xe]
xor byte [rbx + 0x4e], al
movzx eax, byte [rsi + 0xf]
xor byte [rbx + 0x4f], al
call qword [rbx + 0x170]
add rsi, 0x10
sub r12, 1
jne 0x7ff6052d8cf0
mov r12, qword [rsp + 0x58]
test rdi, rdi
je 0x7ff6052d8dad
mov rcx, r14
sub rsi, rbx
nop dword [rax]
movzx eax, byte [rsi + rcx - 0x40]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdi, 1
jne 0x7ff6052d8d90
mov rdx, r15
mov rcx, r14
call qword [rbx + 0x170]
shl rbp, 3
mov rdx, r15
bswap rbp
xor qword [rbx + 0x48], rbp
mov rcx, r14
call qword [rbx + 0x170]
mov rax, qword [r14]
mov edi, dword [rbx + 0x4c]
mov r15, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x50]
mov qword [rbx], rax
mov rax, qword [rbx + 0x48]
mov qword [rbx + 8], rax
bswap edi
mov qword [r14], r13
lea rdx, [rbx + 0x20]
mov qword [rbx + 0x48], r13
mov rcx, rbx
mov r8, qword [rbx + 0x188]
call qword [rbx + 0x180]
inc edi
bswap edi
mov dword [rbx + 0xc], edi
add rsp, 0x20
pop r14
pop r13
pop rdi
pop rsi
pop rbx
ret