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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rdx
mov dword [rbp - 0x1e], 0x72685474
mov rdi, rcx
mov word [rbp - 0x20], 0x6547
xor ebx, ebx
mov dword [rbp - 0x17], 0x746e6f43
mov dword [rbp - 0x13], 0x747865
mov word [rbp - 0x19], 0x6461
mov byte [rbp - 0x1a], SHCoCreateInstance
call fcn.140002838
mov rcx, rax
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14001c173
mov rdx, rsi
mov rcx, rdi
call rax
mov ebx, eax
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140051d60
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x14001e5b4
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x5c]
call fcn.140054ae0
mov eax, 1
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
add rsp, 0x20
pop rbx
ret

Function at 0x14001e7ac
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14001e81b
cmp byte [rcx + 0x71], 0
je 0x14001e81b
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14001e86f
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 + reloc.SHELL32.dll_DriveType]
test eax, eax
je 0x14001e835
sub eax, 1
je 0x14001e839
cmp eax, 2
jne 0x14001e86f
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140051d60
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 0x14001e866
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.140062d28
cmp rdi, rax
jne 0x14001e86f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14001e81d
xor al, al
jmp 0x14001e81d
Function at 0x140023880
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1401990d8]
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.140022164
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140051d60
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret

Function at 0x140023900
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1401990d8]
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.140022164
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140051d60
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret

Function at 0x140023980
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1401990d8]
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], SHCoCreateInstance
mov byte [rbp - 0x1b], 0x61
mov byte [rbp - 0x26], reloc.WS2_32.dll_WSAGetLastError
mov byte [rbp - 0x21], 0x49
mov word [rbp - 0x12], 0x78
mov byte [rbp - 0x1e], WSAGetLastError
mov byte [rbp - 0x13], SHCoCreateInstance
call fcn.140022164
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140051d60
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret

Function at 0x1400465e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400316e6
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400316c9
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400316b4

Function at 0x1400465f4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14003171e
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140031701
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400316ec
Function at 0x140050bd4
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1401a81c0]
mov ebx, r9d
mov rdi, r8
mov esi, edx
test rax, rax
je 0x140050bff
call qword [0x140153a38]
jmp 0x140050c14
call fcn.140050ba0
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14005299c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.1400520a0
test al, al
je 0x140052903
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.140051f34
mov bl, al
mov ecx, dword [0x1401a89f0]
cmp ecx, 1
je 0x14005290e
test ecx, ecx
jne 0x140052839
mov dword [0x1401a89f0], 1
lea rdx, [0x140153d78]
lea rcx, [0x140153d30]
call fcn.1400a48ec
test eax, eax
je 0x14005281a
mov eax, 0xff
jmp 0x1400528f3
lea rdx, [0x140153d28]
lea rcx, [0x140153a40]
call fcn.1400a4874
mov dword [0x1401a89f0], 2
jmp 0x140052841
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.140052210
call fcn.140053030
mov rbx, rax
cmp qword [rax], 0
je 0x140052874
mov rcx, rax
call fcn.140052178
test al, al
je 0x140052874
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x140153a38]
call fcn.140053038
mov rbx, rax
cmp qword [rax], 0
je 0x140052896
mov rcx, rax
call fcn.140052178
test al, al
je 0x140052896
mov rcx, qword [rbx]
call fcn.1400a2630
call fcn.1400a3ab4
mov rdi, rax
call fcn.1400a4bb8
mov rbx, qword [rax]
call fcn.1400a4bb0
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
call main
mov ebx, eax
call fcn.140052dec
test al, al
je 0x140052918
test sil, sil
jne 0x1400528cd
call fcn.1400a260c
xor edx, edx
mov cl, 1
call fcn.140052234
mov eax, ebx
jmp 0x1400528f3
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.140052c58
nop
mov ecx, 7
call fcn.140052c58
mov ecx, ebx
call fcn.1400a2674
nop
mov ecx, ebx
call fcn.1400a261c
nop
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
call fcn.1400a3ab4
mov rdi, rax
call fcn.1400a4bb8
mov rbx, qword [rax]
call fcn.1400a4bb0
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp main
sub rsp, 0x28
call fcn.140052f1c
add rsp, 0x28
jmp 0x1400527ac

Function at 0x1400a2674
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400a233c
Function at 0x1400ab63c
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 0x1400ab264
call fcn.14007bf48
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
call fcn.1400618e8
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 0x1400ab24c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x1400ab24c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x1400ab296
lock or dword [rax + 0x14], 0x10
jmp 0x1400ab24c
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x1400ab2b3
mov rcx, qword [rbp + 0x10]
call fcn.1400abe20
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1400aae00
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.1400a7004
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x1400ab30a
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 0x1400ab24c
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x1400ab376
mov rcx, qword [rbp + 0x10]
call fcn.1400aae00
cmp eax, 0xffffffff
je 0x1400ab35d
mov rcx, qword [rbp + 0x10]
call fcn.1400aae00
cmp eax, 0xfffffffe
je 0x1400ab35d
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1400aae00
movsxd rdi, eax
lea rsi, [0x1401a9a20]
mov rcx, rbx
sar rdi, 6
call fcn.1400aae00
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x1400ab364
lea rax, [0x140199420]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400ab376
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x1400ab3ac
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x1400ab3a8
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x1400ab3a8
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 0x1400ab24f
jmp 0x1400ab21c
Function at 0x1400cb690
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400cb6cc
xor eax, eax
jmp 0x1400cb868
lea rdx, str.LoadLibraryExA
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], rax
lea rdx, [0x14019a9c4]
mov rcx, qword [rsp + 0x70]
call fcn.1400835c8
test rax, rax
je 0x1400cb738
cmp qword [rsp + 0x30], 0
je 0x1400cb719
mov r8d, 8
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [rsp + Ordinal_50]
mov qword [rsp + 0x48], rax
jmp 0x1400cb729
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
jmp 0x1400cb863
cmp qword [rsp + 0x30], 0
je 0x1400cb772
lea rdx, str.AddDllDirectory
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400cb772
mov r8d, 0x800
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [rsp + Ordinal_50]
mov qword [rsp + 0x38], rax
jmp 0x1400cb863
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400cb863
mov rcx, qword [rsp + 0x70]
call fcn.140080560
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
add rax, qword [rsp + 0x58]
mov rcx, rax
call qword [fcn.14007d63c]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400cb858
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1400cb858
mov rcx, qword [rsp + 0x28]
call fcn.140080560
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
lea rdx, [0x14019a9b4]
mov rcx, rax
call fcn.1400806c0
mov rcx, qword [rsp + 0x28]
call fcn.140080560
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call fcn.1400806c0
cmp qword [rsp + 0x30], 0
je 0x1400cb83e
mov r8d, 8
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [rsp + Ordinal_50]
mov qword [rsp + 0x50], rax
jmp 0x1400cb84e
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x28]
call qword [fcn.14007b234]
mov rax, qword [rsp + 0x38]
add rsp, 0x68
ret
Function at 0x1400cba90
Capabilities:
Initialize winsock library

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x1e8
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov eax, dword [rsp + 0x1f0]
and eax, 2
test eax, eax
je 0x1400cbb45
mov eax, 0x202
mov word [rsp + 0x20], ax
lea rdx, [rsp + 0x30]
movzx ecx, word [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1400cbaee
mov eax, 2
jmp 0x1400cbb99
movzx eax, word [rsp + 0x30]
and rax, 0xff
movzx eax, al
movzx ecx, word [rsp + 0x20]
and rcx, 0xff
movzx ecx, cl
cmp eax, ecx
jne 0x1400cbb38
movzx eax, word [rsp + 0x30]
shr rax, 8
and rax, 0xff
movzx eax, al
movzx ecx, word [rsp + 0x20]
shr rcx, 8
and rcx, 0xff
movzx ecx, cl
cmp eax, ecx
je 0x1400cbb45
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
jmp 0x1400cbb99
call fcn.1400ee530
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1400cbb5b
mov eax, dword [rsp + 0x24]
jmp 0x1400cbb99
mov r9d, 3
mov r8d, 2
xor edx, edx
mov ecx, 6
call fcn.1400cb880
movzx eax, al
test eax, eax
je 0x1400cbb90
mov byte [0x1401aa368], 1
lea rcx, [0x1401aa360]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
jmp 0x1400cbb97
mov byte [0x1401aa368], 0
xor eax, eax
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140051d60
add rsp, 0x1e8
ret

Function at 0x1400d2060
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x34], 0
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x728], 0
je 0x1400d20db
mov dl, 1
mov rcx, qword [rsp + 0x50]
call fcn.1400cbbf0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x680]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x50]
call qword [rax + 0x728]
mov dword [rsp + 0x34], eax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1400cbbf0
jmp 0x1400d2149
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x1400d2149
cmp dword [rsp + 0x30], 2
jle 0x1400d20f3
jmp 0x1400d2149
movsxd rax, dword [rsp + 0x58]
imul rax, rax, 3
lea rcx, [0x14017b368]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
mov r9, qword [rcx + 0x678]
mov r8d, 1
mov edx, 2
mov rcx, rax
call fcn.140062d28
mov rax, qword [rsp + 0x50]
mov r9, qword [rax + 0x678]
mov r8d, 1
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call fcn.140062d28
mov eax, dword [rsp + 0x34]
add rsp, 0x48
ret
Function at 0x1400d2160
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor r9d, r9d
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_recv]
cdqe
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
jne 0x1400d21e2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x2733
jne 0x1400d21bd
mov dword [rsp + 0x20], 1
jmp 0x1400d21c5
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1400d21db
mov eax, 0x51
jmp 0x1400d21f1
mov eax, gethostname
jmp 0x1400d21f1
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
xor eax, eax
add rsp, 0x48
ret

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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
movsxd rax, dword [rsp + 0xe8]
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rcx + rax*8 + 0x240]
mov qword [rsp + 0x30], rax
mov edx, dword [rsp + 0xe8]
mov rcx, qword [rsp + 0xe0]
call fcn.1400d2d20
xor r9d, r9d
mov r8d, dword [rsp + 0xf8]
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_send]
cdqe
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x100]
mov dword [rax], 0
cmp qword [rsp + 0x28], 0xffffffffffffffff
jne 0x1400d2a36
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x2733
jne 0x1400d29e5
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x100]
mov dword [rax], 0x51
jmp 0x1400d2a36
mov r8d, reloc.OLEAUT32.dll_VarMonthName
lea rdx, [rsp + 0x40]
mov ecx, dword [rsp + 0x20]
call fcn.1401031b0
mov r8, rax
lea rdx, str.Send_failure:__s
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax]
call fcn.1400d3540
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x10e8], ecx
mov rax, qword [rsp + 0x100]
mov dword [rax], gethostname
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140051d60
add rsp, 0xd8
ret
Function at 0x1400d2d20
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
movsxd rax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx + rax*8 + 0x240]
mov qword [rsp + 0x38], rax
movsxd rax, dword [rsp + 0x68]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax + 0x288]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x10]
mov rax, qword [rax + 8]
sub rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x3e8]
mov eax, dword [rax + 0x7c]
and eax, 3
test eax, eax
je 0x1400d2ed4
movsxd rax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
lea rdx, [0x1400d2710]
cmp qword [rcx + rax*8 + 0x268], rdx
jne 0x1400d2ed4
mov rax, qword [rsp + 0x28]
cmp qword [rax], 0
je 0x1400d2dc9
cmp qword [rsp + 0x30], 0
je 0x1400d2ed4
xor r9d, r9d
mov r8, 0xffffffffffffffff
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x38]
call fcn.1400d63a0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
je 0x1400d2ed4
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x1400d2ed4
mov rax, qword [rsp + 0x28]
cmp qword [rax], 0
jne 0x1400d2e67
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov eax, dword [rax + 0xb60]
shl eax, 1
cdqe
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 8]
call qword [fcn.14007d63c]
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x10], 0
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
cmp qword [rax], 0
je 0x1400d2ec7
xor eax, eax
test eax, eax
jne 0x1400d2e72
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x28]
add rax, qword [rcx + 0x10]
xor r9d, r9d
mov r8d, dword [rsp + 0x30]
mov rdx, rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_recv]
cdqe
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jle 0x1400d2ec5
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x10]
add rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x10], rax
jmp 0x1400d2ed4
mov rax, qword [rsp + 0x28]
mov qword [rax + 8], 0
add rsp, 0x58
ret

Function at 0x1400d37c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov rcx, qword [rsp + 0x40]
call fcn.1400d38c0
mov r8d, eax
mov rdx, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x30]
call fcn.1400a7004
cdqe
add rsp, 0x28
ret
Function at 0x1400d4030
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov eax, Ordinal_27
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax + 0x2d8]
and eax, 1
test eax, eax
je 0x1400d4069
mov rcx, qword [rsp + 0x40]
call fcn.1400e8020
test eax, eax
jne 0x1400d4067
xor al, al
jmp 0x1400d40bf
jmp 0x1400d40bd
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
cmp qword [rcx + rax + 0x240], 0xffffffffffffffff
jne 0x1400d4088
xor al, al
jmp 0x1400d40bf
mov eax, 8
imul rax, rax, 0
mov r9d, 2
mov r8d, 1
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + rax + 0x240]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jne 0x1400d40bd
xor al, al
jmp 0x1400d40bf
mov al, 1
add rsp, 0x38
ret
Function at 0x1400d4820
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x34], 0x4020
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x38], 4
cmp dword [0x1401a9fcc], 0
jne 0x1400d487f
mov r9d, 3
mov r8d, 2
xor edx, edx
mov ecx, 6
call fcn.1400cb880
movzx eax, al
test eax, eax
je 0x1400d4875
mov dword [0x1401a9fcc], 2
jmp 0x1400d487f
mov dword [0x1401a9fcc], 1
cmp dword [0x1401a9fcc], 2
jne 0x1400d488a
jmp 0x1400d48e2
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8d, 0x1001
mov edx, 0xffff
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x1400d48bf
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x30], eax
jle 0x1400d48bf
jmp 0x1400d48e2
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov r8d, 0x1001
mov edx, 0xffff
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_setsockopt]
add rsp, 0x48
ret

Function at 0x1400d48f0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x1401990d8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 6
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x30]
mov r8d, 1
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jge 0x1400d498a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, reloc.OLEAUT32.dll_VarMonthName
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.1401031b0
mov r8, rax
lea rdx, str.Could_not_set_TCP_NODELAY:__s_n
mov rcx, qword [rsp + 0x38]
call fcn.1400d2f70
jmp 0x1400d499b
lea rdx, str.TCP_NODELAY_set_n
mov rcx, qword [rsp + 0x38]
call fcn.1400d2f70
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140051d60
add rsp, 0xd8
ret