joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ae2d0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rsi, rdx
mov rbp, rcx
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
xor ebx, ebx
mov eax, dword [rcx + rax]
cmp dword [0x140323790], eax
jle 0x1400ae3b1
lea rcx, [0x140323790]
call fcn.1402569b0
cmp dword [0x140323790], 0xffffffff
jne 0x1400ae3b1
mov dword [0x140323750], ebx
mov qword [0x140323758], rbx
mov qword [0x140323760], rbx
mov ecx, Ordinal_50
call fcn.1402563b8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [0x140323758], rax
mov qword [0x140323768], rbx
xorps xmm0, xmm0
movdqa xmmword [0x140323770], xmm0
mov qword [0x140323780], 7
mov qword [0x140323788], 8
mov dword [0x140323750], 0x3f800000
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
lea rcx, [0x140323768]
call fcn.140064e10
nop
lea rcx, [0x140260520]
call fcn.14025661c
nop
lea rcx, [0x140323790]
call fcn.140256944
mov edi, ebp
movzx edx, bpl
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs r8, 0x100000001b3
imul rdx, r8
mov eax, ebp
shr eax, 8
movzx ecx, al
xor rdx, rcx
imul rdx, r8
mov eax, ebp
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, r8
mov eax, ebp
shr rax, 0x18
xor rdx, rax
imul rdx, r8
and rdx, qword [0x140323780]
add rdx, rdx
mov rcx, qword [0x140323768]
mov rax, qword [rcx + rdx*8 + 8]
mov r8, qword [0x140323758]
cmp rax, r8
je 0x1400ae439
mov rcx, qword [rcx + rdx*8]
cmp edi, dword [rax + 0x10]
je 0x1400ae436
cmp rax, rcx
je 0x1400ae439
mov rax, qword [rax + 8]
cmp edi, dword [rax + 0x10]
jne 0x1400ae428
mov rbx, rax
mov rax, r8
test rbx, rbx
cmovne rax, rbx
cmp rax, r8
je 0x1400ae45e
movups xmm0, xmmword [rax + 0x18]
movups xmmword [rsi], xmm0
movsd xmm1, qword [rax + 0x28]
movsd qword [rsi + 0x10], xmm1
jmp 0x1400ae4df
mov rcx, rbp
call fcn.1400ae220
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movsd qword [rsp + 0x30], xmm0
mov rcx, qword [0x140323008]
add rcx, rax
mov r8d, Ordinal_26
lea rdx, [rsp + 0x30]
call fcn.1400ad880
mov dword [rsp + 0x60], edi
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x20]
lea rcx, [0x140323750]
call fcn.1400c82a0
mov rcx, qword [rax]
movsd xmm0, qword [rsp + 0x30]
movsd qword [rcx + 0x18], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x20], xmm1
movsd xmm0, qword [rsp + 0x40]
movsd qword [rcx + 0x28], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm1
movsd xmm0, qword [rsp + 0x40]
movsd qword [rsi + 0x10], xmm0
mov rax, rsi
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1400ae500
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rsi, rdx
mov rdi, rcx
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
xor ebx, ebx
mov eax, dword [rcx + rax]
cmp dword [0x140323794], eax
jle 0x1400ae5dc
lea rcx, [0x140323794]
call fcn.1402569b0
cmp dword [0x140323794], 0xffffffff
jne 0x1400ae5dc
mov dword [0x140323710], ebx
mov qword [0x140323718], rbx
mov qword [0x140323720], rbx
mov ecx, Ordinal_50
call fcn.1402563b8
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [0x140323718], rax
mov qword [0x140323728], rbx
xorps xmm0, xmm0
movdqa xmmword [0x140323730], xmm0
mov qword [0x140323740], 7
mov qword [0x140323748], 8
mov dword [0x140323710], 0x3f800000
mov r8, rax
mov edx, reloc.WS2_32.dll_recv
lea rcx, [0x140323728]
call fcn.140064e10
nop
lea rcx, [0x140260510]
call fcn.14025661c
nop
lea rcx, [0x140323794]
call fcn.140256944
cmp byte [0x1403222fc], 0
je 0x1400ae6a1
mov r8d, edi
mov eax, edi
shr eax, 8
movzx edx, al
movzx eax, dil
movabs rcx, 0xcbf29ce484222325
xor rax, rcx
movabs r9, 0x100000001b3
imul rax, r9
xor rdx, rax
imul rdx, r9
mov eax, edi
shr eax, 0x10
movzx ecx, al
xor rdx, rcx
imul rdx, r9
mov eax, edi
shr rax, 0x18
xor rdx, rax
imul rdx, r9
and rdx, qword [0x140323740]
add rdx, rdx
mov rcx, qword [0x140323728]
mov rax, qword [rcx + rdx*8 + 8]
mov r9, qword [0x140323718]
cmp rax, r9
je 0x1400ae673
mov rcx, qword [rcx + rdx*8]
cmp r8d, dword [rax + 0x10]
je 0x1400ae670
cmp rax, rcx
je 0x1400ae673
mov rax, qword [rax + 8]
cmp edi, dword [rax + 0x10]
jne 0x1400ae662
mov rbx, rax
test rbx, rbx
je 0x1400ae6a1
cmp rbx, r9
je 0x1400ae6a1
movups xmm0, xmmword [rbx + 0x18]
movups xmmword [rsi], xmm0
movsd xmm1, qword [rbx + 0x28]
movsd qword [rsi + 0x10], xmm1
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov rcx, rdi
call fcn.1400ae220
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movsd qword [rsp + 0x30], xmm0
mov rcx, qword [0x140323008]
add rcx, rax
mov r8d, Ordinal_26
lea rdx, [rsp + 0x30]
call fcn.1400ad880
mov dword [rsp + 0x70], edi
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x20]
lea rcx, [0x140323710]
call fcn.1400c82a0
mov rcx, qword [rax]
movsd xmm0, qword [rsp + 0x30]
movsd qword [rcx + 0x18], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x20], xmm1
movsd xmm0, qword [rsp + 0x40]
movsd qword [rcx + 0x28], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm1
movsd xmm0, qword [rsp + 0x40]
movsd qword [rsi + 0x10], xmm0
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400c8b80
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x1400c8bb1
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x140323528]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x140323538]
lea rdx, [rdi + rdi]
call fcn.140064e10
mov rax, qword [0x140323528]
lea r9, [rdi - 1]
mov qword [0x140323550], r9
mov qword [0x140323558], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1400c8d24
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
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, r9
shl r11, 4
add r11, qword [0x140323538]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400c8c70
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400c8ce5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400c8cad
mov r10, qword [rdx]
cmp r10, rax
je 0x1400c8ca7
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 0x1400c8ce5
cmp r9, rdx
je 0x1400c8cc1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1400c8cf9
cmp r9, rdx
jne 0x1400c8cb2
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
je 0x1400c8d1f
mov r9, qword [0x140323550]
jmp 0x1400c8c21
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 0x1400c8ce5
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400c8d30
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x1400c8d68
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140064e10
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 0x1400c8ea6
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400c8e20
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400c8e95
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x1400c8e5d
mov r10, qword [rdx]
cmp r10, rax
je 0x1400c8e57
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 0x1400c8e95
cmp r9, rdx
je 0x1400c8e71
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1400c8ebb
cmp r9, rdx
jne 0x1400c8e62
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 0x1400c8dd0
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
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 0x1400c8e95
Function at 0x1400d2590
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 [0x14031d480]
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 0x1400d25fc
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.1400f1c60
jmp 0x1400d26da
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 0x1400d262c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.1400f1c60
jmp 0x1400d26da
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x1400d2650
cmp ecx, 1
je 0x1400d263f
mov ebx, r14d
call fcn.1400d30d0
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x1400d2655
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x1402ee338]
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, ntohs
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.1400efaa0
lea rcx, [rsp + 0x58]
call fcn.1400d2420
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.1400d2d30
test al, al
je 0x1400d26c9
mov dword [r15], 1
jmp 0x1400d26d8
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.1400def60
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140256390
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x1400d2590
Function at 0x1400deea0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x718], 0
mov rsi, r9
mov rbp, r8
movsxd rbx, edx
mov rdi, rcx
je 0x1400deefe
mov dl, 1
call fcn.1400cd2e0
mov rax, qword [rdi + 0x670]
mov r9, rsi
mov r8, rbp
mov qword [rsp + 0x20], rax
mov edx, ebx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.1400cd2e0
mov eax, ebx
jmp 0x1400def40
cmp ebx, 2
ja 0x1400def3e
mov r9, qword [rdi + 0x668]
lea rdx, [0x140263ba0]
lea rcx, [rbx + rbx*2]
add rcx, rdx
mov edx, 2
lea r8d, [rdx - 1]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov r9, qword [rdi + 0x668]
mov r8d, 1
mov rdx, rsi
mov rcx, rbp
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400def60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rdi
sub rsp, 0x160
mov rax, qword [0x14031d480]
xor rax, rsp
mov qword [rsp + 0x140], rax
cmp byte [rcx + 0xea6], 0
mov rdi, rcx
jne 0x1400defa3
cmp qword [rcx + 0x678], 0
je 0x1400df080
mov r8, rdx
mov qword [rsp + 0x158], rbx
mov edx, 0x100
lea r9, [rsp + 0x180]
lea rcx, [rsp + 0x30]
call fcn.1400efbb0
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400defd1
mov rcx, qword [rdi + 0x678]
test rcx, rcx
je 0x1400df018
cmp byte [rdi + 0x1528], 0
jne 0x1400df018
lea rdx, [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
mov byte [rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400df000
mov byte [rdi + 0x1528], 1
cmp byte [rdi + 0xea6], 0
je 0x1400df078
mov byte [rsp + rbx + 0x30], 0xa
inc rbx
cmp rbx, 0x102
jae 0x1400df0d1
cmp qword [rdi + 0x718], 0
mov byte [rsp + rbx + 0x30], 0
je 0x1400df099
mov dl, 1
mov rcx, rdi
call fcn.1400cd2e0
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.1400cd2e0
mov rbx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140256390
add rsp, 0x160
pop rdi
ret
mov r9, qword [rdi + 0x668]
lea rcx, [0x140263ba0]
mov edx, 2
lea r8d, [rdx - 1]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
jmp 0x1400df078
call fcn.140256770
int3
Function at 0x1400df0e0
Capabilities:
Write file on windows

Disassembly:
test rcx, rcx
je 0x1400df244
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rdi
sub rsp, 0x860
mov rax, qword [0x14031d480]
xor rax, rsp
mov qword [rsp + 0x840], rax
cmp byte [rcx + 0xea6], 0
mov rdi, rcx
je 0x1400df22c
mov r8, rdx
mov qword [r11 - 0x10], rbx
mov edx, 0x801
lea r9, [r11 + 0x18]
lea rcx, [rsp + 0x30]
call fcn.1400efbb0
movsxd rcx, eax
mov rbx, 0xffffffffffffffff
cmp rcx, 0x801
jb 0x1400df1a1
mov rcx, qword [rsp + 0x878]
mov rax, rbx
nop word [rax + rax]
cmp byte [rcx + rax + 1], 0
lea rax, [rax + 1]
jne 0x1400df160
cmp byte [rax + rcx - 1], 0xa
jne 0x1400df188
lea r8, str...._n
mov edx, 5
lea rcx, [rsp + 0x82c]
jmp 0x1400df19c
lea r8, [0x1402f4560]
mov edx, 4
lea rcx, [rsp + 0x82d]
call fcn.1400efaa0
lea rax, [rsp + 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400df1a6
cmp qword [rdi + 0x718], 0
je 0x1400df1ee
mov dl, 1
mov rcx, rdi
call fcn.1400cd2e0
mov rax, qword [rdi + 0x670]
lea r8, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call qword [rdi + 0x718]
xor edx, edx
mov rcx, rdi
call fcn.1400cd2e0
jmp 0x1400df224
mov r9, qword [rdi + 0x668]
lea rcx, [0x140263ba0]
mov edx, 2
lea r8d, [rdx - 1]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov r9, qword [rdi + 0x668]
lea rcx, [rsp + 0x30]
mov r8d, 1
mov rdx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rsp + 0x858]
mov rcx, qword [rsp + 0x840]
xor rcx, rsp
call fcn.140256390
add rsp, 0x860
pop rdi
ret
Function at 0x1400e1970
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
cdqe
add rsp, 0x28
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp byte [0x14031e560], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x1400e28ef
test rdi, rdi
je 0x1400e28ef
mov eax, dword [0x14031e564]
test eax, eax
jne 0x1400e28e7
mov r8d, dword [rsp + 0x60]
lea rsi, str.recv
mov r9, rsi
lea rcx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rdx, rdi
call fcn.1400e2590
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9d, dword [rsp + 0x60]
lea rdx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r8, rdi
call fcn.1400efa70
mov rcx, qword [0x14031e558]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fflush
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov dword [rax], recvfrom
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x14031e564], eax
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test rdi, rdi
je 0x1400e2917
mov r8d, dword [rsp + 0x60]
lea rcx, str.RECV__s:_d_recv__lu____ld_n
mov r9d, esi
mov dword [rsp + 0x20], eax
mov rdx, rdi
call fcn.1400e2590
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp byte [0x14031e560], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x1400e2a3f
test rdi, rdi
je 0x1400e2a3f
mov eax, dword [0x14031e564]
test eax, eax
jne 0x1400e2a37
mov r8d, dword [rsp + 0x60]
lea rsi, str.send
mov r9, rsi
lea rcx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rdx, rdi
call fcn.1400e2590
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9d, dword [rsp + 0x60]
lea rdx, str.LIMIT__s:_d__s_reached_memlimit_n
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r8, rdi
call fcn.1400efa70
mov rcx, qword [0x14031e558]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fflush
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov dword [rax], recvfrom
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x14031e564], eax
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
test rdi, rdi
je 0x1400e2a67
mov r8d, dword [rsp + 0x60]
lea rcx, str.SEND__s:_d_send__lu____ld_n
mov r9d, esi
mov dword [rsp + 0x20], eax
mov rdx, rdi
call fcn.1400e2590
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400f1fe0
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 [0x14031d480]
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 0x1400d25fc
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.1400f1c60
jmp 0x1400d26da
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 0x1400d262c
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.1400f1c60
jmp 0x1400d26da
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x1400d2650
cmp ecx, 1
je 0x1400d263f
mov ebx, r14d
call fcn.1400d30d0
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x1400d2655
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x1402ee338]
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, ntohs
mov dword [rsp + 0x30], r14d
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call fcn.1400efaa0
lea rcx, [rsp + 0x58]
call fcn.1400d2420
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.1400d2d30
test al, al
je 0x1400d26c9
mov dword [r15], 1
jmp 0x1400d26d8
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.1400def60
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140256390
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x1400d2590
Function at 0x1400f5e30
Capabilities:
Encode data using xor

Disassembly:
push r14
push r15
sub rsp, 0x1f8
mov rax, qword [0x14031d480]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp byte [0x14031e820], 0
mov r14, rcx
jne 0x1400f5e69
call fcn.140132fb0
test eax, eax
je 0x1400f5e87
mov byte [0x14031e820], 1
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140256390
add rsp, 0x1f8
pop r15
pop r14
ret
mov rcx, qword [r14 + 0xcf8]
test rcx, rcx
je 0x1400f5ea6
mov edx, 0x400
call fcn.140134050
call fcn.140132fb0
test eax, eax
jne 0x1400f5e69
mov qword [rsp + 0x218], rbx
xor r15d, r15d
mov qword [rsp + 0x220], rbp
mov qword [rsp + 0x228], rsi
mov qword [rsp + 0x1f0], rdi
movaps xmmword [rsp + 0x1e0], xmm6
movaps xmmword [rsp + 0x1d0], xmm7
movsd xmm7, qword [0x140269658]
nop dword [rax]
nop word [rax + rax]
mov rsi, r15
lea rbp, [rsp + 0x80]
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.1400d2420
mov ecx, 1
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x20], xmm6
call fcn.1400dee50
lea rcx, [rsp + 0x40]
lea rdi, [rsi + 3]
call fcn.1400d2420
lea rcx, [rsp + 0x50]
movsxd rbx, dword [rax + 8]
call fcn.1400d2420
mov rdx, rbx
lea rcx, [rdi - 2]
add rdx, qword [rax]
movq rax, xmm6
imul rdx, rdi
imul rcx, rax
shl rdx, 8
xor rdx, rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
call fcn.1400d2420
lea rcx, [rsp + 0x70]
mov rbx, rax
call fcn.1400d2420
mov ecx, dword [rbx + 8]
lea rbp, [rbp + 0x10]
add ecx, dword [rax]
lea eax, [rsi + 4]
imul ecx, eax
lea eax, [rsi + 2]
imul eax, dword [rsp + 0x28]
inc rsi
shl ecx, 0x10
xor ecx, eax
mov dword [rsp + 0x28], ecx
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbp - 0x10], xmm0
cmp rsi, 4
jb 0x1400f5f00
movaps xmm2, xmm7
lea rcx, [rsp + 0x80]
mov edx, 0x40
call fcn.140132ce0
call fcn.140132fb0
test eax, eax
je 0x1400f5ef0
mov edx, 0x100
mov byte [rsp + 0xc0], r15b
lea rcx, [rsp + 0xc0]
call fcn.140133de0
movaps xmm7, xmmword [rsp + 0x1d0]
movaps xmm6, xmmword [rsp + 0x1e0]
mov rdi, qword [rsp + 0x1f0]
mov rsi, qword [rsp + 0x228]
mov rbp, qword [rsp + 0x220]
mov rbx, qword [rsp + 0x218]
cmp byte [rsp + 0xc0], r15b
je 0x1400f603d
mov edx, 0x400
lea rcx, [rsp + 0xc0]
call fcn.140134050
call fcn.140132fb0
test eax, eax
jne 0x1400f5e69
lea rdx, str.libcurl_is_now_using_a_weak_random_seed__n
mov rcx, r14
call fcn.1400df0e0
call fcn.140132fb0
test eax, eax
mov ecx, reloc.WLDAP32.dll_Ordinal_35
cmovne ecx, r15d
mov eax, ecx
jmp 0x1400f5e6b