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

Disassembly:
push 0xffffffffffffffff
push 0x5002c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
push str.F2730835_2229_445E_97C7_13F76l277lDA
push str.F2730835_2229_445E_97C7_l3F7612771DA
push str.F2730835_2229_445E_97C7_13F76l277lDA
push str.F2730835_2229_445E_97C7_l3F7612771DA
push str.F2730835_2229_445E_97C7_l3F761277lDA
lea eax, [esp + 0x24]
push str.Dim__s_1024_:Dim__s__s:Set__sNothing:Set__sNothing
push eax
mov dword [esp + 0x48], 0
call sub.MFC42.DLL_CString::Format
xor ecx, ecx
mov dword [esi + 0x13c], 0
mov eax, ecx
mov ebp, dword [esi + 0x16c]
and eax, 0xfff00000
mov dword [esp + 0x39], ecx
mov ecx, dword [esi + 0x18c]
mov dword [esp + 0x35], eax
mov eax, dword [esi + 0x174]
add esp, 0x1c
test eax, eax
mov byte [esp + 0x18], 0x1e
mov dword [esp + 0x1d], ecx
jne 0x46a07f
mov edx, dword [esi + 0x17c]
push 0x14
lea eax, [esi + 0x178]
push edx
push eax
call sub.MFC42.DLL_CPlex::Create
mov ecx, dword [esi + 0x17c]
lea edx, [ecx + ecx*4]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0x10]
jl 0x46a07f
inc ecx
mov edx, dword [esi + 0x174]
mov dword [eax], edx
mov dword [esi + 0x174], eax
sub eax, 0x14
dec ecx
jne 0x46a06b
mov edi, dword [esi + 0x174]
push 1
mov eax, dword [edi]
mov dword [esi + 0x174], eax
mov dword [edi + 4], ebp
mov dword [edi], 0
mov ecx, dword [esi + 0x170]
lea ebp, [edi + 8]
inc ecx
push ebp
mov dword [esi + 0x170], ecx
call fcn.0044e4d0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov al, byte [esp + 0x20]
mov dword [ebp], ecx
mov dword [ebp + 4], edx
mov byte [ebp + 8], al
mov eax, dword [esi + 0x16c]
test eax, eax
je 0x46a0d1
mov dword [eax], edi
jmp 0x46a0d7
mov dword [esi + 0x168], edi
lea ecx, [esp + 0x10]
mov dword [esi + 0x16c], edi
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0xc]
push 0
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
mov eax, dword [edx - 8]
inc eax
push eax
push 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esp + 0x20]
push eax
mov ecx, 0x5df710
call fcn.004928f0
push eax
lea ecx, [esi + 0x180]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CStringList::AddTail
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x470eb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x500c38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x470ef3
mov eax, dword [esi]
jmp 0x470ef5
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
push eax
push edi
call dword [ecx + 0x6c]
test eax, eax
jge 0x470f11
push 0x594a50
push edi
push eax
call fcn.0044636c
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x470f71
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x470f71
mov eax, dword [esi]
test eax, eax
je 0x470f58
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x470f68
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x471030
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x500c78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x471073
mov eax, dword [esi]
jmp 0x471075
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
push edi
call dword [ecx + 0x74]
test eax, eax
jge 0x471096
push 0x594a50
push edi
push eax
call fcn.0044636c
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x4710f6
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4710f6
mov eax, dword [esi]
test eax, eax
je 0x4710dd
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4710ed
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x471e80
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x500f54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [esp + 0x34]
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call sub.MFC42.DLL_CString::CString_4
lea eax, [edi + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 8]
mov byte [esp + 0x2c], 1
push ecx
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString_4
lea edx, [edi + 0xc]
lea ecx, [esi + 0xc]
push edx
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [edi + 0x10]
lea ebx, [esi + 0x18]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov ecx, ebx
mov byte [esp + 0x2c], 3
mov dword [esp + 0x34], ebx
call fcn.00445852
lea edx, [edi + 0x18]
mov ecx, ebx
push edx
mov byte [esp + 0x30], 4
mov dword [ebx], 0x538160
call sub.MFC42.DLL_CStringArray::Copy
lea ecx, [esp + 0x10]
call fcn.00445852
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x538160
call sub.MFC42.DLL_CStringArray::CStringArray
lea ebx, [esi + 0x2c]
mov byte [esp + 0x2c], 5
mov ecx, ebx
mov dword [esp + 0x34], ebx
call fcn.00445852
add edi, 0x2c
mov ecx, ebx
push edi
mov byte [esp + 0x30], 6
mov dword [ebx], 0x538160
call sub.MFC42.DLL_CStringArray::Copy
lea ecx, [esp + 0x10]
call fcn.00445852
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x538160
call sub.MFC42.DLL_CStringArray::CStringArray
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x477b80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x50122b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00477ca0
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x5b2c3c
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_char_const__const_const__]
mov al, byte [esi]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x24], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov edx, dword [ecx]
lea ecx, [esp + 0x24]
push edx
push ebx
push esi
mov byte [esp + 0x48], 1
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_const_std::runtime_error::vftable]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x477c2b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x477c22
cmp al, 0xff
je 0x477c22
dec al
mov byte [ecx], al
jmp 0x477c2b
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.004e8a10
mov eax, dword [esp + 0x28]
mov ecx, dword [sym.imp.MSVCP60.dll_const_std::runtime_error::vftable]
cmp eax, ebx
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x18], ecx
je 0x477c77
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x477c6e
cmp al, 0xff
je 0x477c6e
dec al
mov byte [ecx], al
jmp 0x477c77
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.MSVCRT.dll_public_virtual:_void___thiscall_exception::destructor_void_]
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x478b86
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x501318
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004f2f62
xor edi, edi
mov ecx, esi
mov dword [esp + 0x14], edi
mov dword [esi], 0x53e6a8
call sub.MFC42.DLL_CCmdTarget::EnableAutomation
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x34], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x478d50
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, dword [esp + 0x30]
test di, di
jne 0x478d63
mov edi, 1
mov esi, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov dword [esp + 8], 1
mov dword [esp + 0x18], eax
mov word [esp + 0xc], si
movsx ecx, si
mov dword [esp + 0x1c], eax
push eax
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov word [esp + 0xe], ax
movsx eax, word [esp + 0x2c]
sub eax, 0
je 0x478de8
dec eax
je 0x478dcd
dec eax
jne 0x478e2e
call fcn.00488040
mov edx, dword [eax]
movsx ecx, di
push ecx
push esi
push 6
mov ecx, eax
call dword [edx + 4]
pop edi
pop esi
add esp, 0x1c
ret 0xc
call fcn.004887b0
mov edx, dword [eax]
movsx ecx, di
push ecx
push esi
push 3
mov ecx, eax
call dword [edx + 4]
pop edi
pop esi
add esp, 0x1c
ret 0xc
movsx esi, di
test esi, esi
jbe 0x478e2e
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 8]
push 0x1c
push edx
push 1
mov dword [esp + 0x1c], 0
call fcn.00482b60
add esp, 0xc
push 0x32
call edi
lea eax, [esp + 8]
push 0x1c
push eax
push 1
mov dword [esp + 0x1c], 2
call fcn.00482b60
add esp, 0xc
dec esi
jne 0x478df5
pop edi
pop esi
add esp, 0x1c
ret 0xc

Function at 0x478e40
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, dword [esp + 0x30]
test di, di
jne 0x478e53
mov edi, 1
mov esi, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov dword [esp + 8], 1
mov dword [esp + 0x18], eax
mov word [esp + 0xc], si
movsx ecx, si
mov dword [esp + 0x1c], eax
push eax
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov word [esp + 0xe], ax
movsx eax, word [esp + 0x2c]
sub eax, 0
je 0x478ed8
dec eax
je 0x478ebd
dec eax
jne 0x478ef5
call fcn.00488040
mov edx, dword [eax]
movsx ecx, di
push ecx
push esi
push 7
mov ecx, eax
call dword [edx + 4]
pop edi
pop esi
add esp, 0x1c
ret 0xc
call fcn.004887b0
mov edx, dword [eax]
movsx ecx, di
push ecx
push esi
push 4
mov ecx, eax
call dword [edx + 4]
pop edi
pop esi
add esp, 0x1c
ret 0xc
movsx eax, di
test eax, eax
jbe 0x478ef5
mov esi, eax
lea edx, [esp + 8]
push 0x1c
push edx
push 1
call fcn.00482b60
add esp, 0xc
dec esi
jne 0x478ee1
pop edi
pop esi
add esp, 0x1c
ret 0xc
Function at 0x478f00
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, dword [esp + 0x30]
test di, di
jne 0x478f13
mov edi, 1
mov esi, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov dword [esp + 8], 1
mov dword [esp + 0x18], eax
mov word [esp + 0xc], si
movsx ecx, si
mov dword [esp + 0x1c], eax
push eax
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov word [esp + 0xe], ax
mov dword [esp + 0x10], 2
movsx eax, word [esp + 0x2c]
sub eax, 0
je 0x478fa0
dec eax
je 0x478f85
dec eax
jne 0x478fbd
call fcn.00488040
mov edx, dword [eax]
movsx ecx, di
push ecx
push esi
push 8
mov ecx, eax
call dword [edx + 4]
pop edi
pop esi
add esp, 0x1c
ret 0xc
call fcn.004887b0
mov edx, dword [eax]
movsx ecx, di
push ecx
push esi
push 5
mov ecx, eax
call dword [edx + 4]
pop edi
pop esi
add esp, 0x1c
ret 0xc
movsx eax, di
test eax, eax
jbe 0x478fbd
mov esi, eax
lea edx, [esp + 8]
push 0x1c
push edx
push 1
call fcn.00482b60
add esp, 0xc
dec esi
jne 0x478fa9
pop edi
pop esi
add esp, 0x1c
ret 0xc
Function at 0x479740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5013c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x24]
push ebx
push esi
push edi
mov edi, ecx
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString_3
mov bl, 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::TrimLeft_1
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::TrimRight
push 0x20
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Find_3
test eax, eax
jle 0x47981b
mov ecx, dword [esp + 0x30]
push 0x20
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Find_3
sub esi, eax
lea edx, [esp + 0x10]
dec esi
lea ecx, [esp + 0x30]
push esi
push edx
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
push 0x20
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Find_3
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
jmp 0x479829
push 0x5b2c3c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_2
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [edi + 0x24]
push ecx
add edx, 0x30
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x38], 5
call sub.MFC42.DLL_CString::CString_4
mov byte [esp + 0x34], bl
call fcn.00410470
add esp, 0xc
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4
Function at 0x479980
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501400
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
call sub.MFC42.DLL_CString::CString_3
xor ebx, ebx
push str.CStr_
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::operator
push 0x594940
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push edx
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esi + 0x20]
lea eax, [ebp - 0x30]
push eax
call fcn.0046fd90
mov ecx, dword [eax + 8]
push ecx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_3
jmp 0x479a1d
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea ecx, [ebp - 0x18]
push str.Thread:_d____s
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [ebp - 0x18]
add esp, 0x10
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esi + 0x24]
cmp dword [eax + 0x40], ebx
je 0x479a7b
push ebx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x24]
inc ecx
push eax
mov eax, dword [edx + 0x40]
push ecx
push 0x4c9
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47a500
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0x30dc]
mov edi, edx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x47a521
pop edi
mov eax, 1
pop esi
ret
test edi, edi
jne 0x47a632
push ebx
lea ebx, [esi + 0x320c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esi + 4]
shl edi, 0x1d
push ebx
sar edi, 0x1f
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
pop ebx
je 0x47a554
pop edi
mov eax, 1
pop esi
ret
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
mov cx, word [esi + 0x314c]
push ecx
call edi
test ah, 0x80
je 0x47a5c6
push 0x12
call edi
mov dl, byte [esi + 0x314e]
sar eax, 0xf
shr dl, 2
and eax, 1
and edx, 1
xor eax, edx
test ax, ax
jne 0x47a5c6
push 0x11
call edi
mov cl, byte [esi + 0x314e]
sar eax, 0xf
shr cl, 1
and eax, 1
and ecx, 1
xor eax, ecx
test ax, ax
jne 0x47a5c6
push 0x10
call edi
mov dl, byte [esi + 0x314e]
sar eax, 0xf
and eax, 1
and edx, 1
xor eax, edx
test ax, ax
jne 0x47a5c6
pop edi
mov eax, 1
pop esi
ret
xor eax, eax
mov ax, word [esi + 0x30d8]
push eax
call edi
test ah, 0x80
je 0x47a632
push 0x12
call edi
mov cl, byte [esi + 0x30da]
sar eax, 0xf
shr cl, 2
and eax, 1
and ecx, 1
xor eax, ecx
test ax, ax
jne 0x47a632
push 0x11
call edi
mov dl, byte [esi + 0x30da]
sar eax, 0xf
shr dl, 1
and eax, 1
and edx, 1
xor eax, edx
test ax, ax
jne 0x47a632
push 0x10
call edi
mov cl, byte [esi + 0x30da]
sar eax, 0xf
and eax, 1
and ecx, 1
xor eax, ecx
test ax, ax
jne 0x47a632
pop edi
mov eax, 1
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

Function at 0x47da30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x501c10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
lea eax, [esp + 0x1c]
lea ecx, [esp]
push eax
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp]
mov byte [esp + 0x14], 1
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x47dac7
push 0x59188c
lea edx, [esp + 0xc]
push 0x5da458
push edx
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x1c]
lea edx, [esp + 4]
push ecx
push eax
push edx
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp]
mov ecx, dword [esp + 0x20]
push eax
call fcn.0046f4e0
lea ecx, [esp]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x47ff69
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x501e0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.004f2f62
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x2c], ebx
mov dword [esi], 0x53ef50
call sub.MFC42.DLL_CCmdTarget::EnableAutomation
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x24], ecx
mov eax, dword [str.QMDispatch.QMLibrary.Inner]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0xffffffffffffffff
push eax
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x5e2bb4], ebx
jne 0x48004c
push 0x3088
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x2c], 1
je 0x47ffde
mov ecx, eax
call fcn.0046eb60
jmp 0x47ffe0
xor eax, eax
push SysReAllocString
mov ecx, eax
mov byte [esp + 0x30], bl
mov dword [0x5e2bb4], eax
call fcn.00470240
mov ecx, dword [0x5e2bb4]
push str.VBScript
call fcn.0046eed0
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_3
push str.F2730835_2229_445E_97C7_l3F76l2771DA
push str.F2730835_2229_445E_97C7_l3F76l2771DA
lea ecx, [esp + 0x10]
push str.Dim__s_:_Sub_Set__Variable___var_value_:__s__var_value:_End_Sub
push ecx
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x18]
mov ecx, dword [0x5e2bb4]
add esp, 0x10
push edx
call fcn.0046f710
lea ecx, [esp + 8]
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], ebx
push ecx
mov ecx, esi
mov word [esp + 0x18], 2
call fcn.00481ce0
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret