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

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140330440]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400c99d3
cmp byte [rcx + 0x71], 0
je 0x1400c99d3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x1400c99cf
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 0x1400c9994
sub eax, 1
je 0x1400c9998
cmp eax, 2
jne 0x1400c99cf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140264720
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400c99c6
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 0x1400c99cf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400c997c
xor al, al
jmp 0x1400c997c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140264720
add rsp, 0x60
pop rbx
ret
Function at 0x1400cdbd0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x140330440]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbp, rcx
mov r15, r9
mov rcx, r8
mov rsi, r8
mov rdi, rdx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x1400cdd61
mov eax, dword [rsi + 0x4c]
cmp eax, 0x7fffffff
je 0x1400cdd20
mov rcx, rdi
call fcn.140224000
mov rcx, rsi
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test rdi, rdi
je 0x1400cdce0
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 1
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor edx, edx
mov ecx, ebp
call fcn.140142a90
xor r9d, r9d
mov rcx, rax
mov r14, rax
lea edx, [r9 + 0x66]
lea r8d, [r9 + 1]
call fcn.140145fd0
mov r8, r14
mov rdx, r14
mov rcx, rdi
call fcn.140224810
mov r9, qword [rsp + 0x80]
add r9, 8
cmp qword [r9 + 0x18], 0xf
jbe 0x1400cdc95
mov r9, qword [r9]
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0x37]
call fcn.140222bd0
mov rdx, rdi
mov rcx, r15
call fcn.1400c0d00
cmp al, 1
jne 0x1400cdd01
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
lea edx, [r9 + 0x66]
call fcn.140145fd0
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rax, rdi
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140264720
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, rdi
call fcn.140224dd0
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x1400cdd61
mov eax, dword [rsi + 0x4c]
cmp eax, 0x7fffffff
jne 0x1400cdd31
dec eax
mov ecx, 6
mov dword [rsi + 0x4c], eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rcx, rdi
call fcn.140223580
mov rcx, rsi
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0
mov edx, 0x8004667e
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor eax, eax
jmp 0x1400cdce3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x1400cdf60
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140330440]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.140264740
mov qword [rax], rbx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400d4be0]
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 0x1400cdfd9
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140264720
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1400d45c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140330440]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rdi, rdx
mov ecx, 8
call fcn.140264740
mov rcx, qword [rbx]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400db1e0]
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 0x1400d4639
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140264720
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1400d4860
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x30
mov rdi, r8
mov rsi, rdx
sub rdi, rdx
mov rbp, rcx
sar rdi, 2
test rdi, rdi
je 0x1400d4a3f
mov qword [rsp + 0x50], rbx
mov rbx, qword [rcx + 8]
sub rbx, qword [rcx]
mov qword [rsp + 0x60], r13
sar rbx, 2
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
cmp rdi, 0x26f
jb 0x1400d48b0
mov eax, reloc.WS2_32.dll_inet_addr
jmp 0x1400d48de
cmp rdi, 0x44
jb 0x1400d48bd
mov eax, 7
jmp 0x1400d48de
cmp rdi, 0x27
jb 0x1400d48ca
mov eax, 5
jmp 0x1400d48de
cmp rdi, 7
jb 0x1400d48d7
mov eax, 3
jmp 0x1400d48de
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 0x1400d48f7
mov r15, rdi
mov r8, rdi
mov edx, 0x8b8b8b8b
shl r8, 2
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
test r15, r15
je 0x1400d49af
mov qword [rsp + 0x58], r12
nop dword [rax + 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 r12, [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 [r12]
mov eax, r8d
shr eax, 0x1b
xor eax, r8d
imul edx, eax, 0x19660d
test rcx, rcx
jne 0x1400d496d
mov rax, rbx
jmp 0x1400d4982
cmp rcx, rbx
ja 0x1400d497f
mov rax, qword [rbp]
mov eax, dword [rax + rcx*4 - 4]
add rax, r9
jmp 0x1400d4982
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 [r12], r8d
cmp rcx, r15
jb 0x1400d4920
mov r12, qword [rsp + 0x58]
add r15, rdi
cmp rcx, r15
jae 0x1400d4a2b
inc r14
lea rbp, [rcx - 1]
inc r13
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 0x1400d49c1
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400d9e20
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 0x1400d9eec
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1400d9eec
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 0x1400d9f05
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 0x1400d9edc
cmp byte [rax], 0x5c
jne 0x1400d9ed6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x1400d9ed6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1400d9ec2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x1400d9ed3
test r8b, 0x10
jne 0x1400d9ed6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x1400d9ed6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.1400d3f50
test edi, edi
jne 0x1400d9e40
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1400d3f40
int3

Function at 0x1400dc410
Capabilities:
Hash data using crc32b

Disassembly:
xor r9d, r9d
lea r10, [0x14033d500]
nop word [rax + rax]
xor eax, eax
test r9b, 1
je 0x1400dc42c
bts eax, 7
mov ecx, r9d
shr ecx, 1
test cl, 1
je 0x1400dc43a
bts eax, 6
shr ecx, 1
test cl, 1
je 0x1400dc445
bts eax, 5
shr ecx, 1
test cl, 1
je 0x1400dc450
bts eax, 4
shr ecx, 1
test cl, 1
je 0x1400dc45b
bts eax, 3
shr ecx, 1
test cl, 1
je 0x1400dc466
bts eax, 2
shr ecx, 1
test cl, 1
je 0x1400dc471
bts eax, 1
test cl, 2
je 0x1400dc47a
bts eax, 0
shl eax, 0x18
lea ecx, [rax + rax]
mov edx, ecx
xor edx, 0x4c11db7
test eax, eax
cmovns edx, ecx
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c11db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c11db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c11db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov r8d, eax
xor r8d, 0x4c11db7
test edx, edx
cmovns r8d, eax
xor ecx, ecx
lea edx, [rcx + 0x1e]
test r8b, 1
je 0x1400dc511
lea eax, [rdx + 1]
bts ecx, eax
sar r8d, 1
test r8b, 1
je 0x1400dc51d
bts ecx, edx
sar r8d, 1
sub edx, 2
cmp edx, 0xfffffffe
jg 0x1400dc505
mov dword [r10], ecx
inc r9d
add r10, 4
cmp r9d, 0x100
jl 0x1400dc420
mov dword [0x14033d468], 1
ret
Function at 0x1400dd630
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp dword [r8 + 0x40], 1
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov rbp, rcx
je 0x1400dd65f
xor eax, eax
jmp 0x1400dd817
mov ecx, dword [r9 + 0x10]
mov qword [rsp + 0x30], rsi
call qword [sym.imp.WS2_32.dll_ntohl]
mov esi, eax
lea rax, [rsi - 1]
cmp rax, 0xfe
ja 0x1400dd7f7
mov ecx, dword [rdi + 0x1c]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0xd0]
jne 0x1400dd7f7
mov ecx, dword [rdi + 0x20]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0xc8]
jne 0x1400dd7f7
mov ecx, dword [rdi + 0x24]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0xcc]
jne 0x1400dd7f7
mov eax, dword [rbx + 0x1c]
cmp dword [rdi + 0x28], eax
jne 0x1400dd7f7
mov edx, 1
mov r8b, 0xff
mov rcx, rbx
call fcn.1400dc810
cmp rsi, qword [rbx + 0x50]
jae 0x1400dd6e5
mov qword [rbx + 0x50], rsi
movzx ecx, word [rdi + 4]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rbx + 0x18], ax
movzx eax, byte [rdi + 6]
mov byte [rbx + 0x21], al
movzx eax, byte [rdi + 7]
mov byte [rbx + 0x20], al
mov ecx, dword [rdi + 8]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, 0x240
mov esi, 0x1000
cmp eax, ecx
jb 0x1400dd71f
cmp eax, esi
mov ecx, eax
cmova ecx, esi
cmp ecx, dword [rbx + 0xfc]
jae 0x1400dd72d
mov dword [rbx + 0xfc], ecx
mov ecx, dword [rdi + 0xc]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, esi
jb 0x1400dd746
mov ecx, 0x10000
mov esi, eax
cmp eax, ecx
cmova esi, ecx
cmp esi, dword [rbx + 0x100]
jae 0x1400dd754
mov dword [rbx + 0x100], esi
mov ecx, dword [rdi + 0x14]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbx + 0x58], eax
mov ecx, dword [rdi + 0x18]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbx + 0x5c], eax
mov dword [rbp + 0x80], 1
mov ecx, dword [rbx + 0x40]
test r14, r14
je 0x1400dd7dc
lea eax, [rcx - 5]
cmp eax, 1
jbe 0x1400dd7a2
cmp dword [rbx + 0x58], 0
je 0x1400dd797
mov rax, qword [rbx + 0x10]
inc qword [rax + 0x2b60]
mov rax, qword [rbx + 0x10]
inc qword [rax + 0x2b58]
xor eax, eax
mov dword [rbx + 0x40], 5
mov qword [rbx + 0x80], rax
mov qword [rbx + 0x70], rax
mov qword [rbx + 0xa0], rax
mov dword [rbx + 0xac], eax
mov dword [r14], 1
mov qword [r14 + 8], rbx
mov eax, dword [rbx + 0x1f8]
mov dword [r14 + 0x14], eax
xor eax, eax
jmp 0x1400dd812
xor eax, eax
mov rdx, rbx
cmp ecx, 1
mov rcx, rbp
sete al
lea r8d, [rax + 3]
call fcn.1400dc5d0
xor eax, eax
jmp 0x1400dd812
xor eax, eax
mov rdx, rbx
mov rcx, rbp
mov dword [rbx + 0x1f8], eax
lea r8d, [rax + 9]
call fcn.1400dc5d0
lea eax, [r8 - 0xa]
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400e16b0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140330440]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor ebx, ebx
cmp dword [0x14033e368], ebx
jne 0x1400e1766
mov qword [rsp + 0x70], rdi
lea rcx, [rsp + 0x48]
mov edi, 1
mov dword [0x14033e368], edi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov dword [0x14033e36c], eax
test eax, eax
je 0x1400e1719
lea rcx, [0x14033e380]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x48]
divsd xmm0, qword [0x1403026d0]
jmp 0x1400e1759
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x20], 0x107b2
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x26], rdi
mov word [rsp + 0x2e], bx
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [rsp + 0x34]
mov eax, dword [rsp + 0x30]
movsd xmm0, qword [0x1403026a8]
shl rcx, 0x20
or rcx, rax
mov qword [0x14033e380], rcx
mov rdi, qword [rsp + 0x70]
movsd qword [0x14033e388], xmm0
cmp dword [0x14033e36c], ebx
je 0x1400e1780
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x40]
jmp 0x1400e179f
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
shl rax, 0x20
or rax, rcx
mov qword [rsp + 0x40], rax
sub rax, qword [0x14033e380]
xorps xmm0, xmm0
movabs r9, 0x431bde82d7b634db
cvtsi2sd xmm0, rax
mov rax, r9
divsd xmm0, qword [0x14033e388]
cvttsd2si rcx, xmm0
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, edx, 0xf4240
sub ecx, eax
imul eax, ecx, 0x3e8
movsxd r8, eax
movsxd rax, edx
imul rcx, rax, 0x3b9aca00
add r8, rcx
lock xadd qword [0x14033e370], rbx
test rbx, rbx
jne 0x1400e181e
lea rcx, [r8 - 0xf4240]
xor eax, eax
lock cmpxchg qword [0x14033e370], rcx
mov rbx, rax
cmove rbx, rcx
sub r8, rbx
mov rax, r9
mul r8
shr rdx, 0x12
mov eax, edx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140264720
add rsp, 0x60
pop rbx
ret
Function at 0x1400e1840
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140330440]
xor rax, rsp
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
lea r9, [rsp + 0x20]
mov rax, rdx
lea r8, [rsp + 0x28]
mov rbx, rcx
xor edi, edi
mov rcx, rax
mov qword [rsp + 0x20], rdi
xor edx, edx
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x1400e189d
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1400e18ea
jmp 0x1400e18e4
mov r9, qword [rsp + 0x20]
mov rax, r9
test r9, r9
je 0x1400e18ea
nop word [rax + rax]
mov rdx, qword [rax + 0x20]
test rdx, rdx
je 0x1400e18d8
mov ecx, dword [rax + 4]
cmp ecx, 2
je 0x1400e192c
test ecx, ecx
jne 0x1400e18d3
cmp qword [rax + 0x10], 0x10
je 0x1400e192c
cmp qword [rax + 0x10], 0x1c
jmp 0x1400e18d6
cmp ecx, 0x17
je 0x1400e190a
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x1400e18b0
mov rcx, r9
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140264720
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
movups xmm0, xmmword [rdx + 8]
mov rcx, r9
movups xmmword [rbx], xmm0
mov rdx, qword [rax + 0x20]
movzx r8d, word [rdx + 0x18]
mov word [rbx + 0x12], r8w
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, edi
jmp 0x1400e18ef
mov eax, dword [rdx + 4]
test eax, eax
jne 0x1400e194e
movups xmm0, xmmword [0x1402fd3e0]
mov rcx, r9
movups xmmword [rbx], xmm0
mov word [rbx + 0x12], di
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, edi
jmp 0x1400e18ef
cmp eax, 0xffffffff
jne 0x1400e196e
movups xmm0, xmmword [0x1402fd400]
mov rcx, r9
movups xmmword [rbx], xmm0
mov word [rbx + 0x12], di
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, edi
jmp 0x1400e18ef
movups xmm0, xmmword [0x1402fd3f0]
mov ecx, eax
shr ecx, 8
movups xmmword [rbx], xmm0
mov byte [rbx + 0xd], cl
mov ecx, eax
shr ecx, 0x10
mov byte [rbx + 0xc], al
mov byte [rbx + 0xe], cl
mov rcx, r9
shr eax, 0x18
mov word [rbx + 0xa], 0xffff
mov byte [rbx + 0xf], al
mov word [rbx + 0x12], di
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, edi
jmp 0x1400e18ef
Function at 0x1400e19b0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x140330440]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor r14d, r14d
mov rbp, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
je 0x1400e1a18
movzx ecx, word [rdx + 0x10]
xorps xmm0, xmm0
mov eax, reloc.WS2_32.dll_socket
mov dword [rsp + 0x6c], r14d
movdqu xmmword [rsp + 0x5c], xmm0
mov word [rsp + 0x58], ax
call qword [sym.imp.WS2_32.dll_htons]
movups xmm0, xmmword [rbx]
mov word [rsp + 0x5a], ax
movzx eax, word [rbx + 0x12]
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], eax
mov qword [rsp + 0x40], r14
mov rax, rbx
neg rax
mov qword [rsp + 0x38], r14
lea rax, [rsp + 0x58]
mov r8d, ebp
sbb r9d, r9d
mov rdx, rsi
and r9d, 0x1c
mov rcx, rdi
mov dword [rsp + 0x30], r9d
test rbx, rbx
lea r9, [rsp + 0x50]
cmove rax, r14
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
call qword [sym.imp.WS2_32.dll_WSASendTo]
cmp eax, 0xffffffff
jne 0x1400e1a74
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
neg eax
sbb eax, eax
jmp 0x1400e1a78
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140264720
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400e1aa0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x90
mov rax, qword [0x140330440]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov r10, r8
mov dword [rsp + 0x54], Ordinal_30
mov rbx, rdx
lea r8, [r11 - 0x44]
xor edx, edx
lea rax, [r11 - 0x38]
mov qword [r11 - 0x58], rdx
lea r9, [r11 - 0x40]
mov qword [r11 - 0x60], rdx
test rbx, rbx
mov dword [rsp + 0x50], edx
cmove r8, rdx
cmove rax, rdx
mov qword [r11 - 0x68], r8
lea r8d, [rdx + 1]
mov qword [r11 - 0x70], rax
mov rdx, r10
lea rax, [r11 - 0x48]
mov qword [r11 - 0x78], rax
call qword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
jne 0x1400e1b28
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2733
je 0x1400e1b24
cmp eax, 0x13
jne 0x1400e1b32
xor eax, eax
jmp 0x1400e1b62
test dword [rsp + 0x50], 0x8000
je 0x1400e1b39
mov eax, 0xffffffff
jmp 0x1400e1b62
test rbx, rbx
je 0x1400e1b5e
movups xmm0, xmmword [rsp + 0x68]
movzx ecx, word [rsp + 0x62]
movups xmmword [rbx], xmm0
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rbx + 0x10], ax
movzx eax, word [rsp + 0x78]
mov word [rbx + 0x12], ax
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140264720
add rsp, 0x90
pop rbx
ret
Function at 0x1400e4a80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.1400e3870
cmp qword [rbx + 8], 0
je 0x1400e4aa2
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400e3ea0
add rsp, 0x20
pop rbx
ret
Function at 0x1400e79e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x140330440]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [0x14033e378], 0
mov ebx, edx
mov edi, ecx
jne 0x1400e7a5d
lea rcx, [rsp + 0x20]
mov byte [0x14033e378], 1
call fcn.14005e080
mov r8d, 1
lea rcx, [0x1403306f4]
mov r9d, dword [rax]
mov dword [0x1403306f4], r9d
nop
mov eax, r9d
shr eax, 0x1e
xor eax, r9d
imul r9d, eax, 0x6c078965
add r9d, r8d
mov dword [rcx + r8*4], r9d
inc r8
cmp r8, 0x270
jb 0x1400e7a30
mov dword [0x1403306f0], 0x270
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x24], ebx
call fcn.1400cdde0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140264720
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400f1d60
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x140330440]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r13, qword [rcx]
mov ebp, r8d
mov rsi, rcx
lea r8, [rsp + 0x20]
mov ebx, 2
xor r14d, r14d
mov ecx, ebx
mov r15, r9
mov r12, qword [r13 + 0x11b0]
mov rdi, rdx
mov dword [r9], r14d
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400f1dcc
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.1401109f0
jmp 0x1400f1eaa
mov ebx, reloc.WS2_32.dll_socket
lea r8, [rsp + 0x58]
mov ecx, ebx
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jle 0x1400f1dfc
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.1401109f0
jmp 0x1400f1eaa
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x1400f1e20
cmp ecx, 1
je 0x1400f1e0f
mov ebx, r14d
call fcn.1400f2890
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x1400f1e25
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x140270924]
xorps xmm0, xmm0
lea rcx, [rsp + 0x68]
movups xmmword [rsp + 0x28], xmm0
setne r14b
mov dword [rsp + 0x2c], ebx
inc r14d
mov r9d, ebp
mov edx, ntohl
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.14010e890
lea rcx, [rsp + 0x58]
call fcn.1400f1bf0
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.1400f24f0
test al, al
je 0x1400f1e99
mov dword [r15], 1
jmp 0x1400f1ea8
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.1400fde20
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140264720
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x1400f1d60