joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003900
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x14016a100]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
mov word [rbp - 0x19], 0x6d65
mov word [rbp - 0x16], 0x6d69
mov dword [rbp - 0xe], 0x6d695465
mov word [rbp - 0xa], 0x65
mov word [rbp - 0x1b], 0x7473
mov dword [rbp - 0x20], 0x53746547
mov dword [rbp - 0x13], 0x69467341
mov byte [rbp - 0x14], 0x65
mov byte [rbp - 0x17], 0x54
mov byte [rbp - 0x1c], VarBoolFromCy
mov byte [rbp - 0xf], WSAGetLastError
call fcn.14010d634
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140003977
mov rcx, rbx
call rax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140085010
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret

Function at 0x14000433c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14016a100]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14, r8
mov rsi, rcx
xor ebx, ebx
call fcn.14010594c
mov rdi, rax
test rax, rax
je 0x1400043d6
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], 0x53746553
mov rcx, rax
mov word [rbp - 0x1c], 0x6972
mov word [rbp - 0x27], 0x4f65
mov dword [rbp - 0x21], 0x63655374
mov word [rbp - 0x19], VarBoolFromCy
mov dword [rbp - 0x2c], 0x69767265
mov dword [rbp - 0x25], 0x63656a62
mov byte [rbp - 0x1a], reloc.WS2_32.dll_WSACleanup
mov byte [rbp - 0x1d], 0x75
mov byte [rbp - 0x28], 0x63
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400043cd
mov r8, r14
lea edx, [rbx + 4]
mov rcx, rsi
call rax
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140085010
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x140004524
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14016a100]
xor rax, rsp
mov qword [rbp - 8], rax
mov esi, ecx
mov dword [rbp - 0x30], 0x61737457
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2b], 0x2e323369
mov r14, rdx
mov dword [rbp - 0x27], 0x6c6c64
xor ebx, ebx
mov byte [rbp - 0x2c], reloc.WS2_32.dll_WSASetLastError
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdi, rax
test rax, rax
je 0x1400045bf
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x51535457
mov rcx, rax
mov dword [rbp - 0x18], 0x72657355
mov dword [rbp - 0x1c], 0x79726575
mov dword [rbp - 0x14], 0x656b6f54
mov word [rbp - 0x10], WSASetLastError
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400045b6
mov rdx, r14
mov ecx, esi
call rax
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140085010
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400045e4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14016a100]
xor rax, rsp
mov qword [rbp - 8], rax
mov r12, qword [rbp + 0x60]
mov r15, r9
mov r13, qword [rbp + 0x68]
mov r14, rdx
mov rsi, rcx
mov edi, 1
call fcn.14010594c
mov rbx, rax
test rax, rax
je 0x140004694
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x1a], 0x61567972
mov rcx, rax
mov word [rbp - 0x12], 0x4178
mov word [rbp - 0x1c], 0x6575
mov word [rbp - 0x1f], 0x6765
mov word [rbp - 0x15], 0x6575
mov byte [rbp - 0x10], 0
mov byte [rbp - 0x20], 0x52
mov byte [rbp - 0x13], 0x45
mov byte [rbp - 0x1d], 0x51
mov byte [rbp - 0x16], WSAGetLastError
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000468b
mov qword [rsp + 0x28], r13
mov r9, r15
xor r8d, r8d
mov qword [rsp + 0x20], r12
mov rdx, r14
mov rcx, rsi
call rax
mov edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140085010
mov rbx, qword [rsp + 0xa0]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400046bc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x14016a100]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14, rdx
mov rsi, rcx
xor ebx, ebx
call fcn.14010594c
mov rdi, rax
test rax, rax
je 0x140004740
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x17], 0x416563
mov rcx, rax
mov dword [rbp - 0x1f], 0x536e6570
mov word [rbp - 0x1a], 0x7672
mov byte [rbp - 0x1b], 0x65
mov byte [rbp - 0x20], reloc.WLDAP32.dll_Ordinal_79
mov byte [rbp - 0x18], 0x69
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140004737
mov r8d, 0x60000
mov rdx, r14
mov rcx, rsi
call rax
mov rbx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140085010
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
Function at 0x1400047d4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x14016a100]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15, r8
mov r14d, edx
mov rsi, rcx
xor ebx, ebx
call fcn.14010594c
mov rdi, rax
test rax, rax
je 0x140004860
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x14], 0x6e656b6f
mov rcx, rax
mov word [rbp - 0x1c], 0x7250
mov word [rbp - 0x19], 0x6563
mov dword [rbp - 0x20], 0x6e65704f
mov word [rbp - 0x16], 0x5473
mov byte [rbp - 0x1a], reloc.WS2_32.dll_WSAGetLastError
mov byte [rbp - 0x10], bl
mov byte [rbp - 0x17], reloc.WS2_32.dll_WSAStartup
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140004857
mov r8, r15
mov edx, r14d
mov rcx, rsi
call rax
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140085010
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000606c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x250
mov rax, qword [0x14016a100]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x1400060ab
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1400060ab
mov rcx, rbx
call fcn.1400ffde0
mov al, byte [rsi]
test al, al
je 0x14000615e
mov rdi, rsi
mov rcx, rsi
cmp al, 0x2f
je 0x1400060c3
cmp al, 0x5c
jne 0x1400060c6
mov rdi, rcx
inc rcx
mov al, byte [rcx]
test al, al
jne 0x1400060bb
mov ebp, 0x104
cmp rdi, rsi
je 0x140006110
sub rdi, rsi
lea rcx, [rsp + 0x130]
mov r8, rdi
mov rdx, rsi
call fcn.140087d60
cmp rdi, rbp
jae 0x140006181
lea rdx, [rsp + 0x130]
mov byte [rsp + rdi + 0x130], 0
mov rcx, rbx
call fcn.14000606c
or rdi, 0xffffffffffffffff
mov byte [rsp + 0x20], 0
test rbx, rbx
je 0x140006131
mov r9, rdi
lea rcx, [rsp + 0x20]
mov r8, rbx
mov rdx, rbp
call fcn.1400b367c
mov r9, rdi
lea rcx, [rsp + 0x20]
mov r8, rsi
mov rdx, rbp
call fcn.1400b3088
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14000615e
lea rcx, [rsp + 0x20]
call fcn.1400ffde0
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140085010
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop rdi
pop rsi
pop rbp
ret
call fcn.14008513c
int3

Function at 0x14000618c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x58
mov rax, qword [0x14016a100]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor ebx, ebx
mov word [rbp - 0x1f], 0x7365
mov byte [rbp - 0x16], bl
mov r15, r9
mov r14, r8
mov dword [rbp - 0x1a], 0x79726f6d
mov rsi, rdx
mov dword [rbp - 0x28], 0x74697257
mov rdi, rcx
mov dword [rbp - 0x24], 0x6f725065
mov word [rbp - 0x1c], 0x654d
mov byte [rbp - 0x1d], reloc.WS2_32.dll_WSAStartup
mov byte [rbp - 0x20], 0x63
call fcn.14010d634
mov rcx, rax
lea rdx, [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140006210
mov r9, r15
mov qword [rsp + 0x20], rbx
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call rax
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140085010
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140007f00
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rbx, r8
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 0x5c]
call fcn.140087ba0
mov r8d, reloc.WS2_32.dll_sendto
mov dword [rdi], 0x67452301
mov rdx, rbx
mov dword [rdi + 4], 0xefcdab89
mov rcx, rdi
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
call fcn.1400070a0
xor edx, edx
lea rbx, [rdi + 0x5c]
mov rcx, rbx
lea r8d, [rdx + 0x40]
call fcn.140087ba0
mov rdx, rdi
mov rcx, rbx
call fcn.1400071b4
and qword [rsi + 0x10], 0
mov r9, rbx
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov edx, reloc.WS2_32.dll_recv
mov rcx, rsi
mov byte [rsi], 0
call fcn.14000d3bc
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140007fa0
Capabilities:
Hash data with md5

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14016a100]
xor rax, rsp
mov qword [rbp - 8], rax
mov r12, r9
mov r15, r8
mov r14, rdx
mov rdi, rcx
mov qword [rbp - 0x50], rdx
mov rbx, qword [rbp + 0x60]
mov qword [rbp - 0x50], rbx
xor edx, edx
lea r8d, [rdx + 0x5c]
call fcn.140087ba0
mov dword [rdi], 0x67452301
mov dword [rdi + 4], 0xefcdab89
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
mov r8, r12
mov rdx, r15
mov rcx, rdi
call fcn.1400070a0
mov r8, qword [rbx + 0x10]
test r8, r8
je 0x14000802a
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140008022
mov rdx, qword [rbx]
mov rcx, rdi
call fcn.1400070a0
lea rsi, [rdi + 0x5c]
xor edx, edx
lea r8d, [rdx + 0x40]
mov rcx, rsi
call fcn.140087ba0
mov rdx, rdi
mov rcx, rsi
call fcn.1400071b4
and qword [rbp - 0x38], 0
mov qword [rbp - 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x48], 0
mov r9, rsi
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rbp - 0x48]
call fcn.14000d3bc
nop
xor edx, edx
lea r8d, [rdx + 0x5c]
mov rcx, rdi
call fcn.140087ba0
mov dword [rdi], 0x67452301
mov dword [rdi + 4], 0xefcdab89
mov dword [rdi + 8], 0x98badcfe
mov dword [rdi + 0xc], 0x10325476
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rdx, qword [rbp - 0x48]
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rdi
call fcn.1400070a0
mov r8, r12
mov rdx, r15
mov rcx, rdi
call fcn.1400070a0
mov r8, qword [rbx + 0x10]
test r8, r8
je 0x1400080db
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400080d3
mov rdx, qword [rbx]
mov rcx, rdi
call fcn.1400070a0
xor edx, edx
lea r8d, [rdx + 0x40]
mov rcx, rsi
call fcn.140087ba0
mov rdx, rdi
mov rcx, rsi
call fcn.1400071b4
and qword [rbp - 0x18], 0
mov r15d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x10], r15
mov byte [rbp - 0x28], 0
mov r9, rsi
lea edi, [r15 + 1]
mov edx, edi
lea rcx, [rbp - 0x28]
call fcn.14000d3bc
nop
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x48]
mov rcx, r14
call fcn.14000c334
nop
mov esi, 0x1000
mov rdx, qword [rbp - 0x10]
cmp rdx, rdi
jb 0x140008166
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, rsi
jb 0x140008161
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400081f6
call fcn.1400853e0
and qword [rbp - 0x18], 0
mov qword [rbp - 0x10], r15
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, rdi
jb 0x1400081a5
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, rsi
jb 0x1400081a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400081f0
call fcn.1400853e0
and qword [rbp - 0x38], 0
mov qword [rbp - 0x30], r15
mov byte [rbp - 0x48], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, rdi
jb 0x1400081c6
inc rdx
mov rcx, qword [rbx]
call fcn.14000d368
and qword [rbx + 0x10], 0
mov qword [rbx + 0x18], r15
mov byte [rbx], 0
mov rax, r14
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140085010
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140094f58
nop
call fcn.140094f58
int3
Function at 0x14000b394
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14016a100]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000b403
cmp byte [rcx + 0x71], 0
je 0x14000b403
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14000b457
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x14000b41d
sub eax, 1
je 0x14000b421
cmp eax, 2
jne 0x14000b457
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140085010
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000b44e
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.1400ae0e8
cmp rdi, rax
jne 0x14000b457
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000b405
xor al, al
jmp 0x14000b405

Function at 0x14000d898
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14016a100]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov qword [rbp - 0x30], rcx
mov rbx, rcx
mov word [rbp - 0x28], 0x6c47
mov dword [rbp - 0x1f], 0x6174736e
mov dword [rbp - 0x25], 0x5c6c6162
mov dword [rbp - 0x15], 0x786574
mov word [rbp - 0x17], 0x754d
mov word [rbp - 0x1a], 0x656c
mov word [rbp - 0x21], 0x4943
mov byte [rbp - 0x26], reloc.WS2_32.dll_WSAGetLastError
mov byte [rbp - 0x1b], WSAGetLastError
mov byte [rbp - 0x18], WSACleanup
call fcn.140014840
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140085010
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret

Function at 0x14000d918
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14016a100]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov qword [rbp - 0x30], rcx
mov rbx, rcx
mov word [rbp - 0x1a], 0x6c6c
mov word [rbp - 0x20], 0x4945
mov word [rbp - 0x28], 0x6c47
mov word [rbp - 0x1d], 0x7473
mov dword [rbp - 0x25], 0x5c6c6162
mov dword [rbp - 0x17], 0x74754d72
mov byte [rbp - 0x18], 0x65
mov byte [rbp - 0x1b], 0x61
mov byte [rbp - 0x26], reloc.WS2_32.dll_WSAGetLastError
mov byte [rbp - 0x21], 0x49
mov word [rbp - 0x12], VarBoolFromCy
mov byte [rbp - 0x1e], WSASetLastError
mov byte [rbp - 0x13], 0x65
call fcn.140014840
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140085010
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x14000d9a4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14016a100]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov qword [rbp - 0x30], rcx
mov rbx, rcx
mov dword [rbp - 0x24], 0x465c6c61
mov word [rbp - 0x27], 0x6f6c
mov word [rbp - 0x13], 0x7865
mov dword [rbp - 0x20], 0x736e4946
mov dword [rbp - 0x18], 0x754d7265
mov byte [rbp - 0x28], 0x47
mov dword [rbp - 0x1c], 0x6c6c6174
mov byte [rbp - 0x25], 0x62
mov byte [rbp - 0x11], 0
mov byte [rbp - 0x14], reloc.WS2_32.dll_WSACleanup
call fcn.140014840
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140085010
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x14001e880
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rsi, [rcx + rdx]
mov rbx, rcx
mov edi, 0x1505
cmp rcx, rsi
jae 0x14001e8ba
mov cl, byte [rbx]
call fcn.14002c4d4
imul rdi, rdi, 0x21
movsx rdx, al
inc rbx
xor rdi, rdx
cmp rbx, rsi
jb 0x14001e8a0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
movzx eax, dil
add rsp, 0x20
pop rdi
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14001ec36
call fcn.14001ef40
test al, al
jne 0x14001ec36
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14001eeac
mov rdx, qword [rsp + 0x30]
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 0x14001e880
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14001ec00
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rsi, [rcx + rdx]
mov rbx, rcx
mov edi, 0x1505
cmp rcx, rsi
jae 0x14001e8ba
mov cl, byte [rbx]
call fcn.14002c4d4
imul rdi, rdi, 0x21
movsx rdx, al
inc rbx
xor rdi, rdx
cmp rbx, rsi
jb 0x14001e8a0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
movzx eax, dil
add rsp, 0x20
pop rdi
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14001ec36
call fcn.14001ef40
test al, al
jne 0x14001ec36
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14001eeac
mov rdx, qword [rsp + 0x30]
mov rcx, rax
add rsp, 0x20
pop rbx
jmp 0x14001e880
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140029a6c
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
xor edi, edi
movsxd rsi, edx
mov rbp, r9
mov r14, r8
mov rbx, rcx
cmp qword [rcx + 0x728], rdi
je 0x140029ace
mov dl, 1
call fcn.14001ac30
mov rax, qword [rbx + 0x680]
mov r9, rbp
mov r8, r14
mov qword [rsp + 0x20], rax
mov edx, esi
mov rcx, rbx
call qword [rbx + 0x728]
xor edx, edx
mov rcx, rbx
mov edi, eax
call fcn.14001ac30
jmp 0x140029b0d
mov edx, 2
cmp esi, edx
ja 0x140029b0d
mov r9, qword [rbx + 0x678]
lea rax, [0x1401196e8]
lea rcx, [rsi + rsi*2]
add rcx, rax
lea r8d, [rdx - 1]
call fcn.1400ae0e8
mov r9, qword [rbx + 0x678]
mov r8d, 1
mov rdx, rbp
mov rcx, r14
call fcn.1400ae0e8
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret

Function at 0x140029e34
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 0x140029e69
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, gethostname
cmp eax, 0x2733
lea edx, [rcx + 0x19]
cmove ecx, edx
mov eax, ecx
jmp 0x140029e6e
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x14016a100]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r14, qword [rsp + 0x100]
mov rsi, r9
movsxd rax, edx
mov rdi, r8
mov r15, rcx
mov rbx, qword [rcx + rax*8 + 0x240]
call fcn.14002a4f0
xor r9d, r9d
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
and dword [r14], 0
movsxd rdi, eax
cmp rdi, 0xffffffffffffffff
jne 0x14002a02b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x140029ff7
xor edi, edi
mov dword [r14], 0x51
jmp 0x14002a02b
mov r8d, 0x80
lea rdx, [rsp + 0x20]
mov ecx, ebx
call fcn.140051cb0
mov rcx, qword [r15]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.140029b2c
mov rcx, qword [r15]
mov dword [rcx + 0x10e8], ebx
mov dword [r14], gethostname
mov rax, rdi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140085010
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x14002a4f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
movsxd rcx, edx
mov rdi, rcx
shl rdi, 5
mov rax, qword [rbx + 0x3e8]
mov rsi, qword [rdi + rbx + 0x290]
sub rsi, qword [rdi + rbx + 0x298]
test byte [rax + 0x7c], 3
je 0x14002a60a
lea rax, [0x140029ea8]
cmp qword [rbx + rcx*8 + 0x268], rax
jne 0x14002a60a
cmp qword [rdi + rbx + 0x288], 0
je 0x14002a55b
test rsi, rsi
je 0x14002a60a
mov rbp, qword [rbx + rcx*8 + 0x240]
or r8, 0xffffffffffffffff
or rdx, r8
mov rcx, rbp
xor r9d, r9d
call fcn.140029664
cmp eax, 0xffffffff
je 0x14002a60a
test al, 1
je 0x14002a60a
mov rax, qword [rdi + rbx + 0x288]
test rax, rax
jne 0x14002a5d6
mov rax, qword [rbx]
mov ecx, dword [rax + 0xb60]
add ecx, ecx
movsxd rcx, ecx
mov qword [rdi + rbx + 0x290], rcx
call qword [section..data]
and qword [rdi + rbx + 0x298], 0
and qword [rdi + rbx + 0x2a0], 0
mov rsi, qword [rdi + rbx + 0x290]
mov qword [rdi + rbx + 0x288], rax
test rax, rax
je 0x14002a601
mov rdx, qword [rdi + rbx + 0x298]
xor r9d, r9d
add rdx, rax
mov r8d, esi
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
test eax, eax
jle 0x14002a60a
add qword [rdi + rbx + 0x298], rcx
jmp 0x14002a60a
and qword [rdi + rbx + 0x290], 0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
sub rsp, 0x28
test byte [rcx + 0x2d8], 1
je 0x14002a71d
call fcn.14002317c
test eax, eax
jne 0x14002a741
xor al, al
add rsp, 0x28
ret
mov rcx, qword [rcx + 0x240]
cmp rcx, 0xffffffffffffffff
je 0x14002a716
mov r9d, 2
lea rdx, [rsp + 0x30]
lea r8d, [r9 - 1]
call qword [sym.imp.WS2_32.dll_recv]
jmp 0x14002a712
mov al, 1
jmp 0x14002a718

Function at 0x14002ae04
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
and dword [rsp + 0x48], 0
mov rbx, rcx
mov eax, dword [0x14016be74]
mov dword [rsp + 0x50], 0x4020
mov dword [rsp + 0x58], 4
test eax, eax
jne 0x14002ae59
xor edx, edx
lea ecx, [rax + 6]
lea r9d, [rax + 3]
lea r8d, [rax + 2]
call fcn.14002c198
test al, al
je 0x14002ae4e
mov dword [0x14016be74], 2
jmp 0x14002aeb0
mov eax, 1
mov dword [0x14016be74], eax
cmp eax, 2
je 0x14002aeb0
lea rax, [rsp + 0x58]
mov edx, 0xffff
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x14002ae8f
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jg 0x14002aeb0
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
add rsp, 0x30
pop rbx
ret