joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003600
Capabilities:
Access peb ldr_data
Get number of processors
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword gs:[0x60]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x18]
add rax, 0x10
cmp qword [rsp + 0x38], rax
je 0x1400037d1
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax + 0x88]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x20], 0
jmp 0x140003713
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x1400037bf
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x40], eax
movsxd rax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x98], rax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax*4]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x98]
call fcn.1400035a0
test eax, eax
jne 0x1400037ba
mov rax, qword [rsp + 0xa0]
jmp 0x1400037d3
jmp 0x140003709
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
jmp 0x14000362f
xor eax, eax
add rsp, 0xb8
ret
Function at 0x14000c410
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1400a82a0]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x14000c49e
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
mov eax, dword [rsp + 4]
mov dword [rsp], eax
jmp 0x14000c442
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x14000c4b0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x1400a82a0]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x14000c5b4
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x14000c5af
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 2], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 2]
mov byte [rsp + 1], al
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x14000c584
cmp qword [rsp + 0x38], 2
jb 0x14000c584
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14000c584
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14000c584
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x14000c4f7
jmp 0x14000c646
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 3], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 3]
mov byte [rsp], al
movzx eax, byte [rsp]
test eax, eax
je 0x14000c646
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x14000c61c
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14000c61c
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x14000c61c
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x14000c5b4
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x14005d4c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x3c18]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
movss xmm0, dword [rax + 0x3c20]
movss dword [rsp + 0x24], xmm0
mov rax, qword [rsp + 0x50]
movss xmm0, dword [rsp + 0x24]
divss xmm0, dword [rax + 0x14]
movss dword [rsp + 0x3c], xmm0
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x70]
call fcn.140006650
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x30], rax
jae 0x14005d60f
mov rax, qword [rsp + 0x30]
movzx eax, word [rax]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
add rax, 2
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xa
jne 0x14005d5d1
movss xmm1, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax]
call fcn.140030900
mov rax, qword [rsp + 0x70]
movss dword [rax], xmm0
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0xa0]
test eax, eax
je 0x14005d5cc
jmp 0x14005d60f
jmp 0x14005d542
cmp dword [rsp + 0x28], 0xd
jne 0x14005d5dd
jmp 0x14005d542
movzx edx, word [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.140057e60
mulss xmm0, dword [rsp + 0x3c]
movss dword [rsp + 0x40], xmm0
movss xmm0, dword [rsp + 0x20]
addss xmm0, dword [rsp + 0x40]
movss dword [rsp + 0x20], xmm0
jmp 0x14005d542
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [rax]
jbe 0x14005d62e
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rsp + 0x20]
movss dword [rax], xmm0
cmp qword [rsp + 0x98], 0
je 0x14005d66a
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
movaps xmm2, xmm0
movss xmm1, dword [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140006650
mov rax, qword [rax]
mov rcx, qword [rsp + 0x98]
mov qword [rcx], rax
movss xmm0, dword [rsp + 0x20]
comiss xmm0, dword [0x1400c2fe4]
ja 0x14005d68e
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
ucomiss xmm0, dword [0x1400c2fe4]
jp 0x14005d6a8
jne 0x14005d6a8
mov rax, qword [rsp + 0x70]
movss xmm0, dword [rax + 4]
addss xmm0, dword [rsp + 0x24]
mov rax, qword [rsp + 0x70]
movss dword [rax + 4], xmm0
cmp qword [rsp + 0x90], 0
je 0x14005d6c3
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x14006a250
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov rcx, rax
call fcn.140075000
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x40]
add rax, 0x28
mov rcx, qword [rsp + 0x40]
add rcx, 0x18
lea r8, [rsp + 0x20]
mov rdx, rax
call fcn.14007c410
mov rax, qword [rsp + 0x40]
add rax, 0x28
lea rcx, [0x1400c0b10]
add rcx, 0x20
mov r8, rax
mov rdx, rcx
lea rcx, [0x1400c0b10]
call fcn.14007c4c0
add rsp, 0x38
ret
Function at 0x14009c0d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
sub rsp, 0x18
mov rax, qword gs:[0x60]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
cmp byte [rax + 2], 0
je 0x14009c0f3
mov byte [rsp], 1
jmp 0x14009c0f7
mov byte [rsp], 0
movzx eax, byte [rsp]
add rsp, 0x18
ret

Function at 0x14009c200
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
sub rsp, 0x18
mov rax, qword gs:[0x60]
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xbc]
and eax, 0x70
test eax, eax
je 0x14009c22a
mov byte [rsp], 1
jmp 0x14009c22e
mov byte [rsp], 0
movzx eax, byte [rsp]
add rsp, 0x18
ret

Function at 0x14009f2f0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x1400a4198]
test rax, rax
je 0x14009f33a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14009f33a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14009f33a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14009f33a
cmp dword [rcx + 0x84], 0xe
jbe 0x14009f33a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14009f33c
xor al, al
add rsp, 0x28
ret
Function at 0x140062f30
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rdx + 0x4a], 0
je 0x140062f53
xor eax, eax
nop dword [rax]
lea ecx, [rax + 0x4f]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0x49
jb 0x140062f40
mov byte [rdx + 0x4a], 0
lea rcx, [0x140335bb0]
call fcn.14006e450
lea rax, [0x140335bb0]
add rsp, 0x28
ret
Function at 0x1400643d0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rdx + 0x15], 0
je 0x1400643f3
xor eax, eax
nop dword [rax]
lea ecx, [rax + 0x4f]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0x14
jb 0x1400643e0
mov byte [rdx + 0x15], 0
lea rcx, [0x140335bb0]
call fcn.14006e450
lea rax, [0x140335bb0]
add rsp, 0x28
ret
Function at 0x140069110
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14032d5c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x38], rdx
xor r14d, r14d
call fcn.14009ce40
mov rsi, rax
xorps xmm0, xmm0
test rax, rax
jne 0x1400691ea
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
lea r8d, [r14 + 4]
lea rdx, str.null
mov rcx, rdi
call fcn.14006f780
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400691b4
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400691af
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140069306
mov rcx, r8
call fcn.14021d440
mov rax, rdi
mov byte [rbx], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rbx + 0x10], r14
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14021d420
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
movups xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x1403033b0]
movdqu xmmword [rbp - 0x20], xmm1
mov byte [rbp - 0x30], 0
movdqa xmm0, xmmword [0x1403034e0]
movdqu xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x50], 0x4d0f0928
mov dword [rbp - 0x4c], 0x490c1402
mov dword [rbp - 0x48], 0x45594656
mov word [rbp - 0x44], 0x100
mov rcx, r14
nop word [rax + rax]
lea eax, [rcx + 0x4f]
xor byte [rbp + rcx - 0x60], al
inc rcx
cmp rcx, 0x1c
jb 0x140069230
mov byte [rbp - 0x43], 0
lea r8, [rbp - 0x60]
mov edx, 0x2712
mov rcx, rsi
call fcn.1400a0ed0
xor r8d, r8d
lea edx, [r8 + 0x40]
mov rcx, rsi
call fcn.1400a0ed0
xor r8d, r8d
lea edx, [r8 + 0x51]
mov rcx, rsi
call fcn.1400a0ed0
mov r8, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140069280
mov r8, qword [rbx]
mov edx, 0x271f
mov rcx, rsi
call fcn.1400a0ed0
lea r8, [0x1400690e0]
mov edx, 0x4e2b
mov rcx, rsi
call fcn.1400a0ed0
lea r8, [rbp - 0x30]
mov edx, 0x2711
mov rcx, rsi
call fcn.1400a0ed0
mov rcx, rsi
call fcn.14009cf10
test eax, eax
je 0x1400692d9
mov ecx, eax
call fcn.14009df70
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rsi
call fcn.14009ce20
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x1403033b0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
jmp 0x14006917a
call fcn.1402322a0
int3
Function at 0x14006a760
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rdx + 0x26], 0
je 0x14006a783
xor eax, eax
nop dword [rax]
lea ecx, [rax + 0x4f]
xor byte [rax + rdx], cl
inc rax
cmp rax, 0x25
jb 0x14006a770
mov byte [rdx + 0x26], 0
lea rcx, [0x140335bb0]
call fcn.14006e450
lea rax, [0x140335bb0]
add rsp, 0x28
ret
Function at 0x1400a6e20
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 [0x14032d5c0]
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 0x1400a6e8c
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.1400c5b00
jmp 0x1400a6f6a
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 0x1400a6ebc
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.1400c5b00
jmp 0x1400a6f6a
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x1400a6ee0
cmp ecx, 1
je 0x1400a6ecf
mov ebx, r14d
call fcn.1400a7950
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x1400a6ee5
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x1402698d4]
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.1400b6e10
lea rcx, [rsp + 0x58]
call fcn.1400a6cb0
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.1400a75b0
test al, al
je 0x1400a6f59
mov dword [r15], 1
jmp 0x1400a6f68
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.1400b2ed0
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14021d420
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x1400a6e20
Function at 0x1400b66e0
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 [0x1403323c0], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x1400b678f
test rdi, rdi
je 0x1400b678f
mov eax, dword [0x1403323c4]
test eax, eax
jne 0x1400b6787
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.1400b6430
mov ecx, 2
call fcn.14023aa64
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.1400b6de0
mov rcx, qword [0x1403323b8]
call fcn.14024059c
call fcn.140232568
mov dword [rax], ntohl
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x1403323c4], eax
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test rdi, rdi
je 0x1400b67b7
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.1400b6430
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x1400b6830
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 [0x1403323c0], 0
mov esi, r8d
mov rdi, qword [rsp + 0x68]
je 0x1400b68df
test rdi, rdi
je 0x1400b68df
mov eax, dword [0x1403323c4]
test eax, eax
jne 0x1400b68d7
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.1400b6430
mov ecx, 2
call fcn.14023aa64
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.1400b6de0
mov rcx, qword [0x1403323b8]
call fcn.14024059c
call fcn.140232568
mov dword [rax], ntohl
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
dec eax
mov dword [0x1403323c4], eax
call qword [sym.imp.WS2_32.dll_send]
mov ebx, eax
test rdi, rdi
je 0x1400b6907
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.1400b6430
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400c5e80
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 [0x14032d5c0]
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 0x1400a6e8c
mov r9d, ebp
lea rdx, [rsp + 0x20]
mov r8, rdi
mov ecx, ebx
call fcn.1400c5b00
jmp 0x1400a6f6a
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 0x1400a6ebc
mov r9d, ebp
lea rdx, [rsp + 0x58]
mov r8, rdi
mov ecx, ebx
call fcn.1400c5b00
jmp 0x1400a6f6a
mov ecx, dword [rsi + 0x440]
sub ecx, 1
je 0x1400a6ee0
cmp ecx, 1
je 0x1400a6ecf
mov ebx, r14d
call fcn.1400a7950
test al, al
mov eax, 2
cmove ebx, eax
jmp 0x1400a6ee5
mov ebx, 2
cmp dword [rsi + 0xbc], 3
lea r8, [0x1402698d4]
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.1400b6e10
lea rcx, [rsp + 0x58]
call fcn.1400a6cb0
lea r9, [rsp + 0x28]
mov r8d, ebp
mov rdx, rdi
mov rcx, rsi
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
call fcn.1400a75b0
test al, al
je 0x1400a6f59
mov dword [r15], 1
jmp 0x1400a6f68
lea rdx, str.getaddrinfo___thread_failed_to_start_n
mov rcx, r13
call fcn.1400b2ed0
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14021d420
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
jmp 0x1400a6e20
Function at 0x1400c9cc0
Capabilities:
Encode data using xor

Disassembly:
push r14
push r15
sub rsp, 0x1f8
mov rax, qword [0x14032d5c0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
cmp byte [0x140332680], 0
mov r14, rcx
jne 0x1400c9cf9
call fcn.140102ce0
test eax, eax
je 0x1400c9d17
mov byte [0x140332680], 1
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.14021d420
add rsp, 0x1f8
pop r15
pop r14
ret
mov rcx, qword [r14 + 0xcf8]
test rcx, rcx
je 0x1400c9d36
mov edx, 0x400
call fcn.140103d80
call fcn.140102ce0
test eax, eax
jne 0x1400c9cf9
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 [0x140270608]
nop dword [rax]
nop word [rax + rax]
mov rsi, r15
lea rbp, [rsp + 0x80]
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.1400a6cb0
mov ecx, 1
movups xmm6, xmmword [rax]
movups xmmword [rsp + 0x20], xmm6
call fcn.1400b2dc0
lea rcx, [rsp + 0x40]
lea rdi, [rsi + 3]
call fcn.1400a6cb0
lea rcx, [rsp + 0x50]
movsxd rbx, dword [rax + 8]
call fcn.1400a6cb0
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.1400a6cb0
lea rcx, [rsp + 0x70]
mov rbx, rax
call fcn.1400a6cb0
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 0x1400c9d90
movaps xmm2, xmm7
lea rcx, [rsp + 0x80]
mov edx, 0x40
call fcn.140102a10
call fcn.140102ce0
test eax, eax
je 0x1400c9d80
mov edx, 0x100
mov byte [rsp + 0xc0], r15b
lea rcx, [rsp + 0xc0]
call fcn.140103b10
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 0x1400c9ecd
mov edx, 0x400
lea rcx, [rsp + 0xc0]
call fcn.140103d80
call fcn.140102ce0
test eax, eax
jne 0x1400c9cf9
lea rdx, str.libcurl_is_now_using_a_weak_random_seed__n
mov rcx, r14
call fcn.1400b3050
call fcn.140102ce0
test eax, eax
mov ecx, reloc.WLDAP32.dll_Ordinal_35
cmovne ecx, r15d
mov eax, ecx
jmp 0x1400c9cfb