joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c2a70
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14022c038]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r14, qword [rcx + 0x10]
cmp r14, qword [rcx + 0x18]
je 0x1400c2acc
test r14, r14
je 0x1400c2bcb
mov rax, qword [rdi]
mov qword [r14], rax
add qword [rsi + 0x10], 8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140152880
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r15, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r15
jbe 0x1400c2b16
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r15, [rax + rcx]
inc r15
shr r15, 1
shl r15, 3
mov rcx, rbx
sub rcx, r15
mov r8, r14
sub r8, rbx
mov rdx, rbx
call fcn.1401551b0
sub r14, r15
mov qword [rsi + 0x10], r14
sub qword [rsi + 8], r15
jmp 0x1400c2a9c
mov rax, r14
sub rax, r15
sar rax, 2
cmp r14, r15
mov r12d, 1
cmovne r12, rax
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x48], rax
mov rax, r12
shr rax, 0x3d
jne 0x1400c2bf7
lea rcx, [r12*8]
call fcn.140151c20
mov rcx, r12
and rcx, 0xfffffffffffffffc
lea rdx, [rax + rcx*2]
mov r9, r14
mov r8, rdx
sub r9, rbx
je 0x1400c2b96
mov rcx, r9
sar rcx, 3
and r9, 0xfffffffffffffff8
mov r8, r9
add r8, rdx
shl rcx, 3
xor r9d, r9d
mov r10, rdx
add r10, r9
je 0x1400c2bcb
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp rcx, r9
jne 0x1400c2b7e
lea r9, [rax + r12*8]
mov qword [rsi], rax
lea rcx, [rsp + 0x28]
mov qword [rcx], r15
mov qword [rsi + 8], rdx
mov qword [rcx + 8], rbx
mov qword [rsi + 0x10], r8
mov qword [rcx + 0x10], r14
mov qword [rsi + 0x18], r9
mov qword [rcx + 0x18], r14
call fcn.1401d9890
mov r14, qword [rsi + 0x10]
jmp 0x1400c2a9c
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.140193a70
call fcn.1401915f0
int3
Function at 0x1400cb900
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, r8
mov rsi, rdx
mov ebx, ecx
mov rax, qword [0x14022c038]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x1400cb8d0]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x14024b120]
lea rdx, [0x1400cb770]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1400cba10
cmp dword [0x14024b128], 0
jne 0x1400cba00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x14024b12c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x1400cb9ac
mov ecx, 1
mov edx, 0x28
call fcn.1400e6950
test rax, rax
je 0x1400cba00
mov r14, rax
mov ecx, dword [0x14024b12c]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400cb9f8
lea r15, [0x14024b130]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x14024b140]
mov qword [rax + rbx*8], rdi
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [r14 + rbx*8], rsi
mov esi, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140152880
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, r14
call fcn.1400e68b0
mov rcx, rsi
mov rax, rdi
call qword [0x14025e008]
xor esi, esi
jmp 0x1400cb9dc
call fcn.14016c3a0
int3

Function at 0x1400cc810
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x1400cc820
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x1400cc841
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1400cc861
cmp byte [r14 + 0x68], 0
jne 0x1400cc8e3
or edi, 0x20000000
test dil, 8
jne 0x1400cc917
xor r15d, r15d
cmp byte [r14 + 0x70], 0
mov r12d, 0
je 0x1400cc87f
mov r12, qword [r14 + 0x78]
cmp byte [r14 + 0x50], 0
mov r13d, 0
je 0x1400cc890
mov r13, qword [r14 + 0x58]
cmp byte [r14 + 0x28], 0
jne 0x1400cc8f8
cmp byte [r14], 0
jne 0x1400cc906
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x1400cc937
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
jne 0x1400cc8ee
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or edi, 0x80000000
jmp 0x1400cc861
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400cc8ce
lea rcx, [r14 + 0x30]
call fcn.1400a1760
mov r15, rax
jmp 0x1400cc897
add r14, 8
mov rcx, r14
call fcn.1400a1760
mov r9, rax
jmp 0x1400cc8a0
cmp byte [r14 + 0x88], 0
je 0x1400cc92c
or edi, 0x40000000
jmp 0x1400cc86b
or edi, 0x10000000
jmp 0x1400cc86b
cmp ebx, 4
jne 0x1400cc946
mov edx, 6
jmp 0x1400cc8ad
lea eax, [rbx - 2]
cmp eax, 2
jae 0x1400cc958
mov edx, 7
jmp 0x1400cc8ad
cmp ebx, 1
jne 0x1400cc967
mov edx, 4
jmp 0x1400cc8ad
xor edx, edx
jmp 0x1400cc8ad
Function at 0x1400cc820
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x1400cc820
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r14, rcx
cmp byte [rdx + 0x17], 0
jns 0x1400cc841
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1400cc861
cmp byte [r14 + 0x68], 0
jne 0x1400cc8e3
or edi, 0x20000000
test dil, 8
jne 0x1400cc917
xor r15d, r15d
cmp byte [r14 + 0x70], 0
mov r12d, 0
je 0x1400cc87f
mov r12, qword [r14 + 0x78]
cmp byte [r14 + 0x50], 0
mov r13d, 0
je 0x1400cc890
mov r13, qword [r14 + 0x58]
cmp byte [r14 + 0x28], 0
jne 0x1400cc8f8
cmp byte [r14], 0
jne 0x1400cc906
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x1400cc937
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov esi, eax
test eax, eax
jne 0x1400cc8ee
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
or edi, 0x80000000
jmp 0x1400cc861
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400cc8ce
lea rcx, [r14 + 0x30]
call fcn.1400a1760
mov r15, rax
jmp 0x1400cc897
add r14, 8
mov rcx, r14
call fcn.1400a1760
mov r9, rax
jmp 0x1400cc8a0
cmp byte [r14 + 0x88], 0
je 0x1400cc92c
or edi, 0x40000000
jmp 0x1400cc86b
or edi, 0x10000000
jmp 0x1400cc86b
cmp ebx, 4
jne 0x1400cc946
mov edx, 6
jmp 0x1400cc8ad
lea eax, [rbx - 2]
cmp eax, 2
jae 0x1400cc958
mov edx, 7
jmp 0x1400cc8ad
cmp ebx, 1
jne 0x1400cc967
mov edx, 4
jmp 0x1400cc8ad
xor edx, edx
jmp 0x1400cc8ad

Function at 0x1400cc970
Capabilities:
Inspect section memory permissions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x40
mov ebx, r8d
mov rsi, rdx
mov r15, rcx
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1400cc9a8
cmp byte [r15 + 0x68], 0
jne 0x1400cca36
or edi, 0x20000000
test dil, 8
jne 0x1400cca6d
xor r14d, r14d
cmp byte [r15 + 0x70], 0
mov r12d, 0
je 0x1400cc9c6
mov r12, qword [r15 + 0x78]
cmp byte [r15 + 0x50], 0
mov r13d, 0
je 0x1400cc9d7
mov r13, qword [r15 + 0x58]
cmp byte [r15 + 0x28], 0
jne 0x1400cca4b
cmp byte [r15], 0
jne 0x1400cca59
xor r9d, r9d
cmp ebx, 4
jne 0x1400cca27
mov edx, 6
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rsi
mov r8d, edi
call qword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov esi, eax
test eax, eax
jne 0x1400cca41
test esi, esi
sete al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea eax, [rbx - 2]
cmp eax, 2
jae 0x1400cca8d
mov edx, 7
jmp 0x1400cc9f1
or edi, 0x80000000
jmp 0x1400cc9a8
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400cca12
lea rcx, [r15 + 0x30]
call fcn.1400a1760
mov r14, rax
jmp 0x1400cc9de
add r15, 8
mov rcx, r15
call fcn.1400a1760
mov r9, rax
jmp 0x1400cc9e7
cmp byte [r15 + 0x88], 0
je 0x1400cca82
or edi, 0x40000000
jmp 0x1400cc9b2
or edi, 0x10000000
jmp 0x1400cc9b2
mov edx, 1
test ebx, ebx
je 0x1400cc9f1
cmp ebx, 1
jne 0x1400ccaa9
mov edx, 4
jmp 0x1400cc9f1
xor edx, edx
jmp 0x1400cc9f1
Function at 0x1400da180
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
sub rsp, 0x30
mov rax, rcx
mov rcx, qword [0x14022c038]
xor rcx, rsp
mov qword [rsp + 0x28], rcx
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
je 0x1400da203
cmp byte [rax + 0x90], 0
jne 0x1400da203
mov sil, 1
cmp byte [rax + 0x91], 0
jne 0x1400da1ee
lea rdx, [rsp + 0x27]
mov byte [rdx], 0xaa
mov r8d, 1
mov r9d, 2
call qword [sym.imp.WS2_32.dll_recv]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
je 0x1400da203
cmp esi, 0xffffffff
setne cl
cmp eax, 0x2733
sete sil
or sil, cl
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140152880
mov eax, esi
add rsp, 0x30
pop rsi
ret
xor esi, esi
jmp 0x1400da1ee

Function at 0x1400da210
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14022c038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
lea rbx, [rsp + 0x28]
mov r8d, SysAllocStringByteLen
mov rcx, rbx
mov dl, 0xaa
call fcn.140155860
mov rcx, rbx
call fcn.1400d9270
lea r8, [rsp + 0xa8]
mov rdx, qword [r8 + 8]
mov rcx, qword [rdi + 8]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x1400da2aa
mov r8d, dword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
mov rcx, rsi
call fcn.1400b6da0
xor ecx, ecx
test al, al
mov esi, 0xffffff94
cmovne esi, ecx
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140152880
mov eax, esi
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call fcn.1400d9330
mov esi, eax
jmp 0x1400da28d
Function at 0x1400da640
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x14023c1cc]
cmp ecx, 0xffffffff
je 0x1400da71a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x1400da71a
mov eax, dword [0x14024ca40]
mov ecx, dword [0x14023c288]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400da724
mov rbx, qword [0x14024ca38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400da76a
mov rax, qword [0x14024b228]
inc rax
xor ecx, ecx
lea rdx, [0x14024b230]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x1400da777
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x14024ca30]
inc ecx
mov dword [0x14024ca30], ecx
mov dword [rax + 0x14], ecx
mov qword [0x14024b228], r8
mov qword [rsi], r8
mov eax, dword [rax + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsi], 0x100
jae 0x1400da78c
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400da790
jmp 0x1400da66a
lea rcx, [0x14024ca40]
call fcn.140151da0
cmp dword [0x14024ca40], 0xffffffff
jne 0x1400da68f
mov ecx, 8
call fcn.140151c20
mov rbx, rax
mov rcx, rax
call fcn.140101100
mov qword [0x14024ca38], rbx
lea rcx, [0x14024ca40]
call fcn.140151e38
jmp 0x1400da68f
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x1400da6a7
inc rcx
cmp rcx, 0x100
jne 0x1400da6ba
jmp 0x1400da700
int3

Function at 0x1400da790
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.140152820
sub rsp, rax
mov rax, qword [0x14022c038]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x14023c1cc]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x1400da844
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400da8a7
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.140155860
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.140151cbc
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.1401551b0
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.140152880
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.1400dea10
test al, al
je 0x1400da8aa
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x1400da882
mov eax, 0xffffffff
lock cmpxchg dword [0x14023c1cc], ecx
je 0x1400da7c8
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x14023c1cc]
mov dword [rsp + 0x2c], ecx
jmp 0x1400da7c8
lea rcx, [rsp + 0x2c]
call fcn.1400dea10
test al, al
je 0x1400da8ad
cmp dword [rsp + 0x2c], 0xffffffff
je 0x1400da8ad
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x1400da85b
int3
int3
int3
Function at 0x1400da8c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x14022c038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, dword [0x14023c1cc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
and ecx, 3
cmp ecx, 2
je 0x1400da909
and rax, 0xfffffffffffffffc
je 0x1400da93c
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x1400da93c
mov rsi, qword [rax + rcx]
jmp 0x1400da93e
lea rdx, [0x140219420]
lea r8, str....._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r9d, 0x1f6
call fcn.14011f3d0
movabs rdx, 0x141dd76000
mov rcx, rsi
call fcn.1401d0410
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140152880
mov rax, rsi
add rsp, 0x50
pop rsi
ret

Function at 0x1400da960
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x14023c1cc]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400da99e
mov rcx, qword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 8]
mov rdx, qword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x1400da997
call fcn.1400da790
jmp 0x1400da97e
Function at 0x1400dc8e0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, dword [0x14024caa0]
mov ecx, dword [0x14023c288]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400dc961
lea rcx, [0x14024ca90]
call fcn.1400da8c0
test rax, rax
jne 0x1400dc94e
mov ecx, 4
call fcn.140151c20
mov rdi, rax
mov dword [rax], 0
lea rbx, [0x14024ca90]
mov rcx, rbx
call fcn.1400da8c0
mov rsi, rax
mov rcx, rbx
mov rdx, rdi
call fcn.1400da960
test rsi, rsi
jne 0x1400dc9a4
lea rcx, [0x14024ca90]
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400da8c0
lea rcx, [0x14024caa0]
call fcn.140151da0
cmp dword [0x14024caa0], 0xffffffff
jne 0x1400dc908
xorps xmm0, xmm0
movups xmmword [0x14024ca90], xmm0
lea rcx, [0x14024ca90]
lea rdx, [0x14002ac00]
call fcn.1400da9b0
lea rcx, [0x14024caa0]
call fcn.140151e38
jmp 0x1400dc908
mov rcx, rsi
call fcn.140151c70
jmp 0x1400dc94e

Function at 0x1400dea10
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400dea25
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x1400e2f00
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov qword [rsp + 0x30], r8
mov rsi, rcx
mov r13, qword [rcx]
mov rax, qword [rcx + 8]
mov qword [rsp + 0x28], rax
mov rdi, qword [rcx + 0x10]
lea rax, [rdi + r13]
test rdi, rdi
jle 0x1400e2f65
movdqa xmm0, xmmword [0x140204400]
movdqa xmm1, xmmword [0x140204410]
mov rcx, r13
movdqu xmm2, xmmword [rcx]
pxor xmm3, xmm3
pcmpgtb xmm3, xmm2
pand xmm3, xmm0
pxor xmm3, xmm1
movdqu xmmword [rcx], xmm3
add rcx, 0x10
cmp rcx, rax
jb 0x1400e2f44
mov rcx, qword [r13]
mov r8, qword [r13 + 7]
mov qword [rax + 8], r8
mov qword [rax + 1], rcx
mov byte [r13 + rdi], 0xff
test rdi, rdi
je 0x1400e30de
mov rbp, qword [rdx]
mov rbx, qword [rdx + 8]
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x20], rax
xor r14d, r14d
mov r15, qword [rsp + 0x28]
jmp 0x1400e2ff0
mov r9d, reloc.WS2_32.dll_recv
mov r10, r8
add r10, r9
and r10, rdx
movdqu xmm0, xmmword [rcx + r10]
pcmpeqd xmm1, xmm1
pcmpgtb xmm1, xmm0
pmovmskb r11d, xmm1
add r9, 0x10
test r11d, r11d
jne 0x1400e3041
jmp 0x1400e2fa7
and al, 0x7f
mov byte [rcx + r14], al
lea r8, [r14 - 0xf]
and r8, rdx
and edx, 0xf
add rdx, r8
mov byte [rcx + rdx], al
inc r14
add r15, rbp
cmp r14, rdi
je 0x1400e30de
cmp byte [r13 + r14], 0xfe
jne 0x1400e2fe1
mov rcx, rsi
mov rdx, r15
mov rax, rbx
call qword [0x14025e008]
mov rcx, qword [rsi]
mov rdx, qword [rsi + 0x10]
mov r9, rax
shr r9, 7
mov r8, rcx
shr r8, 0xc
xor r8, r9
and r8, rdx
movdqu xmm0, xmmword [rcx + r8]
pcmpeqd xmm1, xmm1
pcmpgtb xmm1, xmm0
pmovmskb r11d, xmm1
mov r10, r8
test r11d, r11d
je 0x1400e2f9e
tzcnt r9d, r11d
add r9, r10
and r9, rdx
mov r10, r9
sub r10, r8
mov r11, r14
sub r11, r8
xor r11, r10
and r11, rdi
cmp r11, 0xf
jbe 0x1400e2fcb
mov r12, r9
imul r12, rbp
add r12, qword [rsp + 0x28]
and al, 0x7f
lea r8, [r9 - 0xf]
and r8, rdx
and edx, 0xf
add rdx, r8
cmp byte [r13 + r9], 0x80
mov byte [rcx + r9], al
mov byte [rcx + rdx], al
mov rcx, rsi
je 0x1400e310e
mov rdx, qword [rsp + 0x30]
mov r8, r12
mov rax, qword [rsp + 0x20]
call qword [0x14025e008]
mov rcx, rsi
mov rdx, r12
mov r8, r15
mov r12, qword [rsp + 0x20]
mov rax, r12
call qword [0x14025e008]
mov rcx, rsi
mov rdx, r15
mov r8, qword [rsp + 0x30]
mov rax, r12
call qword [0x14025e008]
dec r14
sub r15, rbp
jmp 0x1400e2fe1
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x10]
mov rdx, rcx
shr rdx, 3
mov r8, qword [rsi + 0x18]
shr r8, 1
add r8, rdx
sub rcx, r8
mov qword [rax - 8], rcx
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, r12
mov r8, r15
mov rax, qword [rsp + 0x20]
call qword [0x14025e008]
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x10]
mov r8b, 0x80
mov byte [rax + r14], r8b
lea rdx, [r14 - 0xf]
and rdx, rcx
and ecx, 0xf
add rcx, rdx
mov byte [rax + rcx], r8b
jmp 0x1400e2fe1
Function at 0x1400ee9f0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x1400eea38
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x1400eea41
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400eea28
mov qword [rdi], rsi
call fcn.14011f3f0
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14011f3f0
mov rcx, qword [rdi]
call fcn.140107f20
mov qword [rdi], 0
jmp 0x1400eea16

Function at 0x140107c40
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14022c038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14024a7e0]
mov ecx, dword [0x14023c288]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140107ca0
mov rsi, qword [0x14024a7d8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140152880
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14024a7e0]
call fcn.140151da0
cmp dword [0x14024a7e0], 0xffffffff
jne 0x140107c7c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140155860
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.140151c20
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14024a828]
mov ecx, dword [0x14023c288]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140107d60
lea r8, [0x14024a7f8]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14009a400
mov qword [0x14024a7d8], rsi
lea rcx, [0x14024a7e0]
call fcn.140151e38
jmp 0x140107c7c
lea rcx, [0x14024a828]
call fcn.140151da0
cmp dword [0x14024a828], 0xffffffff
jne 0x140107d31
xorps xmm0, xmm0
movups xmmword [0x14024a818], xmm0
movups xmmword [0x14024a808], xmm0
movups xmmword [0x14024a7f8], xmm0
lea rcx, [0x14024a7f8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14024a828]
call fcn.140151e38
jmp 0x140107d31
Function at 0x140107db0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14022c038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14024a7e0]
mov ecx, dword [0x14023c288]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140107e11
mov rax, qword [0x14024a7d8]
mov esi, dword [rax]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140152880
mov eax, esi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14024a7e0]
call fcn.140151da0
cmp dword [0x14024a7e0], 0xffffffff
jne 0x140107dec
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140155860
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.140151c20
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14024a828]
mov ecx, dword [0x14023c288]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140107ed1
lea r8, [0x14024a7f8]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14009a400
mov qword [0x14024a7d8], rsi
lea rcx, [0x14024a7e0]
call fcn.140151e38
jmp 0x140107dec
lea rcx, [0x14024a828]
call fcn.140151da0
cmp dword [0x14024a828], 0xffffffff
jne 0x140107ea2
xorps xmm0, xmm0
movups xmmword [0x14024a818], xmm0
movups xmmword [0x14024a808], xmm0
movups xmmword [0x14024a7f8], xmm0
lea rcx, [0x14024a7f8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14024a828]
call fcn.140151e38
jmp 0x140107ea2