joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140090e80
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x1401d6190]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.ntdll.dll_NtReadFile
cmp eax, 0x103
jne 0x140090eea
mov rcx, rdi
mov edx, 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
mov eax, dword [rsp + 0x60]
cmp eax, 0xc0000011
jne 0x140090ef9
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
jmp 0x140090f30
cmp eax, 0x103
je 0x140090f3a
test eax, eax
js 0x140090f16
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
mov qword [rsi], 0
jmp 0x140090f30
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.1400897c0
mov rcx, rax
call fcn.1400b6630
mov ecx, 7
int 0x29
ud2

Function at 0x1400911c0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
movups xmm0, xmmword [0x1401d6190]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call sub.ntdll.dll_NtWriteFile
cmp eax, 0x103
jne 0x140091231
mov rcx, rdi
mov edx, 0xffffffff
call sub.KERNEL32.dll_WaitForSingleObject
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x140091267
test eax, eax
js 0x140091242
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14009125a
mov ecx, eax
call sub.ntdll.dll_RtlNtStatusToDosError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.1400897c0
mov rcx, rax
call fcn.1400b6630
mov ecx, 7
int 0x29
ud2
Function at 0x140091a10
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
cmp qword [rcx], 0
je 0x140091a95
mov dword [rsp + 0x2c], 0
lea rbx, [rsi + 0x10]
lea r8, [rsp + 0x2c]
mov rcx, rbx
xor edx, edx
xor r9d, r9d
call sub.KERNEL32.dll_InitOnceBeginInitialize
cmp eax, 1
jne 0x140091acc
cmp dword [rsp + 0x2c], 0
je 0x140091abd
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140091ace
mov edi, eax
inc eax
mov dword [rsi + 0x18], eax
mov rax, qword [0x140254110]
nop word cs:[rax + rax]
mov qword [rsi + 8], rax
lock cmpxchg qword [0x140254110], rsi
jne 0x140091a70
mov byte [0x140254108], 1
mov rcx, rbx
xor edx, edx
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
jmp 0x140091ac2
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x140091acc
mov edi, eax
mov ecx, eax
inc ecx
xor eax, eax
lock cmpxchg dword [rsi + 0x18], ecx
je 0x140091ac2
mov esi, eax
mov ecx, edi
call sub.KERNEL32.dll_TlsFree
dec esi
mov edi, esi
jmp 0x140091ac2
mov edi, dword [rsi + 0x18]
dec edi
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
ud2
mov rcx, rbx
mov edx, 4
xor r8d, r8d
call sub.KERNEL32.dll_InitOnceComplete
ud2

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

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov ecx, dword [0x1401b00b8]
test ecx, ecx
je 0x140091bcc
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x140091b0f
cmp qword [rax + 8], 0
jne 0x140091bc6
mov ecx, dword [0x1401b00b8]
test ecx, ecx
je 0x140091bee
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x140091c0b
test rax, rax
jne 0x140091b7f
movzx eax, byte [0x140254141]
mov edx, 0x20
xor ecx, ecx
call fcn.14008bd10
test rax, rax
je 0x140091c2d
lea rcx, [0x1401b00a0]
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, dword [0x1401b00b8]
test ecx, ecx
je 0x140091c14
dec ecx
mov rdx, rax
mov rdi, rax
call sub.KERNEL32.dll_TlsSetValue
mov rax, rdi
test rsi, rsi
je 0x140091b98
mov rcx, qword [rsi]
movups xmm0, xmmword [rsi + 8]
mov qword [rsi], 0
cmp rcx, 1
je 0x140091bba
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov edx, 0x10
mov rsi, rax
call sub.bcryptprimitives.dll_ProcessPrng
mov rax, rsi
movaps xmm0, xmmword [rsp + 0x20]
mov qword [rax + 8], 1
movups xmmword [rax + 0x10], xmm0
add rax, 0x10
jmp 0x140091c0d
lea rcx, [0x1401b00a0]
call fcn.140091a10
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x140091b04
jmp 0x140091b0f
lea rcx, [0x1401b00a0]
call fcn.140091a10
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x140091b2e
xor eax, eax
add rsp, 0x38
pop rdi
pop rsi
ret
lea rcx, [0x1401b00a0]
mov rdi, rax
call fcn.140091a10
mov ecx, eax
mov rax, rdi
jmp 0x140091b71
ud2
Function at 0x140092d10
Capabilities:
Connect socket

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rcx
test rdx, rdx
je 0x140092d2f
mov qword [rsi + 8], r8
mov qword [rsi], 1
jmp 0x140092e04
mov rax, qword [0x1402540e0]
cmp rax, 3
jne 0x140092e0d
mov rbx, r8
movzx edx, word [r8]
lea rcx, [rsp + 0x20]
call fcn.14008ad50
cmp qword [rsp + 0x20], 0
je 0x140092d6e
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x140092e04
mov rdi, qword [rsp + 0x28]
cmp word [rbx], 0
je 0x140092d94
movups xmm0, xmmword [rbx + 4]
mov eax, dword [rbx + 0x14]
mov edx, dword [rbx + 0x18]
movzx ecx, word [rbx + 0x1c]
mov r8d, 0x1c
mov r9w, 0x17
jmp 0x140092da9
mov eax, dword [rbx + 2]
movzx ecx, word [rbx + 6]
mov r8d, 0x10
mov r9w, 2
xorps xmm0, xmm0
rol cx, 8
mov word [rsp + 0x20], r9w
mov word [rsp + 0x22], cx
mov dword [rsp + 0x24], eax
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x38], edx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.ws2_32.dll_connect
cmp eax, 0xffffffff
je 0x140092de4
mov qword [rsi + 8], rdi
mov qword [rsi], 0
jmp 0x140092e04
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, rdi
call sub.ws2_32.dll_closesocket
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
mov rdi, r8
call fcn.14008ac30
mov r8, rdi
jmp 0x140092d40

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

Disassembly:
push rsi
sub rsp, 0xb0
mov rax, rdx
mov rsi, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x2c], pe_nt_image_headers64
lea rdx, [rsp + 0x30]
lea r8, [rsp + 0x2c]
mov rcx, rax
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x140092ecf
mov eax, dword [rsp + 0x2c]
movzx ecx, word [rsp + 0x30]
cmp ecx, 2
je 0x140092ede
cmp ecx, 0x17
jne 0x140092f05
cmp eax, 0x1b
jbe 0x140092f1e
movzx eax, word [rsp + 0x32]
rol ax, 8
movups xmm0, xmmword [rsp + 0x38]
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x48]
mov word [rsi], 1
movups xmmword [rsi + 4], xmm0
mov dword [rsi + 0x14], ecx
mov dword [rsi + 0x18], edx
mov word [rsi + 0x1c], ax
add rsp, 0xb0
pop rsi
ret
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
jmp 0x140092f0c
cmp eax, 0xf
jbe 0x140092f1e
movzx eax, word [rsp + 0x32]
rol ax, 8
mov ecx, dword [rsp + 0x34]
mov word [rsi], 0
mov word [rsi + 6], ax
mov dword [rsi + 2], ecx
add rsp, 0xb0
pop rsi
ret
lea rax, [0x1401d6328]
mov qword [rsi + 8], rax
mov word [rsi], 2
add rsp, 0xb0
pop rsi
ret
ud2
Function at 0x1400933e0
Capabilities:
Create directory

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov r8, rdx
mov rdx, rcx
movabs rsi, 0x8000000000000000
lea rcx, [rsp + 0x38]
call fcn.140085d90
mov rax, qword [rsp + 0x38]
cmp rax, rsi
jne 0x140093414
mov rax, qword [rsp + 0x40]
jmp 0x14009349c
movups xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x50], rax
movups xmmword [rsp + 0x58], xmm0
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x50]
mov r8b, 1
call fcn.140094050
mov rdi, qword [rsp + 0x20]
cmp rdi, rsi
jne 0x140093446
mov rax, qword [rsp + 0x28]
jmp 0x14009349c
mov rsi, qword [rsp + 0x28]
mov rcx, rsi
xor edx, edx
call sub.KERNEL32.dll_CreateDirectoryW
test eax, eax
je 0x140093473
test rdi, rdi
je 0x14009346f
mov rcx, qword [0x1402540f8]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
xor eax, eax
jmp 0x14009349c
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
test rdi, rdi
je 0x14009349c
mov rcx, qword [0x1402540f8]
xor edx, edx
mov r8, rsi
mov rsi, rax
call sub.KERNEL32.dll_HeapFree
mov rax, rsi
add rsp, 0x68
pop rdi
pop rsi
ret

Function at 0x1400934b0
Capabilities:
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x68
mov r8, rdx
mov rdx, rcx
movabs rsi, 0x8000000000000000
lea rcx, [rsp + 0x38]
call fcn.140085d90
mov rax, qword [rsp + 0x38]
cmp rax, rsi
jne 0x1400934e4
mov rax, qword [rsp + 0x40]
jmp 0x14009356a
movups xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x50], rax
movups xmmword [rsp + 0x58], xmm0
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x50]
mov r8b, 1
call fcn.140094050
mov rdi, qword [rsp + 0x20]
cmp rdi, rsi
jne 0x140093516
mov rax, qword [rsp + 0x28]
jmp 0x14009356a
mov rsi, qword [rsp + 0x28]
mov rcx, rsi
call sub.KERNEL32.dll_DeleteFileW
test eax, eax
je 0x140093541
test rdi, rdi
je 0x14009353d
mov rcx, qword [0x1402540f8]
xor edx, edx
mov r8, rsi
call sub.KERNEL32.dll_HeapFree
xor eax, eax
jmp 0x14009356a
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
test rdi, rdi
je 0x14009356a
mov rcx, qword [0x1402540f8]
xor edx, edx
mov r8, rsi
mov rsi, rax
call sub.KERNEL32.dll_HeapFree
mov rax, rsi
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x14009a650
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x14009a692
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14009a69a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14009a6ab
jmp 0x14009a6c2
xor r10d, r10d
jmp 0x14009a74d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14009a6c2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14009a6d9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x14009a6f9
add r11, r8
jmp 0x14009a82b
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x14009a7c2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x14009a770
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14009a7e0
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x14009a7f2
jmp 0x14009a80d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14009a80d
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x14009a827
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x14009d8b0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rax, rdx
mov rsi, rcx
lea rdx, [rsp + 0x24]
mov rcx, rax
call sub.shell32.dll_CommandLineToArgvW
test rax, rax
je 0x14009da1e
mov rdi, rax
mov qword [rsp + 0x40], rsi
movsxd rbp, dword [rsp + 0x24]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], 0
test rbp, rbp
je 0x14009d9f4
shl rbp, 3
mov r15d, 8
xor esi, esi
lea rbx, [rsp + 0x48]
lea r14, [rsp + 0x80]
xor r12d, r12d
jmp 0x14009d962
lea rax, [r12 + r12*2]
mov rcx, qword [rsp + 0x70]
mov qword [r15 + rax*8 + 0x10], rcx
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [r15 + rax*8], xmm0
mov r12, qword [rsp + 0x38]
inc r12
mov qword [rsp + 0x38], r12
add rsi, 8
cmp rbp, rsi
je 0x14009d9f4
mov r13, qword [rdi + rsi]
mov rcx, r13
call sub.msvcrt.dll_wcslen
lea rax, [rax*2]
add rax, r13
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x88], rax
mov word [rsp + 0x90], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 1
mov qword [rsp + 0x58], 0
mov rcx, rbx
mov rdx, r14
call fcn.1400a1b00
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x60], xmm0
cmp r12, qword [rsp + 0x28]
jne 0x14009d930
lea rcx, [rsp + 0x28]
mov rdx, r12
call fcn.140045f10
mov r15, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
jmp 0x14009d930
mov rcx, rdi
call sub.KERNEL32.dll_LocalFree
test rax, rax
jne 0x14009da06
call sub.KERNEL32.dll_GetLastError
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
jmp 0x14009da35
mov qword [rsi], 0
mov qword [rsi + 8], 8
mov qword [rsi + 0x10], 0
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400a0390
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [rcx]
mov rbx, qword [rcx + 0x18]
movdqa xmm0, xmmword [rdi]
pmovmskb eax, xmm0
not eax
lea r14, [rdi + 0x10]
jmp 0x1400a03dd
tzcnt ecx, eax
shl ecx, 5
mov rdx, rdi
sub rdx, rcx
lea ebp, [rax - 1]
and ebp, eax
mov rcx, qword [rdx - 8]
call sub.pdh.dll_PdhRemoveCounter
mov eax, ebp
sub rbx, 1
jb 0x1400a040f
test ax, ax
jne 0x1400a03c0
nop dword [rax + rax]
movdqa xmm0, xmmword [r14]
pmovmskb eax, xmm0
add rdi, 0xfffffffffffffe00
add r14, 0x10
cmp eax, 0xffff
je 0x1400a03f0
not eax
jmp 0x1400a03c0
mov rcx, qword [rsi + 0x38]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x1400a0426
call sub.KERNEL32.dll_CloseHandle
test eax, eax
je 0x1400a043f
mov rcx, qword [rsi + 0x30]
lea rax, [rcx + 1]
cmp rax, 2
jae 0x1400a0452
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
call sub.KERNEL32.dll_GetLastError
mov rcx, qword [rsi + 0x30]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x1400a0434
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
jmp 0x1401102d0
jmp qword [sym.imp.pdh.dll_PdhCloseQuery]
Function at 0x1400a16c0
Capabilities:
Get memory capacity

Disassembly:
push rsi
push rdi
sub rsp, 0x1d8
movaps xmmword [rsp + 0x1c0], xmm7
movaps xmmword [rsp + 0x1b0], xmm6
mov rsi, rcx
xor ecx, ecx
call fcn.140091ae0
test rax, rax
je 0x1400a197a
movups xmm7, xmmword [rax]
inc qword [rax]
movzx eax, byte [0x140254141]
mov edx, 0x56410
xor ecx, ecx
call fcn.14008bd10
test rax, rax
je 0x1400a197a
mov rdi, rax
add rdi, 0x56000
mov r8d, 0x410
mov rcx, rdi
mov dl, 0xff
call sub.msvcrt.dll_memset
movzx eax, byte [0x140254141]
mov edx, 9
xor ecx, ecx
call fcn.14008bd10
test rax, rax
je 0x1400a197a
movabs rcx, 0x5043206c61746f54
mov qword [rax], rcx
mov byte [rax + 8], 0x55
xorps xmm6, xmm6
movups xmmword [rsp + 0xb8], xmm6
mov qword [rsp + 0x120], rdi
mov qword [rsp + 0x128], 0x3ff
mov qword [rsp + 0x130], 0x380
mov qword [rsp + 0x138], 0
movups xmmword [rsp + 0x140], xmm7
movups xmmword [rsp + 0x150], xmm6
movups xmmword [rsp + 0x160], xmm6
mov qword [rsp + 0x90], 9
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], 9
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 1
mov qword [rsp + 0xc8], 1
mov qword [rsp + 0xd0], 0
movabs rax, 0x8000000000000000
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xf0], 0
mov dword [rsp + 0xf8], 0
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 8
mov qword [rsp + 0x110], 0
mov byte [rsp + 0x118], 0
mov qword [rsp + 0x170], 0
movaps xmmword [rsp + 0x20], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GlobalMemoryStatusEx
test eax, eax
jne 0x1400a1884
call sub.KERNEL32.dll_GetLastError
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsp + 0x150], xmm0
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call sub.KERNEL32.dll_K32GetPerformanceInfo
test eax, eax
je 0x1400a191e
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
xor r9d, r9d
sub rdx, r8
cmovb rdx, r9
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r10, 0xffffffffffffffff
cmovo rax, r10
mov rdx, qword [rsp + 0x28]
sub rdx, r8
cmovb rdx, r9
mov qword [rsp + 0x160], rax
mov rax, rcx
mul rdx
cmovo rax, r10
mov qword [rsp + 0x168], rax
lea rdi, [rsp + 0x90]
mov rcx, rdi
call fcn.1400a4960
mov byte [rsp + 0x20], 1
movabs rax, 0x202020202020101
mov qword [rsp + 0x21], rax
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400a4e00
mov r8d, 0x120
mov rcx, rsi
mov rdx, rdi
call sub.msvcrt.dll_memcpy
movaps xmm6, xmmword [rsp + 0x1b0]
movaps xmm7, xmmword [rsp + 0x1c0]
add rsp, 0x1d8
pop rdi
pop rsi
ret
ud2
Function at 0x1400a1980
Capabilities:
Get memory capacity

Disassembly:
push rsi
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rsi, rcx
xorps xmm6, xmm6
movaps xmmword [rsp + 0x20], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_GlobalMemoryStatusEx
test eax, eax
jne 0x1400a19c5
call sub.KERNEL32.dll_GetLastError
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi + 0xc0], xmm0
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm6
movaps xmmword [rsp + 0x20], xmm6
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x20]
mov edx, 0x68
call sub.KERNEL32.dll_K32GetPerformanceInfo
test eax, eax
je 0x1400a1a5c
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x30]
xor r9d, r9d
sub rdx, r8
cmovb rdx, r9
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r10, 0xffffffffffffffff
cmovo rax, r10
mov rdx, qword [rsp + 0x28]
sub rdx, r8
cmovb rdx, r9
mov qword [rsi + 0xd0], rax
mov rax, rcx
mul rdx
cmovo rax, r10
mov qword [rsi + 0xd8], rax
mov rcx, rsi
call fcn.1400a4960
mov byte [rsp + 0x20], 1
movabs rax, 0x202020202020101
mov qword [rsp + 0x21], rax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400a4e00
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rsi
ret

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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
mov ecx, dword [0x1401b0128]
test ecx, ecx
je 0x1400a23e0
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1400a23f9
cmp qword [rax + 8], 0
je 0x1400a23f9
add rax, 0x10
jmp 0x1400a24b5
lea rcx, [0x1401b0110]
call fcn.140091a10
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x1400a23d0
mov ecx, dword [0x1401b0128]
test ecx, ecx
je 0x1400a2496
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
je 0x1400a24b3
test rax, rax
jne 0x1400a2465
movzx eax, byte [0x140254141]
mov edx, 0x18
xor ecx, ecx
call fcn.14008bd10
test rax, rax
je 0x1400a24d2
lea rcx, [0x1401b0110]
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, dword [0x1401b0128]
test ecx, ecx
je 0x1400a24bc
dec ecx
mov rdx, rax
mov rdi, rax
call sub.KERNEL32.dll_TlsSetValue
mov rax, rdi
test rsi, rsi
je 0x1400a247f
mov rcx, qword [rsi]
mov qword [rsi], 0
test rcx, rcx
je 0x1400a2481
mov rcx, qword [rsi + 8]
jmp 0x1400a2481
xor ecx, ecx
lea rdx, [rax + 0x10]
mov qword [rax + 8], 1
mov qword [rax + 0x10], rcx
mov rax, rdx
jmp 0x1400a24b5
lea rcx, [0x1401b0110]
call fcn.140091a10
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 1
jne 0x1400a2418
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x1401b0110]
mov rdi, rax
call fcn.140091a10
mov ecx, eax
mov rax, rdi
jmp 0x1400a2457
ud2
Function at 0x1400a3530
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xd8
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x1401b0038]
test ecx, ecx
je 0x1400a356c
dec ecx
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jb 0x1400a3585
cmp qword [rax + 8], 0
je 0x1400a3585
add rax, 0x10
jmp 0x1400a362d
lea rcx, [0x1401b0020]
call fcn.140091a10
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
cmp rax, 2
jae 0x1400a355c
mov ecx, dword [0x1401b0038]
test ecx, ecx
je 0x1400a35a9
dec ecx
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
je 0x1400a35c1
mov rcx, rax
cmp rax, 1
jne 0x1400a360d
jmp 0x1400a3744
lea rcx, [0x1401b0020]
call fcn.140091a10
mov ecx, eax
call sub.KERNEL32.dll_TlsGetValue
test rax, rax
jne 0x1400a359b
movzx eax, byte [0x140254141]
mov edx, 0x28
xor ecx, ecx
call fcn.14008bd10
test rax, rax
je 0x1400a3744
lea rcx, [0x1401b0020]
mov qword [rax], rcx
mov qword [rax + 8], 0
mov ecx, dword [0x1401b0038]
test ecx, ecx
je 0x1400a3728
dec ecx
mov rdx, rax
mov r14, rax
call sub.KERNEL32.dll_TlsSetValue
mov rcx, r14
mov qword [rcx + 8], 1
lea rax, [rcx + 0x10]
mov qword [rcx + 0x10], 0
mov byte [rcx + 0x18], 0
mov qword [rcx + 0x20], 0
mov rcx, qword [rbx + 0x50]
mov qword [rsp + 0x98], rcx
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rsp + 0x88], xmm0
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmm2, xmmword [rbx + 0x20]
movups xmm3, xmmword [rbx + 0x30]
movups xmmword [rsp + 0x78], xmm3
movups xmmword [rsp + 0x68], xmm2
movups xmmword [rsp + 0x58], xmm1
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0xa0], 0
lea rdx, [0x14009f7a0]
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.140027410
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
cmp byte [rdi + 8], 0
jne 0x1400a36ca
lea rbx, [rdi + 0x10]
nop word cs:[rax + rax]
mov rcx, rbx
mov rdx, rdi
mov r8d, 0xffffffff
xor r9d, r9d
call sub.KERNEL32.dll_SleepConditionVariableSRW
cmp byte [rdi + 8], 0
je 0x1400a36b0
mov byte [rdi + 8], 0
mov rcx, rdi
call fcn.140110008
mov rax, qword [rsp + 0xa0]
cmp rax, 1
jne 0x1400a3741
movups xmm0, xmmword [rsp + 0xa8]
movups xmm1, xmmword [rsp + 0xb8]
movups xmm2, xmmword [rsp + 0xc8]
movaps xmmword [rsp + 0x30], xmm2
movaps xmmword [rsp + 0x20], xmm1
movups xmmword [rsi], xmm0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi + 0x10], xmm0
movups xmmword [rsi + 0x20], xmm1
add rsp, 0xd8
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x1401b0020]
mov r14, rax
call fcn.140091a10
mov ecx, eax
mov rax, r14
jmp 0x1400a35ff
test rax, rax
ud2