joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007b800
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
vmovdqu xmm4, xmmword [r9 - 0x80]
vmovdqu xmm2, xmmword [r11 + 0x20]
lea r13, [r10 - 1]
vmovups xmm15, xmmword [r9 - 0x70]
lea r12, [r9 - 0x60]
vpxor xmm9, xmm1, xmm4
add ebx, 0x6000000
jb 0x14007b920
vpaddb xmm10, xmm1, xmm2
vpaddb xmm11, xmm10, xmm2
vpxor xmm10, xmm10, xmm4
vpaddb xmm12, xmm11, xmm2
vpxor xmm11, xmm11, xmm4
vpaddb xmm13, xmm12, xmm2
vpxor xmm12, xmm12, xmm4
vpaddb xmm14, xmm13, xmm2
vpxor xmm13, xmm13, xmm4
vpaddb xmm1, xmm14, xmm2
vpxor xmm14, xmm14, xmm4
jmp 0x14007b860
vaesenc xmm9, xmm9, xmm15
vaesenc xmm10, xmm10, xmm15
vaesenc xmm11, xmm11, xmm15
vaesenc xmm12, xmm12, xmm15
vaesenc xmm13, xmm13, xmm15
vaesenc xmm14, xmm14, xmm15
vmovups xmm15, xmmword [r12]
lea r12, [r12 + 0x10]
dec r13d
jne 0x14007b860
vmovdqu xmm3, xmmword [r12]
vaesenc xmm9, xmm9, xmm15
vpxor xmm4, xmm3, xmmword [rcx]
vaesenc xmm10, xmm10, xmm15
vpxor xmm5, xmm3, xmmword [rcx + 0x10]
vaesenc xmm11, xmm11, xmm15
vpxor xmm6, xmm3, xmmword [rcx + 0x20]
vaesenc xmm12, xmm12, xmm15
vpxor xmm8, xmm3, xmmword [rcx + 0x30]
vaesenc xmm13, xmm13, xmm15
vpxor xmm2, xmm3, xmmword [rcx + 0x40]
vaesenc xmm14, xmm14, xmm15
vpxor xmm3, xmm3, xmmword [rcx + 0x50]
lea rcx, [rcx + 0x60]
vaesenclast xmm9, xmm9, xmm4
vaesenclast xmm10, xmm10, xmm5
vaesenclast xmm11, xmm11, xmm6
vaesenclast xmm12, xmm12, xmm8
vaesenclast xmm13, xmm13, xmm2
vaesenclast xmm14, xmm14, xmm3
vmovups xmmword [rdx], xmm9
vmovups xmmword [rdx + 0x10], xmm10
vmovups xmmword [rdx + 0x20], xmm11
vmovups xmmword [rdx + 0x30], xmm12
vmovups xmmword [rdx + 0x40], xmm13
vmovups xmmword [rdx + 0x50], xmm14
lea rdx, [rdx + 0x60]
ret
vpshufb xmm6, xmm1, xmm0
vmovdqu xmm5, xmmword [r11 + 0x30]
vpaddd xmm10, xmm6, xmmword [r11 + 0x40]
vpaddd xmm11, xmm6, xmm5
vpaddd xmm12, xmm10, xmm5
vpshufb xmm10, xmm10, xmm0
vpaddd xmm13, xmm11, xmm5
vpshufb xmm11, xmm11, xmm0
vpxor xmm10, xmm10, xmm4
vpaddd xmm14, xmm12, xmm5
vpshufb xmm12, xmm12, xmm0
vpxor xmm11, xmm11, xmm4
vpaddd xmm1, xmm13, xmm5
vpshufb xmm13, xmm13, xmm0
vpxor xmm12, xmm12, xmm4
vpshufb xmm14, xmm14, xmm0
vpxor xmm13, xmm13, xmm4
vpshufb xmm1, xmm1, xmm0
vpxor xmm14, xmm14, xmm4
jmp 0x14007b860
Function at 0x14009cc30
Capabilities:
Read .ini file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc50
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0xc48], rax
lea r15, [rsp + 0x440]
mov r8d, 0x800
mov rcx, r15
xor edx, edx
call fcn.1401cdd80
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x400
lea r8, [0x1402746c2]
mov rcx, r14
mov rdx, rbx
mov r9, r15
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rcx, r15
call fcn.14018f978
mov rbx, rax
test ebx, ebx
jle 0x14009cd62
movabs r15, 0x7ffffffffffffff7
lea rdi, [rsp + 0x40]
mov r8d, 0x400
mov rcx, rdi
xor edx, edx
call fcn.1401cdd80
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
lea r8, [rsp + 0x440]
xor ecx, ecx
xor edx, edx
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, rdi
call fcn.1401b34d0
cmp rax, r15
ja 0x14009cdaa
mov rbx, rax
cmp rax, 0x16
ja 0x14009cd6b
mov byte [rsi + 0x17], bl
mov rcx, rsi
lea r14, [rcx + rbx]
cmp rcx, rdi
seta al
cmp r14, rdi
setbe dl
or dl, al
je 0x14009cdad
test rbx, rbx
je 0x14009cd3c
lea rdx, [rsp + 0x40]
mov r8, rbx
call fcn.1401cd6e0
mov byte [r14], 0
mov rcx, qword [rsp + 0xc48]
xor rcx, rsp
call fcn.140191d70
mov rax, rsi
add rsp, 0xc50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor eax, eax
mov byte [rsi + 0x17], al
mov byte [rsi], al
jmp 0x14009cd40
lea rax, [r15 + 1]
and rax, rbx
add rax, 8
mov r14, rbx
or r14, 7
cmp r14, 0x17
cmove r14, rax
inc r14
mov rcx, r14
call fcn.14018f5a8
mov rcx, rax
mov qword [rsi], rax
add r15, 9
or r15, r14
mov qword [rsi + 0x10], r15
mov qword [rsi + 8], rbx
jmp 0x14009cd12
int3
int3

Function at 0x14009e760
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [rcx + 8]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14009e797
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14009e797
movzx edx, word [rax + rcx + 0x14]
cmp edx, 0xf0
jne 0x14009e797
movzx eax, word [rax + rcx + 0x18]
cmp eax, 0x20b
sete al
ret
xor eax, eax
jmp 0x14009e796
Function at 0x1400a2dc0
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
cmp dword [rcx + 0xb78], 0x8000
jne 0x1400a2ed4
mov rsi, rcx
movzx eax, word [0x1402b5808]
lea rax, [rax + rax*4]
cmp dword [rcx + rax*8 + 0x60], 0x200
jne 0x1400a2ed7
lea rcx, [0x1402b57c0]
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400a2edd
cmp byte [0x1402c5fe8], 0
je 0x1400a2e4a
lea rcx, [0x1402b57c0]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor eax, eax
lock cmpxchg qword [0x1402c5ff0], rsi
jne 0x1400a2eda
add rsi, 0x48
lea rax, [0x1400a2f00]
mov qword [0x1402cbd60], rax
xor eax, eax
lea rcx, [0x1402c5fa0]
jmp 0x1400a2ead
cmp qword [0x1402cbd50], 0
jne 0x1400a2eee
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400a2ef1
mov dword [0x1402c5f90], eax
mov dword [0x1402cbd58], eax
lea rax, [0x14002a4e0]
mov qword [0x1402cbd50], rax
mov byte [0x1402c5fe8], 1
jmp 0x1400a2e0f
mov dl, 0x80
jmp 0x1400a2e9d
cmp edx, 0x201
setb dl
shl dl, 4
add dl, 0x10
mov byte [rax + rcx], dl
inc rax
add rsi, 0x28
cmp rax, 0x48
je 0x1400a2eca
cmp qword [rsi], 0
je 0x1400a2ed0
mov edx, dword [rsi + 0x18]
cmp edx, 0x81
jb 0x1400a2e8a
cmp edx, 0x101
jae 0x1400a2e8e
mov dl, 0x40
jmp 0x1400a2e9d
add rsp, 0x20
pop rsi
ret
xor edx, edx
jmp 0x1400a2e9d
int3
int3
int3
lea rcx, [0x1402b57c0]
call fcn.1401200d0
jmp 0x1400a2e06
int3
int3

Function at 0x1400a3280
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, 1
lea rdx, [0x14028cc10]
cmp qword [0x1402c1810], rdx
jne 0x1400a32ae
test rcx, rcx
je 0x1400a32f8
mov qword [0x1402c1810], rcx
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rax, qword [fcn.14018db40]
mov rcx, rsi
call qword [0x1402a3ee8]
xor esi, esi
lea rax, [0x140291c28]
mov qword [0x1402c1810], rax
mov rax, qword [fcn.14018db40]
mov rcx, rsi
call qword [0x1402a3ee8]
jmp 0x1400a32ac
mov rax, qword [fcn.14018db40]
mov rcx, r14
jmp 0x1400a32c4
mov edi, 1
xor r14d, r14d
lea rbx, str.CURL_SSL_BACKEND
mov r15, qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov rax, qword [fcn.14018db60]
mov edx, edi
mov rcx, r14
call qword [0x1402a3ee8]
test rax, rax
je 0x1400a32ec
mov rsi, rax
mov rcx, rbx
mov rdx, rax
mov r8d, edi
call r15
test eax, eax
je 0x1400a32ba
cmp eax, edi
je 0x1400a32ba
cmp eax, 0x8001
jae 0x1400a32ba
mov r14, rsi
cmp eax, edi
mov edi, eax
jae 0x1400a330e
mov rdx, qword [str.schannel]
mov rcx, rsi
call fcn.1400a9730
test eax, eax
je 0x1400a32cc
mov rax, qword [fcn.14018db40]
lea rcx, [0x140291c28]
mov qword [0x1402c1810], rcx
jmp 0x1400a32e1
Function at 0x1400a8450
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using djb2

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x40], rax
test rcx, rcx
je 0x1400a8496
mov rsi, rcx
lea r8, [rsp + 0x2c]
mov dword [r8], 0xaaaaaaaa
movaps xmm0, xmmword [0x14026f080]
movaps xmmword [rsp + 0x30], xmm0
mov ecx, 2
mov rdx, rsi
call fcn.1400c61d0
test eax, eax
je 0x1400a84af
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140191d70
mov rax, rdi
add rsp, 0x48
pop rdi
pop rsi
ret
lea r8, [rsp + 0x30]
mov ecx, Ordinal_26
mov rdx, rsi
call fcn.1400c61d0
test eax, eax
jne 0x1400a8496
mov rcx, rsi
call fcn.1401b34d0
mov edi, 5
test rax, rax
je 0x1400a8498
lea r9, [rax + rsi]
dec r9
mov rdx, 0xffffffffffffffff
xor ecx, ecx
cmp r9, rsi
jb 0x1400a852d
inc rdx
lea r8, [r9 - 1]
cmp byte [r9], 0x2e
mov r9, r8
jne 0x1400a84e7
mov rcx, rdx
sub rcx, rax
cmp rcx, 0xffffffffffffffff
je 0x1400a852b
xor ecx, ecx
cmp r8, rsi
jb 0x1400a852d
lea r9, [r8 - 1]
inc rdx
cmp byte [r8], 0x2e
mov r8, r9
jne 0x1400a850a
add r9, 2
mov rax, rdx
mov rcx, r9
jmp 0x1400a852d
xor ecx, ecx
test rcx, rcx
cmovne rsi, rcx
test rax, rax
jle 0x1400a8498
add rax, rsi
mov ecx, 0x1505
mov rdx, rcx
shl rdx, 5
add rdx, rcx
movzx ecx, byte [rsi]
inc rsi
lea r8d, [rcx - 0x61]
lea r9d, [rcx - 0x20]
cmp r8b, 0x1a
movzx r8d, r9b
cmovae r8d, ecx
movzx ecx, r8b
xor rcx, rdx
cmp rsi, rax
jb 0x1400a8545
movzx edi, cl
jmp 0x1400a8498
Function at 0x1400aae40
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [rcx]
mov rcx, rbx
mov edx, 3
call fcn.1400ba780
mov rax, qword [rsi + 0x698]
test byte [rax + 0x80], 0x10
jne 0x1400ab0c5
xor eax, eax
mov byte [rdi], al
mov byte [rsi + 0x66b], al
cmp qword [rbx + 0xd08], 0
je 0x1400aaed4
mov rax, qword [fcn.14018db40]
mov rcx, qword [rsi + 0x6e0]
call qword [0x1402a3ee8]
mov qword [rsi + 0x6e0], 0
mov rdx, qword [rbx + 0xd08]
lea rcx, str.User_Agent:__s_r_n
call fcn.1400bc1e0
mov qword [rsi + 0x6e0], rax
test rax, rax
je 0x1400aaf0b
mov qword [rbx + 0x108], 0
cmp byte [0x1402c87c0], 1
je 0x1400aaf15
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
imul rcx, rcx, 0x10624dd3
shr rcx, 0x26
imul edx, ecx, 0x3e8
sub eax, edx
imul eax, eax, 0x3e8
jmp 0x1400aaf4e
mov edi, reloc.WLDAP32.dll_Ordinal_27
jmp 0x1400ab0ca
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x38]
mov qword [r14], rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [r14]
mov r8, qword [0x1402c87c8]
cqo
idiv r8
mov rcx, rax
imul rax, rdx, 0xf4240
cqo
idiv r8
movabs r14, 0xaaaaaaaa00000000
mov eax, eax
or rax, r14
mov qword [rsi + 0x490], rcx
mov qword [rsi + 0x498], rax
cmp qword [rsi + 0x4c0], 0xffffffffffffffff
je 0x1400ab059
mov rcx, rbx
mov edx, 4
call fcn.1400ba780
cmp byte [rsi + 0x558], 0
jne 0x1400aaf9c
mov rax, qword [rsi + 0x698]
test byte [rax + 0x7c], 0x30
je 0x1400aafa9
mov rcx, rbx
mov edx, 5
call fcn.1400ba780
mov bl, 1
mov byte [rsi + 0x652], bl
mov byte [rdi], bl
mov rdx, qword [rsi + 0x4c0]
mov rcx, rsi
call fcn.1400b6120
mov rcx, qword [rsi]
cmp byte [rcx + 0xf1e], bl
jne 0x1400ab02d
mov eax, dword [rsi + 0x2d0]
mov edx, dword [rsi + 0x3f0]
lea r9, [rsi + 0x2f8]
mov r8d, 0x398
cmp byte [rsi + 0x65b], 0
jne 0x1400ab015
mov r8d, 0x3d0
cmp byte [rsi + 0x65a], 0
jne 0x1400ab015
cmp byte [rsi + 0x657], 0
mov r10d, 0x378
mov r8d, 0x348
cmovne r8, r10
mov r8, qword [rsi + r8]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
lea rdx, str.Connected_to__s___s__port__ld___ld__n
call fcn.1400b0c00
cmp byte [0x1402c87c0], 1
je 0x1400ab077
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
imul rcx, rcx, 0x10624dd3
shr rcx, 0x26
imul edx, ecx, 0x3e8
sub eax, edx
imul eax, eax, 0x3e8
jmp 0x1400ab0b0
mov byte [rsi + 0x652], 0
mov rdx, qword [rsi + 0x2d8]
mov rcx, rsi
call fcn.1400b7050
mov edi, eax
test eax, eax
jne 0x1400ab0ca
jmp 0x1400ab02d
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x38]
mov qword [rdi], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
mov r8, qword [0x1402c87c8]
cqo
idiv r8
mov rcx, rax
imul rax, rdx, 0xf4240
cqo
idiv r8
mov eax, eax
or rax, r14
mov qword [rsi + 0x490], rcx
mov qword [rsi + 0x498], rax
jmp 0x1400ab0c8
mov byte [rdi], 1
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140191d70
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400b0480
Capabilities:
Initialize winsock library

Disassembly:
push rsi
push rdi
sub rsp, 0x1c8
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
test cl, 2
je 0x1400b04fb
lea rsi, [rsp + 0x28]
mov r8d, 0x198
mov rcx, rsi
mov dl, 0xaa
call fcn.1401cdd80
mov cx, 0x202
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1400b04e7
mov esi, 2
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140191d70
mov eax, esi
add rsp, 0x1c8
pop rdi
pop rsi
ret
movzx eax, word [rsp + 0x28]
cmp eax, 0x202
je 0x1400b04fb
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x1400b04c6
call fcn.1400ead40
mov esi, eax
test eax, eax
jne 0x1400b04cb
lea rcx, str.iphlpapi.dll
call fcn.1400b05f0
mov qword [0x1402c87b8], rax
test rax, rax
je 0x1400b053a
lea rdx, str.if_nametoindex
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400b053a
mov qword [0x1402c87b0], rax
lea rdi, [rsp + 0x34]
xor esi, esi
mov r8d, 0x110
mov rcx, rdi
xor edx, edx
call fcn.1401cdd80
movabs rax, 0x60000011c
mov qword [rdi - 0xc], rax
mov dword [rdi - 4], 0
mov dword [rdi + 4], 2
mov rdi, qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
xor ecx, ecx
mov edx, 2
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 1
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 0x20
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 0x10
mov r8b, 3
call rdi
mov rcx, rax
mov edx, 8
mov r8b, 1
call rdi
lea rcx, [rsp + 0x28]
mov edx, 0x33
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
setne byte [0x1402c87c0]
lea rcx, [0x1402c87c8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
jmp 0x1400b04cb
Function at 0x1400b05f0
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rcx
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b0662
mov rbx, rax
lea rdx, [0x14028dc1c]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, [0x14028dc2c]
mov rcx, rdi
call fcn.1401b5b24
test rax, rax
je 0x1400b0674
test rsi, rsi
je 0x1400b06a2
mov r9, qword [0x1402a3ee8]
mov rcx, rdi
xor edx, edx
mov r8d, 8
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp r9
xor r14d, r14d
mov rax, r14
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
test rsi, rsi
je 0x1400b06cc
lea rdx, str.AddDllDirectory
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400b06cc
mov r9, qword [0x1402a3ee8]
mov rcx, rdi
xor edx, edx
mov r8d, 0x800
jmp 0x1400b0651
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor r14d, r14d
mov rax, qword [fcn.14018db40]
mov rcx, rbx
call qword [0x1402a3ee8]
jmp 0x1400b0665
xor r14d, r14d
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400b0665
mov r15d, eax
mov rcx, rdi
call fcn.14018f978
mov rdx, qword [fcn.140136bd0]
lea ecx, [r15 + 1]
add rcx, rax
add rcx, rcx
mov rax, rdx
call qword [0x1402a3ee8]
mov rbx, rax
test rax, rax
je 0x1400b06b7
mov rcx, rbx
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1400b06b7
mov rcx, rbx
call fcn.14018f978
lea rcx, [rbx + rax*2]
lea rdx, [0x1402779c8]
call fcn.1401b5a54
mov rcx, rbx
call fcn.14018f978
lea rcx, [rbx + rax*2]
mov rdx, rdi
call fcn.1401b5a54
mov rcx, rbx
test rsi, rsi
je 0x1400b0767
xor edx, edx
mov r8d, 8
mov rax, rsi
call qword [0x1402a3ee8]
mov r14, rax
jmp 0x1400b06ba
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x1400b075f
Function at 0x1400b12d0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x128
mov rdi, r9
mov rbx, r8
mov rsi, rcx
mov r12, qword [rsp + 0x190]
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x120], rax
movsxd rbp, edx
mov r14, qword [rcx + rbp*8 + 0x4c0]
mov rax, qword [rcx + 0x698]
test byte [rax + 0x7c], 3
je 0x1400b1333
lea rax, [0x1400b14d0]
cmp qword [rsi + rbp*8 + 0x4e8], rax
je 0x1400b13eb
mov rcx, r14
mov rdx, rbx
mov r8d, edi
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
mov dword [r12], 0
cmp eax, 0xffffffff
je 0x1400b137c
movsxd rsi, eax
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.140191d70
mov rax, rsi
add rsp, 0x128
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1400b1395
mov dword [r12], 0x51
xor esi, esi
jmp 0x1400b1355
mov edi, eax
lea rbx, [rsp + 0x20]
mov r8d, 0x100
mov rcx, rbx
mov dl, 0xaa
call fcn.1401cdd80
mov r8d, 0x100
mov ecx, edi
mov rdx, rbx
call fcn.1400c8b00
mov rcx, qword [rsi]
lea rdx, str.Send_failure:__s
mov r8, rax
call fcn.1400b0f00
mov rax, qword [rsi]
mov dword [rax + 0x11b0], edi
mov dword [r12], 0x37
mov rsi, 0xffffffffffffffff
jmp 0x1400b1355
shl rbp, 5
lea r13, [rsi + rbp]
add r13, 0x508
mov r15, qword [r13 + 8]
sub r15, qword [r13 + 0x10]
cmp qword [r13], 0
sete al
test r15, r15
setne cl
or cl, al
cmp cl, 1
jne 0x1400b1333
mov rcx, r14
mov rdx, 0xffffffffffffffff
mov r8, 0xffffffffffffffff
xor r9d, r9d
call fcn.1400cebd0
cmp eax, 0xffffffff
sete cl
test al, 1
sete al
or al, cl
jne 0x1400b1333
add rbp, rsi
add rbp, 0x518
mov rax, qword [r13]
test rax, rax
je 0x1400b1483
mov rdx, qword [rbp]
add rdx, rax
mov rcx, r14
mov r8d, r15d
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x1400b1333
mov eax, eax
add qword [rbp], rax
jmp 0x1400b1333
mov rax, qword [rsi]
movsxd rcx, dword [rax + 0xb70]
add rcx, rcx
mov qword [r13 + 8], rcx
mov rax, qword [fcn.140136bd0]
call qword [0x1402a3ee8]
mov qword [r13], rax
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
test rax, rax
je 0x1400b14b9
mov r15, qword [r13 + 8]
xor edx, edx
jmp 0x1400b145e
mov qword [r13 + 8], 0
jmp 0x1400b1333
Function at 0x1400b6f70
Capabilities:
Set socket configuration

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x34], 0x4020
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x2c], 4
mov eax, dword [0x1402c87d0]
cmp eax, 2
je 0x1400b7036
mov rsi, rcx
test eax, eax
jne 0x1400b6fe4
mov ecx, 6
xor edx, edx
mov r8d, 2
mov r9d, 3
call fcn.1400b0770
test al, al
je 0x1400b6fda
mov dword [0x1402c87d0], 2
jmp 0x1400b7036
mov dword [0x1402c87d0], 1
lea rax, [rsp + 0x2c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov rcx, rsi
mov edx, 0xffff
mov r8d, 0x1001
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x1400b7015
cmp dword [rsp + 0x30], 0x4020
jg 0x1400b7036
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x34]
mov rcx, rsi
mov edx, 0xffff
mov r8d, 0x1001
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140191d70
nop
add rsp, 0x40
pop rsi
ret
Function at 0x1400b7d80
Capabilities:
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov qword [rsp + 0x20], r9
mov rsi, r8
mov r12, rdx
mov rbx, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, qword [rcx]
lea r15, [rsp + 0x30]
mov r8d, Ordinal_145
mov rcx, r15
mov dl, 0xaa
call fcn.1401cdd80
test rsi, rsi
mov r14, rsi
cmove r14, r15
mov ebp, dword [r12 + 4]
mov dword [r14], ebp
xor r13d, r13d
cmp dword [rbx + 0x32c], 3
setne r13b
inc r13d
mov dword [r14 + 4], r13d
mov r15d, 0x11
cmp dword [rbx + 0x32c], 3
jne 0x1400b7e06
mov r15d, dword [r12 + 0xc]
test rsi, rsi
mov rcx, rsi
lea rax, [rsp + 0x30]
cmove rcx, rax
mov dword [rcx + 8], r15d
mov eax, dword [r12 + 0x10]
mov r8d, Ordinal_133
cmp eax, 0x80
cmovb r8d, eax
mov dword [rcx + 0xc], r8d
add rcx, 0x10
mov rdx, qword [r12 + 0x20]
call fcn.1401cd6e0
mov rax, qword [rdi + 0x738]
test rax, rax
je 0x1400b7ed1
test rdi, rdi
je 0x1400b7ebc
mov rcx, qword [rdi + 0xd8]
test rcx, rcx
je 0x1400b7ea0
mov byte [rcx + 0x18a], 1
mov rax, qword [rdi + 0x738]
mov rcx, qword [rdi + 0x740]
xor edx, edx
mov r8, r14
call qword [0x1402a3ee8]
mov rdx, qword [rsp + 0x20]
mov qword [rdx], rax
mov rcx, qword [rdi + 0xd8]
test rcx, rcx
je 0x1400b7eae
mov byte [rcx + 0x18a], 0
mov rax, qword [rdx]
jmp 0x1400b7ee7
mov rcx, qword [rdi + 0xd0]
test rcx, rcx
jne 0x1400b7e60
jmp 0x1400b7e6e
mov rcx, qword [rdi + 0xd0]
test rcx, rcx
jne 0x1400b7e94
jmp 0x1400b7ee7
mov rcx, qword [0x740]
xor edx, edx
mov r8, r14
call qword [0x1402a3ee8]
jmp 0x1400b7edf
mov ecx, ebp
mov edx, r13d
mov r8d, r15d
call qword [sym.imp.WS2_32.dll_socket]
mov rcx, qword [rsp + 0x20]
mov qword [rcx], rax
cmp rax, 0xffffffffffffffff
je 0x1400b7f33
cmp dword [rbx + 0x32c], 5
jne 0x1400b7f10
lea r8, [rsp + 0x2c]
mov dword [r8], 1
mov rcx, rax
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [rbx + 0x328]
xor ebx, ebx
test eax, eax
je 0x1400b7f38
cmp dword [r14], 0x17
jne 0x1400b7f38
test rsi, rsi
lea rcx, [rsp + 0x30]
cmovne rcx, rsi
mov dword [rcx + 0x28], eax
jmp 0x1400b7f38
mov ebx, 7
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140191d70
mov eax, ebx
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x1400c0da0
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov dword [rsp + 0x20], 0xf0000040
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400c0de2
mov rcx, qword [rsi]
add rsi, 8
mov qword [rsp + 0x20], rsi
mov edx, 0x8003
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
nop
add rsp, 0x30
pop rsi
ret
Function at 0x1400c4fe0
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rdi, r9
mov rsi, r8
mov rbx, rdx
mov r14, rcx
mov ebp, dword [rsp + 0xb0]
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor eax, eax
lea r15, [rsp + 0x48]
mov qword [r15], rax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x34], edi
mov rcx, r8
xor edx, edx
mov r8, r9
call fcn.1401cdd80
mov dword [rsp + 0x20], 0xf0000040
mov rcx, r15
xor edx, edx
xor r8d, r8d
mov r9d, ebp
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x1400c510e
mov edx, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x1400c50ec
mov rcx, qword [rsp + 0x40]
mov rdx, r14
mov r8d, ebx
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x1400c50ec
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x20], 0
lea r8, [rsp + 0x3c]
lea r9, [rsp + 0x38]
mov edx, 4
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x1400c50ec
mov eax, dword [rsp + 0x3c]
cmp rax, rdi
ja 0x1400c50ec
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x34]
mov edx, 2
mov r8, rsi
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400c50fc
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400c510e
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140191d70
nop
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret