joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff661725ad0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov r10, rdx
mov rbx, rcx
xor edi, edi
cmp byte [r8 + 4], dil
je 0x7ff661725b04
mov edx, edi
nop word [rax + rax]
lea eax, [rdx - 0x44]
xor byte [rdx + r8], al
inc rdx
cmp rdx, 3
jb 0x7ff661725af0
mov byte [r8 + 4], dil
mov qword [rsp + 0x28], rdi
lea rax, [r8 + 3]
cmp r8, rax
jne 0x7ff661725b27
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
jmp 0x7ff661725b50
mov qword [rsp + 0x38], 3
mov qword [rsp + 0x40], 0xf
movzx eax, word [r8]
mov word [rsp + 0x28], ax
movzx eax, byte [r8 + 2]
mov byte [rsp + 0x2a], al
mov byte [rsp + 0x2b], dil
mov r9, qword [r10 + 0x10]
cmp qword [r10 + 0x18], 0x10
jb 0x7ff661725b5e
mov r10, qword [r10]
mov r8, r10
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.7ff66172ad80
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x7ff661725bd5
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff661725bd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff661725bd0
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff66172faa4
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x7ff661725bf0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov r10, rdx
mov rbx, rcx
xor edi, edi
cmp byte [r8 + 6], dil
je 0x7ff661725c24
mov edx, edi
nop word [rax + rax]
lea eax, [rdx - 0x44]
xor byte [rdx + r8], al
inc rdx
cmp rdx, 5
jb 0x7ff661725c10
mov byte [r8 + 6], dil
mov qword [rsp + 0x28], rdi
lea rax, [r8 + 5]
cmp r8, rax
jne 0x7ff661725c47
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
jmp 0x7ff661725c70
mov qword [rsp + 0x38], 5
mov qword [rsp + 0x40], 0xf
mov eax, dword [r8]
mov dword [rsp + 0x28], eax
movzx eax, byte [r8 + 4]
mov byte [rsp + 0x2c], al
mov byte [rsp + 0x2d], dil
nop
mov r9, qword [r10 + 0x10]
cmp qword [r10 + 0x18], 0x10
jb 0x7ff661725c7e
mov r10, qword [r10]
mov r8, r10
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.7ff66172ad80
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x7ff661725cf5
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff661725cf0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff661725cf0
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff66172faa4
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x7ff661725d10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov r10, rdx
mov rbx, rcx
xor edi, edi
cmp byte [r8 + 7], dil
je 0x7ff661725d44
mov edx, edi
nop word [rax + rax]
lea eax, [rdx - 0x44]
xor byte [rdx + r8], al
inc rdx
cmp rdx, 6
jb 0x7ff661725d30
mov byte [r8 + 7], dil
mov qword [rsp + 0x28], rdi
lea rax, [r8 + 6]
cmp r8, rax
jne 0x7ff661725d67
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
jmp 0x7ff661725d90
mov qword [rsp + 0x38], 6
mov qword [rsp + 0x40], 0xf
mov eax, dword [r8]
mov dword [rsp + 0x28], eax
movzx eax, word [r8 + 4]
mov word [rsp + 0x2c], ax
mov byte [rsp + 0x2e], dil
nop
mov r9, qword [r10 + 0x10]
cmp qword [r10 + 0x18], 0x10
jb 0x7ff661725d9e
mov r10, qword [r10]
mov r8, r10
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.7ff66172ad80
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x7ff661725e15
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff661725e10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff661725e10
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff66172faa4
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x7ff661725e30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov r10, rdx
mov rbx, rcx
xor edi, edi
cmp byte [r8 + 0xa], dil
je 0x7ff661725e64
mov edx, edi
nop word [rax + rax]
lea eax, [rdx - 0x44]
xor byte [rdx + r8], al
inc rdx
cmp rdx, 9
jb 0x7ff661725e50
mov byte [r8 + 0xa], dil
mov qword [rsp + 0x28], rdi
lea rax, [r8 + 9]
cmp r8, rax
jne 0x7ff661725e87
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
jmp 0x7ff661725eb2
mov qword [rsp + 0x38], 9
mov qword [rsp + 0x40], 0xf
movsd xmm0, qword [r8]
movsd qword [rsp + 0x28], xmm0
movzx eax, byte [r8 + 8]
mov byte [rsp + 0x30], al
mov byte [rsp + 0x31], dil
mov r9, qword [r10 + 0x10]
cmp qword [r10 + 0x18], 0x10
jb 0x7ff661725ec0
mov r10, qword [r10]
mov r8, r10
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.7ff66172ad80
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x7ff661725f37
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff661725f32
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff661725f32
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff66172faa4
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x7ff661728a00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov r15, rdx
lea r14, [rdx - 1]
mov rdi, rcx
xor r12d, r12d
nop word [rax + rax]
mov rsi, r12
mov rbp, r12
test r14, r14
je 0x7ff661728c03
nop
movzx ecx, byte [rdi + 8]
add cl, 0xff
shl rsi, cl
add rsi, rsi
nop dword [rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x7ff661728ab4
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x7ff661728a70
mov ecx, dword [r10]
jmp 0x7ff661728b97
cmp ecx, 0x4e0
jb 0x7ff661728b97
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
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 0x7ff661728ad0
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 0x7ff661728b20
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
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
mov ecx, r12d
mov dword [r10], r12d
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 edx, 0xffffdf8c
shl edx, 0xf
mov ecx, edx
mov rdx, qword [rdi + 0x10]
xor rcx, rax
mov rax, rcx
shr rax, 0x12
xor rax, rcx
cmp rax, rdx
ja 0x7ff661728a50
movzx ecx, byte [rdi + 8]
or rsi, rax
add cl, 0xff
shl rbp, cl
add rbp, rbp
or rbp, rdx
cmp rbp, r14
jb 0x7ff661728a40
xor edx, edx
mov rax, rbp
div r15
xor edx, edx
mov rcx, rax
mov rax, rsi
div r15
cmp rax, rcx
jb 0x7ff661728c2c
xor edx, edx
mov rax, rbp
div r15
cmp rdx, r14
jne 0x7ff661728a30
mov rbx, qword [rsp + 0x20]
mov rax, rsi
mov rbp, qword [rsp + 0x28]
xor edx, edx
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
div r15
mov rax, rdx
pop r15
pop r14
pop r12
ret
Function at 0x7ff66172a110
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
mov eax, 0x13d0
call fcn.7ff6617303f0
sub rsp, rax
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
call sub.msvcp140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov ebp, 0xffffffff
mov dword [rsp + 0x13c4], ebp
mov dword [rsp + 0x44], eax
lea edx, [rbx + 1]
nop dword [rax]
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x44], eax
inc rdx
cmp rdx, 0x270
jb 0x7ff66172a160
mov dword [rsp + 0x40], 0x270
mov qword [rdi], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov dword [rsp + 0x20], 1
cmp rsi, 0xf
jbe 0x7ff66172a1bf
movzx r8d, byte [rsp + 0x13f0]
mov rdx, rsi
mov rcx, rdi
call fcn.7ff661726940
mov qword [rdi + 0x10], rbx
test rsi, rsi
je 0x7ff66172a26f
lea r14, [0x7ff66179e508]
movzx ebx, byte [rsp + 0x13f0]
nop word [rax + rax]
dec rsi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov ecx, 0x40
mov rax, 0xffffffffffffffff
nop dword [rax]
dec rcx
shr rax, 1
cmp rax, rbp
ja 0x7ff66172a200
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov edx, 0x3e
lea rcx, [rsp + 0x28]
call fcn.7ff661728a00
movzx r9d, byte [rax + r14]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x7ff66172a255
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x7ff66172a24a
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x7ff66172a266
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.7ff6617267d0
test rsi, rsi
jne 0x7ff66172a1e0
mov rax, rdi
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x7ff66172aca0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x2e], 0
je 0x7ff66172acc3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x44]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x2d
jb 0x7ff66172acb0
mov byte [rcx + 0x2e], 0
mov rax, rcx
ret

Function at 0x7ff66172acd0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x35], 0
je 0x7ff66172acf3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x44]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x34
jb 0x7ff66172ace0
mov byte [rcx + 0x35], 0
mov rax, rcx
ret

Function at 0x7ff66172ed50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r14
sub rsp, 0x4a0
mov rdi, r8
mov rbx, rdx
mov r14, rcx
xor ebp, ebp
mov rcx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x7ff66172ed82
mov rcx, qword [r8]
lea rdx, [0x7ff66179f2f4]
call qword [sym.imp.ucrtbase.dll_fopen]
mov rsi, rax
test rax, rax
jne 0x7ff66172edbb
mov qword [rbx], rbp
mov qword [rbx + 0x10], 2
mov qword [rbx + 0x18], 0xf
mov eax, 0x312d
mov word [rbx], ax
mov byte [rbx + 2], sil
jmp 0x7ff66172ee54
lea rdx, [rsp + 0x40]
mov rcx, qword [r14]
call fcn.7ff66172f010
mov r9, rsi
mov edx, 1
mov r8d, 0x400
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ucrtbase.dll_fread]
test eax, eax
je 0x7ff66172ee28
nop dword [rax + rax]
mov r9d, eax
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x40]
mov rcx, qword [r14]
call fcn.7ff66172f8f0
mov r9, rsi
mov edx, 1
mov r8d, 0x400
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ucrtbase.dll_fread]
test eax, eax
jne 0x7ff66172edf0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x28]
mov rcx, qword [r14]
call fcn.7ff66172eef0
mov rcx, rsi
call qword [sym.imp.ucrtbase.dll_fclose]
lea r8, [rsp + 0x28]
mov rdx, rbx
mov rcx, r14
call fcn.7ff66172eca0
nop
mov rcx, rdi
call fcn.7ff6617230d0
mov rax, rbx
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x7ff66175e630
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x718], 0
mov rsi, r9
mov rbp, r8
movsxd rbx, edx
mov rdi, rcx
je 0x7ff66175e68e
mov dl, 1
call fcn.7ff66174eff0
mov rax, qword [rdi + 0x670]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.7ff66174eff0
mov eax, ebx
jmp 0x7ff66175e6d2
cmp ebx, 2
ja 0x7ff66175e6d0
mov r9, qword [rdi + 0x668]
lea rdx, [0x7ff6617a44a8]
lea rcx, [rbx + rbx*2]
add rcx, rdx
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.ucrtbase.dll_fwrite]
mov r9, qword [rdi + 0x668]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.ucrtbase.dll_fwrite]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x7ff66175e6f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x160
mov rax, qword [0x7ff6617bf098]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
jne 0x7ff66175e733
cmp qword [rcx + 0x678], 0
je 0x7ff66175e810
mov r8, rdx
mov qword [rsp + 0x158], rbx
mov edx, 0x100
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.7ff66176f1d0
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x7ff66175e761
mov rcx, qword [rdi + 0x678]
test rcx, rcx
je 0x7ff66175e7a8
cmp byte [rdi + 0x1597], 0
jne 0x7ff66175e7a8
lea rdx, [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x7ff66175e790
mov byte [rdi + 0x1597], 1
cmp byte [rdi + 0xf1e], 0
je 0x7ff66175e808
mov byte [rsp + rbx + 0x30], 0xa
inc rbx
cmp rbx, 0x102
jae 0x7ff66175e863
cmp qword [rdi + 0x718], 0
mov byte [rsp + rbx + 0x30], 0
je 0x7ff66175e829
mov dl, 1
mov rcx, rdi
call fcn.7ff66174eff0
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.7ff66174eff0
mov rbx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.7ff661799310
add rsp, 0x160
pop rdi
ret
mov r9, qword [rdi + 0x668]
lea rcx, [0x7ff6617a44a8]
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.ucrtbase.dll_fwrite]
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.ucrtbase.dll_fwrite]
jmp 0x7ff66175e808
call fcn.7ff6617994b4
int3
Function at 0x7ff66175e870
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x7ff66175e9d6
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rdi
sub rsp, 0x860
mov rax, qword [0x7ff6617bf098]
xor rax, rsp
mov qword [rsp + 0x840], rax
cmp byte [rcx + 0xf1e], 0
mov rdi, rcx
je 0x7ff66175e9be
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.7ff66176f1d0
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x7ff66175e931
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop word [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x7ff66175e8f0
cmp byte [rax + rcx - 1], 0xa
jne 0x7ff66175e918
lea r8, [0x7ff6617a44c0]
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x7ff66175e92c
lea r8, [0x7ff6617a44c8]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.7ff66176f0d0
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x7ff66175e936
cmp qword [rdi + 0x718], 0
je 0x7ff66175e97e
mov dl, 1
mov rcx, rdi
call fcn.7ff66174eff0
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.7ff66174eff0
jmp 0x7ff66175e9b6
mov r9, qword [rdi + 0x668]
lea rcx, [0x7ff6617a44a8]
mov edx, 2
lea r8d, [rdx - 1]
call qword [sym.imp.ucrtbase.dll_fwrite]
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call qword [sym.imp.ucrtbase.dll_fwrite]
mov rbx, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.7ff661799310
add rsp, 0x860
pop rdi
ret

Function at 0x7ff66175ea70
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, r9
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_recv]
movsxd rcx, eax
cmp rcx, 0xffffffffffffffff
jne 0x7ff66175eab2
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ecx, 0x38
mov qword [rbx], 0
cmp eax, 0x2733
mov edx, 0x51
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x7ff66175ec50
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x138
mov rax, qword [0x7ff6617bf098]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov r14, qword [rsp + 0x1a0]
mov rsi, rcx
movsxd rcx, edx
xor r13d, r13d
mov rax, rcx
mov r12, r9
shl rax, 5
mov r15, r8
lea rbx, [rsi + 0x508]
mov rbp, qword [rsi + rcx*8 + 0x4c0]
add rbx, rax
mov rax, qword [rsi + 0x698]
mov rdi, qword [rbx + 8]
sub rdi, qword [rbx + 0x10]
test byte [rax + 0x7c], 3
je 0x7ff66175ed57
lea rax, [0x7ff66175eb00]
cmp qword [rsi + rcx*8 + 0x4e8], rax
jne 0x7ff66175ed57
cmp qword [rbx], r13
je 0x7ff66175ecde
test rdi, rdi
je 0x7ff66175ed57
mov rdx, 0xffffffffffffffff
xor r9d, r9d
mov r8, rdx
mov rcx, rbp
call fcn.7ff66176d810
cmp eax, 0xffffffff
je 0x7ff66175ed57
test al, 1
je 0x7ff66175ed57
mov rax, qword [rbx]
test rax, rax
jne 0x7ff66175ed30
mov rax, qword [rsi]
mov ecx, dword [rax + 0xb70]
add ecx, ecx
movsxd rcx, ecx
mov qword [rbx + 8], rcx
call qword [sub.ucrtbase.dll_malloc]
mov rdi, qword [rbx + 8]
mov qword [rbx], rax
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
test rax, rax
je 0x7ff66175ed53
mov rdx, qword [rbx + 0x10]
xor r9d, r9d
add rdx, rax
mov r8d, edi
mov rcx, rbp
call qword [sym.imp.ws2_32.dll_recv]
movsxd rcx, eax
test eax, eax
jle 0x7ff66175ed57
add qword [rbx + 0x10], rcx
jmp 0x7ff66175ed57
mov qword [rbx + 8], r13
xor r9d, r9d
mov r8d, r12d
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.ws2_32.dll_send]
movsxd rdi, eax
mov dword [r14], r13d
cmp rdi, 0xffffffffffffffff
jne 0x7ff66175edc4
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x7ff66175ed90
mov dword [r14], 0x51
mov rax, r13
jmp 0x7ff66175edc7
mov r8d, 0x100
lea rdx, [rsp + 0x20]
mov ecx, ebx
call fcn.7ff661789e80
mov rcx, qword [rsi]
lea rdx, [0x7ff6617a44d0]
mov r8, rax
call fcn.7ff66175e6f0
mov rcx, qword [rsi]
mov dword [rcx + 0x11b0], ebx
mov dword [r14], 0x37
mov rax, rdi
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.7ff661799310
add rsp, 0x138
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x7ff66175f460
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x558], 0
je 0x7ff66175f47d
call fcn.7ff6617585d0
test eax, eax
jne 0x7ff66175f4a3
xor al, al
add rsp, 0x28
ret
mov rcx, qword [rcx + 0x4c0]
cmp rcx, 0xffffffffffffffff
je 0x7ff66175f476
mov r9d, 2
lea rdx, [rsp + 0x30]
lea r8d, [r9 - 1]
call qword [sym.imp.ws2_32.dll_recv]
test eax, eax
je 0x7ff66175f476
mov al, 1
add rsp, 0x28
ret
Function at 0x7ff6617610d0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call qword [sym.imp.ucrtbase.dll__read]
cdqe
add rsp, 0x28
ret

Function at 0x7ff6617613e0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, [0x7ff6617a4948]
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
mov rdi, rax
test rax, rax
jne 0x7ff66176140a
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rdx, [0x7ff6617a4958]
mov qword [rsp + 0x48], r14
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
lea rdx, [0x7ff6617a4968]
mov rcx, rbx
mov r14, rax
call qword [sym.imp.ucrtbase.dll_strpbrk]
test rax, rax
je 0x7ff66176146e
mov rcx, rbx
test r14, r14
je 0x7ff661761458
xor edx, edx
lea r8d, [rdx + 8]
call r14
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
call qword [sym.imp.kernel32.dll_LoadLibraryA]
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
test r14, r14
je 0x7ff6617614a6
lea rdx, [0x7ff6617a4970]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x7ff6617614a6
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
call r14
mov r14, qword [rsp + 0x48]
mov rbp, rax
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
xor edx, edx
mov qword [rsp + 0x50], r15
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetSystemDirectoryA]
mov r15d, eax
test eax, eax
je 0x7ff661761568
mov qword [rsp + 0x40], rsi
mov rsi, 0xffffffffffffffff
mov rdx, rsi
nop
inc rdx
cmp byte [rbx + rdx], bpl
jne 0x7ff6617614d0
lea ecx, [rax + 1]
add rcx, rdx
call qword [sub.ucrtbase.dll_malloc]
mov rdi, rax
test rax, rax
je 0x7ff66176155a
mov edx, r15d
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetSystemDirectoryA]
test eax, eax
je 0x7ff66176155a
mov rax, rsi
cmp byte [rdi + rax + 1], bpl
lea rax, [rax + 1]
jne 0x7ff661761500
mov ecx, 0x5c
mov word [rax + rdi], cx
inc rsi
cmp byte [rdi + rsi], bpl
jne 0x7ff661761514
mov rcx, rdi
sub rcx, rbx
add rcx, rsi
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x7ff661761530
mov rcx, rdi
test r14, r14
je 0x7ff661761551
xor edx, edx
lea r8d, [rdx + 8]
call r14
jmp 0x7ff661761557
call qword [sym.imp.kernel32.dll_LoadLibraryA]
mov rbp, rax
mov rcx, rdi
call qword [0x7ff6617bf228]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rax, rbp
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret