joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000afd0
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 + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor ebx, ebx
xor edi, edi
xor r12d, r12d
cmp r8, 0x201
jae 0x14000b070
jmp 0x14000b05f
jae 0x14000b130
cmp r8, 0x201
jae 0x14000b070
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x14000b0c8
sub r8, r12
sub rdi, r12
cmp rdi, r8
jae 0x14000b09f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.1400259c0
mov rbx, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rbx, rax
mov r12d, 0xffffffff
cmovb r12, rbx
mov qword [rbp + 0x3d8], r12
mov rdi, rbx
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x14000b0f1
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x14000b198
mov r8d, r14d
cmp r15, r8
jne 0x14000b050
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000b1c5
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14000b05f
jmp 0x14000b070
cmp rsi, r8
jb 0x14000b1df
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.14000d880
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rbx, rbx
je 0x14000b181
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.140006200
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 + 0x3e0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rbx, rbx
jne 0x14000b169
jmp 0x14000b181
lea rcx, str.internal_error:_entered_unreachable_code_rustc_25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rs
mov edx, 0x28
call fcn.1400264c0
jmp 0x14000b1f4
lea rax, str.library_std_src_syspalwindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.140026950
ud2
Function at 0x14000d820
Capabilities:
Send data
Send data on socket

Disassembly:
push rsi
sub rsp, 0x20
mov rax, r8
mov rsi, rcx
mov rcx, qword [rdx]
cmp r9, 0x7fffffff
mov r8d, 0x7fffffff
cmovb r8, r9
mov rdx, rax
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
je 0x14000d85a
cdqe
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14000d871
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov rax, rsi
add rsp, 0x20
pop rsi
ret

Function at 0x140012650
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x14002b6d0]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x140012694
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400126fa
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140012731
test eax, eax
js 0x14001270b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x140012724
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.14000cfb0
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.1400090b0
mov ecx, 7
int 0x29
ud2
Function at 0x1400127a0
Capabilities:
Create udp socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov edi, r8d
mov rsi, rcx
cmp word [rdx], 0
mov eax, 2
mov ebx, 0x17
cmove ebx, eax
mov dword [rsp + 0x28], 0x81
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, r8d
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x1400127f5
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x140012891
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2726
je 0x140012809
cmp eax, 0x2739
jne 0x14001285a
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0
mov ecx, ebx
mov edx, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_WSASocketW]
cmp rax, 0xffffffffffffffff
je 0x140012854
mov rdi, rax
mov rcx, rax
mov edx, 1
xor r8d, r8d
call qword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
je 0x14001286f
mov qword [rsi + 8], rdi
mov qword [rsi], 0
jmp 0x140012891
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x140012891
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_closesocket]
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x140015110
Capabilities:
Resolve dns

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1f0
mov rsi, rcx
mov r14, qword [rdx]
mov rbx, qword [rdx + 8]
movzx edi, word [rdx + 0x10]
mov rax, qword [0x140034280]
cmp rax, 3
jne 0x140015206
cmp rbx, 0x17f
ja 0x140015218
lea r15, [rsp + 0x70]
mov rcx, r15
mov rdx, r14
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x70], 0
inc rbx
lea rcx, [rsp + 0x28]
mov rdx, r15
mov r8, rbx
call fcn.14001e2f0
cmp qword [rsp + 0x28], 0
je 0x140015194
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x140015229
mov rcx, qword [rsp + 0x30]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x48], 1
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x40]
lea r9, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1400151ee
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
jmp 0x140015229
mov rax, qword [rsp + 0x20]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], di
xor eax, eax
mov qword [rsi], rax
jmp 0x140015229
call fcn.140025b70
cmp rbx, 0x17f
jbe 0x14001514a
mov rcx, rsi
mov rdx, r14
mov r8, rbx
mov r9d, edi
call fcn.140025cc0
mov rax, rsi
add rsp, 0x1f0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140015240
Capabilities:
Connect socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rbx, r8
mov rsi, rcx
test rdx, rdx
je 0x140015262
mov qword [rsi + 8], rbx
mov qword [rsi], 1
jmp 0x140015337
mov rax, qword [0x140034280]
cmp rax, 3
jne 0x140015342
lea rcx, [rsp + 0x20]
mov rdx, rbx
mov r8d, 1
call fcn.1400127a0
cmp qword [rsp + 0x20], 0
mov rdi, qword [rsp + 0x28]
je 0x1400152a3
mov qword [rsi + 8], rdi
mov qword [rsi], 1
jmp 0x140015337
cmp word [rbx], 0
je 0x1400152c4
movups xmm0, xmmword [rbx + 4]
mov eax, dword [rbx + 0x14]
mov edx, dword [rbx + 0x18]
movzx ecx, word [rbx + 0x1c]
mov r8d, 0x1c
mov r9w, 0x17
jmp 0x1400152d9
mov eax, dword [rbx + 2]
movzx ecx, word [rbx + 6]
mov r8d, 0x10
mov r9w, 2
xorps xmm0, xmm0
rol cx, 8
mov word [rsp + 0x20], r9w
mov word [rsp + 0x22], cx
mov dword [rsp + 0x24], eax
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x38], edx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_connect]
cmp eax, 0xffffffff
je 0x140015315
mov qword [rsi + 8], rdi
mov qword [rsi], 0
jmp 0x140015337
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, rdi
call qword [sym.imp.ws2_32.dll_closesocket]
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
call fcn.140025b70
jmp 0x140015273
Function at 0x1400238a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14002391a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x140023910
cmp r11, r10
ja 0x1400239a5
cmp r10, rdx
ja 0x1400239b7
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x140023912
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1400238f0
jmp 0x140023987
ja 0x14002391a
mov r11, r10
cmp rax, r8
jne 0x1400238c2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x14002398b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x140023960
mov r8, r10
sub ecx, r9d
jns 0x14002397e
jmp 0x14002398d
cmp r10, rdx
je 0x140023999
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14002398d
xor al, 1
cmp r8, rdx
jne 0x140023940
jmp 0x14002398d
xor eax, eax
jmp 0x14002398d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140026360
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1400269d0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140026950
int3

Function at 0x140025120
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14002516a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002516a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002516a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002516a
cmp dword [rcx + 0x84], 0xe
jbe 0x14002516a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14002516c
xor al, al
add rsp, 0x28
ret
Function at 0x140025cc0
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov ebp, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.14001d250
mov rdx, qword [rsp + 0x30]
movabs rax, 0x8000000000000000
cmp rdx, rax
jne 0x140025d59
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x140025d8b
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
jne 0x140025da9
jmp 0x140025dba
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
test rdx, rdx
je 0x140025dba
mov rcx, qword [rsp + 0x38]
mov r8d, 1
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
jmp fcn.140006200
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bp
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
je 0x140025dba
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.140006200
nop
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x1400017a8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400017f2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400017f2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400017f2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400017f2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400017f2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400017f4
xor al, al
add rsp, 0x28
ret
Function at 0x7ff62ff81680
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r12, rdx
mov r14, qword [rdx + 0x10]
lea rax, [r14 + 2]
movabs rdx, 0xaaaaaaaaaaaaaaab
mul rdx
mov rdi, rdx
mov r15, rcx
add rdi, rdx
and rdi, 0xfffffffffffffffc
mov qword [rcx], 0
movaps xmm0, xmmword [0x7ff63002e070]
movups xmmword [rcx + 0x10], xmm0
mov byte [rcx], 0
cmp rdi, 0xf
jbe 0x7ff62ff816dd
mov rcx, r15
mov rdx, rdi
xor r9d, r9d
call fcn.7ff62ff86bb0
jmp 0x7ff62ff816f3
mov qword [r15 + 0x10], rdi
mov rcx, r15
xor edx, edx
mov r8, rdi
call fcn.7ff630000c40
mov byte [r15 + rdi], 0
cmp qword [r15 + 0x18], 0xf
mov rax, r15
jbe 0x7ff62ff81700
mov rax, qword [r15]
xor ecx, ecx
cmp r14, 3
jb 0x7ff62ff817dc
mov r8, r14
add r8, 0xfffffffffffffffe
je 0x7ff62ff817dc
xor ecx, ecx
lea rdx, [0x7ff63002f070]
jmp 0x7ff62ff81750
movzx ebx, byte [rbx + rcx + 2]
and ebx, 0x3f
movzx ebx, byte [rbx + rdx]
mov byte [rax + 3], bl
add rax, 4
add rcx, 3
cmp rcx, r8
jae 0x7ff62ff817dc
cmp qword [r12 + 0x18], 0xf
mov rsi, r12
jbe 0x7ff62ff8175f
mov rsi, qword [r12]
movzx ebx, byte [rsi + rcx]
shr rbx, 2
movzx ebx, byte [rbx + rdx]
mov byte [rax], bl
cmp qword [r12 + 0x18], 0xf
mov rdi, r12
jbe 0x7ff62ff8177c
mov rdi, qword [r12]
movzx ebx, byte [rdi + rcx]
shl ebx, 4
and ebx, 0x30
movzx edi, byte [rdi + rcx + 1]
shr rdi, 4
or rdi, rbx
movzx ebx, byte [rdx + rdi]
mov byte [rax + 1], bl
cmp qword [r12 + 0x18], 0xf
mov rbx, r12
jbe 0x7ff62ff817a8
mov rbx, qword [r12]
movzx edi, byte [rbx + rcx + 1]
and edi, 0xf
movzx ebx, byte [rbx + rcx + 2]
shr rbx, 6
lea rbx, [rbx + rdi*4]
movzx ebx, byte [rdx + rbx]
mov byte [rax + 2], bl
cmp qword [r12 + 0x18], 0xf
mov rbx, r12
jbe 0x7ff62ff81730
mov rbx, qword [r12]
jmp 0x7ff62ff81730
cmp rcx, r14
jae 0x7ff62ff8186c
cmp qword [r12 + 0x18], 0xf
mov rdx, r12
jbe 0x7ff62ff817f4
mov rdx, qword [r12]
movzx edx, byte [rdx + rcx]
shr rdx, 2
lea r8, [0x7ff63002f070]
mov dl, byte [rdx + r8]
mov byte [rax], dl
add r14, 0xffffffffffffffff
cmp qword [r12 + 0x18], 0xf
mov rdi, r12
jbe 0x7ff62ff8181c
mov rdi, qword [r12]
movzx edx, byte [rdi + rcx]
shl edx, 4
and edx, 0x30
cmp rcx, r14
jne 0x7ff62ff81836
mov cl, byte [rdx + r8]
mov byte [rax + 1], cl
mov cl, 0x3d
jmp 0x7ff62ff81865
movzx ebx, byte [rdi + rcx + 1]
shr rbx, 4
movzx edx, dl
or rdx, rbx
mov dl, byte [rdx + r8]
mov byte [rax + 1], dl
cmp qword [r12 + 0x18], 0xf
jbe 0x7ff62ff81858
mov r12, qword [r12]
movzx ecx, byte [r12 + rcx + 1]
and ecx, 0xf
mov cl, byte [r8 + rcx*4]
mov byte [rax + 2], cl
mov byte [rax + 3], 0x3d
mov rax, r15
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x7ff62ff8dbc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
mov rsi, r8
sub rsi, rdx
je 0x7ff62ff8dbf8
movabs r11, 0xcbf29ce484222325
movabs r9, 0x100000001b3
mov rcx, rdx
not rcx
add rcx, r8
mov r8d, esi
and r8d, 3
cmp rcx, 3
jae 0x7ff62ff8dbff
xor r10d, r10d
jmp 0x7ff62ff8dc4c
mov eax, 0x84222325
jmp 0x7ff62ff8dc77
and rsi, 0xfffffffffffffffc
xor r10d, r10d
nop word cs:[rax + rax]
movzx ecx, byte [rdx + r10]
xor rcx, r11
imul rcx, r9
movzx eax, byte [rdx + r10 + 1]
xor rax, rcx
imul rax, r9
movzx ecx, byte [rdx + r10 + 2]
xor rcx, rax
imul rcx, r9
movzx r11d, byte [rdx + r10 + 3]
xor r11, rcx
imul r11, r9
add r10, 4
cmp rsi, r10
jne 0x7ff62ff8dc10
mov rax, r11
test r8, r8
je 0x7ff62ff8dc77
add rdx, r10
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor rax, r11
imul rax, r9
add rcx, 1
mov r11, rax
cmp r8, rcx
jne 0x7ff62ff8dc60
pop rsi
ret

Function at 0x7ff62ff93d20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r14, rdx
mov r12, rcx
mov r13, qword [rcx]
mov r15b, byte [r13]
test byte [rcx + 0xb9], 1
je 0x7ff62ff93d62
mov rax, qword [r12 + 0xd0]
mov rcx, qword [rax + 8]
mov rax, qword [rcx]
mov edx, r15d
call qword [rax + 0x20]
mov r15d, eax
mov r13, qword [r12]
mov r9, qword [r14 + 0x20]
test r9, r9
je 0x7ff62ff93e05
mov r8, qword [r12 + 0xa0]
jmp 0x7ff62ff93d89
mov r9, qword [r9 + 0x18]
test r9, r9
je 0x7ff62ff93e05
mov edx, dword [r9 + 0xc]
test edx, edx
je 0x7ff62ff93d80
mov ebx, dword [r9]
xor ebp, ebp
nop word cs:[rax + rax]
mov ebp, ebp
mov rsi, r13
test ebx, ebx
je 0x7ff62ff93dda
mov rax, qword [r9 + 0x10]
add rax, rbp
xor edi, edi
nop word cs:[rax + rax]
nop dword [rax]
lea rsi, [rdi + 1]
cmp rsi, rbx
jae 0x7ff62ff93dd7
movzx ecx, byte [rax + rdi]
cmp byte [r13 + rdi], cl
mov rdi, rsi
je 0x7ff62ff93dc0
add rsi, r13
cmp rsi, r8
je 0x7ff62ff93de7
add ebp, ebx
cmp ebp, edx
jb 0x7ff62ff93da0
jmp 0x7ff62ff93d80
cmp r8, r13
je 0x7ff62ff93e05
test byte [r14 + 0xc], 1
mov r13, r8
jne 0x7ff62ff93e8e
mov qword [r12], r13
mov al, 1
jmp 0x7ff62ff93e90
add r13, 1
mov rbx, qword [r14 + 0x38]
test rbx, rbx
je 0x7ff62ff93e5b
test byte [r12 + 0xb9], 8
mov eax, r15d
je 0x7ff62ff93e30
mov rcx, qword [r12 + 0xd0]
mov edx, r15d
call fcn.7ff62ff90cc0
mov ecx, dword [rbx + 4]
test ecx, ecx
je 0x7ff62ff93e5b
mov rdx, qword [rbx + 8]
xor ebp, ebp
jmp 0x7ff62ff93e47
add ebp, 2
cmp ebp, ecx
jae 0x7ff62ff93e5b
mov ebx, ebp
cmp byte [rdx + rbx], al
ja 0x7ff62ff93e40
lea ebx, [rbp + 1]
cmp byte [rdx + rbx], al
jb 0x7ff62ff93e40
mov r8, r13
jmp 0x7ff62ff93dec
mov rax, qword [r14 + 0x28]
test rax, rax
je 0x7ff62ff93ea1
movzx ecx, r15b
shr rcx, 3
movzx eax, byte [rax + rcx]
and r15b, 7
movzx ecx, r15b
bt eax, ecx
setb al
test byte [r14 + 0xc], 1
sete cl
xor cl, al
je 0x7ff62ff93dfa
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test byte [r14 + 0xc], 1
je 0x7ff62ff93e8e
jmp 0x7ff62ff93dfa
Function at 0x7ff62ff9fa00
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rsi
push rbx
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess_1]
test rax, rax
jne 0x7ff62ff9fabb
mov rax, qword gs:[0x60]
mov r8, qword [rax + 0x18]
add r8, 0x10
mov r8, qword [r8]
mov r11, qword [r8 + 0x30]
movsxd rax, dword [r11 + 0x3c]
mov r10d, dword [r11 + rax + 0x88]
test r10, r10
je 0x7ff62ff9fa23
mov edx, dword [r11 + r10 + 0x18]
lea r9, [r11 + 1]
jmp 0x7ff62ff9fa5c
mov eax, 0x10d9ca2d
cmp eax, 0xf818c1fd
je 0x7ff62ff9fa98
sub rdx, 1
jb 0x7ff62ff9fa23
mov eax, dword [r11 + r10 + 0x20]
add rax, r11
mov ecx, dword [rax + rdx*4]
mov bl, byte [r11 + rcx]
test bl, bl
je 0x7ff62ff9fa50
add rcx, r9
mov eax, 0x10d9ca2d
nop dword [rax]
movsx esi, bl
xor esi, eax
imul eax, esi, 0x1000193
movzx ebx, byte [rcx]
add rcx, 1
test bl, bl
jne 0x7ff62ff9fa80
jmp 0x7ff62ff9fa55
mov eax, dword [r11 + r10 + 0x1c]
mov ecx, dword [r11 + r10 + 0x24]
add rax, r11
add rcx, r11
mov edx, edx
movzx ecx, word [rcx + rdx*2]
mov eax, dword [rax + rcx*4]
add rax, r11
mov qword [sym.imp.KERNEL32.dll_GetCurrentProcess_1], rax
pop rbx
pop rsi
jmp rax
Function at 0x7ff62ff9fbc0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x158
mov rax, qword [0x7ff630065e28]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor eax, eax
nop word [rax + rax]
mov edx, dword [rcx + rax*4]
bswap edx
mov dword [rsp + rax*4 + 0x50], edx
add rax, 1
cmp rax, 0x10
jne 0x7ff62ff9fbf0
mov edx, 0x10
mov r8d, dword [rsp + 0x50]
mov r10d, r8d
mov ebp, dword [rsp + rdx*4 + 0x48]
mov ebx, ebp
rol ebx, 0xf
mov r9d, dword [rsp + rdx*4 + 0x14]
mov esi, ebp
rol esi, 0xd
xor esi, ebx
shr ebp, 0xa
xor ebp, esi
add ebp, dword [rsp + rdx*4 + 0x34]
mov eax, r9d
mov edi, r9d
mov ebx, r9d
rol ebx, 0x19
rol eax, 0xe
add ebp, r8d
mov r8d, r9d
xor eax, ebx
shr edi, 3
xor edi, eax
add edi, ebp
mov dword [rsp + rdx*4 + 0x50], edi
add rdx, 1
cmp rdx, 0x40
jne 0x7ff62ff9fc10
mov r12d, dword [rcx + 0x50]
mov r11d, dword [rcx + 0x54]
mov r13d, dword [rcx + 0x58]
mov ebx, dword [rcx + 0x5c]
mov edx, dword [rcx + 0x60]
mov esi, dword [rcx + 0x64]
mov ebp, dword [rcx + 0x68]
mov qword [rsp + 0x48], rcx
mov eax, dword [rcx + 0x6c]
xor r9d, r9d
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x24], ebx
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], esi
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x2c], r11d
mov dword [rsp + 0x30], r13d
mov edi, r10d
nop dword [rax + rax]
mov eax, r11d
mov r11d, r12d
mov r14d, esi
mov ebx, eax
or ebx, r13d
and ebx, r12d
mov r15d, eax
and r15d, r13d
mov r8d, r12d
rol r8d, 0x1e
or r15d, ebx
mov r10d, r12d
rol r10d, 0x13
xor r10d, r8d
mov esi, edx
rol r12d, 0xa
xor r12d, r10d
add r12d, r15d
mov ebx, edx
and ebx, r14d
not edx
mov r8d, ebp
and edx, ebp
or edx, ebx
mov ebp, esi
rol ebp, 0x1a
mov ecx, esi
rol ecx, 0x15
add edx, edi
xor ecx, ebp
mov edi, esi
rol edi, 7
xor edi, ecx
lea rcx, [0x7ff630031f00]
add edx, dword [r9 + rcx]
add edx, dword [rsp + 0x20]
add edx, edi
add r12d, edx
add edx, dword [rsp + 0x24]
cmp r9, 0xfc
je 0x7ff62ff9fd49
mov edi, dword [rsp + r9 + 0x54]
add r9, 4
mov dword [rsp + 0x24], r13d
mov dword [rsp + 0x20], r8d
mov ebp, r14d
mov r13d, eax
jmp 0x7ff62ff9fcb0
mov ebp, dword [rsp + 0x28]
add ebp, r12d
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0x50], ebp
mov ebp, dword [rsp + 0x2c]
add ebp, r11d
mov dword [rcx + 0x54], ebp
mov ebp, dword [rsp + 0x30]
add ebp, eax
mov dword [rcx + 0x58], ebp
mov eax, dword [rsp + 0x34]
add eax, r13d
mov dword [rcx + 0x5c], eax
mov eax, dword [rsp + 0x38]
add eax, edx
mov dword [rcx + 0x60], eax
mov eax, dword [rsp + 0x3c]
add eax, esi
mov dword [rcx + 0x64], eax
mov eax, dword [rsp + 0x40]
add eax, r14d
mov dword [rcx + 0x68], eax
mov eax, dword [rsp + 0x44]
add eax, r8d
mov dword [rcx + 0x6c], eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.7ff62ffbc1f0
nop
add rsp, 0x158
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x7ff62ffb68e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
cmp byte [rcx + 0xaa8], 0
mov rbp, r9
mov r14, r8
movsxd rsi, edx
mov rdi, rcx
je 0x7ff62ffb69a9
cmp qword [rcx + 0x260], 0
je 0x7ff62ffb695e
mov qword [rsp + 0x40], rbx
call fcn.7ff62ffa48b0
mov dl, 1
mov rcx, rdi
movzx ebx, al
call fcn.7ff62ffa4880
mov rcx, qword [rdi + 0x1d8]
mov r9, rbp
mov qword [rsp + 0x20], rcx
mov r8, r14
mov rcx, rdi
mov edx, esi
call qword [rdi + 0x260]
movzx edx, bl
mov rcx, rdi
call fcn.7ff62ffa4880
mov rbx, qword [rsp + 0x40]
jmp 0x7ff62ffb69a9
mov ecx, esi
test edx, edx
je 0x7ff62ffb696e
sub ecx, 1
je 0x7ff62ffb696e
cmp ecx, 1
jne 0x7ff62ffb69a9
mov r9, qword [rdi + 0x1d0]
lea rax, [0x7ff6300325a8]
mov edx, 2
lea rcx, [rsi + rsi*2]
add rcx, rax
lea r8d, [rdx - 1]
call fcn.7ff630014768
mov r9, qword [rdi + 0x1d0]
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call fcn.7ff630014768
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret

Function at 0x7ff62ffb8630
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call fcn.7ff63000fee0
cdqe
add rsp, 0x28
ret
Function at 0x7ff62ffc0560
Capabilities:
Convert ip address from string

Disassembly:
cmp qword [rsp + 0x28], 0
mov qword [r9], 0
jge 0x7ff62ffc0575
mov eax, 0xfffffffe
ret
mov qword [rsp + 0x28], r9
mov r9b, 1
jmp fcn.7ff62ffc0080