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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x20], r9d
push rdi
sub rsp, 0x20
mov r11, rcx
movzx r10d, r8b
movabs rsi, 0x100000001b3
mov ebx, r9d
mov eax, r8d
movabs rbp, 0xcbf29ce484222325
xor r10, rbp
shr eax, 8
imul r10, rsi
movzx r9d, al
mov rdi, rdx
mov rdx, qword [r11 + 0x100e8]
xor r10, r9
imul r10, rsi
mov eax, r8d
shr eax, 0x10
movzx ecx, al
xor r10, rcx
mov eax, r8d
mov rcx, qword [r11 + 0x10110]
imul r10, rsi
shr rax, 0x18
xor r10, rax
imul r10, rsi
and rcx, r10
shl rcx, 4
add rcx, qword [r11 + 0x100f8]
mov rax, qword [rcx + 8]
cmp rax, rdx
je 0x1400b5da0
mov rcx, qword [rcx]
cmp r8d, dword [rax + 0x10]
je 0x1400b5ce5
cmp rax, rcx
je 0x1400b5da0
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x1400b5cd2
test rax, rax
cmove rax, rdx
cmp rax, rdx
je 0x1400b5da0
movzx ecx, byte [rsp + 0x49]
mov r11, qword [rax + 0x30]
mov r9, qword [rax + 0x20]
movzx r8d, bl
xor r8, rbp
imul r8, rsi
xor r8, rcx
movzx ecx, byte [rsp + 0x4a]
imul r8, rsi
xor r8, rcx
movzx ecx, byte [rsp + 0x4b]
imul r8, rsi
xor r8, rcx
imul r8, rsi
and r8, qword [rax + 0x48]
mov r10, r8
add r10, r10
mov rdx, qword [r11 + r10*8 + 8]
mov rcx, rdx
cmp rdx, r9
je 0x1400b5da0
mov rax, qword [r11 + r10*8]
cmp ebx, dword [rdx + 0x10]
je 0x1400b5d5e
nop dword [rax]
cmp rcx, rax
je 0x1400b5da0
mov rcx, qword [rcx + 8]
cmp ebx, dword [rcx + 0x10]
jne 0x1400b5d50
test rcx, rcx
cmove rcx, r9
cmp rcx, r9
je 0x1400b5da0
add r8, r8
mov rax, qword [r11 + r8*8]
cmp ebx, dword [rdx + 0x10]
je 0x1400b5d93
cmp rdx, rax
je 0x1400b5d91
mov rdx, qword [rdx + 8]
cmp ebx, dword [rdx + 0x10]
jne 0x1400b5d76
test rdx, rdx
cmove rdx, r9
add rdx, 0x18
jmp 0x1400b5da5
xor edx, edx
test rdx, rdx
cmove rdx, r9
add rdx, 0x18
jmp 0x1400b5da5
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call fcn.14001fcb0
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b7210
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x50
mov rsi, rcx
movzx r10d, dl
movabs r11, 0x100000001b3
mov eax, edx
shr eax, 8
movabs rdi, 0xcbf29ce484222325
xor r10, rdi
mov rbx, r9
imul r10, r11
mov r9d, r8d
movzx r8d, al
mov eax, edx
xor r10, r8
shr eax, 0x10
mov r8, qword [rsi + 0x100e8]
imul r10, r11
movzx ecx, al
xor r10, rcx
mov eax, edx
mov rcx, qword [rsi + 0x10110]
imul r10, r11
shr rax, 0x18
xor r10, rax
imul r10, r11
and rcx, r10
shl rcx, 4
add rcx, qword [rsi + 0x100f8]
mov rax, qword [rcx + 8]
cmp rax, r8
je 0x1400b7387
mov rcx, qword [rcx]
cmp edx, dword [rax + 0x10]
je 0x1400b72c2
nop dword [rax]
cmp rax, rcx
je 0x1400b7387
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x1400b72b0
test rax, rax
cmove rax, r8
cmp rax, r8
je 0x1400b7387
movzx ecx, byte [rsp + 0x71]
movzx r8d, r9b
xor r8, rdi
mov rdi, qword [rax + 0x30]
imul r8, r11
xor r8, rcx
movzx ecx, byte [rsp + 0x72]
imul r8, r11
xor r8, rcx
movzx ecx, byte [rsp + 0x73]
imul r8, r11
xor r8, rcx
imul r8, r11
mov r11, qword [rax + 0x20]
and r8, qword [rax + 0x48]
mov r10, r8
add r10, r10
mov rcx, qword [rdi + r10*8 + 8]
mov rdx, rcx
cmp rcx, r11
jne 0x1400b732e
add rax, 0x18
lea rdx, [rsp + 0x20]
mov rcx, rax
jmp 0x1400b73a9
mov r10, qword [rdi + r10*8]
cmp r9d, dword [rcx + 0x10]
je 0x1400b7347
cmp rdx, r10
je 0x1400b7320
mov rdx, qword [rdx + 8]
cmp r9d, dword [rdx + 0x10]
jne 0x1400b7338
add rax, 0x18
test rdx, rdx
cmove rdx, r11
cmp rdx, r11
je 0x1400b7324
add r8, r8
mov rax, qword [rdi + r8*8]
cmp r9d, dword [rcx + 0x10]
je 0x1400b737e
cmp rcx, rax
je 0x1400b737c
mov rcx, qword [rcx + 8]
cmp r9d, dword [rcx + 0x10]
jne 0x1400b7364
test rcx, rcx
cmove rcx, r11
jmp 0x1400b73b6
xor ecx, ecx
test rcx, rcx
cmove rcx, r11
jmp 0x1400b73b6
lea rcx, [rsi + 0x100e0]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x20]
call fcn.1400b14f0
lea rdx, [rsp + 0x30]
mov rcx, qword [rax]
add rcx, 0x18
lea r8, [rsp + 0x70]
call fcn.1400b12a0
mov rcx, qword [rax]
add rcx, 0x18
cmp rcx, rbx
je 0x1400b73d5
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
mov r8, qword [rbx + 0x10]
jb 0x1400b73d0
mov rdx, qword [rbx]
call fcn.140018fe0
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14001fcb0
mov r8d, dword [rsp + 0x70]
mov r9, rax
mov edx, dword [rsp + 0x68]
mov rcx, rsi
call fcn.1400b5dd0
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x1400b7540
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
ja 0x1400b76f1
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.1400b7410
mov qword [rsi + 0x38], rdi
lea rax, [rdi - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
mov rdx, rcx
cmp rcx, rbx
je 0x1400b76b6
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + 0x11]
movzx r9d, byte [rcx + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rdx, qword [rdx]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x12]
imul r9, rdi
xor r9, rax
movzx eax, byte [rcx + 0x13]
imul r9, rdi
xor r9, rax
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1400b7630
mov qword [r11], rcx
mov qword [r11 + 8], rcx
jmp 0x1400b76a5
mov rax, qword [r11 + 8]
mov r8d, dword [rcx + 0x10]
cmp r8d, dword [rax + 0x10]
jne 0x1400b766d
mov r8, qword [rax]
cmp r8, rcx
je 0x1400b7667
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], r8
mov rax, qword [r8 + 8]
mov qword [rax], rcx
mov qword [r8 + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], rax
mov qword [r11 + 8], rcx
jmp 0x1400b76a5
cmp r9, rax
je 0x1400b7681
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
je 0x1400b76cb
cmp r9, rax
jne 0x1400b7672
mov r10, qword [rcx + 8]
mov qword [r10], rdx
mov r9, qword [rdx + 8]
mov qword [r9], rax
mov r8, qword [rax + 8]
mov qword [r8], rcx
mov qword [rax + 8], r9
mov qword [rdx + 8], r10
mov qword [rcx + 8], r8
mov qword [r11], rcx
mov rcx, rdx
cmp rdx, rbx
jne 0x1400b75e0
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 [rax]
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], r10
mov rax, qword [r10 + 8]
mov qword [rax], rcx
mov qword [r10 + 8], r8
mov qword [rdx + 8], r9
mov qword [rcx + 8], rax
jmp 0x1400b76a5
lea rcx, str.invalid_hash_bucket_count
call fcn.1400e0e38
int3
Function at 0x1400bb3d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rsi, rcx
mov rbx, r8
mov ecx, 0x20
mov edi, edx
call fcn.1400e282c
test rax, rax
je 0x1400bb40b
lea rcx, [0x1400bb490]
mov qword [rax], rbx
mov qword [rax + 0x18], rcx
mov dword [rax + 8], edi
mov qword [rax + 0x10], rsi
lea rcx, [rsp + 0x38]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x1400b90d0]
xor ecx, ecx
mov dword [rsp + 0x20], 0
xor edx, edx
call fcn.1400f0238
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400bb46a
cmp dword [rsp + 0x38], 0
je 0x1400bb47d
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.1400e1b2c
test eax, eax
jne 0x1400bb488
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
mov ecx, 6
mov dword [rsp + 0x38], 0
call fcn.1400e1ec8
int3
mov ecx, 1
call fcn.1400e1ec8
int3
mov ecx, eax
call fcn.1400e1e8c
int3
Function at 0x1400bdea0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
movzx eax, word [rcx + 0x14]
lea rbx, [rcx + 0x18]
xor r13d, r13d
add rbx, rax
mov r12, rdx
mov r15, rcx
mov r14d, r13d
cmp r13w, word [rcx + 6]
jae 0x1400bdfa6
nop
mov qword [rsp + 0x20], r13
mov r8, 0xffffffffffffffff
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], select
nop word [rax + rax]
inc r8
cmp byte [rbx + r8], r13b
jne 0x1400bdf00
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140018fe0
mov rbp, qword [rsp + 0x38]
lea rdx, [rsp + 0x20]
mov rdi, qword [rsp + 0x20]
cmp rbp, 0x10
mov r8, qword [r12 + 0x10]
mov rcx, r12
cmovae rdx, rdi
cmp qword [r12 + 0x18], 0x10
jb 0x1400bdf41
mov rcx, qword [r12]
cmp r8, qword [rsp + 0x30]
jne 0x1400bdf56
call fcn.1400e5620
test eax, eax
jne 0x1400bdf56
mov sil, 1
jmp 0x1400bdf59
xor sil, sil
cmp rbp, 0x10
jb 0x1400bdf8c
lea rdx, [rbp + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400bdf84
mov rdi, qword [rdi - 8]
add rdx, 0x27
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bdfcd
mov rcx, rdi
call fcn.1400e2868
test sil, sil
jne 0x1400bdfc8
movzx eax, word [r15 + 6]
inc r14d
add rbx, 0x28
cmp r14d, eax
jb 0x1400bdee0
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, rbx
jmp 0x1400bdfa8
call fcn.1400e951c
int3
Function at 0x1400c0060
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
cmp qword [rdx + 0x18], 0x10
mov rdi, r9
mov rbx, r8
jb 0x1400c007a
mov rdx, qword [rdx]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400c00e6
cmp qword [rbx + 0x18], 0x10
mov dword [rsp + 0x58], 8
mov qword [rsp + 0x30], 0
jb 0x1400c00b2
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400c00e6
mov rcx, qword [rsp + 0x30]
mov qword [rdi], rcx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400c0100
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
cmp qword [rdx + 0x18], 0x10
mov rdi, r9
mov rbx, r8
jb 0x1400c011d
mov rdx, qword [rdx]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400c01af
cmp qword [rbx + 0x18], 0x10
mov dword [rsp + 0x258], 0x200
mov dword [rsp + 0x30], 1
jb 0x1400c0157
mov rbx, qword [rbx]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x258]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
jne 0x1400c01ad
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400c0196
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140018fe0
mov eax, ebx
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
Function at 0x1400c0d00
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov eax, dword [rcx]
mov rbx, rdx
movups xmm0, xmmword [0x140118c48]
mov r11d, eax
movzx ecx, ax
movsd xmm1, qword [0x140118c58]
mov r9d, ecx
shr eax, 0x10
shr r9d, 8
shr r11d, 0x18
cmp word [0x140118c5e], 0
movzx edi, al
movzx r8d, cl
movups xmmword [rsp + 0x30], xmm0
movsd qword [rsp + 0x40], xmm1
je 0x1400c0ea2
xor ecx, ecx
cmp dword [0x14024e2c0], 2
jl 0x1400c0e60
movdqa xmm2, xmmword [0x140112370]
mov eax, 4
movdqa xmm3, xmmword [0x140112380]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140115f90]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x50], xmm6
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movd xmm5, eax
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.1111]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [0x140118c48]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
paddw xmm2, xmmword [0x140117260]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movq qword [rsp + 0x30], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movaps xmm6, xmmword [rsp + 0x50]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.1111]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x38]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x140117260]
pxor xmm2, xmm0
movq qword [rsp + 0x38], xmm2
mov eax, ecx
lea r10, [rsp + 0x30]
lea r10, [r10 + rax*2]
nop dword [rax + rax]
mov eax, 0x5397829d
lea r10, [r10 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul edx, eax, 0x31
add dx, cx
inc ecx
xor word [r10 - 2], dx
cmp ecx, 0xc
jl 0x1400c0e70
mov dword [rsp + 0x28], r11d
lea rdx, [rsp + 0x30]
mov rcx, rbx
mov dword [rsp + 0x20], edi
call fcn.1400ae230
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x1400c1880
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1d0
lea rax, fcn.1400c1ba0
mov rbx, rcx
mov qword [rcx], rax
xor eax, eax
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x30], rax
add rcx, 0x38
call fcn.1400c0f80
mov ecx, 0x202
mov byte [rbx + 0x50], 0
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov rax, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rax, rdx
je 0x1400c18ef
nop word [rax + rax]
cmp qword [rax + 8], rbx
je 0x1400c1923
add rax, 0x10
cmp rax, rdx
jne 0x1400c18e0
mov dword [rsp + 0x20], 0xffffffff
mov qword [rsp + 0x28], rbx
cmp rdx, qword [rbx + 0x20]
je 0x1400c1911
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
add qword [rbx + 0x18], 0x10
jmp 0x1400c191f
lea r8, [rsp + 0x20]
lea rcx, [rbx + 0x10]
call fcn.1400b8b10
mov byte [rbx + 0x50], 1
mov rax, rbx
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1d0
pop rdi
ret
Function at 0x1400c2030
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push r14
push r15
mov eax, 0x2040
call fcn.1400e2b80
sub rsp, rax
mov r14, rcx
mov r15, r9
mov rcx, rdx
mov rsi, r8
mov rbp, rdx
call fcn.1400c5000
test al, al
jne 0x1400c2066
mov al, 1
jmp 0x1400c214a
mov dword [r14 + 0x30], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [rbp + 8]
xor r9d, r9d
mov qword [rsp + 0x2060], rbx
mov r8d, 0x2000
mov qword [rsp + 0x2068], rdi
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp eax, 0xffffffff
je 0x1400c2106
movzx ebx, byte [rsp + 0x30]
test edi, edi
je 0x1400c212f
jle 0x1400c20e7
mov rcx, qword [rsi + 0x68]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rdx, qword [rsi + 0x38]
lea r9, [rsp + 0x40]
movsxd rax, edi
lea rcx, [rsi + 0x30]
add r9, rax
mov byte [rsp + 0x20], bl
lea r8, [rsp + 0x40]
call fcn.1400b8ef0
mov rcx, qword [rsi + 0x68]
cmp dword [rcx + 8], 0xffffffff
jge 0x1400c20e7
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rbp + 8]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov r8d, 0x2000
call qword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp eax, 0xffffffff
jne 0x1400c20a2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1400c212f
mov rcx, qword [rsi + 0x30]
cmp qword [rsi + 0x38], rcx
je 0x1400c212b
mov r8, r15
mov rdx, rsi
mov rcx, r14
call fcn.1400c1df0
mov al, 1
jmp 0x1400c213a
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x60]
xor al, al
mov rbx, qword [rsp + 0x2060]
mov rdi, qword [rsp + 0x2068]
mov rbp, qword [rsp + 0x2070]
add rsp, 0x2040
pop r15
pop r14
pop rsi
ret

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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
mov r14, rcx
mov rbx, r8
mov rcx, rdx
mov rbp, rdx
call fcn.1400c50a0
test al, al
je 0x1400c22be
mov rcx, qword [rbx + 0x60]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r8, qword [rbx + 0x50]
mov r9, qword [rbx + 0x48]
cmp r8, r9
je 0x1400c22a4
mov rdx, r9
nop dword [rax]
mov rcx, qword [rbp + 8]
sub r8d, r9d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1400c2293
mov rsi, qword [rbx + 0x48]
movsxd rdx, eax
add rdx, rsi
cmp rsi, rdx
je 0x1400c227e
mov rdi, qword [rbx + 0x50]
mov rcx, rsi
sub rdi, rdx
mov r8, rdi
call fcn.1400e4a20
lea rax, [rdi + rsi]
mov qword [rbx + 0x50], rax
mov rax, qword [rbx + 0x50]
mov rdx, qword [rbx + 0x48]
mov r8d, eax
mov r9d, edx
cmp rax, rdx
jne 0x1400c2240
jmp 0x1400c22a4
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x60]
mov rax, qword [rbx + 0x48]
mov qword [rbx + 0x50], rax
mov rcx, qword [rbx + 0x60]
cmp dword [rcx + 8], 0xffffffff
jge 0x1400c22b4
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rdx, qword [rcx + 8]
test rdx, rdx
je 0x1400c3232
lea r8, [rcx + 0x68]
jmp 0x1400c21f0
ret
Function at 0x1400c2810
Capabilities:
Create thread
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x80
movzx eax, byte [rsp + 0xc8]
mov rbx, 0xffffffffffffffff
mov rbp, r8
mov byte [rcx + 0x168], al
mov r8, rbx
mov byte [rcx + 0x60], 1
mov r14, r9
mov rsi, rdx
mov rdi, rcx
inc r8
cmp byte [rdx + r8], 0
jne 0x1400c2853
add rcx, 0x170
call fcn.140018fe0
nop dword [rax]
inc rbx
cmp byte [rbx + rbp], 0
jne 0x1400c2870
mov r8, rbx
lea rcx, [rdi + 0x190]
mov rdx, rbp
call fcn.140018fe0
xorps xmm0, xmm0
mov dword [rsp + 0x58], 1
xorps xmm1, xmm1
mov dword [rsp + 0x5c], 6
xor r15d, r15d
lea r9, [rdi + 0x58]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x50], r15
mov rdx, rbp
mov rcx, rsi
movdqu xmmword [rsp + 0x60], xmm0
movdqu xmmword [rsp + 0x70], xmm1
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x1400c28d7
mov byte [rdi + 0x60], 3
jmp 0x1400c29a6
mov rax, qword [rdi + 0x58]
mov rcx, rdi
mov r9d, dword [rax + 0xc]
mov r8d, dword [rax + 8]
mov edx, dword [rax + 4]
call fcn.1400c1b30
test al, al
jne 0x1400c28fd
mov byte [rdi + 0x60], 3
xor eax, eax
jmp 0x1400c29a6
cmp byte [rsp + 0xc0], r15b
je 0x1400c2990
mov ecx, 0x28
call fcn.1400e282c
test rax, rax
je 0x1400c293c
lea rcx, [fcn.1400c29f0]
mov qword [rax], r14
mov qword [rax + 0x20], rcx
mov dword [rax + 8], 0x320
mov dword [rax + 0x10], 0xa
mov qword [rax + 0x18], rdi
jmp 0x1400c293f
mov rax, r15
lea rcx, [rsp + 0x38]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x1400c2440]
xor ecx, ecx
mov dword [rsp + 0x20], r15d
xor edx, edx
call fcn.1400f0238
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400c29c3
cmp dword [rsp + 0x38], r15d
je 0x1400c29db
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.1400e1b2c
test eax, eax
jne 0x1400c29d3
jmp 0x1400c28f6
mov r9, r14
mov edx, 0xa
mov r8d, 0x320
mov rcx, rdi
call fcn.1400c29f0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov ecx, 6
mov dword [rsp + 0x38], r15d
call fcn.1400e1ec8
int3
mov ecx, eax
call fcn.1400e1e8c
int3
mov ecx, 1
call fcn.1400e1ec8
int3
Function at 0x1400c29f0
Capabilities:
Connect socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rsi, r9
mov r13d, r8d
mov r15d, edx
mov r12, rcx
mov r14d, edx
test edx, edx
jle 0x1400c2b1c
mov ebp, 1
nop dword [rax + rax]
mov rax, qword [r12 + 0x58]
mov r8d, dword [rax + 0x10]
mov rdx, qword [rax + 0x20]
mov rax, qword [r12 + 8]
mov rcx, qword [rax + 8]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1400c2b51
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
cmp eax, 0x274d
jne 0x1400c2ab5
test rsi, rsi
je 0x1400c2b05
mov rbx, qword [rsi]
mov rdi, qword [rsi + 8]
cmp rbx, rdi
je 0x1400c2b05
nop dword [rax]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400c2aaa
mov dword [rsp + 0x78], r14d
lea r8, [rsp + 0x78]
mov dword [rsp + 0x20], ebp
lea rdx, [rsp + 0x20]
mov rax, qword [rcx]
mov r9, qword [rax + 0x10]
call r9
cmp al, 1
je 0x1400c2b05
add rbx, 0x40
cmp rbx, rdi
jne 0x1400c2a80
jmp 0x1400c2b05
cmp edx, 0x274c
jne 0x1400c2b45
test rsi, rsi
je 0x1400c2b05
mov rbx, qword [rsi]
mov rdi, qword [rsi + 8]
cmp rbx, rdi
je 0x1400c2b05
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400c2afc
mov dword [rsp + 0x78], r14d
lea r8, [rsp + 0x78]
mov dword [rsp + 0x20], ebp
lea rdx, [rsp + 0x20]
mov rax, qword [rcx]
mov r9, qword [rax + 0x10]
call r9
cmp al, 1
je 0x1400c2b05
add rbx, 0x40
cmp rbx, rdi
jne 0x1400c2ad2
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_Sleep]
dec r15d
inc ebp
test r15d, r15d
jg 0x1400c2a30
mov byte [r12 + 0x60], 3
mov eax, 0xffffffff
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x68]
jmp 0x1400c2b22
mov rcx, qword [r12 + 8]
xor edx, edx
call fcn.1400c5140
xor edx, edx
mov byte [r12 + 0x60], 2
lea rcx, [rsp + 0x28]
call fcn.1400c0ed0
mov rax, qword [r12]
lea r8, [rsp + 0x28]
xor edx, edx
mov dword [rsp + 0x30], select
mov rcx, r12
mov byte [rsp + 0x28], 0
call qword [rax + 0x40]
mov rax, qword [r12]
mov rcx, r12
call qword [rax + ioctlsocket]
test rsi, rsi
je 0x1400c2bea
mov rbx, qword [rsi]
mov rdi, qword [rsi + 8]
cmp rbx, rdi
je 0x1400c2bea
nop dword [rax + rax]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400c2be1
mov dword [rsp + 0x78], 0xffffffff
lea r8, [rsp + 0x78]
mov dword [rsp + 0x20], 0xffffffff
lea rdx, [rsp + 0x20]
mov rax, qword [rcx]
mov r9, qword [rax + 0x10]
call r9
cmp al, 1
je 0x1400c2bea
add rbx, 0x40
cmp rbx, rdi
jne 0x1400c2bb0
xor eax, eax
jmp 0x1400c2b27
Function at 0x1400c3220
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
mov r14, rcx
mov rbx, r8
mov rcx, rdx
mov rbp, rdx
call fcn.1400c50a0
test al, al
je 0x1400c22be
mov rcx, qword [rbx + 0x60]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r8, qword [rbx + 0x50]
mov r9, qword [rbx + 0x48]
cmp r8, r9
je 0x1400c22a4
mov rdx, r9
nop dword [rax]
mov rcx, qword [rbp + 8]
sub r8d, r9d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1400c2293
mov rsi, qword [rbx + 0x48]
movsxd rdx, eax
add rdx, rsi
cmp rsi, rdx
je 0x1400c227e
mov rdi, qword [rbx + 0x50]
mov rcx, rsi
sub rdi, rdx
mov r8, rdi
call fcn.1400e4a20
lea rax, [rdi + rsi]
mov qword [rbx + 0x50], rax
mov rax, qword [rbx + 0x50]
mov rdx, qword [rbx + 0x48]
mov r8d, eax
mov r9d, edx
cmp rax, rdx
jne 0x1400c2240
jmp 0x1400c22a4
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x60]
mov rax, qword [rbx + 0x48]
mov qword [rbx + 0x50], rax
mov rcx, qword [rbx + 0x60]
cmp dword [rcx + 8], 0xffffffff
jge 0x1400c22b4
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rdx, qword [rcx + 8]
test rdx, rdx
je 0x1400c3232
lea r8, [rcx + 0x68]
jmp 0x1400c21f0
ret