joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001c80
Capabilities:
Read pipe
Write pipe

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0x880
mov rax, qword [0x14003f040]
xor rax, rsp
mov qword [rsp + 0x870], rax
cmp dword [rcx + 0x1c], 1
mov rsi, rcx
je 0x140001ea7
mov qword [r11 + 0x18], rbp
lea rcx, [rsp + 0x60]
xor edx, edx
mov qword [r11 + 0x20], rdi
mov r8d, 0x400
call fcn.14002dab0
xor ebp, ebp
lea rcx, [rsp + 0x46c]
xor edx, edx
mov qword [rsp + 0x460], rbp
mov r8d, 0x400
mov dword [rsp + 0x468], ebp
call fcn.14002dab0
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_SetEvent]
xor edx, edx
mov dword [rsp + 0x44], ebp
mov r8d, 0x3f8
lea rcx, [rsp + 0x68]
call fcn.14002dab0
mov rax, qword [rsi]
lea rdi, [rsi + 0xb0]
cmp qword [rdi + 0x18], 7
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x50], ebp
mov dword [rsp + 0x54], 1
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x5c], 8
jbe 0x140001d3f
mov rdi, qword [rdi]
test rdi, rdi
je 0x140001e5a
xor ecx, ecx
mov qword [rsp + 0x898], rbx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x190000
mov edx, 0xc0000000
mov rcx, rdi
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001de2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x140001e52
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x140001e52
mov qword [rsp + 0x30], rbp
lea r8d, [rbx + 4]
mov dword [rsp + 0x28], 0x190000
xor r9d, r9d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001e52
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
jne 0x140001e49
xor r9d, r9d
mov dword [rsp + 0x40], 2
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x140001e43
lea rax, [rsp + 0x44]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x460]
mov r8d, 0x410
mov dword [rsp + 0x20], 0x40c
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
cmp rbx, 0xffffffffffffffff
je 0x140001e52
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x898]
mov rcx, qword [rsi + 0x58]
mov rdi, qword [rsp + 0x8a8]
test rcx, rcx
je 0x140001e84
mov edx, 0x7d0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsi + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi + 0x58], rbp
mov rbp, qword [rsp + 0x8a0]
xor eax, eax
mov rcx, qword [rsp + 0x870]
xor rcx, rsp
call fcn.140013940
add rsp, 0x880
pop rsi
ret
xor eax, eax
jmp 0x140001e8e
Function at 0x140001fb0
Capabilities:
Read pipe
Write pipe

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov dword [rsp + 0x20], r9d
push rsi
sub rsp, 0x40
xor ebx, ebx
mov rbp, r8
mov rsi, rdx
test rdx, rdx
je 0x1400020f8
xor ecx, ecx
mov qword [rsp + 0x50], rdi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 3]
mov dword [rsp + 0x28], 0x190000
xor r9d, r9d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140002071
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x1400020e1
mov edx, dword [rsp + 0x88]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x1400020e1
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 3]
mov dword [rsp + 0x28], 0x190000
xor r9d, r9d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400020e1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
jne 0x1400020d8
xor r9d, r9d
mov dword [rsp + 0x68], 2
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x1400020d2
mov rax, qword [rsp + 0x80]
mov r8d, 0x410
mov r9, qword [rsp + 0x70]
mov rdx, rbp
mov qword [rsp + 0x30], rbx
mov rcx, rdi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x40c
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
mov ebx, eax
cmp rdi, 0xffffffffffffffff
je 0x1400020e1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x50]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
ret
Function at 0x140007410
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov esi, r8d
mov r14, rdx
mov rdi, rcx
xor eax, eax
mov dword [rbp + 0x67], eax
mov qword [rbp - 0x11], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rbx, rax
mov qword [rbp + 0x7f], rax
mov qword [rbp + 7], rax
mov qword [rbp - 0x21], rax
mov rax, qword [rdi + 0x10]
mov rcx, qword [rax + 0x28]
mov qword [rbp - 0x19], rcx
cmp rbx, 0xffffffffffffffff
je 0x1400075b4
nop word [rax + rax]
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x67]
mov r8d, esi
mov rdx, r14
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14000750f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x140007504
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rbp - 0x21]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x1400074d4
cmp eax, 1
je 0x140007566
jmp 0x140007480
mov r9d, 1
lea r8, [rbp + 0x67]
lea rdx, [rbp - 0x11]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x14000750f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x140007580
jmp 0x1400075ea
cmp eax, 0x6d
je 0x14000759a
jmp 0x140007530
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.Read_Error
lea rcx, [rbp + 0xf]
call fcn.140010d5c
nop
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x59]
call fcn.140006e90
lea rdx, [0x14003dea0]
lea rcx, [rbp - 0x59]
call fcn.14001543c
nop
lea rcx, [rbp - 0x59]
call fcn.140006f00
lea rdx, [0x14003de68]
lea rcx, [rbp - 0x59]
call fcn.14001543c
int3
lea rcx, [rbp - 0x59]
call fcn.140006f00
lea rdx, [0x14003de68]
lea rcx, [rbp - 0x59]
call fcn.14001543c
int3
lea rcx, [rbp - 0x59]
call fcn.140006f00
lea rdx, [0x14003de68]
lea rcx, [rbp - 0x59]
call fcn.14001543c
int3
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.Failed_to_create_connection
lea rcx, [rbp + 0xf]
call fcn.140010d5c
nop
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x59]
call fcn.140006e90
lea rdx, [0x14003dea0]
lea rcx, [rbp - 0x59]
call fcn.14001543c
nop
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.unexpected_error
lea rcx, [rbp + 0xf]
call fcn.140010d5c
nop
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x59]
call fcn.140006e90
lea rdx, [0x14003dea0]
lea rcx, [rbp - 0x59]
call fcn.14001543c
int3
Function at 0x140007680
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xd0
mov esi, r8d
mov r14, rdx
mov rdi, rcx
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x140007813
xor eax, eax
mov dword [rbp + 0x67], eax
mov qword [rbp - 0x49], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rbx, rax
mov qword [rbp + 0x7f], rax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x59], rax
mov rax, qword [rdi + 0x10]
mov rcx, qword [rax + 0x28]
mov qword [rbp - 0x51], rcx
cmp rbx, 0xffffffffffffffff
je 0x14000782d
nop word [rax + rax]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x67]
mov r8d, esi
mov rdx, r14
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000776d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14000778e
mov r9d, 0xffffffff
xor r8d, r8d
lea rdx, [rbp - 0x59]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x140007754
cmp eax, 1
je 0x1400077df
jmp 0x140007700
mov r9d, 1
lea r8, [rbp + 0x67]
lea rdx, [rbp - 0x49]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
cmp eax, 0xe8
je 0x1400077f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe9
je 0x1400077f9
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.Connection_Closed
lea rcx, [rbp + 0xf]
call fcn.140010d5c
nop
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x29]
call fcn.140006e90
lea rdx, [0x14003dea0]
lea rcx, [rbp - 0x29]
call fcn.14001543c
nop
lea rcx, [rbp - 0x29]
call fcn.140006f00
lea rdx, [0x14003de68]
lea rcx, [rbp - 0x29]
call fcn.14001543c
int3
lea rcx, [rbp - 0x29]
call fcn.140006f00
lea rdx, [0x14003de68]
lea rcx, [rbp - 0x29]
call fcn.14001543c
nop
lea rcx, [rbp + 0xf]
call fcn.140006f00
lea rdx, [0x14003de68]
lea rcx, [rbp + 0xf]
call fcn.14001543c
nop
xor r9d, r9d
lea r8, [r9 - 1]
lea rdx, str.Failed_to_create_connection
lea rcx, [rbp + 0xf]
call fcn.140010d5c
nop
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x29]
call fcn.140006e90
lea rdx, [0x14003dea0]
lea rcx, [rbp - 0x29]
call fcn.14001543c
int3
Function at 0x140007870
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov dword [rsp + 0x38], 0xfffe00ff
lea rdx, [rsp + 0x38]
mov r8d, 4
mov rdi, rcx
call fcn.140007680
mov r8d, 4
mov dword [rsp + 0x38], 0x10000
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.140007680
mov eax, dword [rbx + 0xc]
lea rdx, [rsp + 0x38]
mov r8d, 4
mov dword [rsp + 0x38], eax
mov rcx, rdi
call fcn.140007680
mov eax, dword [rbx + 8]
lea rdx, [rsp + 0x38]
mov r8d, 4
mov dword [rsp + 0x38], eax
mov rcx, rdi
call fcn.140007680
mov eax, dword [rbx + 0x10]
lea rdx, [rsp + 0x38]
mov r8d, 4
mov dword [rsp + 0x38], eax
mov rcx, rdi
call fcn.140007680
mov r8d, dword [rbx + 0x10]
mov rcx, rdi
mov rdx, qword [rbx + 0x18]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140007680
Function at 0x140012d88
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x60
xor r9d, r9d
mov rbx, rcx
xor edx, edx
xor ecx, ecx
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx + 8], eax
cmp eax, 0xffffffff
je 0x140012dc6
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rax, rbx
add rsp, 0x60
pop rbx
ret
lea rdx, str.unable_to_create_tls_index
lea rcx, [rsp + 0x20]
call fcn.140005150
lea rdx, [0x14003ddc8]
lea rcx, [rsp + 0x20]
call fcn.14001543c
int3

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

Disassembly:
push rbx
sub rsp, 0x60
mov rbx, rcx
mov ecx, dword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140012e72
add dword [rax], 0xffffffff
jne 0x140012e6c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rbx + 8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140012e95
add rsp, 0x60
pop rbx
ret
lea rdx, str.likely_unbalanced_enter_exit_monitor_pair__extra_exit_
lea rcx, [rsp + 0x20]
call fcn.140005150
lea rdx, [0x14003ddc8]
lea rcx, [rsp + 0x20]
call fcn.14001543c
int3
lea rdx, str.unable_to_set_tls_value
lea rcx, [rsp + 0x20]
call fcn.140005150
lea rdx, [0x14003ddc8]
lea rcx, [rsp + 0x20]
call fcn.14001543c
int3

Function at 0x140012eb8
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [rcx + 8]
mov ecx, dword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140012ed5
cmp dword [rax], 0
jne 0x140012edf
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, rbx
call fcn.140012f9c
inc dword [rax]
add rsp, 0x20
pop rbx
ret

Function at 0x140012ef0
Capabilities:
Get thread local storage value

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x140012efc
push rbx
sub rsp, 0x60
mov rbx, rcx
mov ecx, dword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140012f15
mov eax, dword [rax]
test eax, eax
je 0x140012f44
mov rcx, rbx
call fcn.140012e38
mov ecx, dword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140012f34
cmp dword [rax], 0
jne 0x140012f3e
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rsp, 0x60
pop rbx
ret
lea rdx, str.must_own_monitor_prior_to_calling_exit__
lea rcx, [rsp + 0x20]
call fcn.140005150
lea rdx, [0x14003ddc8]
lea rcx, [rsp + 0x20]
call fcn.14001543c
int3
Function at 0x140012efc
Capabilities:
Get thread local storage value

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x140012efc
push rbx
sub rsp, 0x60
mov rbx, rcx
mov ecx, dword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140012f15
mov eax, dword [rax]
test eax, eax
je 0x140012f44
mov rcx, rbx
call fcn.140012e38
mov ecx, dword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140012f34
cmp dword [rax], 0
jne 0x140012f3e
lea rcx, [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rsp, 0x60
pop rbx
ret
lea rdx, str.must_own_monitor_prior_to_calling_exit__
lea rcx, [rsp + 0x20]
call fcn.140005150
lea rdx, [0x14003ddc8]
lea rcx, [rsp + 0x20]
call fcn.14001543c
int3

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rdi, rcx
mov ecx, dword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x140012fe1
lea edx, [rax + 4]
lea ecx, [rax + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140012fef
and dword [rax], 0
mov rdx, rax
mov ecx, dword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140013012
mov rax, rbx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
lea rdx, str.unable_to_create_tls_data
lea rcx, [rsp + 0x20]
call fcn.140005150
lea rdx, [0x14003ddc8]
lea rcx, [rsp + 0x20]
call fcn.14001543c
int3
lea rdx, str.unable_to_set_tls_value
lea rcx, [rsp + 0x20]
call fcn.140005150
lea rdx, [0x14003ddc8]
lea rcx, [rsp + 0x20]
call fcn.14001543c
int3

Function at 0x1400130e0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov ecx, 8
call fcn.140013960
xor ecx, ecx
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140013104
mov qword [rax], rcx
jmp 0x140013107
mov rax, rcx
mov qword [rsp + 0x28], rcx
lea r8, [0x1400131b0]
mov r9, rbx
mov dword [rsp + 0x20], ecx
xor edx, edx
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rbx + 0x20]
mov qword [rcx], rax
add rsp, 0x30
pop rbx
ret

Function at 0x1400146e4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001472e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001472e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001472e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001472e
cmp dword [rcx + 0x84], 0xe
jbe 0x14001472e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140014730
xor al, al
add rsp, 0x28
ret
Function at 0x14002d060
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002d088
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002d088
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x141bd470b
Capabilities:
Authenticate hmac

Disassembly:
test byte [rdi - 0x5a], bh
sub byte [0x157e7e6cd], bl
iretd
mov qword [rsp + 8], 0x2714b1cb
call fcn.140fa2eeb
or byte [rdi + 0x1373f0db], ch
pop rdi
sbb ebp, dword [rax + rax*4 + 0xc]
add dl, dh
leave
sti
mov bh, 0x2d
je 0x141bd476c
mov bh, 0xa5
mov dh, 0x14
add esp, esi
jp 0x141bd4793
movsd dword [rdi], dword [rsi]
invalid
mov esp, esi
jae 0x141bd46e9
in al, dx
cwde
push 0x3e
and al, 0x5c
add dh, byte [rbx + 0x3909136d]
ret
mov bl, 0x6d
adc ecx, dword [rcx]
cmp ebx, eax
cmc
xchg ebx, eax
sal byte [rsi - 0x64], cl
sbb al, 0x36
and eax, 0xbf9ab105
and eax, 0xfcfa2a57
mov eax, 0x264bc350
clc
clc
mov ecx, 0x6536c253
xor byte [rbp - 0x7f], cl
adc al, byte [rbx + 0x3b]
mov edx, 0xf3b0a3f2
invalid
or dword [rdx + 0x71], ecx
cmp byte [0x14ad6fd87], ah
invalid
mov ch, 0x33
loopne 0x141bd4746
add byte [rcx], cl
ja 0x141bd47fb
lea ebp, [rdi + rdi*2 + 0x37fe4a07]
xor edi, dword [rsi + 0x49a2e6f0]
lea ecx, [rdx - 0x2f6bb3a]
jge 0x141bd477f
cmp al, 0xf5
add dword [rcx + 0x1462dc50], edi
enter 0x79fc, 0xfffffffffffffff9
cmp al, 0xff
jle 0x141bd4751
mov ebx, 0xbe424cdc
invalid
jle 0x141bd4846
mov esi, 0xbc2303f4
mov r15b, 0x8e
cmpsd dword [rsi], dword [rdi]
mov ecx, 0x3dc63d41
movabs rsi, 0xa80108be4e5251b0
mov ch, 0x41
push 0xffffffffffffffe5
sub byte [rbx - 0x771bfabf], dh
movabs rsi, 0xd295fd303feaee87
in al, dx
mov dh, 0xc6
adc dh, byte gs:[rax + 0x2d]
mov dword [rdx], edi
sti
invalid
and eax, 0xeb8f9ad5
int1
invalid
Function at 0x140001110
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
xor ebx, ebx
mov ecx, 0xbeef
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000112a
test ebx, ebx
je 0x14000114b
mov ecx, 0x4000
lea rdx, str.Caught_by_an_CloseHandle_exception_
call fcn.1400010d0
mov ecx, 0x4000
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x20
pop rbx
ret

Function at 0x140001160
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, 1
call fcn.140002e19
jmp 0x140001174
test ebx, ebx
je 0x140001195
mov ecx, 0x4001
lea rdx, str.Caught_by_a_Single_Step_Exception_
call fcn.1400010d0
mov ecx, 0x4001
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x20
pop rbx
ret

Function at 0x140001240
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
lea rcx, str._s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x140001253
add rsp, 0x28
ret
Function at 0x140002da0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
xor rax, rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 2]
and rax, 0xff
ret

Function at 0x140002db7
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
xor rax, rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0xbc]
and rax, 0x70
ret

Function at 0x140002ded
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
mov qword [rcx], rdx
mov qword [rcx + 8], rax
xor rax, rax
mov rax, 5
shr rax, 2
sub rax, rbx
cmp rax, rcx
rdtsc
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rax
ret

Function at 0x1400038c0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000390a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000390a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000390a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000390a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000390a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000390c
xor al, al
add rsp, 0x28
ret
Function at 0x140001560
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x60
mov rax, qword gs:[0x60]
mov qword [rsp + 0x70], rdi
mov rcx, qword [rax + 0x18]
mov rsi, qword [rcx + 0x18]
mov rbx, rsi
mov rbx, qword [rbx]
cmp qword [rbx + 0x30], 0
je 0x1400015ff
mov rcx, qword [rbx + 0x60]
xor edx, edx
cmp word [rcx], dx
je 0x1400015b2
cmp rdx, 0x3f
jae 0x1400015b2
movzx eax, byte [rcx]
add rcx, 2
inc rdx
mov byte [rsp + rdx + 0x1f], al
cmp word [rcx], 0
jne 0x140001598
lea rcx, [rsp + 0x20]
mov byte [rsp + rdx + 0x20], 0
call qword [sym.imp.USER32.dll_CharLowerA]
or rcx, 0xffffffffffffffff
xor r8d, r8d
mov r11, rax
xor eax, eax
mov edx, 0x35
mov rdi, r11
repne scasb al, byte [rdi]
not rcx
dec rcx
je 0x1400015ff
movsx eax, byte [r11]
inc r8d
lea edx, [rdx + rdx*2]
add edx, eax
movsxd rax, r8d
inc r11
cmp rax, rcx
jb 0x1400015e0
cmp edx, 0x35c206b
je 0x140001608
cmp rsi, rbx
jne 0x140001583
mov rax, qword [rbx + 0x30]
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rsi
ret

Function at 0x140001620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
movsxd rax, dword [rcx + 0x3c]
xor r9d, r9d
mov ebp, edx
mov eax, dword [rax + rcx + 0x88]
mov rsi, rcx
mov ebx, dword [rax + rcx + 0x1c]
mov r11d, dword [rax + rcx + 0x20]
mov r13d, dword [rax + rcx + 0x24]
add r11, rcx
add r13, rcx
lea r12, [rcx + rbx]
test ebx, ebx
je 0x1400016b8
nop word [rax + rax]
mov r8d, dword [r11]
or rcx, 0xffffffffffffffff
xor eax, eax
add r8, rsi
xor r10d, r10d
mov edx, 0x35
mov rdi, r8
repne scasb al, byte [rdi]
not rcx
dec rcx
je 0x1400016a8
movsx eax, byte [r8]
inc r10d
lea edx, [rdx + rdx*2]
add edx, eax
movsxd rax, r10d
inc r8
cmp rax, rcx
jb 0x140001691
cmp edx, ebp
je 0x1400016d3
inc r9d
add r11, 4
cmp r9d, ebx
jb 0x140001670
xor eax, eax
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r13
pop r12
ret
movzx ecx, word [r13 + r9*2]
mov eax, dword [r12 + rcx*4]
add rax, rsi
jmp 0x1400016ba