joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140053c40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140053cef
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x140053d40]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.14005b380
xorps xmm15, xmm15
mov r14, qword [0x1404e8488]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.14005b4c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.140053c40
Function at 0x14005d300
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x1404e8520]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x1404e8268], 0
je 0x14005d336
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x1404e8800]
aesenc xmm0, xmmword [0x1404e8810]
aesenc xmm0, xmmword [0x1404e8820]
movq rax, xmm0
ret
jmp 0x140009420

Function at 0x14008a730
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14048dc60]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14008a750
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14008a758
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14008a750
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x14008a7a5
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14008a79c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14008a750
add rax, 0x28
cmp rax, r9
jne 0x14008a788
xor eax, eax
ret

Function at 0x14008a7b0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14048dc60]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x14008a7d0
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14008a7d8
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x14008a7d0
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x14008a860
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14048dc60]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x14008a880
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x14008a888
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x140003240
Capabilities:
Hash data using crc32b

Disassembly:
xor r9d, r9d
lea r10, [0x1400e8d20]
nop word [rax + rax]
xor eax, eax
test r9b, 1
je 0x14000325c
bts eax, 7
mov ecx, r9d
shr ecx, 1
test cl, 1
je 0x14000326a
bts eax, 6
shr ecx, 1
test cl, 1
je 0x140003275
bts eax, 5
shr ecx, 1
test cl, 1
je 0x140003280
bts eax, 4
shr ecx, 1
test cl, 1
je 0x14000328b
bts eax, 3
shr ecx, 1
test cl, 1
je 0x140003296
bts eax, 2
shr ecx, 1
test cl, 1
je 0x1400032a1
bts eax, 1
test cl, 2
je 0x1400032aa
bts eax, 0
shl eax, 0x18
lea ecx, [rax + rax]
mov edx, ecx
xor edx, 0x4c11db7
test eax, eax
cmovns edx, ecx
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c11db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c11db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov ecx, eax
xor ecx, 0x4c11db7
test edx, edx
cmovns ecx, eax
lea eax, [rcx + rcx]
mov edx, eax
xor edx, 0x4c11db7
test ecx, ecx
cmovns edx, eax
lea eax, [rdx + rdx]
mov r8d, eax
xor r8d, 0x4c11db7
test edx, edx
cmovns r8d, eax
xor ecx, ecx
lea edx, [rcx + 0x1e]
test r8b, 1
je 0x140003341
lea eax, [rdx + 1]
bts ecx, eax
sar r8d, 1
test r8b, 1
je 0x14000334d
bts ecx, edx
sar r8d, 1
sub edx, 2
cmp edx, 0xfffffffe
jg 0x140003335
mov dword [r10], ecx
inc r9d
add r10, 4
cmp r9d, 0x100
jl 0x140003250
mov dword [0x1400e8974], 1
ret
Function at 0x1400046f0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x20
xor ebx, ebx
lea r14, [rcx + 0xf0]
mov rax, qword [r14]
mov rbp, rcx
lea r9d, [rbx + 1]
cmp rax, r14
je 0x14000473c
nop dword [rax + rax]
mov rbx, rax
cmp word [rax + 0x10], dx
jne 0x14000472f
cmp byte [rax + 0x29], r8b
je 0x140004737
mov rax, qword [rax]
cmp rax, r14
jne 0x140004720
cmp rax, r14
jne 0x140004789
add rcx, 0x110
mov rax, qword [rcx]
cmp rax, rcx
je 0x14000478e
nop dword [rax + rax]
mov rbx, rax
cmp word [rax + 0x26], r9w
jb 0x14000478e
cmp word [rax + 0x10], dx
jne 0x140004766
cmp byte [rax + 0x29], r8b
je 0x140004781
mov rax, qword [rax]
cmp rax, rcx
jne 0x140004750
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp rax, rcx
je 0x14000478e
xor r9d, r9d
test rbx, rbx
jne 0x1400047a1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
movzx eax, r8b
mov qword [rsp + 0x30], rsi
cmp rax, qword [rbp + 0x48]
jae 0x1400047ec
lea r8, [rax + rax*4]
shr dx, 0xc
shl r8, 4
add r8, qword [rbp + 0x40]
movzx eax, dx
lea rcx, [r8 + rax*2]
movzx eax, word [r8 + rax*2 + 6]
test ax, ax
je 0x1400047ec
sub ax, 1
mov word [rcx + 6], ax
jne 0x1400047ec
movzx ecx, word [r8 + 4]
movzx eax, dx
btr ecx, eax
mov word [r8 + 4], cx
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
movzx esi, byte [rbx + 0x28]
and esi, 0xf
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
cmp qword [rbx + 0x58], 0
je 0x140004875
test r9d, r9d
je 0x14000481e
movzx eax, word [rbx + 0x24]
sub dword [rbp + 0xd8], eax
mov rax, qword [rbx + 0x58]
dec qword [rax]
mov rax, qword [rbx + 0x58]
cmp qword [rax], 0
jne 0x140004875
or dword [rax + 8], 0x100
mov qword [rsp + 0x38], rdi
mov rdi, qword [rbx + 0x58]
test rdi, rdi
je 0x140004870
mov rax, qword [rdi + 0x20]
test rax, rax
je 0x140004852
mov rcx, rdi
call rax
test byte [rdi + 8], 4
jne 0x140004867
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140004867
call qword [fcn.1400ae74e]
mov rcx, rdi
call qword [fcn.1400ae74e]
mov rdi, qword [rsp + 0x38]
mov rcx, rbx
call qword [fcn.1400ae74e]
mov rcx, qword [r14]
cmp rcx, r14
je 0x14000488f
mov eax, dword [rcx + 0x18]
add eax, dword [rcx + 0x14]
mov dword [rbp + 0x70], eax
mov rbx, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400054f0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp dword [r8 + 0x38], 1
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov rbp, rcx
je 0x14000551f
xor eax, eax
jmp 0x14000570a
mov ecx, dword [r9 + 0x10]
mov qword [rsp + 0x30], rsi
call qword [sym.imp.WS2_32.dll_ntohl]
mov esi, eax
lea rax, [rsi - 1]
cmp rax, 0xfe
ja 0x14000569f
mov ecx, dword [rdi + 0x1c]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0xa4]
jne 0x14000569f
mov ecx, dword [rdi + 0x20]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0x9c]
jne 0x14000569f
mov ecx, dword [rdi + 0x24]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [rbx + 0xa0]
jne 0x14000569f
mov eax, dword [rbx + 0x1c]
cmp dword [rdi + 0x28], eax
jne 0x14000569f
mov edx, 1
mov r8b, 0xff
mov rcx, rbx
call fcn.1400046f0
cmp rsi, qword [rbx + 0x48]
jae 0x1400055a5
mov qword [rbx + 0x48], rsi
movzx ecx, word [rdi + 4]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rbx + 0x18], ax
movzx eax, byte [rdi + 6]
mov byte [rbx + 0x21], al
movzx eax, byte [rdi + 7]
mov byte [rbx + 0x20], al
mov ecx, dword [rdi + 8]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, 0x240
mov esi, 0x1000
cmp eax, ecx
jb 0x1400055df
cmp eax, esi
mov ecx, eax
cmova ecx, esi
cmp ecx, dword [rbx + 0xd0]
jae 0x1400055ed
mov dword [rbx + 0xd0], ecx
mov ecx, dword [rdi + 0xc]
call qword [sym.imp.WS2_32.dll_ntohl]
cmp eax, esi
jb 0x140005606
mov ecx, 0x10000
mov esi, eax
cmp eax, ecx
cmova esi, ecx
cmp esi, dword [rbx + 0xd4]
jae 0x140005614
mov dword [rbx + 0xd4], esi
mov ecx, dword [rdi + 0x14]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbx + 0x50], eax
mov ecx, dword [rdi + 0x18]
call qword [sym.imp.WS2_32.dll_ntohl]
mov dword [rbx + 0x54], eax
mov dword [rbp + 0x24], 1
mov eax, dword [rbx + 0x38]
test r14, r14
je 0x140005682
add eax, 0xfffffffb
cmp eax, 1
jbe 0x14000565f
cmp dword [rbx + 0x50], 0
je 0x140005654
mov rax, qword [rbx + 0x10]
inc qword [rax + 0x2af0]
mov rax, qword [rbx + 0x10]
inc qword [rax + 0x2ae8]
mov dword [rbx + 0x38], 5
mov dword [r14], 1
mov qword [r14 + 8], rbx
mov eax, dword [rbx + 0x1c8]
mov dword [r14 + 0x14], eax
xor eax, eax
jmp 0x140005705
xor r8d, r8d
mov rdx, rbx
cmp eax, 1
mov rcx, rbp
sete r8b
add r8d, 3
call fcn.1400044b0
xor eax, eax
jmp 0x140005705
mov eax, dword [rbx + 0x38]
xor r8d, r8d
sub eax, 5
mov dword [rbx + 0x1c8], r8d
cmp eax, 1
ja 0x1400056d0
cmp dword [rbx + 0x50], r8d
je 0x1400056c5
mov rax, qword [rbx + 0x10]
dec qword [rax + 0x2af0]
mov rax, qword [rbx + 0x10]
dec qword [rax + 0x2ae8]
mov dword [rbx + 0x38], 9
cmp dword [rbx + 0x140], r8d
jne 0x140005700
mov rax, qword [rbp + 0x50]
lea rcx, [rbp + 0x48]
mov qword [rbx + 8], rax
mov qword [rbx], rcx
mov qword [rax], rbx
mov qword [rcx + 8], rbx
mov dword [rbx + 0x140], 1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400070f0
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [0x1400e8960]
xor r8d, r8d
xor edx, edx
mov dword [rbx + 0x40], eax
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140006a70
Function at 0x1400074c0
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x1400df080]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov ecx, 0x101
lea rdx, [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140007529
movzx eax, word [rsp + 0x20]
cmp al, 1
jne 0x140007523
shr ax, 8
cmp al, 1
jne 0x140007523
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
xor eax, eax
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400ad1e0
add rsp, 0x1d8
ret
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400ad1e0
add rsp, 0x1d8
ret

Function at 0x140007550
Capabilities:
Resolve dns

Disassembly:
push rbx
push r14
sub rsp, 0x58
mov rax, qword [0x1400df080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r14, rcx
mov rbx, rdx
mov rcx, rdx
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x140007595
cmp word [rax + 0x10], 2
jne 0x140007595
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov eax, dword [rcx]
mov dword [r14], eax
xor eax, eax
jmp 0x140007649
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x50], rsi
xor esi, esi
mov qword [rsp + 0x48], rdi
mov ebp, esi
mov qword [rsp + 0x40], r15
mov edi, esi
mov dword [rsp + 0x28], 0
lea r15d, [rsi + 0x2e]
nop
lea rdx, [rbx + 1]
mov qword [rsp + 0x20], rdx
cmp byte [rbx], 0x30
je 0x140007603
mov r8d, 0xa
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp eax, 0xff
ja 0x14000762b
mov rdx, qword [rsp + 0x20]
cmp rdx, rbx
je 0x14000762b
mov rcx, rdx
sub rcx, rbx
cmp rcx, 3
jg 0x14000762b
mov byte [rsp + rdi + 0x28], al
movsx eax, byte [rdx]
cmp ebp, 3
mov ecx, esi
cmovl ecx, r15d
cmp eax, ecx
jne 0x14000762b
inc ebp
lea rbx, [rdx + 1]
inc rdi
cmp rdi, 4
jl 0x1400075c0
mov eax, dword [rsp + 0x28]
mov dword [r14], eax
jmp 0x140007630
mov esi, 0xffffffff
mov r15, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400ad1e0
add rsp, 0x58
pop r14
pop rbx
ret

Function at 0x140007b30
Capabilities:
Hash data using fnv

Disassembly:
movsx eax, byte [rcx]
test al, al
jne 0x140007b3a
mov eax, edx
ret
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
jmp fcn.140007b30
Function at 0x14000b060
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1400df080]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rax, qword [rcx]
lea rdi, [rsp + 0x58]
mov qword [rsp + 0x68], rax
lea rsi, [rsp + 0x60]
mov r9d, edx
mov dword [rsp + 0x60], 1
mov ecx, r8d
lea rbp, [rsp + 0x60]
movabs rax, 0x20c49ba5e353f7cf
imul r8
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, edx, 0x3e8
mov dword [rsp + 0x58], edx
sub ecx, eax
imul eax, ecx, 0x3e8
mov dword [rsp + 0x5c], eax
xor eax, eax
test r8, r8
cmovs rdi, rax
cmp r9d, 1
mov qword [rsp + 0x20], rdi
cmovne rsi, rax
test r9d, r9d
mov r8, rsi
cmovne rbp, rax
xor r9d, r9d
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14000b13a
nop dword [rax]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
jne 0x14000b140
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov r8, rsi
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
cmp eax, 0xffffffff
je 0x14000b110
test ebx, ebx
je 0x14000b16a
jmp 0x14000b147
cmp ebx, 0xffffffff
je 0x14000b18d
jmp 0x14000b13a
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400ad1e0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.Request_timed_out
lea rcx, [rsp + 0x30]
call fcn.14000aeb0
lea rdx, [0x1400da960]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140008220
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea r9, str.Failed_to_select_socket
mov r8, rbx
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140007ee0
lea rdx, [0x1400da7e0]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140017f70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1400df080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.1400ad208
mov qword [rax], rbx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14001a300]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x140017fe9
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400ad1e0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14001c4f0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], bpl
mov dword [rsp + 0x20], 1
mov rdx, qword [rdx + 0x10]
cmp rdx, 0xf
jbe 0x14001c545
call fcn.14003db80
mov qword [rbx + 0x10], rbp
mov r15d, 0xfffffffa
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14001c55d
mov rcx, qword [rdi]
mov rdx, rcx
jmp 0x14001c560
mov rdx, rdi
mov r14, rcx
mov r13, qword [rdi + 0x10]
add r13, rdx
cmp rcx, r13
je 0x14001c66f
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
nop word [rax + rax]
shl ebp, 8
movzx eax, byte [r14]
add ebp, eax
add r15d, 8
js 0x14001c60d
movsxd r12, ebp
movsxd rdi, r15d
lea ecx, [r15 + 6]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
mov esi, edx
imul eax, edx, 0xfffffffa
add r15d, eax
nop dword [rax + rax]
mov rax, r12
mov rcx, rdi
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14001c5ed
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14001c5e2
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14001c603
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140018420
lea r8, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
sub rdi, 6
sub rsi, 1
jne 0x14001c5b0
inc r14
cmp r14, r13
jne 0x14001c580
cmp r15d, 0xfffffffa
jle 0x14001c66f
lea ecx, [r15 + 8]
shl ebp, 8
movsxd rax, ebp
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rax + r8]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14001c660
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14001c655
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14001c66f
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140018420
mov rcx, qword [rbx + 0x10]
test cl, 3
je 0x14001c6c0
nop dword [rax + rax]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14001c6a5
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14001c69d
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x14001c6b7
mov r9b, 0x3d
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140018420
mov rcx, qword [rbx + 0x10]
test cl, 3
jne 0x14001c680
mov rax, rbx
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14001d9f0
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1400df080]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov qword [rsp + 0x48], rcx
lea edi, [rcx + 1]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
mov ecx, edi
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x14001da5f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14001da30
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400ad1e0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret

Function at 0x14001da90
Capabilities:
Get socket status

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1400df080]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov qword [rsp + 0x48], rcx
lea edi, [rcx + 1]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x34], r8d
nop dword [rax + rax]
lea rax, [rsp + 0x30]
xor r9d, r9d
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, edi
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x14001dafe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14001dad0
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400ad1e0
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
Function at 0x14001db30
Capabilities:
Get socket status

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, 0x270
mov rax, qword [0x1400df080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, rcx
mov rbp, rdx
lea rcx, [rsp + 0x30]
call fcn.14000ad00
mov rbx, qword [rsp + 0x30]
xor r14d, r14d
movabs r13, 0x431bde82d7b634db
movabs r12, 0x7ffffffffff0bdbf
movabs r15, 0x7fffffffffffffff
nop word [rax + rax]
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x4c], 0x2710
nop word [rax + rax]
lea rax, [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
lea ecx, [rsi + 1]
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jns 0x14001dbf1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14001dbc0
xor al, al
jmp 0x14001dc69
jne 0x14001dc67
lea rcx, [rsp + 0x38]
call fcn.14000ad00
mov rcx, qword [rsp + 0x38]
mov rax, r13
sub rcx, rbx
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rbp, 0x3e8
cmp rdx, rax
jg 0x14001dbed
lea rcx, [rsp + 0x40]
call fcn.14000ad00
mov rax, qword [rsp + 0x40]
cmp rax, r12
jge 0x14001dc53
add rax, 0xf4240
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.1400195c0
jmp 0x14001dba0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r15
call fcn.1400195c0
jmp 0x14001dba0
mov al, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400ad1e0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14001e2b0
Capabilities:
Resolve dns

Disassembly:
push rsi
push rdi
sub rsp, 0x4f8
mov rax, qword [0x1400df080]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov rsi, r8
mov dword [rsp + 0x40], 0x80
mov rdi, rdx
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
jne 0x14001e3d6
movzx eax, word [rsp + 0x50]
mov qword [rsp + 0x4f0], rbx
mov ebx, dword [rsp + 0x40]
cmp ax, 2
je 0x14001e313
cmp ax, 0x17
jne 0x14001e3ce
movzx ecx, word [rsp + 0x52]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
xor edx, edx
lea rcx, [rsp + 0xd0]
mov dword [rsi], eax
mov r8d, 0x401
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0xd0]
mov r9d, 0x401
mov qword [rsp + 0x20], rax
mov edx, ebx
lea rcx, [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x14001e3ce
lea rax, [rsp + 0xd0]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14001e380
mov rax, qword [rdi + 0x18]
cmp rbx, rax
ja 0x14001e3bb
mov rsi, rdi
cmp rax, 0xf
jbe 0x14001e39e
mov rsi, qword [rdi]
mov r8, rbx
mov qword [rdi + 0x10], rbx
lea rdx, [rsp + 0xd0]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rbx], 0
jmp 0x14001e3ce
lea r9, [rsp + 0xd0]
mov rdx, rbx
mov rcx, rdi
call fcn.140018580
mov rbx, qword [rsp + 0x4f0]
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.1400ad1e0
add rsp, 0x4f8
pop rdi
pop rsi
ret
mov rcx, qword [rcx + 8]
jmp 0x14001e2b0