joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003c6f0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rbp, rdx
mov rbx, rcx
lea rdx, [rsp + 0x40]
xor edi, edi
mov rcx, rbp
mov dword [rsp + 0x40], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test eax, eax
je 0x14003c7c7
mov rcx, rsi
call qword [sym.imp.MSVCR90.dll_malloc]
mov qword [rbx + 0x40], rax
test rax, rax
je 0x14003c7c7
mov r9, rax
mov r8d, esi
xor edx, edx
mov rcx, rbp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14003c7c7
mov rcx, qword [rbx + 0x40]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x58]
lea rdx, [0x1403ff83c]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x58], rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14003c7c7
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov qword [rbx + 8], rax
mov rax, qword [rcx + 8]
mov qword [rbx + 0x10], rax
mov rax, qword [rcx + 0x10]
mov qword [rbx + 0x18], rax
mov rax, qword [rcx + 0x18]
mov qword [rbx + 0x20], rax
mov rax, qword [rcx + 0x20]
mov qword [rbx + 0x28], rax
mov rax, qword [rcx + 0x28]
mov qword [rbx + 0x30], rax
mov eax, dword [rcx + 0x30]
mov dword [rbx + 0x38], eax
cmp dword [rbx + 8], 0xfeef04bd
sete dil
mov dword [rbx + 0x58], edi
mov eax, edi
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rbx + 0x58]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret

Function at 0x14003e410
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rcx
call sub.mfc90u.dll_AfxFailMaxChars
mov ecx, dword [rsi + 0x60]
mov rdx, qword [rax + 8]
mov r8d, 1
mov edx, dword [rdx + 0x60]
call qword [sym.imp.USER32.dll_AttachThreadInput]
lea rdi, [rsi + 0x88]
xor r8d, r8d
mov rax, qword [rdi]
mov edx, SerializeElements<class ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > > >
mov rcx, rdi
call qword [rax + reloc.mfc90u.dll_CDocObjectServerItem::CDocObjectServerItem]
mov edx, 5
mov rcx, rdi
mov ebx, eax
mov qword [rsi + 0x40], rdi
call sub.mfc90u.dll_CDHtmlDialog::SetControlProperty_1
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140044d20
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov eax, 0x811c9dc5
mov qword [rsp], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x20], rax
je 0x140044d71
mov rdx, qword [rsp]
imul rdx, rdx, 0x1000193
mov rax, qword [rsp + 0x20]
movsx rcx, byte [rax]
mov rax, rdx
xor rax, rcx
mov qword [rsp], rax
mov rax, qword [rsp + 0x20]
add rax, 1
mov qword [rsp + 0x20], rax
jmp 0x140044d37
mov rax, qword [rsp]
add rsp, 0x18
ret
Function at 0x14008e2b0
Capabilities:
Read file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov dword [rsp + 0x68], 0
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax + 0xd]
test eax, eax
jne 0x14008e2ea
jmp 0x14008e353
lea rdi, [rsp + 0x24]
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov r9d, 0x89
lea r8, [0x140413870]
mov edx, 3
lea rcx, [rsp + 0x28]
call fcn.140048710
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x68]
or eax, 1
mov dword [rsp + 0x68], eax
lea rdx, [0x1404138a8]
mov rcx, qword [rsp + 0x80]
call fcn.140048370
mov rdx, rax
lea rcx, [rsp + 0x24]
call fcn.140048850
nop
mov eax, dword [rsp + 0x68]
and eax, 1
test eax, eax
je 0x14008e36d
and dword [rsp + 0x68], 0xfffffffe
lea rcx, [rsp + 0x28]
call fcn.140048770
mov r8d, dword [rsp + 0xb0]
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rax + 8]
call qword [sym.imp.MSVCR90.dll__read]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x14008e3a4
call qword [sym.imp.MSVCR90.dll__errno]
cmp dword [rax], 4
je 0x14008e36d
cmp dword [rsp + 0x20], 0
jge 0x14008e3be
call qword [sym.imp.MSVCR90.dll__errno]
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rax]
mov dword [rcx + 0x10], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x90
pop rdi
ret
Function at 0x1400dd540
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov rax, qword [0x1404e41f8]
xor rax, rsp
mov qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu], rax
mov rax, qword [rsp + 0x170]
mov dword [rax + reloc.mfc90u.dll_CHtmlEditCtrl::CHtmlEditCtrl], 1
mov rax, qword [rsp + 0x170]
mov dword [rax + 0x380], 0
mov ecx, gethostbyname
call fcn.140130910
mov r11d, eax
mov rax, qword [rsp + 0x170]
mov dword [rax + 0x198], r11d
mov ecx, gethostbyname
call fcn.140130910
mov r11d, eax
mov rax, qword [rsp + 0x170]
mov dword [rax + 0x19c], r11d
mov rcx, qword [rsp + 0x170]
add rcx, reloc.mfc90u.dll_CDocObjectServerItem::CDocObjectServerItem
call qword [sym.imp.USER32.dll_SetRectEmpty]
mov r9, qword [rsp + 0x170]
add r9, reloc.mfc90u.dll_CDocObjectServerItem::CDocObjectServerItem
lea r8, [0x1400dd750]
xor edx, edx
xor ecx, ecx
call fcn.140130bb0
test eax, eax
jne 0x1400dd611
mov r8, qword [rsp + 0x170]
add r8, reloc.mfc90u.dll_CDocObjectServerItem::CDocObjectServerItem
xor r9d, r9d
xor edx, edx
mov ecx, gethostbyname
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov rax, qword [rsp + 0x170]
mov dword [rax + reloc.mfc90u.dll_CFileDialog::CFileDialog], 0
mov rax, qword [rsp + 0x170]
mov dword [rax + 0x29c], 0
mov dword [rsp + 0x30], ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov rax, qword [rsp + 0x170]
cmp dword [rax + reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____], 0
jne 0x1400dd6c0
mov rax, qword [rsp + 0x170]
cmp dword [rax + 0x244], 0
jne 0x1400dd6c0
cmp dword [rsp + 0x34], 5
jb 0x1400dd6c0
mov r8, qword [rsp + 0x170]
add r8, reloc.mfc90u.dll_CFileDialog::CFileDialog
xor r9d, r9d
xor edx, edx
mov ecx, 0x1002
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov rax, qword [rsp + 0x170]
cmp dword [rax + reloc.mfc90u.dll_CFileDialog::CFileDialog], 0
je 0x1400dd6c0
mov r8, qword [rsp + 0x170]
add r8, 0x29c
xor r9d, r9d
xor edx, edx
mov ecx, 0x1012
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov rax, qword [rsp + 0x170]
cmp dword [rax + 0x244], 0
jne 0x1400dd6f2
mov r8, qword [rsp + 0x170]
add r8, reloc.mfc90u.dll_CInternetException::CInternetException
xor r9d, r9d
xor edx, edx
mov ecx, CHtmlView::GetVisible
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
jmp 0x1400dd704
mov rax, qword [rsp + 0x170]
mov dword [rax + reloc.mfc90u.dll_CInternetException::CInternetException], 1
mov rcx, qword [rsp + 0x170]
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + reloc.mfc90u.dll_CInternetException::CInternetException]
mov dword [rcx + 0x2ac], eax
mov rax, qword [rsp + 0x170]
mov dword [rax + reloc.mfc90u.dll_CHtmlEditCtrl::CHtmlEditCtrl], 0
mov rcx, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
xor rcx, rsp
call fcn.1403addc0
add rsp, 0x168
ret
Function at 0x1400dee80
Capabilities:
Check os version

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x168
mov rax, qword [0x1404e41f8]
xor rax, rsp
mov qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu], rax
mov dword [rsp + 0x30], ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x40], 2
jne 0x1400deec3
cmp dword [rsp + 0x34], 5
jae 0x1400deec5
jmp 0x1400def39
cmp dword [rsp + reloc.mfc90u.dll_CDialog::CDialog], 0
je 0x1400def24
mov rax, qword [rsp + 0x170]
cmp qword [rax + reloc.mfc90u.dll_CPaintDC::CPaintDC], 0
jne 0x1400deef6
mov rax, qword [rsp + 0x170]
mov qword [rax + 0x308], 0
jmp 0x1400def39
lea rdx, str.NotifyWinEvent
mov rcx, qword [rsp + 0x170]
mov rcx, qword [rcx + reloc.mfc90u.dll_CPaintDC::CPaintDC]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0x170]
mov qword [rax + 0x308], r11
mov rcx, qword [rsp + 0x170]
mov eax, dword [rsp + reloc.mfc90u.dll_CDialog::CDialog]
mov dword [rcx + 0x2a4], eax
mov rcx, qword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
xor rcx, rsp
call fcn.1403addc0
add rsp, 0x168
ret
Function at 0x140185e40
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.14017b270
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140185eaf
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0xa0], 0
je 0x140185eaf
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140185e99
mov qword [rsp + 0x58], 0
jmp 0x140185ea7
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140185eb6
xor eax, eax
jmp 0x140185fc8
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
mov dword [rsp + 0x30], eax
mov ecx, reloc.WS2_32.dll_recv
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x30], 0
je 0x140185f2a
cmp dword [rsp + 0x78], 0x43
je 0x140185ef5
cmp dword [rsp + 0x78], 0x2d
jne 0x140185f2a
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0x40], rax
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.mfc90u.dll_CSemaphore::CSemaphore
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x140185fc8
cmp dword [rsp + 0x30], 0
je 0x140185f38
cmp dword [rsp + 0x78], 0x56
je 0x140185f46
cmp dword [rsp + 0x20], 0
je 0x140185f78
cmp dword [rsp + 0x78], 0x2d
jne 0x140185f78
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0x48], rax
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.mfc90u.dll_CSharedFile::CSharedFile
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x140185fc8
cmp dword [rsp + 0x30], 0
je 0x140185f86
cmp dword [rsp + 0x78], 0x58
je 0x140185f94
cmp dword [rsp + 0x20], 0
je 0x140185fc6
cmp dword [rsp + 0x78], 0x2e
jne 0x140185fc6
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0x50], rax
xor r9d, r9d
xor r8d, r8d
mov edx, reloc.mfc90u.dll_CScrollView::CScrollView
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
jmp 0x140185fc8
xor eax, eax
add rsp, 0x68
ret
Function at 0x14018ede0
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x58
mov ecx, reloc.WS2_32.dll_socket
call fcn.140130910
test eax, eax
je 0x14018ee11
mov dword [rsp + 0x38], 2
jmp 0x14018ee19
mov dword [rsp + 0x38], 1
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
jne 0x14018ee3c
xor eax, eax
jmp 0x14018ef6b
cmp dword [rsp + 0x88], 0
jne 0x14018ee6c
cmp dword [rsp + 0x90], 0
jne 0x14018ee6c
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0xac]
and eax, 4
test eax, eax
je 0x14018ee6c
mov dword [rsp + 0x3c], 1
jmp 0x14018ee74
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0xac]
and eax, 1
test eax, eax
jne 0x14018ee9c
cmp dword [rsp + 0x24], 0
jne 0x14018ee9c
xor eax, eax
jmp 0x14018ef6b
mov rcx, qword [rsp + 0x70]
mov eax, dword [rsp + 0x78]
mov dword [rcx + CPrintDialog::GetDefaults], eax
mov rcx, qword [rsp + 0x70]
mov eax, dword [rsp + 0x88]
mov dword [rcx + CPictureHolder::GetDisplayString], eax
mov rcx, qword [rsp + 0x70]
mov eax, dword [rsp + 0x90]
mov dword [rcx + reloc.mfc90u.dll_COleControlSite::GetDlgCtrlID], eax
xor eax, eax
test rax, rax
jne 0x14018eee1
mov qword [rsp + 0x40], 0
jmp 0x14018eeef
xor eax, eax
add rax, 8
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov r9d, reloc.mfc90u.dll_SerializeElements_class_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_______
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_RedrawWindow]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
call sub.mfc90u.dll_CDragListBox::CancelDrag
lea rdi, [rsp + 0x28]
mov rsi, qword [rsp + 0x80]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rdi, qword [rsp + 0x70]
lea rsi, [rsp + 0x28]
add rdi, 0xb38
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SetCapture]
mov rcx, rax
call sub.mfc90u.dll_CDaoDatabase::Execute
mov eax, 1
add rsp, 0x58
pop rdi
pop rsi
ret

Function at 0x140191a50
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov ecx, reloc.WS2_32.dll_socket
call fcn.140130910
test eax, eax
je 0x140191a71
mov dword [rsp + 0x24], 2
jmp 0x140191a79
mov dword [rsp + 0x24], 1
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
jne 0x140191a99
xor eax, eax
jmp 0x140191ac4
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SetCapture]
mov rcx, rax
call sub.mfc90u.dll_CDaoDatabase::Execute
mov rax, qword [rsp + 0x40]
mov dword [rax + COleIPFrameWnd::DestroySharedMenu], 1
mov eax, 1
add rsp, 0x38
ret
Function at 0x1401937f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0xb0]
add rcx, 0x518
call fcn.14036b740
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0xb0]
add rcx, 0x518
call fcn.14016d3a0
cmp dword [rsp + 0x24], eax
je 0x140193a4c
mov rcx, qword [rsp + 0xb0]
add rcx, 0x518
lea rdx, [rsp + 0x24]
call fcn.14016d3f0
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0xffffffff
jne 0x140193872
jmp 0x140193a4c
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax]
cmp dword [rsp + 0x2c], eax
je 0x1401938a0
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x2c], eax
je 0x1401938a0
mov dword [rsp + 0x90], 0
jmp 0x1401938ab
mov dword [rsp + 0x90], 1
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x1401938c8
cmp dword [rsp + 0x20], 0
je 0x140193a18
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0xb8]
call fcn.14000a6e0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x140193a18
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x40], 0xffffffff
mov dword [rsp + 0x44], 0xffffffff
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [rax + 0x130]
test eax, eax
je 0x140193a18
mov dword [rsp + 0x48], 0
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1401939ff
cmp dword [rsp + 0x48], 0
jne 0x1401939ff
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x88]
add rax, 0x10
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
mov eax, dword [rsp + 0x3c]
cmp dword [rcx + 4], eax
jne 0x1401939dd
mov rcx, qword [rsp + 0x58]
mov eax, dword [rsp + 0x44]
cmp dword [rcx + 0xc], eax
jne 0x1401939dd
mov rcx, qword [rsp + 0x58]
mov eax, dword [rsp + 0x38]
cmp dword [rcx], eax
jne 0x1401939dd
mov rcx, qword [rsp + 0x58]
mov eax, dword [rsp + 0x40]
cmp dword [rcx + 8], eax
jne 0x1401939dd
mov dword [rsp + 0x94], 1
jmp 0x1401939e8
mov dword [rsp + 0x94], 0
cmp dword [rsp + 0x94], 0
je 0x1401939fa
mov dword [rsp + 0x48], 1
jmp 0x140193953
cmp dword [rsp + 0x48], 0
jne 0x140193a18
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0xc8]
call fcn.140199f70
cmp dword [rsp + 0x28], 0
je 0x140193a47
cmp dword [rsp + 0x20], 0
jne 0x140193a3d
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 8]
cmp dword [rcx], eax
jne 0x140193a3f
jmp 0x140193a4c
mov dword [rsp + 0x20], 1
jmp 0x14019382b
add rsp, 0xa8
ret
Function at 0x1401c3620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
cmp dword [rsp + 0x88], 0
je 0x1401c364f
mov dword [rsp + 0x30], 1
jmp 0x1401c3790
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0xc], 0
jne 0x1401c3669
mov rax, qword [rsp + 0x70]
cmp dword [rax + 8], 0
je 0x1401c36fa
mov rax, qword [rsp + 0x70]
cmp dword [rax + 8], 0
je 0x1401c3685
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x218]
mov dword [rsp + 0x40], eax
jmp 0x1401c3694
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + reloc.mfc90u.dll_COleStreamFile::COleStreamFile]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
and rax, 0xff
movzx eax, al
cmp eax, 0xc0
jg 0x1401c36ed
movzx eax, word [rsp + 0x34]
sar eax, 8
cdqe
and rax, 0xff
movzx eax, al
cmp eax, 0xc0
jg 0x1401c36ed
mov eax, dword [rsp + 0x34]
shr eax, 0x10
mov eax, eax
and rax, 0xff
movzx eax, al
cmp eax, 0xc0
jg 0x1401c36ed
mov dword [rsp + 0x30], 3
jmp 0x1401c36f5
mov dword [rsp + 0x30], 0
jmp 0x1401c3790
mov rax, qword [rsp + 0x70]
cmp dword [rax + 0x1c], 0xffffffff
jne 0x1401c372b
cmp dword [rsp + 0x80], 0
je 0x1401c3719
mov dword [rsp + 0x44], 3
jmp 0x1401c3721
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x30], eax
jmp 0x1401c3790
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x1c]
and rax, 0xff
movzx eax, al
cmp eax, 0xc0
jle 0x1401c3788
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 0x1c]
sar eax, 8
cdqe
and rax, 0xff
movzx eax, al
cmp eax, 0xc0
jle 0x1401c3788
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x1c]
shr eax, 0x10
mov eax, eax
and rax, 0xff
movzx eax, al
cmp eax, 0xc0
jle 0x1401c3788
mov dword [rsp + 0x30], 3
jmp 0x1401c3790
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x3c], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x30]
lea r8, [rsp + 0x90]
mov edx, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x68]
call fcn.140211ef0
add rsp, 0x58
ret
Function at 0x1401ccd20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
cmp qword [rsp + 0x60], 0
jne 0x1401ccd5a
lea rcx, [0x1404e7a98]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call sub.mfc90u.dll_AfxCriticalNewHandler
mov qword [rsp + 0x60], rax
lea rcx, [0x1404e7a98]
call qword [sym.imp.mfc90u.dll_CDumpContext::operator___1]
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1401ccd8b
xor eax, eax
jmp 0x1401cce08
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1401ccdac
xor eax, eax
jmp 0x1401cce08
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1401ccdd3
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x1401cce08
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov r8d, eax
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
call fcn.1401ce570
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [rsp + 0x20]
add rsp, 0x48
ret
Function at 0x1401fbdb0
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
push rbx
sub rsp, 0x170
mov rax, qword [0x1404e41f8]
xor rax, rsp
mov qword [rsp + 0x160], rax
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetKeyboardState]
mov r8d, 4
xor edx, edx
lea rcx, [rsp + reloc.mfc90u.dll_CColorDialog::CColorDialog]
call sub.MSVCR90.dll_memset
call sub.mfc90u.dll_AfxFormatString1
mov ecx, dword [rax + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov rbx, rax
xor edx, edx
mov ecx, dword [rsp + 0x180]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
lea r9, [rsp + reloc.mfc90u.dll_CColorDialog::CColorDialog]
lea r8, [rsp + 0x50]
mov edx, eax
mov ecx, dword [rsp + 0x180]
call qword [sym.imp.USER32.dll_ToUnicodeEx]
mov dword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu], eax
cmp dword [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu], 0
jle 0x1401fbe5d
mov dword [rsp + 0x158], 1
jmp 0x1401fbe68
mov dword [rsp + 0x158], 0
mov eax, dword [rsp + 0x158]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1403addc0
add rsp, 0x170
pop rbx
ret

Function at 0x1401fbe90
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov dword [rsp + 8], ecx
push rbx
sub rsp, 0x160
mov rax, qword [0x1404e41f8]
xor rax, rsp
mov qword [rsp + 0x158], rax
cmp dword [rsp + 0x170], 0x60
jb 0x1401fbed7
cmp dword [rsp + 0x170], 0x69
ja 0x1401fbed7
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1401fbf37
cmp dword [0x1404e6698], 0
jne 0x1401fbf37
cmp dword [rsp + 0x170], 0x41
jb 0x1401fbef4
cmp dword [rsp + 0x170], 0x5a
jbe 0x1401fbf2b
mov ecx, setsockopt
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x1401fbf17
mov eax, dword [rsp + 0x170]
jmp 0x1401fbfbe
mov ecx, dword [rsp + 0x170]
call qword [sym.imp.MSVCR90.dll_toupper]
jmp 0x1401fbfbe
mov eax, dword [rsp + 0x170]
jmp 0x1401fbfbe
mov r8d, 4
xor edx, edx
lea rcx, [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
call sub.MSVCR90.dll_memset
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetKeyboardState]
call sub.mfc90u.dll_AfxFormatString1
mov ecx, dword [rax + 0x60]
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov rbx, rax
xor edx, edx
mov ecx, dword [rsp + 0x170]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 2
lea r9, [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
lea r8, [rsp + 0x50]
mov edx, eax
mov ecx, dword [rsp + 0x170]
call qword [sym.imp.USER32.dll_ToUnicodeEx]
lea rcx, [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
call qword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [rsp + reloc.mfc90u.dll_CChevronOwnerDrawMenu::CChevronOwnerDrawMenu]
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.1403addc0
add rsp, 0x160
pop rbx
ret