joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400131c0
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x1a0
mov rax, qword [0x1403c9f40]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rdi, rcx
test rcx, rcx
je 0x1400131f8
mov byte [rcx], 0
xor ebx, ebx
mov rbp, 0xffffffffffffffff
mov r15d, ebx
mov dword [rsp + 0x30], ebx
mov r14d, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsProcessInJob]
test eax, eax
je 0x1400132d0
cmp dword [rsp + 0x30], ebx
je 0x1400132d0
mov r9d, 0x90
mov qword [rsp + 0x20], rbx
lea r8, [rsp + 0x100]
xor ecx, ecx
lea edx, [rbp + 0xa]
call qword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
je 0x1400132d0
mov eax, dword [rsp + 0x110]
mov rdx, rbp
bt eax, 9
mov rcx, rbp
mov rsi, rbp
cmovb rdx, qword [rsp + 0x178]
bt eax, 8
cmovb rcx, qword [rsp + 0x170]
test al, 1
cmovne rsi, qword [rsp + 0x120]
cmp rdx, rbp
jne 0x140013299
cmp rcx, rbp
jne 0x140013299
cmp rsi, rbp
je 0x1400132d0
cmp rdx, rcx
mov dword [rsp + 0x40], 0x40
cmovb rcx, rdx
cmp rcx, rsi
cmovb rsi, rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rbp, qword [rsp + 0x48]
mov r15, qword [rsp + 0x68]
cmp rsi, rbp
mov r14, qword [rsp + 0x50]
cmovb rbp, rsi
cmp rbp, 0xffffffffffffffff
mov rsi, rbx
cmovne rsi, rbp
test r15, r15
jne 0x140013309
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x80], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov r15, qword [rsp + 0xa8]
mov r14, qword [rsp + 0x88]
test rsi, rsi
cmovne r14, rsi
cmp r15, r14
cmovae rbx, rsi
test rbx, rbx
je 0x140013329
test rdi, rdi
je 0x140013324
mov byte [rdi], 1
mov rax, rbx
jmp 0x14001335b
lea rcx, [rsp + 0xc0]
mov dword [rsp + 0xc0], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0xc8]
cmp qword [rsp + 0xe8], rax
cmovb rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14005b6c0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret

Function at 0x1400133b0
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1403c9f40]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14005b6c0
add rsp, 0x78
ret
Function at 0x140013610
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
xor ebx, ebx
mov dword [0x1403d6720], eax
mov eax, dword [rsp + 0x24]
mov dword [0x1403d6724], eax
mov eax, dword [rsp + 0x48]
mov dword [0x1403d6728], eax
mov dword [rsp + 0x60], ebx
mov byte [0x1403d672d], bl
call fcn.140014800
test al, al
je 0x14001367e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
test eax, eax
je 0x14001367e
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14001367e
inc eax
mov byte [0x1403d672d], 1
mov dword [0x1403d67b0], eax
mov byte [0x1403d672e], bl
mov word [rsp + 0x60], bx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessGroupAffinity]
mov edi, 1
test eax, eax
jne 0x1400136bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400136bb
movzx eax, word [rsp + 0x60]
jmp 0x1400136c2
mov eax, edi
mov word [rsp + 0x60], ax
cmp ax, di
seta cl
call fcn.1400146f0
test al, al
je 0x1400136eb
call fcn.1400133f0
test al, al
je 0x1400136eb
cmp dword [0x1403d67b4], edi
seta al
mov byte [0x1403d672e], al
jmp 0x1400136f2
movzx eax, byte [0x1403d672e]
test al, al
je 0x140013740
mov r9d, dword [0x1403d67b8]
test r9, r9
je 0x1400137c3
lea r8, [0x1403d6730]
nop dword [rax]
mov rcx, rbx
mov rax, rbx
shr rax, 6
and ecx, 0x3f
lea rdx, [r8 + rax*8]
inc rbx
mov rax, qword [rdx]
bts rax, rcx
mov qword [rdx], rax
cmp rbx, r9
jb 0x140013710
mov al, 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
je 0x1400137c3
mov r9, qword [rsp + 0x60]
lea r8, [0x1403d6730]
nop dword [rax]
test r9, rdi
je 0x140013791
mov rcx, rbx
mov rax, rbx
shr rax, 6
and ecx, 0x3f
lea rdx, [r8 + rax*8]
mov rax, qword [r8 + rax*8]
bts rax, rcx
mov qword [rdx], rax
rol rdi, 1
test r9, rdi
je 0x1400137b6
lea rdx, [rbx + 1]
mov rax, rdx
and edx, 0x3f
shr rax, 6
lea rcx, [r8 + rax*8]
mov rax, qword [r8 + rax*8]
bts rax, rdx
mov qword [rcx], rax
rol rdi, 1
add rbx, 2
cmp rbx, 0x40
jb 0x140013770
mov rbx, qword [rsp + 0x70]
mov al, 1
add rsp, 0x50
pop rdi
ret
Function at 0x140059e30
Capabilities:
Compute adler32 checksum

Disassembly:
mov r8d, r8d
jmp 0x140059e40
mov r9d, ecx
mov r10, rdx
shr r9d, 0x10
movzx ecx, cx
cmp r8, 1
jne 0x140059e84
movzx edx, byte [rdx]
add edx, ecx
cmp edx, 0xfff1
lea r8d, [rdx - 0xfff1]
cmovb r8d, edx
lea eax, [r8 + r9]
cmp eax, 0xfff1
lea ecx, [rax - 0xfff1]
cmovb ecx, eax
shl ecx, 0x10
or ecx, r8d
mov eax, ecx
ret
test rdx, rdx
jne 0x140059e8d
lea eax, [rdx + 1]
ret
cmp r8, 0x10
jae 0x140059edc
test r8, r8
je 0x140059eb3
nop dword [rax + rax]
movzx eax, byte [r10]
lea r10, [r10 + 1]
add ecx, eax
add r9d, ecx
sub r8, 1
jne 0x140059ea0
cmp ecx, 0xfff1
lea r8d, [rcx - 0xfff1]
mov eax, 0x80078071
cmovb r8d, ecx
mul r9d
shr edx, 0xf
imul eax, edx, 0xf
add eax, r9d
shl eax, 0x10
or eax, r8d
ret
cmp r8, 0x15b0
jb 0x140059fb7
mov r11, r8
movabs rax, 0x79baa6bb6398b6f7
mul r8
sub r11, rdx
shr r11, 1
add r11, rdx
shr r11, 0xc
imul rax, r11, 0xffffffffffffea50
add r8, rax
mov edx, 0x2b6
nop word [rax + rax]
movzx eax, byte [r10]
add ecx, eax
movzx eax, byte [r10 + 1]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 2]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 3]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 4]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 5]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 6]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 7]
add r9d, ecx
add r10, 8
add ecx, eax
add r9d, ecx
add edx, 0xffffffff
jne 0x140059f20
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r9d, eax
sub r11, 1
jne 0x140059f10
test r8, r8
je 0x14005a069
cmp r8, 8
jb 0x14005a030
mov rdx, r8
shr rdx, 3
imul rax, rdx, 0xfffffffffffffff8
add r8, rax
nop word [rax + rax]
movzx eax, byte [r10]
add ecx, eax
movzx eax, byte [r10 + 1]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 2]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 3]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 4]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 5]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 6]
add r9d, ecx
add ecx, eax
movzx eax, byte [r10 + 7]
add r9d, ecx
add r10, 8
add ecx, eax
add r9d, ecx
sub rdx, 1
jne 0x140059fd0
test r8, r8
je 0x14005a043
nop
movzx eax, byte [r10]
lea r10, [r10 + 1]
add ecx, eax
add r9d, ecx
sub r8, 1
jne 0x14005a030
mov eax, 0x80078071
mul ecx
mov eax, 0x80078071
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mul r9d
shr edx, 0xf
imul edx, edx, 0xffff000f
add r9d, edx
shl r9d, 0x10
or r9d, ecx
mov eax, r9d
ret

Function at 0x14005c150
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005c19a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005c19a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005c19a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005c19a
cmp dword [rcx + 0x84], 0xe
jbe 0x14005c19a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14005c19c
xor al, al
add rsp, 0x28
ret
Function at 0x14005f8e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14005f908
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14005f908
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140063af8
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
vzeroupper
lea rbp, [rsp + 0xd0]
vxorps xmm4, xmm4, xmm4
vmovdqa xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov rsi, r8
mov rdi, r9
vxorps xmm0, xmm0, xmm0
vmovdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.14014e880
nop
test rbx, rbx
je 0x140063b55
add rbx, 0xc
mov rdx, rbx
jmp 0x140063b57
xor edx, edx
mov qword [rbp - 0x50], rdx
mov rcx, qword [rbp - 0x48]
mov rbx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rbx
mov rbx, qword [rbp + 0x38]
mov qword [rsp + 0x28], rbx
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x60], rdx
mov r8, rsi
mov qword [rbp - 0x68], r8
mov r9, rdi
mov qword [rbp - 0x70], r9
lea rcx, [rbp - 0x98]
call fcn.140004480
mov rcx, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x68]
mov r9, qword [rbp - 0x70]
call sub.ADVAPI32.dll_RegQueryValueExW
mov ebx, eax
lea rcx, [rbp - 0x98]
call fcn.1400044d0
nop
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x140063bd4
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.14014e8c0
mov eax, ebx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140078da0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x90]
mov rbx, rcx
mov r15, rdx
mov r14, r8
mov esi, r9d
mov rdi, qword [rbp + 0x30]
lea rcx, [0x140258118]
call fcn.140003ff0
mov r13, rax
mov rcx, r13
call fcn.1401882f4
mov rcx, r13
mov qword [rbp - 0x48], rcx
mov r13d, dword [rdi + 8]
lea r12d, [r13 + 0x1f]
mov eax, r12d
sar eax, 0x1f
and eax, 0x1f
add r12d, eax
sar r12d, 5
mov rdx, r15
call fcn.1401857c8
mov r15, rax
lea rcx, [0x14029e4d8]
mov edx, 4
call fcn.140004110
mov qword [rbp - 0x50], rax
lea rcx, [0x14029e4d8]
mov edx, 0x20
call fcn.140004110
mov qword [rbp - 0x58], rax
lea rcx, [0x14029e4d8]
mov edx, 0x20
call fcn.140004110
mov qword [rbp - 0x60], rax
mov r8d, 1
cmp r12d, 1
jl 0x140078f9f
mov ecx, r8d
sar ecx, 0x18
mov r10, qword [rbp - 0x50]
mov byte [r10 + 0x10], cl
mov ecx, r8d
sar ecx, 0x10
mov byte [r10 + 0x11], cl
mov ecx, r8d
sar ecx, 8
mov byte [r10 + 0x12], cl
mov dword [rbp - 0x3c], r8d
mov byte [r10 + 0x13], r8b
lea rcx, [0x1402a54a8]
mov edx, 1
call fcn.140004110
mov qword [rbp - 0x68], rax
lea rcx, [rax + 0x10]
mov rdx, qword [rbp - 0x50]
call fcn.140004200
mov rcx, rbx
mov rdx, r14
mov r8, qword [rbp - 0x68]
call fcn.140079000
mov rdx, rax
mov rcx, qword [rbp - 0x48]
call fcn.1401857c8
mov r8, rax
mov rdx, r15
mov rcx, rbx
mov r9, qword [rbp - 0x58]
call fcn.140078c20
mov dword [rsp + 0x20], 0x20
mov rcx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x60]
xor edx, edx
xor r9d, r9d
call fcn.1400fbad0
mov dword [rbp - 0x40], 1
cmp esi, 1
jle 0x140078f4c
mov rcx, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x60]
call fcn.1401857c8
mov r8, rax
mov rdx, r15
mov rcx, rbx
mov r9, qword [rbp - 0x60]
call fcn.140078c20
xor ecx, ecx
nop dword [rax + rax]
mov r10d, ecx
mov rax, qword [rbp - 0x58]
lea rdx, [rax + r10 + 0x10]
mov r9, qword [rbp - 0x60]
movzx r10d, byte [r9 + r10 + 0x10]
xor byte [rdx], r10b
inc ecx
cmp ecx, 0x20
jl 0x140078f20
mov ecx, dword [rbp - 0x40]
inc ecx
cmp ecx, esi
mov dword [rbp - 0x40], ecx
jl 0x140078ef7
xor ecx, ecx
nop
mov r10d, ecx
imul r10d, r12d
mov r8d, dword [rbp - 0x3c]
lea r10d, [r10 + r8 - 1]
cmp r13d, r10d
jle 0x140078f84
mov edx, ecx
mov rax, qword [rbp - 0x58]
movzx edx, byte [rax + rdx + 0x10]
cmp r10d, r13d
jae 0x140078f7f
mov r10d, r10d
mov byte [rdi + r10 + 0x10], dl
jmp 0x140078f84
call fcn.140158798
inc ecx
cmp ecx, 0x20
mov dword [rbp - 0x3c], r8d
jl 0x140078f50
mov r8d, dword [rbp - 0x3c]
inc r8d
cmp r8d, r12d
jle 0x140078e58
mov rcx, qword [rbp - 0x48]
lea r10, [0x140237660]
call qword [r10]
nop
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14007a8c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rax, qword [rsp + 0x90]
mov r10d, dword [rsp + 0x98]
lea r11d, [r8 + r9]
mov ebx, dword [rdx + 8]
mov dword [rsp + 0x24], ebx
cmp r11d, ebx
jg 0x14007aa3c
mov dword [rsp + 0x98], r10d
lea r11d, [r10 + r9]
mov qword [rsp + 0x90], rax
mov esi, dword [rax + 8]
mov dword [rsp + 0x20], esi
cmp r11d, esi
jg 0x14007aa62
xor r11d, r11d
test r9d, r9d
jle 0x14007aa28
mov edi, dword [rcx + 0x20]
inc edi
movzx edi, dil
mov dword [rcx + 0x20], edi
mov rbp, qword [rcx + 0x18]
mov r14, rbp
mov r15d, edi
mov r13d, dword [r14 + 8]
cmp r15d, r13d
jae 0x14007aa89
movzx r14d, byte [r14 + r15 + 0x10]
mov r12d, r14d
add r12d, dword [rcx + 0x24]
movzx r12d, r12b
mov dword [rcx + 0x24], r12d
mov r12, rbp
mov eax, edi
mov r10, rbp
mov esi, dword [rcx + 0x24]
mov ebx, esi
cmp ebx, r13d
jae 0x14007aa89
movzx r10d, byte [r10 + rbx + 0x10]
cmp eax, r13d
jae 0x14007aa89
mov byte [r12 + r15 + 0x10], r10b
mov rax, rbp
mov r10d, esi
cmp r10d, r13d
jae 0x14007aa89
mov byte [rax + rbx + 0x10], r14b
lea eax, [r11 + r8]
mov r10d, dword [rsp + 0x24]
cmp eax, r10d
jae 0x14007aa89
movzx eax, byte [rdx + rax + 0x10]
mov r14, rbp
mov r12, rbp
cmp edi, r13d
jae 0x14007aa89
movzx edi, byte [r12 + r15 + 0x10]
cmp esi, r13d
jae 0x14007aa89
movzx ebx, byte [rbp + rbx + 0x10]
add ebx, edi
movzx ebx, bl
cmp ebx, r13d
jae 0x14007aa89
movzx ebx, byte [r14 + rbx + 0x10]
xor eax, ebx
mov ebx, dword [rsp + 0x98]
lea esi, [r11 + rbx]
mov edi, dword [rsp + 0x20]
cmp esi, edi
jae 0x14007aa89
mov rbp, qword [rsp + 0x90]
mov byte [rbp + rsi + 0x10], al
inc r11d
cmp r11d, r9d
mov qword [rsp + 0x90], rbp
mov dword [rsp + 0x98], ebx
jl 0x14007a924
mov eax, r9d
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x140245a40]
call fcn.140003ff0
mov rbx, rax
mov rcx, rbx
lea rdx, [0x140220d68]
call fcn.1400fe3a8
mov rcx, rbx
call fcn.140004ac0
lea rcx, [0x140245a40]
call fcn.140003ff0
mov rbx, rax
mov rcx, rbx
lea rdx, [0x140221ff8]
call fcn.1400fe3a8
mov rcx, rbx
call fcn.140004ac0
int3
call fcn.140158798
int3
Function at 0x1400d4fc8
Capabilities:
Create process on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0x110]
xor eax, eax
mov qword [rbp - 0x68], rax
vxorps xmm4, xmm4, xmm4
vmovdqa xmmword [rbp - 0x60], xmm4
vmovdqa xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov r14, qword [rbp + 0x48]
mov rsi, qword [rbp + 0x50]
mov rdi, qword [rbp + 0x58]
xor r15d, r15d
cmp byte [rbp + 0x30], 0
setne r15b
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x48], rsi
test r14, r14
je 0x1400d5028
add r14, 0xc
jmp 0x1400d502b
xor r14d, r14d
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x58], r9
mov r13, r9
mov qword [rbp - 0x60], r8
mov r12, r8
test rcx, rcx
je 0x1400d504b
add rcx, 0xc
mov rax, rcx
jmp 0x1400d504d
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x70], rax
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov dword [rsp + 0x20], r15d
mov r15d, dword [rbp + 0x38]
mov dword [rsp + 0x28], r15d
mov r15, qword [rbp + 0x40]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rdi
mov rcx, qword [rbp - 0x70]
mov qword [rbp - 0x78], rcx
mov rdx, rbx
mov qword [rbp - 0x80], rdx
mov r8, r12
mov qword [rbp - 0x88], r8
mov r9, r13
mov qword [rbp - 0x90], r9
lea rcx, [rbp - 0xb8]
call fcn.140004480
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x88]
mov r9, qword [rbp - 0x90]
call sub.KERNEL32.dll_CreateProcessW
mov ebx, eax
lea rcx, [rbp - 0xb8]
call fcn.1400044d0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne bl
movzx ebx, bl
call fcn.140002a47
mov dword [rax + 0xb0], esi
movzx eax, bl
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400d522c
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rax
mov ebx, edx
mov qword [rbp - 0x40], r8
mov rsi, r8
lea rdi, [rcx + 0x10]
xor eax, eax
test rcx, rcx
cmove rdi, rax
mov qword [rbp - 0x48], rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rdi
mov qword [rbp - 0x54], rcx
mov edx, ebx
mov dword [rbp - 0x4c], edx
mov r8, rsi
mov qword [rbp - 0x5c], r8
lea rcx, [rbp - 0x88]
call fcn.140004480
mov rcx, qword [rbp - 0x54]
mov edx, dword [rbp - 0x4c]
mov r8, qword [rbp - 0x5c]
call sub.KERNEL32.dll_K32EnumProcesses
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.1400044d0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne bl
movzx ebx, bl
call fcn.140002a47
mov dword [rax + 0xb0], esi
movzx eax, bl
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400d5814
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0xe0]
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rbx, r8
mov r14d, r9d
xor ecx, ecx
mov dword [rbp - 0x3c], ecx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x50], rcx
mov byte [rbp - 0x5c], 0
lea rcx, [0x140230f58]
call fcn.1401ee7d4
mov qword [rbp - 0x68], rax
mov byte [rbp - 0x60], 0
lea rcx, [0x140230f58]
call fcn.1401ee7d4
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x58], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
lea rcx, [rbp - 0x48]
mov qword [rbp - 0x7c], rcx
lea rdx, [rbp - 0x50]
mov qword [rbp - 0x84], rdx
mov r8, rbx
mov qword [rbp - 0x8c], r8
mov r9d, r14d
mov dword [rbp - 0x74], r9d
lea rcx, [rbp - 0xb8]
call fcn.140004480
mov rcx, qword [rbp - 0x7c]
mov rdx, qword [rbp - 0x84]
mov r8, qword [rbp - 0x8c]
mov r9d, dword [rbp - 0x74]
call sub.KERNEL32.dll_CreatePipe
mov ebx, eax
lea rcx, [rbp - 0xb8]
call fcn.1400044d0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov dword [rbp - 0x3c], 1
mov rcx, qword [rbp - 0x50]
mov byte [rbp - 0x5c], 1
mov rax, qword [rbp - 0x68]
mov qword [rax + 8], rcx
mov rcx, qword [rbp - 0x48]
mov byte [rbp - 0x60], 1
mov r8, qword [rbp - 0x70]
mov qword [r8 + 8], rcx
test ebx, ebx
setne bl
movzx ebx, bl
mov rcx, qword [rbp + 0x18]
mov rdx, rax
call fcn.140004270
mov rcx, qword [rbp + 0x10]
mov rdx, qword [rbp - 0x70]
call fcn.140004270
nop
call fcn.140002a47
mov dword [rax + 0xb0], esi
movzx eax, bl
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1400e7658
Capabilities:
Set socket configuration

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rcx
mov esi, edx
mov qword [rbp - 0x40], r8
mov rdi, r8
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rbx
mov qword [rbp - 0x4c], rcx
mov edx, esi
mov dword [rbp - 0x44], edx
mov r8, rdi
mov qword [rbp - 0x54], r8
lea rcx, [rbp - 0x80]
call fcn.140004480
mov rcx, qword [rbp - 0x4c]
mov edx, dword [rbp - 0x44]
mov r8, qword [rbp - 0x54]
call sub.WS2_32.dll_ioctlsocket
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.1400044d0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140002a47
mov dword [rax + 0xb0], esi
mov eax, ebx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400e76ec
Capabilities:
Set socket configuration

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
vzeroupper
lea rbp, [rsp + 0xb0]
vxorps xmm4, xmm4, xmm4
vmovdqa xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov esi, edx
mov rbx, r8
vxorps xmm0, xmm0, xmm0
vmovdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.14014e880
nop
mov qword [rbp - 0x50], rbx
mov rcx, qword [rbp - 0x48]
mov rdi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rdi
mov qword [rbp - 0x5c], rcx
mov edx, esi
mov dword [rbp - 0x54], edx
mov r8, rbx
mov qword [rbp - 0x64], r8
lea rcx, [rbp - 0x90]
call fcn.140004480
mov rcx, qword [rbp - 0x5c]
mov edx, dword [rbp - 0x54]
mov r8, qword [rbp - 0x64]
call sub.WS2_32.dll_ioctlsocket
mov ebx, eax
lea rcx, [rbp - 0x90]
call fcn.1400044d0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x1400e77a4
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.14014e8c0
call fcn.140002a47
mov dword [rax + 0xb0], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret