joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140028b30
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1e8
mov rax, qword [0x1400a9108]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
test cl, 2
je 0x140028b96
mov ecx, 0x202
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140028b79
movzx eax, word [rsp + 0x30]
cmp al, 2
jne 0x140028b73
shr ax, 8
cmp al, 2
je 0x140028b96
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140042d70
add rsp, 0x1e8
ret
call fcn.14003bdc0
test eax, eax
jne 0x140028c0f
lea rcx, str.iphlpapi.dll
call fcn.140028940
mov qword [0x1400aa1f0], rax
test rax, rax
je 0x140028bdc
lea rdx, str.if_nametoindex
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x1400aa1e8]
test rax, rax
cmovne rcx, rax
mov qword [0x1400aa1e8], rcx
xor edx, edx
mov dword [rsp + 0x20], 3
mov r9d, 2
xor r8d, r8d
lea ecx, [rdx + 6]
call fcn.14003b040
test al, al
lea rcx, [0x1400ab9c8]
setne byte [0x1400ab9c0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xor eax, eax
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140042d70
add rsp, 0x1e8
ret

Function at 0x140028cb0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
movzx ebp, byte [rcx]
mov rsi, rdx
mov rbx, rcx
test bpl, bpl
je 0x140028cfe
movzx ecx, byte [rsi]
test cl, cl
je 0x140028cfe
call fcn.140028c40
movzx ecx, bpl
movzx edi, al
call fcn.140028c40
cmp al, dil
jne 0x140028d23
movzx ebp, byte [rbx + 1]
inc rbx
inc rsi
test bpl, bpl
jne 0x140028cd2
xor ecx, ecx
mov eax, ecx
cmp byte [rbx], al
sete al
cmp byte [rsi], cl
setne cl
xor eax, ecx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor eax, eax
jmp 0x140028d0e

Function at 0x14002c380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov byte [rdx], 0
mov r9, r8
cmp dword [rcx + 4], 2
mov r8, rdx
jne 0x14002c3a1
mov rdx, qword [rcx + 0x20]
mov ecx, 2
add rdx, 4
jmp fcn.14003ae20
ret
Function at 0x140031be0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rdi, r9
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x140031c0a
cmp dword [rdx], 0
jne 0x140031c20
test rbx, rbx
je 0x140031c15
cmp dword [r8], 0
jne 0x140031c20
test rdi, rdi
je 0x140031c6c
cmp dword [r9], 0
je 0x140031c6c
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x48]
call fcn.14003dcf0
test rdi, rdi
je 0x140031c39
cmp dword [rdi], 0
jne 0x140031c3b
xor edi, edi
test rbx, rbx
je 0x140031c45
cmp dword [rbx], 0
jne 0x140031c47
xor ebx, ebx
test rsi, rsi
je 0x140031c51
cmp dword [rsi], 0
jne 0x140031c53
xor esi, esi
lea ecx, [rbp + 1]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8, rbx
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_select]
jmp 0x140031c76
mov rcx, qword [rsp + 0x60]
call fcn.140031b90
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400332b0
Capabilities:
Resolve dns

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r13d, r13d
mov r12, r9
mov qword [r9], r13
mov ebp, r13d
lea r9, [rsp + 0x68]
mov r14d, r13d
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r15d, eax
test eax, eax
jne 0x140033412
mov qword [rsp + 0x60], rdi
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x1400333f7
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rax, qword [rdi + 0x18]
test rax, rax
je 0x14003331e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r13b
jne 0x140033310
inc rbx
jmp 0x140033321
mov rbx, r13
cmp dword [rdi + 4], 2
jne 0x1400333b1
cmp qword [rdi + 0x20], r13
je 0x1400333b1
cmp qword [rdi + 0x10], 0x10
jb 0x1400333b1
lea rcx, [rbx + 0x40]
call qword [fcn.14004a154]
mov rsi, rax
test rax, rax
je 0x1400333c0
mov ecx, dword [rdi]
mov dword [rax], ecx
mov ecx, dword [rdi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rdi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rdi + 0xc]
mov dword [rax + 0xc], ecx
lea rcx, [rax + 0x30]
mov qword [rax + 0x20], rcx
mov dword [rax + reloc.WS2_32.dll_recv], 0x10
mov qword [rax + 0x18], r13
mov qword [rax + 0x28], r13
mov rax, qword [rdi + 0x20]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
test rbx, rbx
je 0x14003339e
add rcx, 0x10
mov r8, rbx
mov qword [rsi + 0x18], rcx
mov rdx, qword [rdi + 0x18]
call fcn.140043700
test rbp, rbp
cmove rbp, rsi
test r14, r14
je 0x1400333ae
mov qword [r14 + 0x28], rsi
mov r14, rsi
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x140033300
jmp 0x1400333c6
mov r15d, 8
mov rcx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400333e0
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r15d, r15d
je 0x1400333f2
mov rcx, rbp
call fcn.140033280
mov rbp, r13
jmp 0x140033406
test rbp, rbp
jne 0x140033406
mov r15d, 0x2af9
mov ecx, r15d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rdi, qword [rsp + 0x60]
mov eax, r15d
mov qword [r12], rbp
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140036e20
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov ebx, 1
mov edx, ebx
xor ecx, ecx
xor ebp, ebp
call qword [fcn.14004a15c]
mov rdi, rax
test rax, rax
je 0x140036e9d
nop word [rax + rax]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
mov rbp, rdi
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
test eax, eax
je 0x140036ec8
cmp ebx, esi
je 0x140036ec8
cmp ebx, 0x8000
ja 0x140036ec8
cmp ebx, esi
jb 0x140036ec3
mov edx, ebx
mov rcx, rdi
call qword [fcn.14004a15c]
mov rdi, rax
test rax, rax
jne 0x140036e60
mov rcx, rbp
call qword [fcn.14004a14c]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rax, rdi
jmp 0x140036ea8
mov rcx, rdi
jmp 0x140036ea0
jmp 0x140036e20

Function at 0x140036ed0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov ebx, 1
mov edx, ebx
xor ecx, ecx
xor ebp, ebp
call qword [fcn.14004a15c]
mov rdi, rax
test rax, rax
je 0x140036e9d
nop word [rax + rax]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
mov rbp, rdi
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
test eax, eax
je 0x140036ec8
cmp ebx, esi
je 0x140036ec8
cmp ebx, 0x8000
ja 0x140036ec8
cmp ebx, esi
jb 0x140036ec3
mov edx, ebx
mov rcx, rdi
call qword [fcn.14004a15c]
mov rdi, rax
test rax, rax
jne 0x140036e60
mov rcx, rbp
call qword [fcn.14004a14c]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rax, rdi
jmp 0x140036ea8
mov rcx, rdi
jmp 0x140036ea0
jmp 0x140036e20
Function at 0x14003ae20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x28
mov rax, r8
mov r10, rdx
cmp ecx, 2
je 0x14003ae41
call fcn.140046c54
mov dword [rax], 0x273f
xor eax, eax
add rsp, 0x28
ret
mov r8, r9
mov rdx, rax
mov rcx, r10
add rsp, 0x28
jmp 0x14003ae60
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400a9108]
xor rax, rsp
mov qword [rsp + 0x50], rax
movzx eax, byte [rcx + 3]
mov rbx, rdx
movzx edx, byte [rcx + 2]
mov rdi, r8
movzx r10d, byte [rcx + 1]
lea r8, str._d._d._d._d
movzx r9d, byte [rcx]
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], edx
mov edx, reloc.WS2_32.dll_recv
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x20], r10d
call fcn.140031e90
lea rcx, [rsp + 0x40]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x14003aec4
test rax, rax
je 0x14003af04
cmp rax, rdi
jae 0x14003af04
lea rax, [rsp + 0x40]
mov r8, rbx
sub r8, rax
lea rcx, [rsp + 0x40]
nop word [rax + rax]
movzx edx, byte [rcx]
mov byte [r8 + rcx], dl
lea rcx, [rcx + 1]
test dl, dl
jne 0x14003aef0
mov rax, rbx
jmp 0x14003af11
call fcn.140046c54
mov dword [rax], 0x1c
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140042d70
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x14003e370
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rbp
push r12
push r13
push r15
sub rsp, 0x180
mov rax, qword [0x1400a9108]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x50], rcx
mov r15, r8
mov rcx, rdx
mov r12, rdx
xor ebp, ebp
xor ebx, ebx
call fcn.14005a868
mov r13, rax
test rax, rax
jne 0x14003e3ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.140039df0
mov r9, rax
lea rdx, str.schannel:_invalid_path_name_for_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.1400263b0
xor ecx, ecx
lea ebx, [rbp + 0x4d]
call qword [fcn.14004a14c]
jmp 0x14003e5a8
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, r13
mov qword [rsp + 0x170], r14
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14003e461
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.140039df0
mov r9, rax
lea rdx, str.schannel:_failed_to_open_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.1400263b0
xor ecx, ecx
lea ebx, [r14 + 0x4e]
jmp 0x14003e592
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x14003e4aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.140039df0
mov r9, rax
lea rdx, str.schannel:_failed_to_determine_size_of_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.1400263b0
mov ebx, 0x4d
jmp 0x14003e586
mov qword [rsp + 0x178], rdi
mov rdi, qword [rsp + 0x48]
cmp rdi, 0x100000
jle 0x14003e4df
mov r8d, 0x100000
lea rdx, str.schannel:_CA_file_exceeds_max_size_of__u_bytes
mov rcx, r15
call fcn.1400263b0
mov ebx, 0x4d
jmp 0x14003e57e
lea rcx, [rdi + 1]
call qword [fcn.14004a154]
mov rbp, rax
test rax, rax
jne 0x14003e4f9
lea ebx, [rax + 0x1b]
jmp 0x14003e57e
mov qword [rsp + 0x1c8], rsi
test rdi, rdi
je 0x14003e558
nop word [rax + rax]
mov r8d, edi
mov dword [rsp + 0x40], 0
sub r8d, ebx
mov esi, ebx
lea rdx, [rbx + rbp]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14003e5ca
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x14003e54f
mov edi, esi
jmp 0x14003e551
add ebx, eax
mov eax, ebx
cmp rax, rdi
jb 0x14003e510
mov rcx, qword [rsp + 0x50]
mov r9, r12
mov r8, rdi
mov byte [rdi + rbp], 0
mov rdx, rbp
mov qword [rsp + 0x20], r15
call fcn.14003e150
mov ebx, eax
mov rsi, qword [rsp + 0x1c8]
mov rdi, qword [rsp + 0x178]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [fcn.14004a14c]
mov rcx, r13
call fcn.14004a14c
mov r14, qword [rsp + 0x170]
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140042d70
add rsp, 0x180
pop r15
pop r13
pop r12
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.140039df0
mov r9, rax
lea rdx, str.schannel:_failed_to_read_from_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.1400263b0
mov ebx, 0x4d
jmp 0x14003e576
Function at 0x140040760
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [fcn.14004a154]
mov rdi, rax
test rax, rax
jne 0x1400407a2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400407e9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + ioctlsocket]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x140040842
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + ioctlsocket]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + ioctlsocket]
sub rbp, 1
jne 0x140040800
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x140040883
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14008d6a9]
mov r8d, 1
call qword [rbx + ioctlsocket]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14008d6aa]
mov r8d, 1
call qword [rbx + ioctlsocket]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x140040850
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x140058510
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140058274
Function at 0x14005f4e0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14005f380
call fcn.140046c54
mov dword [rax], socket
call fcn.140046b04
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14005f368
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14005f368
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14005f3b2
lock or dword [rax + 0x14], 0x10
jmp 0x14005f368
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14005f3cf
mov rcx, qword [rbp + 0x10]
call fcn.140067374
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14005d2a4
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14005ae10
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14005f426
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14005f368
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14005f492
mov rcx, qword [rbp + 0x10]
call fcn.14005d2a4
cmp eax, 0xffffffff
je 0x14005f479
mov rcx, qword [rbp + 0x10]
call fcn.14005d2a4
cmp eax, 0xfffffffe
je 0x14005f479
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.14005d2a4
movsxd rdi, eax
lea rsi, [0x1400ab2b0]
mov rcx, rbx
sar rdi, 6
call fcn.14005d2a4
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14005f480
lea rax, [0x1400a95b0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14005f492
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14005f4c8
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14005f4c4
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14005f4c4
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14005f36b
jmp 0x14005f338
Function at 0x14006e9dc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x1030]
mov eax, 0x1130
call fcn.1400429f0
sub rsp, rax
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x1140], rbx
mov qword [rsp + 0x1148], rdi
mov qword [rsp + 0x1150], r15
movsxd rdi, r8d
mov rbx, rcx
movdqa xmm0, xmmword [0x1400810b0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
lea rcx, [rsp + 0x70]
call fcn.140014610
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.140078418
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x14006ea82
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ea7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ec63
call fcn.1400423d4
movdqa xmm0, xmmword [0x1400810b0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov r15d, 0x400
mov r8d, r15d
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.140043b60
xor r9d, r9d
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
sub r8, rdx
je 0x14006ead8
lea rcx, [rbp - 0x50]
lea rax, [rbp - 0x50]
sub rdx, rax
mov al, byte [rdx + rcx]
mov byte [rcx], al
inc r9d
inc rcx
movsxd rax, r9d
cmp rax, r8
jb 0x14006eac5
mov r8, r15
xor edx, edx
lea rcx, [rbp + 0xc30]
call fcn.140043b60
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov r8, r15
xor edx, edx
lea rcx, [rbp + 0x830]
call fcn.140043b60
mov word [rsp + 0x4e], 0x3939
mov dword [rsp + 0x30], 0x37383843
mov dword [rsp + 0x3f], 0x42324436
mov dword [rsp + 0x35], 0x44433234
mov word [rsp + 0x48], 0x4342
mov dword [rsp + 0x43], 0x42413436
mov word [rsp + 0x3c], 0x3945
mov word [rsp + 0x39], 0x4132
mov byte [rsp + 0x50], 0
mov byte [rsp + 0x3b], 0x37
mov byte [rsp + 0x34], 0x44
mov word [rsp + 0x4b], 0x3836
mov byte [rsp + 0x4a], 0x46
mov byte [rsp + 0x47], 0x43
mov byte [rsp + 0x3e], 0x46
mov byte [rsp + 0x4d], 0x46
lea r8, [rsp + 0x30]
mov rdx, r15
lea rcx, [rbp + 0x830]
call fcn.140049a28
lea rcx, [rbp + 0x3b0]
call fcn.14006f064
nop
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r9d, 0x20
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x830]
lea rcx, [rbp + 0x3b0]
call fcn.140006e8c
mov r9, qword [rsp + 0x60]
sub r9, qword [rsp + 0x58]
mov dword [rsp + 0x20], 1
lea r8, [rbp + 0xc30]
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x3b0]
call fcn.140078a04
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
lea rdx, [rbp + 0xc30]
add rdx, rdi
mov rcx, rbx
call fcn.140014610
nop
lea rcx, [rbp + 0x3b0]
call fcn.14006f07c
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14006ec41
mov rdx, qword [rsp + 0x68]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ec3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ec5d
call fcn.1400423d4
mov rax, rbx
lea r11, [rsp + 0x1130]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r15, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.140046b24
nop
call fcn.140046b24
nop
int3
Function at 0x1400731c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, r8
call fcn.140072c3c
xor r10d, r10d
test eax, eax
js 0x1400733ed
mov ecx, dword [rbx + 0xf0]
mov eax, ecx
shl eax, 2
movsxd r9, eax
test eax, eax
jle 0x14007324a
lea rdx, [rbx + 8]
lea rdx, [rdx + r9*4]
lea r8, [rbx + 8]
mov ecx, dword [r8 - 8]
add r10, 4
mov eax, dword [rdx - 8]
sub r9, 4
mov dword [r8 - 8], eax
mov eax, dword [rdx - 4]
mov dword [rdx - 8], ecx
mov ecx, dword [r8 - 4]
mov dword [r8 - 4], eax
mov eax, dword [rdx]
mov dword [rdx - 4], ecx
mov ecx, dword [r8]
mov dword [r8], eax
lea r8, [r8 + 0x10]
mov eax, dword [rdx + 4]
mov dword [rdx], ecx
lea rdx, [rdx - 0x10]
mov ecx, dword [r8 - 0xc]
mov dword [r8 - 0xc], eax
mov dword [rdx + 0x14], ecx
cmp r10, r9
jl 0x1400731fb
mov ecx, dword [rbx + 0xf0]
mov r11d, 1
cmp ecx, r11d
jle 0x1400733eb
lea r10, [rbx + 2]
lea rdi, [0x140000000]
lea r10, [r10 + 0x10]
inc r11d
mov r8d, dword [r10 - 2]
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x7f7b0]
movzx eax, byte [r10 - 1]
mov r9d, dword [rdi + rdx*4 + 0x7fbb0]
movzx ecx, byte [rdi + rax*4 + 0x7f7b0]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0x803b0]
movzx ecx, byte [rdi + rax*4 + 0x7f7b0]
movzx eax, byte [r10]
xor r9d, dword [rdi + rcx*4 + 0x807b0]
movzx ecx, byte [rdi + rax*4 + 0x7f7b0]
xor r9d, dword [rdi + rcx*4 + 0x7ffb0]
mov dword [r10 - 2], r9d
mov r9d, dword [r10 + 2]
mov eax, r9d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x7f7b0]
movzx eax, byte [r10 + 3]
mov r8d, dword [rdi + rdx*4 + 0x7fbb0]
movzx ecx, byte [rdi + rax*4 + 0x7f7b0]
movzx eax, byte [r10 + 4]
xor r8d, dword [rdi + rcx*4 + 0x803b0]
movzx ecx, byte [rdi + rax*4 + 0x7f7b0]
movzx eax, r9b
mov r9d, dword [r10 + 6]
xor r8d, dword [rdi + rcx*4 + 0x7ffb0]
movzx ecx, byte [rdi + rax*4 + 0x7f7b0]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x807b0]
movzx edx, byte [rdi + rax*4 + 0x7f7b0]
movzx eax, byte [r10 + 7]
mov dword [r10 + 2], r8d
mov r8d, dword [rdi + rdx*4 + 0x7fbb0]
movzx ecx, byte [rdi + rax*4 + 0x7f7b0]
movzx eax, byte [r10 + 8]
xor r8d, dword [rdi + rcx*4 + 0x803b0]
movzx ecx, byte [rdi + rax*4 + 0x7f7b0]
movzx eax, r9b
mov r9d, dword [r10 + 0xa]
xor r8d, dword [rdi + rcx*4 + 0x7ffb0]
movzx ecx, byte [rdi + rax*4 + 0x7f7b0]
mov eax, r9d
shr rax, 0x18
xor r8d, dword [rdi + rcx*4 + 0x807b0]
movzx edx, byte [rdi + rax*4 + 0x7f7b0]
movzx eax, byte [r10 + 0xb]
mov dword [r10 + 6], r8d
mov r8d, dword [rdi + rdx*4 + 0x7fbb0]
movzx ecx, byte [rdi + rax*4 + 0x7f7b0]
movzx eax, byte [r10 + 0xc]
xor r8d, dword [rdi + rcx*4 + 0x803b0]
movzx ecx, byte [rdi + rax*4 + 0x7f7b0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x7ffb0]
movzx ecx, byte [rdi + rax*4 + 0x7f7b0]
xor r8d, dword [rdi + rcx*4 + 0x807b0]
mov dword [r10 + 0xa], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x140073264
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret