joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc196c0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xc196cd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xc196dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xc196c5
lea eax, [rcx + 1]
jmp 0xc196eb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xc196fe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xc196e4
sub eax, 3
jb 0xc1971e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xc1976d
sar eax, 1
movsxd rbp, eax
jb 0xc19754
jmp 0xc1972c
add ebx, ebx
jne 0xc1972a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xc19754
inc ecx
add ebx, ebx
jne 0xc1973a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xc19754
call r11
adc ecx, ecx
add ebx, ebx
jne 0xc1974d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xc1973c
add ecx, 2
jmp 0xc19759
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00c19682
jmp 0xc196cd
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x80e000]
mov eax, dword [rdi]
or eax, eax
je 0xc197c9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x81927c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xc19779
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xc197c3
mov qword [rbx], rax
add rbx, 8
jmp 0xc19799
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xc1980d
cmp al, 0xef
ja 0xc197f5
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xc197d5
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xc197e4
mov eax, dword [rdi]
add rdi, 4
jmp 0xc197e4
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xc19861
sub rsp, 0xffffffffffffff80
jmp 0x45a760
Function at 0x180001590
Capabilities:
Query service status
Start service

Disassembly:
push rbx
push rdi
sub rsp, 0x58
mov rax, qword [0x180005010]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov rdi, rdx
test rdx, rdx
je 0x18000174c
xor eax, eax
mov qword [rsp + 0x50], r12
mov qword [rdx], rax
lea r8d, [rbx + 1]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r12, rax
test rax, rax
je 0x180001748
lea r8d, [rbx + 0x14]
mov qword [rsp + 0x48], r14
lea rdx, str.TrustedInstaller
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r14, rax
test rax, rax
je 0x18000171f
mov qword [rsp + 0x70], rbp
lea rax, [rsp + 0x30]
mov qword [rsp + 0x80], rsi
lea r9d, [rbx + 0x24]
mov qword [rsp + 0x40], r15
mov r8, rdi
xor edx, edx
mov dword [rsp + 0x30], ebx
mov rcx, r14
mov qword [rsp + 0x20], rax
xor r15d, r15d
xor esi, esi
xor bpl, bpl
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x180001704
nop
mov eax, dword [rdi + 4]
cmp eax, 4
je 0x1800016ff
cmp eax, 1
jne 0x180001677
test bpl, bpl
jne 0x1800016e1
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov ebx, eax
test eax, eax
je 0x180001704
mov bpl, 1
jmp 0x1800016b9
add eax, 0xfffffffe
cmp eax, 1
ja 0x180001704
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, dword [rdi + 0x14]
test rsi, rsi
jne 0x1800016a7
mov esi, ecx
xor edx, edx
mov ecx, 0xfa
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_SleepEx]
jmp 0x1800016b9
cmp eax, r15d
ja 0x1800016b7
mov eax, dword [rdi + 0x18]
sub rcx, rsi
cmp rcx, rax
ja 0x1800016f0
xor esi, esi
lea rax, [rsp + 0x30]
mov r9d, 0x24
mov r8, rdi
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x180001640
jmp 0x180001704
xor ebx, ebx
mov ecx, 0x65b
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x180001704
xor ebx, ebx
mov ecx, 0x5b4
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x180001704
mov ebx, 1
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r15, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x70]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov r14, qword [rsp + 0x48]
mov eax, ebx
mov r12, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180002110
add rsp, 0x58
pop rdi
pop rbx
ret
mov eax, ebx
jmp 0x18000172f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
jmp 0x180001734
Function at 0x180001860
Capabilities:
Get token privileges

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0x40
mov rax, qword [0x180005010]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor edi, edi
lea rax, [rsp + 0x30]
xor r9d, r9d
mov dword [rsp + 0x30], edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rbp, rcx
lea edx, [rdi + 3]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x18000198f
mov qword [rsp + 0x58], rbx
mov ebx, dword [rsp + 0x30]
mov qword [rsp + 0x60], rsi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
lea edx, [rdi + 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
test rax, rax
je 0x180001980
mov r9d, dword [rsp + 0x30]
lea rax, [rsp + 0x30]
mov r8, rsi
mov qword [rsp + 0x20], rax
lea edx, [rdi + 3]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov ebx, eax
test eax, eax
jne 0x180001913
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, edi
test ebx, ebx
je 0x18000198b
mov r8d, dword [rsi]
test r8d, r8d
je 0x18000193a
nop
mov eax, edi
inc edi
inc rax
lea rax, [rax + rax*2]
mov dword [rsi + rax*4], 2
mov r8d, dword [rsi]
cmp edi, r8d
jb 0x180001920
lea rdx, [rsi + 4]
mov rcx, rbp
call fcn.180001760
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180002110
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
jmp 0x18000195e
mov eax, edi
jmp 0x180001968
Function at 0x140001c80
Capabilities:
Encode data using xor
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
movdqa xmm0, xmmword [0x14006e580]
xor ebx, ebx
movdqa xmm1, xmmword [0x14006e500]
mov ecx, ebx
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x10], 0x79335e62
movdqu xmmword [rbp - 0x20], xmm1
mov dword [rbp - 0xc], 0x1003933
nop dword [rax]
lea eax, [rcx - 0x16]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x26
jb 0x140001cc0
lea rcx, [rbp - 0x30]
mov byte [rbp - 9], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x28a
call qword [sym.imp.KERNEL32.dll_Sleep]
movdqa xmm0, xmmword [0x14006e590]
mov rcx, rbx
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x20], 0xae8f8c95
mov dword [rbp - 0x1c], 0x64748c87
mov dword [rbp - 0x18], 0x2f36306f
mov word [rbp - 0x14], 0x100
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x16]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x1c
jb 0x140001d20
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x13], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x14006e5c0]
movdqa xmm1, xmmword [0x14006e330]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x10], 1
movdqu xmmword [rbp - 0x20], xmm1
nop dword [rax + rax]
lea eax, [rbx - 0x16]
xor byte [rbp + rbx - 0x30], al
inc rbx
cmp rbx, 0x1f
jb 0x140001d60
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x10], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret

Function at 0x140001d90
Capabilities:
Encode data using xor
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
movdqa xmm0, xmmword [0x14006e590]
xor ebx, ebx
movdqu xmmword [rbp - 0x30], xmm0
mov ecx, ebx
mov dword [rbp - 0x20], 0xae8f8c95
mov dword [rbp - 0x1c], 0x64748c87
mov dword [rbp - 0x18], 0x2f36306f
mov word [rbp - 0x14], 0x100
nop dword [rax]
lea eax, [rcx - 0x16]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x1c
jb 0x140001dd0
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x13], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x14006e5c0]
movdqa xmm1, xmmword [0x14006e330]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x10], 1
movdqu xmmword [rbp - 0x20], xmm1
nop dword [rax + rax]
lea eax, [rbx - 0x16]
xor byte [rbp + rbx - 0x30], al
inc rbx
cmp rbx, 0x1f
jb 0x140001e10
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x10], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
Function at 0x140005ee0
Capabilities:
Encode data using xor
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
movdqa xmm0, xmmword [0x14006e890]
xor ebx, ebx
movdqa xmm1, xmmword [0x14006e820]
mov ecx, ebx
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x10], 0x7a325963
movdqu xmmword [rbp - 0x20], xmm1
mov dword [rbp - 0xc], 0x1002632
nop dword [rax]
lea eax, [rcx - 0x15]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x26
jb 0x140005f20
lea rcx, [rbp - 0x30]
mov byte [rbp - 9], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x258
call qword [sym.imp.KERNEL32.dll_Sleep]
movdqa xmm0, xmmword [0x14006e8c0]
mov rcx, rbx
movdqu xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x20], 0xad8e8b94
mov dword [rbp - 0x1c], 0x67757386
mov dword [rbp - 0x18], 0x2c37376e
mov word [rbp - 0x14], 0x100
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x15]
xor byte [rbp + rcx - 0x30], al
inc rcx
cmp rcx, 0x1c
jb 0x140005f80
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x13], bl
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x14006e930]
movdqa xmm1, xmmword [0x14006e720]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x10], 1
movdqu xmmword [rbp - 0x20], xmm1
nop dword [rax + rax]
lea eax, [rbx - 0x15]
xor byte [rbp + rbx - 0x30], al
inc rbx
cmp rbx, 0x1f
jb 0x140005fc0
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x10], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret

Function at 0x140005ff0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x140006013
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x15]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x140006000
mov byte [rcx + 5], 0
mov rax, rcx
ret
Function at 0x140007880
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 7], dil
je 0x1400078b4
mov eax, edi
nop dword [rax]
lea ecx, [rax + 0x58]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x1400078a0
mov byte [r8 + 7], dil
lea rax, [r8 + 6]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x1400078e4
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x1400078fe
mov qword [rsp + 0x30], 6
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
movzx eax, word [r8 + 4]
mov word [rsp + 0x24], ax
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14000790c
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140015760
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140007986
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007981
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007981
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a180
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1400079a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 9], dil
je 0x1400079d4
mov eax, edi
nop dword [rax]
lea ecx, [rax + 0x58]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x1400079c0
mov byte [r8 + 9], dil
lea rax, [r8 + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x140007a04
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x140007a15
mov qword [rsp + 0x30], 8
mov rax, qword [r8]
mov qword [rsp + 0x20], rax
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140007a23
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140015760
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140007a9d
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007a98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007a98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a180
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140007ab0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
mov qword [rbp - 0x10], rcx
xor r9d, r9d
cmp byte [r8 + 6], r9b
je 0x140007af4
mov ecx, r9d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x58]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x140007ae0
mov byte [r8 + 6], r9b
lea rax, [r8 + 5]
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r9
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x140007b1e
mov qword [rbp - 0x28], r9
mov byte [rbp - 0x38], r9b
jmp 0x140007b34
mov qword [rbp - 0x28], 5
mov eax, dword [r8]
mov dword [rbp - 0x38], eax
movzx eax, byte [r8 + 4]
mov byte [rbp - 0x34], al
cmp byte [rdx + 0xa], 0
je 0x140007b53
mov rcx, r9
nop dword [rax]
lea eax, [rcx + 0x58]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 9
jb 0x140007b40
mov byte [rdx + 0xa], 0
lea rax, [rdx + 9]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r9
mov qword [rbp - 0x40], r9
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
cmp rdx, rax
jne 0x140007b7d
mov qword [rbp - 0x48], r9
mov byte [rbp - 0x58], 0
jmp 0x140007b95
mov qword [rbp - 0x48], 9
movsd xmm0, qword [rdx]
movsd qword [rbp - 0x58], xmm0
movzx eax, byte [rdx + 8]
mov byte [rbp - 0x50], al
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x58]
movzx edx, byte [rbp - 0x60]
mov rcx, rbx
call fcn.14000de90
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140007be9
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007be3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007be3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a180
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x140007c27
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007c22
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007c22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a180
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret
Function at 0x140007c40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
mov qword [rbp - 0x10], rcx
xor r9d, r9d
cmp byte [r8 + 9], r9b
je 0x140007c84
mov ecx, r9d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x58]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 8
jb 0x140007c70
mov byte [r8 + 9], r9b
lea rax, [r8 + 8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r9
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x140007cae
mov qword [rbp - 0x28], r9
mov byte [rbp - 0x38], r9b
jmp 0x140007cbd
mov qword [rbp - 0x28], 8
mov rax, qword [r8]
mov qword [rbp - 0x38], rax
cmp byte [rdx + 0xa], 0
je 0x140007ce3
mov rcx, r9
nop word [rax + rax]
lea eax, [rcx + 0x58]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 9
jb 0x140007cd0
mov byte [rdx + 0xa], 0
lea rax, [rdx + 9]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r9
mov qword [rbp - 0x40], r9
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
cmp rdx, rax
jne 0x140007d0d
mov qword [rbp - 0x48], r9
mov byte [rbp - 0x58], 0
jmp 0x140007d25
mov qword [rbp - 0x48], 9
movsd xmm0, qword [rdx]
movsd qword [rbp - 0x58], xmm0
movzx eax, byte [rdx + 8]
mov byte [rbp - 0x50], al
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x58]
movzx edx, byte [rbp - 0x60]
mov rcx, rbx
call fcn.14000de90
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140007d79
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007d73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007d73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a180
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x140007db7
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007db2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007db2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a180
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret
Function at 0x140007dd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 0xa], dil
je 0x140007e04
mov eax, edi
nop dword [rax]
lea ecx, [rax + 0x58]
xor byte [r8 + rax], cl
inc rax
cmp rax, 9
jb 0x140007df0
mov byte [r8 + 0xa], dil
lea rax, [r8 + 9]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x140007e34
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x140007e51
mov qword [rsp + 0x30], 9
movsd xmm0, qword [r8]
movsd qword [rsp + 0x20], xmm0
movzx eax, byte [r8 + 8]
mov byte [rsp + 0x28], al
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140007e5f
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140015760
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140007ed9
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ed4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007ed4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a180
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140007ef0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 0xc], dil
je 0x140007f24
mov eax, edi
nop dword [rax]
lea ecx, [rax + 0x58]
xor byte [r8 + rax], cl
inc rax
cmp rax, 0xb
jb 0x140007f10
mov byte [r8 + 0xc], dil
lea rax, [r8 + 0xb]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x140007f54
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x140007f7b
mov qword [rsp + 0x30], ntohs
movsd xmm0, qword [r8]
movsd qword [rsp + 0x20], xmm0
movzx eax, word [r8 + 8]
mov word [rsp + 0x28], ax
movzx eax, byte [r8 + 0xa]
mov byte [rsp + 0x2a], al
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140007f89
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140015760
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140008003
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ffe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007ffe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006a180
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret