joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b9650
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 [0x1401f0038]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x1400b9620]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x140211e48]
lea rdx, [0x1400b94c0]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1400b9748
cmp dword [0x140211e50], 0
jne 0x1400b9755
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x140211e54]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x1400b96fc
mov ecx, 1
mov edx, 0x28
call fcn.1400f6d40
test rax, rax
je 0x1400b9755
mov r14, rax
mov ecx, dword [0x140211e54]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400b974d
lea r15, [0x140211e58]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x140211e60]
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.14012d050
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140146930
mov rcx, r14
call fcn.1400f6ca0
mov rcx, rsi
mov rax, rdi
call qword [0x140224008]
xor esi, esi
jmp 0x1400b972c

Function at 0x1400b9c50
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 [0x1401fea30]
cmp ecx, 0xffffffff
je 0x1400b9c72
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400b9c77
call fcn.1400b9da0
mov eax, dword [0x1402136b0]
mov ecx, dword [0x1401feb28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400b9d30
mov rbx, qword [0x1402136a8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400b9d79
mov rcx, qword [0x140211e98]
inc rcx
xor edx, edx
lea rax, [0x140211ea0]
lea r8d, [rcx + rdx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
mov r10d, r9d
cmp dword [rax + r10*8], 0
jne 0x1400b9d86
lea rcx, [rax + r10*8]
mov dword [rcx], 1
mov ecx, r9d
mov qword [rax + rcx*8 + 8], rdi
mov edx, dword [0x1402136a0]
inc edx
mov dword [0x1402136a0], edx
mov dword [rax + rcx*8 + 0x14], edx
mov qword [0x140211e98], r8
mov qword [rsi], r8
mov eax, dword [rax + rcx*8 + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsi], 0x100
jae 0x1400b9d76
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x1402136b0]
call fcn.14012c600
cmp dword [0x1402136b0], 0xffffffff
jne 0x1400b9c9c
mov ecx, 8
call fcn.14012c4a0
mov rbx, rax
mov rcx, rax
call fcn.1400dd4e0
mov qword [0x1402136a8], rbx
lea rcx, [0x1402136b0]
call fcn.14012c698
jmp 0x1400b9c9c
int3
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x1400b9cb4
inc rdx
cmp rdx, 0x100
jne 0x1400b9cc7
jmp 0x1400b9d16
Function at 0x1400b9da0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.14012cff0
sub rsp, rax
mov rax, qword [0x1401f0038]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x1401fea30]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x1400b9e54
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400b9e92
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.14012ffe0
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.14012c51c
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.14012f930
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.14012d050
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.1400ca180
test al, al
je 0x1400b9e95
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x1400b9e98
mov eax, 0xffffffff
lock cmpxchg dword [0x1401fea30], ecx
je 0x1400b9dd8
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x1401fea30]
mov dword [rsp + 0x2c], ecx
jmp 0x1400b9dd8
int3
int3
lea rcx, [rsp + 0x2c]
call fcn.1400ca180
test al, al
je 0x1400b9ebd
cmp dword [rsp + 0x2c], 0xffffffff
je 0x1400b9ebd
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x1400b9e6b
int3

Function at 0x1400b9ed0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x1401f0038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1401fea30]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
and ecx, 3
cmp ecx, 2
je 0x1400b9f19
and rax, 0xfffffffffffffffc
je 0x1400b9f4c
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x1400b9f4c
mov rsi, qword [rax + rcx]
jmp 0x1400b9f4e
lea rdx, [0x1401db17d]
lea r8, str....._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r9d, 0x1f6
call fcn.1400f16e0
movabs rdx, 0x141dd76000
mov rcx, rsi
call fcn.14018db40
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14012d050
mov rax, rsi
add rsp, 0x50
pop rsi
ret

Function at 0x1400b9f70
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1401fea30]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400b9fae
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 0x1400b9fa7
call fcn.1400b9da0
jmp 0x1400b9f8e
Function at 0x1400ba8f0
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x1400ba900
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 0x1400ba921
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1400ba941
cmp byte [r14 + 0x50], 0
jne 0x1400ba9cc
or edi, 0x20000000
test dil, 8
jne 0x1400ba9d7
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x1400ba95f
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x1400ba970
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
jne 0x1400ba9fe
cmp byte [r14 + 0x18], 0
jne 0x1400baa0f
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x1400baa1f
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 0x1400ba9f4
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 0x1400ba941
cmp byte [r14 + 0x68], 0
je 0x1400ba9e9
or edi, 0x40000000
jmp 0x1400ba94b
or edi, 0x10000000
jmp 0x1400ba94b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400ba9b7
lea rcx, [r14 + 0x20]
call fcn.140087a00
mov r15, rax
jmp 0x1400ba97b
mov rcx, r14
call fcn.140087a00
mov r9, rax
jmp 0x1400ba989
cmp ebx, 4
jne 0x1400baa2e
mov edx, 6
jmp 0x1400ba996
lea eax, [rbx - 2]
cmp eax, 2
jae 0x1400baa40
mov edx, 7
jmp 0x1400ba996
cmp ebx, 1
jne 0x1400baa4f
mov edx, 4
jmp 0x1400ba996
xor edx, edx
jmp 0x1400ba996
Function at 0x1400ba900
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x1400ba900
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 0x1400ba921
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1400ba941
cmp byte [r14 + 0x50], 0
jne 0x1400ba9cc
or edi, 0x20000000
test dil, 8
jne 0x1400ba9d7
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x1400ba95f
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x1400ba970
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
jne 0x1400ba9fe
cmp byte [r14 + 0x18], 0
jne 0x1400baa0f
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x1400baa1f
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 0x1400ba9f4
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 0x1400ba941
cmp byte [r14 + 0x68], 0
je 0x1400ba9e9
or edi, 0x40000000
jmp 0x1400ba94b
or edi, 0x10000000
jmp 0x1400ba94b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400ba9b7
lea rcx, [r14 + 0x20]
call fcn.140087a00
mov r15, rax
jmp 0x1400ba97b
mov rcx, r14
call fcn.140087a00
mov r9, rax
jmp 0x1400ba989
cmp ebx, 4
jne 0x1400baa2e
mov edx, 6
jmp 0x1400ba996
lea eax, [rbx - 2]
cmp eax, 2
jae 0x1400baa40
mov edx, 7
jmp 0x1400ba996
cmp ebx, 1
jne 0x1400baa4f
mov edx, 4
jmp 0x1400ba996
xor edx, edx
jmp 0x1400ba996

Function at 0x1400baa60
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 0x1400baa98
cmp byte [r15 + 0x50], 0
jne 0x1400bab2f
or edi, 0x20000000
test dil, 8
jne 0x1400bab3a
xor r14d, r14d
cmp byte [r15 + 0x60], 0
mov r12d, 0
je 0x1400baab6
mov r12, qword [r15 + 0x58]
cmp byte [r15 + 0x48], 0
mov r13d, 0
je 0x1400baac7
mov r13, qword [r15 + 0x40]
cmp byte [r15 + 0x38], 0
jne 0x1400bab61
cmp byte [r15 + 0x18], 0
jne 0x1400bab72
xor r9d, r9d
cmp ebx, 4
jne 0x1400bab20
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 0x1400bab57
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 0x1400bab82
mov edx, 7
jmp 0x1400baaea
or edi, 0x80000000
jmp 0x1400baa98
cmp byte [r15 + 0x68], 0
je 0x1400bab4c
or edi, 0x40000000
jmp 0x1400baaa2
or edi, 0x10000000
jmp 0x1400baaa2
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400bab0b
lea rcx, [r15 + 0x20]
call fcn.140087a00
mov r14, rax
jmp 0x1400baad2
mov rcx, r15
call fcn.140087a00
mov r9, rax
jmp 0x1400baae0
mov edx, 1
test ebx, ebx
je 0x1400baaea
cmp ebx, 1
jne 0x1400bab9e
mov edx, 4
jmp 0x1400baaea
xor edx, edx
jmp 0x1400baaea
Function at 0x1400c7a70
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
sub rsp, 0x28
cmp qword [0x140213770], 0
jne 0x1400c7aad
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1400c7aa0
mov dword [rdi], eax
mov dword [0x140213778], eax
mov qword [0x140213770], rsi
cmp eax, 0xffffffff
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
int3

Function at 0x1400c8a90
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rsi
sub rsp, 0x30
mov rax, rcx
mov rcx, qword [0x1401f0038]
xor rcx, rsp
mov qword [rsp + 0x28], rcx
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
je 0x1400c8b13
cmp byte [rax + 0x90], 0
jne 0x1400c8b13
mov sil, 1
cmp byte [rax + 0x91], 0
jne 0x1400c8afe
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 0x1400c8b13
cmp esi, 0xffffffff
setne cl
cmp eax, 0x2733
sete sil
or sil, cl
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14012d050
mov eax, esi
add rsp, 0x30
pop rsi
ret
xor esi, esi
jmp 0x1400c8afe

Function at 0x1400c8b20
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 [0x1401f0038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
lea rbx, [rsp + 0x28]
mov r8d, SysAllocStringByteLen
mov rcx, rbx
mov dl, 0xaa
call fcn.14012ffe0
mov rcx, rbx
call fcn.1400c7b90
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 0x1400c8bba
mov r8d, dword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
mov rcx, rsi
call fcn.1400a07c0
xor ecx, ecx
test al, al
mov esi, 0xffffff94
cmovne esi, ecx
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.14012d050
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.1400c7c50
mov esi, eax
jmp 0x1400c8b9d
Function at 0x1400c8dd0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor eax, eax
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x1400c8ef1
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x1400c8f2d
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr edi, 5
shr r10b, 4
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x1400c8f35
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
and al, dil
mov byte [r8 + 0x16], al
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x1400c8f27
xor ecx, ecx
mov eax, 0x80000007
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x1400c8f39
pop rdi
pop rsi
ret
mov dl, byte [r8 + 0x19]
jmp 0x1400c8f20
xor r10d, r10d
jmp 0x1400c8e2f
xor eax, eax
jmp 0x1400c8ec4
cmp byte [r8 + 0x1a], 0
je 0x1400c8f24
xor ecx, ecx
mov eax, 0x40000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x1400c8f24
cmp ecx, 0x666f736f
jne 0x1400c8f24
cmp edx, 0x76482074
jne 0x1400c8f24
mov byte [r8 + 0x19], 1
jmp 0x1400c8f24

Function at 0x1400ca180
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 0x1400ca195
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret
Function at 0x1400cb0a0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, dword [0x140213828]
mov ecx, dword [0x1401feb28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400cb121
lea rcx, [0x140213818]
call fcn.1400b9ed0
test rax, rax
jne 0x1400cb10e
mov ecx, 4
call fcn.14012c4a0
mov rdi, rax
mov dword [rax], 0
lea rbx, [0x140213818]
mov rcx, rbx
call fcn.1400b9ed0
mov rsi, rax
mov rcx, rbx
mov rdx, rdi
call fcn.1400b9f70
test rsi, rsi
jne 0x1400cb164
lea rcx, [0x140213818]
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400b9ed0
lea rcx, [0x140213828]
call fcn.14012c600
cmp dword [0x140213828], 0xffffffff
jne 0x1400cb0c8
xorps xmm0, xmm0
movups xmmword [0x140213818], xmm0
lea rcx, [0x140213818]
lea rdx, [0x14002afe0]
call fcn.1400b9fc0
lea rcx, [0x140213828]
call fcn.14012c698
jmp 0x1400cb0c8
mov rcx, rsi
call fcn.14012c4dc
jmp 0x1400cb10e
Function at 0x1400d8720
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x1400d8768
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 0x1400d8771
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400d8758
mov qword [rdi], rsi
call fcn.1400f1700
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.1400f1700
mov rcx, qword [rdi]
call fcn.1400dc460
mov qword [rdi], 0
jmp 0x1400d8746

Function at 0x1400dc2f0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1401f0038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1402058d8]
mov ecx, dword [0x1401feb28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400dc350
mov rsi, qword [0x1402058d0]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14012d050
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1402058d8]
call fcn.14012c600
cmp dword [0x1402058d8], 0xffffffff
jne 0x1400dc32c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14012ffe0
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.14012c4a0
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140205920]
mov ecx, dword [0x1401feb28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400dc410
lea r8, [0x1402058f0]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14007fb10
mov qword [0x1402058d0], rsi
lea rcx, [0x1402058d8]
call fcn.14012c698
jmp 0x1400dc32c
lea rcx, [0x140205920]
call fcn.14012c600
cmp dword [0x140205920], 0xffffffff
jne 0x1400dc3e1
xorps xmm0, xmm0
movups xmmword [0x140205910], xmm0
movups xmmword [0x140205900], xmm0
movups xmmword [0x1402058f0], xmm0
lea rcx, [0x1402058f0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140205920]
call fcn.14012c698
jmp 0x1400dc3e1
Function at 0x1400dcc70
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov ebx, ecx
mov rax, qword [0x1401f0038]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x1402059a0]
mov ecx, dword [0x1401feb28]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400dce77
mov rsi, qword [0x140205998]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400dcebd
movzx ebx, bl
dec ebx
or ebx, 1
cmp byte [0x140205948], 0
mov eax, 8
mov ecx, 1
cmove ecx, eax
xor ebp, ebp
add ebx, dword [0x14020594c]
mov dword [0x14020594c], ebx
cmovne ebp, ecx
mov eax, dword [0x140205950]
cmp ebp, eax
je 0x1400dce37
test eax, eax
je 0x1400dcdcc
mov rax, qword [str.__b_]
lea rcx, [0x1400dcf50]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x1400dce66
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rdi]
movabs rax, 0x8637bd05af7
cmp rcx, rax
jge 0x1400dcf14
imul rax, rcx, 0xf4240
cqo
idiv qword [0x1402059b8]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x1402059a8]
xor edx, edx
cmp rax, rcx
setns dl
movabs r8, 0x7fffffffffffffff
add r8, rdx
sub rax, rcx
cmovo rax, r8
movabs rdx, 0x8000000000000001
lea r8, [rax + rdx]
mov rcx, qword [0x140205958]
cmp r8, 2
jb 0x1400dceca
lea rdx, [rcx + rax]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, rax
cmovo rcx, rdx
mov rax, rcx
mov qword [0x140205958], rax
mov ecx, dword [0x140205950]
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov dword [0x140205950], ebp
test ebx, ebx
je 0x1400dce37
mov rax, qword [str.__b_]
lea rcx, [0x1400dcf50]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x1400dce58
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rdi]
movabs rax, 0x8637bd05af7
cmp rcx, rax
jge 0x1400dcee3
imul rax, rcx, 0xf4240
cqo
idiv qword [0x1402059b8]
mov qword [0x1402059a8], rax
mov ecx, dword [0x140205950]
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14012d050
mov al, 1
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, rdi
call qword [0x140224008]
mov rax, qword [rdi]
jmp 0x1400dce24
mov rcx, rdi
call qword [0x140224008]
mov rax, qword [rdi]
jmp 0x1400dcd60
lea rcx, [0x1402059a0]
call fcn.14012c600
cmp dword [0x1402059a0], 0xffffffff
jne 0x1400dccae
mov ecx, 8
call fcn.14012c4a0
mov rsi, rax
mov rcx, rax
call fcn.1400dd4e0
mov qword [0x140205998], rsi
lea rcx, [0x1402059a0]
call fcn.14012c698
jmp 0x1400dccae
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x1400dccc6
cmp rcx, rax
je 0x1400dcdb9
add rcx, rdx
cmp rcx, 1
ja 0x1400dcdb9
int3
mov r8, qword [0x1402059b8]
mov rax, rcx
cqo
idiv r8
imul r9, rax, 0xf4240
imul rax, r8
sub rcx, rax
imul rax, rcx, 0xf4240
cqo
idiv r8
add rax, r9
jmp 0x1400dce24
mov r8, qword [0x1402059b8]
mov rax, rcx
cqo
idiv r8
imul r9, rax, 0xf4240
imul rax, r8
sub rcx, rax
imul rax, rcx, 0xf4240
cqo
idiv r8
add rax, r9
jmp 0x1400dcd5b
Function at 0x1400dd2a0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
xor eax, eax
test r8d, r8d
sete al
xor r8d, r8d
test edx, edx
sete r8b
xor ecx, ecx
mov edx, r8d
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x1400dd33a
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400dd324
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400dd301
mov qword [rsi], rdi
call fcn.1400f1700
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 0
inc rax
cmp rax, 1
jbe 0x1400dd33e
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400f1700
mov rcx, qword [rsi]
call fcn.1400dc460
mov qword [rsi], 0
jmp 0x1400dd2ef
mov byte [rsi + 8], 0
int3
Function at 0x1400f96b0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x1401f0038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r9, 0x30
ja 0x1400f9786
mov rsi, rcx
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmm2, xmmword [rdx + 0x20]
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
test r9, r9
jne 0x1400f978a
xor eax, eax
lea rcx, [0x1401da9d0]
mov dl, byte [rax + rcx]
xor byte [rsp + rax + 0x20], dl
inc rax
cmp rax, 0x30
jne 0x1400f96fe
lea rdi, [rsi + 0xf8]
mov ecx, 1
call fcn.1400f8cd0
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x1400f97a2
call fcn.140003260
lea rax, [0x140001d60]
test rdi, rdi
je 0x1400f974d
lea rcx, [fcn.140001000]
mov qword [rdi], rcx
mov qword [rsi + 0x100], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x108], xmm0
mov qword [rsi + 0x118], 1
mov esi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14012d050
mov eax, esi
add rsp, 0x58
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x1400f9770
xor eax, eax
mov cl, byte [r8 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r9, rax
je 0x1400f96f5
jmp 0x1400f978c
bt eax, 9
jae 0x1400f97c2
call fcn.140004350
lea rax, [0x140004820]
test rdi, rdi
je 0x1400f974d
lea rcx, [fcn.140004520]
jmp 0x1400f974a
call fcn.140192cf0
lea rax, [0x1401934f0]
test rdi, rdi
je 0x1400f974d
lea rcx, [0x140192bd0]
jmp 0x1400f974a

Function at 0x1401057b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
test r8, r8
je 0x1401057db
xor ecx, ecx
lea r9, [0x1401db4a0]
movzx r10d, al
movzx r11d, byte [rdx + rcx]
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc rcx
cmp r8, rcx
jne 0x1401057c0
ret