joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140144360
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x40
mov rdi, r8
mov rsi, rdx
sub rdi, rdx
mov r12, rcx
sar rdi, 2
test rdi, rdi
je 0x140144543
mov qword [rsp + 0x60], rbx
mov rbx, qword [rcx + 8]
sub rbx, qword [rcx]
mov qword [rsp + 0x30], r13
sar rbx, 2
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
cmp rdi, 0x26f
jb 0x1401443b1
mov eax, reloc.WS2_32.dll_inet_addr
jmp 0x1401443df
cmp rdi, 0x44
jb 0x1401443be
mov eax, 7
jmp 0x1401443df
cmp rdi, 0x27
jb 0x1401443cb
mov eax, 5
jmp 0x1401443df
cmp rdi, 7
jb 0x1401443d8
mov eax, 3
jmp 0x1401443df
lea rax, [rdi - 1]
shr rax, 1
mov r14, rdi
lea r15, [rbx + 1]
sub r14, rax
shr r14, 1
lea r13, [r14 + rax]
cmp rdi, rbx
jbe 0x1401443f8
mov r15, rdi
mov r8, rdi
mov qword [rsp + 0x38], rbp
shl r8, 2
mov edx, 0x8b8b8b8b
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
test r15, r15
je 0x1401444aa
nop dword [rax]
xor edx, edx
lea rax, [rcx + r14]
div rdi
mov r11d, dword [rsi + rdx*4]
lea r10, [rsi + rdx*4]
xor edx, edx
mov rax, rcx
div rdi
lea rbp, [rsi + rdx*4]
mov r8d, r11d
mov r9, rdx
lea rax, [rcx - 1]
xor edx, edx
div rdi
xor r8d, dword [rsi + rdx*4]
xor r8d, dword [rbp]
mov eax, r8d
shr eax, 0x1b
xor eax, r8d
imul edx, eax, 0x19660d
test rcx, rcx
jne 0x14014446d
mov rax, rbx
jmp 0x140144482
cmp rcx, rbx
ja 0x14014447f
mov rax, qword [r12]
mov eax, dword [rax + rcx*4 - 4]
add rax, r9
jmp 0x140144482
mov rax, r9
lea r8d, [rax + rdx]
lea eax, [r11 + rdx]
xor edx, edx
mov dword [r10], eax
lea rax, [rcx + r13]
div rdi
inc rcx
add dword [rsi + rdx*4], r8d
mov dword [rbp], r8d
cmp rcx, r15
jb 0x140144420
add r15, rdi
cmp rcx, r15
jae 0x14014452a
inc r14
lea rbp, [rcx - 1]
inc r13
nop dword [rax]
xor edx, edx
lea rax, [r14 + rbp]
div rdi
mov r10d, dword [rsi + rdx*4]
lea r11, [rsi + rdx*4]
xor edx, edx
lea rbx, [rbp + 1]
mov rax, rbx
div rdi
mov rax, rbp
mov r9, rdx
xor edx, edx
div rdi
mov ecx, dword [rsi + rdx*4]
xor edx, edx
add ecx, r10d
add ecx, dword [rsi + r9*4]
mov eax, ecx
shr eax, 0x1b
xor eax, ecx
imul ecx, eax, 0x5d588b65
mov rax, rbp
add rax, r13
mov rbp, rbx
div rdi
xor r10d, ecx
lea rax, [rbx + 1]
mov dword [r11], r10d
mov r8d, ecx
sub r8d, r9d
xor dword [rsi + rdx*4], r8d
mov dword [rsi + r9*4], r8d
cmp rax, r15
jb 0x1401444c0
mov rbp, qword [rsp + 0x38]
mov r13, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0x20]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
Function at 0x14014c920
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rcx + 0x1384], 0xffffffff
lea r9, [rcx + 8]
mov dword [rcx + 4], edx
mov r8d, 1
nop word [rax + rax]
mov eax, edx
lea r9, [r9 + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, r8d
inc r8
mov dword [r9 - 4], edx
cmp r8, 0x270
jb 0x14014c940
mov dword [rcx], 0x270
mov rax, rcx
ret
Function at 0x14015b3a0
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 0x1401608e0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1401609ac
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1401609ac
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x1401609c5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14016099c
cmp byte [rax], 0x5c
jne 0x140160996
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140160996
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140160982
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140160993
test r8b, 0x10
jne 0x140160996
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140160996
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1401663d0
test edi, edi
jne 0x140160900
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.140163250
int3
Function at 0x140161810
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor r15d, r15d
mov ecx, Ordinal_211
call fcn.14040fb94
mov rsi, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1401589e0
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 0x140158901
call sub.MSVCP140.dll__Thrd_hardware_concurrency
lea ecx, [rax - 1]
jmp 0x140158904
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.14040fb94
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 0x1401589de
mov qword [rsp + 0x68], rsi
nop dword [rax + rax]
mov rdi, qword [rsi + 0x10]
cmp rdi, qword [rsi + 0x18]
je 0x1401589c7
mov ecx, 8
call fcn.14040fb94
test rax, rax
je 0x14015898e
mov qword [rax], rsi
jmp 0x140158991
mov rax, r15
mov qword [rsp + 0x78], rax
lea r14, [rdi + 8]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x1401409a0]
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 0x1401589f7
add qword [rsi + 0x10], 0x10
jmp 0x1401589d8
lea r8, [rsp + 0x68]
mov rdx, rdi
lea rcx, [rsi + 8]
call fcn.14013eed0
sub rbp, 1
jne 0x140158970
jmp 0x1401589e3
mov rsi, r15
mov rax, rsi
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov dword [r14], r15d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
add rcx, 8
jmp 0x1401588b0
Function at 0x140162fb0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140542918]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140163083
cmp byte [rcx + 0x71], 0
je 0x140163083
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14016307f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140163044
sub eax, 1
je 0x140163048
cmp eax, 2
jne 0x14016307f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14040ff40
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140163076
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14016307f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14016302c
xor al, al
jmp 0x14016302c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14040ff40
add rsp, 0x60
pop rbx
ret
Function at 0x140163870
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r10, qword [rcx]
mov r9d, 0x270
mov ecx, dword [r10]
cmp ecx, r9d
jne 0x1401638d1
lea r8, [r10 + 8]
nop dword [rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x140163890
mov ecx, dword [r10]
jmp 0x1401639ba
cmp ecx, 0x4e0
jb 0x1401639ba
lea r11, [r10 + 0x9c4]
mov qword [rsp], rbx
mov eax, dword [r11]
mov ebx, 0xe3
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x1401638f0
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x140163940
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
xor ecx, ecx
mov dword [r10], ecx
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r10], eax
mov ecx, edx
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x140167fd0
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, 0x30
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], bpl
mov dword [rsp + 0x20], 1
lea rsi, [rdx + 0x10]
mov rdx, qword [rsi]
call fcn.1401be5d0
lea r15d, [rbp - 6]
cmp qword [rdi + 0x18], 0x10
jb 0x140168034
mov r14, qword [rdi]
mov rcx, r14
mov rdi, r14
jmp 0x14016803a
mov r14, rdi
mov rcx, rdi
mov r13, qword [rsi]
add r13, rcx
cmp rdi, r13
je 0x14016813f
lea r8, [0x140438250]
shl ebp, 8
movzx eax, byte [r14]
add ebp, eax
add r15d, 8
js 0x1401680dd
movsxd r12, ebp
movsxd rdi, r15d
lea ecx, [r15 + 6]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
mov esi, edx
imul eax, edx, 0xfffffffa
add r15d, eax
nop
mov rax, r12
mov rcx, rdi
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rax, rdx
jae 0x1401680bd
lea rcx, [rax + 1]
mov qword [rbx + 0x10], rcx
mov rcx, rbx
cmp rdx, 0x10
jb 0x1401680b2
mov rcx, qword [rbx]
mov byte [rcx + rax], r9b
mov byte [rcx + rax + 1], 0
jmp 0x1401680d3
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140140e50
lea r8, [0x140438250]
sub rdi, 6
sub rsi, 1
jne 0x140168080
inc r14
cmp r14, r13
jne 0x140168050
cmp r15d, 0xfffffffa
jle 0x14016813f
lea ecx, [r15 + 8]
shl ebp, 8
movsxd rdx, ebp
sar rdx, cl
and edx, 0x3f
movzx r9d, byte [rdx + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140168130
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140168125
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14016813f
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140140e50
mov rcx, qword [rbx + 0x10]
test cl, 3
je 0x140168190
nop dword [rax + rax]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140168175
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14016816d
mov rax, qword [rbx]
mov word [rcx + rax], 0x3d
jmp 0x140168187
mov r9b, 0x3d
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140140e50
mov rcx, qword [rbx + 0x10]
test cl, 3
jne 0x140168150
mov rax, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14016d120
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x14016d154
movabs r10, 0x100000001b3
nop
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x14016d140
ret
Function at 0x1401a97a0
Capabilities:
Hash data using fnv

Disassembly:
mov r11, qword [rcx + 0x10]
mov r9, rcx
movabs rcx, 0x100000001b3
mov dword [rsp + 0x10], edx
movzx r8d, dl
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov r10d, edx
movzx eax, byte [rsp + 0x11]
xor edx, edx
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
mov rcx, qword [r9 + 0x38]
mov r9, qword [r9 + 0x20]
and rcx, r8
shl rcx, 4
add r9, rcx
mov rcx, qword [r9 + 8]
mov rax, rcx
cmp rcx, r11
je 0x1401a9831
mov r8, qword [r9]
cmp r10d, dword [rcx + 0x10]
je 0x1401a9834
nop word [rax + rax]
cmp rax, r8
je 0x1401a9831
mov rax, qword [rax + 8]
cmp r10d, dword [rax + 0x10]
jne 0x1401a9820
jmp 0x1401a9834
mov rax, rdx
test rax, rax
cmove rax, r11
cmp rax, r11
je 0x1401a986e
cmp rcx, r11
je 0x1401a9862
mov rax, qword [r9]
cmp r10d, dword [rcx + 0x10]
je 0x1401a985f
nop
cmp rcx, rax
je 0x1401a9862
mov rcx, qword [rcx + 8]
cmp r10d, dword [rcx + 0x10]
jne 0x1401a9850
mov rdx, rcx
test rdx, rdx
cmove rdx, r11
movzx eax, byte [rdx + 0x16]
ret
mov eax, edx
ret

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

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x140
mov rax, qword [0x140542918]
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 0x1401aa093
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 0x1401aa080
lea rdx, [rsp + 0x30]
mov rcx, rbx
jmp 0x1401aa0ae
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.14013c770
mov rax, rbx
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.14040ff40
mov rbx, qword [rsp + 0x160]
add rsp, 0x140
pop rdi
ret

Function at 0x1401aa270
Capabilities:
Resolve dns

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x468
mov rax, qword [0x140542918]
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 0x1401aa2a8
cmp ax, 0x17
jne 0x1401aa31d
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 0x1401aa31d
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1401aa302
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14012ef50
mov al, 1
jmp 0x1401aa31f
xor al, al
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14040ff40
add rsp, 0x468
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401ac710
Capabilities:
Hash data using fnv

Disassembly:
movsx eax, byte [rcx]
test al, al
jne 0x1401ac71a
mov eax, edx
ret
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
jmp fcn.1401ac710

Function at 0x1401acc90
Capabilities:
Hash data using fnv

Disassembly:
mov edx, ecx
mov rcx, qword [0x140546c20]
add rcx, 0x5de8
jmp fcn.1401a97a0

Function at 0x1401aedb0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x168
mov rax, qword [0x140542918]
xor rax, rsp
mov qword [rsp + 0x150], 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 0x1401aef1d
lea rax, [rsp + 0x40]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x78], 0
mov rcx, qword [rbx + 0x3b8]
test rcx, rcx
je 0x1401aee19
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xc0], 0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x88]
call fcn.1401657d0
mov byte [rsp + 0x38], 0
lea rax, [rsp + 0x88]
mov qword [rsp + 0x30], rax
movzx eax, byte [rbx + 0x37c]
mov byte [rsp + 0x28], al
mov dword [rsp + 0x20], ebp
mov r9d, dword [rbx + 0x378]
mov r8d, edi
lea rdx, [0x140436faa]
mov rcx, rsi
call fcn.140143910
mov rsi, rax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1401aeea6
mov r8, qword [rcx]
lea rax, [rsp + 0x40]
cmp rcx, rax
setne dl
call qword [r8 + reloc.WLDAP32.dll_Ordinal_32]
mov qword [rsp + 0x78], 0
xchg qword [rbx + 0x48], rsi
mov rax, qword [rbx + 0x48]
nop
cmp rax, 0xffffffffffffffff
je 0x1401aef1d
test edi, edi
jne 0x1401aef0b
mov dword [rsp + 0xc8], 0x80
mov rcx, qword [rbx + 0x48]
nop
lea r8, [rsp + 0xc8]
lea rdx, [rsp + 0xd0]
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x1401aef1d
movzx eax, word [rsp + 0xd0]
cmp ax, 2
je 0x1401aeef8
cmp ax, 0x17
jne 0x1401aef1d
movzx ecx, word [rsp + 0xd2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx edi, ax
test edi, edi
js 0x1401aef1d
mov rcx, rbx
call fcn.1401aef40
test al, al
je 0x1401aef1d
mov al, 1
jmp 0x1401aef1f
xor al, al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14040ff40
add rsp, 0x168
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401b3090
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140542918]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x1401b30bd
xor eax, eax
jmp 0x1401b3226
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 0x1401b30fd
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 0x1401b30fd
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 0x1401b321e
cmp qword [rdi + 0x80], 0
je 0x1401b3219
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 0x1401b3137
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 0x1401b3162
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 0x1401b321e
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 0x1401b31d1
sub eax, 1
je 0x1401b31d1
cmp eax, 2
jne 0x1401b3219
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 0x1401b321e
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rbx, rax
je 0x1401b31ff
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 0x1401b3219
lea rax, [rsp + 0x50]
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, esi
mov eax, ecx
jmp 0x1401b321e
mov eax, 0xffffffff
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14040ff40
mov rsi, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1401b8c30
Capabilities:
Set socket configuration

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x140542918]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, qword [rcx + 0x3d0]
lea rbx, [rcx + 0x3d8]
mov r14, rcx
mov rsi, rdx
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1401b8e79
mov rcx, rdi
mov qword [rsp + 0x100], r15
call fcn.140363db0
mov rcx, rbx
mov rdi, rax
call sub.MSVCP140.dll__Mtx_unlock
test rdi, rdi
je 0x1401b8d31
lea r8, [rbp - 1]
mov dword [rbp - 1], 1
mov edx, 0x8004667e
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor edx, edx
mov ecx, esi
call fcn.1401ee5e0
xor r9d, r9d
mov rcx, rax
mov r15, rax
lea edx, [r9 + 0x66]
lea r8d, [r9 + 1]
call fcn.1401eccc0
mov r8, r15
mov rdx, r15
mov rcx, rdi
call fcn.140364590
mov rcx, qword [r14 + 0x68]
lea r8, [0x140362c40]
mov r9, qword [r14 + 0x60]
mov rdx, rdi
mov qword [rsp + 0x20], rcx
mov rcx, rsi
call fcn.14014a400
cmp al, 1
jne 0x1401b8e2f
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
lea edx, [r9 + 0x66]
call fcn.1401eccc0
lea r8, [rbp - 9]
mov dword [rbp - 9], 0
mov edx, 0x8004667e
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor r15b, r15b
test rdi, rdi
je 0x1401b8df2
mov rax, qword [r14 + 0x78]
lea rcx, [r14 + 0x48]
mov r9, qword [r14 + 0x58]
mov rdx, rsi
mov r8, qword [r14 + 0x50]
mov qword [rbp + 0x1f], rax
mov rax, qword [r14 + 0x70]
mov qword [rbp + 0x17], rax
mov rax, qword [r14 + 0x68]
mov qword [rbp + 0xf], rax
mov rax, qword [r14 + 0x60]
mov qword [rbp - 1], rax
lea rax, [rbp + 7]
mov qword [rbp - 0x49], rax
lea rax, [rbp - 9]
mov qword [rbp - 0x41], rax
lea rax, [rbp - 1]
mov qword [rbp - 0x39], rax
lea rax, [rbp + 0xf]
mov qword [rbp - 0x31], rax
lea rax, [rbp + 0x17]
mov qword [rbp - 0x29], rax
lea rax, [rbp + 0x1f]
mov qword [rbp - 0x21], rax
lea rax, [rbp - 0x59]
mov qword [rbp - 0x19], rax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x59], r14
mov qword [rbp - 0x51], rdi
mov qword [rbp + 7], rsi
mov qword [rbp - 9], rdi
call fcn.140147500
movzx r15d, al
test al, al
je 0x1401b8dd2
mov rcx, rdi
call fcn.1403648d0
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1401b8e81
mov rcx, rdi
call fcn.1403633e0
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_unlock
mov edx, 2
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
movzx eax, r15b
mov r15, qword [rsp + 0x100]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14040ff40
add rsp, 0xc0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, rdi
call fcn.1403648d0
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
jne 0x1401b8e71
mov rcx, rdi
call fcn.1403633e0
mov rcx, rbx
call sub.MSVCP140.dll__Mtx_unlock
lea r8, [rbp + 7]
mov dword [rbp + 7], 0
mov edx, 0x8004667e
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor r15b, r15b
jmp 0x1401b8df2
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3