joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140055e30
Capabilities:
Initialize winsock library

Disassembly:
mov byte [rsp + 0x18], r8b
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x1e8
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1f0]
mov ecx, 1
lock xadd dword [rax], ecx
inc ecx
mov eax, ecx
cmp eax, 1
jne 0x140055ebd
movzx eax, byte [rsp + 0x1f8]
and rax, 0xff
movzx eax, al
movzx ecx, byte [rsp + 0x200]
and rcx, 0xff
movzx ecx, cl
shl ecx, 8
or eax, ecx
lea rdx, [rsp + 0x30]
movzx ecx, ax
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x1f0]
add rax, 4
mov ecx, dword [rsp + 0x20]
xchg dword [rax], ecx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.14019c6f0
add rsp, 0x1e8
ret

Function at 0x140058010
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x44], 0
cmp qword [rsp + 0xb0], 0xffffffffffffffff
je 0x1400581d8
movzx eax, byte [rsp + 0xc0]
test eax, eax
je 0x1400580cf
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax]
and eax, 8
test eax, eax
je 0x1400580cf
xor eax, eax
mov word [rsp + 0x78], ax
xor eax, eax
mov word [rsp + 0x7a], ax
lea rcx, [rsp + 0x80]
call fcn.140053bf0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x80
mov r8d, 0xffff
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
call fcn.140058a30
nop
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.WS2_32.dll_closesocket]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x1400580ef
mov byte [rsp + 0x40], 1
jmp 0x1400580f4
mov byte [rsp + 0x40], 0
movzx edx, byte [rsp + 0x40]
mov rcx, qword [rsp + 0xc8]
call fcn.140057fa0
nop
cmp dword [rsp + 0x44], 0
je 0x1400581d8
xor r8d, r8d
mov edx, 0x2733
lea rcx, [rsp + 0x48]
call fcn.1400730f0
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.1400541a0
movzx eax, al
test eax, eax
jne 0x140058168
xor r8d, r8d
mov edx, 0x4d5
lea rcx, [rsp + 0x60]
call fcn.1400730f0
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0xc8]
call fcn.1400541a0
movzx eax, al
test eax, eax
je 0x1400581d8
mov dword [rsp + 0x7c], 0
lea r8, [rsp + 0x7c]
mov edx, 0x8004667e
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax]
and eax, 0xfffffffc
mov rcx, qword [rsp + 0xb8]
mov byte [rcx], al
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.WS2_32.dll_closesocket]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x1400581c0
mov byte [rsp + 0x41], 1
jmp 0x1400581c5
mov byte [rsp + 0x41], 0
movzx edx, byte [rsp + 0x41]
mov rcx, qword [rsp + 0xc8]
call fcn.140057fa0
nop
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14019c6f0
add rsp, 0xa8
ret
Function at 0x140058440
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x4c], eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_WSARecv]
mov dword [rsp + 0x40], eax
mov dl, 1
mov rcx, qword [rsp + 0x90]
call fcn.140057fa0
nop
mov rcx, qword [rsp + 0x90]
call fcn.140053df0
cmp eax, 0x40
jne 0x1400584f6
mov edx, 0x2746
mov rcx, qword [rsp + 0x90]
call fcn.1400730b0
nop
jmp 0x14005854f
mov rcx, qword [rsp + 0x90]
call fcn.140053df0
cmp eax, 0x4d2
jne 0x14005851f
mov edx, 0x274d
mov rcx, qword [rsp + 0x90]
call fcn.1400730b0
nop
jmp 0x14005854f
mov rcx, qword [rsp + 0x90]
call fcn.140053df0
cmp eax, 0x2738
je 0x140058547
mov rcx, qword [rsp + 0x90]
call fcn.140053df0
cmp eax, 0xea
jne 0x14005854f
mov dword [rsp + 0x40], 0
cmp dword [rsp + 0x40], 0
je 0x14005855d
mov eax, 0xffffffff
jmp 0x14005856e
mov rcx, qword [rsp + 0x90]
call fcn.140053dc0
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14019c6f0
add rsp, 0x68
ret

Function at 0x140058700
Capabilities:
Send data
Send data on socket

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x4c]
mov r8d, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_WSASend]
mov dword [rsp + 0x48], eax
mov dl, 1
mov rcx, qword [rsp + 0x90]
call fcn.140057fa0
nop
mov rcx, qword [rsp + 0x90]
call fcn.140053df0
cmp eax, 0x40
jne 0x1400587b4
mov edx, 0x2746
mov rcx, qword [rsp + 0x90]
call fcn.1400730b0
nop
jmp 0x1400587db
mov rcx, qword [rsp + 0x90]
call fcn.140053df0
cmp eax, 0x4d2
jne 0x1400587db
mov edx, 0x274d
mov rcx, qword [rsp + 0x90]
call fcn.1400730b0
nop
cmp dword [rsp + 0x48], 0
je 0x1400587e9
mov eax, 0xffffffff
jmp 0x1400587fa
mov rcx, qword [rsp + 0x90]
call fcn.140053dc0
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14019c6f0
add rsp, 0x68
ret
Function at 0x140058960
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x60]
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0xffffffffffffffff
jne 0x1400589bf
mov byte [rsp + 0x30], 1
jmp 0x1400589c4
mov byte [rsp + 0x30], 0
movzx edx, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
call fcn.140057fa0
nop
cmp qword [rsp + 0x38], 0xffffffffffffffff
jne 0x1400589e3
mov rax, qword [rsp + 0x38]
jmp 0x140058a1b
cmp dword [rsp + 0x60], 0x17
jne 0x140058a16
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x40]
mov r8d, 0x1b
mov edx, 0x29
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_setsockopt]
nop
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14019c6f0
add rsp, 0x58
ret
Function at 0x140058d30
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x278
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x260], rax
cmp qword [rsp + 0x280], 0xffffffffffffffff
jne 0x140058d83
mov edx, 0x2719
mov rcx, qword [rsp + 0x298]
call fcn.1400730b0
mov eax, 0xffffffff
jmp 0x140058ee9
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x34], 0
jmp 0x140058d9f
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x34], eax
jae 0x140058dc0
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x280]
cmp qword [rsp + rax*8 + 0x58], rcx
jne 0x140058dbe
jmp 0x140058dc0
jmp 0x140058d95
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x34], eax
jne 0x140058dec
cmp dword [rsp + 0x50], 0x40
jae 0x140058dec
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x280]
mov qword [rsp + rax*8 + 0x58], rcx
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
xor eax, eax
test eax, eax
jne 0x140058d8b
movzx eax, byte [rsp + 0x288]
and eax, 1
test eax, eax
je 0x140058e1d
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x4c], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
jmp 0x140058e6a
cmp dword [rsp + 0x290], 0
jl 0x140058e61
mov eax, dword [rsp + 0x290]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x290]
cdq
mov ecx, 0x3e8
idiv ecx
mov eax, edx
imul eax, eax, 0x3e8
mov dword [rsp + 0x4c], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
jmp 0x140058e6a
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x280]
inc rax
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jge 0x140058ea4
mov byte [rsp + 0x30], 1
jmp 0x140058ea9
mov byte [rsp + 0x30], 0
movzx edx, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x298]
call fcn.140057fa0
nop
cmp dword [rsp + 0x38], 0
jne 0x140058ee5
movzx eax, byte [rsp + 0x288]
and eax, 1
test eax, eax
je 0x140058ee5
mov edx, 0x2733
mov rcx, qword [rsp + 0x298]
call fcn.1400730b0
nop
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14019c6f0
add rsp, 0x278
ret
Function at 0x140058f10
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x278
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x260], rax
cmp qword [rsp + 0x280], 0xffffffffffffffff
jne 0x140058f63
mov edx, 0x2719
mov rcx, qword [rsp + 0x298]
call fcn.1400730b0
mov eax, 0xffffffff
jmp 0x1400590c8
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x34], 0
jmp 0x140058f7f
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x34], eax
jae 0x140058fa0
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x280]
cmp qword [rsp + rax*8 + 0x58], rcx
jne 0x140058f9e
jmp 0x140058fa0
jmp 0x140058f75
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x34], eax
jne 0x140058fcc
cmp dword [rsp + 0x50], 0x40
jae 0x140058fcc
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x280]
mov qword [rsp + rax*8 + 0x58], rcx
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
xor eax, eax
test eax, eax
jne 0x140058f6b
movzx eax, byte [rsp + 0x288]
and eax, 1
test eax, eax
je 0x140058ffd
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x4c], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
jmp 0x14005904a
cmp dword [rsp + 0x290], 0
jl 0x140059041
mov eax, dword [rsp + 0x290]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x290]
cdq
mov ecx, 0x3e8
idiv ecx
mov eax, edx
imul eax, eax, 0x3e8
mov dword [rsp + 0x4c], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
jmp 0x14005904a
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x280]
inc rax
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea r8, [rsp + 0x50]
xor edx, edx
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jge 0x140059083
mov byte [rsp + 0x30], 1
jmp 0x140059088
mov byte [rsp + 0x30], 0
movzx edx, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x298]
call fcn.140057fa0
nop
cmp dword [rsp + 0x38], 0
jne 0x1400590c4
movzx eax, byte [rsp + 0x288]
and eax, 1
test eax, eax
je 0x1400590c4
mov edx, 0x2733
mov rcx, qword [rsp + 0x298]
call fcn.1400730b0
nop
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14019c6f0
add rsp, 0x278
ret
Function at 0x1400590e0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x488
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x470], rax
cmp qword [rsp + 0x490], 0xffffffffffffffff
jne 0x14005912e
mov edx, 0x2719
mov rcx, qword [rsp + 0x4a0]
call fcn.1400730b0
mov eax, 0xffffffff
jmp 0x1400592ca
mov dword [rsp + 0x260], 0
mov dword [rsp + 0x34], 0
jmp 0x14005914d
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x260]
cmp dword [rsp + 0x34], eax
jae 0x140059174
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x490]
cmp qword [rsp + rax*8 + 0x268], rcx
jne 0x140059172
jmp 0x140059174
jmp 0x140059143
mov eax, dword [rsp + 0x260]
cmp dword [rsp + 0x34], eax
jne 0x1400591af
cmp dword [rsp + 0x260], 0x40
jae 0x1400591af
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x490]
mov qword [rsp + rax*8 + 0x268], rcx
mov eax, dword [rsp + 0x260]
inc eax
mov dword [rsp + 0x260], eax
xor eax, eax
test eax, eax
jne 0x140059139
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x38], 0
jmp 0x1400591d1
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x38], eax
jae 0x1400591f2
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x490]
cmp qword [rsp + rax*8 + 0x58], rcx
jne 0x1400591f0
jmp 0x1400591f2
jmp 0x1400591c7
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x38], eax
jne 0x14005921e
cmp dword [rsp + 0x50], 0x40
jae 0x14005921e
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x490]
mov qword [rsp + rax*8 + 0x58], rcx
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
xor eax, eax
test eax, eax
jne 0x1400591bd
cmp dword [rsp + 0x498], 0
jl 0x140059268
mov eax, dword [rsp + 0x498]
cdq
mov ecx, 0x3e8
idiv ecx
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x498]
cdq
mov ecx, 0x3e8
idiv ecx
mov eax, edx
imul eax, eax, 0x3e8
mov dword [rsp + 0x4c], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
jmp 0x140059271
mov qword [rsp + 0x40], 0
mov rax, qword [rsp + 0x490]
inc rax
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x260]
xor edx, edx
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 0
jge 0x1400592af
mov byte [rsp + 0x30], 1
jmp 0x1400592b4
mov byte [rsp + 0x30], 0
movzx edx, byte [rsp + 0x30]
mov rcx, qword [rsp + 0x4a0]
call fcn.140057fa0
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14019c6f0
add rsp, 0x488
ret
Function at 0x1400594a0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x58
cmp qword [rsp + 0x78], 0
je 0x1400594da
mov rax, qword [rsp + 0x78]
movsx eax, byte [rax]
test eax, eax
je 0x1400594da
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
jmp 0x1400594e3
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x80], 0
je 0x140059516
mov rax, qword [rsp + 0x80]
movsx eax, byte [rax]
test eax, eax
je 0x140059516
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
jmp 0x14005951f
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x80], rax
call fcn.140057f80
mov r9, qword [rsp + 0x90]
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [rsp + 0x20], eax
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.1400592f0
mov rdi, qword [rsp + 0x98]
mov rsi, rax
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x98]
mov ecx, 0x18
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x70]
add rsp, 0x58
pop rdi
pop rsi
ret

Function at 0x140066d00
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1401b0a98]
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x140066d89
lea rdx, str.Error:_Unable_to_get_Volume_Information
mov rcx, qword [rsp + 0x60]
call fcn.140027ec0
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x60]
jmp 0x140066da7
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x60]
call fcn.140050db0
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14019c6f0
add rsp, 0x58
ret
Function at 0x1400676e0
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0x20], 0
mov edx, 0x18
lea rcx, [rsp + 0xd0]
call fcn.1400049d0
lea rdx, [0x1401b0ae0]
lea rcx, [rsp + 0x70]
call fcn.140027bc0
nop
lea rdx, str.SELECT__FROM_Win32_VideoController
lea rcx, [rsp + 0x50]
call fcn.140027bc0
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xd0]
call fcn.140067020
nop
lea rcx, [rsp + 0x50]
call fcn.140005500
nop
lea rcx, [rsp + 0x70]
call fcn.140005500
nop
lea rcx, [rsp + 0xd0]
call fcn.140005370
movzx eax, al
test eax, eax
je 0x1400677b8
lea rdx, [0x1401b0af0]
lea rcx, [rsp + 0xb0]
call fcn.140027ec0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x28], rax
jmp 0x1400677f1
xor edx, edx
lea rcx, [rsp + 0xd0]
call fcn.14004b030
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140027f20
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x100]
call fcn.140027df0
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 2
test eax, eax
je 0x140067836
and dword [rsp + 0x20], 0xfffffffd
lea rcx, [rsp + 0x90]
call fcn.140005530
nop
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x140067854
and dword [rsp + 0x20], 0xfffffffe
lea rcx, [rsp + 0xb0]
call fcn.140005530
nop
lea rcx, [rsp + 0xd0]
call fcn.1400274d0
nop
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.14019c6f0
add rsp, 0xf8
ret
Function at 0x140067890
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x20], 0
mov edx, 0x18
lea rcx, [rsp + 0x90]
call fcn.1400049d0
lea rdx, str.Capacity
lea rcx, [rsp + 0x70]
call fcn.140027bc0
nop
lea rdx, str.SELECT__FROM_Win32_PhysicalMemory
lea rcx, [rsp + 0x50]
call fcn.140027bc0
nop
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x90]
call fcn.140067020
nop
lea rcx, [rsp + 0x50]
call fcn.140005500
nop
lea rcx, [rsp + 0x70]
call fcn.140005500
nop
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.140027660
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x38]
call fcn.140027640
mov qword [rsp + 0x40], rax
jmp 0x14006795e
mov rax, qword [rsp + 0x28]
add rax, 0x20
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x28], rax
je 0x140067998
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov r8d, 0xa
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.140050ca0
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jmp 0x140067950
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xc0]
call fcn.140050df0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x90]
call fcn.1400274d0
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14019c6f0
add rsp, 0xb8
ret

Function at 0x140067fa0
Capabilities:
Execute command
Terminate process

Disassembly:
sub rsp, 0x28
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
add rsp, 0x28
ret
Function at 0x140073150
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_connect]
add rsp, 0x28
ret

Function at 0x140073230
Capabilities:
Set socket configuration

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x60]
mov r8d, dword [rsp + 0x58]
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WS2_32.dll_setsockopt]
add rsp, 0x38
ret
Function at 0x1400d0a70
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1401b8090]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x1400d0afe
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x1400d0aa2
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x1400d0b10
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1401b8090]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x1400d0c14
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x1400d0c0f
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x1400d0be4
cmp qword [rsp + 0x38], 2
jb 0x1400d0be4
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400d0be4
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400d0be4
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x1400d0b57
jmp 0x1400d0ca6
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x1400d0ca6
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x1400d0c7c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400d0c7c
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x1400d0c7c
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x1400d0c14
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x14011e530
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x38
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14011e556
mov dword [rsp + 0x20], 1
jmp 0x14011e55e
mov dword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret