joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401684d0
Capabilities:
Set socket configuration

Disassembly:
jmp 0x1401684d0
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 0x140168508
xor eax, eax
add rsp, 0x38
ret
call fcn.1401b0280
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140168520
Capabilities:
Set socket configuration

Disassembly:
mov edx, edx
jmp 0x140168520
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 0x140168555
xor eax, eax
add rsp, 0x38
ret
call fcn.1401b0280
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140168570
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 0x140168697
mov r9d, dword [rdi + 8]
xor ecx, ecx
mov r8d, 0
cmp r9d, 0x3b9aca00
je 0x1401685f8
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 0x140168639
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 0x140168697
xor eax, eax
jmp 0x1401686a4
call fcn.1401b0280
shl rax, 0x20
or rax, 2
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x140196880
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x48
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
cmp r8, 0x80
jb 0x140196a9d
movdqu xmm4, xmmword [rdx]
movdqu xmm3, xmmword [rdx + 0x10]
movdqu xmm2, xmmword [rdx + 0x20]
movdqu xmm1, xmmword [rdx + 0x30]
not ecx
movd xmm0, ecx
pxor xmm0, xmm4
add rdx, 0x40
add r8, 0xffffffffffffffc0
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x14030d960]
nop word cs:[rax + rax]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm0
pclmulqdq xmm7, xmm5, 0x11
movdqu xmm0, xmmword [rdx]
pxor xmm0, xmm6
pxor xmm0, xmm7
movdqu xmm6, xmmword [rdx + 0x10]
movdqu xmm7, xmmword [rdx + 0x20]
movdqu xmm8, xmmword [rdx + 0x30]
movdqa xmm9, xmm3
pclmulqdq xmm9, xmm4, 0
pxor xmm9, xmm6
pclmulqdq xmm3, xmm5, 0x11
pxor xmm3, xmm9
movdqa xmm6, xmm2
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm7
pclmulqdq xmm2, xmm5, 0x11
pxor xmm2, xmm6
movdqa xmm6, xmm1
pclmulqdq xmm6, xmm4, 0
pxor xmm6, xmm8
pclmulqdq xmm1, xmm5, 0x11
pxor xmm1, xmm6
add rdx, 0x40
add r8, 0xffffffffffffffc0
cmp r8, 0x3f
ja 0x1401968f0
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm5, xmmword [0x14030d970]
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm6
pxor xmm0, xmm3
movdqa xmm3, xmm0
pclmulqdq xmm3, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm3
pxor xmm0, xmm2
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm2
pxor xmm0, xmm1
cmp r8, 0x10
jb 0x140196a1a
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rdx]
add r8, 0xfffffffffffffff0
add rdx, 0x10
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm2
cmp r8, 0xf
ja 0x1401969f0
movdqa xmm1, xmmword [0x14030d970]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
psrldq xmm0, 4
pxor xmm0, xmm3
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
pclmulqdq xmm2, xmmword [0x14030d980], 0x10
pblendw xmm2, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm2, 0
pxor xmm1, xmm0
pextrd ecx, xmm1, 1
not ecx
test r8, r8
je 0x140196abb
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
jmp fcn.140196360
mov eax, ecx
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
add rsp, 0x48
ret
Function at 0x1401984c0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov r8, rdx
mov rax, qword [rcx + 0x38]
test rax, rax
jle 0x1401984e7
cmp qword [rcx + 0x40], 0
js 0x1401984e7
add rax, 0xffffffffffffff00
mov qword [rcx + 0x38], rax
mov edx, 6
jmp fcn.140199190
mov rdx, r8
jmp fcn.140198610

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

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
mov eax, dword [r9 + 0x80]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r9
xor r9d, r9d
call sub.ws2_32.dll_sendto
cmp eax, 0xffffffff
je 0x14019891e
movsxd rdx, eax
xor eax, eax
add rsp, 0x38
ret
call fcn.1401b0280
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x38
ret

Function at 0x140198940
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx]
xor eax, eax
cmp r8d, 0x3b9aca00
je 0x140198989
mov r9d, 0x3e8
mov rax, rdx
mul r9
mov r8d, r8d
imul r8, r8, 0x431bde83
shr r8, 0x32
add r8, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
xor eax, eax
neg rdx
sbb eax, eax
or eax, r8d
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1006
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x1401989b6
xor eax, eax
add rsp, 0x38
ret
call fcn.1401b0280
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x1401989d0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx]
xor eax, eax
cmp r8d, 0x3b9aca00
je 0x140198a19
mov r9d, 0x3e8
mov rax, rdx
mul r9
mov r8d, r8d
imul r8, r8, 0x431bde83
shr r8, 0x32
add r8, rax
adc rdx, 0
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
xor eax, eax
neg rdx
sbb eax, eax
or eax, r8d
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0xffff
mov r8d, 0x1005
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x140198a46
xor eax, eax
add rsp, 0x38
ret
call fcn.1401b0280
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret

Function at 0x140198a60
Capabilities:
Set socket configuration

Disassembly:
push rsi
sub rsp, 0x30
mov rcx, qword [rcx]
mov dword [rsp + 0x2c], edx
mov dword [rsp + 0x20], 4
xor esi, esi
lea r9, [rsp + 0x2c]
xor edx, edx
mov r8d, 4
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
jne 0x140198a9c
call fcn.1401b0280
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rax, rsi
add rsp, 0x30
pop rsi
ret

Function at 0x140198ab0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx]
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov edx, 0x29
mov r8d, 4
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x140198ae4
xor eax, eax
add rsp, 0x38
ret
call fcn.1401b0280
shl rax, 0x20
or rax, 2
add rsp, 0x38
ret
Function at 0x140198b00
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
xor r9d, r9d
call sub.ws2_32.dll_recv
cmp eax, 0xffffffff
je 0x140198b29
movsxd rdx, eax
jmp 0x140198b52
call fcn.1401b0280
mov ecx, eax
mov rdx, rcx
shl rdx, 0x20
or rdx, 2
mov eax, 1
cmp ecx, 0x274a
jne 0x140198b54
mov rcx, rdx
call fcn.1400eb6e0
xor edx, edx
xor eax, eax
add rsp, 0x28
ret
Function at 0x14019bb00
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 0x14019bb72
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 0x14019bb38
add rdi, rbx
sub rsi, rbx
je 0x14019bb72
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 0x14019bb30
mov ebp, eax
mov rcx, rdi
mov edx, ebx
call r12
test al, al
jne 0x14019bb30
and ebp, 0x7fffffff
jmp 0x14019bb74
xor ebp, ebp
mov eax, ebp
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x14019c770
Capabilities:
Execute anti-debugging instructions

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 qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 8
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x40], rdx
mov qword [rbp - 8], rcx
lea r12, [rdx + rcx]
add r8, r12
mov qword [rbp - 0x48], r8
pxor xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
mov r10d, 8
xor r15d, r15d
xor edi, edi
jmp 0x14019c7ef
inc rdi
shl r14, 0x20
or rbx, r14
shl rsi, 0x20
or r13, rsi
sub r13, rbx
mov qword [r10 + r15*8], r13
inc r15
mov qword [rbp - 0x28], r15
cmp rdi, qword [rbp - 0x48]
jae 0x14019c833
rdtsc
mov r14, rdx
mov rbx, rax
xor eax, eax
xor ecx, ecx
mov r8, rbx
cpuid
xchg rbx, r8
mov dword [rbp - 0x20], eax
mov dword [rbp - 0x1c], r8d
mov dword [rbp - 0x18], ecx
mov dword [rbp - 0x14], edx
rdtsc
mov rsi, rdx
mov r13, rax
cmp r15, qword [rbp - 0x38]
jne 0x14019c7d0
lea rcx, [rbp - 0x38]
call fcn.1400e6fa0
mov r10, qword [rbp - 0x30]
jmp 0x14019c7d0
mov eax, dword [rbp - 0x14]
mov eax, dword [rbp - 0x18]
mov eax, dword [rbp - 0x20]
mov eax, dword [rbp - 0x1c]
test r15, r15
je 0x14019c84e
bsr rax, r15
xor rax, 0x3f
jmp 0x14019c853
mov eax, 0x40
mov r9d, 0x40
sub r9d, eax
mov rsi, r10
mov rcx, r10
mov rdx, r15
xor r8d, r8d
call fcn.14019bc90
cmp r12, qword [rbp - 8]
jb 0x14019c95a
cmp r12, r15
ja 0x14019c96f
mov rcx, rsi
mov rsi, qword [rbp - 0x40]
test rsi, rsi
je 0x14019c899
cmp rsi, 4
jae 0x14019c89e
xor r14d, r14d
xor eax, eax
jmp 0x14019c8f5
xor r14d, r14d
jmp 0x14019c90c
mov rax, rsi
and rax, 0xfffffffffffffffc
mov rdx, qword [rbp - 8]
lea r8, [rcx + rdx*8]
add r8, 0x10
pxor xmm0, xmm0
xor edx, edx
pxor xmm1, xmm1
nop dword [rax + rax]
movdqu xmm2, xmmword [r8 + rdx*8 - 0x10]
paddq xmm0, xmm2
movdqu xmm2, xmmword [r8 + rdx*8]
paddq xmm1, xmm2
add rdx, 4
cmp rax, rdx
jne 0x14019c8c0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq r14, xmm0
cmp rax, rsi
je 0x14019c90c
mov rdx, qword [rbp - 8]
lea rdx, [rcx + rdx*8]
nop dword [rax]
add r14, qword [rdx + rax*8]
inc rax
cmp rsi, rax
jne 0x14019c900
mov rdx, qword [rbp - 0x38]
test rdx, rdx
je 0x14019c924
shl rdx, 3
mov r8d, 8
call fcn.14000bcb0
cmp rsi, 1
adc rsi, 0
mov rax, r14
or rax, rsi
shr rax, 0x20
je 0x14019c942
mov rax, r14
xor edx, edx
div rsi
jmp 0x14019c949
mov eax, r14d
xor edx, edx
div esi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, [0x140312700]
mov rcx, qword [rbp - 8]
mov rdx, r12
call fcn.1401dc340
jmp 0x14019c981
lea r8, [0x140312700]
mov rcx, r12
mov rdx, r15
call fcn.1401dc330
ud2

Function at 0x1401a3f20
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov ecx, dword [rbp - 0x10]
xor eax, eax
test rcx, rcx
sete al
lea rdx, [0x140315a18]
cmovne rdx, rcx
add rsp, 0x50
pop rbp
ret
Function at 0x1401a3f60
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x1401a4000
jmp 0x1401a3fef
jae 0x1401a40bf
cmp r8, 0x201
jae 0x1401a4000
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x1401a4057
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x1401a402f
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.1401da940
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x1401a4080
call qword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x1401a412b
mov r8d, r13d
cmp r12, r8
jne 0x1401a3fe0
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x1401a415f
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1401a3fef
jmp 0x1401a4000
cmp r14, r8
jb 0x1401a4179
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.1401a7930
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x1401a4114
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.14000bcb0
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.DLL_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x1401a40ff
jmp 0x1401a4114
lea rcx, [0x140312ff8]
lea r8, [0x140315c08]
mov edx, 0x28
call fcn.1401dbf40
jmp 0x1401a418e
lea rax, [0x140315bf0]
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.1401dc330
ud2
Function at 0x1401a4310
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x420], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x60]
call fcn.1401b7f80
mov rax, qword [rbp - 0x60]
movabs rdi, 0x8000000000000000
cmp rax, rdi
jne 0x1401a4366
lea rcx, [rbp - 0x58]
call fcn.14019de30
mov qword [rsi], rdi
jmp 0x1401a45ba
mov qword [rbp + 0x3f0], rsi
mov qword [rbp + 0x400], rax
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x3f8], rax
mov qword [rbp + 0x408], 0
mov qword [rbp + 0x410], 2
mov qword [rbp + 0x418], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r14d, r14d
cmp r8, 0x201
jae 0x1401a43f0
jmp 0x1401a43df
jae 0x1401a44b6
cmp r8, 0x201
jae 0x1401a43f0
mov r15d, 0x200
lea r12, [rbp - 0x60]
mov r13, r8
jmp 0x1401a4448
sub r8, r14
sub rbx, r14
cmp rbx, r8
jae 0x1401a441f
lea rcx, [rbp + 0x408]
mov rdx, r14
call fcn.1401da940
mov rdi, qword [rbp + 0x408]
mov rax, qword [rbp + 0x410]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rdi, rax
mov r14d, 0xffffffff
cmovb r14, rdi
mov qword [rbp + 0x418], r14
mov rbx, rdi
mov r15, r14
mov r12, qword [rbp + 0x3e8]
mov r13, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_SetLastError]
mov rcx, qword [rbp + 0x3f8]
mov rdx, r12
mov r8d, r13d
call qword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
mov esi, eax
test eax, eax
jne 0x1401a4477
call qword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x1401a453c
mov r8d, esi
cmp r13, r8
jne 0x1401a43d0
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x1401a45d1
add r13, r13
mov eax, 0xffffffff
cmp r13, rax
cmovae r13, rax
mov r8, r13
cmp r8, 0x201
jb 0x1401a43df
jmp 0x1401a43f0
cmp r15, r8
jb 0x1401a45eb
lea rcx, [rbp + 0x3a0]
mov rdx, r12
call fcn.1401a7930
movups xmm0, xmmword [rbp + 0x3a0]
movups xmm1, xmmword [rbp + 0x3b0]
movaps xmmword [rbp + 0x3d0], xmm1
movaps xmmword [rbp + 0x3c0], xmm0
mov rdx, qword [rbp + 0x408]
test rdx, rdx
je 0x1401a450b
mov rcx, qword [rbp + 0x410]
add rdx, rdx
mov r8d, 2
call fcn.14000bcb0
movabs rdi, 0x8000000000000000
cmp qword [rbp + 0x3c0], rdi
mov rsi, qword [rbp + 0x3f0]
je 0x1401a458a
movaps xmm0, xmmword [rbp + 0x3c0]
movaps xmm1, xmmword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
jmp 0x1401a4599
call qword [sym.imp.KERNEL32.DLL_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0x3c8], rax
movabs rdi, 0x8000000000000000
mov qword [rbp + 0x3c0], rdi
mov rdx, qword [rbp + 0x408]
test rdx, rdx
je 0x1401a4583
mov rcx, qword [rbp + 0x410]
add rdx, rdx
mov r8d, 2
call fcn.14000bcb0
mov rsi, qword [rbp + 0x3f0]
mov qword [rsi], rdi
lea rcx, [rbp + 0x3c8]
call fcn.14019de30
mov rdx, qword [rbp + 0x400]
test rdx, rdx
je 0x1401a45ba
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp + 0x3f8]
call fcn.14000bcb0
mov rax, rsi
add rsp, 0x4a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [0x140312ff8]
lea r8, [0x140315c08]
mov edx, 0x28
call fcn.1401dbf40
jmp 0x1401a4600
lea rax, [0x140315bf0]
mov rcx, r8
mov rdx, r15
mov r8, rax
call fcn.1401dc330
ud2
Function at 0x1401a76f0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 0xffffffffffffffff
je 0x140151ee8
add rcx, 0x18
add rsp, 0x28
jmp 0x14016c0f0
lea rcx, [0x1402d20b8]
call fcn.1401dbe40
int3
jmp 0x1401a76f0
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 0x1401a772d
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 0x1401a7750
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, qword [rcx]
mov rcx, qword [rax]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
cmp eax, 0xffffffff
je 0x1401a7785
movsxd rdx, eax
xor ecx, ecx
jmp 0x1401a77a9
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
xor edx, edx
mov ecx, 0
cmp eax, 0x274a
je 0x1401a77a9
shl rax, 0x20
or rax, 2
mov ecx, 1
mov rdx, rax
mov rax, rcx
add rsp, 0x20
pop rbp
ret

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

Disassembly:
push rbp
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, qword [rcx]
mov rcx, qword [rax]
cmp r8, 0x7fffffff
mov eax, 0x7fffffff
cmovae r8, rax
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
je 0x1401a77f9
movsxd rdx, eax
xor eax, eax
add rsp, 0x20
pop rbp
ret
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0x20
pop rbp
ret

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

Disassembly:
push rbp
push rsi
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov rax, qword [rcx]
mov rcx, qword [rax]
mov eax, 0xffffffff
cmp r8, rax
cmovae r8, rax
mov dword [rbp + 4], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 0
lea r9, [rbp + 4]
call qword [sym.imp.ws2_32.dll_WSASend]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1401a7873
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
xor ecx, ecx
cmp esi, 0xffffffff
sete cl
mov edx, dword [rbp + 4]
cmove rdx, rax
mov rax, rcx
add rsp, 0x48
pop rsi
pop rbp
ret
Function at 0x1401ab730
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x10b8
call fcn.1401d0ac0
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1020], xmm6
mov qword [rbp + 0x1018], 0xfffffffffffffffe
mov qword [rbp + 0x1008], rdx
mov r15, rcx
lea r12, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, r12
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xorps xmm6, xmm6
lea r13, [rbp + 0xffc]
lea rbx, [0x1401b1970]
lea r14, [rbp + 0xfb0]
mov rsi, qword [sym.imp.KERNEL32.DLL_WriteFileEx]
mov rdi, qword [sym.imp.KERNEL32.DLL_SleepEx]
mov qword [rbp + 0x1010], r15
mov r8d, 0x1000
mov rcx, r15
mov rdx, r12
call fcn.1401b1740
mov r15, rdx
mov qword [rbp + 0xfd8], rax
mov qword [rbp + 0xfe0], rdx
test rax, rax
jne 0x1401ab920
test r15, r15
je 0x1401ab8ec
cmp r15, 0x1000
ja 0x1401ab942
xor r12d, r12d
nop word cs:[rax + rax]
mov r8d, r15d
sub r8d, r12d
lea rdx, [r12 + rbp]
add rdx, 0xffffffffffffffb0
mov dword [rbp + 0xffc], 0
movaps xmmword [rbp + 0xfb0], xmm6
mov qword [rbp + 0xfc0], 0
mov qword [rbp + 0xfc8], r13
mov qword [rsp + 0x20], rbx
mov rcx, qword [rbp + 0x1008]
mov r9, r14
call rsi
test eax, eax
je 0x1401ab8c0
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call rdi
cmp dword [rbp + 0xffc], 0
je 0x1401ab850
mov ecx, dword [rbp + 0x1000]
mov eax, dword [rbp + 0x1004]
mov rdx, rcx
shl rdx, 0x20
or rdx, 2
xor r8d, r8d
test ecx, ecx
setne r8b
cmove rdx, rax
mov qword [rbp + 0xfe8], r8
mov qword [rbp + 0xff0], rdx
jne 0x1401ab8e0
add r12, rax
cmp r12, r15
je 0x1401ab8b0
jbe 0x1401ab800
jmp 0x1401ab92e
mov r15, qword [rbp + 0x1010]
lea r12, [rbp - 0x50]
jmp 0x1401ab7ae
call qword [sym.imp.KERNEL32.DLL_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp + 0xfe8], 1
mov qword [rbp + 0xff0], rax
lea rcx, [rbp + 0xff0]
call fcn.14019de30
mov rsi, qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rcx, qword [rbp + 0x1010]
call rsi
mov rcx, qword [rbp + 0x1008]
call rsi
movaps xmm6, xmmword [rbp + 0x1020]
add rsp, 0x10b8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [rbp + 0xfe0]
call fcn.14019de30
jmp 0x1401ab8ec
lea r8, [0x1403154a0]
mov rcx, r12
mov rdx, r15
call fcn.1401dc340
jmp 0x1401ab956
lea r8, [0x1403154a0]
mov edx, 0x1000
mov rcx, r15
call fcn.1401dc330
ud2

Function at 0x1401af7a0
Capabilities:
Move file

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, r9
mov rdi, r8
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x30]
call fcn.1401b7f80
mov rax, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
movabs rbx, 0x8000000000000000
cmp rax, rbx
je 0x1401af816
mov rcx, qword [rbp - 0x20]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x38], rcx
lea rcx, [rbp - 0x60]