joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14029f380
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, gethostbyaddr
call fcn.14038ab90
sub rsp, rax
movsxd rbx, r9d
xor edi, edi
mov qword [rsp + 0x40], rbp
mov r10, rdx
mov dword [rsp + 0x58], reloc.WS2_32.dll_recv
mov rbp, rcx
mov r9d, edi
test ebx, ebx
jle 0x14029f465
cmp ebx, 0x40
jb 0x14029f465
lea rax, [rbx - 1]
lea rcx, [rax + rdx]
add rax, r8
cmp rdx, rax
ja 0x14029f3d8
cmp rcx, r8
jae 0x14029f465
mov qword [rsp + 0x48], rsi
lea rcx, [rdx + 0x10]
mov r11, rbx
mov rdx, r8
and r11, 0xffffffffffffffc0
sub rdx, r10
mov rsi, 0xfffffffffffffff0
sub rsi, r10
nop dword [rax + rax]
movdqu xmm0, xmmword [rcx - 0x10]
add r9d, 0x40
movdqu xmm1, xmmword [rdx + rcx - 0x10]
movdqu xmm2, xmmword [rdx + rcx]
lea rcx, [rcx + 0x40]
pxor xmm1, xmm0
lea rax, [rsi + rcx]
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [rdx + rcx - 0x30]
pxor xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
movdqu xmm0, xmmword [rcx - 0x20]
movdqu xmm1, xmmword [rdx + rcx - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
cmp rax, r11
jl 0x14029f400
mov rsi, qword [rsp + 0x48]
movsxd rcx, r9d
mov rdx, rbx
cmp rcx, rbx
jge 0x14029f491
sub r8, r10
lea rax, [rcx + r10]
sub rdx, rcx
nop word [rax + rax]
movzx ecx, byte [rax + r8]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x14029f480
mov rcx, qword [rbp + 0x10]
lea r8, [rsp + 0x58]
mov r9, r10
mov dword [rsp + 0x20], ebx
mov rdx, r10
call fcn.1401dc2c0
mov rbp, qword [rsp + 0x40]
test eax, eax
je 0x14029f4c7
cmp dword [rsp + 0x58], ebx
sete dil
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x30
pop rdi
ret

Function at 0x14029f670
Capabilities:
Encode data using xor

Disassembly:
mov r10, rcx
test rdx, rdx
je 0x14029f6f8
test r8, r8
je 0x14029f6f8
mov r9, qword [rcx + 0x28]
cmp r8, r9
cmovb r9, r8
test r9, r9
je 0x14029f6b2
add rcx, 0x34
mov r11, rdx
sub r11, r10
nop dword [rax + rax]
movzx eax, byte [r11 + rcx - 0x34]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r9, 1
jne 0x14029f6a0
mov rax, qword [r10 + 0x28]
cmp r8, rax
jbe 0x14029f6f8
sub r8, rax
cmp r8, 0x10
jbe 0x14029f6cc
mov r8d, reloc.WS2_32.dll_recv
jmp 0x14029f6d1
test r8, r8
je 0x14029f6f8
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r10 + 0x28]
add rax, rcx
movzx eax, byte [rax + rdx]
xor byte [r10 + rcx + 0x54], al
inc rcx
cmp rcx, r8
jb 0x14029f6e0
ret
Function at 0x1402de000
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
mov r11, qword [rcx]
mov rsi, rdx
mov r10, qword [rcx + 8]
mov rbx, rcx
mov r9, qword [rcx + 0x10]
mov rdi, qword [rcx + 0x18]
mov rax, qword [rcx + 0x20]
shl r11, 0x38
cmp dword [rcx + 0x30], 0
je 0x1402de23f
test r8, r8
je 0x1402de23f
mov r14d, dword [rcx + 0x2c]
cmp r8, r14
jne 0x1402de23f
mov ecx, dword [rcx + 0x28]
dec ecx
cmp ecx, 6
ja case.default.0x1402de06d
lea r8, [0x140000000]
mov edx, dword [r8 + rcx*4 + 0x2de258]
add rdx, r8
jmp rdx
movzx ecx, byte [rbx + 0x3e]
shl rcx, 0x30
or r11, rcx
movzx ecx, byte [rbx + 0x3d]
shl rcx, 0x28
or r11, rcx
movzx ecx, byte [rbx + 0x3c]
shl rcx, 0x20
or r11, rcx
movzx ecx, byte [rbx + 0x3b]
shl rcx, 0x18
or r11, rcx
movzx ecx, byte [rbx + 0x3a]
shl rcx, 0x10
or r11, rcx
movzx ecx, byte [rbx + 0x39]
shl rcx, 8
or r11, rcx
movzx ecx, byte [rbx + 0x38]
or r11, rcx
xor rax, r11
cmp dword [rbx + 0x30], 0
jbe 0x1402de106
mov ecx, dword [rbx + 0x30]
nop dword [rax]
nop dword [rax + rax]
add r10, r9
add rdi, rax
rol r9, 0xd
xor r9, r10
rol rax, 0x10
xor rax, rdi
rol r10, 0x20
add rdi, r9
add r10, rax
rol r9, 0x11
rol rax, 0x15
xor r9, rdi
xor rax, r10
rol rdi, 0x20
sub rcx, 1
jne 0x1402de0d0
xor r10, r11
mov ecx, 0xff
cmp r14d, 0x10
mov r8d, 0xee
cmovne r8d, ecx
mov ecx, dword [rbx + 0x34]
xor r8, rdi
test ecx, ecx
je 0x1402de166
nop word [rax + rax]
add r10, r9
add r8, rax
rol r9, 0xd
xor r9, r10
rol rax, 0x10
xor rax, r8
rol r10, 0x20
add r8, r9
add r10, rax
rol r9, 0x11
rol rax, 0x15
xor r9, r8
xor rax, r10
rol r8, 0x20
sub rcx, 1
jne 0x1402de130
mov rdx, rax
xor rdx, r8
xor rdx, r9
xor rdx, r10
mov ecx, edx
mov byte [rsi], dl
shr ecx, 8
mov byte [rsi + 1], cl
mov ecx, edx
shr ecx, 0x10
mov byte [rsi + 2], cl
mov ecx, edx
shr ecx, 0x18
shr rdx, 0x20
mov byte [rsi + 3], cl
mov ecx, edx
shr ecx, 8
mov byte [rsi + 5], cl
mov ecx, edx
mov byte [rsi + 4], dl
shr ecx, 0x10
shr edx, 0x18
mov byte [rsi + 6], cl
mov byte [rsi + 7], dl
cmp dword [rbx + 0x2c], 8
je 0x1402de238
mov ecx, dword [rbx + 0x34]
xor r9, 0xdd
test ecx, ecx
je 0x1402de1f7
add r10, r9
add r8, rax
rol r9, 0xd
xor r9, r10
rol rax, 0x10
xor rax, r8
rol r10, 0x20
add r8, r9
add r10, rax
rol r9, 0x11
rol rax, 0x15
xor r9, r8
xor rax, r10
rol r8, 0x20
sub rcx, 1
jne 0x1402de1c1
xor rax, r8
xor rax, r9
xor rax, r10
mov ecx, eax
mov byte [rsi + 8], al
shr ecx, 8
mov byte [rsi + 9], cl
mov ecx, eax
shr ecx, 0x10
mov byte [rsi + 0xa], cl
mov ecx, eax
shr ecx, 0x18
shr rax, 0x20
mov byte [rsi + 0xb], cl
mov ecx, eax
shr ecx, 8
mov byte [rsi + 0xd], cl
mov ecx, eax
shr ecx, 0x10
mov byte [rsi + 0xc], al
shr eax, 0x18
mov byte [rsi + 0xf], al
mov byte [rsi + 0xe], cl
mov eax, 1
jmp 0x1402de241
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov r14, qword [rsp + 0x20]
ret
Function at 0x1402de3d0
Capabilities:
Encode data using xor

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
mov eax, 0x20
call fcn.14038ab90
sub rsp, rax
add qword [rcx], r8
mov r14, rcx
mov rsi, qword [rcx + 8]
mov r15, r8
mov rdi, qword [rcx + 0x10]
mov r13, rdx
mov rbp, qword [rcx + 0x18]
mov rbx, qword [rcx + 0x20]
mov ecx, dword [rcx + 0x28]
test ecx, ecx
je 0x1402de4fb
mov r12d, 8
sub r12d, ecx
add rcx, 0x38
add rcx, r14
cmp r8, r12
jae 0x1402de43f
call fcn.14038cc40
add dword [r14 + 0x28], r15d
jmp 0x1402de5f1
mov r8, r12
call fcn.14038cc40
movzx eax, byte [r14 + 0x3e]
lea r11, [r14 + 0x38]
movzx ecx, byte [r14 + 0x3f]
sub r15, r12
shl rcx, 8
add r13, r12
or rcx, rax
movzx eax, byte [r14 + 0x3d]
shl rcx, 8
or rcx, rax
movzx eax, byte [r14 + 0x3c]
shl rcx, 8
or rcx, rax
movzx eax, byte [r14 + 0x3b]
shl rcx, 8
or rcx, rax
movzx eax, byte [r14 + 0x3a]
shl rcx, 8
or rcx, rax
movzx eax, byte [r14 + 0x39]
shl rcx, 8
or rcx, rax
movzx eax, byte [r11]
shl rcx, 8
or rcx, rax
mov eax, dword [r14 + 0x30]
xor rbx, rcx
test eax, eax
je 0x1402de4f6
nop dword [rax]
nop dword [rax + rax]
add rsi, rdi
add rbp, rbx
rol rdi, 0xd
xor rdi, rsi
rol rbx, 0x10
xor rbx, rbp
rol rsi, 0x20
add rbp, rdi
add rsi, rbx
rol rdi, 0x11
rol rbx, 0x15
xor rdi, rbp
xor rbx, rsi
rol rbp, 0x20
sub rax, 1
jne 0x1402de4c0
xor rsi, rcx
jmp 0x1402de4ff
lea r11, [r14 + 0x38]
mov r12d, r15d
mov rdx, r13
and r12d, 7
sub rdx, r12
add rdx, r15
cmp r13, rdx
je 0x1402de5cd
mov r10d, dword [r14 + 0x30]
lea r9, [r13 + 6]
movzx eax, byte [r9]
movzx r8d, byte [r9 + 1]
shl r8, 8
or r8, rax
movzx eax, byte [r9 - 1]
shl r8, 8
or r8, rax
movzx eax, byte [r9 - 2]
shl r8, 8
or r8, rax
movzx eax, byte [r9 - 3]
shl r8, 8
or r8, rax
movzx eax, byte [r9 - 4]
shl r8, 8
or r8, rax
movzx eax, byte [r9 - 5]
shl r8, 8
or r8, rax
movzx eax, byte [r9 - 6]
shl r8, 8
or r8, rax
xor rbx, r8
test r10d, r10d
je 0x1402de5b9
mov rax, r10
add rsi, rdi
add rbp, rbx
rol rdi, 0xd
xor rdi, rsi
rol rbx, 0x10
xor rbx, rbp
rol rsi, 0x20
add rbp, rdi
add rsi, rbx
rol rdi, 0x11
rol rbx, 0x15
xor rdi, rbp
xor rbx, rsi
rol rbp, 0x20
sub rax, 1
jne 0x1402de583
add r9, 8
xor rsi, r8
lea rax, [r9 - 6]
cmp rax, rdx
jne 0x1402de520
test r12d, r12d
je 0x1402de5dd
mov r8, r12
mov rcx, r11
call fcn.14038cc40
mov dword [r14 + 0x28], r12d
mov qword [r14 + 8], rsi
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], rbp
mov qword [r14 + 0x20], rbx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1402eb3b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push r12
push r13
push r14
mov eax, 0x50
call fcn.14038ab90
sub rsp, rax
mov r14, qword [rsp + 0xa8]
lea r10, [rax - 0x51]
mov rbp, qword [rsp + 0xb0]
xor r11d, r11d
cmp r14, 1
mov eax, r11d
mov r13, r9
mov r12, r8
mov r9, qword [rcx]
setne al
add rax, rbp
mov rsi, rcx
cmp rax, r9
jbe 0x1402eb40e
xor eax, eax
add rsp, 0x50
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
mov qword [rsp + 0x80], rbx
cmp r14, 1
je 0x1402eb513
lea r10, [r8 - 1]
add r10, r9
movzx ebx, byte [r10]
cmp dword [rsp + 0xb8], r11d
je 0x1402eb44b
sub r9, rbx
mov eax, 1
sub r9, rbp
dec r9
mov qword [rcx], r9
jmp 0x1402eb54a
lea rcx, [rbx + rax]
mov qword [rsp + 0x98], r15
mov r15d, 0x100
mov r8, r9
sub r8, rcx
mov rax, r9
xor r8, rcx
xor rax, rcx
or r8, rax
xor r8, r9
shr r8, 0x3f
dec r8
cmp r9, r15
cmovb r15, r9
test r15, r15
je 0x1402eb4ed
mov qword [rsp + 0x90], rdi
mov rdi, rbx
shr rdi, 0x3f
nop dword [rax]
nop dword [rax + rax]
mov rax, r11
lea r10, [r10 - 1]
shr rax, 0x3f
mov rcx, rbx
sub rcx, r11
inc r11
shr rcx, 0x3f
xor cl, al
xor al, dil
or cl, al
xor cl, dil
dec cl
movzx edx, cl
movzx ecx, byte [r10 + 1]
xor rcx, rbx
and rdx, rcx
not rdx
and r8, rdx
cmp r11, r15
jb 0x1402eb4a0
mov rdx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov r15, qword [rsp + 0x98]
lea rax, [rbx + 1]
not r8
movzx r10d, r8b
dec r10
shr r10, 0x3f
neg r10
and rax, r10
sub r9, rax
mov qword [rsi], r9
mov rax, qword [rsp + 0xc0]
mov r9, r13
mov qword [rsp + 0x40], rax
mov r8, r12
mov rax, qword [rsp + 0xa0]
mov rcx, rsi
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.1402eafe0
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
Function at 0x1402ebac0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x68
call fcn.14038ab90
sub rsp, rax
mov rax, qword [0x140535ab8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [rcx + 0x3c]
mov rdi, r9
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test eax, eax
je 0x1402ebbf4
movups xmm0, xmmword [rcx + 0x10]
mov r15, qword [rcx + 0x20]
lea rbx, [rcx + 0x10]
dec eax
mov dword [rsp + 0x28], 1
mov dword [rcx + 0x3c], eax
xor r9d, r9d
mov eax, dword [rbx + 8]
xor r8d, r8d
and al, 0x7f
mov dword [rsp + 0x30], edi
movups xmmword [rsp + 0x48], xmm0
and byte [rsp + 0x54], 0x7f
xor edx, edx
mov byte [rsp + 0x50], al
mov rcx, r15
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.1401dc280
test eax, eax
je 0x1402ebbf4
mov eax, dword [rsp + 0x30]
lea r8, [rsp + 0x30]
mov r9, r14
mov dword [rsp + 0x20], eax
mov rdx, rbp
mov rcx, r15
call fcn.1401dcf50
test eax, eax
je 0x1402ebbf4
mov r9, rdi
lea rdx, [rsp + 0x38]
mov r8, rbp
mov rcx, rsi
call fcn.1402ec110
test eax, eax
je 0x1402ebbf4
lea rax, [rbx + 0xf]
xor r8d, r8d
lea rcx, [rsp + 0x38]
cmp rcx, rax
ja 0x1402ebbc9
lea rax, [rsp + 0x47]
cmp rax, rbx
jb 0x1402ebbc9
lea rcx, [rsp + 0x38]
mov eax, r8d
sub rbx, rcx
nop
lea rdx, [rsp + 0x38]
add rdx, rax
inc rax
movzx ecx, byte [rbx + rdx]
xor byte [rdx], cl
cmp rax, 0x10
jl 0x1402ebbb0
jmp 0x1402ebbdd
movdqu xmm1, xmmword [rsp + 0x38]
movdqu xmm0, xmmword [rbx]
pxor xmm1, xmm0
movdqu xmmword [rsp + 0x38], xmm1
mov rax, qword [rsp + 0x38]
or rax, qword [rsp + 0x40]
je 0x1402ebc10
mov rdx, rdi
mov rcx, rbp
call fcn.140001240
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14038a8e0
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rsi + 0x38], r8d
mov eax, edi
jmp 0x1402ebbf6
Function at 0x1402f7f60
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x60
mov rax, qword [0x140535ab8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
lea rcx, str.HWLOC_PCI_LOCALITY
call fcn.14039a084
mov rbx, rax
test rax, rax
je 0x1402f8064
xor edx, edx
mov qword [rsp + 0x78], rdi
mov rcx, rax
mov dword [rsi + 0x350], 1
call fcn.1403a2ce4
mov edi, eax
test eax, eax
js 0x1402f8054
lea rdx, [rsp + 0x20]
mov ecx, eax
call fcn.14039b364
test eax, eax
jne 0x1402f804b
mov eax, dword [rsp + 0x34]
cmp eax, 0x10000
jg 0x1402f8020
inc eax
movsxd rcx, eax
call fcn.1403995a4
mov rbx, rax
test rax, rax
je 0x1402f800f
mov r8d, dword [rsp + 0x34]
mov rdx, rax
mov ecx, edi
call fcn.1403a1fd4
movsxd rcx, dword [rsp + 0x34]
cmp eax, ecx
jne 0x1402f800f
mov byte [rcx + rbx], 0
mov rdx, rbx
mov rcx, rsi
call fcn.1402f8080
mov rcx, rbx
call fcn.14039180c
mov ecx, edi
call fcn.1403a1908
jmp 0x1402f805f
call fcn.1402f0fc0
cmp eax, 2
jge 0x1402f804b
mov ecx, 2
call fcn.1403930cc
mov r9d, dword [rsp + 0x34]
lea rdx, str.hwloc_pci:_Ignoring_HWLOC_PCI_LOCALITY_file___s_too_large___lu_bytes__n
mov rcx, rax
mov r8, rbx
call fcn.140181d50
mov ecx, edi
call fcn.1403a1908
jmp 0x1402f805f
mov rdx, rbx
mov rcx, rsi
call fcn.1402f8080
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14038a8e0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rsi
ret

Function at 0x1402fc4c0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov eax, dword [reloc.WS2_32.dll_accept]
cmp eax, 1
jbe 0x1402fc509
mov rdx, qword [0x140544548]
test rdx, rdx
je 0x1402fc501
lea ecx, [rax - 1]
call rdx
movzx ecx, ax
mov eax, dword [reloc.WS2_32.dll_accept]
shl eax, 6
add eax, 0xffffffc0
add eax, ecx
add rsp, 0x58
ret
shl eax, 6
add rsp, 0x58
ret
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x14030a410
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r12
push r13
sub rsp, 0x78
mov rax, qword [0x140535ab8]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp byte [rcx], 0x2d
mov r13, r8
mov r12, rdx
jne 0x14030a43f
cmp byte [rcx + 1], 0
jne 0x14030a43f
xor eax, eax
jmp 0x14030a444
sbb eax, eax
or eax, 1
mov qword [rsp + 0xb8], rsi
lea rbx, str._dev_stdin
test eax, eax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], r14
lea rdx, [0x140422450]
cmovne rbx, rcx
mov qword [rsp + 0x60], r15
mov rcx, rbx
call fcn.14039b6d8
mov rbp, rax
test rax, rax
je 0x14030a559
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov edi, 0x1000
call fcn.14039b43c
test eax, eax
jne 0x14030a4ae
mov eax, 0x8000
test word [rsp + 0x26], ax
je 0x14030a4ae
mov eax, dword [rsp + 0x34]
inc eax
movsxd rdi, eax
lea rcx, [rdi + 1]
call fcn.1403995a4
mov rsi, rax
test rax, rax
je 0x14030a551
mov r9, rbp
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.140393b14
mov r15, rax
mov byte [rax + rsi], 0
cmp rax, rdi
jne 0x14030a531
nop dword [rax]
nop word [rax + rax]
add rdi, rdi
mov rcx, rsi
lea rdx, [rdi + 1]
call fcn.1403995ac
mov r14, rax
test rax, rax
je 0x14030a549
mov rbx, rdi
lea rcx, [rax + r15]
shr rbx, 1
mov r9, rbp
mov r8, rbx
mov edx, 1
mov rsi, rax
call fcn.140393b14
add r15, rax
mov byte [rsi + r15], 0
cmp rax, rbx
je 0x14030a4f0
mov rcx, rbp
call fcn.140393220
lea rax, [r15 + 1]
mov qword [r12], rsi
mov qword [r13], rax
xor eax, eax
jmp 0x14030a55e
mov rcx, rsi
call fcn.14039180c
mov rcx, rbp
call fcn.140393220
mov eax, 0xffffffff
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14038a8e0
add rsp, 0x78
pop r13
pop r12
pop rbp
pop rbx
ret
Function at 0x1403123c0
Capabilities:
Connect socket
Resolve dns

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
movzx ebp, r8b
mov dword [rax - 0x40], 1
xorps xmm0, xmm0
mov dword [rax - 0x3c], 6
xorps xmm1, xmm1
lea r8, [rax - 0x48]
xor ebx, ebx
lea r9, [rax + 0x20]
mov qword [rax - 0x48], rbx
mov r14, rcx
movdqu xmmword [rax - 0x38], xmm0
movdqu xmmword [rax - 0x28], xmm1
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x140312450
test bpl, bpl
je 0x14031250c
mov qword [rsp + 0x30], rbx
mov r9d, 0x400
lea rbx, [0x140545330]
mov dword [rsp + 0x28], 0x400
mov r8d, eax
mov qword [rsp + 0x20], rbx
xor edx, edx
mov ecx, 0x12ff
call qword [sym.imp.KERNEL32.DLL_FormatMessageA]
mov r8, rbx
jmp 0x1403124fd
mov rcx, qword [rsp + 0xa8]
mov esi, dword [rsp + 0xa8]
mov rbx, rcx
test rcx, rcx
je 0x1403124dc
nop word [rax + rax]
mov r8d, dword [rcx + 0xc]
mov edx, dword [rcx + 8]
mov ecx, dword [rcx + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp eax, 0xffffffff
jne 0x140312491
call fcn.14039a7f0
mov esi, dword [rax]
jmp 0x1403124bf
mov r8d, dword [rbx + 0x10]
mov rdx, qword [rbx + 0x20]
movsxd rcx, eax
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x1403124d2
call fcn.14039a7f0
mov rcx, 0xffffffffffffffff
mov edi, 0xffffffff
mov esi, dword [rax]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rbx, qword [rbx + 0x28]
mov rcx, qword [rsp + 0xa8]
test rbx, rbx
jne 0x140312470
jmp 0x1403124e3
mov rcx, qword [rsp + 0xa8]
jmp 0x1403124e3
mov edi, dword [rsp + 0xa8]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp edi, 0xffffffff
jne 0x140312513
test bpl, bpl
je 0x14031250c
mov ecx, esi
call fcn.1403993e8
mov r8, rax
mov rdx, r14
lea rcx, str._s:__s_n
call fcn.140174280
mov eax, 0xffffffff
jmp 0x140312515
mov eax, edi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140313e60
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov ecx, reloc.WS2_32.dll_recv
call fcn.14038a538
mov r9, rax
test rax, rax
je 0x140313e92
mov rax, qword [rdi]
mov qword [r9], rax
mov rax, qword [rdi + 8]
mov qword [r9 + 8], rax
jmp 0x140313e95
xor r9d, r9d
mov qword [rsp + 0x40], r9
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
lea r8, [0x140318ad0]
xor edx, edx
xor ecx, ecx
call fcn.140398cdc
mov qword [rbx], rax
test rax, rax
je 0x140313ed1
mov rax, rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call fcn.140387b9c
int3
Function at 0x140314da0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x140535ab8]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rbx, rdx
mov rdi, rcx
xor esi, esi
lea rcx, [rbp + 0xf0]
call fcn.14032c1c0
movups xmm0, xmmword [rbx + 0xd0]
movaps xmmword [rbp + 0x1c0], xmm0
mov rax, qword [rdi + 0x30]
mov rbx, qword [rax + 0x20]
mov rax, qword [rdi + 0x18]
mov rdx, qword [rax + 0x18]
mov rcx, rdi
call rdx
lea r8, [0x1404c3345]
mov rdx, rax
lea rcx, [rsp + 0x60]
call rbx
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140314e55
mov rcx, qword [rsp + 0x78]
mov qword [rbp + 0x90], rcx
mov rax, qword [rbp - 0x78]
mov qword [rbp + 0xa0], rax
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x78], rsi
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x78]
call rax
mov qword [rbp - 0x80], rsi
mov ecx, esi
jmp 0x140314e67
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], rsi
mov rax, qword [rbp - 0x70]
mov qword [rbp + 0xa8], rax
lea rax, [0x1404c5460]
mov qword [rbp - 0x70], rax
test rcx, rcx
je 0x140314e92
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax]
lea rcx, [rsp + 0x60]
call rdx
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1404c334e]
lea r8, [rbp + 0x78]
lea rdx, [rbp + 0xb0]
mov rcx, qword [0x1405357f0]
call fcn.1403155a0
mov r14, rax
cmp qword [rax + 0x20], 0
je 0x14031500f
mov rcx, qword [rax + 0x28]
mov rax, qword [rcx + 0x18]
test rax, rax
je 0x140314efc
lea rcx, [0x14031c7d0]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0xf0]
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x40]
mov rcx, r14
call rax
jmp 0x140314fa4
mov r15, qword [rcx + 0x10]
lea rdx, [rbp + 0xf0]
lea rcx, [rbp - 0x68]
call fcn.14032c1c0
movaps xmm0, xmmword [rbp + 0x1c0]
movups xmmword [rbp + 0x68], xmm0
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
mov ecx, dword [0x140542764]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
test rax, rax
je 0x140314f39
mov rsi, qword [rax + 8]
mov r9d, 1
mov r8d, 0xf0
mov rdx, rsi
movzx ecx, byte [rsp + 0x30]
call fcn.140319250
mov rdi, rax
lea rdx, [rbp - 0x68]
lea rcx, [rax + 8]
call fcn.14032c1c0
movups xmm0, xmmword [rbp + 0x68]
movups xmmword [rdi + 0xd8], xmm0
lea rax, [0x14031c800]
mov qword [rdi], rax
mov qword [rsp + 0x38], rdi
lea rcx, [rbp - 0x68]
call fcn.140330f70
nop
lea rdx, [rsp + 0x38]
mov rcx, r14
call r15
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140314fa4
mov rax, qword [rcx]
xor edx, edx
call rax
nop
cmp qword [rbp + 0xd0], 0
je 0x140314fc2
mov rax, qword [rbp + 0xc8]
mov rdx, qword [rax]
lea rcx, [rbp + 0xb0]
call rdx
nop
cmp qword [rbp + 0x98], 0
je 0x140314fdd
mov rax, qword [rbp + 0x90]
mov rdx, qword [rax]
lea rcx, [rbp + 0x78]
call rdx
nop
lea rcx, [rbp + 0xf0]
call fcn.140330f70
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14038a8e0
mov rbx, qword [rsp + 0x320]
add rsp, 0x2e0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rsp + 0x40]
call fcn.14032d3a0
nop
lea rcx, [rsp + 0x40]
call fcn.140329260
int3
Function at 0x1403156b0
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x140535ab8]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rsi, rdx
mov rbx, rcx
xor ebp, ebp
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x40], rax
lea rdx, [rcx + 0x18]
lea rcx, [rsp + 0x48]
call fcn.14032cd40
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xa0], xmm0
mov rax, qword [rbx + 0x78]
test rax, rax
je 0x140315711
lock inc dword [rax + 8]
mov rax, qword [rbx + 0x70]
mov qword [rsp + 0xa0], rax
mov rax, qword [rbx + 0x78]
mov qword [rsp + 0xa8], rax
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0xb0], xmm0
mov rsi, qword [rbx]
lea rdi, [rbx + 8]
mov rbx, qword [rdi]
mov ecx, dword [0x140542770]
call qword [sym.imp.KERNEL32.DLL_TlsGetValue]
test rax, rax
je 0x140315762
nop
cmp qword [rax], rbx
je 0x14031584a
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140315750
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x40]
mov ecx, 0xc0
call fcn.14033f540
mov rbx, rax
mov qword [rax + 0x20], rbp
lea rax, [0x140346a40]
mov qword [rbx + 0x28], rax
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov dword [rbx + 0x30], ebp
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x38], rax
lea rcx, [rbx + 0x40]
lea rdx, [rsp + 0x48]
call fcn.14032cdd0
movaps xmm0, xmmword [rsp + 0xb0]
movups xmmword [rbx + 0xa8], xmm0
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.14034e960
nop
mov rbx, qword [rsp + 0xa8]
test rbx, rbx
je 0x140315817
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140315817
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140315817
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
lea rcx, [rsp + 0x48]
call fcn.140331d10
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.14038a8e0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
cmp qword [rax + 8], 0
je 0x140315762
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.140319320
nop
nop
jmp 0x1403157de
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
add rcx, 0x70
lea rdx, [rcx + 0x80]
add rsp, 0x28
jmp 0x1403156b0