joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002fc0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x140002fe1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000300e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140003010
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140003069
test ecx, ecx
jle 0x140003049
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140003069
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140003069
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x140003090
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400030b2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x1400030c1
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400030e4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400030e6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140003122
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400031be
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000315d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000319e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1400031be
cmp rbx, rax
ja 0x140003170
test rbx, rbx
je 0x1400031be
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x140003620
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000364d
xor eax, eax
jmp 0x1400037b9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140003687
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140003687
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1400037b9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400037ac
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400036ca
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400036f5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400037b1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 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 0x140003764
sub eax, 1
je 0x140003764
cmp eax, 2
jne 0x1400037ac
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1400037b1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140003792
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1400037ac
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1400037b1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400048d0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140003a70
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140003b43
cmp byte [rcx + 0x71], 0
je 0x140003b43
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140003b3f
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 0x140003b04
sub eax, 1
je 0x140003b08
cmp eax, 2
jne 0x140003b3f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400048d0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140003b36
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 0x140003b3f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140003aec
xor al, al
jmp 0x140003aec
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400048d0
add rsp, 0x60
pop rbx
ret
Function at 0x1400046e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140004741
lea r8, [r9 + 8]
nop dword [rax + 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 r10, 1
jne 0x140004700
mov ecx, dword [r9]
jmp 0x14000482b
cmp ecx, 0x4e0
jb 0x14000482b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140004760
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400047b0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 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 0x140005444
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000548e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000548e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000548e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000548e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000548e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140005490
xor al, al
add rsp, 0x28
ret
Function at 0x14000dfc0
Capabilities:
List udp connections and listeners

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14004c040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r14, rcx
xor edi, edi
mov r12d, edi
mov dword [rsp + 0x50], edi
mov eax, dword [rcx + 0xb4]
mov dword [rsp + 0x50], eax
lea r13, [rcx + 0x40]
mov rcx, r13
call fcn.14000e670
nop
nop dword [rax]
lea rsi, [r14 + 0xa8]
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 2
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, qword [rsi]
call qword [sym.imp.IPHLPAPI.DLL_GetExtendedUdpTable]
cmp eax, 0x7a
jne 0x14000e0ab
mov eax, dword [rsp + 0x50]
add eax, eax
mov dword [rsp + 0x50], eax
mov r15d, eax
mov ecx, eax
call fcn.1400159e4
mov rbx, rax
mov r8d, r15d
xor edx, edx
mov rcx, rax
call fcn.140036df0
or r12d, 1
lea rax, [rsp + 0x38]
cmp rsi, rax
je 0x14000e08e
mov rcx, qword [rsi]
mov qword [rsi], rbx
test rcx, rcx
je 0x14000e09b
call fcn.140015988
mov eax, dword [rsp + 0x50]
mov dword [r14 + 0xb4], eax
jmp 0x14000e010
test rbx, rbx
je 0x14000e09b
mov rcx, rbx
call fcn.140015988
mov eax, dword [rsp + 0x50]
mov dword [r14 + 0xb4], eax
jmp 0x14000e010
test eax, eax
jne 0x14000e1c2
mov r14, qword [rsi]
nop word [rax + rax]
mov eax, dword [r14]
cmp rdi, rax
jae 0x14000e1be
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
lea rbx, [rdi + rdi*4]
shl rbx, 5
lea r8, [r14 + 8]
add r8, rbx
lea rdx, [rsp + 0x58]
call fcn.14000e770
nop
cmp qword [rsp + 0x58], 0
je 0x14000e17d
movzx ecx, word [rbx + r14 + 0xc]
call qword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [rbx + r14 + 8]
mov dword [rsp + 0x30], ecx
mov word [rsp + 0x34], ax
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, r13
call fcn.14000f550
mov rdx, qword [rax]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rdx + 0x18], rax
mov rbx, qword [rdx + 0x20]
mov qword [rdx + 0x20], rcx
test rbx, rbx
je 0x14000e17d
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000e17d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000e17d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
nop
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x14000e1b6
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000e1b6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000e1b6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
inc rdi
jmp 0x14000e0c0
mov al, 1
jmp 0x14000e1c8
xor al, al
jmp 0x14000e1c8
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400156c0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14000e1f0
Capabilities:
List tcp connections and listeners

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x14004c040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r15, rcx
xor edi, edi
mov r12d, edi
mov dword [rsp + 0x58], edi
mov eax, dword [rcx + 0xb0]
mov dword [rsp + 0x58], eax
call fcn.14000e6f0
nop word [rax + rax]
lea rsi, [r15 + 0xa0]
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 7
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, qword [rsi]
call qword [sym.imp.IPHLPAPI.DLL_GetExtendedTcpTable]
cmp eax, 0x7a
jne 0x14000e2db
mov eax, dword [rsp + 0x58]
add eax, eax
mov dword [rsp + 0x58], eax
mov r14d, eax
mov ecx, eax
call fcn.1400159e4
mov rbx, rax
mov r8d, r14d
xor edx, edx
mov rcx, rax
call fcn.140036df0
or r12d, 1
lea rax, [rsp + 0x40]
cmp rsi, rax
je 0x14000e2be
mov rcx, qword [rsi]
mov qword [rsi], rbx
test rcx, rcx
je 0x14000e2cb
call fcn.140015988
mov eax, dword [rsp + 0x58]
mov dword [r15 + 0xb0], eax
jmp 0x14000e240
test rbx, rbx
je 0x14000e2cb
mov rcx, rbx
call fcn.140015988
mov eax, dword [rsp + 0x58]
mov dword [r15 + 0xb0], eax
jmp 0x14000e240
test eax, eax
jne 0x14000e407
mov r14, qword [rsi]
nop word [rax + rax]
mov eax, dword [r14]
cmp rdi, rax
jae 0x14000e403
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
lea rsi, [rdi + rdi*4]
shl rsi, 5
add rsi, r14
lea r8, [rsi + 8]
lea rdx, [rsp + 0x60]
call fcn.14000e920
nop
cmp qword [rsp + 0x60], 0
je 0x14000e3c2
movzx ecx, word [rsi + 0x18]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx ebx, ax
movzx ecx, word [rsi + 0x10]
call qword [sym.imp.WS2_32.dll_ntohs]
mov ecx, dword [rsi + 0x14]
mov edx, dword [rsi + 0xc]
mov dword [rsp + 0x30], edx
mov word [rsp + 0x34], ax
mov dword [rsp + 0x38], ecx
mov word [rsp + 0x3c], bx
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x48]
mov rcx, r15
call fcn.14000f8b0
mov rdx, qword [rax]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rdx + 0x20], rax
mov rbx, qword [rdx + 0x28]
mov qword [rdx + 0x28], rcx
test rbx, rbx
je 0x14000e3c2
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000e3c2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000e3c2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
nop
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x14000e3fb
mov eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000e3fb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000e3fb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
inc rdi
jmp 0x14000e2f0
mov al, 1
jmp 0x14000e40d
xor al, al
jmp 0x14000e40d
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400156c0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x14000f330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14004c040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r14, r8
mov rbx, rdx
mov r13, rcx
mov qword [rsp + 0x38], rdx
xor r12d, r12d
mov rax, qword [r8]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x38], r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea rdi, [rcx + 0x88]
mov qword [rsp + 0x40], rdi
mov byte [rsp + 0x48], 1
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockShared
nop
mov rdx, r14
call fcn.14000fe30
mov rcx, qword [r13 + 0x70]
and rcx, rax
mov r15, qword [r13 + 0x58]
add rcx, rcx
mov rdx, qword [r15 + rcx*8 + 8]
mov rsi, qword [r13 + 0x48]
cmp rdx, rsi
je 0x14000f3dc
mov rcx, qword [r15 + rcx*8]
mov r8d, dword [r14]
nop word [rax + rax]
cmp r8d, dword [rdx + 0x10]
jne 0x14000f3d1
movzx eax, word [rdx + 0x14]
cmp word [r14 + 4], ax
je 0x14000f3df
cmp rdx, rcx
je 0x14000f3dc
mov rdx, qword [rdx + 8]
jmp 0x14000f3c0
mov rdx, r12
test rdx, rdx
je 0x14000f434
cmp rdx, rsi
je 0x14000f434
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov rax, qword [rdx + 0x20]
test rax, rax
je 0x14000f3fd
lock inc dword [rax + 8]
mov rcx, qword [rdx + 0x18]
mov qword [rbx], rcx
mov rcx, qword [rdx + 0x20]
mov qword [rbx + 8], rcx
mov rcx, rdi
call sub.KERNEL32.dll_ReleaseSRWLockShared
mov rax, rbx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400156c0
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
lea rdx, [rsp + 0x38]
call fcn.14000fe30
and rax, qword [r13 + 0x70]
add rax, rax
lea rcx, [r15 + rax*8]
mov rax, qword [rcx + 8]
cmp rax, rsi
je 0x14000f477
mov rcx, qword [rcx]
movzx edx, word [rsp + 0x3c]
nop word [rax + rax]
cmp dword [rax + 0x10], 0
jne 0x14000f46c
cmp dx, word [rax + 0x14]
je 0x14000f47a
cmp rax, rcx
je 0x14000f477
mov rax, qword [rax + 8]
jmp 0x14000f460
mov rax, r12
test rax, rax
je 0x14000f4a8
cmp rax, rsi
je 0x14000f4a8
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov rcx, qword [rax + 0x20]
test rcx, rcx
je 0x14000f498
lock inc dword [rcx + 8]
mov rcx, qword [rax + 0x18]
mov qword [rbx], rcx
mov rcx, qword [rax + 0x20]
jmp 0x14000f408
test rdi, rdi
je 0x14000f53b
mov rcx, rdi
call sub.KERNEL32.dll_ReleaseSRWLockShared
mov byte [rsp + 0x48], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x50], rdi
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov byte [rsp + 0x58], 1
lea rcx, [r13 + 0x40]
mov r8, r14
lea rdx, [rsp + 0x28]
call fcn.14000f550
mov rcx, qword [rax]
add rcx, 0x18
lea rdx, [r13 + 0x90]
call fcn.140010200
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov rax, qword [r13 + 0x98]
test rax, rax
je 0x14000f518
lock inc dword [rax + 8]
mov rdi, qword [rsp + 0x50]
mov rax, qword [r13 + 0x90]
mov qword [rbx], rax
mov rax, qword [r13 + 0x98]
mov qword [rbx + 8], rax
mov rcx, rdi
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
nop
jmp 0x14000f414
call fcn.140010910
int3
Function at 0x14000fe30
Capabilities:
Hash data using fnv

Disassembly:
mov r8d, dword [rdx]
movabs r11, 0x100000001b3
mov eax, r8d
movzx r9d, r8b
shr eax, 8
movabs r10, 0xcbf29ce484222325
movzx ecx, al
xor r9, r10
imul r9, r11
mov eax, r8d
shr r8, 0x18
shr eax, 0x10
xor r9, rcx
movzx ecx, al
imul r9, r11
xor r9, rcx
imul r9, r11
xor r9, r8
movzx r8d, word [rdx + 4]
imul r9, r11
xor r8, r9
mov rax, r8
shr rax, 8
movzx r9d, al
movzx eax, r8b
xor rax, r10
imul rax, r11
xor r9, rax
mov rax, r8
shr rax, 0x10
movzx ecx, al
mov rax, r8
shr rax, 0x18
imul r9, r11
xor r9, rcx
movzx ecx, al
imul r9, r11
mov rax, r8
shr rax, 0x20
xor r9, rcx
movzx ecx, al
mov rax, r8
shr rax, 0x28
movzx eax, al
imul r9, r11
xor r9, rcx
mov rcx, r8
imul r9, r11
shr rcx, 0x30
xor rax, r9
movzx edx, cl
imul rax, r11
shr r8, 0x38
xor rax, rdx
imul rax, r11
xor rax, r8
imul rax, r11
ret
Function at 0x14000ffc0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r8d, dword [rdx + 8]
movabs rsi, 0x100000001b3
mov eax, r8d
movzx r9d, r8b
shr eax, 8
mov rbx, rdx
movzx edx, word [rdx + 0xc]
movabs rdi, 0xcbf29ce484222325
movzx ecx, al
xor r9, rdi
mov eax, r8d
shr r8, 0x18
movzx r10d, word [rbx + 4]
shr eax, 0x10
imul r9, rsi
xor r9, rcx
movzx ecx, al
imul r9, rsi
xor r9, rcx
imul r9, rsi
xor r9, r8
imul r9, rsi
xor rdx, r9
movzx r11d, dl
mov rax, rdx
xor r11, rdi
shr rax, 8
movzx ecx, al
mov rax, rdx
imul r11, rsi
shr rax, 0x10
xor r11, rcx
movzx ecx, al
imul r11, rsi
mov rax, rdx
xor r11, rcx
shr rax, 0x18
movzx ecx, al
mov rax, rdx
imul r11, rsi
shr rax, 0x20
xor r11, rcx
movzx ecx, al
imul r11, rsi
mov rax, rdx
xor r11, rcx
shr rax, 0x28
movzx ecx, al
mov rax, rdx
imul r11, rsi
shr rax, 0x30
xor r11, rcx
shr rdx, 0x38
movzx ecx, al
imul r11, rsi
xor r11, rcx
imul r11, rsi
xor r11, rdx
mov edx, dword [rbx]
movzx r8d, dl
mov eax, edx
xor r8, rdi
shr eax, 8
imul r8, rsi
imul r11, rsi
movzx ecx, al
mov eax, edx
xor r8, rcx
shr rdx, 0x18
imul r8, rsi
shr eax, 0x10
movzx ecx, al
xor r8, rcx
imul r8, rsi
xor r8, rdx
mov edx, r10d
imul r8, rsi
xor rdx, r8
movzx r8d, dl
xor r8, rdi
imul r8, rsi
movzx r9d, word [rbx + 0xc]
mov rax, rdx
shr rax, 8
xor r9, r10
movzx ecx, al
mov rax, rdx
xor r8, rcx
shr rax, 0x10
movzx ecx, al
mov rax, rdx
mov rbx, qword [rsp + 8]
shr rax, 0x18
imul r8, rsi
xor r8, rcx
movzx ecx, al
imul r8, rsi
mov rax, rdx
xor r8, rcx
shr rax, 0x20
movzx ecx, al
mov rax, rdx
shr rax, 0x28
imul r8, rsi
xor r8, rcx
movzx ecx, al
imul r8, rsi
mov rax, rdx
shr rdx, 0x38
shr rax, 0x30
xor r8, rcx
movzx ecx, al
imul r8, rsi
xor r8, rcx
imul r8, rsi
xor r8, rdx
imul r8, rsi
xor r9, r8
xor r9, r11
mov rax, r9
shr rax, 8
movzx r8d, al
movzx eax, r9b
xor rax, rdi
mov rdi, qword [rsp + 0x18]
imul rax, rsi
xor r8, rax
mov rax, r9
shr rax, 0x10
movzx ecx, al
mov rax, r9
shr rax, 0x18
imul r8, rsi
xor r8, rcx
movzx ecx, al
imul r8, rsi
mov rax, r9
shr rax, 0x20
xor r8, rcx
movzx ecx, al
mov rax, r9
shr rax, 0x28
movzx eax, al
imul r8, rsi
xor r8, rcx
mov rcx, r9
imul r8, rsi
shr rcx, 0x30
xor rax, r8
movzx edx, cl
imul rax, rsi
shr r9, 0x38
xor rax, rdx
imul rax, rsi
xor rax, r9
imul rax, rsi
mov rsi, qword [rsp + 0x10]
ret