joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b47a0
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 [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x1400b4770]
lea r8, [rsp + 0x28]
mov qword [r8], rax
lea rcx, [0x14020cb48]
lea rdx, [0x1400b4610]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x1400b4898
cmp dword [0x14020cb50], 0
jne 0x1400b48a5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov ecx, dword [0x14020cb54]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
jne 0x1400b484c
mov ecx, 1
mov edx, 0x28
call fcn.1400f1ba0
test rax, rax
je 0x1400b48a5
mov r14, rax
mov ecx, dword [0x14020cb54]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x1400b489d
lea r15, [0x14020cb58]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
movsxd rbx, ebx
lea rax, [0x14020cb60]
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.140127eb0
mov eax, esi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140141790
mov rcx, r14
call fcn.1400f1b00
mov rcx, rsi
mov rax, rdi
call qword [0x14021d008]
xor esi, esi
jmp 0x1400b487c

Function at 0x1400b4da0
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 [0x1401f98f0]
cmp ecx, 0xffffffff
je 0x1400b4dc2
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400b4dc7
call fcn.1400b4ef0
mov eax, dword [0x14020e3b0]
mov ecx, dword [0x1401f99e8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400b4e80
mov rbx, qword [0x14020e3a8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400b4ec9
mov rcx, qword [0x14020cb98]
inc rcx
xor edx, edx
lea rax, [0x14020cba0]
lea r8d, [rcx + rdx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
mov r10d, r9d
cmp dword [rax + r10*8], 0
jne 0x1400b4ed6
lea rcx, [rax + r10*8]
mov dword [rcx], 1
mov ecx, r9d
mov qword [rax + rcx*8 + 8], rdi
mov edx, dword [0x14020e3a0]
inc edx
mov dword [0x14020e3a0], edx
mov dword [rax + rcx*8 + 0x14], edx
mov qword [0x14020cb98], 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 0x1400b4ec6
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x14020e3b0]
call fcn.140127460
cmp dword [0x14020e3b0], 0xffffffff
jne 0x1400b4dec
mov ecx, 8
call fcn.140127300
mov rbx, rax
mov rcx, rax
call fcn.1400d8360
mov qword [0x14020e3a8], rbx
lea rcx, [0x14020e3b0]
call fcn.1401274f8
jmp 0x1400b4dec
int3
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x1400b4e04
inc rdx
cmp rdx, 0x100
jne 0x1400b4e17
jmp 0x1400b4e66
Function at 0x1400b4ef0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.140127e50
sub rsp, rax
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x1401f98f0]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x1400b4fa4
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400b4fe2
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.14012ae40
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.14012737c
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.14012a790
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.140127eb0
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.1400c52d0
test al, al
je 0x1400b4fe5
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x1400b4fe8
mov eax, 0xffffffff
lock cmpxchg dword [0x1401f98f0], ecx
je 0x1400b4f28
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x1401f98f0]
mov dword [rsp + 0x2c], ecx
jmp 0x1400b4f28
int3
int3
lea rcx, [rsp + 0x2c]
call fcn.1400c52d0
test al, al
je 0x1400b500d
cmp dword [rsp + 0x2c], 0xffffffff
je 0x1400b500d
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x1400b4fbb
int3

Function at 0x1400b5020
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, dword [0x1401f98f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
and ecx, 3
cmp ecx, 2
je 0x1400b5069
and rax, 0xfffffffffffffffc
je 0x1400b509c
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x1400b509c
mov rsi, qword [rax + rcx]
jmp 0x1400b509e
lea rdx, [0x1401d540d]
lea r8, str....._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r9d, 0x1f6
call fcn.1400ec540
movabs rdx, 0x141dd76000
mov rcx, rsi
call fcn.1401888c0
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140127eb0
mov rax, rsi
add rsp, 0x50
pop rsi
ret

Function at 0x1400b50c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1401f98f0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400b50fe
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 0x1400b50f7
call fcn.1400b4ef0
jmp 0x1400b50de
Function at 0x1400b5a40
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x1400b5a50
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 0x1400b5a71
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1400b5a91
cmp byte [r14 + 0x50], 0
jne 0x1400b5b1c
or edi, 0x20000000
test dil, 8
jne 0x1400b5b27
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x1400b5aaf
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x1400b5ac0
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
jne 0x1400b5b4e
cmp byte [r14 + 0x18], 0
jne 0x1400b5b5f
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x1400b5b6f
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 0x1400b5b44
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 0x1400b5a91
cmp byte [r14 + 0x68], 0
je 0x1400b5b39
or edi, 0x40000000
jmp 0x1400b5a9b
or edi, 0x10000000
jmp 0x1400b5a9b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400b5b07
lea rcx, [r14 + 0x20]
call fcn.140083790
mov r15, rax
jmp 0x1400b5acb
mov rcx, r14
call fcn.140083790
mov r9, rax
jmp 0x1400b5ad9
cmp ebx, 4
jne 0x1400b5b7e
mov edx, 6
jmp 0x1400b5ae6
lea eax, [rbx - 2]
cmp eax, 2
jae 0x1400b5b90
mov edx, 7
jmp 0x1400b5ae6
cmp ebx, 1
jne 0x1400b5b9f
mov edx, 4
jmp 0x1400b5ae6
xor edx, edx
jmp 0x1400b5ae6
Function at 0x1400b5a50
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x1400b5a50
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 0x1400b5a71
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1400b5a91
cmp byte [r14 + 0x50], 0
jne 0x1400b5b1c
or edi, 0x20000000
test dil, 8
jne 0x1400b5b27
xor r15d, r15d
cmp byte [r14 + 0x60], 0
mov r12d, 0
je 0x1400b5aaf
mov r12, qword [r14 + 0x58]
cmp byte [r14 + 0x48], 0
mov r13d, 0
je 0x1400b5ac0
mov r13, qword [r14 + 0x40]
cmp byte [r14 + 0x38], 0
jne 0x1400b5b4e
cmp byte [r14 + 0x18], 0
jne 0x1400b5b5f
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x1400b5b6f
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 0x1400b5b44
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 0x1400b5a91
cmp byte [r14 + 0x68], 0
je 0x1400b5b39
or edi, 0x40000000
jmp 0x1400b5a9b
or edi, 0x10000000
jmp 0x1400b5a9b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400b5b07
lea rcx, [r14 + 0x20]
call fcn.140083790
mov r15, rax
jmp 0x1400b5acb
mov rcx, r14
call fcn.140083790
mov r9, rax
jmp 0x1400b5ad9
cmp ebx, 4
jne 0x1400b5b7e
mov edx, 6
jmp 0x1400b5ae6
lea eax, [rbx - 2]
cmp eax, 2
jae 0x1400b5b90
mov edx, 7
jmp 0x1400b5ae6
cmp ebx, 1
jne 0x1400b5b9f
mov edx, 4
jmp 0x1400b5ae6
xor edx, edx
jmp 0x1400b5ae6

Function at 0x1400b5bb0
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 0x1400b5be8
cmp byte [r15 + 0x50], 0
jne 0x1400b5c7f
or edi, 0x20000000
test dil, 8
jne 0x1400b5c8a
xor r14d, r14d
cmp byte [r15 + 0x60], 0
mov r12d, 0
je 0x1400b5c06
mov r12, qword [r15 + 0x58]
cmp byte [r15 + 0x48], 0
mov r13d, 0
je 0x1400b5c17
mov r13, qword [r15 + 0x40]
cmp byte [r15 + 0x38], 0
jne 0x1400b5cb1
cmp byte [r15 + 0x18], 0
jne 0x1400b5cc2
xor r9d, r9d
cmp ebx, 4
jne 0x1400b5c70
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 0x1400b5ca7
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 0x1400b5cd2
mov edx, 7
jmp 0x1400b5c3a
or edi, 0x80000000
jmp 0x1400b5be8
cmp byte [r15 + 0x68], 0
je 0x1400b5c9c
or edi, 0x40000000
jmp 0x1400b5bf2
or edi, 0x10000000
jmp 0x1400b5bf2
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400b5c5b
lea rcx, [r15 + 0x20]
call fcn.140083790
mov r14, rax
jmp 0x1400b5c22
mov rcx, r15
call fcn.140083790
mov r9, rax
jmp 0x1400b5c30
mov edx, 1
test ebx, ebx
je 0x1400b5c3a
cmp ebx, 1
jne 0x1400b5cee
mov edx, 4
jmp 0x1400b5c3a
xor edx, edx
jmp 0x1400b5c3a
Function at 0x1400c2bc0
Capabilities:
Allocate thread local storage

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

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

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

Function at 0x1400c3c70
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 [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
lea rbx, [rsp + 0x28]
mov r8d, SysAllocStringByteLen
mov rcx, rbx
mov dl, 0xaa
call fcn.14012ae40
mov rcx, rbx
call fcn.1400c2ce0
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 0x1400c3d0a
mov r8d, dword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
mov rcx, rsi
call fcn.14009b8e0
xor ecx, ecx
test al, al
mov esi, 0xffffff94
cmovne esi, ecx
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140127eb0
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.1400c2da0
mov esi, eax
jmp 0x1400c3ced
Function at 0x1400c3f20
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 0x1400c4041
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 0x1400c407d
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 0x1400c4085
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 0x1400c4077
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 0x1400c4089
pop rdi
pop rsi
ret
mov dl, byte [r8 + 0x19]
jmp 0x1400c4070
xor r10d, r10d
jmp 0x1400c3f7f
xor eax, eax
jmp 0x1400c4014
cmp byte [r8 + 0x1a], 0
je 0x1400c4074
xor ecx, ecx
mov eax, 0x40000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x1400c4074
cmp ecx, 0x666f736f
jne 0x1400c4074
cmp edx, 0x76482074
jne 0x1400c4074
mov byte [r8 + 0x19], 1
jmp 0x1400c4074

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, dword [0x14020e528]
mov ecx, dword [0x1401f99e8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400c6271
lea rcx, [0x14020e518]
call fcn.1400b5020
test rax, rax
jne 0x1400c625e
mov ecx, 4
call fcn.140127300
mov rdi, rax
mov dword [rax], 0
lea rbx, [0x14020e518]
mov rcx, rbx
call fcn.1400b5020
mov rsi, rax
mov rcx, rbx
mov rdx, rdi
call fcn.1400b50c0
test rsi, rsi
jne 0x1400c62b4
lea rcx, [0x14020e518]
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400b5020
lea rcx, [0x14020e528]
call fcn.140127460
cmp dword [0x14020e528], 0xffffffff
jne 0x1400c6218
xorps xmm0, xmm0
movups xmmword [0x14020e518], xmm0
lea rcx, [0x14020e518]
lea rdx, [0x14002ab80]
call fcn.1400b5110
lea rcx, [0x14020e528]
call fcn.1401274f8
jmp 0x1400c6218
mov rcx, rsi
call fcn.14012733c
jmp 0x1400c625e
Function at 0x1400d35a0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x1400d35e8
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 0x1400d35f1
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400d35d8
mov qword [rdi], rsi
call fcn.1400ec560
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.1400ec560
mov rcx, qword [rdi]
call fcn.1400d72e0
mov qword [rdi], 0
jmp 0x1400d35c6

Function at 0x1400d7170
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1402005d8]
mov ecx, dword [0x1401f99e8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400d71d0
mov rsi, qword [0x1402005d0]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140127eb0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1402005d8]
call fcn.140127460
cmp dword [0x1402005d8], 0xffffffff
jne 0x1400d71ac
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14012ae40
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.140127300
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140200620]
mov ecx, dword [0x1401f99e8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400d7290
lea r8, [0x1402005f0]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14007b8a0
mov qword [0x1402005d0], rsi
lea rcx, [0x1402005d8]
call fcn.1401274f8
jmp 0x1400d71ac
lea rcx, [0x140200620]
call fcn.140127460
cmp dword [0x140200620], 0xffffffff
jne 0x1400d7261
xorps xmm0, xmm0
movups xmmword [0x140200610], xmm0
movups xmmword [0x140200600], xmm0
movups xmmword [0x1402005f0], xmm0
lea rcx, [0x1402005f0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140200620]
call fcn.1401274f8
jmp 0x1400d7261
Function at 0x1400d7af0
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 [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x1402006a0]
mov ecx, dword [0x1401f99e8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400d7cf7
mov rsi, qword [0x140200698]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400d7d3d
movzx ebx, bl
dec ebx
or ebx, 1
cmp byte [0x140200648], 0
mov eax, 8
mov ecx, 1
cmove ecx, eax
xor ebp, ebp
add ebx, dword [0x14020064c]
mov dword [0x14020064c], ebx
cmovne ebp, ecx
mov eax, dword [0x140200650]
cmp ebp, eax
je 0x1400d7cb7
test eax, eax
je 0x1400d7c4c
mov rax, qword [0x1401ed6c8]
lea rcx, [0x1400d7dd0]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x1400d7ce6
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 0x1400d7d94
imul rax, rcx, 0xf4240
cqo
idiv qword [0x1402006b8]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x1402006a8]
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 [0x140200658]
cmp r8, 2
jb 0x1400d7d4a
lea rdx, [rcx + rax]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, rax
cmovo rcx, rdx
mov rax, rcx
mov qword [0x140200658], rax
mov ecx, dword [0x140200650]
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov dword [0x140200650], ebp
test ebx, ebx
je 0x1400d7cb7
mov rax, qword [0x1401ed6c8]
lea rcx, [0x1400d7dd0]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x1400d7cd8
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 0x1400d7d63
imul rax, rcx, 0xf4240
cqo
idiv qword [0x1402006b8]
mov qword [0x1402006a8], rax
mov ecx, dword [0x140200650]
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.140127eb0
mov al, 1
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, rdi
call qword [0x14021d008]
mov rax, qword [rdi]
jmp 0x1400d7ca4
mov rcx, rdi
call qword [0x14021d008]
mov rax, qword [rdi]
jmp 0x1400d7be0
lea rcx, [0x1402006a0]
call fcn.140127460
cmp dword [0x1402006a0], 0xffffffff
jne 0x1400d7b2e
mov ecx, 8
call fcn.140127300
mov rsi, rax
mov rcx, rax
call fcn.1400d8360
mov qword [0x140200698], rsi
lea rcx, [0x1402006a0]
call fcn.1401274f8
jmp 0x1400d7b2e
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x1400d7b46
cmp rcx, rax
je 0x1400d7c39
add rcx, rdx
cmp rcx, 1
ja 0x1400d7c39
int3
mov r8, qword [0x1402006b8]
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 0x1400d7ca4
mov r8, qword [0x1402006b8]
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 0x1400d7bdb
Function at 0x1400d8120
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 0x1400d81ba
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400d81a4
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400d8181
mov qword [rsi], rdi
call fcn.1400ec560
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 0x1400d81be
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400ec560
mov rcx, qword [rsi]
call fcn.1400d72e0
mov qword [rsi], 0
jmp 0x1400d816f
mov byte [rsi + 8], 0
int3
Function at 0x1400f4510
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r9, 0x30
ja 0x1400f45e6
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 0x1400f45ea
xor eax, eax
lea rcx, [0x1401d4c60]
mov dl, byte [rax + rcx]
xor byte [rsp + rax + 0x20], dl
inc rax
cmp rax, 0x30
jne 0x1400f455e
lea rdi, [rsi + 0xf8]
mov ecx, 1
call fcn.1400f3b30
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x1400f4602
call fcn.140003260
lea rax, [0x140001d60]
test rdi, rdi
je 0x1400f45ad
lea rcx, section..text
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.140127eb0
mov eax, esi
add rsp, 0x58
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x1400f45d0
xor eax, eax
mov cl, byte [r8 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r9, rax
je 0x1400f4555
jmp 0x1400f45ec
bt eax, 9
jae 0x1400f4622
call fcn.140004350
lea rax, [0x140004820]
test rdi, rdi
je 0x1400f45ad
lea rcx, [0x140004520]
jmp 0x1400f45aa
call fcn.14018da70
lea rax, [0x14018e270]
test rdi, rdi
je 0x1400f45ad
lea rcx, [0x14018d950]
jmp 0x1400f45aa

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

Disassembly:
mov eax, ecx
test r8, r8
je 0x14010063b
xor ecx, ecx
lea r9, [0x1401d5730]
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 0x140100620
ret