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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1401beaa0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x20], 0
call fcn.140157ba4
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14000c0cf
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x40], 0x76
mov eax, 1
imul rax, rax, 0x13
mov byte [rsp + rax + 0x40], 0x65
mov eax, 1
imul rax, rax, 0x10
mov byte [rsp + rax + 0x40], 0x61
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x40], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x40], 0x65
mov eax, 1
imul rax, rax, 0xf
mov byte [rsp + rax + 0x40], VarDateFromR4
mov eax, 1
imul rax, rax, 0x15
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0x16
jae 0x14000bfac
jmp 0x14000bfb1
call fcn.1400b299c
mov rax, qword [rsp + 0x30]
mov byte [rsp + rax + 0x40], 0
mov eax, 1
imul rax, rax, 0xd
mov byte [rsp + rax + 0x40], 0x67
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x40], 0x75
mov eax, 1
imul rax, rax, 0x14
mov byte [rsp + rax + 0x40], 0x41
mov eax, 1
imul rax, rax, 0xe
mov byte [rsp + rax + 0x40], 0x65
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x40], WSAGetLastError
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x40], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x40], reloc.WS2_32.dll_WSASetLastError
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x40], VarR8FromCy
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x40], 0x69
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x40], Ordinal_79
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x40], 0x69
mov eax, 1
imul rax, rax, 0x11
mov byte [rsp + rax + 0x40], WSASetLastError
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x40], WSASetLastError
mov eax, 1
imul rax, rax, 0x12
mov byte [rsp + rax + 0x40], 0x75
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x40], WSACleanup
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14000c0c4
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [rsp + gethostname]
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400b2870
add rsp, 0x68
ret

Function at 0x14000c794
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r8d, 0x5c
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.1400b53d0
mov rax, qword [rsp + 0x30]
mov dword [rax], 0x67452301
mov rax, qword [rsp + 0x30]
mov dword [rax + 4], 0xefcdab89
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 0x98badcfe
mov rax, qword [rsp + 0x30]
mov dword [rax + 0xc], 0x10325476
mov eax, 1
add rsp, 0x28
ret
Function at 0x14001401c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [0x1401beaa0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x68], 0
je 0x140014059
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140014060
mov al, 1
jmp 0x1400141d2
mov dword [rsp + 0x40], 0xffffffff
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xc0]
call qword [rax + Ordinal_26]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x48], 0xffffffff
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jne 0x1400140a2
mov dword [rsp + 0x38], 1
jmp 0x1400140aa
mov dword [rsp + 0x38], 0
mov al, byte [rsp + 0x38]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x1400140c2
xor al, al
jmp 0x1400141d2
mov qword [rsp + 0x70], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x98]
mov rcx, qword [rsp + 0xc0]
add rcx, 0x74
mov rdx, qword [rsp + 0x58]
mov rdx, qword [rdx]
mov qword [rsp + 0x60], rdx
lea r8, [rsp + 0x68]
mov qword [rsp + 0x20], r8
mov r9, rax
lea r8, [rsp + 0x78]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x60]
call qword [rax + 0x40]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x140014141
cmp dword [rsp + 0x34], 1
je 0x14001414d
cmp dword [rsp + 0x34], 3
je 0x1400141c0
jmp 0x1400141d0
mov rax, qword [rsp + 0xc0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jbe 0x140014198
mov rax, qword [rsp + 0xc0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
lea rcx, [rsp + 0x78]
call fcn.1400dba2c
cmp qword [rsp + 0x50], rax
je 0x140014198
xor al, al
jmp 0x1400141d2
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400141b2
mov dword [rsp + 0x3c], 1
jmp 0x1400141ba
mov dword [rsp + 0x3c], 0
mov al, byte [rsp + 0x3c]
jmp 0x1400141d2
mov rax, qword [rsp + 0xc0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1400141d2
xor al, al
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400b2870
add rsp, 0xb8
ret
Function at 0x140018bcc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1401beaa0]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x20], 0
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x30], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x30], 0x63
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x30], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x30], WSASetLastError
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x30], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x30], reloc.WS2_32.dll_WSASetLastError
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x30], WSASetLastError
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x30], 0x61
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x30], reloc.WLDAP32.dll_Ordinal_46
mov eax, 1
imul rax, rax, 0xa
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xb
jae 0x140018c82
jmp 0x140018c87
call fcn.1400b299c
mov rax, qword [rsp + 0x28]
mov byte [rsp + rax + 0x30], 0
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x30], reloc.WS2_32.dll_WSAGetLastError
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
call fcn.140026d40
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400b2870
add rsp, 0x58
ret
Function at 0x1400195a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1401beaa0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x30], WSASetLastError
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x30], 0x61
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x30], 0x61
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x30], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 0x16
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0x17
jae 0x140019610
jmp 0x140019615
call fcn.1400b299c
mov rax, qword [rsp + 0x28]
mov byte [rsp + rax + 0x30], 0
mov eax, 1
imul rax, rax, 0x11
mov byte [rsp + rax + 0x30], Ordinal_79
mov eax, 1
imul rax, rax, 0x14
mov byte [rsp + rax + 0x30], 0x65
mov eax, 1
imul rax, rax, 0xe
mov byte [rsp + rax + 0x30], WSASetLastError
mov eax, 1
imul rax, rax, 0xf
mov byte [rsp + rax + 0x30], 0x65
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x30], 0x62
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x30], WSASetLastError
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x30], WSASetLastError
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x30], 0x43
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x30], 0x47
mov eax, 1
imul rax, rax, 0x13
mov byte [rsp + rax + 0x30], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x30], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x30], 0x5c
mov eax, 1
imul rax, rax, 0x15
mov byte [rsp + rax + 0x30], 0x78
mov eax, 1
imul rax, rax, 0x12
mov byte [rsp + rax + 0x30], 0x75
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x30], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x30], 0x49
mov eax, 1
imul rax, rax, 0xd
mov byte [rsp + rax + 0x30], WSASetLastError
mov eax, 1
imul rax, rax, 0x10
mov byte [rsp + rax + 0x30], WSACleanup
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
call fcn.140026d40
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400b2870
add rsp, 0x58
ret
Function at 0x14001974c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1401beaa0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
mov eax, 1
imul rax, rax, 0xf
mov byte [rsp + rax + 0x30], WSASetLastError
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x30], 0x49
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x30], WSASetLastError
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x30], 0x45
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x30], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x30], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x30], WSASetLastError
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x30], 0x47
mov eax, 1
imul rax, rax, 0x12
mov byte [rsp + rax + 0x30], Ordinal_79
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x30], 0x5c
mov eax, 1
imul rax, rax, 0xe
mov byte [rsp + rax + 0x30], WSASetLastError
mov eax, 1
imul rax, rax, 0x10
mov byte [rsp + rax + 0x30], 0x65
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x30], 0x61
mov eax, 1
imul rax, rax, 0xd
mov byte [rsp + rax + 0x30], 0x61
mov eax, 1
imul rax, rax, 0x11
mov byte [rsp + rax + 0x30], WSACleanup
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x30], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x30], 0x49
mov eax, 1
imul rax, rax, 0x13
mov byte [rsp + rax + 0x30], 0x75
mov eax, 1
imul rax, rax, 0x17
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0x18
jae 0x140019880
jmp 0x140019885
call fcn.1400b299c
mov rax, qword [rsp + 0x28]
mov byte [rsp + rax + 0x30], 0
mov eax, 1
imul rax, rax, 0x14
mov byte [rsp + rax + 0x30], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x30], WSASetLastError
mov eax, 1
imul rax, rax, 0x15
mov byte [rsp + rax + 0x30], 0x65
mov eax, 1
imul rax, rax, 0x16
mov byte [rsp + rax + 0x30], 0x78
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x30], 0x62
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
call fcn.140026d40
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400b2870
add rsp, 0x58
ret
Function at 0x140019908
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1401beaa0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x20], 0
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x30], 0x46
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x30], 0x5c
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x30], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x30], WSASetLastError
mov eax, 1
imul rax, rax, 0x16
mov byte [rsp + rax + 0x30], 0x78
mov eax, 1
imul rax, rax, 0x15
mov byte [rsp + rax + 0x30], 0x65
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x30], WSASetLastError
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x30], 0x46
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x30], 0x49
mov eax, 1
imul rax, rax, 0x12
mov byte [rsp + rax + 0x30], Ordinal_79
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x30], 0x47
mov eax, 1
imul rax, rax, 0xd
mov byte [rsp + rax + 0x30], 0x61
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x30], WSASetLastError
mov eax, 1
imul rax, rax, 0x10
mov byte [rsp + rax + 0x30], 0x65
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x30], reloc.WS2_32.dll_WSAStartup
mov eax, 1
imul rax, rax, 0x13
mov byte [rsp + rax + 0x30], 0x75
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x30], 0x62
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x30], 0x61
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x30], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 0xe
mov byte [rsp + rax + 0x30], WSASetLastError
mov eax, 1
imul rax, rax, 0x17
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0x18
jae 0x140019a58
jmp 0x140019a5d
call fcn.1400b299c
mov rax, qword [rsp + 0x28]
mov byte [rsp + rax + 0x30], 0
mov eax, 1
imul rax, rax, 0x11
mov byte [rsp + rax + 0x30], WSACleanup
mov eax, 1
imul rax, rax, 0xf
mov byte [rsp + rax + 0x30], WSASetLastError
mov eax, 1
imul rax, rax, 0x14
mov byte [rsp + rax + 0x30], reloc.WS2_32.dll_WSACleanup
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
call fcn.140026d40
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400b2870
add rsp, 0x58
ret
Function at 0x140029f24
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140029f41
xor al, al
jmp 0x140029f43
mov al, 1
add rsp, 0x28
ret
Function at 0x1400359f0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140035abf
mov rdx, rcx
lea r8, [rsp + 0x30]
mov ecx, 2
call fcn.140058860
test eax, eax
jne 0x140035abf
mov qword [rsp + 0x38], rsi
xor esi, esi
mov qword [rsp + 0x40], rdi
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp byte [rbx + rdi], sil
jne 0x140035a30
mov r8, rdi
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rbx
call fcn.140058840
test rax, rax
je 0x140035a75
sub rax, rbx
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov r8, rax
mov rcx, rbx
call fcn.140058840
mov rsi, rax
test rax, rax
je 0x140035a75
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rsi, [rdi + rbx]
mov edi, 0x1505
cmp rbx, rsi
jae 0x140035aab
nop word [rax + rax]
movzx ecx, byte [rbx]
call fcn.140049900
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x140035a90
mov rsi, qword [rsp + 0x38]
movzx eax, dil
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x1400375d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp dword [rcx + 4], 2
mov rax, rdx
je 0x1400375dc
xor eax, eax
ret
mov rdx, qword [rcx + 0x20]
mov r9, r8
add rdx, 4
mov r8, rax
mov ecx, 2
jmp fcn.140059670
Function at 0x140045f40
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x1400460a4
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rdi
sub rsp, 0x860
mov rax, qword [0x1401beaa0]
xor rax, rsp
mov qword [rsp + 0x840], rax
test dword [rcx + 0xe70], 0x4000000
mov rdi, rcx
je 0x14004608c
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.1400565d0
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x140046001
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop dword [rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x140045fc0
cmp byte [rax + rcx - 1], 0xa
jne 0x140045fe8
lea r8, str...._n
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x140045ffc
lea r8, [0x1401b3518]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.1400564c0
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140046006
cmp qword [rdi + 0x728], 0
je 0x14004604e
mov dl, 1
mov rcx, rdi
call fcn.140030dc0
mov rax, qword [rdi + 0x680]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x728]
xor edx, edx
mov rcx, rdi
call fcn.140030dc0
jmp 0x140046084
mov r9, qword [rdi + 0x678]
lea rcx, [0x140168498]
mov edx, 2
lea r8d, [rdx - 1]
call fcn.1400dba2c
mov r9, qword [rdi + 0x678]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call fcn.1400dba2c
mov rbx, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400b2870
add rsp, 0x860
pop rdi
ret

Function at 0x140045f49
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x1400460a4
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rdi
sub rsp, 0x860
mov rax, qword [0x1401beaa0]
xor rax, rsp
mov qword [rsp + 0x840], rax
test dword [rcx + 0xe70], 0x4000000
mov rdi, rcx
je 0x14004608c
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.1400565d0
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x140046001
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop dword [rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x140045fc0
cmp byte [rax + rcx - 1], 0xa
jne 0x140045fe8
lea r8, str...._n
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x140045ffc
lea r8, [0x1401b3518]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.1400564c0
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140046006
cmp qword [rdi + 0x728], 0
je 0x14004604e
mov dl, 1
mov rcx, rdi
call fcn.140030dc0
mov rax, qword [rdi + 0x680]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x728]
xor edx, edx
mov rcx, rdi
call fcn.140030dc0
jmp 0x140046084
mov r9, qword [rdi + 0x678]
lea rcx, [0x140168498]
mov edx, 2
lea r8d, [rdx - 1]
call fcn.1400dba2c
mov r9, qword [rdi + 0x678]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call fcn.1400dba2c
mov rbx, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.1400b2870
add rsp, 0x860
pop rdi
ret
Function at 0x1400460b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x160
mov rax, qword [0x1401beaa0]
xor rax, rsp
mov qword [rsp + 0x140], rax
test dword [rcx + 0xe70], 0x4000000
mov rdi, rcx
jne 0x1400460f6
cmp qword [rcx + 0x688], 0
je 0x1400461d3
mov r8, rdx
mov qword [rsp + 0x158], rbx
mov edx, 0x100
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.1400565d0
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140046124
mov rcx, qword [rdi + 0x688]
test rcx, rcx
je 0x140046168
test byte [rdi + 0x146c], 8
jne 0x140046168
lea rdx, [rsp + 0x30]
nop word [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140046150
or dword [rdi + 0x146c], 8
test dword [rdi + 0xe70], 0x4000000
je 0x1400461cb
mov byte [rsp + rbx + 0x30], 0xa
inc rbx
cmp rbx, 0x102
jae 0x140046224
cmp qword [rdi + 0x728], 0
mov byte [rsp + rbx + 0x30], 0
je 0x1400461ec
mov dl, 1
mov rcx, rdi
call fcn.140030dc0
mov rax, qword [rdi + 0x680]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x728]
xor edx, edx
mov rcx, rdi
call fcn.140030dc0
mov rbx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400b2870
add rsp, 0x160
pop rdi
ret
mov r9, qword [rdi + 0x678]
lea rcx, [0x140168498]
mov edx, 2
lea r8d, [rdx - 1]
call fcn.1400dba2c
mov r9, qword [rdi + 0x678]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call fcn.1400dba2c
jmp 0x1400461cb
call fcn.1400b299c
int3

Function at 0x1400462a0
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 0x1400462db
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, gethostname
mov edx, reloc.OLEAUT32.dll_VarR8FromCy
cmp eax, 0x2733
cmove ecx, edx
mov eax, ecx
add rsp, 0x20
pop rbx
ret
mov qword [rbx], rcx
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140046440
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb8
mov rax, qword [0x1401beaa0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r14, qword [rsp + 0x120]
mov rsi, rcx
movsxd rcx, edx
xor r13d, r13d
mov rax, rcx
mov r12, r9
shl rax, 5
mov r15, r8
lea rbx, [rsi + 0x288]
mov rbp, qword [rsi + rcx*8 + 0x240]
add rbx, rax
mov rax, qword [rsi + 0x3e8]
mov rdi, qword [rbx + 8]
sub rdi, qword [rbx + 0x10]
test byte [rax + 0x7c], 3
je 0x140046547
lea rax, [0x1400462f0]
cmp qword [rsi + rcx*8 + 0x268], rax
jne 0x140046547
cmp qword [rbx], r13
je 0x1400464ce
test rdi, rdi
je 0x140046547
mov rdx, 0xffffffffffffffff
xor r9d, r9d
mov r8, rdx
mov rcx, rbp
call fcn.1400455c0
cmp eax, 0xffffffff
je 0x140046547
test al, 1
je 0x140046547
mov rax, qword [rbx]
test rax, rax
jne 0x140046520
mov rax, qword [rsi]
mov ecx, dword [rax + 0xb60]
add ecx, ecx
movsxd rcx, ecx
mov qword [rbx + 8], rcx
call qword [section..data]
mov rdi, qword [rbx + 8]
mov qword [rbx], rax
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r13
test rax, rax
je 0x140046543
mov rdx, qword [rbx + 0x10]
xor r9d, r9d
add rdx, rax
mov r8d, edi
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
test eax, eax
jle 0x140046547
add qword [rbx + 0x10], rcx
jmp 0x140046547
mov qword [rbx + 8], r13
xor r9d, r9d
mov r8d, r12d
mov rdx, r15
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
movsxd rdi, eax
mov dword [r14], r13d
cmp rdi, 0xffffffffffffffff
jne 0x1400465b4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp eax, 0x2733
jne 0x140046580
mov dword [r14], reloc.OLEAUT32.dll_VarR8FromCy
mov rax, r13
jmp 0x1400465b7
mov r8d, 0x80
lea rdx, [rsp + 0x20]
mov ecx, ebx
call fcn.14007aa40
mov rcx, qword [rsi]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.1400460b0
mov rcx, qword [rsi]
mov dword [rcx + 0x10e8], ebx
mov dword [r14], gethostname
mov rax, rdi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400b2870
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400467f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x728], 0
mov rsi, r9
mov rbp, r8
movsxd rbx, edx
mov rdi, rcx
je 0x14004684e
mov dl, 1
call fcn.140030dc0
mov rax, qword [rdi + 0x680]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, rdi
call qword [rdi + 0x728]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.140030dc0
mov eax, ebx
jmp 0x140046890
cmp ebx, 2
ja 0x14004688e
mov r9, qword [rdi + 0x678]
lea rdx, [0x140168498]
lea rcx, [rbx + rbx*2]
add rcx, rdx
mov edx, 2
lea r8d, [rdx - 1]
call fcn.1400dba2c
mov r9, qword [rdi + 0x678]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call fcn.1400dba2c
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400475c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub rsp, 0x28
test byte [rcx + 0x2d8], 1
je 0x1400475dd
call fcn.14003c4a0
test eax, eax
jne 0x140047603
xor al, al
add rsp, 0x28
ret
mov rcx, qword [rcx + 0x240]
cmp rcx, 0xffffffffffffffff
je 0x1400475d6
mov r9d, 2
lea rdx, [rsp + 0x30]
lea r8d, [r9 - 1]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x1400475d6
mov al, 1
add rsp, 0x28
ret