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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [str._b0_n_]
lea r15, str._b0_n_
mov r14d, 0x100
cmp rcx, r15
je 0x140035b78
test dword [rcx + 0x1c], r14d
je 0x140035b78
cmp byte [rcx + 0x19], 4
jb 0x140035b78
mov r9d, dword [rbx + 8]
lea r8, [0x140089060]
mov rcx, qword [rcx + 0x10]
mov edx, 0x16
call fcn.140004410
and dword [rbx + 0x78], 0
mov edx, 1
mov rcx, rbx
mov dword [rbx + 0x7c], 1
call fcn.140035d54
lea rcx, [rbx + 0x50]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
test edi, edi
je 0x140035bef
mov rcx, qword [str._b0_n_]
cmp rcx, r15
je 0x140035d23
test dword [rcx + 0x1c], r14d
je 0x140035d23
cmp byte [rcx + 0x19], 2
jb 0x140035d23
mov rcx, qword [rcx + 0x10]
lea r9, str.CFolder::StopBuildThread
mov edx, 0x17
mov dword [rsp + 0x20], edi
lea r8, [0x140089060]
call fcn.140004454
jmp 0x140035d23
xor edx, edx
mov dword [rbx + 0x80], 1
mov rcx, rbx
call fcn.140035a18
mov edi, eax
test eax, eax
je 0x140035c52
mov rcx, qword [str._b0_n_]
cmp rcx, r15
je 0x140035d1c
test dword [rcx + 0x1c], r14d
je 0x140035d1c
cmp byte [rcx + 0x19], 2
jb 0x140035d1c
mov rcx, qword [rcx + 0x10]
lea r9, str.CFolder::InvalidateContents
mov edx, 0x18
mov dword [rsp + 0x20], eax
lea r8, [0x140089060]
call fcn.140004454
jmp 0x140035d1c
and dword [rbx + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r8, [0x140035e30]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov qword [rbx + 0x48], rax
test rax, rax
jne 0x140035d27
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [str._b0_n_]
cmp rcx, r15
je 0x140035cd2
test dword [rcx + 0x1c], r14d
je 0x140035cd2
cmp byte [rcx + 0x19], 2
jb 0x140035cd2
mov rcx, qword [rcx + 0x10]
lea r9, [0x140088788]
mov edx, 0x19
mov dword [rsp + 0x20], edi
lea r8, [0x140089060]
call fcn.140004454
call qword [sym.imp.MFC42u.dll_Ordinal_1471]
nop dword [rax + rax]
mov rdx, rax
test rax, rax
je 0x140035cf9
mov rcx, qword [rax]
mov rax, qword [rcx + 0xf8]
mov rcx, rdx
call qword [case.0x14000c28f.0]
test rax, rax
je 0x140035d1c
mov rcx, qword [rax + 0x40]
mov r8, rdi
mov edx, 0x8003
mov r9d, 0x15019d
call qword [sym.imp.USER32.dll_PostMessageW]
nop dword [rax + rax]
and dword [rbx + 0x80], 0
and dword [rbx + 0x7c], 0
lea rcx, [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x58]
mov eax, edi
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x140036580
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x250
mov rax, qword [0x1400a48d0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov rcx, qword [str._b0_n_]
lea rsi, str._b0_n_
cmp rcx, rsi
je 0x1400365d9
test dword [rcx + 0x1c], 0x100
je 0x1400365d9
cmp byte [rcx + 0x19], 4
jb 0x1400365d9
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400891b8]
mov edx, reloc.COMCTL32.dll_InitCommonControls
call fcn.1400043e4
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.msvcrt.dll_memset
lea rcx, [rbx + 0x18]
mov r8d, 0x104
lea rdx, [rsp + 0x30]
call fcn.1400199d4
mov ebx, eax
test eax, eax
je 0x140036632
mov rcx, qword [str._b0_n_]
cmp rcx, rsi
je 0x140036680
test dword [rcx + 0x1c], 0x100
je 0x140036680
cmp byte [rcx + 0x19], 2
jb 0x140036680
mov edx, 0x12
mov dword [rsp + 0x20], eax
lea r9, str.CDraftsFolder::GetDraftsFileName_failed_with__d
jmp 0x140036670
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x140036680
mov rcx, qword [str._b0_n_]
cmp rcx, rsi
je 0x140036680
test dword [rcx + 0x1c], 0x100
je 0x140036680
cmp byte [rcx + 0x19], 2
jb 0x140036680
and dword [rsp + 0x20], eax
lea edx, [rax + 0x13]
lea r9, str.DeleteFile_failed_with__d
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400891b8]
call fcn.140004454
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14006e550
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rsi
ret
Function at 0x140039aa4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [str._b0_n_]
lea r14, str._b0_n_
cmp rcx, r14
je 0x140039af6
test dword [rcx + 0x1c], 0x100
je 0x140039af6
cmp byte [rcx + 0x19], 4
jb 0x140039af6
mov rcx, qword [rcx + 0x10]
lea r8, [0x140089628]
mov edx, 0x41
call fcn.1400043e4
xor ebx, ebx
test rdi, rdi
je 0x140039b50
mov rcx, rdi
call fcn.140011db0
mov rbx, rax
test rax, rax
jne 0x140039b50
mov rcx, qword [str._b0_n_]
lea ebx, [rax + 8]
cmp rcx, r14
je 0x140039b49
test dword [rcx + 0x1c], 0x100
je 0x140039b49
cmp byte [rcx + 0x19], 2
jb 0x140039b49
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x42]
lea r9, str.StringDup
mov dword [rsp + 0x20], ebx
lea r8, [0x140089628]
call fcn.140004454
mov eax, ebx
jmp 0x140039be9
lea rax, [rsp + 0x48]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x140039c10]
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov qword [0x1400a5a38], rax
test rax, rax
jne 0x140039bdf
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [str._b0_n_]
cmp rcx, r14
je 0x140039bce
test dword [rcx + 0x1c], 0x100
je 0x140039bce
cmp byte [rcx + 0x19], 2
jb 0x140039bce
mov rcx, qword [rcx + 0x10]
lea r9, [0x140088788]
mov edx, 0x43
mov dword [rsp + 0x20], eax
lea r8, [0x140089628]
call fcn.140004454
test rbx, rbx
je 0x140039bdb
mov rcx, rbx
call fcn.140010a58
mov eax, edi
jmp 0x140039be9
mov rcx, rsi
call fcn.140039534
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14003a828
Capabilities:
Get geographical location

Disassembly:
mov r11, rsp
push rdi
push r14
push r15
sub rsp, 0x90
mov qword [r11 - 0x60], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1400a48d0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rdx
mov rsi, rcx
mov qword [r11 - 0x58], rdx
and dword [rsp + 0x40], 0
lea r14, str._b0_n_
mov rcx, qword [str._b0_n_]
cmp rcx, r14
je 0x14003a89f
test dword [rcx + 0x1c], 0x100
je 0x14003a89f
cmp byte [rcx + 0x19], 4
jb 0x14003a89f
mov edx, 0xa
lea r8, [0x1400897d8]
mov rcx, qword [rcx + 0x10]
call fcn.1400043e4
movabs r15, 0x1845c8a0ce512957
mov rax, r15
imul qword [rsi + 8]
sar rdx, 0xd
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14003a8cc
call qword [sym.imp.MFC42u.dll_AfxWinInit]
nop dword [rax + rax]
mov r9d, 0x14
lea r8, [rsp + 0x58]
lea edx, [r9 + 0xa]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
nop dword [rax + rax]
test eax, eax
jne 0x14003a990
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [str._b0_n_]
cmp rcx, r14
je 0x14003a93d
test dword [rcx + 0x1c], 0x100
je 0x14003a93d
cmp byte [rcx + 0x19], 2
jb 0x14003a93d
mov edx, VariantTimeToDosDateTime
mov dword [rsp + 0x20], ebx
lea r9, str.GetLocaleInfo
lea r8, [0x1400897d8]
mov rcx, qword [rcx + 0x10]
call fcn.140004454
call qword [sym.imp.MFC42u.dll_Ordinal_1471]
nop dword [rax + rax]
mov rcx, rax
test rax, rax
je 0x14003a961
mov rax, qword [rax]
mov rax, qword [rax + 0xf8]
call qword [case.0x14000c28f.0]
test rax, rax
je 0x14003a984
mov r8, rbx
mov edx, 0x8003
mov r9d, 0x9003b
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_PostMessageW]
nop dword [rax + rax]
call qword [sym.imp.MFC42u.dll_AfxW2AHelper]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo]
nop dword [rax + rax]
mov dword [rsp + 0x40], 1
mov rcx, qword [rsi + 8]
movabs rax, 0x8888888888888889
imul rcx
lea r9, [rcx + rdx]
sar r9, 5
mov rax, r9
shr rax, 0x3f
add r9, rax
movabs rax, 0x48d159e26af37c05
imul rcx
mov r10, rdx
sar r10, 0xa
mov rax, r10
shr rax, 0x3f
add r10, rax
imul eax, r9d, 0x3c
mov r8d, ecx
sub r8d, eax
imul eax, r10d, 0x3c
sub r9d, eax
mov rax, r15
imul rcx
sar rdx, 0xd
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea ecx, [rdx + rdx*2]
shl ecx, 3
sub r10d, ecx
mov dword [rsp + 0x30], r8d
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r9d
lea r9, [rsp + 0x58]
mov r8d, r10d
lea rdx, [0x1400896a8]
mov rcx, rdi
call qword [sym.imp.MFC42u.dll_CPtrList::FreeNode]
nop dword [rax + rax]
mov rax, rdi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14006e550
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400428e0
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov rsi, qword [rcx + 8]
xor edi, edi
cmp qword [rsi + 8], rdi
je 0x14004290f
mov edi, 0x800700b7
jmp 0x1400429f8
mov qword [rsp + 0x20], rdi
mov r9d, 4
xor r8d, r8d
xor edx, edx
lea rcx, str.CWaitDlgThread
call qword [sym.imp.MFC42u.dll_Ordinal_1405]
nop dword [rax + rax]
mov qword [rsi + 8], rax
test rax, rax
je 0x1400429de
lea rdx, [rsi + 0x18]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_CControlBar::CControlBar]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x58], rax
mov rcx, qword [rsi + 8]
add rcx, 0xd8
mov rdx, rax
call qword [sym.imp.MFC42u.dll_AfxDaoGetEngine]
nop dword [rax + rax]
nop
mov rcx, rbx
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
mov rcx, qword [rsi + 8]
mov al, byte [rsi + 0x10]
mov byte [rcx + 0xd1], al
mov rcx, qword [rsi + 8]
mov rax, qword [rsi + 0x20]
mov qword [rcx + 0xe0], rax
mov rcx, qword [rsi + 8]
mov eax, dword [rsi + 0x28]
mov dword [rcx + 0xe8], eax
mov rax, qword [rsi + 8]
mov dword [rax + 0x50], edi
mov byte [rsi + 0x2c], 1
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop dword [rax + rax]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax + rax]
jmp 0x1400429f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140047560
Capabilities:
Create process on windows

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov rdi, rcx
mov r9d, 2
or r8, 0xffffffffffffffff
mov edx, 0x100c
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
add eax, 1
movsxd rsi, eax
je 0x140047654
lea rbx, [rsi - 1]
movsxd r8, ebx
mov edx, 0x100c
mov r9d, 2
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
inc eax
movsxd rsi, eax
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.MFC42u.dll_CWinApp::GetMessageMap]
nop dword [rax + rax]
xor ecx, ecx
test rax, rax
je 0x1400475e9
mov rcx, qword [rax]
mov r8d, ecx
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14004528c
nop
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x50]
lea rdx, str.open
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop dword [rax + rax]
cmp rax, 0x20
ja 0x14004763a
xor edx, edx
mov ecx, 0x4e9a
call fcn.14001730c
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
test rsi, rsi
jne 0x1400475a7
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14004766c
Capabilities:
Create process on windows

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov rdi, rcx
mov r9d, 2
or r8, 0xffffffffffffffff
mov edx, 0x100c
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
add eax, 1
movsxd rsi, eax
je 0x140047760
lea rbx, [rsi - 1]
movsxd r8, ebx
mov edx, 0x100c
mov r9d, 2
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
inc eax
movsxd rsi, eax
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.MFC42u.dll_CWinApp::GetMessageMap]
nop dword [rax + rax]
xor ecx, ecx
test rax, rax
je 0x1400476f5
mov rcx, qword [rax]
mov r8d, ecx
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14004528c
nop
mov dword [rsp + 0x28], 1
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x50]
lea rdx, str.open
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop dword [rax + rax]
cmp rax, 0x20
ja 0x140047746
xor edx, edx
mov ecx, 0x4e9b
call fcn.14001730c
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
test rsi, rsi
jne 0x1400476b3
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140050844
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x490
mov rax, qword [0x1400a48d0]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rbx, r8
lea rcx, [rsp + reloc.MFC42u.dll_CDaoException::CDaoException]
mov r8, rdx
mov edi, 0x104
mov edx, edi
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
lea r8, [0x14008a2a0]
mov edx, edi
lea rcx, [rsp + reloc.MFC42u.dll_CDaoException::CDaoException]
call qword [sym.imp.msvcrt.dll_wcscat_s]
nop dword [rax + rax]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + reloc.MFC42u.dll_CDaoException::CDaoException]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140050920
mov rdx, rbx
lea rcx, [rsp + 0x4c]
call qword [sym.imp.msvcrt.dll__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x140050919
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x1400508c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
cmp ebx, 0x12
jne 0x140050920
xor eax, eax
jmp 0x140050923
mov eax, 1
jmp 0x140050923
or eax, 0xffffffff
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14006e550
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x490
pop rdi
ret
Function at 0x1400519e0
Capabilities:
Copy file

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x188]
sub rsp, reloc.MFC42u.dll_CDC::CDC
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400a48d0]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rcx
and dword [rcx + 0x3c], 0
mov dword [rcx + 0x20], 2
and dword [rsp + 0x38], 0
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
and qword [rsp + 0x48], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x60]
mov ebx, 0x104
mov edx, ebx
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
nop dword [rax + rax]
cmp eax, ebx
jbe 0x140051a6e
mov eax, 1
jmp 0x140051b53
mov rdx, qword [rdi + 0x30]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_CDaoException::CDaoException]
nop dword [rax + rax]
nop
lea rdx, [0x14008a0f4]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC42u.dll_CCtrlView::CCtrlView]
nop dword [rax + rax]
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_Ordinal_1284]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_Ordinal_1287]
nop dword [rax + rax]
mov dword [rsp + 0x28], 1
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_CopyFileExW]
nop dword [rax + rax]
test eax, eax
jne 0x140051b20
lea rcx, [rdi + 0x18]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
nop dword [rax + rax]
mov ebx, eax
jmp 0x140051b22
xor ebx, ebx
test ebx, ebx
jne 0x140051b40
xor r9d, r9d
mov r8, qword [rdi + 0x30]
lea edx, [rbx + 5]
lea ecx, [rbx + 2]
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14006e550
lea r11, [rsp + reloc.MFC42u.dll_CDC::CDC]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x140051b80
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
and dword [rcx + 0x3c], 0
mov rbx, rcx
mov dword [rcx + 0x20], 3
add rcx, 0x18
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140051bc7
mov r8, qword [rbx + 0x28]
lea edx, [rax + 5]
xor r9d, r9d
lea ecx, [rax + 4]
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
mov eax, edi
add rsp, 0x20
pop rdi
ret
Function at 0x140051bdc
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
and dword [rcx + 0x3c], 0
mov rbx, rcx
mov dword [rcx + 0x20], 1
add rcx, 0x18
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140051c3e
mov r8, qword [rbx + 0x30]
lea edx, [rax + 5]
xor r9d, r9d
mov ecx, 0x1000
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
nop dword [rax + rax]
mov r8, qword [rbx + 0x28]
lea edx, [rdi + 5]
xor r9d, r9d
lea ecx, [rdi + 4]
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
mov eax, edi
add rsp, 0x20
pop rdi
ret
Function at 0x140055824
Capabilities:
Copy file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
xor r12d, r12d
mov r15, rdx
mov rbp, rcx
mov ebx, r12d
test rcx, rcx
je 0x1400559f9
test rdx, rdx
je 0x1400559f9
lea r9, [rax + 8]
mov qword [rax + 8], r12
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
nop dword [rax + rax]
movsxd rdi, eax
test eax, eax
jne 0x14005589b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400559f5
mov rdx, rdi
mov ecx, 0x40
add rdx, rdx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
nop dword [rax + rax]
mov r14, rax
mov eax, 0x8007000e
test r14, r14
cmove ebx, eax
test ebx, ebx
js 0x1400559e1
lea r9, [rsp + 0x50]
mov r8, r14
mov edx, edi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
nop dword [rax + rax]
test eax, eax
jne 0x1400558ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400559e1
mov rcx, qword [rsp + 0x50]
or rax, 0xffffffffffffffff
mov rdx, rax
inc rdx
cmp word [rcx + rdx*2], r12w
jne 0x140055913
inc rax
cmp word [r15 + rax*2], r12w
jne 0x14005591d
lea rsi, [rax + 2]
mov ecx, 0x40
add rsi, rdx
lea rdx, [rsi + rsi]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
nop dword [rax + rax]
test rax, rax
mov rdi, rax
mov eax, 0x8007000e
cmove ebx, eax
test ebx, ebx
js 0x1400559cd
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call fcn.14000e8c4
mov ebx, eax
test eax, eax
js 0x1400559cd
lea r8, [0x140084848]
mov rdx, rsi
mov rcx, rdi
call fcn.14000e950
mov ebx, eax
test eax, eax
js 0x1400559cd
mov r8, qword [rsp + 0x50]
mov rdx, rsi
mov rcx, rdi
call fcn.14000e950
mov ebx, eax
test eax, eax
js 0x1400559cd
mov r8d, 1
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CopyFileW]
nop dword [rax + rax]
test eax, eax
jne 0x1400559cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test rdi, rdi
je 0x1400559e1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
test r14, r14
je 0x1400559f5
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov eax, ebx
jmp 0x1400559fe
mov eax, 0x80070057
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400560a8
Capabilities:
Impersonate user

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x710
mov rax, qword [0x1400a48d0]
xor rax, rsp
mov qword [rsp + 0x700], rax
and qword [rsp + 0x30], 0
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x2f0]
mov r8d, 0x404
call sub.msvcrt.dll_memset
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x2a4
call sub.msvcrt.dll_memset
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], CDumpContext::CDumpContext
mov r8d, 0x202
lea rdx, [rsp + 0x2f0]
mov rcx, rbx
call qword [sym.imp.credui.dll_CredUIParseUserNameW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14005619a
lea rax, [rsp + 0x30]
mov r8, rsi
mov qword [rsp + 0x28], rax
lea r9d, [rbx + 2]
and dword [rsp + 0x20], ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.ADVAPI32.dll_LogonUserW]
nop dword [rax + rax]
test eax, eax
jne 0x14005616f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14005619a
mov rcx, qword [rsp + 0x30]
mov r8, rdi
mov edx, 3
call qword [sym.imp.ADVAPI32.dll_DuplicateToken]
nop dword [rax + rax]
test eax, eax
jne 0x14005619a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400561b0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovle eax, ebx
mov rcx, qword [rsp + 0x700]
xor rcx, rsp
call fcn.14006e550
add rsp, 0x710
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400561e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x178]
sub rsp, reloc.MFC42u.dll_CDaoException::CDaoException
mov rax, qword [0x1400a48d0]
xor rax, rsp
mov qword [rbp + 0x160], rax
xor edi, edi
cmp dword [0x1400a5a54], edi
jne 0x14005637f
lea rax, [rsp + 0x40]
mov dword [0x1400a5a54], 2
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x40], rdi
lea rdx, str.SOFTWAREClientsMail
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14005637f
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x200
call sub.msvcrt.dll_memset
movdqa xmm0, xmmword [0x14008b090]
lea r14, [rsp + 0x48]
movdqu xmmword [rsp + 0x48], xmm0
mov esi, edi
mov rcx, qword [r14]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x38], rdi
lea rdx, str.SOFTWAREClientsMail
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140056311
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r9d, r9d
lea rax, [rsp + 0x60]
mov dword [rsp + 0x30], 0x200
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x38]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test ebx, ebx
jne 0x140056311
cmp di, word [rsp + 0x60]
jne 0x140056321
inc esi
add r14, 8
cmp esi, 2
jae 0x14005636e
jmp 0x14005628c
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x48], rdi
lea rdx, [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14005636e
mov rcx, qword [rsp + 0x48]
mov dword [0x1400a5a54], 1
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
cmp dword [0x1400a5a54], 1
sete dil
mov eax, edi
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14006e550
lea r11, [rsp + reloc.MFC42u.dll_CDaoException::CDaoException]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret