joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402e0ca0
Capabilities:
Get socket status

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14040f040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, qword [rsp + 0x90]
xor r15d, r15d
mov rsi, r9
movzx r10d, r8b
mov r9d, edx
mov rbx, rcx
mov r8d, r15d
mov dword [r14], 0xffffffff
mov eax, dword [rcx + 0x1018]
mov dword [rcx + 0x10], eax
test eax, eax
je 0x1402e0d0c
nop word [rax + rax]
mov edx, r8d
inc r8d
mov rax, qword [rcx + rdx*8 + 0x1020]
mov qword [rcx + rdx*8 + 0x18], rax
cmp r8d, dword [rcx + 0x1018]
jb 0x1402e0cf0
cmp dword [rcx + 0x10], r15d
jne 0x1402e0d29
mov rax, qword [rsi]
lea rdx, str.No_sockets_exists_for_fdSetSelect.
mov rcx, rsi
call qword [rax + 0x28]
xor al, al
jmp 0x1402e0e71
mov eax, 0x10624dd3
mul r9d
shr edx, 6
imul eax, edx, 0x3e8
mov dword [rsp + 0x30], edx
sub r9d, eax
imul eax, r9d, 0x3e8
xor r9d, r9d
mov dword [rsp + 0x34], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
test r10b, r10b
je 0x1402e0d67
xor r8d, r8d
lea rdx, [rcx + 0x10]
jmp 0x1402e0d6d
lea r8, [rcx + 0x10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_select]
mov dword [r14], eax
cmp eax, 0xffffffff
jne 0x1402e0dad
mov rax, qword [rsi]
lea rdx, str.select_system_call_failed.
mov rcx, rsi
call qword [rax + 0x28]
mov rcx, qword [rbx + 8]
mov dword [rbx + 0x10], r15d
mov dword [rbx + 0x1018], r15d
test rcx, rcx
je 0x1402e0d22
call fcn.1402256f0
xor al, al
jmp 0x1402e0e71
cmp dword [rbx + 0x10], r15d
jne 0x1402e0dd5
mov rcx, qword [rbx + 8]
mov dword [rbx + 0x10], r15d
mov dword [rbx + 0x1018], r15d
test rcx, rcx
je 0x1402e0e6f
call fcn.1402256f0
jmp 0x1402e0e6f
call fcn.140225700
mov rsi, rax
test rax, rax
je 0x1402e0d22
mov qword [rsp + 0x80], rbp
movsxd rbp, dword [rbx + 0x10]
test rbp, rbp
jle 0x1402e0e50
mov rdi, r15
nop word [rax + rax]
movsxd rax, dword [rbx + 0x1018]
mov edx, r15d
mov rcx, r15
test eax, eax
jle 0x1402e0e48
mov r8, qword [rbx + rdi*8 + 0x18]
mov r9, rax
lea rax, [rbx + 0x1020]
cmp r8, qword [rax]
je 0x1402e0e35
inc edx
inc rcx
add rax, 8
cmp rcx, r9
jl 0x1402e0e20
jmp 0x1402e0e48
mov rcx, qword [rbx + 8]
call fcn.1402257b0
mov edx, eax
mov rcx, rsi
call fcn.140225690
inc rdi
cmp rdi, rbp
jl 0x1402e0e00
mov rcx, qword [rbx + 8]
mov rbp, qword [rsp + 0x80]
test rcx, rcx
je 0x1402e0e6b
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx + 8], rsi
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140109210
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1402e4fe0
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rcx + 0x28]
mov rbp, rdx
cmp eax, r8d
mov esi, eax
mov rdi, rcx
cmova esi, r8d
test esi, esi
jne 0x1402e5017
xor eax, eax
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
sub eax, esi
mov qword [rsp + 0x30], rbx
cmp byte [rcx + 0x18], 0
mov dword [rcx + 0x28], eax
je 0x1402e517b
mov r9, qword [rcx + 0x20]
mov r11d, esi
mov r8d, dword [rcx + 0x1c]
movzx ecx, r8w
shr r8d, 0x10
test r9, r9
jne 0x1402e5050
lea r8d, [r9 + 1]
jmp 0x1402e5177
mov edx, 0x15b0
cmp r11d, edx
cmovb edx, r11d
sub r11d, edx
cmp edx, 0x10
jb 0x1402e5120
mov r10d, edx
shr r10, 4
nop
movzx eax, byte [r9]
add edx, 0xfffffff0
add ecx, eax
movzx eax, byte [r9 + 1]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 2]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 3]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 4]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 5]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 6]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 7]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 8]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 9]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 0xa]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 0xb]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 0xc]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 0xd]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 0xe]
add r8d, ecx
add ecx, eax
movzx eax, byte [r9 + 0xf]
add r8d, ecx
add r9, 0x10
add ecx, eax
add r8d, ecx
sub r10, 1
jne 0x1402e5070
test edx, edx
je 0x1402e5141
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r9]
inc r9
add ecx, eax
add r8d, ecx
add edx, 0xffffffff
jne 0x1402e5130
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, 0x80078071
mul r8d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r8d, eax
test r11d, r11d
jne 0x1402e5050
shl r8d, 0x10
or r8d, ecx
mov dword [rdi + 0x1c], r8d
mov rdx, qword [rdi + 0x20]
mov rcx, rbp
mov r8d, esi
mov ebx, esi
call sub.VCRUNTIME140.dll_memcpy
add qword [rdi + 0x20], rbx
mov eax, esi
add dword [rdi + 0x2c], esi
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1402e84f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, dword [rcx + 0x2c]
mov rbx, rcx
mov eax, dword [rbx + 0x88]
mov edx, eax
mov esi, dword [rbx + 0x40]
mov ecx, dword [rbx + 0x90]
sub esi, eax
sub esi, ecx
jne 0x1402e852b
test eax, eax
jne 0x1402e853a
test ecx, ecx
jne 0x1402e853a
mov esi, edi
jmp 0x1402e85d3
cmp esi, 0xffffffff
jne 0x1402e853a
mov esi, 0xfffffffe
jmp 0x1402e85d3
mov ecx, dword [rbx + 0x2c]
add ecx, 0xfffffefa
add ecx, edi
cmp edx, ecx
jb 0x1402e85d3
mov rcx, qword [rbx + 0x38]
mov r8, rdi
lea rdx, [rdi + rcx]
call sub.VCRUNTIME140.dll_memcpy
mov r8d, dword [rbx + 0x68]
mov rax, qword [rbx + 0x58]
sub dword [rbx + 0x8c], edi
sub dword [rbx + 0x88], edi
sub dword [rbx + 0x78], edi
lea rdx, [rax + r8*2]
nop dword [rax + rax]
movzx ecx, word [rdx - 2]
lea rdx, [rdx - 2]
sub cx, di
movzx eax, cx
not ax
sar ax, 0xf
and ax, cx
mov word [rdx], ax
add r8d, 0xffffffff
jne 0x1402e8580
mov rax, qword [rbx + 0x48]
mov r8d, edi
lea rax, [rax + rdi*2]
nop dword [rax]
movzx edx, word [rax - 2]
lea rax, [rax - 2]
sub dx, di
movzx ecx, dx
not cx
sar cx, 0xf
and cx, dx
mov word [rax], cx
add r8d, 0xffffffff
jne 0x1402e85b0
add esi, edi
mov rcx, qword [rbx + 8]
call fcn.140172840
test eax, eax
je 0x1402e865a
mov edx, dword [rbx + 0x90]
mov r8d, esi
mov eax, dword [rbx + 0x88]
mov rcx, qword [rbx + 8]
add rdx, rax
add rdx, qword [rbx + 0x38]
call fcn.1402e4fe0
mov r9d, dword [rbx + 0x90]
add r9d, eax
mov dword [rbx + 0x90], r9d
cmp r9d, 3
jb 0x1402e8640
mov eax, dword [rbx + 0x88]
mov rdx, qword [rbx + 0x38]
mov ecx, dword [rbx + 0x74]
movzx r8d, byte [rax + rdx]
mov dword [rbx + 0x64], r8d
shl r8d, cl
inc eax
movzx eax, byte [rax + rdx]
xor r8d, eax
and r8d, dword [rbx + 0x70]
mov dword [rbx + 0x64], r8d
cmp r9d, 0x106
jae 0x1402e865a
mov rcx, qword [rbx + 8]
call fcn.140172840
test eax, eax
jne 0x1402e8505
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18008d030
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x18012a010]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
lea rdx, [rsp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xor edi, edi
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x40]
mov byte [rsp + 0x20], dil
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x18008d083
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.1800c2b50
mov r8d, 1
lea rdx, [0x180118d08]
lea rcx, [rsp + 0x20]
call fcn.1800c22c0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x18008d110
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008d10b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008d134
call fcn.1800cf9b0
mov rax, rbx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1800cf6f0
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
call fcn.1800dec10
int3
Function at 0x18008dd00
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x170
mov rax, qword [0x18012a010]
xor rax, rsp
mov qword [rsp + 0x160], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xor edi, edi
mov qword [rsp + 0x48], 0xf
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x50]
mov byte [rsp + 0x30], dil
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x18008dd60
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1800c2b50
mov r8d, 1
lea rdx, [0x180118d08]
lea rcx, [rsp + 0x30]
call fcn.1800c22c0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], dil
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x18008dded
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008dde8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008de11
call fcn.1800cf9b0
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1800cf6f0
mov rbx, qword [rsp + 0x188]
add rsp, 0x170
pop rdi
ret
call fcn.1800dec10
int3
Function at 0x1800922f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x70
mov rax, qword [0x18012a010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r8, qword [rcx + 0x10]
xor esi, esi
mov rbx, rcx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], sil
lea rdx, [r8 + 0xc]
cmp rdx, 0xf
jbe 0x180092342
lea rcx, [rsp + 0x40]
call fcn.1800c8f90
mov r8, qword [rbx + 0x10]
mov qword [rsp + 0x50], rsi
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x18009234f
mov rdx, qword [rbx]
lea rcx, [rsp + 0x40]
call fcn.1800c22c0
mov r8d, 0xc
lea rdx, str.logins.json
lea rcx, [rsp + 0x40]
call fcn.1800c22c0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1800c2400
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1800923ba
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800923b5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180092511
call fcn.1800cf9b0
cmp qword [rbx + 0x18], 0x10
mov rcx, rbx
jb 0x1800923c7
mov rcx, qword [rbx]
lea rdx, [0x180118d80]
call fcn.1800db8c8
test rax, rax
je 0x1800924be
mov rcx, rax
mov qword [rsp + 0x88], rdi
call fcn.1800db958
mov ecx, 0x186a0
call fcn.1800d7fd4
cmp qword [rbx + 0x18], 0x10
mov rdi, rax
mov rcx, rbx
jb 0x180092406
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 4
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x18009244f
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rsi
mov r8d, 0x186a0
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x180092489
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180092484
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180092505
mov rcx, r8
call fcn.1800cf9b0
mov rax, rdi
mov qword [rbx + 0x10], rsi
mov rdi, qword [rsp + 0x88]
mov qword [rbx + 0x18], 0xf
mov byte [rbx], sil
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1800cf6f0
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1800924f4
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1800924ef
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18009250b
mov rcx, r8
call fcn.1800cf9b0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], sil
jmp 0x1800924a3
call fcn.1800dec10
int3
call fcn.1800dec10
int3
call fcn.1800dec10
int3
Function at 0x14003173c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x1400317b4
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x1400317b4
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x1400317b4
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1400317a8
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x1400317c6
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140031796
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x1400317b6

Function at 0x140033300
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003334a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003334a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003334a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003334a
cmp dword [rcx + 0x84], 0xe
jbe 0x14003334a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003334c
xor al, al
add rsp, 0x28
ret

Function at 0x14003c094
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14003bdf8

Function at 0x140045fb0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140045fd8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140045fd8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x140004000
Capabilities:
Execute shellcode via indirect call

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x38
and rsp, 0xfffffffffffffff0
movabs rcx, 0x140004062
movabs rax, sym.imp.KERNEL32.dll_LoadLibraryA
call qword [rax]
movabs rdx, 0x14000406b
mov rcx, rax
movabs rax, sym.imp.KERNEL32.dll_GetProcAddress
call qword [rax]
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
mov r9, rcx
movabs r8, 0x140004078
mov rdx, rcx
call rax
leave
jmp loc.140001000
Function at 0x1400033f4
Capabilities:
Get socket status

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x560]
sub rsp, 0x660
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov ecx, 4
mov dword [rsp + 0x30], 1
mov r10, rdx
lea r9, [rbp + 0x140]
lea rax, [rsp + 0x30]
lea r11d, [rcx + 0x7c]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r9], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [r9 + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [r9 + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [r9 + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [r9 + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [r9 + 0x50], xmm1
movups xmm1, xmmword [rax + 0x70]
add rax, r11
movups xmmword [r9 + 0x60], xmm0
add r9, r11
movups xmmword [r9 - 0x10], xmm1
sub rcx, 1
jne 0x140003432
mov rax, qword [rax]
lea rcx, [rbp + 0x350]
mov qword [r9], rax
mov edx, 4
lea rax, [rsp + 0x30]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [rax + 0x70]
add rax, r11
movups xmmword [rcx + 0x60], xmm0
add rcx, r11
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x14000349b
mov rax, qword [rax]
xor ebx, ebx
mov qword [rcx], rax
mov dword [rbp + 0x5a8], r10d
mov dword [rbp + 0x5ac], r8d
lea rax, [rbp + 0x5a8]
lea r9, [rbp + 0x350]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x140]
lea rdx, [rsp + 0x30]
lea ecx, [rdi + 1]
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
test eax, eax
jns 0x140003533
call fcn.1400780f8
cmp dword [rax], 4
je 0x1400034fb
test esi, esi
jne 0x14000353c
lea eax, [rsi + 0xd]
jmp 0x1400035b5
jle 0x1400035b0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x140003564
lea rdx, [rbp + 0x140]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
je 0x1400035b0
lea rax, [rbp + 0x5a0]
mov dword [rbp + 0x598], ebx
lea r9, [rbp + 0x598]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov dword [rbp + 0x5a0], 4
mov r8d, 0x1007
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
js 0x1400035a7
cmp dword [rbp + 0x598], ebx
je 0x1400035ac
mov ebx, 2
mov eax, ebx
jmp 0x1400035b5
mov eax, 2
add rsp, 0x660
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400035c4
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x240
and dword [rax + 0x10], 0
mov rdi, rcx
and dword [rax + 0x14], 0
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 1
lea rax, [rsp + 0x258]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
lea ecx, [rdi + 1]
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
jns 0x140003620
call fcn.1400780f8
cmp dword [rax], 4
je 0x1400035ef
test ebx, ebx
jne 0x140003628
mov al, 1
jmp 0x14000366b
jns 0x140003638
call fcn.1400780f8
cmp dword [rax], 9
jne 0x140003638
xor al, al
jmp 0x14000366b
lea rsi, [rsp + 0x250]
mov r9d, 2
mov rdx, rsi
mov rcx, rdi
lea r8d, [r9 - 1]
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test eax, eax
jns 0x140003666
call fcn.1400780f8
cmp dword [rax], 4
je 0x140003640
test ebx, ebx
setg al
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1400037e8
Capabilities:
Resolve dns

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x450
mov r14d, 2
mov rsi, r9
mov rdi, r8
mov ebp, edx
mov rbx, rcx
cmp word [rcx], r14w
je 0x140003825
cmp word [rcx], 0x17
jne 0x1400038c4
movzx ecx, word [rcx + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
xor edx, edx
mov dword [rsi], eax
lea rcx, [rsp + 0x40]
mov esi, 0x401
mov r8d, esi
call fcn.140098bd0
mov dword [rsp + 0x30], r14d
lea r8, [rsp + 0x40]
xor r14d, r14d
mov r9d, esi
mov dword [rsp + 0x28], r14d
mov edx, ebp
mov rcx, rbx
mov qword [rsp + 0x20], r14
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x1400038c4
lea rax, [rsp + 0x40]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r14b
jne 0x14000387a
cmp rbx, qword [rdi + 0x18]
ja 0x1400038b0
cmp qword [rdi + 0x18], 0xf
mov rsi, rdi
jbe 0x140003896
mov rsi, qword [rdi]
mov r8, rbx
mov qword [rdi + 0x10], rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140098530
mov byte [rsi + rbx], r14b
jmp 0x1400038c0
lea r9, [rsp + 0x40]
mov rdx, rbx
mov rcx, rdi
call fcn.140016a00
mov al, 1
jmp 0x1400038c6
xor al, al
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140004784
Capabilities:
Get socket status

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0x240
mov rdx, qword [rcx + 8]
mov r8, qword [rcx + 0x18]
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x38], rdx
lea edi, [rdx + 1]
mov dword [rsp + 0x30], 1
mov dword [r11 + 8], eax
mov dword [r11 + 0xc], r8d
lea rax, [rsp + 0x250]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
mov ecx, edi
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
jns 0x1400047e7
call fcn.1400780f8
cmp dword [rax], 4
je 0x1400047b7
test ebx, ebx
mov rbx, qword [rsp + 0x258]
setg al
add rsp, 0x240
pop rdi
ret

Function at 0x140004800
Capabilities:
Get socket status

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [rcx + 8]
mov ebx, 1
mov r8, qword [rcx + 0x28]
mov rdi, rcx
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0x38], rax
lea ebp, [rax + 1]
mov dword [rsp + 0x30], ebx
mov dword [r11 + 8], edx
mov dword [r11 + 0xc], r8d
lea rax, [rsp + 0x250]
xor r9d, r9d
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, ebp
call qword [sym.imp.WS2_32.dll_select]
mov esi, eax
test eax, eax
jns 0x14000486e
call fcn.1400780f8
cmp dword [rax], 4
je 0x14000483f
test esi, esi
jle 0x14000487f
mov rcx, qword [rdi + 8]
call fcn.1400035c4
test al, al
jne 0x140004881
xor bl, bl
lea r11, [rsp + 0x240]
mov al, bl
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000bb9c
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x80
movups xmm0, xmmword [str._vdq_ag_noya_xv.]
movzx eax, word [0x1400a8e48]
lea r8, [rsp + 0x40]
xor r9d, r9d
mov word [rsp + 0x50], ax
mov rbx, rcx
movups xmmword [rsp + 0x40], xmm0
lea ecx, [r9 + 0x12]
mov rax, r9
movabs r10, 0x50850631d17d
cqo
inc r9
idiv r10
add dl, 3
xor byte [r8], dl
inc r8
sub rcx, 1
jne 0x14000bbcc
lea rax, [rsp + 0x40]
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x14000bbf9
mov rdx, qword [0x1400b4e28]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x14000bcac
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
lea rax, [0x1400b4e18]
mov qword [rsp + 0x30], rdx
lea r9, [rsp + 0x40]
cmova rax, qword [0x1400b4e18]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x58]
call fcn.140018320
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.14000baf0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14000bc9a
mov rcx, qword [rsp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bc95
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000bca6
call fcn.14006fa8c
mov rax, rbx
add rsp, 0x80
pop rbx
ret
call fcn.140075c7c
int3
call fcn.1400014b4
int3

Function at 0x14000bcb4
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x70
mov eax, dword [0x1400a8ef8]
lea r8, [rsp + 0x40]
movsd xmm0, qword [str._vdq_mo4ei3]
xor r9d, r9d
mov dword [rsp + 0x48], eax
mov rbx, rcx
mov al, byte [reloc.WS2_32.dll_ntohs]
movsd qword [rsp + 0x40], xmm0
lea ecx, [r9 + 0xd]
mov byte [rsp + 0x4c], al
mov rax, r9
movabs r10, 0x50850631d17d
cqo
inc r9
idiv r10
add dl, 3
xor byte [r8], dl
inc r8
sub rcx, 1
jne 0x14000bceb
lea rax, [rsp + 0x40]
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x14000bd18
mov rdx, qword [0x1400b4e28]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, rcx
jb 0x14000bdc8
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
lea rax, [0x1400b4e18]
mov qword [rsp + 0x30], rdx
lea r9, [rsp + 0x40]
cmova rax, qword [0x1400b4e18]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x50]
call fcn.140018320
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.14000baf0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14000bdb9
mov rcx, qword [rsp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bdb4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000bdc2
call fcn.14006fa8c
mov rax, rbx
add rsp, 0x70
pop rbx
ret
call fcn.140075c7c
int3
call fcn.1400014b4
int3