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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov ax, word [rdx + 0x224]
xor ebx, ebx
mov rdi, rdx
and eax, 0x8000
mov dword [rsp + 0x58], ebx
neg eax
sbb ecx, ecx
xor edx, edx
and ecx, 0x803000
add ecx, 0x84408000
mov dword [0x1404eabe4], ecx
lea rcx, [rsp + 0x68]
call qword [rdi + reloc.mfc90u.dll_CInternetException::CInternetException]
cmp eax, ebx
jne 0x1403aa35e
mov eax, recv
jmp 0x1403aa437
lea r8, [0x1403f5c5d]
lea rcx, str.UpdateCheck
xor edx, edx
mov r9, r8
mov dword [rsp + 0x20], ebx
call qword [rdi + 0x2b8]
cmp rax, rbx
mov rcx, rax
mov qword [rdi + 0x280], rax
je 0x1403aa354
cmp dword [rdi + 0x230], ebx
jle 0x1403aa409
lea rax, [rsp + 0x58]
lea r8, [0x1403aa2bc]
mov r9, rdi
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp rax, rbx
mov rsi, rax
jne 0x1403aa3c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1403aa3eb
mov edx, dword [rdi + 0x230]
mov rcx, rax
imul edx, edx, 0x3e8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
cmp eax, reloc.mfc90u.dll_HashKey_wchar_t_const__
jne 0x1403aa3f2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebx, recv
jmp 0x1403aa405
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp eax, ebx
je 0x1403aa405
mov ebx, dword [rsp + 0x60]
mov eax, ebx
jmp 0x1403aa437
mov eax, dword [0x1404eabe4]
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
call qword [rdi + reloc.mfc90u.dll_CMiniFrameWnd::CMiniFrameWnd]
mov qword [rdi + reloc.mfc90u.dll_CDocObjectServerItem::CDocObjectServerItem], rax
neg rax
sbb eax, eax
not eax
and eax, 0xd
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1403aadc0
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0xd0
lea rax, str.StatusWindow
mov rbx, rcx
mov ecx, recv
mov qword [r11 - 0x18], rax
mov rsi, rdx
call qword [sym.imp.USER32.dll_GetSysColor]
mov ecx, eax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0xb0], rax
call qword [sym.imp.USER32.dll_LoadCursorA]
and qword [rsp + 0xa0], 0
and qword [rsp + 0xc8], 0
xor ecx, ecx
mov qword [rsp + 0xa8], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
and dword [rsp + 0x90], 0
and dword [rsp + 0x94], 0
and qword [rsp + 0xb8], 0
and dword [rsp + 0x84], 0
mov qword [rsp + 0x98], rax
lea rax, [0x1403aaa14]
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x80], 0x50
mov qword [rsp + 0x88], rax
call qword [sym.imp.USER32.dll_RegisterClassExA]
and qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x98]
mov rdx, qword [rsp + 0xc0]
lea r8, str.File_Download
mov qword [rsp + 0x50], rax
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
mov eax, 0x64
mov dword [rsp + 0x38], 0xa0
mov dword [rsp + 0x30], 0x12c
mov dword [rsp + 0x28], eax
mov r9d, 0x80c00000
mov ecx, 0x40001
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, qword [rbx + reloc.mfc90u.dll_CHtmlEditCtrl::CHtmlEditCtrl]
test rcx, rcx
mov rdi, rax
jne 0x1403aaef3
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x6c]
mov r11d, dword [rsp + 0x7c]
sub eax, dword [rsp + 0x64]
sub r11d, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x78]
sub ecx, dword [rsp + 0x70]
cdq
mov dword [rsp + 0x30], socket
sub eax, edx
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ecx
sar eax, 1
mov r9d, eax
mov eax, r11d
cdq
sub eax, edx
sar eax, 1
sub r9d, eax
mov eax, dword [rsp + 0x68]
sub eax, dword [rsp + 0x60]
add r9d, dword [rsp + 0x64]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
mov eax, ecx
mov rcx, rdi
cdq
sub eax, edx
xor edx, edx
sar eax, 1
sub r8d, eax
add r8d, dword [rsp + 0x60]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov ebx, 5
mov rcx, rdi
mov edx, ebx
call qword [sym.imp.USER32.dll_ShowWindow]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
and qword [rsp + 0x58], 0
lea r8, [0x140479d5c]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], CPtrList::AddTail
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], 0x1e
mov dword [rsp + 0x30], 0x50
lea rdx, str.BUTTON
mov r9d, 0x50000000
xor ecx, ecx
mov dword [rsp + 0x28], 0x5a
mov dword [rsp + 0x20], 0x69
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov edx, ebx
mov rcx, rax
mov qword [rsi], rax
call qword [sym.imp.USER32.dll_ShowWindow]
lea r11, [rsp + 0xd0]
mov rax, rdi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1403ab00c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
and dword [rsp + 0x58], 0
mov ebx, r8d
mov rdi, rdx
xor r8d, r8d
xor edx, edx
mov r9d, 2
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x58]
mov r8d, ebx
mov rdx, rdi
mov rcx, rsi
mov dword [rsp + 0x58], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1403ab069
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, socket
jmp 0x1403ab06b
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1403abf18
Capabilities:
Create thread
Terminate thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov rsi, rcx
mov ebx, edx
lea ecx, [rdi + 0x40]
mov edx, reloc.mfc90u.dll_COleStreamFile::COleStreamFile
mov dword [rsp + 0x48], edi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [rdi + 0x40]
mov edx, reloc.mfc90u.dll_COleStreamFile::COleStreamFile
mov qword [rsi + 0x254], rax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsi + reloc.mfc90u.dll_CView::CView], rax
mov byte [rax], dil
mov rax, qword [rsi + 0x254]
mov byte [rax], dil
mov qword [0x1404eabd8], rsi
mov dword [0x1404eabe0], ebx
cmp dword [rsi + 0x230], 0xa
jge 0x1403abf89
mov dword [rsi + 0x230], 0xa
cmp dword [rsi + 0x210], edi
jne 0x1403abf9b
mov dword [rsi + 0x210], 0x50
cmp byte [rsi], dil
jne 0x1403abfdb
mov rax, qword [str.secure.softwarekey.com]
mov rcx, qword [rsi + 0x254]
mov qword [rcx], rax
mov rax, qword [0x140479a78]
mov qword [rcx + 8], rax
mov eax, dword [0x140479a80]
mov dword [rcx + 0x10], eax
movzx eax, word [0x140479a84]
mov word [rcx + 0x14], ax
mov al, byte [0x140479a86]
mov byte [rcx + 0x16], al
jmp 0x1403abff6
mov rdx, qword [rsi + 0x254]
mov rcx, rsi
mov al, byte [rcx]
add rcx, 1
mov byte [rdx], al
add rdx, 1
cmp al, dil
jne 0x1403abfe5
mov rcx, qword [rsi + 0x208]
cmp rcx, rdi
je 0x1403ac01f
cmp byte [rcx], dil
je 0x1403ac01f
mov rdx, qword [rsi + reloc.mfc90u.dll_CView::CView]
mov al, byte [rcx]
add rcx, 1
mov byte [rdx], al
add rdx, 1
cmp al, dil
jne 0x1403ac00e
lea rax, [rsp + 0x48]
lea r8, [0x1403abd40]
mov r9, rsi
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp rax, rdi
mov rbx, rax
jne 0x1403ac051
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1403ac099
mov edx, dword [rsi + 0x230]
mov rcx, rax
imul edx, edx, 0x3e8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
cmp eax, reloc.mfc90u.dll_HashKey_wchar_t_const__
jne 0x1403ac07a
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x1403ac099
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp eax, edi
je 0x1403ac09e
mov eax, dword [rsp + 0x40]
cmp eax, 4
mov edi, eax
je 0x1403ac099
cmp eax, 2
jne 0x1403ac09e
mov edi, recv
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x1403ac0b0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1404e41f8]
xor rax, rsp
mov qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu], rax
lea rax, [rsp + 0x38]
mov rdi, rcx
lea rdx, str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x20], rax
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x1403ac1bf
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov esi, SerializeElements<class ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > > >
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x34], esi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x1403ac1b0
cmp dword [rsp + 0x30], 2
mov byte [rsp + reloc.mfc90u.dll_AFX_MODULE_THREAD_STATE::AFX_MODULE_THREAD_STATE], bl
jne 0x1403ac172
lea rcx, [rsp + 0x40]
mov r8d, esi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
add eax, 0xffffffff
cmp eax, 0x103
setbe bl
jmp 0x1403ac1b0
lea rdx, [rsp + 0x40]
mov ecx, ebx
sub rdx, rdi
lea rax, [rsi + 0x7ffffefa]
cmp rax, rbx
je 0x1403ac19b
mov al, byte [rdx + rdi]
cmp al, bl
je 0x1403ac19b
mov byte [rdi], al
add rdi, 1
sub rsi, 1
jne 0x1403ac17c
cmp rsi, rbx
jne 0x1403ac1a9
sub rdi, 1
mov ecx, 0x8007007a
cmp ecx, ebx
mov byte [rdi], bl
setge bl
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1403ac1c1
xor eax, eax
mov rcx, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
xor rcx, rsp
call fcn.1403addc0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1403ae4df
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1404e41f8]
jne 0x1403addda
rol rcx, 0x10
test cx, 0xffff
jne 0x1403addd6
repz ret
ror rcx, 0x10
jmp 0x1403ae438
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1404ea450]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x1404ea548]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1403ae4bd
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1404ea450]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1403ae4df
mov rax, qword [rsp + 0x88]
mov qword [0x1404ea548], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1404ea4e8], rax
mov rax, qword [0x1404ea548]
mov qword [0x1404ea3c0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1404ea4d0], rax
mov dword [0x1404ea3b0], 0xc0000409
mov dword [0x1404ea3b4], 1
mov rax, qword [0x1404e41f8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1404e4200]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1404ea448], eax
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14047a058]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1404ea448], 0
jne 0x1403ae566
mov ecx, 1
call sub.MSVCR90.dll___crt_debugger_hook
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x140001a60
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
lea rcx, str.CShutdownSupervisorThread
mov r9d, 4
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], 0
call qword [sym.imp.mfc120u.dll_Ordinal_2108]
mov rbx, rax
test rax, rax
je 0x140001aaa
mov rcx, qword [rax + 0x58]
mov qword [rax + 0x88], rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140006a50
Capabilities:
Hide graphical window

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov rbx, rdx
mov rdi, rcx
mov r8d, 0x9b
lea rdx, str..._aa_TaskMgr.cpp
lea rcx, str.xTTaskManager::Activate
call qword [sym.imp.DiagLog.dll_dlogPushStackInfoEx]
nop
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne case.default.0x140006b13
lea edx, [rax + 5]
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x10]
xor r9d, r9d
mov r8, rbx
mov edx, 0x223
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.mfc120u.dll_Ordinal_8315]
cmp dword [rsp + 0x40], 0
jne case.default.0x140006b13
xor r9d, r9d
mov edx, 0x112
mov r8d, 0xf120
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x10]
xor r9d, r9d
mov r8, rbx
mov edx, 0x222
mov rcx, qword [rcx + 0x1c8]
call qword [sym.imp.USER32.dll_SendMessageW]
nop
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
jmp qword [sym.imp.DiagLog.dll_dlogPopStackInfo]

Function at 0x140012950
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
mov rdi, rdx
mov rsi, rcx
mov dword [rsp + 0x20], 0
mov rcx, rdx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_296]
nop
lea edx, [rbx + 1]
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_4863]
mov rdx, rax
lea r8d, [rbx + 1]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, rsi
test eax, eax
jle 0x1400129c0
lea rdx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_280]
jmp 0x1400129ce
lea rdx, [0x140073310]
call qword [sym.imp.mfc120u.dll_Ordinal_286]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400140f0
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rcx + 0x18], 0
mov rbx, rcx
je 0x140014111
call fcn.140014880
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400152e0
add rsp, 0x20
pop rbx
ret
Function at 0x1400289e0
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rsp + 0xe0], rbx
mov rax, qword [0x1400a3010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rdx
mov r14, rcx
mov edi, 1
xor r15d, r15d
mov edx, edi
lea rcx, [rbp - 0x11]
call fcn.14002bd70
nop
mov r8, rax
lea rcx, [rbp + 0xf]
call fcn.14002bdc0
nop
cmp qword [rbp + 7], 8
jb 0x140028a4a
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.mfc120u.dll_Ordinal_1486]
mov qword [rbp + 7], 7
mov qword [rbp - 1], r15
mov word [rbp - 0x11], r15w
lea r8, [rbp + 0xf]
mov rdx, rsi
lea rcx, [rbp - 0x31]
call fcn.14002eac0
nop
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x49]
call fcn.140012eb0
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
sete bl
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
test bl, bl
jne 0x140028ad0
cmp qword [rbp - 0x19], 8
jb 0x140028aa7
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.mfc120u.dll_Ordinal_1486]
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], r15
mov word [rbp - 0x31], r15w
cmp qword [rbp + 0x27], 8
jb 0x140028ac9
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.mfc120u.dll_Ordinal_1486]
inc edi
jmp 0x140028a20
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x41]
call fcn.140012eb0
mov rbx, rax
mov rdx, r14
lea rcx, [rbp - 0x49]
call fcn.140012eb0
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
lea rcx, [rbp - 0x41]
call qword [sym.imp.mfc120u.dll_Ordinal_1030]
nop
cmp qword [rbp - 0x19], 8
jb 0x140028b22
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.mfc120u.dll_Ordinal_1486]
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], r15
mov word [rbp - 0x31], r15w
cmp qword [rbp + 0x27], 8
jb 0x140028b44
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.mfc120u.dll_Ordinal_1486]
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140065260
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140029f20
Capabilities:
Move file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 8]
mov rax, qword [rcx]
call qword [rax]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x70]
test al, al
je 0x140029f68
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x48]
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x50]
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14002ae40
add rsp, 0x20
pop rbx
ret
Function at 0x14002f7d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rdx + 8]
mov rdi, qword [rcx + 0x40]
mov rbx, rdx
sub eax, 0x100
mov rsi, rcx
cmp eax, 9
ja 0x14002f836
call qword [sym.imp.USER32.dll_GetActiveWindow]
test rax, rax
je 0x14002f836
cmp rax, rdi
je 0x14002f836
mov rcx, rax
call qword [sym.imp.mfc120u.dll_Ordinal_4686]
test rax, rax
je 0x14002f836
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x2a8]
test eax, eax
je 0x14002f836
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp dword [rbx + 8], 0x100
jne 0x14002f87b
cmp qword [rbx + 0x10], 0x70
jne 0x14002f87b
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, 0x8000
test di, ax
jne 0x14002f87b
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
test di, ax
jne 0x14002f87b
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test di, ax
je 0x14002f824
mov rdx, rbx
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp method.mtb::xTCmdProcessor_class_CMDISkinFrameWnd_.virtual_552
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x1400320b9
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x14003210d
mov rdx, qword [rbx + 0x208]
test rdx, rdx
je 0x1400320f0
mov rcx, qword [rbx + 0x40]
mov r8, rdi
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
je 0x1400320f0
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rdx, qword [rbx + reloc.mfc120u.dll_Ordinal_528]
test rdx, rdx
je 0x14003210d
mov rcx, qword [rbx + 0x40]
mov r8, rdi
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400320e0
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.mfc120u.dll_Ordinal_11738]
Function at 0x14003e000
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x80
mov rdi, rcx
lea rdx, str..._aa_WinApp.cpp
lea rcx, str.CAthenaApp::close_popup_windows
mov r8d, Ordinal_1449
call qword [sym.imp.DiagLog.dll_dlogPushStackInfoEx]
mov rax, qword [rdi + 0x40]
xor ebp, ebp
mov qword [rsp + 0x30], rbp
test rax, rax
jne 0x14003e046
mov qword [rsp + 0x38], rbp
jmp 0x14003e04f
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
lea rcx, [0x14003df50]
mov qword [rsp + 0x90], rsi
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x14003e15e
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14003e15e
nop
mov edx, 0xfffffff0
mov rcx, rbx
mov rsi, rbx
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, rbx
bt eax, 0x13
jb 0x14003e0a4
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x14003e0b8
xor r9d, r9d
mov edx, 0x112
mov r8d, 0xf060
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14003e115
nop word [rax + rax]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x14003e0e0
mov rax, qword [rdi + 0x40]
mov qword [rsp + 0x40], rbp
test rax, rax
jne 0x14003e12a
mov qword [rsp + 0x48], rbp
jmp 0x14003e133
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [0x14003df50]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rbx, rbp
test eax, eax
cmove rbx, qword [rsp + 0x40]
cmp rbx, rsi
je 0x14003e186
test rbx, rbx
jne 0x14003e080
mov bl, 1
call qword [sym.imp.DiagLog.dll_dlogPopStackInfo]
mov rsi, qword [rsp + 0x90]
lea r11, [rsp + 0x80]
mov rbp, qword [r11 + 0x20]
movzx eax, bl
mov rbx, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
xor bl, bl
jmp 0x14003e160
Function at 0x140056ab0
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ecx, 0x10
call qword [sym.imp.mfc120u.dll_Ordinal_1484]
mov rbx, rax
test rax, rax
je 0x140056b10
lea rax, vtable.idle_hook_.0
mov qword [rbx + 8], 0
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [0x140056740]
mov r8, rdi
mov ecx, 0xb
mov r9d, eax
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [rbx + 8], rax
lea rax, vtable.frame_idle_hook_.0
mov qword [rbx], rax
jmp 0x140056b12
xor ebx, ebx
mov ecx, dword [0x1400a5148]
mov rdx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x140059260
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x470
mov rax, qword [0x1400a3010]
xor rax, rsp
mov qword [rsp + Ordinal_1126], rax
mov rsi, rcx
mov rdi, r8
mov rbx, rdx
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x434
call sub.MSVCR120.dll_memset
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov dword [rsp + 0x20], Ordinal_1086
xor bpl, bpl
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x140059375
nop dword [rax]
lea rcx, [rsp + 0x50]
mov rdx, rsi
call qword [sym.imp.MSVCR120.dll__wcsicmp]
test eax, eax
je 0x1400592e9
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1400592c0
jmp 0x140059378
lea rax, [rsp + 0x20]
mov ecx, 8
nop dword [rax]
nop word [rax + rax]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rbx, [rbx + 0x80]
lea rax, [rax + 0x80]
movups xmmword [rbx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rbx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rbx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rbx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rbx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rbx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rbx - 0x20], xmm0
movups xmmword [rbx - 0x10], xmm1
dec rcx
jne 0x140059300
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov rcx, qword [rax + 0x30]
mov bpl, 1
movups xmmword [rbx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbx + 0x10], xmm1
movups xmmword [rbx + 0x20], xmm0
mov qword [rbx + 0x30], rcx
jmp 0x140059378
xor bpl, bpl
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bpl
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140065260
mov rbx, qword [rsp + 0x4a8]
add rsp, 0x470
pop rdi
pop rsi
pop rbp
ret