joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a60b0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x28
cmp qword [0x140536278], 0
jne 0x1400a6116
lea rcx, [0x140536278]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400a6102
movabs rax, 0x20c49ba5e353f7cf
lea rcx, [0x140536280]
imul qword [0x140536278]
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [0x140536278], rdx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp qword [0x140536278], 0
jne 0x1400a6116
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, eax
jmp 0x1400a613c
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x30]
sub rax, qword [0x140536280]
cqo
idiv qword [0x140536278]
add rsp, 0x28
ret
Function at 0x1400a7cd0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov r14, rcx
xor ebx, ebx
call qword [sym.imp.USER32.dll_GetFocus]
lea rdx, str.PB_WindowID
mov rcx, r14
xor ebp, ebp
mov rdi, rax
call qword [sym.imp.USER32.dll_GetPropW]
mov rsi, rax
lea eax, [rbx + 9]
test rsi, rsi
je 0x1400a7d92
lea rdx, [rsp + 0x68]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x1400a7ed3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x68], eax
jne 0x1400a7ed3
mov rcx, qword [0x1405383e0]
lea rdx, [rsi - 1]
call fcn.1400bbb78
mov ebp, 1
cmp dword [rax + 0x20], 0
mov rbx, rax
jle 0x1400a7ed3
mov rax, qword [rax + 8]
movsxd r8, dword [rbx + 0x20]
xor edx, edx
xor ecx, ecx
lea r10d, [rbp + 8]
cmp word [rcx + rax + 2], r10w
jne 0x1400a7d83
mov r9d, 0xfa01
cmp word [rcx + rax + 4], r9w
je 0x1400a7ecc
inc rdx
add rcx, 6
cmp rdx, r8
jl 0x1400a7d69
mov eax, r10d
mov sil, pe_nt_image_headers64
test rdi, rdi
je 0x1400a7e65
mov ecx, eax
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
je 0x1400a7e65
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x1400a7e65
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x1400a7e65
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x1400a7e65
lea rdx, [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_recv
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClassNameW]
test ebp, ebp
jne 0x1400a7e65
lea r8d, [rbp + 5]
lea rdx, str.RichE
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll_wcsncmp
test eax, eax
je 0x1400a7e31
lea r8d, [rbp + 4]
lea rdx, str.RICHE
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll_wcsncmp
test eax, eax
jne 0x1400a7e50
xor r9d, r9d
xor r8d, r8d
mov edx, 0x44e
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xb
jae 0x1400a7edd
lea rdx, str.Scintilla
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400a7edd
test r14, r14
je 0x1400a7ea7
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x1400a7e9a
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
jne 0x1400a7e9a
mov ecx, reloc.WS2_32.dll_select
call qword [sym.imp.USER32.dll_GetKeyState]
test sil, al
je 0x1400a7ea7
mov edx, 1
mov rcx, r14
call fcn.1400a7ef4
test rdi, rdi
je 0x1400a7ec1
lea rdx, str.PB_Hotkey
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetPropW]
test rax, rax
jne 0x1400a7edd
test rbx, rbx
je 0x1400a7edd
mov rax, qword [rbx + 0x10]
jmp 0x1400a7edf
xor ebp, ebp
jmp 0x1400a7d8f
mov eax, 9
jmp 0x1400a7d92
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x1400aa948
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x380]
sub rsp, 0x480
or rbx, 0xffffffffffffffff
xor edi, edi
test rcx, rcx
je 0x1400aaaaa
cmp word [rcx], di
je 0x1400aaaaa
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call sub.msvcrt.dll_wcsncpy
lea rcx, [rsp + 0x20]
mov word [rbp + 0x128], di
call sub.msvcrt.dll_wcslen
mov rdx, rax
cdqe
lea rcx, [rsp + rax*2 + 0x1e]
lea eax, [rdx - 2]
cmp eax, 1
ja 0x1400aa9e7
cmp word [rsp + 0x22], 0x3a
jne 0x1400aa9e7
cmp edx, 2
jne 0x1400aa9ce
lea rdx, [0x14023d328]
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll_wcscat
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1400aaaaa
jmp 0x1400aaa82
cmp word [rcx], 0x5c
je 0x1400aa9f3
cmp word [rcx], 0x2f
jne 0x1400aa9fc
mov word [rcx], di
sub rcx, 2
jmp 0x1400aa9e7
lea rdx, [rbp + 0x130]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rcx, rax
cmp rax, rbx
je 0x1400aaa43
test byte [rbp + 0x130], 0x10
je 0x1400aaa28
mov rbx, 0xfffffffffffffffe
jmp 0x1400aaa3b
mov ebx, dword [rbp + 0x14c]
mov eax, dword [rbp + 0x150]
shl rbx, 0x20
or rbx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x1400aaaaa
movzx ecx, word [rsp + 0x20]
movzx eax, word [rsp + 0x22]
cmp cx, 0x5c
jne 0x1400aaa58
cmp ax, cx
je 0x1400aaa6e
cmp cx, 0x2f
jne 0x1400aaa63
cmp ax, cx
je 0x1400aaa6e
cmp cx, 0x2e
jne 0x1400aaaaa
cmp ax, cx
jne 0x1400aaaaa
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400aaa8b
test al, 0x10
je 0x1400aaaaa
mov rbx, 0xfffffffffffffffe
jmp 0x1400aaaaa
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov rcx, rbx
mov rbx, 0xfffffffffffffffe
cmp eax, 1
cmova rcx, rbx
mov rbx, rcx
lea r11, [rsp + 0x480]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
Function at 0x1400aae00
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x230
xor ebx, ebx
test rcx, rcx
je 0x1400aae8a
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov r8d, 0x104
call sub.msvcrt.dll_wcsncpy
lea rcx, [rsp + 0x20]
mov word [rsp + 0x228], bx
call sub.msvcrt.dll_wcslen
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*2]
lea rax, [rsp + 0x20]
cmp rcx, rax
jbe 0x1400aae76
lea rdx, [rcx - 2]
movzx eax, word [rdx]
sub ax, 0x20
cmp ax, 0x3c
ja 0x1400aae76
movabs r8, 0x1000000000008001
bt r8, rax
jae 0x1400aae76
lea rax, [rsp + 0x20]
mov rcx, rdx
cmp rdx, rax
ja 0x1400aae48
mov word [rcx], bx
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cdqe
jmp 0x1400aae8c
xor eax, eax
add rsp, 0x230
pop rbx
ret

Function at 0x1400aafbc
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword [0x1405362d0]
xor r13d, r13d
mov rsi, r8
mov r15, rdx
mov rdi, rcx
mov r14d, r13d
test rax, rax
jne 0x1400ab00e
lea r8, [fcn.1400ab130]
lea edx, [rax + 0x10]
mov ecx, 0x260
call fcn.1400bbca0
mov qword [0x1405362d0], rax
mov rdx, rdi
mov rcx, rax
call fcn.1400bbbd8
mov rbx, rax
test rax, rax
je 0x1400ab10f
test r15, r15
lea rbp, [0x140224ea0]
cmovne rbp, r15
test rsi, rsi
je 0x1400ab03e
cmp word [rsi], r13w
jne 0x1400ab045
lea rsi, [0x14023d330]
mov rcx, rbp
call sub.msvcrt.dll_wcslen
mov rcx, rsi
mov r12, rax
call sub.msvcrt.dll_wcslen
mov rcx, qword [0x1404bbcd8]
add eax, 2
xor edx, edx
add eax, r12d
movsxd r8, eax
add r8, r8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
test rax, rax
je 0x1400ab0f8
mov rdx, rbp
mov rcx, rax
call sub.msvcrt.dll_wcscpy
test r12d, r12d
je 0x1400ab0a5
movsxd rax, r12d
cmp word [rbp + rax*2 - 2], 0x5c
je 0x1400ab0a5
lea rdx, [0x14023d328]
mov rcx, r15
call sub.msvcrt.dll_wcscat
mov rdx, rsi
mov rcx, r15
call sub.msvcrt.dll_wcscat
lea rdx, [rbx + 0xc]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbx], rax
cmp rax, 0xffffffffffffffff
je 0x1400ab0cc
mov dword [rbx + 8], r13d
jmp 0x1400ab0de
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1400ab0e1
mov dword [rbx + 8], 1
mov r14, rbx
mov rcx, qword [0x1404bbcd8]
mov r8, r15
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14, r14
jne 0x1400ab10f
mov rcx, qword [0x1405362d0]
cmp rdi, 0xffffffffffffffff
cmove rdi, rbx
mov rdx, rdi
call fcn.1400bbb0c
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rax, r14
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400ab2dc
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edx, ecx
mov esi, 0x104
mov ecx, esi
call fcn.1400bc880
mov ecx, esi
mov rdx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor ebp, ebp
movsxd rbx, eax
test eax, eax
je 0x1400ab325
lea ecx, [rbp + 0x5c]
cmp word [rdi + rbx*2 - 2], cx
je 0x1400ab325
mov word [rdi + rbx*2], cx
inc ebx
sub esi, ebx
mov ecx, esi
call fcn.1400bc9c0
mov rsi, qword [rsp + 0x40]
movsxd rax, ebx
mov rbx, qword [rsp + 0x30]
mov word [rdi + rax*2], bp
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400ab34c
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x1400ab35f
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cdqe
jmp 0x1400ab361
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400ab368
Capabilities:
Set file attributes

Disassembly:
sub rsp, 0x28
xor eax, eax
test rcx, rcx
je 0x1400ab379
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cdqe
add rsp, 0x28
ret

Function at 0x1400ab388
Capabilities:
Delete file
Set file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1400ab3b3
test dl, 2
je 0x1400ab3a6
mov edx, pe_nt_image_headers64
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cdqe
jmp 0x1400ab3b5
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x1400ab3bc
Capabilities:
Copy file

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x1400ab3d7
test rdx, rdx
je 0x1400ab3d7
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cdqe
jmp 0x1400ab3d9
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400ab3e0
Capabilities:
Timestomp file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
xor edi, edi
movsxd rbx, r8d
mov r14d, edx
test rcx, rcx
je 0x1400ab4e2
mov qword [rax - 0x38], rdi
lea r8d, [rdi + 3]
mov dword [rax - 0x40], 0x80
xor r9d, r9d
mov edx, 0x40000000
mov dword [rax - 0x48], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400ab4e2
mov rcx, rbx
call fcn.1400abeb8
mov rcx, rbx
mov word [rbp - 0x10], ax
call fcn.1400abef4
mov rcx, rbx
mov word [rbp - 0xe], ax
call fcn.1400abf2c
mov rcx, rbx
mov word [rbp - 0xc], ax
call fcn.1400abf64
mov rcx, rbx
mov word [rbp - 0xa], ax
call fcn.1400abf9c
mov rcx, rbx
mov word [rbp - 8], ax
call fcn.1400abfd4
mov rcx, rbx
mov word [rbp - 6], ax
call fcn.1400ac00c
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x10]
mov word [rbp - 2], di
mov word [rbp - 4], ax
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
mov r8d, edi
mov r9d, edi
cmp r14d, 1
jne 0x1400ab4bb
lea r8, [rbp + 0x20]
jmp 0x1400ab4cb
cmp r14d, 2
jne 0x1400ab4c7
lea r9, [rbp + 0x20]
jmp 0x1400ab4cb
lea rdi, [rbp + 0x20]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rsi
mov edi, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x50]
movsxd rax, edi
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x1400ac5f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
xor ecx, ecx
xor ebx, ebx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400ac689
lea rsi, [0x140224ea0]
test rdi, rdi
cmovne rsi, rdi
mov rcx, rsi
call sub.msvcrt.dll_wcslen
mov ecx, 0x2002
inc eax
movsxd rbp, eax
add rbp, rbp
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1400ac683
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x1400ac683
mov r8, rbp
mov rdx, rsi
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [rbx + 0xd]
mov rdx, rdi
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rbx, rax
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400ac6a4
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov ebp, ecx
xor r14d, r14d
xor ecx, ecx
mov ebx, r14d
mov esi, r14d
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400ac703
lea ecx, [r14 + 0xd]
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
je 0x1400ac6fb
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbx, rax
test rax, rax
je 0x1400ac6fb
mov rcx, rax
call sub.msvcrt.dll_wcslen
mov rsi, rax
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1400ac708
mov rdi, qword [rsp + 0x48]
mov edx, ebp
mov ecx, esi
call fcn.1400bc880
test rbx, rbx
je 0x1400ac735
lea ecx, [rsi + 1]
mov rdx, rbx
movsxd r8, ecx
mov rcx, rax
add r8, r8
call sub.msvcrt.dll_memcpy
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x1400ac739
mov word [rax], r14w
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x1400ac8ec
Capabilities:
Hash data using sha384

Disassembly:
and qword [rcx + 0x80], 0
mov dword [rcx + 0xc8], gethostbyaddr
lea rdx, [0x14023d670]
add rcx, 0x88
mov r8d, IsNetDrive
jmp sub.msvcrt.dll_memcpy

Function at 0x1400aca34
Capabilities:
Hash data using sha512

Disassembly:
and qword [rcx + 0x80], 0
mov r8d, IsNetDrive
lea rdx, [0x14023d630]
mov dword [rcx + 0xc8], r8d
add rcx, 0x88
jmp sub.msvcrt.dll_memcpy
Function at 0x1400aeb68
Capabilities:
Hash data using sha256

Disassembly:
and qword [rcx + 0x40], 0
mov r8d, 0x20
lea rdx, [0x14023d7b0]
mov dword [rcx + 0x68], r8d
add rcx, 0x48
jmp sub.msvcrt.dll_memcpy
Function at 0x1400b0434
Capabilities:
Encode data using xor

Disassembly:
movsxd r10, edx
mov al, cl
or al, r10b
or al, r8b
or al, r9b
test al, 3
jne 0x1400b049b
lea rax, [r8 + r9]
xor r11d, r11d
mov r9, rax
sub r9, r8
add r9, 3
shr r9, 2
cmp r8, rax
cmova r9, r11
test r9, r9
je 0x1400b04b8
sub r10, r8
add r10, rcx
mov ecx, dword [r8]
inc r11
mov edx, ecx
mov eax, ecx
shl ecx, 8
shr edx, 8
shl eax, 8
xor edx, eax
and edx, 0xff00ff
xor edx, ecx
rol edx, 0x10
mov dword [r10 + r8], edx
lea r8, [r8 + 4]
cmp r11, r9
jb 0x1400b046d
ret
add r9, r10
jmp 0x1400b04b3
mov al, byte [r8]
xor r10, 3
inc r8
inc edx
mov byte [r10 + rcx], al
movsxd r10, edx
cmp r10, r9
jb 0x1400b04a0
ret

Function at 0x1400b04bc
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
movsxd r10, edx
mov al, cl
mov r11, r8
or al, r10b
or al, r8b
or al, r9b
test al, 7
jne 0x1400b0568
lea rax, [r8 + r9]
xor ebx, ebx
mov r9, rax
sub r9, r8
add r9, 7
shr r9, 3
cmp r8, rax
cmova r9, rbx
test r9, r9
je 0x1400b0585
sub r10, r8
add r10, rcx
mov rax, qword [r11]
inc rbx
mov rdx, rax
shr rdx, 0x20
mov r8d, edx
mov ecx, edx
shl edx, 8
shr r8d, 8
shl ecx, 8
xor r8d, ecx
mov ecx, eax
and r8d, 0xff00ff
shl ecx, 8
xor r8d, edx
mov edx, eax
shl eax, 8
shr edx, 8
rol r8d, 0x10
xor edx, ecx
mov dword [rsp + 8], r8d
and edx, 0xff00ff
xor edx, eax
rol edx, 0x10
mov dword [rsp + 0xc], edx
mov rax, qword [rsp + 8]
mov qword [r10 + r11], rax
lea r11, [r11 + 8]
cmp rbx, r9
jb 0x1400b0504
jmp 0x1400b0585
add r9, r10
jmp 0x1400b0580
mov al, byte [r11]
xor r10, 7
inc r11
inc edx
mov byte [r10 + rcx], al
movsxd r10, edx
cmp r10, r9
jb 0x1400b056d
mov rbx, qword [rsp + 0x10]
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov r9d, edx
mov r10, rcx
test rcx, rcx
jne 0x1400b1302
mov eax, r8d
jmp 0x1400b1370
not r8d
lea rdi, [0x14023d7f0]
cmp r9d, 8
jb 0x1400b1346
mov r11, r9
shr r11, 3
mov ebx, 8
movzx ecx, byte [r10]
mov eax, r8d
inc r10
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r8d, dword [rdi + rdx*4]
xor r8d, eax
dec rbx
jne 0x1400b131e
add r9d, 0xfffffff8
dec r11
jne 0x1400b1319
test r9d, r9d
je 0x1400b136a
movzx ecx, byte [r10]
mov eax, r8d
inc r10
xor rcx, rax
shr eax, 8
movzx edx, cl
mov r8d, dword [rdi + rdx*4]
xor r8d, eax
dec r9d
jne 0x1400b134b
not r8d
movsxd rax, r8d
mov rbx, qword [rsp + 8]
mov rdi, qword [rsp + 0x10]
ret

Function at 0x1400b1e64
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x140539000], eax
add rsp, 0x28
ret
Function at 0x1400b1ec8
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
test rcx, rcx
je 0x1400b1f3d
call qword [rcx + 0xb0]
mov edx, dword [rbx + 0xf4]
mov dword [rbx + 0x108], edx
mov edx, dword [rbx + 0xf8]
mov rdi, rax
mov dword [rbx + 0x10c], edx
test rax, rax
jne 0x1400b1f3d
mov rax, qword [rbx + 0xe0]
test rax, rax
je 0x1400b1f15
xor edx, edx
mov rcx, rbx
call rax
mov rcx, qword [0x1404bbcd8]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [0x140539000]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
and qword [0x140539020], 0
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400b1f4c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
mov ecx, dword [0x140539000]
mov ebx, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, rax
mov r8d, dword [rax + 0x104]
mov edx, dword [rax + 0x100]
add r8d, ebx
add edx, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [rax + 0xa8]

Function at 0x1400b1fa8
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, ecx
mov ecx, dword [0x140539000]
mov esi, r8d
mov ebx, edx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r9d, esi
mov r8d, dword [rax + 0x104]
mov edx, dword [rax + 0x100]
mov rcx, rax
add r8d, ebx
add edx, edi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [rax + 0xa0]

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

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, dword [0x140539000]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x1400b208d
mov rcx, rax
call qword [rax + 0xb8]
mov rax, qword [rbx + 0xe0]
test rax, rax
je 0x1400b2065
mov edx, 1
mov rcx, rbx
call rax
mov rcx, qword [0x1404bbcd8]
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [0x140539000]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
and qword [0x140539020], 0
add rsp, 0x20
pop rbx
ret
Function at 0x1400b9000
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov esi, IsNetDrive
mov ecx, esi
call fcn.1400bc880
mov rdx, rbx
mov rcx, rax
mov rdi, rax
call fcn.1401f3acc
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rdi + rdx*2], 0
jne 0x1400b9030
sub esi, edx
mov ecx, esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400bc9c0

Function at 0x1400b9060
Capabilities:
Get thread local storage value

Disassembly:
mov r10, rcx
test rcx, rcx
je 0x1400b9091
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400b9070
mov ecx, 1
mov r9d, r8d
sub ecx, edx
add eax, ecx
mov rcx, r10
mov r8d, eax
jmp fcn.1400b90a0
mov ecx, r8d
jmp fcn.1400bcce0

Function at 0x1400b9ab0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push r12
push r13
push r15
sub rsp, 0x28
xor r15d, r15d
mov r13d, r9d
mov r12d, edx
mov ebp, r15d
cmp edx, 1
jl 0x1400b9c14
mov qword [rsp + 0x50], rbx
test rcx, rcx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x20], r14
lea r14, [0x140224ea0]
mov rbx, r14
mov edi, r15d
cmovne rbx, rcx
test r8, r8
cmovne r14, r8
mov rsi, rbx
movzx ecx, word [r14]
test cx, cx
je 0x1400b9be0
cmp word [r14 + 2], di
je 0x1400b9be0
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [r14 + rax*2], di
jne 0x1400b9b20
movsxd r15, eax
nop dword [rax]
mov r8, r15
mov rdx, r14
mov rcx, rbx
call sub.msvcrt.dll_wcsncmp
test eax, eax
je 0x1400b9b4d
cmp word [rbx], bp
je 0x1400b9b4d
add rbx, 2
jmp 0x1400b9b30
inc edi
cmp edi, r12d
je 0x1400b9b62
cmp word [rbx], bp
je 0x1400b9b6b
lea rbx, [rbx + r15*2]
mov rsi, rbx
jmp 0x1400b9b30
mov rbp, rbx
sub rbp, rsi
sar rbp, 1
xor r15d, r15d
mov rcx, rbx
call fcn.1400bcf30
mov r14, qword [rsp + 0x20]
mov edi, eax
test eax, eax
je 0x1400b9b9a
mov ecx, r13d
call fcn.1400bd050
movsxd r8, ebp
mov rdx, rsi
mov rcx, rax
add r8, r8
call sub.msvcrt.dll_memmove
mov edx, r13d
mov ecx, ebp
call fcn.1400bc880
test edi, edi
mov rdi, qword [rsp + 0x60]
mov rbx, rax
jne 0x1400b9bbe
movsxd r8, ebp
mov rdx, rsi
mov rcx, rax
call sub.msvcrt.dll_wcsncpy
mov rsi, qword [rsp + 0x58]
movsxd rcx, ebp
mov word [rbx + rcx*2], r15w
mov rbx, qword [rsp + 0x50]
add rsp, 0x28
pop r15
pop r13
pop r12
pop rbp
ret
movzx eax, word [rbx]
cmp ax, cx
je 0x1400b9bed
test ax, ax
jne 0x1400b9c00
inc edi
cmp edi, edx
je 0x1400b9c06
test ax, ax
je 0x1400b9b6e
lea rsi, [rbx + 2]
add rbx, 2
jmp 0x1400b9be0
mov rbp, rbx
sub rbp, rsi
sar rbp, 1
jmp 0x1400b9b6e
mov ecx, r9d
add rsp, 0x28
pop r15
pop r13
pop r12
pop rbp
jmp fcn.1400bcce0