joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009d00
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x140009d00
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xd0
lea rdi, [rsp + 0x20]
mov ecx, 0x2c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [0x14002e008]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0xa8], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x24]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140009d8f
mov rcx, qword [rsp + 0xe0]
call fcn.1400016b3
mov eax, dword [rsp + 0xa8]
or eax, 1
mov dword [rsp + 0xa8], eax
mov rax, qword [rsp + 0xe0]
jmp 0x140009e47
lea rcx, [rsp + 0x48]
call fcn.1400016b3
nop
mov dword [rsp + 0x74], 1
jmp 0x140009dae
mov eax, dword [rsp + 0x74]
inc eax
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x74], eax
jge 0x140009e07
movsxd rax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx + rax*8]
lea rcx, [rsp + 0x78]
call fcn.140001b40
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x48]
call fcn.1400015be
nop
lea rcx, [rsp + 0x78]
call fcn.140001307
jmp 0x140009da4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xe0]
call fcn.140001f19
mov eax, dword [rsp + 0xa8]
or eax, 1
mov dword [rsp + 0xa8], eax
lea rcx, [rsp + 0x48]
call fcn.140001f4b
mov rax, qword [rsp + 0xe0]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140024860]
call fcn.140001d11
mov rax, rdi
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140001802
add rsp, 0xd0
pop rdi
ret

Function at 0x14000be90
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x14000be90
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea rdi, [rsp + 0x40]
mov ecx, 0x18
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb0]
mov dword [rsp + 0x64], 4
lea rax, [rsp + 0x64]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x10
lea r8, str.AppsUseLightTheme
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionThemesPersonalize
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jne 0x14000bf55
cmp dword [rsp + 0x44], 0
jne 0x14000bf1b
mov dword [rsp + 0x94], 1
jmp 0x14000bf26
mov dword [rsp + 0x94], 0
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x84], eax
mov r9d, 4
lea r8, [rsp + 0x84]
mov edx, 0x14
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.dwmapi.dll_DwmSetWindowAttribute]
mov rcx, rsp
lea rdx, [0x140024fc0]
call fcn.140001d11
add rsp, 0xa0
pop rdi
ret
Function at 0x140001d70
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push rbx
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
call fcn.140002100
test eax, eax
jne 0x140001ebf
mov ecx, dword [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
call sym.run_w_py3.6_win_amd64.exe_PySys_SetArgvEx
mov rax, qword [0x14000c2a8]
test rax, rax
jne 0x140001e13
mov r10, qword [0x14000c268]
mov rbx, qword [0x14000c370]
test r10, r10
je 0x140001de2
nop dword [rax + rax]
cmp rbx, qword [r10]
je 0x140001ec5
mov r10, qword [r10 + 0x10]
test r10, r10
jne 0x140001dd0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [0x14000b858]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
lea rcx, [0x140004310]
cmove rax, rcx
mov qword [0x14000c2a8], rax
lea rcx, [0x14000b1fc]
call rax
mov rbx, rax
test rax, rax
je 0x140001e6a
xor r8d, r8d
lea rcx, str._MessageBox
xor edx, edx
call sym.run_w_py3.6_win_amd64.exe_PyCFunction_NewEx
mov rdx, qword [str._MessageBox]
mov r8, rax
mov rcx, rbx
call sym.run_w_py3.6_win_amd64.exe_PyObject_SetAttrString
xor r8d, r8d
lea rcx, str._SHGetSpecialFolderPath
xor edx, edx
call sym.run_w_py3.6_win_amd64.exe_PyCFunction_NewEx
mov rdx, qword [str._SHGetSpecialFolderPath]
mov r8, rax
mov rcx, rbx
call sym.run_w_py3.6_win_amd64.exe_PyObject_SetAttrString
call fcn.140002a90
lea rcx, [0x14000b3b8]
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140001eb8
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, [0x14000b3b0]
call sym.run_w_py3.6_win_amd64.exe_Py_FdIsInteractive
test eax, eax
je 0x140001eb8
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
xor r8d, r8d
lea rdx, [0x14000b3a8]
mov rcx, rax
call sym.run_w_py3.6_win_amd64.exe_PyRun_InteractiveLoopFlags
call sym.run_w_py3.6_win_amd64.exe_Py_Finalize
mov eax, ebx
add rsp, 0x40
pop rbx
ret
mov eax, dword [r10 + 0x20]
lea rcx, [0x14000b578]
mov r9, qword [r10 + 8]
mov r8, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
call fcn.140004870
mov rcx, qword [r10]
lea rdx, [0x14000b858]
call fcn.1400031f0
jmp 0x140001e0c
Function at 0x10000daac
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rbx, rcx
lea rax, [0x100002fb8]
mov qword [rcx], rax
mov rdi, qword [rcx + 0x30]
test rdi, rdi
je 0x10000dba5
mov qword [rsp + 0x48], rdi
mov dword [rdi + 0x10], 1
xor edx, edx
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10000db0c
mov edx, 0x1388
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rdi + 0x14], 1
mov dword [rdi + 0x10], 1
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, 0x1388
mov rcx, qword [rdi + 0xa0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10000db4c
xor edx, edx
mov rcx, qword [rdi + 0xa0]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rdi + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rdi + 0xa0], 0
lea rcx, [rdi + 0x68]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rcx, [rdi + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rdi + 0x28]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rdi + 8]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rcx, rdi
call sub.MFC42u.dll_CMonthCalCtrl::SetFirstDayOfWeek
nop
lea rcx, [rbx + 0x38]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x10000dbbf
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x10000dbcf
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x10000dbdf
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp fcn.10000b9f4
Function at 0x10000ddbc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x160
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1000341e0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rsi, r9
mov rbx, r8
mov rdi, rcx
mov qword [rsp + 0x20], rcx
mov rbp, qword [rsp + 0x1b8]
lea rax, [0x1000030d8]
mov qword [rcx], rax
xor r12d, r12d
mov qword [rcx + 8], r12
mov rax, qword [rsp + 0x1a8]
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], r12
mov qword [rcx + 0x20], r12
mov rax, qword [rsp + 0x1b0]
mov qword [rcx + 0x28], rax
or dword [rcx + 0x30], 0xffffffff
mov dword [rcx + 0x3c], r12d
mov dword [rcx + 0x40], 1
mov dword [rcx + 0x44], r12d
mov dword [rcx + 0x48], r12d
mov rax, qword [rsp + 0x1c0]
mov qword [rcx + 0x50], rax
mov dword [rcx + 0x58], r12d
mov qword [rcx + 0x60], r12
mov qword [rcx + 0x68], r12
mov qword [rcx + 0x70], r12
mov dword [rcx + 0x78], edx
mov dword [rcx + 0x7c], edx
sub rcx, 0xffffffffffffff80
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
lea rcx, [rdi + 0x88]
mov rdx, rbx
call sub.MFC42u.dll_CDaoException::CDaoException
mov dword [rdi + 0x90], r12d
mov rdx, qword [rdi + 0x50]
mov rcx, rdx
cmp rdx, r12
je 0x10000deb2
cmp dword [rcx + 8], r12d
jne 0x10000dea9
mov rax, qword [rcx + 0x10]
cmp dword [rax - 8], r12d
je 0x10000deb2
inc dword [rdi + 0x48]
add rcx, 0x28
jne 0x10000de99
cmp rdx, r12
je 0x10000dece
cmp dword [rdx + 0x1c], r12d
je 0x10000dece
mov dword [rdi + 0x30], r12d
mov dword [rdi + 0x38], 1
mov eax, dword [rdx + 0x20]
mov dword [rdi + 0x34], eax
mov ebx, dword [rsp + 0x1d0]
cmp ebx, r12d
je 0x10000df15
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, r12d
je 0x10000df15
cmp ebx, 1
jne 0x10000df07
mov eax, r12d
cmp dword [rsp + 0x40], 2
setne al
mov dword [rdi + 0x3c], eax
jmp 0x10000df15
mov eax, r12d
cmp dword [rsp + 0x40], 2
sete al
mov dword [rdi + 0x3c], eax
lea rax, [0x100003008]
mov qword [rdi], rax
mov dword [rdi + 0x98], r12d
mov eax, dword [rsp + 0x1a0]
mov dword [rdi + 0x9c], eax
mov qword [rdi + 0xa0], rsi
lea rcx, [rdi + 0xa8]
lea rdx, [0x100001e7c]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
lea rcx, [rdi + 0xb0]
mov rdx, rbp
call sub.MFC42u.dll_CControlBar::CControlBar
mov r11, qword [rdi + 0x10]
cmp r11, r12
je 0x10000df70
cmp qword [r11 + 0x18], r12
jne 0x10000df70
mov qword [r11 + 0x18], rdi
mov rcx, qword [rdi + 0x28]
cmp rcx, r12
je 0x10000dfa1
mov rax, qword [rcx + 0x20]
cmp rax, r12
jne 0x10000df88
mov qword [rcx + 0x20], rdi
jmp 0x10000dfa1
lea rcx, [rax + 0x20]
cmp qword [rcx], r12
je 0x10000df9d
mov rax, qword [rcx]
lea rcx, [rax + 0x20]
cmp qword [rcx], r12
jne 0x10000df91
mov qword [rax + 0x20], rdi
mov rax, rdi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1000206f0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x10000e69c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov dword [rcx + 0x10], 1
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
call fcn.10000e754
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 0x10000e72e
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rsi + 0x60]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
lea r11, [rsi + 0xa8]
lea r8, [0x10000e7a0]
mov qword [rsp + 0x28], r11
and dword [rsp + 0x20], 0
mov r9, rsi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsi + 0xa0], rax
jmp 0x10000e73e
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 0x10000f18c
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbx
push rbp
push rdi
sub rsp, 0x2c0
mov qword [rsp + 0x70], 0xfffffffffffffffe
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1000341e0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov ebx, r8d
movapd xmm6, xmm1
mov rdi, rcx
mov qword [rsp + 0x78], rcx
xor ebp, ebp
mov dword [rsp + 0x40], ebp
mov word [rsp + 0x90], bp
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x92]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x88], 0x2c
xor eax, eax
mov dword [rsp + 0x8c], eax
mov dword [rsp + 0x80], 0x2e
mov dword [rsp + 0x84], eax
lea r9d, [rbp + 4]
lea r8, [rsp + 0x88]
lea edx, [rbp + 0xf]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea r9d, [rbp + 4]
lea r8, [rsp + 0x80]
lea edx, [rbp + 0xe]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
lea r8d, [rbp + 0x28]
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x50], 3
lea rcx, [0x100001e7c]
lea rax, [rsp + 0x80]
cmp ebx, ebp
cmove rax, rcx
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x48], ebx
lea rax, [rsp + 0x88]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
mov r8d, ebx
lea rdx, [0x1000031e0]
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CPtrList::FreeNode
movapd xmm2, xmm6
movq r8, xmm2
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CPtrList::FreeNode
lea r8, [0x100002d28]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.1000168f8
mov dword [rsp + 0x28], 0x104
lea rax, [rsp + 0x90]
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, [rsp + 0x90]
mov rcx, rdi
call sub.MFC42u.dll_CDaoException::CDaoException
mov dword [rsp + 0x40], 1
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov rax, rdi
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1000206f0
movaps xmm6, xmmword [rsp + 0x2b0]
add rsp, 0x2c0
pop rdi
pop rbp
pop rbx
ret
Function at 0x10001d8dc
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0xa0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1000341e0]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov r13, rdx
mov rbx, rcx
mov qword [rsp + 0x58], rcx
xor edi, edi
cmp qword [rcx + 0x48], rdi
je 0x10001db22
mov rsi, qword [rcx + 0x50]
cmp rsi, rdi
jne 0x10001d93b
mov rcx, qword [rcx + 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
mov rsi, rax
cmp rsi, rdi
je 0x10001db22
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 0x60]
cmp eax, edi
jne 0x10001d9a5
cmp dword [rbx + 0x98], edi
je 0x10001d987
mov r12, qword [rbx + 0x48]
cmp r12, rdi
je 0x10001d9a5
mov rcx, qword [r12 + 0x30]
cmp rcx, rdi
je 0x10001d9a5
xor r9d, r9d
lea r8d, [r9 + 1]
mov rdx, rsi
call fcn.10000e69c
mov rcx, qword [r12 + 0x30]
call fcn.10000e754
jmp 0x10001d9a5
mov r8, rsi
mov rdx, qword [rbx + 0x48]
mov rcx, rbx
call fcn.10001ec3c
mov ecx, edi
cmp eax, edi
sete cl
cmp ecx, edi
jne 0x10001db22
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, rax
mov qword [rsp + 0x50], rax
cmp rax, 0xffffffffffffffff
je 0x10001da6a
mov edx, 0x10
mov dword [rsp + 0x40], edx
mov word [rsp + 0x78], di
xor eax, eax
mov qword [rsp + 0x7a], rax
mov qword [rsp + 0x82], rax
mov qword [rsp + 0x8a], rax
mov dword [rsp + 0x92], eax
mov word [rsp + 0x96], ax
mov r8, qword [rbx + 0x10]
or rcx, 0xffffffffffffffff
mov rdi, r8
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
jne 0x10001da3d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
jmp 0x10001da4b
or r9, 0xffffffffffffffff
lea rcx, [rsp + 0x78]
call sub.msvcrt.dll_wcsncpy_s
mov rax, qword [rsi]
lea r9, [rsp + 0x78]
mov r8d, 1
mov rdx, r12
mov rcx, rsi
call qword [rax + 0xa0]
jmp 0x10001dafe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
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 sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
mov rsi, qword [0x1000383e0]
call sub.MFC42u.dll_Ordinal_1463
mov qword [rax + 0x18], rsi
mov edx, 0x75
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CPropertySheet::OnCtlColor
mov r9d, 0x30
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, qword [rsp + 0x40]
cmp rcx, rdi
je 0x10001daf3
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
jmp 0x10001db13
cmp r12, 0xffffffffffffffff
je 0x10001db22
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1000206f0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x10001dec4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0xa8
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rbx, rcx
mov rdi, qword [rcx + 0x3b8]
call qword [sym.imp.USER32.dll_GetFocus]
cmp rax, rdi
jne 0x10001df29
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x10001df29
mov rcx, qword [rbx + 0x3b8]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x10001df29
xor r9d, r9d
xor r8d, r8d
mov edx, 0x301
mov rcx, qword [rbx + 0x3b8]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10001e110
lea rcx, [rsp + 0xe0]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
lea rdx, [0x100001e7c]
lea rcx, [rsp + 0xe0]
call sub.MFC42u.dll_AfxDeleteObject
mov rcx, rbx
call fcn.10001c254
mov rsi, rax
test rax, rax
jne 0x10001df6d
lea rcx, [rsp + 0xe0]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
jmp 0x10001e110
mov rax, qword [rax]
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0xd0]
mov rcx, rsi
call qword [rax + 0x30]
mov dword [rsp + 0x40], 4
and dword [rsp + 0x48], 0
mov r9d, 2
or r8, 0xffffffffffffffff
mov edx, 0x100c
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbp, rax
cmp eax, 0xffffffff
je 0x10001e086
mov dword [rsp + 0x44], ebp
lea r9, [rsp + 0x40]
xor r8d, r8d
mov edx, 0x104b
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x10001e063
movsxd rax, dword [rsp + 0xd8]
cmp qword [rsp + 0x68], rax
jge 0x10001e04f
xor edi, edi
cmp dword [rsp + 0xd0], edi
jle 0x10001e04f
mov rax, qword [rsi]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0xe8]
mov r8d, edi
mov edx, dword [rsp + 0x68]
mov rcx, rsi
call qword [rax + 0x50]
test eax, eax
je 0x10001e044
test edi, edi
je 0x10001e02f
lea rdx, [0x100003844]
lea rcx, [rsp + 0xe0]
call sub.MFC42u.dll_Ordinal_1287
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0xe0]
call sub.MFC42u.dll_Ordinal_1284
inc edi
cmp edi, dword [rsp + 0xd0]
jl 0x10001dff5
lea rdx, [0x100008118]
lea rcx, [rsp + 0xe0]
call sub.MFC42u.dll_Ordinal_1287
movsxd r8, ebp
mov edx, 0x100c
mov r9d, 2
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
mov ebp, eax
cmp eax, 0xffffffff
jne 0x10001dfb8
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10001e103
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x10001e0fc
mov rax, qword [rsp + 0xe0]
mov ecx, dword [rax - 8]
lea ecx, [rcx + rcx + 2]
mov edi, ecx
mov edx, ecx
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x10001e0fc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x10001e0fc
mov r8, rdi
mov rdx, qword [rsp + 0xe0]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rbx
mov ecx, 0xd
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
lea rcx, [rsp + 0xe0]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
add rsp, 0xa8
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x10001e124
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x100
mov rax, qword [0x1000341e0]
xor rax, rsp
mov qword [rsp + 0xf0], rax
xor r13d, r13d
mov rsi, rcx
cmp qword [rcx + 0x48], r13
je 0x10001e2d9
mov rcx, qword [rcx + 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, rsi
mov rbx, rax
call fcn.10001c254
mov r12, rax
cmp rbx, r13
je 0x10001e2d9
mov eax, 0xd4010c
mov edi, 0x540108
cmp r12, r13
cmove edi, eax
mov ebp, 0x88
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8, rbp
call sub.msvcrt.dll_memset
mov rax, qword [rsi + 8]
or dword [rsp + 0xc0], 0xffffffff
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x68], edi
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x70], 0x8100
call qword [sym.imp.COMDLG32.dll_PrintDlgExW]
cmp eax, r13d
jl 0x10001e2d9
cmp dword [rsp + 0xc4], 1
jne 0x10001e2d9
mov ebp, dword [rsp + 0x68]
test bpl, 1
jne 0x10001e1fc
bt ebp, 0x16
mov eax, r13d
jae 0x10001e201
mov eax, 1
shr ebp, 0x16
not ebp
and ebp, 1
cmp eax, r13d
cmovne rbx, r12
cmp rbx, r13
je 0x10001e2d9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x60]
cmp eax, r13d
jne 0x10001e23f
mov rdx, qword [rsi + 0x48]
mov r8, rbx
mov rcx, rsi
call fcn.10001ec3c
cmp eax, r13d
je 0x10001e2d9
mov r8, qword [rsi + 0x10]
xor eax, eax
or rsi, 0xffffffffffffffff
mov edx, 0x10
mov rdi, r8
mov rcx, rsi
mov word [rsp + 0xd0], r13w
mov qword [rsp + 0xd2], rax
mov qword [rsp + 0xda], rax
mov dword [rsp + 0x30], edx
mov qword [rsp + 0xe2], rax
mov dword [rsp + 0xea], eax
mov word [rsp + 0xee], ax
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
lea rcx, [rsp + 0xd0]
jne 0x10001e2a9
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
jmp 0x10001e2b1
mov r9, rsi
call sub.msvcrt.dll_wcsncpy_s
mov rax, qword [rbx]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0x28], rcx
mov r9d, esi
mov r8d, ebp
mov rcx, rbx
mov dword [rsp + 0x20], esi
call qword [rax + 0x90]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1000206f0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret