joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140044090
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x14022c9f8]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400440ea
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Hata
call fcn.140007d10
lea rdx, [0x14002a450]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x14004412f
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rbx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x140044152
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Hata
call fcn.140007d10
lea rdx, [0x14002a450]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140194a90
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x140044126
nop dword [rax]
nop word [rax + rax]
lea r8, [rsp + 0x4c]
mov rax, rdi
sub r8, rdi
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140044193
inc rax
test ecx, ecx
jne 0x140044180
mov rcx, rbx
test edx, edx
je 0x1400441ad
lea rdx, [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140044170
jmp 0x140044126
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x140044131

Function at 0x1400442d0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x28
ret
Function at 0x14004b3a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14022c9f8]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor r15d, r15d
mov ecx, Ordinal_211
call fcn.1401946e4
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140042526
xor edx, edx
mov r8d, Ordinal_211
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
call sub.MSVCP140.dll__Thrd_hardware_concurrency
test eax, eax
je 0x140042448
call sub.MSVCP140.dll__Thrd_hardware_concurrency
lea ecx, [rax - 1]
jmp 0x14004244b
mov ecx, r15d
mov ebp, 8
cmp ecx, ebp
cmova ebp, ecx
lea rax, vtable.httplib::ThreadPool.0
mov qword [rsi], rax
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
mov qword [rsi + 0x20], r15
mov qword [rsi + 0x28], r15
mov ecx, 0x50
call fcn.1401946e4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsi + 0x20], rax
mov byte [rsi + 0x30], 0
lea rcx, [rsi + 0x38]
call sub.MSVCP140.dll__Cnd_init_in_situ
nop
lea rcx, [rsi + 0x80]
mov edx, 2
call sub.MSVCP140.dll__Mtx_init_in_situ
nop
test rbp, rbp
je 0x140042524
mov qword [rsp + 0x38], rsi
mov rdi, qword [rsi + 0x10]
cmp rdi, qword [rsi + 0x18]
je 0x14004250d
mov ecx, 8
call fcn.1401946e4
test rax, rax
je 0x1400424d0
mov qword [rax], rsi
jmp 0x1400424d3
mov rax, r15
mov qword [rsp + 0x38], rax
lea r14, [rdi + 8]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140021c20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x140042555
add qword [rsi + 0x10], 0x10
sub rbp, 1
jmp 0x1400424ab
lea r8, [rsp + 0x38]
mov rdx, rdi
lea rcx, [rsi + 8]
call fcn.14001c4a0
sub rbp, 1
jmp 0x1400424ab
jmp 0x140042529
mov rsi, r15
mov rax, rsi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140194a90
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret
mov dword [r14], r15d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
add rcx, 8
jmp 0x1400423e0
Function at 0x14004d300
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x14004d49b
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140009af0
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x14004d464
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x14004d3de
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x14004d453
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14004d41b
mov r10, qword [rdx]
cmp r10, rax
je 0x14004d415
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x14004d453
cmp r9, rdx
je 0x14004d42f
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x14004d475
cmp r9, rdx
jne 0x14004d420
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x14004d391
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x14004d453
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x14004f265
cvtsi2ss xmm0, rdx
jmp 0x14004f27a
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x1401b9da8]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14004f2a8
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14004f2a8
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14004f2da
cmp rbx, 0x200
jae 0x14004f2d7
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14004f2da
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x14004d300
Function at 0x1400570e0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor r14d, r14d
mov dword [rsp + 0x24], r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], r14b
mov dword [rsp + 0x24], 1
mov rax, qword [rdx + 0x10]
cmp rax, 0xf
jbe 0x140057144
movzx r8d, byte [rsp + 0x20]
mov rdx, rax
call fcn.140023810
mov qword [rdi + 0x10], r14
mov rax, qword [rbx + 0x10]
mov r13d, 0xfffffffa
cmp qword [rbx + 0x18], 0x10
jb 0x14005715c
mov r15, qword [rbx]
mov rcx, r15
mov rbx, r15
jmp 0x140057162
mov r15, rbx
mov rcx, rbx
add rax, rcx
mov qword [rsp + 0x28], rax
cmp rbx, rax
je 0x140057278
lea r8, [0x1401be3b0]
movzx ebx, byte [rsp + 0x20]
nop
shl r14d, 8
movzx eax, byte [r15]
add r14d, eax
add r13d, 8
js 0x14005720f
movsxd r12, r14d
movsxd rsi, r13d
lea ecx, [r13 + 6]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
mov ebp, edx
imul eax, edx, 0xfffffffa
add r13d, eax
nop dword [rax]
mov rax, r12
mov rcx, rsi
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1400571ed
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x1400571e2
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140057205
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.1400234c0
lea r8, [0x1401be3b0]
sub rsi, 6
sub rbp, 1
jne 0x1400571b0
inc r15
cmp r15, qword [rsp + 0x28]
jne 0x140057180
cmp r13d, 0xfffffffa
jle 0x140057278
lea ecx, [r13 + 8]
shl r14d, 8
movsxd rdx, r14d
sar rdx, cl
and edx, 0x3f
movzx r9d, byte [rdx + r8]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140057265
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14005725a
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140057278
movzx r8d, byte [rsp + 0x20]
mov edx, 1
mov rcx, rdi
call fcn.1400234c0
mov rcx, qword [rdi + 0x10]
test cl, 3
je 0x1400572c8
movzx ebx, byte [rsp + 0x20]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x1400572ab
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x1400572a3
mov rax, qword [rdi]
mov word [rcx + rax], 0x3d
jmp 0x1400572bf
mov r9b, 0x3d
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.1400234c0
mov rcx, qword [rdi + 0x10]
test cl, 3
jne 0x140057286
mov rax, rdi
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400b4ca0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov r9, rcx
mov dword [rsp + 0x10], edx
movabs rcx, 0x100000001b3
movzx r8d, dl
movabs rax, 0xcbf29ce484222325
mov r10d, edx
xor r8, rax
xor edx, edx
movzx eax, byte [rsp + 0x11]
mov rbx, qword [r9 + 0x38]
mov r11, qword [r9 + 0x10]
imul r8, rcx
xor r8, rax
movzx eax, byte [rsp + 0x12]
imul r8, rcx
xor r8, rax
movzx eax, byte [rsp + 0x13]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rbx, r8
shl rbx, 4
add rbx, qword [r9 + 0x20]
mov rcx, qword [rbx + 8]
mov rax, rcx
cmp rcx, r11
je 0x1400b4d31
mov r8, qword [rbx]
cmp r10d, dword [rcx + 0x10]
je 0x1400b4d34
nop dword [rax]
cmp rax, r8
je 0x1400b4d31
mov rax, qword [rax + 8]
cmp r10d, dword [rax + 0x10]
jne 0x1400b4d20
jmp 0x1400b4d34
mov rax, rdx
test rax, rax
cmove rax, r11
cmp rax, r11
je 0x1400b4d73
cmp rcx, r11
je 0x1400b4d62
mov rax, qword [rbx]
cmp r10d, dword [rcx + 0x10]
je 0x1400b4d5f
nop
cmp rcx, rax
je 0x1400b4d62
mov rcx, qword [rcx + 8]
cmp r10d, dword [rcx + 0x10]
jne 0x1400b4d50
mov rdx, rcx
test rdx, rdx
cmove rdx, r11
movzx eax, byte [rdx + 0x16]
mov rbx, qword [rsp + 8]
ret
mov rbx, qword [rsp + 8]
mov eax, edx
ret

Function at 0x1400b7120
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x14022c9f8]
xor rax, rsp
mov qword [rsp + 0x130], rax
xor edi, edi
mov qword [rsp + 0x28], rcx
mov eax, edx
mov rbx, rcx
cmp edx, 9
jl 0x1400b71a3
xor edx, edx
mov ecx, eax
call qword [sym.imp.USER32.dll_MapVirtualKeyA]
shl eax, 0x10
mov r8d, 0x100
mov ecx, eax
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetKeyNameTextA]
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], rdi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x1400b7190
lea rdx, [rsp + 0x30]
mov rcx, rbx
jmp 0x1400b71be
xorps xmm0, xmm0
lea rdx, str.None
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rdi
mov r8d, 4
mov qword [rcx + 0x18], rdi
call fcn.140019720
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.140194a90
mov rbx, qword [rsp + 0x160]
add rsp, 0x140
pop rdi
ret
Function at 0x1400b7c50
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x468
mov rax, qword [0x14022c9f8]
xor rax, rsp
mov qword [rsp + 0x450], rax
movzx eax, word [rcx]
mov rsi, r9
mov rdi, r8
mov ebp, edx
mov rbx, rcx
cmp ax, 2
je 0x1400b7c88
cmp ax, 0x17
jne 0x1400b7cfd
movzx ecx, word [rcx + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
xor edx, edx
lea rcx, [rsp + 0x40]
mov dword [rsi], eax
mov r8d, 0x401
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0x40]
mov r9d, 0x401
mov qword [rsp + 0x20], rax
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x1400b7cfd
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400b7ce2
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140009fa0
mov al, 1
jmp 0x1400b7cff
xor al, al
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140194a90
add rsp, 0x468
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400be500
Capabilities:
Hash data using fnv

Disassembly:
movsx eax, byte [rcx]
test al, al
jne 0x1400be50a
mov eax, edx
ret
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
jmp fcn.1400be500

Function at 0x1400c1b40
Capabilities:
Hash data using fnv

Disassembly:
mov edx, ecx
mov rcx, qword [0x14024cad8]
add rcx, 0x5df0
jmp fcn.1400b4ca0
Function at 0x1400c3c10
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x178
mov rax, qword [0x14022c9f8]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov ebp, r9d
mov edi, r8d
mov rsi, rdx
mov rbx, rcx
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
test al, al
je 0x1400c3d8d
lea rax, [rsp + 0x48]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x80], 0
mov rcx, qword [rbx + 0x3b8]
test rcx, rcx
je 0x1400c3c7f
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xc8], 0
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x90]
call fcn.14004f340
movzx ecx, byte [rbx + 0x37c]
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x38], al
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], cl
mov dword [rsp + 0x20], ebp
mov r9d, dword [rbx + 0x378]
mov r8d, edi
lea rdx, [0x1401bae63]
mov rcx, rsi
call fcn.140029c70
mov rsi, rax
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400c3d16
mov r8, qword [rcx]
lea rax, [rsp + 0x48]
cmp rcx, rax
setne dl
call qword [r8 + reloc.WLDAP32.dll_Ordinal_32]
mov qword [rsp + 0x80], 0
xchg qword [rbx + 0x48], rsi
mov rax, qword [rbx + 0x48]
nop
cmp rax, 0xffffffffffffffff
je 0x1400c3d8d
test edi, edi
jne 0x1400c3d7b
mov dword [rsp + 0xd0], 0x80
mov rcx, qword [rbx + 0x48]
nop
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0xe0]
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x1400c3d8d
movzx eax, word [rsp + 0xe0]
cmp ax, 2
je 0x1400c3d68
cmp ax, 0x17
jne 0x1400c3d8d
movzx ecx, word [rsp + 0xe2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx edi, ax
test edi, edi
js 0x1400c3d8d
mov rcx, rbx
call fcn.1400c3db0
test al, al
je 0x1400c3d8d
mov al, 1
jmp 0x1400c3d8f
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140194a90
add rsp, 0x178
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400d6310
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14022c9f8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x1400d633d
xor eax, eax
jmp 0x1400d64a6
mov qword [rsp + 0xa0], rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x1400d637d
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x1400d637d
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], sil
mov eax, esi
jmp 0x1400d649e
cmp qword [rdi + 0x80], 0
je 0x1400d6499
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rdi + 0x70]
cmp rax, rcx
jne 0x1400d63b7
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
mov r9, qword [rdi + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x1400d63e2
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x1400d649e
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], sil
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400d6451
sub eax, 1
je 0x1400d6451
cmp eax, 2
jne 0x1400d6499
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x1400d649e
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rbx, rax
je 0x1400d647f
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x1400d6499
lea rax, [rsp + 0x50]
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, esi
mov eax, ecx
jmp 0x1400d649e
mov eax, 0xffffffff
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140194a90
mov rsi, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400e3390
Capabilities:
Receive data
Receive data on socket

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 edi, r9d
mov rsi, r8
mov rbp, rdx
mov r14, rcx
nop word [rax + rax]
mov r9d, edi
mov r8d, esi
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.WS2_32.dll_recv]
movsxd rbx, eax
test eax, eax
jns 0x1400e33e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1400e33c0
mov rbp, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x1400e48a0
Capabilities:
Hash data using fnv

Disassembly:
mov r10, qword [0x14024cad8]
mov eax, ecx
shr eax, 8
movabs r9, 0x100000001b3
movzx edx, al
mov r8d, ecx
movzx eax, cl
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
imul rax, r9
xor rdx, rax
mov eax, r8d
imul rdx, r9
shr eax, 0x10
movzx ecx, al
mov eax, r8d
xor rdx, rcx
shr rax, 0x18
imul rdx, r9
xor rdx, rax
imul rdx, r9
mov r9, qword [r10 + 0x5e00]
and rdx, qword [r10 + 0x5e28]
shl rdx, 4
add rdx, qword [r10 + 0x5e10]
mov r11, qword [rdx + 8]
mov rcx, r11
cmp r11, r9
je 0x1400e4934
mov rax, qword [rdx]
cmp r8d, dword [r11 + 0x10]
je 0x1400e4936
cmp rcx, rax
je 0x1400e4934
mov rcx, qword [rcx + 8]
cmp r8d, dword [rcx + 0x10]
jne 0x1400e4923
jmp 0x1400e4936
xor ecx, ecx
test rcx, rcx
je 0x1400e4989
mov rax, qword [rdx]
cmp r11, rcx
jne 0x1400e495b
cmp rax, rcx
jne 0x1400e4951
mov qword [rdx], r9
mov qword [rdx + 8], r9
jmp 0x1400e4966
mov r9, qword [rcx + 8]
mov qword [rdx + 8], r9
jmp 0x1400e4966
cmp rax, rcx
jne 0x1400e4966
mov rax, qword [rcx]
mov qword [rdx], rax
mov rdx, qword [rcx]
dec qword [r10 + 0x5e08]
mov rax, qword [rcx + 8]
mov qword [rax], rdx
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov edx, Ordinal_27
jmp fcn.140194720
ret

Function at 0x1400e98b0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x14022c9f8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
lea ecx, [rdi + 1]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x1400e9920
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1400e98f0
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140194a90
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x1400e9950
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x14022c9f8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
lea ecx, [rdi + 1]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
xor edx, edx
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x1400e99bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x1400e9990
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140194a90
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret