joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4607c0
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0x90
mov qword [rsp + 0x88], rbp
lea rbp, [rsp + 0x88]
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x40], r11
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x68], rax
call fcn.0045ab00
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret

Function at 0x460880
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0xa8
mov qword [rsp + 0xa0], rbp
lea rbp, [rsp + 0xa0]
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x40], r11
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rax
call fcn.0045ac40
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
mov rbp, qword [rsp + 0xa0]
add rsp, 0xa8
ret
Function at 0x475dc0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
xor edx, edx
jmp 0x475dd8
movzx esi, byte [rbx + rdx]
inc rdx
imul eax, eax, 0x1000193
xor eax, esi
cmp rcx, rdx
jg 0x475dc9
ret

Function at 0x47dda0
Capabilities:
Encode data using xor

Disassembly:
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
test rdx, 0xf
jne 0x47de0b
mov rax, 0
movdqu xmm0, xmmword [rsi + rax]
movdqu xmm1, xmmword [rcx + rax]
pxor xmm0, xmm1
movdqu xmmword [rbx + rax], xmm0
add rax, 0x10
cmp rdx, rax
jne 0x47ddc4
ret
sub rdx, 1
mov dil, byte [rsi + rdx]
mov al, byte [rcx + rdx]
xor dil, al
mov byte [rbx + rdx], dil
test rdx, 7
jne 0x47dde1
cmp rdx, 0
je 0x47de2d
test rdx, 0xf
je 0x47ddbd
test rdx, 7
jne 0x47dde1
sub rdx, 8
mov rdi, qword [rsi + rdx]
mov rax, qword [rcx + rdx]
xor rdi, rax
mov qword [rbx + rdx], rdi
cmp rdx, 0x10
jge 0x47ddbd
ret
Function at 0x47f0a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x47f170
jb 0x47f1cf
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.0047ef80
aeskeygenassist xmm1, xmm0, 1
call fcn.0047efa0
aeskeygenassist xmm1, xmm2, 2
call fcn.0047ef80
aeskeygenassist xmm1, xmm0, 2
call fcn.0047efa0
aeskeygenassist xmm1, xmm2, 4
call fcn.0047ef80
aeskeygenassist xmm1, xmm0, 4
call fcn.0047efa0
aeskeygenassist xmm1, xmm2, 8
call fcn.0047ef80
aeskeygenassist xmm1, xmm0, 8
call fcn.0047efa0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.0047ef80
aeskeygenassist xmm1, xmm0, 0x10
call fcn.0047efa0
aeskeygenassist xmm1, xmm2, 0x20
call fcn.0047ef80
aeskeygenassist xmm1, xmm0, 0x20
call fcn.0047efa0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.0047ef80
jmp 0x47f23d
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.0047eee0
aeskeygenassist xmm1, xmm2, 2
call fcn.0047ef40
aeskeygenassist xmm1, xmm2, 4
call fcn.0047eee0
aeskeygenassist xmm1, xmm2, 8
call fcn.0047ef40
aeskeygenassist xmm1, xmm2, 0x10
call fcn.0047eee0
aeskeygenassist xmm1, xmm2, 0x20
call fcn.0047ef40
aeskeygenassist xmm1, xmm2, 0x40
call fcn.0047eee0
aeskeygenassist xmm1, xmm2, 0x80
call fcn.0047ef40
jmp 0x47f23d
aeskeygenassist xmm1, xmm0, 1
call fcn.0047eea0
aeskeygenassist xmm1, xmm0, 2
call fcn.0047eea0
aeskeygenassist xmm1, xmm0, 4
call fcn.0047eea0
aeskeygenassist xmm1, xmm0, 8
call fcn.0047eea0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.0047eea0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.0047eea0
aeskeygenassist xmm1, xmm0, 0x40
call fcn.0047eea0
aeskeygenassist xmm1, xmm0, 0x80
call fcn.0047eea0
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.0047eea0
aeskeygenassist xmm1, xmm0, 0x36
call fcn.0047eea0
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x47f24a
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
ret
Function at 0x140008768
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rbx, rcx
mov dword [rcx + 0x10], 1
xor edx, edx
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400087a7
mov edx, 0x1388
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rbx + 0x14], 1
mov dword [rbx + 0x10], 1
mov rcx, qword [rbx + 0x60]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, 0x1388
mov rcx, qword [rbx + 0xa0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400087e7
xor edx, edx
mov rcx, qword [rbx + 0xa0]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx + 0xa0], 0
lea rcx, [rbx + 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbx + 0x28]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rbx + 8]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
mov rcx, rbx
call qword [sym.imp.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek]
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140008980
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [rcx + 0x30]
test rbx, rbx
jne 0x14000899a
mov eax, 0x80004005
jmp 0x140008a0c
mov rdi, qword [rbx + 0x98]
and qword [rbx + 0x98], 0
and qword [rbx], 0
cmp qword [rbx + 0xa0], 0
jne 0x1400089f7
mov rcx, qword [rbx + 0x58]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rbx + 0x60]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea rcx, [rbx + 0xa8]
mov r9, rbx
mov qword [rsp + 0x28], rcx
lea r8, [0x140009410]
and dword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0xa0], rax
mov rcx, rbx
call fcn.1400093c0
mov eax, dword [rbx + 0x94]
mov qword [rbx + 0x98], rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140008a18
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x170
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x140035868]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rsi, r9
mov rbx, r8
mov rdi, rcx
mov qword [rsp + 0x30], rcx
mov rbp, qword [rsp + 0x1c8]
lea rax, vtable.CMSInfoCategory.0
mov qword [rcx], rax
xor r14d, r14d
mov qword [rcx + 8], r14
mov rax, qword [rsp + 0x1b8]
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], r14
mov qword [rcx + 0x20], r14
mov rax, qword [rsp + 0x1c0]
mov qword [rcx + 0x28], rax
or dword [rcx + 0x30], 0xffffffff
mov dword [rcx + 0x3c], r14d
mov qword [rcx + 0x40], 1
mov dword [rcx + 0x48], r14d
mov rax, qword [rsp + 0x1d0]
mov qword [rcx + 0x50], rax
mov dword [rcx + 0x58], r14d
mov qword [rcx + 0x60], r14
mov qword [rcx + 0x68], r14
mov qword [rcx + 0x70], r14
mov dword [rcx + 0x78], edx
mov dword [rcx + 0x7c], edx
sub rcx, 0xffffffffffffff80
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
lea rcx, [rdi + 0x88]
mov rdx, rbx
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
mov dword [rdi + 0x90], r14d
mov rdx, qword [rdi + 0x50]
mov rcx, rdx
test rdx, rdx
je 0x140008b29
cmp dword [rcx + 8], r14d
jne 0x140008b04
mov rax, qword [rcx + 0x10]
cmp dword [rax - 8], r14d
je 0x140008b0d
inc dword [rdi + 0x48]
add rcx, 0x28
jne 0x140008af4
test rdx, rdx
je 0x140008b29
cmp dword [rdx + 0x1c], r14d
je 0x140008b29
mov dword [rdi + 0x30], r14d
mov dword [rdi + 0x38], 1
mov eax, dword [rdx + 0x20]
mov dword [rdi + 0x34], eax
mov ebx, dword [rsp + 0x1e0]
test ebx, ebx
je 0x140008b68
mov dword [rsp + 0x40], 0x114
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140008b68
mov eax, r14d
cmp ebx, 1
jne 0x140008b5d
cmp dword [rsp + 0x50], 2
setne al
jmp 0x140008b65
cmp dword [rsp + 0x50], 2
sete al
mov dword [rdi + 0x3c], eax
lea rax, vtable.CMSInfoLiveCategory.0
mov qword [rdi], rax
mov dword [rdi + 0x98], r14d
mov eax, dword [rsp + 0x1b0]
mov dword [rdi + 0x9c], eax
mov qword [rdi + 0xa0], rsi
lea rcx, [rdi + 0xa8]
lea rdx, [0x140022b28]
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
nop
lea rcx, [rdi + 0xb0]
mov rdx, rbp
call qword [sym.imp.MFC42u.dll_CControlBar::CControlBar]
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x140008bc5
cmp qword [rax + 0x18], r14
jne 0x140008bc5
mov qword [rax + 0x18], rdi
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x140008bed
mov rax, qword [rcx + 0x20]
test rax, rax
jne 0x140008be0
mov qword [rcx + 0x20], rdi
jmp 0x140008bed
mov rax, qword [rcx]
lea rcx, [rax + 0x20]
cmp qword [rcx], r14
jne 0x140008bdd
mov qword [rax + 0x20], rdi
mov rax, rdi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14001c820
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14000930c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ebx, r8d
mov dword [rcx + 0x10], 1
mov rdi, rdx
mov rsi, rcx
call fcn.1400093c0
cmp qword [rsi + 0xa0], 0
mov rcx, qword [rsi + 0x58]
mov dword [rsi + 0x10], 0
mov dword [rsi + 0x18], ebx
mov dword [rsi + 0x1c], 0
mov qword [rsi], rdi
mov dword [rsi + 0x10], 0
mov dword [rsi + 0x20], 0
jne 0x14000939e
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rsi + 0x60]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea rax, [rsi + 0xa8]
mov r9, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140009410]
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 0xa0], rax
jmp 0x1400093ae
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rsi + 0x60]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140009d8c
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rbx
push rdi
lea rbp, [rax - 0x1d8]
sub rsp, 0x2c0
mov qword [rsp + 0x70], 0xfffffffffffffffe
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140035868]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov ebx, r8d
movaps xmm6, xmm1
mov rdi, rcx
mov qword [rsp + 0x78], rcx
and dword [rsp + 0x38], 0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call sub.msvcrt.dll_memset
mov qword [rbp - 0x78], 0x2c
mov qword [rbp - 0x80], 0x2e
mov r9d, 4
lea r8, [rbp - 0x78]
lea edx, [r9 + 0xb]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov r9d, 4
lea r8, [rbp - 0x80]
lea edx, [r9 + 0xa]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x50], 3
lea rcx, [0x140022b28]
lea rax, [rbp - 0x80]
test ebx, ebx
cmove rax, rcx
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x48], ebx
lea rax, [rbp - 0x78]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
mov r8d, ebx
lea rdx, str.__._df
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC42u.dll_CPtrList::FreeNode]
movaps xmm2, xmm6
movq r8, xmm2
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_CPtrList::FreeNode]
lea r8, [0x140023978]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x30]
call fcn.14001354c
mov dword [rsp + 0x28], 0x104
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
mov r8, qword [rsp + 0x30]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
lea rdx, [rbp - 0x70]
mov rcx, rdi
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
mov dword [rsp + 0x38], 1
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14001c820
movaps xmm6, xmmword [rsp + 0x2b0]
add rsp, 0x2c0
pop rdi
pop rbx
pop rbp
ret
Function at 0x1400114c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
xor r13d, r13d
mov rsi, rdx
lea rdx, str.NgscbCheckIsAOACDevice
mov byte [rbp - 0x1f], r13b
mov byte [rbp - 0x20], r13b
mov rbx, r9
mov qword [rbp - 0x10], r13
mov rdi, r8
mov byte [rbp - 0x1e], r13b
mov r14, rcx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
test rax, rax
je 0x1400116ae
lea rdx, str.NgscbCheckIsHSTIVerified
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
test rax, rax
je 0x1400116ae
lea rdx, str.NgscbCheckHSTIPrerequisitesVerified
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
test rax, rax
je 0x1400116ae
lea rdx, str.NgscbCheckDmaSecurity
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x1400116ae
lea rcx, [rbp - 0x1f]
mov rax, r12
call qword [0x140022358]
xor r12d, r12d
test eax, eax
js 0x140011589
cmp byte [rbp - 0x1f], r12b
jne 0x1400116b1
xor r8d, r8d
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x20]
mov rax, r15
call qword [0x140022358]
test eax, eax
jns 0x1400115b9
mov r9, rbx
mov r8, rdi
mov edx, 0x3bf
mov rcx, rsi
call fcn.140011418
jmp 0x1400116b1
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x1400115a1
xor r8d, r8d
lea rcx, [rbp - 0x1e]
mov rax, r14
call qword [0x140022358]
test eax, eax
js 0x1400115dc
cmp byte [rbp - 0x1e], r12b
jne 0x1400115ef
mov r9, rbx
mov r8, rdi
mov edx, 0x3c0
mov rcx, rsi
call fcn.140011418
cmp byte [rbp - 0x20], r12b
jne 0x140011681
lea rax, [rbp - 0x18]
mov dword [rbp - 0x18], r12d
mov qword [rsp + 0x30], rax
lea r8, str.HSTIVerificationRequired
lea rax, [rbp - 0x1c]
mov dword [rbp - 0x1c], r12d
mov qword [rsp + 0x28], rax
lea rdx, str.SYSTEMCurrentControlSetControlBitLockerAutoDEHSTI
mov r9d, SafeArrayGetElemsize
mov qword [rsp + 0x20], r12
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edx, dword [rbp - 0x1c]
mov r8d, 0x80070002
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, r12d
cmp ecx, r8d
cmove edx, r12d
cmovne eax, ecx
mov dword [rbp - 0x1c], edx
test eax, eax
js 0x1400115a1
movzx eax, byte [rbp - 0x20]
test edx, edx
mov ecx, 1
cmove eax, ecx
mov byte [rbp - 0x20], al
test al, al
je 0x1400115a1
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x1400115a1
lea rcx, [rbp - 0x20]
mov rax, r13
call qword [0x140022358]
test eax, eax
js 0x1400115a1
cmp byte [rbp - 0x20], r12b
jne 0x1400116b1
jmp 0x1400115a1
xor r12d, r12d
cmp qword [rbp - 0x10], r12
je 0x1400116cc
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp - 0x10]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14001a048
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0xa0
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140035868]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x58], rcx
mov rcx, qword [rcx + 0x48]
xor r15d, r15d
test rcx, rcx
je 0x14001a270
mov rsi, qword [rdi + 0x50]
test rsi, rsi
jne 0x14001a0b6
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140022358]
mov rsi, rax
test rax, rax
je 0x14001a270
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x60]
mov rcx, rsi
call qword [0x140022358]
test eax, eax
jne 0x14001a113
cmp dword [rdi + 0x98], r15d
je 0x14001a0fc
mov rbx, qword [rdi + 0x48]
test rbx, rbx
je 0x14001a113
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14001a113
lea r8d, [rax + 1]
mov rdx, rsi
call fcn.14000930c
mov rcx, qword [rbx + 0x30]
call fcn.1400093c0
jmp 0x14001a113
mov r8, rsi
mov rdx, qword [rdi + 0x48]
mov rcx, rdi
call fcn.14001b2a0
test eax, eax
je 0x14001a270
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov qword [rsp + 0x50], rax
cmp rax, 0xffffffffffffffff
je 0x14001a1c1
mov r14d, SafeArrayGetElemsize
mov dword [rsp + 0x40], r14d
xor edx, edx
lea r8d, [r14 + 0x10]
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_memset
mov r8, qword [rdi + 0x10]
or rax, 0xffffffffffffffff
inc rax
cmp word [r8 + rax*2], r15w
jne 0x14001a16d
lea rcx, [rsp + 0x78]
test rax, rax
jne 0x14001a18e
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
jmp 0x14001a19b
or r9, 0xffffffffffffffff
mov rdx, r14
call qword [sym.imp.msvcrt.dll_wcsncpy_s]
mov rax, qword [rsi]
lea r9, [rsp + 0x78]
mov r8d, 1
mov rdx, rbx
mov rcx, rsi
mov rax, qword [rax + 0xa0]
call qword [0x140022358]
jmp 0x14001a25a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 0x400
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
mov rsi, qword [0x1400382e0]
call qword [sym.imp.MFC42u.dll_Ordinal_1463]
mov qword [rax + 0x18], rsi
mov edx, 0x75
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_CPropertySheet::OnCtlColor]
mov r9d, 0x30
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001a24e
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop
jmp 0x14001a261
cmp rbx, 0xffffffffffffffff
je 0x14001a270
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14001c820
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x14001a5f0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov rbx, rcx
mov rdi, qword [rcx + 0x3b8]
call qword [sym.imp.USER32.dll_GetFocus]
cmp rax, rdi
jne 0x14001a65b
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x14001a65b
mov rcx, qword [rbx + 0x3b8]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x14001a65b
xor r9d, r9d
xor r8d, r8d
mov edx, 0x301
mov rcx, qword [rbx + 0x3b8]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14001a803
lea rcx, [rbp + 0x77]
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop
lea rdx, [0x140022b28]
lea rcx, [rbp + 0x77]
call qword [sym.imp.MFC42u.dll_AfxDeleteObject]
mov rcx, rbx
call fcn.140018b00
mov rsi, rax
test rax, rax
je 0x14001a7f9
mov rcx, qword [rax]
mov rax, qword [rcx + 0x30]
lea r8, [rbp + 0x6f]
lea rdx, [rbp + 0x67]
mov rcx, rsi
call qword [0x140022358]
mov dword [rbp - 0x29], 4
and dword [rbp - 0x21], 0
mov r9d, 2
or r8, 0xffffffffffffffff
mov edx, 0x100c
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r14, rax
jmp 0x14001a778
mov dword [rbp - 0x25], r14d
lea r9, [rbp - 0x29]
xor r8d, r8d
mov edx, 0x104b
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x14001a75d
movsxd rax, dword [rbp + 0x6f]
cmp qword [rbp - 1], rax
jge 0x14001a74c
xor edi, edi
cmp dword [rbp + 0x67], edi
jle 0x14001a74c
mov rax, qword [rsi]
and qword [rsp + 0x20], 0
lea r9, [rbp + 0x7f]
mov r8d, edi
mov edx, dword [rbp - 1]
mov rcx, rsi
mov rax, qword [rax + 0x50]
call qword [0x140022358]
test eax, eax
je 0x14001a745
test edi, edi
je 0x14001a737
lea rdx, [0x140023f34]
lea rcx, [rbp + 0x77]
call qword [sym.imp.MFC42u.dll_Ordinal_1287]
mov rdx, qword [rbp + 0x7f]
lea rcx, [rbp + 0x77]
call qword [sym.imp.MFC42u.dll_Ordinal_1284]
inc edi
cmp edi, dword [rbp + 0x67]
jl 0x14001a6fe
lea rdx, [0x140028e58]
lea rcx, [rbp + 0x77]
call qword [sym.imp.MFC42u.dll_Ordinal_1287]
movsxd r8, r14d
mov edx, 0x100c
mov r9d, 2
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r14d, eax
cmp eax, 0xffffffff
jne 0x14001a6cf
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14001a7f9
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x14001a7f2
mov rax, qword [rbp + 0x77]
mov ecx, dword [rax - 8]
lea ecx, [rcx*2 + 2]
mov edi, ecx
mov edx, ecx
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x14001a7f2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14001a7f2
mov r8d, edi
mov rdx, qword [rbp + 0x77]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, SafeArrayGetElemsize
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
lea rcx, [rbp + 0x77]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
add rsp, 0xa0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret