joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b7b4b
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x288]
sub esp, 0x308
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp + 0x284], eax
mov eax, dword [ebp + 0x294]
push ebx
mov ebx, dword [ebp + 0x290]
push esi
push edi
push 0x40
mov dword [ebp + 0x78], eax
xor esi, esi
lea eax, [ebp + 0x28]
push esi
push eax
call sub.MSVCR80.dll_memset
xor eax, eax
mov dword [ebp + 0x68], esi
lea edi, [ebp + 0x6c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
add esp, 0xc
inc eax
push eax
push 3
lea ecx, [ebp - 0x80]
mov dword [ebp + 0x24], 0x44
mov dword [ebp + 0x50], eax
mov word [ebp + 0x54], 0xa
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_int_]
cmp ebx, esi
je 0x4b7bbf
push 0x58b0ec
push ebx
jmp 0x4b7c07
push 0x206
lea eax, [ebp + 0x7e]
push esi
push eax
mov word [ebp + 0x7c], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp + 0x7c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.kxetray.exe
lea eax, [ebp + 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x58b0ec
lea eax, [ebp + 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004a58b3
pop ecx
pop ecx
push eax
call fcn.004a58b3
cmp dword [ebp + 0x78], esi
pop ecx
pop ecx
je 0x4b7c32
push dword [ebp + 0x78]
call dword [sym.imp.MSVCR80.dll_wcslen]
test eax, eax
pop ecx
jbe 0x4b7c32
push dword [ebp + 0x78]
jmp 0x4b7c37
push 0x5a021c
lea eax, [ebp - 0x78]
push eax
call fcn.004a58b3
pop ecx
pop ecx
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x24]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::str_void_]
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
lea ecx, [ebp + 8]
setne bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [ebp + 0x6c], esi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4b7c8e
push dword [ebp + 0x6c]
call edi
mov dword [ebp + 0x6c], esi
cmp dword [ebp + 0x68], esi
je 0x4b7c9b
push dword [ebp + 0x68]
call edi
mov dword [ebp + 0x68], esi
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::vbase_dtor_void_]
mov ecx, dword [ebp + 0x284]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0056f17c
add ebp, 0x288
leave
ret
Function at 0x4c459a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
lea ebx, [ecx + 0xc8]
push edi
mov ecx, ebx
call fcn.00477523
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 8]
push 0xfde9
push dword [eax]
lea ecx, [ebp - 0x114]
call fcn.00403319
push dword [ebp - 0x114]
lea ecx, [ebp + 8]
call fcn.0040460b
lea eax, [ebp - 0x110]
cmp dword [ebp - 0x114], eax
je 0x4c45fc
push dword [ebp - 0x114]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4c4614
lea ecx, [edi - 0x10]
call fcn.00401405
jmp 0x4c4652
and dword [ebp - 0xc], 0
push esi
lea eax, [ebp - 0xc]
push eax
mov esi, vtable.Gdiplus::Image.0
push edi
mov dword [ebp - 0x10], esi
call sub.gdiplus.dll_GdipLoadImageFromFile
and dword [ebp - 8], 0
test eax, eax
jne 0x4c463e
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.004c412d
push dword [ebp - 0xc]
mov dword [ebp - 0x10], esi
call sub.gdiplus.dll_GdipDisposeImage
lea ecx, [edi - 0x10]
call fcn.00401405
pop esi
pop edi
xor eax, eax
pop ebx
leave
ret 8
Function at 0x4c9134
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea edi, [esi + 0x30c]
cmp dword [edi], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
je 0x4c9165
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov edi, dword [ebp + 0x10]
push 1
push edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x4c91a9
push 1
push edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x110]
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x4c91a9
push 1
push edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x1f8]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x2f8]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x4c92d7
push eax
call fcn.004753f6
mov ebx, eax
test ebx, ebx
pop ecx
je 0x4c9256
mov eax, dword [ebx + 0x10]
push 2
push 0
push ebx
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.004c5732
movzx eax, word [ebp + 0xc]
movzx edi, di
shl edi, 0x10
or edi, eax
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x202
call fcn.00473c99
mov eax, dword [ebp - 4]
cmp dword [esi + 0x2f8], eax
jne 0x4c9233
mov ecx, dword [ebx + 0x40]
xor eax, eax
cmp ecx, eax
je 0x4c9225
cmp word [ecx], ax
je 0x4c9225
push 1
push eax
push eax
push ecx
push 0x58b168
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4c9256
cmp dword [ebx + 0x10], eax
je 0x4c9256
mov dword [ebp - 0xc], 1
jmp 0x4c9256
push 1
push 0
push ebx
mov ecx, esi
call fcn.004c5732
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x2a3
call fcn.00473c99
mov dword [ebp - 0x10], 1
xor eax, eax
cmp dword [ebp - 0xc], eax
mov dword [esi + 0x2f8], eax
je 0x4c9298
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx]
mov ecx, ebx
mov dword [ebp - 0x20], 1
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4c92d7
cmp dword [ebp - 0x10], eax
je 0x4c92d7
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x4c92d7
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x28]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
add esi, 0x2f4
cmp eax, dword [esi]
jne 0x4c92d7
and dword [esi], 0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4ca17b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push 1
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x4ca1c9
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x110]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x4ca1c9
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x1f8]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
cmp dword [esi + 0x2fc], 0
je 0x4ca243
push ebx
lea ebx, [esi + 0x30c]
cmp dword [ebx], 0
je 0x4ca1e7
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx], 0
cmp dword [esi + 0x2fc], edi
pop ebx
jne 0x4ca23c
push edi
call fcn.004753f6
mov edi, eax
movzx eax, word [ebp + 0x10]
pop ecx
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x205
call fcn.00473c99
mov eax, dword [esi + 4]
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xd
mov dword [ebp - 0x14], eax
mov ecx, dword [edi + 0x10]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x2fc], 0
pop edi
pop esi
leave
ret 0xc
Function at 0x4cabff
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea edi, [esi + 0x30c]
cmp dword [edi], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
je 0x4cac30
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov edi, dword [ebp + 0x10]
push 1
push edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x4cac74
push 1
push edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x110]
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x4cac74
push 1
push edi
push dword [ebp + 0xc]
lea ecx, [esi + 0x1f8]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x2f8]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x4cada2
push eax
call fcn.004753f6
mov ebx, eax
test ebx, ebx
pop ecx
je 0x4cad21
mov eax, dword [ebx + 0x10]
push 2
push 0
push ebx
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.004ca628
movzx eax, word [ebp + 0xc]
movzx edi, di
shl edi, 0x10
or edi, eax
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x202
call fcn.00473c99
mov eax, dword [ebp - 4]
cmp dword [esi + 0x2f8], eax
jne 0x4cacfe
mov ecx, dword [ebx + 0x40]
xor eax, eax
cmp ecx, eax
je 0x4cacf0
cmp word [ecx], ax
je 0x4cacf0
push 1
push eax
push eax
push ecx
push 0x58b168
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4cad21
cmp dword [ebx + 0x10], eax
je 0x4cad21
mov dword [ebp - 0xc], 1
jmp 0x4cad21
push 1
push 0
push ebx
mov ecx, esi
call fcn.004ca628
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x2a3
call fcn.00473c99
mov dword [ebp - 0x10], 1
xor eax, eax
cmp dword [ebp - 0xc], eax
mov dword [esi + 0x2f8], eax
je 0x4cad63
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx]
mov ecx, ebx
mov dword [ebp - 0x20], 1
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4cada2
cmp dword [ebp - 0x10], eax
je 0x4cada2
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x4cada2
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x28]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
add esi, 0x2f4
cmp eax, dword [esi]
jne 0x4cada2
and dword [esi], 0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4cb6b8
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x40c]
sub esp, 0x48c
mov eax, dword [0x5e5710]
xor eax, ebp
mov dword [ebp + 0x408], eax
push ebx
mov ebx, dword [ebp + 0x418]
push esi
push edi
mov edi, dword [ebp + 0x414]
push str.kssytool.exe
xor esi, esi
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.00411735
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00407c58
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00401405
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea ecx, [ebp - 0x10]
jne 0x4cb763
push str.kssytool_not_exist
call fcn.0040460b
lea eax, [ebp - 0x10]
push eax
call fcn.004cb678
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401405
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401405
xor eax, eax
mov ecx, dword [ebp + 0x408]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056f17c
add ebp, 0x40c
leave
ret 8
push 0x5e7310
call fcn.00401c3d
push edi
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push str.__s___s
push eax
call fcn.004020ff
push 0x40
lea eax, [ebp - 0x7c]
push esi
push eax
mov dword [ebp - 0x80], 0x44
call sub.MSVCR80.dll_memset
xor eax, eax
mov dword [ebp - 0x3c], esi
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x1c
cmp ebx, esi
stosd dword es:[edi], eax
lea edi, [ebp - 0x3c]
je 0x4cb7a9
mov edi, ebx
push 0x410
lea eax, [ebp - 0xa]
push esi
push eax
mov word [ebp - 0xc], si
call sub.MSVCR80.dll_memset
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push 0x208
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
add esp, 0x18
push edi
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4cb838
lea ecx, [ebp - 0x2c]
call fcn.004b9bd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x5a2fa4
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], eax
call fcn.004020d9
lea eax, [ebp - 0x2c]
push eax
call fcn.004c7998
pop ecx
lea ecx, [ebp - 0x2c]
call fcn.004b9c0f
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401405
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401405
mov eax, esi
jmp 0x4cb749
cmp ebx, esi
jne 0x4cb84b
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 4]
call esi
xor esi, esi
inc esi
jmp 0x4cb81b
Function at 0x4d0401
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [edi + 0xc8]
mov dword [ebp - 0x14], ecx
call fcn.00477523
mov esi, dword [ebp + 8]
push esi
lea ecx, [edi + 0xe8]
call fcn.0040e61b
push 0xfde9
push dword [esi]
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x11c], eax
call fcn.00403319
push dword [ebp - 0x11c]
lea ecx, [ebp + 8]
call fcn.0040460b
lea eax, [ebp - 0x118]
cmp dword [ebp - 0x11c], eax
je 0x4d0473
push dword [ebp - 0x11c]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d04dc
test byte [0x5e6578], 1
mov esi, 0x5e6574
jne 0x4d04a9
or dword [0x5e6578], 1
push esi
mov ecx, edi
call fcn.004c4e44
push 0x584bf7
call fcn.0056f12d
pop ecx
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00407c1f
add esp, 0xc
push eax
lea ecx, [ebp + 8]
call fcn.00403cc2
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401405
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d054a
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
mov esi, vtable.Gdiplus::Image.0
push ebx
mov dword [ebp - 0x10], esi
call sub.gdiplus.dll_GdipLoadImageFromFile
and dword [ebp - 8], 0
test eax, eax
jne 0x4d053f
lea ecx, [ebp - 0x10]
call fcn.00477e7d
mov ecx, edi
mov dword [edi + 0xe4], eax
call fcn.004874c0
test eax, eax
je 0x4d0521
call fcn.004106c3
mov ecx, eax
call fcn.004102b9
jmp 0x4d0523
fld1
push dword [edi + 0xe0]
fstp dword [ebp + 8]
fld dword [ebp + 8]
lea eax, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x14]
fstp dword [esp]
push eax
call fcn.004c4b5b
push dword [ebp - 0xc]
mov dword [ebp - 0x10], esi
call sub.gdiplus.dll_GdipDisposeImage
lea ecx, [ebx - 0x10]
call fcn.00401405
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8

Function at 0x4d0588
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
lea ecx, [esi + 0x1aa0]
call fcn.00472cae
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 8]
mov ecx, esi
call fcn.004b2153
mov ecx, esi
call fcn.004b1ada
mov ecx, esi
call fcn.004bd60c
test eax, eax
jne 0x4d05c7
mov ecx, esi
call fcn.004c12f9
cmp dword [esi + 0x1758], 0
je 0x4d05e1
mov al, byte [esi + 0x1a5c]
test al, al
je 0x4d05e1
mov byte [esi + 0x1a5f], 1
mov ecx, esi
call fcn.004cdfd0
pop esi
ret 4
Function at 0x4d6a27
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push 1
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x4d6a75
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x110]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jne 0x4d6a75
push 1
push dword [ebp + 0x10]
lea ecx, [esi + 0x1f8]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
cmp dword [esi + 0x2fc], 0
je 0x4d6aef
push ebx
lea ebx, [esi + 0x30c]
cmp dword [ebx], 0
je 0x4d6a93
call dword [sym.imp.USER32.dll_ReleaseCapture]
and dword [ebx], 0
cmp dword [esi + 0x2fc], edi
pop ebx
jne 0x4d6ae8
push edi
call fcn.004753f6
mov edi, eax
movzx eax, word [ebp + 0x10]
pop ecx
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
mov ecx, edi
push 0x205
call fcn.00473c99
mov eax, dword [esi + 4]
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xd
mov dword [ebp - 0x14], eax
mov ecx, dword [edi + 0x10]
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x14]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esi + 0x2fc], 0
pop edi
pop esi
leave
ret 0xc
Function at 0x4db284
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
xor edi, edi
cmp ebx, edi
mov esi, ecx
mov dword [esp + 0xc], edi
jne 0x4db2b9
mov eax, dword [0x5e58bc]
cmp eax, edi
je 0x4db2a7
mov ebx, dword [eax + 4]
jmp 0x4db2a9
xor ebx, ebx
cmp ebx, edi
jne 0x4db2b9
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebx, eax
cmp ebx, edi
je 0x4db2de
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x4db2de
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4db2de
push edi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0xc], 1
push dword [esp + 0x1c]
mov ecx, esi
push edi
push ebx
mov dword [esi + 0x370], edi
call fcn.004d9a2b
cmp eax, edi
mov dword [esp + 0x18], eax
jne 0x4db309
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x4db415
push eax
call fcn.004a337e
cmp dword [esp + 0x20], edi
pop ecx
mov dword [esp + 0x10], eax
jne 0x4db322
push ebx
mov ecx, esi
call fcn.004b2979
cmp dword [esi + 0x360], edi
je 0x4db3b7
push ebp
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
push edi
push edi
push 0x2001
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push edi
push edi
push edi
push edi
push edi
push dword [esp + 0x34]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp ebp, dword [esp + 0x20]
je 0x4db37b
push 1
push ebp
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x20]
je 0x4db397
push edi
push ebp
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
pop ebp
je 0x4db3b7
push edi
push edi
push 0xf
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
push 0x97
push edi
push edi
push edi
push edi
push edi
push dword [esi + 4]
mov dword [esi + 0x370], edi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0xc], edi
je 0x4db3fc
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebx, edi
je 0x4db3fc
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 4]
jne 0x4db3fc
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
push dword [esp + 0x10]
call fcn.004a337e
pop ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x374]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
ret 8
Function at 0x4db41d
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
xor edi, edi
cmp ebx, edi
mov esi, ecx
mov dword [esp + 0xc], edi
jne 0x4db452
mov eax, dword [0x5e58bc]
cmp eax, edi
je 0x4db440
mov ebx, dword [eax + 4]
jmp 0x4db442
xor ebx, ebx
cmp ebx, edi
jne 0x4db452
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ebx, eax
cmp ebx, edi
je 0x4db477
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x4db477
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4db477
push edi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0xc], 1
push dword [esp + 0x1c]
mov ecx, esi
push edi
push ebx
mov dword [esi + 0x370], edi
call fcn.004d9bc0
cmp eax, edi
mov dword [esp + 0x18], eax
jne 0x4db4a2
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x4db5ae
push eax
call fcn.004a337e
cmp dword [esp + 0x20], edi
pop ecx
mov dword [esp + 0x10], eax
jne 0x4db4bb
push ebx
mov ecx, esi
call fcn.004b2a98
cmp dword [esi + 0x360], edi
je 0x4db550
push ebp
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
push edi
push edi
push 0x2001
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push edi
push edi
push edi
push edi
push edi
push dword [esp + 0x34]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp ebp, dword [esp + 0x20]
je 0x4db514
push 1
push ebp
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebp, dword [esp + 0x20]
je 0x4db530
push edi
push ebp
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
pop ebp
je 0x4db550
push edi
push edi
push 0xf
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
push 0x97
push edi
push edi
push edi
push edi
push edi
push dword [esi + 4]
mov dword [esi + 0x370], edi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0xc], edi
je 0x4db595
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
cmp ebx, edi
je 0x4db595
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 4]
jne 0x4db595
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
push dword [esp + 0x10]
call fcn.004a337e
pop ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x374]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
ret 8