joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400d4cc0
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x1400d4cd0
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 0x1400d4cf1
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1400d4d11
cmp byte [r14 + 0x68], 0
jne 0x1400d4d93
or edi, 0x20000000
test dil, 8
jne 0x1400d4dc7
xor r15d, r15d
cmp byte [r14 + 0x70], 0
mov r12d, 0
je 0x1400d4d2f
mov r12, qword [r14 + 0x78]
cmp byte [r14 + 0x50], 0
mov r13d, 0
je 0x1400d4d40
mov r13, qword [r14 + 0x58]
cmp byte [r14 + 0x28], 0
jne 0x1400d4da8
cmp byte [r14], 0
jne 0x1400d4db6
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x1400d4de7
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 0x1400d4d9e
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 0x1400d4d11
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400d4d7e
lea rcx, [r14 + 0x30]
call fcn.1400a5f20
mov r15, rax
jmp 0x1400d4d47
add r14, 8
mov rcx, r14
call fcn.1400a5f20
mov r9, rax
jmp 0x1400d4d50
cmp byte [r14 + 0x88], 0
je 0x1400d4ddc
or edi, 0x40000000
jmp 0x1400d4d1b
or edi, 0x10000000
jmp 0x1400d4d1b
cmp ebx, 4
jne 0x1400d4df6
mov edx, 6
jmp 0x1400d4d5d
lea eax, [rbx - 2]
cmp eax, 2
jae 0x1400d4e08
mov edx, 7
jmp 0x1400d4d5d
cmp ebx, 1
jne 0x1400d4e17
mov edx, 4
jmp 0x1400d4d5d
xor edx, edx
jmp 0x1400d4d5d
Function at 0x1400d4cd0
Capabilities:
Inspect section memory permissions

Disassembly:
mov r9d, r8d
xor r8d, r8d
jmp 0x1400d4cd0
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 0x1400d4cf1
mov rsi, qword [rsi]
mov edi, r9d
and edi, 0xfffffff
test r9b, 4
je 0x1400d4d11
cmp byte [r14 + 0x68], 0
jne 0x1400d4d93
or edi, 0x20000000
test dil, 8
jne 0x1400d4dc7
xor r15d, r15d
cmp byte [r14 + 0x70], 0
mov r12d, 0
je 0x1400d4d2f
mov r12, qword [r14 + 0x78]
cmp byte [r14 + 0x50], 0
mov r13d, 0
je 0x1400d4d40
mov r13, qword [r14 + 0x58]
cmp byte [r14 + 0x28], 0
jne 0x1400d4da8
cmp byte [r14], 0
jne 0x1400d4db6
xor r9d, r9d
mov edx, 1
test ebx, ebx
jne 0x1400d4de7
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 0x1400d4d9e
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 0x1400d4d11
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400d4d7e
lea rcx, [r14 + 0x30]
call fcn.1400a5f20
mov r15, rax
jmp 0x1400d4d47
add r14, 8
mov rcx, r14
call fcn.1400a5f20
mov r9, rax
jmp 0x1400d4d50
cmp byte [r14 + 0x88], 0
je 0x1400d4ddc
or edi, 0x40000000
jmp 0x1400d4d1b
or edi, 0x10000000
jmp 0x1400d4d1b
cmp ebx, 4
jne 0x1400d4df6
mov edx, 6
jmp 0x1400d4d5d
lea eax, [rbx - 2]
cmp eax, 2
jae 0x1400d4e08
mov edx, 7
jmp 0x1400d4d5d
cmp ebx, 1
jne 0x1400d4e17
mov edx, 4
jmp 0x1400d4d5d
xor edx, edx
jmp 0x1400d4d5d

Function at 0x1400d4e20
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 0x1400d4e58
cmp byte [r15 + 0x68], 0
jne 0x1400d4ee6
or edi, 0x20000000
test dil, 8
jne 0x1400d4f1d
xor r14d, r14d
cmp byte [r15 + 0x70], 0
mov r12d, 0
je 0x1400d4e76
mov r12, qword [r15 + 0x78]
cmp byte [r15 + 0x50], 0
mov r13d, 0
je 0x1400d4e87
mov r13, qword [r15 + 0x58]
cmp byte [r15 + 0x28], 0
jne 0x1400d4efb
cmp byte [r15], 0
jne 0x1400d4f09
xor r9d, r9d
cmp ebx, 4
jne 0x1400d4ed7
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 0x1400d4ef1
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 0x1400d4f3d
mov edx, 7
jmp 0x1400d4ea1
or edi, 0x80000000
jmp 0x1400d4e58
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400d4ec2
lea rcx, [r15 + 0x30]
call fcn.1400a5f20
mov r14, rax
jmp 0x1400d4e8e
add r15, 8
mov rcx, r15
call fcn.1400a5f20
mov r9, rax
jmp 0x1400d4e97
cmp byte [r15 + 0x88], 0
je 0x1400d4f32
or edi, 0x40000000
jmp 0x1400d4e62
or edi, 0x10000000
jmp 0x1400d4e62
mov edx, 1
test ebx, ebx
je 0x1400d4ea1
cmp ebx, 1
jne 0x1400d4f59
mov edx, 4
jmp 0x1400d4ea1
xor edx, edx
jmp 0x1400d4ea1
Function at 0x1400e2bd0
Capabilities:
Receive data
Receive data on socket

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

Function at 0x1400e2c60
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 [0x140241038]
xor rax, rsp
mov qword [rsp + 0xb8], rax
lea rbx, [rsp + 0x28]
mov r8d, SysAllocStringByteLen
mov rcx, rbx
mov dl, 0xaa
call fcn.140157270
mov rcx, rbx
call fcn.1400e1cb0
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 0x1400e2cfa
mov r8d, dword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
mov rcx, rsi
call fcn.1400bbca0
xor ecx, ecx
test al, al
mov esi, 0xffffff94
cmovne esi, ecx
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1401542e0
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.1400e1d70
mov esi, eax
jmp 0x1400e2cdd
Function at 0x1400e3090
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 [0x140251320]
cmp ecx, 0xffffffff
je 0x1400e316a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x1400e316a
mov eax, dword [0x140261630]
mov ecx, dword [0x140251494]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400e3174
mov rbx, qword [0x140261628]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400e31ba
mov rax, qword [0x14025fe18]
inc rax
xor ecx, ecx
lea rdx, [0x14025fe20]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x1400e31c7
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x140261620]
inc ecx
mov dword [0x140261620], ecx
mov dword [rax + 0x14], ecx
mov qword [0x14025fe18], 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 0x1400e31dc
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.1400e31e0
jmp 0x1400e30ba
lea rcx, [0x140261630]
call fcn.140153800
cmp dword [0x140261630], 0xffffffff
jne 0x1400e30df
mov ecx, 8
call fcn.1401536a0
mov rbx, rax
mov rcx, rax
call fcn.140100260
mov qword [0x140261628], rbx
lea rcx, [0x140261630]
call fcn.140153898
jmp 0x1400e30df
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x1400e30f7
inc rcx
cmp rcx, 0x100
jne 0x1400e310a
jmp 0x1400e3150
int3

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

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.140154280
sub rsp, rax
mov rax, qword [0x140241038]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x140251320]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x1400e3294
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400e32f7
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.140157270
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.14015371c
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.140156bc0
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.1401542e0
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.1400e6fb0
test al, al
je 0x1400e32fa
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x1400e32d2
mov eax, 0xffffffff
lock cmpxchg dword [0x140251320], ecx
je 0x1400e3218
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x140251320]
mov dword [rsp + 0x2c], ecx
jmp 0x1400e3218
lea rcx, [rsp + 0x2c]
call fcn.1400e6fb0
test al, al
je 0x1400e32fd
cmp dword [rsp + 0x2c], 0xffffffff
je 0x1400e32fd
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x1400e32ab
int3
int3
int3
Function at 0x1400e3310
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x140241038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ecx, dword [0x140251320]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
and ecx, 3
cmp ecx, 2
je 0x1400e3359
and rax, 0xfffffffffffffffc
je 0x1400e338c
mov rcx, qword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 8]
jne 0x1400e338c
mov rsi, qword [rax + rcx]
jmp 0x1400e338e
lea rdx, [0x14022eec8]
lea r8, str....._base_threading_thread_local_storage.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r9d, 0x1f6
call fcn.14011e5c0
movabs rdx, 0x141dd76000
mov rcx, rsi
call fcn.1401c75f0
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401542e0
mov rax, rsi
add rsp, 0x50
pop rsi
ret

Function at 0x1400e33b0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140251320]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400e33ee
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 0x1400e33e7
call fcn.1400e31e0
jmp 0x1400e33ce
Function at 0x1400e3450
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor ecx, ecx
xor eax, eax
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x1400e3572
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 0x1400e35a8
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
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 0x1400e35b0
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
test edi, edi
setne cl
and cl, al
mov byte [r8 + 0x16], cl
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x1400e35b4
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x1400e35ba
pop rdi
pop rsi
ret
xor r10d, r10d
jmp 0x1400e34ac
xor eax, eax
jmp 0x1400e3541
mov dl, byte [r8 + 0x19]
jmp 0x1400e35a1
cmp byte [r8 + 0x1a], 0
je 0x1400e35a5
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x1400e35a5
cmp ecx, 0x666f736f
jne 0x1400e35a5
cmp edx, 0x76482074
jne 0x1400e35a5
mov byte [r8 + 0x19], 1
jmp 0x1400e35a5
Function at 0x1400e56f0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov eax, dword [0x1402616c0]
mov ecx, dword [0x140251494]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400e5771
lea rcx, [0x1402616b0]
call fcn.1400e3310
test rax, rax
jne 0x1400e575e
mov ecx, 4
call fcn.1401536a0
mov rdi, rax
mov dword [rax], 0
lea rbx, [0x1402616b0]
mov rcx, rbx
call fcn.1400e3310
mov rsi, rax
mov rcx, rbx
mov rdx, rdi
call fcn.1400e33b0
test rsi, rsi
jne 0x1400e57b4
lea rcx, [0x1402616b0]
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.1400e3310
lea rcx, [0x1402616c0]
call fcn.140153800
cmp dword [0x1402616c0], 0xffffffff
jne 0x1400e5718
xorps xmm0, xmm0
movups xmmword [0x1402616b0], xmm0
lea rcx, [0x1402616b0]
lea rdx, [0x14003e1f0]
call fcn.1400e3400
lea rcx, [0x1402616c0]
call fcn.140153898
jmp 0x1400e5718
mov rcx, rsi
call fcn.1401536dc
jmp 0x1400e575e

Function at 0x1400e6fb0
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 0x1400e6fc5
mov dword [rsi], eax
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret

Function at 0x1400e7010
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x1400e704c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1400e7056
add rdi, rbx
sub rsi, rbx
jne 0x1400e702a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
Function at 0x1400e9e90
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 + 0x28], r8
mov rsi, rcx
mov r13, qword [rcx]
mov rax, qword [rcx + 8]
mov qword [rsp + 0x30], rax
mov rdi, qword [rcx + 0x18]
lea rax, [rdi + r13]
test rdi, rdi
jle 0x1400e9ef5
movdqa xmm0, xmmword [0x14021a370]
movdqa xmm1, xmmword [0x14021a380]
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 0x1400e9ed4
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 0x1400e9ff5
mov r14, qword [rdx]
mov rbx, qword [rdx + 8]
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x20], rax
xor ebp, ebp
mov r15, qword [rsp + 0x30]
jmp 0x1400e9f9f
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
je 0x1400e9f36
tzcnt r9d, r11d
add r9, r10
and r9, rdx
mov r10, r9
sub r10, r8
mov r11, rbp
sub r11, r8
xor r11, r10
and r11, rdi
cmp r11, 0xf
ja 0x1400ea01c
and al, 0x7f
mov byte [rcx + rbp], al
lea r8, [rbp - 0xf]
and r8, rdx
and edx, 0xf
add rdx, r8
mov byte [rcx + rdx], al
inc rbp
add r15, r14
cmp rbp, rdi
je 0x1400e9ff5
cmp byte [r13 + rbp], 0xfe
jne 0x1400e9f94
mov rcx, rsi
mov rdx, r15
mov rax, rbx
call qword [case.0x1401bea20.0]
mov rcx, qword [rsi]
mov rdx, qword [rsi + 0x18]
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
jne 0x1400e9f58
jmp 0x1400e9f2d
mov rax, qword [rsi + 0x18]
mov rcx, rax
shr rcx, 3
add rcx, qword [rsi + 0x10]
sub rax, rcx
mov qword [rsi + 0x20], rax
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r12, r9
imul r12, r14
add r12, qword [rsp + 0x30]
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 0x1400ea092
mov rdx, qword [rsp + 0x28]
mov r8, r12
mov rax, qword [rsp + 0x20]
call qword [case.0x1401bea20.0]
mov rcx, rsi
mov rdx, r12
mov r8, r15
mov r12, qword [rsp + 0x20]
mov rax, r12
call qword [case.0x1401bea20.0]
mov rcx, rsi
mov rdx, r15
mov r8, qword [rsp + 0x28]
mov rax, r12
call qword [case.0x1401bea20.0]
dec rbp
sub r15, r14
jmp 0x1400e9f94
mov rdx, r12
mov r8, r15
mov rax, qword [rsp + 0x20]
call qword [case.0x1401bea20.0]
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x18]
mov r8b, 0x80
mov byte [rax + rbp], r8b
lea rdx, [rbp - 0xf]
and rdx, rcx
and ecx, 0xf
add rcx, rdx
mov byte [rax + rcx], r8b
jmp 0x1400e9f94
Function at 0x1400edeb0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x1400edef8
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 0x1400edf01
lea rax, [rsi + 1]
cmp rax, 2
jb 0x1400edee8
mov qword [rdi], rsi
call fcn.14011e5e0
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.14011e5e0
mov rcx, qword [rdi]
call fcn.140106db0
mov qword [rdi], 0
jmp 0x1400eded6
Function at 0x140106bf0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140241038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1402598e0]
mov ecx, dword [0x140251494]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140106c50
mov rsi, qword [0x1402598d8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1401542e0
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1402598e0]
call fcn.140153800
cmp dword [0x1402598e0], 0xffffffff
jne 0x140106c2c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.140157270
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.1401536a0
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140259928]
mov ecx, dword [0x140251494]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140106d10
lea r8, [0x1402598f8]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14009f360
mov qword [0x1402598d8], rsi
lea rcx, [0x1402598e0]
call fcn.140153898
jmp 0x140106c2c
lea rcx, [0x140259928]
call fcn.140153800
cmp dword [0x140259928], 0xffffffff
jne 0x140106ce1
xorps xmm0, xmm0
movups xmmword [0x140259918], xmm0
movups xmmword [0x140259908], xmm0
movups xmmword [0x1402598f8], xmm0
lea rcx, [0x1402598f8]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140259928]
call fcn.140153898
jmp 0x140106ce1
Function at 0x1401075a0
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 [0x140241038]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x1402599a8]
mov ecx, dword [0x140251494]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14010778c
mov rsi, qword [0x1402599a0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1401077d2
movzx ebx, bl
dec ebx
or ebx, 1
cmp byte [0x140259950], 0
mov eax, 8
mov ecx, 1
cmove ecx, eax
xor ebp, ebp
add ebx, dword [0x140259954]
mov dword [0x140259954], ebx
cmovne ebp, ecx
mov eax, dword [0x140259958]
cmp ebp, eax
je 0x14010776b
test eax, eax
je 0x1401076fc
mov rax, qword [0x140245010]
lea rcx, [0x140107880]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x1401077df
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 0x14010784a
imul rax, rcx, 0xf4240
cqo
idiv qword [0x1402599c0]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x1402599b0]
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 [0x140259960]
cmp r8, 2
jb 0x140107801
lea rdx, [rcx + rax]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, rax
cmovo rcx, rdx
mov rax, rcx
mov qword [0x140259960], rax
mov ecx, dword [0x140259958]
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov dword [0x140259958], ebp
test ebx, ebx
je 0x14010776b
mov rax, qword [0x140245010]
lea rcx, [0x140107880]
lea rdi, [rsp + 0x28]
cmp rax, rcx
jne 0x1401077f0
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 0x140107819
imul rax, rcx, 0xf4240
cqo
idiv qword [0x1402599c0]
mov qword [0x1402599b0], rax
mov ecx, dword [0x140259958]
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.1401542e0
mov al, 1
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [0x1402599a8]
call fcn.140153800
cmp dword [0x1402599a8], 0xffffffff
jne 0x1401075de
mov ecx, 8
call fcn.1401536a0
mov rsi, rax
mov rcx, rax
call fcn.140100260
mov qword [0x1402599a0], rsi
lea rcx, [0x1402599a8]
call fcn.140153898
jmp 0x1401075de
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x1401075f6
mov rcx, rdi
call qword [case.0x1401bea20.0]
mov rax, qword [rdi]
jmp 0x140107690
mov rcx, rdi
call qword [case.0x1401bea20.0]
mov rax, qword [rdi]
jmp 0x140107758
add rdx, rcx
cmp rdx, 1
ja 0x1401076e9
cmp rcx, rax
je 0x1401076e9
jmp 0x14010787b
mov r8, qword [0x1402599c0]
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 0x140107758
mov r8, qword [0x1402599c0]
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 0x14010768b
int3