joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ab73c
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r15
mov rbp, rsp
sub rsp, 0x40
xor ebx, ebx
lea rax, [rbp - 8]
and qword [rbp - 8], rbx
lea r9, [0x140297678]
and qword [rbp - 0x10], rbx
lea rcx, [0x140297658]
and qword [rbp + 0x48], rbx
mov rdi, rdx
and qword [rbp + 0x30], rbx
lea r15d, [rbx + 1]
and qword [rbp + 0x40], rbx
mov r8d, r15d
xor edx, edx
mov qword [rsp + 0x20], rax
xor esi, esi
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400ab87f
mov rcx, qword [rbp - 8]
lea rdx, [rbp - 0x10]
mov rax, qword [rcx]
call qword [rax + gethostname]
test eax, eax
js 0x1400ab87f
mov rcx, qword [rbp - 0x10]
lea rdx, [rbp + 0x48]
mov rax, qword [rcx]
call qword [rax + gethostname]
test eax, eax
js 0x1400ab87f
mov rcx, qword [rbp + 0x48]
lea rdx, [rbp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0xa0]
test eax, eax
js 0x1400ab87f
lea rax, [rbp + 0x30]
mov r8d, r15d
lea r9, [0x140297698]
mov qword [rsp + 0x20], rax
xor edx, edx
lea rcx, [0x140297668]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400ab87f
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
test rax, rax
je 0x1400ab87f
mov rcx, qword [rbp + 0x30]
mov rdx, rax
mov r8, qword [rcx]
call qword [r8 + 0x50]
test eax, eax
js 0x1400ab868
lea rcx, [0x140297608]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x1400ab868
mov rcx, qword [rbp + 0x30]
mov rdx, rbx
mov r8, qword [rcx]
call qword [r8 + 0x40]
test eax, eax
js 0x1400ab868
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
cmovns esi, r15d
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rbx, rbx
je 0x1400ab87f
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp + 0x30]
test rcx, rcx
je 0x1400ab88e
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x1400ab89d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x1400ab8ac
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1400ab8bb
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400ab8ca
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov eax, esi
add rsp, 0x40
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400ac03c
Capabilities:
Get token membership

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1402b9f00]
xor rax, rsp
mov qword [rbp - 8], rax
and dword [rbp - 0x10], 0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x10]
and dword [rsp + 0x48], 0
mov r9d, 0x220
and dword [rsp + 0x40], 0
mov r8d, 0x20
and dword [rsp + 0x38], 0
mov dl, 2
and dword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
mov word [rbp - 0xc], 0x500
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [rbp - 0x20], eax
test eax, eax
je 0x1400ac0ca
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
neg eax
sbb ecx, ecx
and dword [rbp - 0x20], ecx
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [rbp - 0x20]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401c1120
add rsp, 0x80
pop rbp
ret

Function at 0x1400ac0e0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x380
mov rax, qword [0x1402b9f00]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov edi, edx
mov rbx, rcx
lea rdx, [rsp + 0xa0]
xor ecx, ecx
mov r8d, 0x168
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1400ac1a8
xor edx, edx
mov dword [rsp + 0x30], reloc.WS2_32.dll_WSASetLastError
lea rcx, [rsp + 0x34]
lea r8d, [rdx + 0x6c]
call fcn.1401c25f0
and qword [rsp + 0x38], 0
lea rcx, str.open
test edi, edi
mov dword [rsp + 0x28], 0x1000
lea rax, str.runas
mov dword [rsp + 0x60], 1
cmovne rax, rcx
lea rdi, [0x1402be900]
mov qword [rsp + 0x40], rax
or r9d, 0xffffffff
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rdi
mov r8, rbx
mov qword [rsp + 0x48], rax
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x50], rdi
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x1400ac1aa
xor eax, eax
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.1401c1120
mov rbx, qword [rsp + 0x3a0]
add rsp, 0x380
pop rdi
ret

Function at 0x1400ac3b0
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1402b9f00]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rsi, rcx
xor ebx, ebx
xor edx, edx
xor ecx, ecx
lea r8d, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
test rax, rax
je 0x1400ac42f
lea r8d, [rbx + 4]
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
test rax, rax
je 0x1400ac421
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
mov rcx, rsi
cmovne ebx, dword [rsp + 0x24]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400ac426
mov ebx, 0x64
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401c1120
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x1400ac450
Capabilities:
Query service status
Start service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1402b9f00]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
xor edx, edx
xor ecx, ecx
lea edi, [rbx + 0x14]
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rsi, rax
test rax, rax
je 0x1400ac4ea
mov r8d, edi
lea rdx, str.Mesh_Agent
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
je 0x1400ac4e1
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1400ac4d8
cmp dword [rsp + 0x24], 1
jne 0x1400ac4d3
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceA]
cmp eax, 1
jne 0x1400ac4d8
mov ebx, eax
jmp 0x1400ac4d8
mov ebx, 2
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401c1120
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x1400ac50c
Capabilities:
Query service status
Stop service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1402b9f00]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ebx, ebx
xor edx, edx
xor ecx, ecx
lea edi, [rbx + 0x24]
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rsi, rax
test rax, rax
je 0x1400ac5af
mov r8d, edi
lea rdx, str.Mesh_Agent
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
test rax, rax
je 0x1400ac5a6
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1400ac59d
cmp dword [rsp + 0x24], 1
je 0x1400ac59d
lea r8, [rsp + 0x20]
mov rcx, rdi
lea edx, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1400ac59d
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, 1
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401c1120
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400d2ea0
Capabilities:
Encode data using xor

Disassembly:
xor r9b, r9b
mov r10, rdx
test r8, r8
je 0x1400d2ec7
sub r10, rcx
nop
movzx edx, byte [r10 + rcx]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
xor dl, al
or r9b, dl
sub r8, 1
jne 0x1400d2eb0
movzx eax, r9b
ret

Function at 0x1400d48a0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push rbx
mov eax, 0x30
call fcn.1401c1690
sub rsp, rax
mov r10, r9
mov r11, r8
mov rbx, rcx
test r9, r9
jne 0x1400d48db
mov edx, 0xe2
mov dword [rsp + 0x20], r9d
lea ecx, [rax - 0x23]
lea r8d, [rdx - 4]
call fcn.1400c0d40
xor eax, eax
add rsp, 0x30
pop rbx
ret
movzx r8d, byte [r8]
and r8d, 0x80
test rdx, rdx
je 0x1400d48ee
mov dword [rdx], r8d
cmp r10, 1
jne 0x1400d4913
test rbx, rbx
je 0x1400d4908
movzx eax, byte [r11]
test r8d, r8d
je 0x1400d4906
not al
inc al
mov byte [rcx], al
mov eax, 1
add rsp, 0x30
pop rbx
ret
movzx eax, byte [r11]
xor ecx, ecx
test al, al
jne 0x1400d4924
mov ecx, 1
jmp 0x1400d495c
cmp al, 0xff
jne 0x1400d4990
xor edx, edx
mov ecx, 1
cmp rcx, r10
jae 0x1400d494f
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + r11]
inc rcx
or edx, eax
cmp rcx, r10
jb 0x1400d4940
xor eax, eax
test edx, edx
setne al
mov ecx, eax
test eax, eax
je 0x1400d4990
movzx eax, byte [r11 + 1]
and eax, 0x80
cmp r8d, eax
jne 0x1400d4990
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov edx, 0xe2
lea ecx, [r9 + 0xd]
lea r8d, [rdx - 5]
call fcn.1400c0d40
xor eax, eax
add rsp, 0x30
pop rbx
ret
mov eax, ecx
sub r10, rax
test rbx, rbx
je 0x1400d49f5
neg r8d
mov qword [rsp + 0x40], rdi
lea r9, [rax + r11]
sbb dil, dil
add r9, r10
movzx edi, dil
mov edx, edi
and edx, 1
test r10, r10
je 0x1400d49f0
mov r8, r9
sub r8, rax
sub r8, r11
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9 - 1]
lea r9, [r9 - 1]
dec r8
movzx ecx, dil
xor ecx, eax
add edx, ecx
mov byte [r8 + rbx], dl
shr edx, 8
test r8, r8
jne 0x1400d49d0
mov rdi, qword [rsp + 0x40]
mov rax, r10
add rsp, 0x30
pop rbx
ret
Function at 0x1400f3610
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400f37d9
push rbx
push rbp
push rsi
push rdi
push r13
mov eax, 0x20
call fcn.1401c1690
sub rsp, rax
mov rbp, qword [rsp + 0x70]
mov rbx, r8
mov qword [rsp + 0x50], r12
mov r13, r9
mov r12, qword [rsp + 0x78]
mov rdi, rdx
mov rsi, rcx
mov r10, rbp
cmp rbx, 0x10
jb 0x1400f36a8
mov rbp, rbx
shr rbp, 4
imul rax, rbp, 0xfffffffffffffff0
add rbx, rax
nop
sub r10, rsi
mov r8, rdi
sub r8, rsi
mov rcx, rsi
mov edx, 2
mov rax, qword [r10 + rcx]
xor rax, qword [rcx]
mov qword [r8 + rcx], rax
lea rcx, [rcx + 8]
sub rdx, 1
jne 0x1400f3671
mov r8, r13
mov rdx, rdi
mov rcx, rdi
call r12
mov r10, rdi
add rsi, 0x10
add rdi, 0x10
sub rbp, 1
jne 0x1400f3660
mov rbp, qword [rsp + 0x70]
test rbx, rbx
je 0x1400f37c2
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r15
nop dword [rax + rax]
mov r8, r10
mov r9, rdi
mov r11d, 1
mov r14d, 2
sub r8, rsi
sub r9, rsi
sub r11, rsi
sub r14, rsi
xor eax, eax
mov r15d, 3
sub r15, rsi
nop dword [rax]
cmp rax, rbx
jae 0x1400f3764
lea rdx, [rax + rsi]
movzx ecx, byte [r8 + rdx]
xor cl, byte [rdx]
mov byte [r9 + rdx], cl
lea rcx, [r11 + rdx]
cmp rcx, rbx
jae 0x1400f3761
movzx ecx, byte [rsi + rax + 1]
xor cl, byte [rax + r10 + 1]
mov byte [rdi + rax + 1], cl
lea rcx, [r14 + rdx]
cmp rcx, rbx
jae 0x1400f375b
movzx ecx, byte [rsi + rax + 2]
xor cl, byte [rax + r10 + 2]
mov byte [rdi + rax + 2], cl
lea rcx, [r15 + rdx]
cmp rcx, rbx
jae 0x1400f3755
movzx ecx, byte [rsi + rax + 3]
xor cl, byte [rax + r10 + 3]
mov byte [rdi + rax + 3], cl
add rax, 4
cmp rax, 0x10
jb 0x1400f36f0
jmp 0x1400f3791
add rax, 3
jmp 0x1400f3764
add rax, 2
jmp 0x1400f3764
inc rax
cmp rax, 0x10
jae 0x1400f3791
sub r10, rdi
lea rcx, [rax + rdi]
mov edx, reloc.WS2_32.dll_recv
sub rdx, rax
nop dword [rax]
movzx eax, byte [r10 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1400f3780
mov r8, r13
mov rdx, rdi
mov rcx, rdi
call r12
mov r10, rdi
cmp rbx, 0x10
jbe 0x1400f37b8
add rsi, 0x10
add rdi, 0x10
sub rbx, 0x10
jne 0x1400f36c0
mov r14, qword [rsp + 0x58]
mov r15, qword [rsp + 0x60]
movups xmm0, xmmword [r10]
mov r12, qword [rsp + 0x50]
movups xmmword [rbp], xmm0
add rsp, 0x20
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400f39e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x30
call fcn.1401c1690
sub rsp, rax
mov rdi, r8
mov r14, rdx
mov r8, qword [rsp + 0xa0]
mov r15, rcx
mov ebx, dword [r8]
mov dword [rsp + 0x80], ebx
test ebx, ebx
je 0x1400f3a58
mov rdx, qword [rsp + 0x98]
nop dword [rax]
test rdi, rdi
je 0x1400f3a51
mov eax, ebx
dec rdi
movzx ecx, byte [rax + rdx]
xor cl, byte [r15]
inc r15
mov byte [r14], cl
inc r14
inc ebx
and ebx, 0xf
jne 0x1400f3a30
mov dword [rsp + 0x80], ebx
mov rcx, qword [rsp + 0x90]
mov esi, listen
movzx r13d, byte [rcx + 0xc]
lea r12, [rcx + 0xc]
mov r10, qword [rsp + 0xa8]
shl r13d, 8
movzx eax, byte [rcx + 0xd]
lea ebp, [rsi - 0xb]
or r13d, eax
movzx eax, byte [rcx + 0xe]
shl r13d, 8
or r13d, eax
movzx eax, byte [rcx + 0xf]
shl r13d, 8
or r13d, eax
cmp rdi, 0x10
jb 0x1400f3b7d
mov eax, 0x10000000
mov ebx, esi
nop dword [rax + rax]
mov rsi, rdi
shr rsi, 4
cmp rsi, rax
cmova rsi, rax
add r13d, esi
mov eax, r13d
cmp rax, rsi
jae 0x1400f3acf
sub rsi, rax
xor r13d, r13d
mov qword [rsp + 0x20], rcx
mov r8, rsi
mov rcx, r15
mov rdx, r14
call r10
mov rcx, qword [rsp + 0x90]
mov eax, r13d
shr eax, 0x18
mov byte [r12], al
mov eax, r13d
shr eax, 0x10
mov byte [rcx + 0xd], al
mov eax, r13d
shr eax, 8
mov byte [rcx + 0xe], al
mov byte [rcx + 0xf], r13b
test r13d, r13d
jne 0x1400f3b3d
mov r8d, ebx
mov ecx, ebp
mov rdx, r12
nop word [rax + rax]
movzx eax, byte [rdx - 1]
lea rdx, [rdx - 1]
add ecx, eax
mov byte [rdx], cl
shr ecx, 8
add r8d, 0xffffffff
jne 0x1400f3b20
mov rcx, qword [rsp + 0x90]
mov r9, qword [rsp + 0x88]
mov eax, 0x10000000
mov r10, qword [rsp + 0xa8]
shl rsi, 4
sub rdi, rsi
add r14, rsi
add r15, rsi
cmp rdi, 0x10
jae 0x1400f3ab0
mov ebx, dword [rsp + 0x80]
mov esi, listen
mov r8, qword [rsp + 0xa0]
test rdi, rdi
je 0x1400f3c32
mov rax, qword [rsp + 0x98]
xor edx, edx
mov qword [rsp + 0x20], rcx
mov r8, rbp
mov rcx, rax
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov rdx, rax
call r10
mov rcx, qword [rsp + 0x90]
inc r13d
mov eax, r13d
shr eax, 0x18
mov byte [r12], al
mov eax, r13d
shr eax, 0x10
mov byte [rcx + 0xd], al
mov eax, r13d
shr eax, 8
mov byte [rcx + 0xe], al
mov byte [rcx + 0xf], r13b
test r13d, r13d
jne 0x1400f3bf9
nop dword [rax + rax]
movzx eax, byte [r12 - 1]
lea r12, [r12 - 1]
add ebp, eax
mov byte [r12], bpl
shr ebp, 8
add esi, 0xffffffff
jne 0x1400f3be0
mov rdx, qword [rsp + 0x98]
nop dword [rax]
nop word [rax + rax]
mov ecx, ebx
inc ebx
movzx eax, byte [rcx + r15]
xor al, byte [rcx + rdx]
mov byte [rcx + r14], al
sub rdi, 1
jne 0x1400f3c10
mov rax, qword [rsp + 0xa0]
mov dword [rax], ebx
jmp 0x1400f3c35
mov dword [r8], ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400f4300
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
mov eax, 0x20
call fcn.1401c1690
sub rsp, rax
cmp qword [rcx + 0x38], 0
mov rbx, r8
mov r14, rdx
mov rsi, rcx
je 0x1400f433f
mov eax, 0xfffffffe
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rcx, qword [rcx + 0x30]
movabs rax, 0x2000000000000000
add rcx, rbx
cmp rcx, rax
ja 0x1400f4410
cmp rcx, rbx
jb 0x1400f4410
mov qword [rsp + 0x38], rdi
mov edi, dword [rsi + 0x174]
mov qword [rsi + 0x30], rcx
test edi, edi
je 0x1400f43a4
test rbx, rbx
je 0x1400f4393
movzx eax, byte [r14]
dec rbx
mov ecx, edi
inc r14
xor byte [rcx + rsi + 0x40], al
inc edi
and edi, 0xf
jne 0x1400f4375
jmp 0x1400f4397
test edi, edi
jne 0x1400f43f2
lea rdx, [rsi + 0x60]
lea rcx, [rsi + 0x40]
call fcn.1400f5990
mov qword [rsp + 0x30], rbp
mov rbp, rbx
and rbp, 0xfffffffffffffff0
je 0x1400f43cb
lea rdx, [rsi + 0x60]
mov r9, rbp
lea rcx, [rsi + 0x40]
mov r8, r14
call fcn.1400f57c0
add r14, rbp
sub rbx, rbp
mov rbp, qword [rsp + 0x30]
test rbx, rbx
je 0x1400f43f2
mov edi, ebx
lea rcx, [rsi + 0x40]
sub r14, rsi
nop
movzx eax, byte [r14 + rcx - 0x40]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rbx, 1
jne 0x1400f43e0
mov dword [rsi + 0x174], edi
xor eax, eax
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rbx, qword [rsp + 0x40]
or eax, 0xffffffff
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400f5560
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r15
mov eax, 0x20
call fcn.1401c1690
sub rsp, rax
xor ebp, ebp
mov rsi, r8
mov qword [rcx + 0x30], rbp
mov r15, rdx
mov qword [rcx + 0x38], rbp
mov rbx, rcx
mov qword [rcx + 0x170], rbp
cmp r8, 0xc
jne 0x1400f55b1
movsd xmm0, qword [rdx]
lea edi, [rbp + 1]
movsd qword [rcx], xmm0
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov dword [rcx + 0xc], 0x1000000
jmp 0x1400f5712
mov qword [rsp + 0x58], r13
mov r13, rsi
mov qword [rcx + 0x40], rbp
mov qword [rsp + 0x60], r14
mov qword [rcx + 0x48], rbp
cmp rsi, 0x10
jb 0x1400f5654
mov rbp, rsi
mov qword [rsp + 0x50], r12
shr rbp, 4
mov rdi, r15
imul rax, rbp, 0xfffffffffffffff0
sub rdi, rbx
add rsi, rax
sub rdi, 0x3f
mov rax, rbp
shl rax, 4
add r15, rax
nop word [rax + rax]
lea rax, [rbx + 0x40]
mov edx, 4
nop dword [rax]
movzx ecx, byte [rax + rdi - 1]
xor byte [rax], cl
movzx ecx, byte [rax + rdi]
xor byte [rax + 1], cl
movzx ecx, byte [rax + rdi + 1]
xor byte [rax + 2], cl
movzx ecx, byte [rax + rdi + 2]
xor byte [rax + 3], cl
lea rax, [rax + 4]
sub rdx, 1
jne 0x1400f5610
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call fcn.1400f5990
add rdi, 0x10
sub rbp, 1
jne 0x1400f5600
mov r12, qword [rsp + 0x50]
test rsi, rsi
je 0x1400f567f
lea rcx, [rbx + 0x40]
sub r15, rbx
movzx eax, byte [r15 + rcx - 0x40]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rsi, 1
jne 0x1400f5660
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call fcn.1400f5990
shl r13, 3
lea rdx, [rbx + 0x60]
xor byte [rbx + 0x4f], r13b
lea rcx, [rbx + 0x40]
mov rax, r13
shr rax, 0x38
xor byte [rbx + 0x48], al
mov rax, r13
shr rax, 0x30
xor byte [rbx + 0x49], al
mov rax, r13
shr rax, 0x28
xor byte [rbx + 0x4a], al
mov rax, r13
shr rax, 0x20
xor byte [rbx + 0x4b], al
mov rax, r13
shr rax, 0x18
xor byte [rbx + 0x4c], al
mov rax, r13
shr rax, 0x10
xor byte [rbx + 0x4d], al
mov rax, r13
shr rax, 8
xor byte [rbx + 0x4e], al
call fcn.1400f5990
movzx eax, byte [rbx + 0x4d]
movzx edi, byte [rbx + 0x4c]
mov r14, qword [rsp + 0x60]
mov r13, qword [rsp + 0x58]
shl edi, 8
or edi, eax
movzx eax, byte [rbx + 0x4e]
shl edi, 8
or edi, eax
movzx eax, byte [rbx + 0x4f]
shl edi, 8
or edi, eax
mov rax, qword [rbx + 0x40]
mov qword [rbx], rax
mov rax, qword [rbx + 0x48]
mov qword [rbx + 8], rax
mov qword [rbx + 0x40], rbp
lea rdx, [rbx + 0x20]
mov qword [rbx + 0x48], rbp
mov rcx, rbx
mov r8, qword [rbx + 0x180]
call qword [rbx + 0x178]
inc edi
mov eax, edi
mov byte [rbx + 0xf], dil
shr eax, 0x18
mov byte [rbx + 0xc], al
mov eax, edi
shr eax, 0x10
mov byte [rbx + 0xd], al
mov eax, edi
shr eax, 8
mov byte [rbx + 0xe], al
add rsp, 0x20
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400f57c0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov rsi, rcx
lea r14, [r8 + 0xe]
sub rsi, r8
lea r13, [0x140212c80]
mov r12, r9
mov rbp, rdx
mov r11, rcx
nop word [rax + rax]
movzx eax, byte [r11 + 0xf]
mov rdi, r14
movzx ecx, byte [r14 + 1]
mov r15d, reloc.WS2_32.dll_ntohs
xor rcx, rax
mov r9, rcx
and ecx, 0xf
add rcx, rcx
and r9, 0xfffffffffffffff0
mov r8, qword [rbp + rcx*8]
mov rcx, qword [rbp + rcx*8 + 8]
mov rax, r8
mov rdx, rcx
shr r8, 4
and edx, 0xf
shl rax, 0x3c
shr rcx, 4
or rax, rcx
mov rbx, qword [r13 + rdx*8]
xor rbx, r8
xor rbx, qword [r9 + rbp]
xor rax, qword [r9 + rbp + 8]
nop word [rax + rax]
movzx ecx, byte [rdi]
mov r9, rbx
movzx edx, byte [rsi + rdi]
lea rdi, [rdi - 1]
xor rdx, rcx
shr rbx, 4
mov rcx, rax
shl r9, 0x3c
shr rax, 4
and ecx, 0xf
or r9, rax
mov r10, rdx
and r10, 0xfffffffffffffff0
and edx, 0xf
add rdx, rdx
mov r8, qword [r13 + rcx*8]
xor r8, rbx
xor r9, qword [rbp + rdx*8 + 8]
xor r8, qword [rbp + rdx*8]
mov rcx, r9
and ecx, 0xf
shr r9, 4
mov rax, r8
shr r8, 4
shl rax, 0x3c
or rax, r9
mov rbx, qword [r13 + rcx*8]
xor rax, qword [r10 + rbp + 8]
xor rbx, r8
xor rbx, qword [r10 + rbp]
sub r15, 1
jne 0x1400f5860
mov rdx, rbx
mov byte [r11 + 7], bl
shr rdx, 0x20
add r14, 0x10
mov ecx, edx
mov byte [r11 + 3], dl
shr ecx, 0x18
sub rsi, 0x10
mov byte [r11], cl
mov ecx, edx
shr ecx, 0x10
mov byte [r11 + 1], cl
mov ecx, edx
shr ecx, 8
mov rdx, rax
mov byte [r11 + 2], cl
mov ecx, ebx
shr ecx, 0x18
mov byte [r11 + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [r11 + 5], cl
mov ecx, ebx
shr ecx, 8
mov byte [r11 + 6], cl
shr rdx, 0x20
mov ecx, edx
mov byte [r11 + 0xb], dl
shr ecx, 0x18
mov byte [r11 + 8], cl
mov ecx, edx
shr ecx, 0x10
mov byte [r11 + 9], cl
mov ecx, edx
shr ecx, 8
mov byte [r11 + 0xa], cl
mov ecx, eax
shr ecx, 0x18
mov byte [r11 + 0xc], cl
mov ecx, eax
shr ecx, 0x10
mov byte [r11 + 0xd], cl
mov ecx, eax
shr ecx, 8
mov byte [r11 + 0xe], cl
mov byte [r11 + 0xf], al
sub r12, 0x10
jne 0x1400f5800
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
Function at 0x1400f5990
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
movzx eax, byte [rcx + 0xf]
lea r14, [0x140212c80]
mov r10d, eax
mov rdi, rdx
and eax, 0xf
and r10, 0xfffffffffffffff0
add rax, rax
mov esi, reloc.WS2_32.dll_ntohl
mov r9, qword [rdx + rax*8]
mov r8, qword [rdx + rax*8 + 8]
mov r11, r9
mov rax, r8
shr r9, 4
and eax, 0xf
shl r11, 0x3c
shr r8, 4
or r11, r8
mov rbx, qword [r14 + rax*8]
xor rbx, r9
xor rbx, qword [r10 + rdx]
xor r11, qword [r10 + rdx + 8]
nop word [rax + rax]
movzx edx, byte [rsi + rcx]
mov rax, r11
shr r11, 4
mov r9, rbx
shr rbx, 4
and eax, 0xf
shl r9, 0x3c
mov r10d, edx
or r9, r11
and r10, 0xfffffffffffffff0
and edx, 0xf
mov r8, qword [r14 + rax*8]
add rdx, rdx
xor r8, rbx
xor r9, qword [rdi + rdx*8 + 8]
xor r8, qword [rdi + rdx*8]
mov rax, r9
and eax, 0xf
shr r9, 4
mov r11, r8
shr r8, 4
shl r11, 0x3c
or r11, r9
mov rbx, qword [r14 + rax*8]
xor r11, qword [r10 + rdi + 8]
xor rbx, r8
xor rbx, qword [r10 + rdi]
sub rsi, 1
jns 0x1400f5a00
mov rsi, qword [rsp + 0x10]
mov rdx, rbx
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
shr rdx, 0x20
mov eax, edx
mov byte [rcx + 3], dl
shr eax, 0x18
mov byte [rcx], al
mov eax, edx
shr eax, 0x10
mov byte [rcx + 1], al
mov eax, edx
shr eax, 8
mov rdx, r11
mov byte [rcx + 2], al
mov eax, ebx
shr eax, 0x18
mov byte [rcx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [rcx + 5], al
mov eax, ebx
shr eax, 8
mov byte [rcx + 6], al
shr rdx, 0x20
mov eax, edx
mov byte [rcx + 7], bl
mov rbx, qword [rsp + 8]
shr eax, 0x18
mov byte [rcx + 8], al
mov eax, edx
shr eax, 0x10
mov byte [rcx + 9], al
mov eax, edx
shr eax, 8
mov byte [rcx + 0xa], al
mov eax, r11d
shr eax, 0x18
mov byte [rcx + 0xc], al
mov eax, r11d
shr eax, 0x10
mov byte [rcx + 0xd], al
mov eax, r11d
shr eax, 8
mov byte [rcx + 0xe], al
mov byte [rcx + 0xb], dl
mov byte [rcx + 0xf], r11b
ret