joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140116c00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x28], 0
mov ebp, dword [rdx + 0x54]
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov edx, ebp
call fcn.140111af0
test al, 1
jne 0x140116dd9
add ebp, dword [rsp + 0x2c]
jo 0x140116c3e
mov dword [rsp + 0x2c], ebp
mov rax, qword [0x1402e80f8]
mov rax, qword [rax]
test rax, rax
je 0x140116caa
mov rax, qword [rdi + 0x38]
mov dword [rsi + 0x10], 0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x14], xmm0
mov dword [rsi + 0x24], 0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x28], xmm0
mov dword [rsi + 0x38], 0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x3c], xmm0
mov rcx, qword [rsp + 0x28]
mov qword [rsi], rcx
mov dword [rsi + 0x58], 0
mov dword [rsi + 0x4c], 0
mov qword [rsi + 8], rax
mov rax, rsi
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
ret
movzx edx, byte [0x1402e72e8]
movzx eax, dl
lea ecx, [rax - 1]
cmp ecx, 2
jae 0x140116db6
mov rcx, qword [0x1402e72d8]
call fcn.140139680
test al, al
je 0x140116c4d
mov rcx, qword [0x1402e72d8]
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x140116e06
lea rdx, [rcx + 0x30]
mov r8, qword [rcx + 0x30]
movups xmm0, xmmword [rcx + 0x40]
mov qword [rsp + 0xb0], r8
mov qword [rsp + 0xb8], rax
movups xmmword [rsp + 0xc0], xmm0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0x30], rbx
lea rax, [0x14011a440]
mov qword [rsp + 0x38], rax
lea rax, str._e__
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 1
mov qword [rsp + 0x88], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [0x140226588]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 1
mov qword [rsp + 0xa8], rdx
lea rdx, [rsp + 0x98]
call fcn.14013a340
jmp 0x140116c4d
test eax, eax
je 0x140116c4d
lea rcx, [0x1402e72d8]
call fcn.1401f5d10
mov edx, eax
test al, al
jne 0x140116cc0
jmp 0x140116c4d
mov dword [rsp + 0x68], edx
lea rax, [0x140226508]
mov qword [rsp + 0x20], rax
lea rcx, str.invalid_initial_window_sizeC:UsersLenovo.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.4.6_srcproto_streamsprioritize.rs
lea r9, [0x1402261c0]
lea r8, [rsp + 0x68]
mov edx, 0x1b
call fcn.1401fdb20
lea rcx, [0x140226520]
lea r8, [0x140226548]
mov edx, 0x22
call fcn.1401fd6f0
int3
Function at 0x140142380
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
nop word [rax + rax]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x140142390
test al, 1
je 0x1401423af
test al, 2
jne 0x1401423c7
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x140247658]
mov edx, 0x23
call fcn.1401fd7f0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x140247698]
mov edx, 0x25
call fcn.1401fd7f0
int3

Function at 0x1401470f0
Capabilities:
Set socket configuration

Disassembly:
jmp 0x140152ca0
sub rsp, 0x38
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 4
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140152cd8
xor eax, eax
add rsp, 0x38
ret
call fcn.1401c9720
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140147100
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140152cf0
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1001
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140152d25
xor eax, eax
add rsp, 0x38
ret
call fcn.1401c9720
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140147110
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140152c50
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1002
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140152c85
xor eax, eax
add rsp, 0x38
ret
call fcn.1401c9720
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140148290
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x10], 0xffffffffffffffff
je 0x1401482a8
add rcx, 0x10
add rsp, 0x28
jmp 0x140155d10
lea rcx, [0x140248848]
call fcn.1401fd6d0
int3
jmp 0x1401c06f0
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rbp - 4], eax
mov dword [rsp + 0x20], 4
lea r9, [rbp - 4]
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1401c072d
xor eax, eax
add rsp, 0x30
pop rbp
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbp
ret

Function at 0x140152bd0
Capabilities:
Connect socket

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
mov r8d, dword [rdx + 0x80]
call qword [sym.imp.ws2_32.dll_connect]
test eax, eax
je 0x140152bfa
call fcn.1401c9720
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x140152c10
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x24], eax
lea r8, [rsp + 0x24]
mov edx, 0x8004667e
call qword [sym.imp.ws2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x140152c3a
xor eax, eax
add rsp, 0x28
ret
call fcn.1401c9720
shl rax, 0x20
or rax, 2
add rsp, 0x28
ret
Function at 0x140152c50
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140152c50
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1002
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140152c85
xor eax, eax
add rsp, 0x38
ret
call fcn.1401c9720
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140152ca0
Capabilities:
Set socket configuration

Disassembly:
jmp 0x140152ca0
sub rsp, 0x38
mov rcx, qword [rcx]
movzx eax, dl
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 4
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140152cd8
xor eax, eax
add rsp, 0x38
ret
call fcn.1401c9720
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140152cf0
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140152cf0
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1001
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140152d25
xor eax, eax
add rsp, 0x38
ret
call fcn.1401c9720
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140152d40
Capabilities:
Set socket configuration

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rdi, rdx
mov rsi, qword [rcx]
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x48]
mov rcx, rsi
mov edx, 0xffff
mov r8d, 8
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140152e67
mov r9d, dword [rdi + 8]
xor ecx, ecx
mov r8d, 0
cmp r9d, 0x3b9aca00
je 0x140152dc8
mov eax, 0x3e8
mul qword [rdi]
mov r8d, r9d
imul r9, r8, 0x431bde83
shr r9, 0x32
add r9, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r9, rax
cmovae r9, rax
xor r8d, r8d
neg rdx
sbb r8d, r8d
or r8d, r9d
mov r9d, dword [rdi + 0x18]
cmp r9d, 0x3b9aca00
je 0x140152e09
mov eax, 0x3e8
mul qword [rdi + 0x10]
mov ecx, r9d
imul r9, rcx, 0x431bde83
shr r9, 0x32
add r9, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r9, rax
cmovae r9, rax
xor ecx, ecx
neg rdx
sbb ecx, ecx
or ecx, r9d
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x4c], r8d
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x54], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x48]
mov rcx, rsi
mov edx, 0x98000004
mov r9d, 0xc
call qword [sym.imp.ws2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
je 0x140152e67
xor eax, eax
jmp 0x140152e74
call fcn.1401c9720
shl rax, 0x20
or rax, 2
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x1401888a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov rsi, rcx
mov rbx, qword [rdx]
add r9, r8
mov qword [rbp - 0x30], r8
mov qword [rbp - 0x28], r9
mov word [rbp - 0x20], 0
mov dword [rbp - 0x18], 1
lea rcx, [rbp - 0x48]
lea rdx, [rbp - 0x30]
call fcn.140183850
mov dword [rbp + 0x1c], 0x800
mov dword [rbp + 0xc], 0
movzx eax, byte [0x1402e8381]
mov ecx, 0x800
mov edx, 1
call fcn.140016e50
test rax, rax
je 0x140188a7d
mov r14, rax
mov qword [rbp + 0x10], rsi
mov qword [rbp - 0x10], 0x800
mov qword [rbp - 8], rax
mov qword [rbp], 0
mov rdi, qword [rbp - 0x40]
lea r12, [rbp + 0x1c]
lea r15, [rbp + 0xc]
mov rsi, qword [rbp - 0x10]
mov r13, qword [rbp]
sub rsi, r13
nop dword [rax]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x14018899c
mov r8d, dword [rbp + 0x1c]
cmp rsi, r8
jae 0x140188950
mov qword [rsp + 0x20], 1
mov r9d, 1
lea rcx, [rbp - 0x10]
mov rdx, r13
call fcn.1401f0c90
mov r14, qword [rbp - 8]
jmp 0x140188942
movabs rbx, 0x8000000000000000
test eax, eax
jne 0x1401889cd
mov eax, dword [rbp + 0x1c]
mov qword [rbp], rax
mov eax, dword [rbp + 0xc]
cmp eax, 0xb
mov rsi, qword [rbp + 0x10]
jbe 0x140188a5f
movabs rax, 0xde00000002
jmp 0x1401889d9
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x10]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x30], rbx
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x1401889f8
mov r8d, 1
mov rcx, r14
call fcn.140016e60
mov rdx, qword [rbp - 0x48]
test rdx, rdx
je 0x140188a12
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.140016e60
mov rcx, qword [rbp - 0x30]
mov rax, rcx
neg rax
jno 0x140188a2b
mov rax, qword [rbp - 0x28]
mov qword [rsi + 8], rax
mov qword [rsi], rbx
jmp 0x140188a48
mov qword [rbp + 0x10], rcx
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.1401aa4c0
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp + 0x10]
call fcn.1401887b0
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rbp]
mov qword [rbp - 0x20], rcx
movups xmm0, xmmword [rbp - 0x10]
movaps xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x18], al
mov rdx, qword [rbp - 0x48]
test rdx, rdx
jne 0x140188a01
jmp 0x140188a12
mov ecx, 1
mov edx, 0x800
call fcn.1401fd4e0
ud2
Function at 0x140189810
Capabilities:
Get session user name

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
mov dword [rbp - 0xc], 0
lea rdx, [rbp - 0xc]
xor ecx, ecx
call qword [sym.imp.advapi32.dll_GetUserNameW]
test eax, eax
jne 0x140189940
call fcn.1401c9720
cmp eax, 0x7a
jne 0x14018987e
mov r14d, dword [rbp - 0xc]
lea rdi, [r14 + r14]
test r14, r14
je 0x1401898a1
movzx eax, byte [0x1402e8381]
mov edx, 2
mov rcx, rdi
call fcn.140016e50
test rax, rax
je 0x140189958
mov rbx, rax
jmp 0x1401898a6
call fcn.1401c9720
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
jmp 0x140189932
mov ebx, 2
mov dword [rbp - 0xc], r14d
lea rdx, [rbp - 0xc]
mov rcx, rbx
call qword [sym.imp.advapi32.dll_GetUserNameW]
test eax, eax
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x28], r14
je 0x1401898d5
mov r8d, dword [rbp - 0xc]
test r8, r8
je 0x1401898fb
dec r8
jmp 0x1401898fe
call fcn.1401c9720
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
cmp dword [rbp - 0x28], 0
jne 0x14018991f
jmp 0x140189932
xor r8d, r8d
lea rcx, [rbp - 0x48]
mov rdx, rbx
call fcn.1401c0930
movups xmm0, xmmword [rbp - 0x48]
movups xmm1, xmmword [rbp - 0x38]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
cmp dword [rbp - 0x28], 0
je 0x140189932
mov r8d, 2
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x20]
call fcn.140016e60
mov rax, rsi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, [0x140273c71]
lea r8, [0x140273cf0]
mov edx, 0x16
call fcn.1401fd7f0
mov ecx, 2
mov rdx, rdi
call fcn.1401fd4e0
int3
Function at 0x14018d960
Capabilities:
Get hostname

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
mov dword [rbp - 0xc], 0
lea r8, [rbp - 0xc]
mov ecx, 5
xor edx, edx
call sub.kernel32.dll_GetComputerNameExW
mov r14d, dword [rbp - 0xc]
test r14, r14
je 0x14018d9f6
lea rdi, [r14 + r14]
mov edx, 2
mov rcx, rdi
call fcn.140016e80
test rax, rax
je 0x14018daaa
mov rbx, rax
lea r8, [rbp - 0xc]
mov ecx, 5
mov rdx, rax
call sub.kernel32.dll_GetComputerNameExW
cmp eax, 1
jne 0x14018da52
xor r8d, r8d
mov qword [rbp - 0x18], r14
nop dword [rax + rax]
cmp word [rbx + r8*2], 0
je 0x14018da1e
inc r8
add rdi, 0xfffffffffffffffe
jne 0x14018d9e0
mov r8, r14
jmp 0x14018da1e
mov ebx, 2
lea r8, [rbp - 0xc]
mov edx, 2
mov ecx, 5
call sub.kernel32.dll_GetComputerNameExW
cmp eax, 1
jne 0x14018da63
mov qword [rbp - 0x18], 0
xor r8d, r8d
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x20], rbx
mov rdx, rbx
call fcn.1401de270
xor eax, eax
cmp rax, qword [rbp - 0x38]
jno 0x14018da72
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp - 0x18]
test rdx, rdx
mov rcx, qword [rbp - 0x20]
jne 0x14018da8e
jmp 0x14018da9c
mov r8d, 2
mov rcx, rbx
mov rdx, rdi
call fcn.140016e60
movabs rax, 0x8000000000000000
mov qword [rsi], rax
jmp 0x14018da9c
mov rax, qword [rbp - 0x28]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rsi], xmm0
mov rdx, qword [rbp - 0x18]
test rdx, rdx
mov rcx, qword [rbp - 0x20]
je 0x14018da9c
add rdx, rdx
mov r8d, 2
call fcn.140016e60
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov ecx, 2
mov rdx, rdi
call fcn.1401fd4e0
int3
Function at 0x14018ea70
Capabilities:
Reference wmi statements

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x30], 0
mov r15, qword [rdx + 0x10]
cmp r15, 1
jne 0x14018eb4e
lea rcx, [0x1402742aa]
call sub.oleaut32.dll_SysAllocString
mov rbx, rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.oleaut32.dll_SysAllocString
mov r14, rax
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], 0
mov rdx, rbx
mov r8, r14
mov r9d, 0x30
call qword [rax + 0xa0]
mov ebp, eax
mov rcx, rbx
call sub.oleaut32.dll_SysFreeString
mov rcx, r14
call sub.oleaut32.dll_SysFreeString
test ebp, ebp
js 0x14018eb4e
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rsi + 0x28]
cmp qword [rsi + 0x20], 0
sete al
test rcx, rcx
sete dl
or dl, al
jne 0x14018eb1a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi + 0x20], 1
mov qword [rsi + 0x28], rbx
mov rax, qword [rsi + 0x30]
mov qword [rdi + 0x30], rax
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov rax, qword [rsi + 0x20]
mov qword [rdi + 0x20], rax
mov rax, qword [rsi + 0x28]
mov qword [rdi + 0x28], rax
jmp 0x14018ebc8
mov qword [rdi], 2
mov rcx, qword [rsi + 0x28]
cmp qword [rsi + 0x20], 0
mov qword [rsi + 0x20], 0
sete al
test rcx, rcx
sete dl
or dl, al
jne 0x14018eb79
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 0x18]
mov qword [rsi + 0x10], 0
test r15, r15
sete al
test rcx, rcx
sete dl
or dl, al
jne 0x14018eb9b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsi + 8]
cmp qword [rsi], 0
mov qword [rsi], 0
sete al
test rcx, rcx
sete dl
or dl, al
jne 0x14018ebbd
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp byte [rsi + 0x30], 1
jne 0x14018ebc8
call fcn.1401efa06
nop
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14018fe40
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rax, rdx
mov rdi, rcx
lea rdx, [rbp - 4]
mov rcx, rax
call sub.shell32.dll_CommandLineToArgvW
test rax, rax
je 0x14018ff42
mov rsi, rax
mov qword [rbp - 0x28], rdi
movsxd rax, dword [rbp - 4]
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 8
mov qword [rbp - 0x10], 0
lea r13, [rsi + rax*8]
lea rbx, [rbp - 0x40]
lea r14, [rbp - 0x58]
lea r15, [rbp - 0x20]
mov rdi, rsi
jmp 0x14018fee4
add rdi, 8
mov rax, qword [rbp - 0x18]
lea rcx, [r12 + r12*2]
mov rdx, qword [rbp - 0x30]
mov qword [rax + rcx*8 + 0x10], rdx
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rax + rcx*8], xmm0
inc r12
mov qword [rbp - 0x10], r12
cmp rdi, r13
je 0x14018ff25
mov r12, qword [rdi]
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
lea rax, [r12 + rax*2]
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], rax
mov word [rbp - 0x48], 0
mov rcx, rbx
mov rdx, r14
call fcn.140043380
mov r12, qword [rbp - 0x10]
cmp r12, qword [rbp - 0x20]
jne 0x14018fec0
mov rcx, r15
call fcn.1400b38a0
jmp 0x14018fec0
mov rcx, rsi
call sub.kernel32.dll_LocalFree
movups xmm0, xmmword [rbp - 0x20]
mov rcx, qword [rbp - 0x28]
movups xmmword [rcx], xmm0
mov rax, qword [rbp - 0x10]
mov qword [rcx + 0x10], rax
jmp 0x14018ff59
mov qword [rdi], 0
mov qword [rdi + 8], 8
mov qword [rdi + 0x10], 0
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140199300
Capabilities:
Get local ipv4 addresses

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov rsi, rcx
mov dword [rbp + 0x1c], 0x3c00
mov dword [rbp + 0x18], 0
xor r15d, r15d
lea rdi, [rbp + 0x1c]
xor ebx, ebx
nop dword [rax]
mov edx, dword [rbp + 0x1c]
mov rcx, r15
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
mov r14, rax
test rax, rax
je 0x1401993f5
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0xe
xor r8d, r8d
mov r9, r14
call sub.iphlpapi.dll_GetAdaptersAddresses
mov dword [rbp + 0x18], eax
test eax, eax
je 0x140199456
cmp ebx, 1
ja 0x140199388
inc ebx
mov r15, r14
cmp eax, 0x6f
je 0x140199340
lea rax, [rbp + 0x18]
mov qword [rbp - 0x10], rax
lea rax, [0x1401eeed0]
mov qword [rbp - 8], rax
lea rax, str.BI_
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], 1
mov qword [rbp - 0x38], 0
lea rax, [rbp - 0x10]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], 1
mov qword [rbp + 8], r14
lea rcx, [rbp - 0x28]
lea rdx, [rbp - 0x58]
mov qword [rbp + 0x10], r14
call fcn.1401dd5e0
mov rax, qword [rbp - 0x18]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rsi], xmm0
mov rcx, qword [rbp + 0x10]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
jmp 0x14019946b
movzx eax, byte [0x1402e8381]
mov ecx, 0x32
mov edx, 1
call fcn.140016e50
test rax, rax
je 0x14019947e
mov rdi, rax
movups xmm0, xmmword [0x140274930]
movups xmmword [rax + 0x20], xmm0
movups xmm0, xmmword [0x140274920]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [str.failed_to_allocate_memory_for_IP_ADAPTER_ADDRESSESGetAdaptersAddresses___failed_with_code]
movups xmmword [rax], xmm0
mov word [rax + 0x30], 0x5345
mov rcx, r15
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rsi], 0x32
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], 0x32
jmp 0x14019946b
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], r14
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov qword [rbp], r15
mov qword [rbp + 0x10], r14
mov ecx, 1
mov edx, 0x32
call fcn.1401fd4e0
ud2
Function at 0x1401a1560
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov r14, rdx
mov rsi, rcx
movups xmm0, xmmword [rdx + 0x38]
movups xmm1, xmmword [rdx + 0x48]
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x40], xmm0
mov rax, qword [rdx + 0x28]
movzx ebx, byte [rdx + 0x30]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x50], rax
mov byte [rbp - 0x48], bl
movzx eax, byte [0x1402e8381]
mov ecx, 0x5f0
mov edx, 8
call fcn.140016e50
test rax, rax
mov qword [rbp - 8], r14
je 0x1401a17c9
mov rdi, rax
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rax, qword [r14 + 0x60]
mov qword [rbp - 0x18], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xded7d4e2d7dedfc6
movabs r9, 0xa60c596fc19fead0
movabs r10, 0xe414a674f0de7325
movabs r11, 0x800000000000000
mov r13d, 1
lock xadd qword [0x1402e83c8], r13
mov r14, r13
xor r14, rcx
mov rax, r14
rol rax, 0x10
lea r15, [r14 + rdx]
xor rax, r15
lea r12, [rax + r8]
xor r13, r12
add r14, r9
mov r15, r14
rol r15, 0x20
rol rax, 0x15
xor r14, r10
xor r12, r11
xor r12, rax
add r13, r14
rol r14, 0xd
add r15, r12
xor r14, r13
rol r12, 0x10
xor r12, r15
rol r13, 0x20
add r15, r14
add r13, r12
rol r14, 0x11
xor r14, r15
rol r12, 0x15
rol r15, 0x20
xor r12, r13
xor r13, r11
xor r15, 0xff
add r13, r14
add r15, r12
rol r14, 0xd
xor r14, r13
rol r12, 0x10
rol r13, 0x20
xor r12, r15
add r15, r14
rol r14, 0x11
add r13, r12
xor r14, r15
rol r12, 0x15
xor r12, r13
rol r15, 0x20
add r13, r14
add r15, r12
rol r14, 0xd
xor r14, r13
rol r12, 0x10
rol r13, 0x20
xor r12, r15
add r15, r14
rol r14, 0x11
add r13, r12
xor r14, r15
rol r12, 0x15
xor r12, r13
rol r15, 0x20
add r13, r14
add r15, r12
rol r14, 0xd
xor r14, r13
rol r12, 0x10
xor r12, r15
add r15, r14
rol r14, 0x11
rol r12, 0x15
mov r13, r15
rol r13, 0x20
xor r13, r14
xor r13, r12
cmp r13, r15
je 0x1401a1620
xor r13, r15
mov rcx, qword [rbp - 8]
mov rax, qword [rcx + 0x58]
movaps xmm0, xmmword [rbp - 0x40]
movaps xmm1, xmmword [rbp - 0x30]
movups xmmword [rsi + 0x128], xmm1
movups xmmword [rsi + 0x118], xmm0
mov rdx, qword [rbp - 0x10]
mov qword [rsi + 0x138], rdx
mov byte [rsi + 0x140], bl
mov qword [rsi], 0
mov qword [rsi + 8], rdi
mov qword [rsi + 0x80], 0
mov qword [rsi + 0x88], rdi
mov rdx, qword [rbp - 0x18]
mov qword [rsi + 0x100], rdx
mov qword [rsi + 0x108], r13
mov qword [rsi + 0x110], rax
mov rdx, qword [rcx + 0x10]
mov rax, rdx
neg rax
jo 0x1401a17b5
jae 0x1401a17b5
mov rcx, qword [rcx + 0x18]
mov r8d, 1
call fcn.140016e60
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov ecx, 8
mov edx, 0x5f0
call fcn.1401fd500
ud2
Function at 0x1401aae20
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
test rdx, rdx
je 0x1401aae92
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
mov r15, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov r12, qword [sym.imp.advapi32.dll_SystemFunction036]
jmp 0x1401aae58
add rdi, rbx
sub rsi, rbx
je 0x1401aae92
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
xor ecx, ecx
mov rdx, rdi
mov r8d, ebx
mov r9d, 2
call r15
cmp eax, 0xbfffffff
jbe 0x1401aae50
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call r12
test al, al
jne 0x1401aae50
and ebp, 0x7fffffff
jmp 0x1401aae94
xor ebp, ebp
mov eax, ebp
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret