joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140022f10
Capabilities:
Create thread
Resume thread

Disassembly:
push rdi
mov eax, 0x1080
call fcn.1400641b0
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x1098], rbx
mov rax, qword [0x140132280]
xor rax, rsp
mov qword [rsp + 0x1078], rax
mov rdi, rcx
xor eax, eax
mov qword [rsp + 0x1070], rax
lea rdx, [rcx + 0x10]
lea rcx, [rsp + 0x1070]
call fcn.14000ed70
nop
lea rax, [rdi + 8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
mov r9, rdi
lea r8, [0x1400231e0]
xor edx, edx
xor ecx, ecx
call fcn.14007c228
mov rbx, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x30], 0
mov rcx, qword [rdi]
cmp rax, rcx
je 0x140022fe3
test rcx, rcx
je 0x140022fe0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140022fd9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Could_not_close_handle___i_.
lea rcx, [rsp + 0x50]
call fcn.140007170
lea rdx, [0x14012e008]
lea rcx, [rsp + 0x50]
call fcn.140066028
int3
mov qword [rdi], 0
mov qword [rdi], rbx
lea rcx, [rsp + 0x30]
call fcn.140007090
mov qword [rsp + 0x38], 0
cmp qword [rdi], 0
sete bl
lea rcx, [rsp + 0x38]
call fcn.140007090
test bl, bl
je 0x14002302e
lea rdx, str.Thread_cannot_start.
lea rcx, [rsp + 0x50]
call fcn.140007170
lea rdx, [0x14012e008]
lea rcx, [rsp + 0x50]
call fcn.140066028
int3
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop
lea rcx, [rsp + 0x1070]
call fcn.14000ee00
mov rcx, qword [rsp + 0x1078]
xor rcx, rsp
call fcn.140063ed0
mov rbx, qword [rsp + 0x1098]
add rsp, 0x1080
pop rdi
ret

Function at 0x140023070
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x140132280]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
xor eax, eax
mov qword [rsp + 0x28], rax
lea rdx, [rcx + 0x10]
lea rcx, [rsp + 0x28]
call fcn.14000ed70
nop
movzx eax, byte [rbx + 0x80]
test al, al
je 0x1400230c2
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400230c2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
xor eax, eax
xchg byte [rbx + 0x80], al
lea rcx, [rsp + 0x28]
call fcn.14000ee00
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140063ed0
add rsp, 0x40
pop rbx
ret

Function at 0x1400233d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x140132280]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x68]
mov ebx, edx
mov rax, r8
xor edx, edx
mov r8d, ebx
mov dword [rsp + 0x68], edx
mov qword [rsp + 0x20], rdx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14002342b
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140063ed0
add rsp, 0x80
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, ebx
lea rdx, str.Could_not_write__i_bytes_to_file_stream___i_.
mov r9d, eax
lea rcx, [rsp + 0x30]
call fcn.140023320
lea rdx, [0x14012e450]
lea rcx, [rsp + 0x30]
call fcn.140066028
int3
Function at 0x140023880
Capabilities:
Check mutex on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0xfe0]
mov eax, 0x10e0
call fcn.1400641b0
sub rsp, rax
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x140132280]
xor rax, rsp
mov qword [rbp + 0xfd8], rax
mov rsi, r9
mov rbx, rcx
mov qword [rsp + 0x70], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rbp + 0xfb8]
call fcn.140023b70
nop
xor eax, eax
mov qword [rbp + 0xfa0], rax
mov qword [rbp + 0xfa8], rax
mov qword [rbp + 0xfb0], rax
test rsi, rsi
je 0x140023910
mov dword [rbp + 0xfa0], 0x18
mov dword [rbp + 0xfb0], 1
mov rax, qword [rsi]
mov qword [rbp + 0xfa8], rax
lea rax, vtable.Mutex.0
mov qword [rbx], rax
mov qword [rbx + 8], r14
mov dword [rsp + 0x20], 1
lea rdx, [rbp + 0xfb8]
lea rcx, [rsp + 0x30]
call fcn.140002ec0
nop
cmp qword [rax + 0x18], 8
jb 0x140023942
mov rax, qword [rax]
lea rcx, [rbp + 0xfa0]
test rsi, rsi
cmove rcx, r14
mov r8, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
lea rcx, [rbx + 8]
call fcn.140008950
nop
lea rcx, [rsp + 0x28]
call fcn.140007090
nop
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x140023997
inc r8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.1400046b0
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r14
mov word [rsp + 0x30], r14w
cmp qword [rbx + 8], 0
jne 0x140023a46
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x1400239fb
lea r8, [rbp + 0xfb8]
cmp qword [rbp + 0xfd0], 0x10
cmovae r8, qword [rbp + 0xfb8]
lea rdx, str.Access_is_denied_when_creating_mutex:__s
lea rcx, [rsp + 0x30]
call fcn.1400237e0
lea rdx, [0x14012e490]
lea rcx, [rsp + 0x30]
call fcn.140066028
int3
lea rdx, [rbp + 0xfb8]
lea rcx, [rsp + 0x30]
call fcn.140002e70
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x140023a19
mov rbx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
mov r8, rbx
lea rdx, str.Could_not_create_open_mutex_with_name__s___i_.
lea rcx, [rbp - 0x80]
call fcn.140007170
lea rdx, [0x14012e008]
lea rcx, [rbp - 0x80]
call fcn.140066028
nop
lea rcx, [rbp + 0xfb8]
call fcn.1400036b0
mov rax, rbx
mov rcx, qword [rbp + 0xfd8]
xor rcx, rsp
call fcn.140063ed0
add rsp, 0x10e0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400249e0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x190
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140132280]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401378f8], eax
jle 0x140024a7e
lea rcx, [0x1401378f8]
call fcn.1400644e0
cmp dword [0x1401378f8], 0xffffffff
jne 0x140024a7e
lea r9d, [rsi + 6]
lea r8, str.Temp_
lea rcx, [0x1401378d8]
call fcn.1400029e0
nop
lea rcx, [0x1400b6270]
call fcn.140064184
nop
lea rcx, [0x1401378f8]
call fcn.140064480
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x70]
call fcn.140065dd0
lea rdx, [rsp + 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x140024bdf
cmp eax, 0x104
jae 0x140024acd
mov r9d, eax
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.1400029e0
nop
mov dword [rsp + 0x20], 1
jmp 0x140024c38
lea edx, [rax + 1]
lea rcx, [rsp + 0x28]
call fcn.140024e50
nop
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
sub rcx, rbx
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x140024b7c
mov r9d, eax
mov r8, rbx
mov rcx, rdi
call fcn.1400029e0
nop
mov dword [rsp + 0x20], 1
test rbx, rbx
je 0x140024c38
mov rax, qword [rsp + 0x38]
sub rax, rbx
cmp rax, 0x1000
jb 0x140024b61
test bl, 0x1f
je 0x140024b34
call fcn.14006ef04
int3
mov rax, qword [rbx - 8]
cmp rax, rbx
jb 0x140024b43
call fcn.14006ef04
int3
sub rbx, rax
cmp rbx, 8
jae 0x140024b52
call fcn.14006ef04
int3
cmp rbx, 0x27
jbe 0x140024b5e
call fcn.14006ef04
int3
mov rbx, rax
mov rcx, rbx
call fcn.1400369b0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rsi
jmp 0x140024c38
test rbx, rbx
je 0x140024bdf
mov rax, qword [rsp + 0x38]
sub rax, rbx
cmp rax, 0x1000
jb 0x140024bc9
test bl, 0x1f
je 0x140024b9c
call fcn.14006ef04
int3
mov rax, qword [rbx - 8]
cmp rax, rbx
jb 0x140024bab
call fcn.14006ef04
int3
sub rbx, rax
cmp rbx, 8
jae 0x140024bba
call fcn.14006ef04
int3
cmp rbx, 0x27
jbe 0x140024bc6
call fcn.14006ef04
int3
mov rbx, rax
mov rcx, rbx
call fcn.1400369b0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rsi
lea rcx, [rsp + 0x50]
call fcn.140024c70
nop
cmp dword [rsp + 0x60], 0
je 0x140024c0f
lea r8, [0x1401378d8]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140002630
mov dword [rsp + 0x20], 1
jmp 0x140024c2e
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rsi
mov byte [rdi], al
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x50]
call fcn.1400036b0
mov rax, rdi
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140063ed0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140024c70
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x170
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140132280]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x50]
call fcn.140065dd0
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x140024e05
cmp eax, 0x104
jae 0x140024cf3
mov r9d, eax
lea r8, [rsp + 0x50]
mov rcx, rdi
call fcn.1400029e0
nop
jmp 0x140024e1c
lea edx, [rax + 1]
lea rcx, [rsp + 0x28]
call fcn.140024e50
nop
mov rdx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
sub rdx, rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x140024da2
mov r9d, eax
mov r8, rbx
mov rcx, rdi
call fcn.1400029e0
nop
mov dword [rsp + 0x20], 1
test rbx, rbx
je 0x140024e24
mov rax, qword [rsp + 0x38]
sub rax, rbx
cmp rax, 0x1000
jb 0x140024d87
test bl, 0x1f
je 0x140024d5a
call fcn.14006ef04
int3
mov rax, qword [rbx - 8]
cmp rax, rbx
jb 0x140024d69
call fcn.14006ef04
int3
sub rbx, rax
cmp rbx, 8
jae 0x140024d78
call fcn.14006ef04
int3
cmp rbx, 0x27
jbe 0x140024d84
call fcn.14006ef04
int3
mov rbx, rax
mov rcx, rbx
call fcn.1400369b0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rsi
jmp 0x140024e24
test rbx, rbx
je 0x140024e05
mov rax, qword [rsp + 0x38]
sub rax, rbx
cmp rax, 0x1000
jb 0x140024def
test bl, 0x1f
je 0x140024dc2
call fcn.14006ef04
int3
mov rax, qword [rbx - 8]
cmp rax, rbx
jb 0x140024dd1
call fcn.14006ef04
int3
sub rbx, rax
cmp rbx, 8
jae 0x140024de0
call fcn.14006ef04
int3
cmp rbx, 0x27
jbe 0x140024dec
call fcn.14006ef04
int3
mov rbx, rax
mov rcx, rbx
call fcn.1400369b0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rsi
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rsi
mov byte [rdi], al
mov dword [rsp + 0x20], 1
mov rax, rdi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140063ed0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400272d0
Capabilities:
Get hostname
Schedule task via itaskscheduler

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x490
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x140132280]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov ebx, ecx
xor edi, edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x34], 0x103
xor edx, edx
mov r8d, 0x104
lea rcx, [r11 - 0x128]
call fcn.140065dd0
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x370]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x260]
call fcn.140065dd0
lea rax, str._Uninstall
lea r9, str._Install
test ebx, ebx
cmovne r9, rax
lea r8, [rsp + 0x370]
lea rdx, [0x1400b8c2c]
lea rcx, [rsp + 0x260]
call fcn.140027490
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x140027452
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1400b8a98]
mov esi, 1
mov r8d, esi
xor edx, edx
lea rcx, [0x1400b8aa8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140027452
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea ebx, [rax*2 + 2]
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1400270c0
nop
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
or r9d, 0xffffffff
lea r8, [rsp + 0x260]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x50]
call qword [rax + gethostname]
test eax, eax
cmovns edi, esi
mov dword [rsp + 0x30], edi
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
cmp qword [rsp + 0x50], 0
je 0x140027452
test byte [rsp + 0x258], sil
je 0x140027452
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
mov eax, edi
jmp 0x140027461
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140063ed0
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400275b0
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x70
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x140132280]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov dword [rsp + 0x20], 0x10
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140001f50
nop
mov rdx, rax
mov rcx, rbx
call fcn.140002500
nop
lea rcx, [rsp + 0x30]
call fcn.1400036b0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140063ed0
add rsp, 0x70
pop rbx
ret
Function at 0x140027630
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push rbx
sub rsp, 0x300
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x140132280]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
lea rbx, [rcx + 0x88]
mov rcx, rbx
call fcn.1400026d0
xor edx, edx
mov r8d, 0x198
lea rcx, [rsp + 0x50]
call fcn.140065dd0
mov ecx, 0x101
lea rdx, [rsp + 0x50]
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x1400276ff
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x1f0]
call fcn.140065dd0
mov edx, 0x100
lea rcx, [rsp + 0x1f0]
call sub.WS2_32.dll_gethostname
cmp eax, 0xffffffff
je 0x1400276fa
lea rcx, [rsp + 0x1f0]
call sub.WS2_32.dll_gethostbyname
test rax, rax
je 0x1400276fa
mov rax, qword [rax + 0x18]
mov rdx, qword [rax]
mov ecx, dword [rdx]
call sub.WS2_32.dll_inet_ntoa
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140001f50
nop
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140002500
nop
lea rcx, [rsp + 0x28]
call fcn.1400036b0
call sub.WS2_32.dll_WSACleanup
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.140063ed0
add rsp, 0x300
pop rbx
ret

Function at 0x140027720
Capabilities:
Get domain information
Get hostname

Disassembly:
push rbx
mov eax, 0x11a0
call fcn.1400641b0
sub rsp, rax
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x140132280]
xor rax, rsp
mov qword [rsp + 0x1190], rax
mov rbx, rcx
mov qword [rcx + 0x40], 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x28]
mov edx, 1
xor ecx, ecx
call sub.NETAPI32.dll_DsRoleGetPrimaryDomainInformation
test eax, eax
je 0x1400277a1
mov r8d, eax
lea rdx, str.Unable_to_get_computer_domain_name:_Error__d
lea rcx, [rsp + 0x60]
call fcn.140007170
lea rdx, [0x14012e008]
lea rcx, [rsp + 0x60]
call fcn.140066028
int3
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x1400277e6
lea rcx, [rsp + 0x38]
call fcn.140001fc0
nop
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x38]
call fcn.140002500
nop
lea rcx, [rsp + 0x38]
call fcn.1400036b0
mov dword [rbx + 0x40], 2
mov dword [rbx + 0x44], 2
jmp 0x14002787a
mov dword [rsp + 0x20], 0x104
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x1080]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetComputerNameExA]
test eax, eax
setne al
test al, al
jne 0x140027838
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Unable_to_get_computer_workgroup_name:_Error__d
lea rcx, [rsp + 0x60]
call fcn.140007170
lea rdx, [0x14012e008]
lea rcx, [rsp + 0x60]
call fcn.140066028
int3
mov r8d, dword [rsp + 0x20]
test r8d, r8d
je 0x14002787a
lea rdx, [rsp + 0x1080]
lea rcx, [rsp + 0x38]
call fcn.140001f90
nop
lea rcx, [rbx + 0x20]
mov rdx, rax
call fcn.140002500
nop
lea rcx, [rsp + 0x38]
call fcn.1400036b0
mov dword [rbx + 0x40], 1
mov dword [rbx + 0x44], 1
mov rcx, qword [rsp + 0x1190]
xor rcx, rsp
call fcn.140063ed0
add rsp, 0x11a0
pop rbx
ret
Function at 0x1400278a0
Capabilities:
Get session information

Disassembly:
push rbx
sub rsp, 0x70
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x140132280]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rbx, [rcx + 0x48]
mov rcx, rbx
call fcn.1400026d0
xor eax, eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
mov r8d, 0xa
or edx, 0xffffffff
xor ecx, ecx
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
je 0x140027920
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x48]
call fcn.140001f50
nop
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.140002500
nop
lea rcx, [rsp + 0x48]
call fcn.1400036b0
mov rcx, qword [rsp + 0x38]
call sub.WTSAPI32.dll_WTSFreeMemory
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140063ed0
add rsp, 0x70
pop rbx
ret

Function at 0x140027940
Capabilities:
Get session information

Disassembly:
push rbx
sub rsp, 0x70
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x140132280]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rbx, [rcx + 0x68]
mov rcx, rbx
call fcn.1400026d0
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8d, 0xe
or edx, 0xffffffff
xor ecx, ecx
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x1400279ee
test rcx, rcx
je 0x1400279ee
cmp dword [rcx], 2
jne 0x1400279ee
movzx eax, byte [rcx + 9]
movzx edx, byte [rcx + 8]
movzx r9d, byte [rcx + 7]
movzx r8d, byte [rcx + 6]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
lea rdx, str._u._u._u._u
lea rcx, [rsp + 0x48]
call fcn.140002110
nop
mov rdx, rax
mov rcx, rbx
call fcn.140002500
nop
lea rcx, [rsp + 0x48]
call fcn.1400036b0
mov rcx, qword [rsp + 0x30]
call sub.WTSAPI32.dll_WTSFreeMemory
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140063ed0
add rsp, 0x70
pop rbx
ret
Function at 0x140027be0
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, r8
mov r12, rdx
mov r15, rcx
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
jb 0x140027c1f
mov r8, qword [r8]
movabs rcx, 0xcbf29ce484222325
mov qword [rsp + 0x20], rcx
xor edx, edx
movabs r10, 0x100000001b3
mov qword [rsp + 0x28], rdx
cmp rdx, r9
jae 0x140027c5f
movzx eax, byte [r8 + rdx]
xor rcx, rax
mov qword [rsp + 0x20], rcx
imul rcx, r10
mov qword [rsp + 0x20], rcx
inc rdx
jmp 0x140027c3a
mov r13, qword [r15 + 0x30]
and r13, rcx
mov qword [rsp + 0x50], r13
mov rbx, qword [r15 + 8]
shl r13, 4
mov rax, qword [r15 + 0x18]
add rax, r13
mov qword [rsp + 0x40], rax
cmp qword [rax], rbx
je 0x140027c8b
mov rbx, qword [rax + 8]
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
cmp rbx, qword [rax]
je 0x140027d3c
mov rbx, qword [rbx + 8]
mov qword [rsp + 0x38], rbx
cmp qword [rbx + 0x28], 0x10
jb 0x140027cb4
mov rdx, qword [rbx + 0x10]
jmp 0x140027cb8
lea rdx, [rbx + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x140027cc4
mov rcx, qword [rdi]
jmp 0x140027cc7
mov rcx, rdi
mov rsi, qword [rbx + 0x20]
mov r14, qword [rdi + 0x10]
mov r8, rsi
cmp r14, rsi
cmovb r8, r14
test r8, r8
je 0x140027ce7
call fcn.140066110
test eax, eax
jne 0x140027d32
cmp r14, rsi
jb 0x140027d32
ja 0x140027d32
mov rdi, qword [rsp + 0xa8]
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rax], rdx
mov rdx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rax + 8], rdx
dec qword [r15 + 0x10]
lea rcx, [rdi + 0x10]
call fcn.1400036b0
mov rcx, rdi
call fcn.1400369b0
mov qword [r12], rbx
mov byte [r12 + 8], 0
mov rax, r12
jmp 0x140027dde
mov rax, qword [rsp + 0x40]
jmp 0x140027c95
mov rdi, qword [rsp + 0xa8]
mov qword [rsp + 0x40], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x140027d7e
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [r15 + 0x18]
add rdx, r13
mov rax, qword [rdx]
cmp rax, qword [r15 + 8]
jne 0x140027d9c
mov qword [rdx], rdi
mov rax, qword [r15 + 0x18]
mov qword [rax + r13 + 8], rdi
jmp 0x140027dc8
cmp rax, rbx
jne 0x140027da6
mov qword [rdx], rdi
jmp 0x140027dc8
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x140027dc8
mov rdx, qword [r15 + 0x18]
mov rax, qword [rdx + r13 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r13 + 8], rcx
mov rcx, r15
call fcn.140029f50
nop
mov qword [r12], rdi
mov byte [r12 + 8], 1
mov rax, r12
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140027e00
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rax - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rdi, r8
mov r12, rdx
mov r15, rcx
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
jb 0x140027e3f
mov r8, qword [r8]
movabs rcx, 0xcbf29ce484222325
mov qword [rsp + 0x20], rcx
xor edx, edx
movabs r10, 0x100000001b3
mov qword [rsp + 0x28], rdx
cmp rdx, r9
jae 0x140027e7f
movzx eax, byte [r8 + rdx]
xor rcx, rax
mov qword [rsp + 0x20], rcx
imul rcx, r10
mov qword [rsp + 0x20], rcx
inc rdx
jmp 0x140027e5a
mov r13, qword [r15 + 0x30]
and r13, rcx
mov qword [rsp + 0x50], r13
mov rbx, qword [r15 + 8]
shl r13, 4
mov rax, qword [r15 + 0x18]
add rax, r13
mov qword [rsp + 0x40], rax
cmp qword [rax], rbx
je 0x140027eab
mov rbx, qword [rax + 8]
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbx
cmp rbx, qword [rax]
je 0x140027f5c
mov rbx, qword [rbx + 8]
mov qword [rsp + 0x38], rbx
cmp qword [rbx + 0x28], 0x10
jb 0x140027ed4
mov rdx, qword [rbx + 0x10]
jmp 0x140027ed8
lea rdx, [rbx + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x140027ee4
mov rcx, qword [rdi]
jmp 0x140027ee7
mov rcx, rdi
mov rsi, qword [rbx + 0x20]
mov r14, qword [rdi + 0x10]
mov r8, rsi
cmp r14, rsi
cmovb r8, r14
test r8, r8
je 0x140027f07
call fcn.140066110
test eax, eax
jne 0x140027f52
cmp r14, rsi
jb 0x140027f52
ja 0x140027f52
mov rdi, qword [rsp + 0xa8]
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rax], rdx
mov rdx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rax + 8], rdx
dec qword [r15 + 0x10]
lea rcx, [rdi + 0x10]
call fcn.1400036b0
mov rcx, rdi
call fcn.1400369b0
mov qword [r12], rbx
mov byte [r12 + 8], 0
mov rax, r12
jmp 0x140027ffe
mov rax, qword [rsp + 0x40]
jmp 0x140027eb5
mov rdi, qword [rsp + 0xa8]
mov qword [rsp + 0x40], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x140027f9e
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [r15 + 0x18]
add rdx, r13
mov rax, qword [rdx]
cmp rax, qword [r15 + 8]
jne 0x140027fbc
mov qword [rdx], rdi
mov rax, qword [r15 + 0x18]
mov qword [rax + r13 + 8], rdi
jmp 0x140027fe8
cmp rax, rbx
jne 0x140027fc6
mov qword [rdx], rdi
jmp 0x140027fe8
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x140027fe8
mov rdx, qword [r15 + 0x18]
mov rax, qword [rdx + r13 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r13 + 8], rcx
mov rcx, r15
call fcn.140029f50
nop
mov qword [r12], rdi
mov byte [r12 + 8], 1
mov rax, r12
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret