joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bfdf0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5b1278
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov eax, dword [esi + 0xc]
lea edi, [esi + 4]
push edi
push 0x20019
push ebx
push eax
mov eax, dword [esi]
mov dword [esp + 0x28], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4bfed6
mov eax, dword [esi + 8]
lea ecx, [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ecx
lea edx, [esp + 0x18]
push ebx
push edx
push ebx
push eax
mov eax, dword [edi]
push eax
mov dword [esp + 0x28], ebx
call ebp
mov ecx, dword [esp + 0x10]
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
lea edx, [esp + 0x10]
mov ebx, eax
mov eax, dword [esi + 8]
push edx
mov edx, dword [edi]
lea ecx, [esp + 0x18]
push ebx
push ecx
push 0
push eax
push edx
call ebp
test eax, eax
push ebx
jne 0x4bfec5
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
lea ebp, [esi + 0x10]
push eax
mov ecx, ebp
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
push ebx
call sub.MFC42.DLL_operatordelete
mov eax, dword [edi]
add esp, 4
mov dword [esi + 0x18], 1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
jmp 0x4bfeda
call sub.MFC42.DLL_operatordelete
mov ecx, dword [edi]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0x14
push esi
mov esi, dword [esp + 0x30]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4

Function at 0x4bff00
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
mov eax, dword [esi + 0xc]
mov edx, dword [esi]
lea edi, [esi + 4]
push ecx
push edi
push 0
push 0x20006
push 0
push 0x658680
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4bff5d
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 8]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
mov eax, dword [edi]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4bff54
mov dword [esi + 0x18], 1
mov ecx, dword [edi]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ecx
ret
Function at 0x4c0290
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc]
lea ebx, [esi + 4]
push ebx
push 0x20019
push 0
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c037d
lea ecx, [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ecx
mov ecx, dword [ebx]
lea edx, [esp + 0x18]
push eax
push edx
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [esi + 8]
push eax
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
lea ecx, [esp + 0x10]
mov ebp, eax
mov eax, dword [esi + 8]
push ecx
lea edx, [esp + 0x18]
push ebp
push edx
push 0
push eax
mov eax, dword [ebx]
push eax
call edi
test eax, eax
push ebp
jne 0x4c036c
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea edi, [esi + 0x10]
push ebp
mov edx, edi
mov dword [edx], eax
mov eax, dword [esp + 0x24]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [ebx]
add esp, 4
mov dword [esi + 0x30], 1
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
mov edx, dword [edi]
mov ecx, eax
mov dword [ecx], edx
mov edx, dword [edi + 4]
mov dword [ecx + 4], edx
mov edx, dword [edi + 8]
mov dword [ecx + 8], edx
mov edx, dword [edi + 0xc]
pop edi
pop esi
pop ebp
mov dword [ecx + 0xc], edx
pop ebx
add esp, 0x18
ret 4
call sub.MFC42.DLL_operatordelete
mov eax, dword [ebx]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x2c]
add esi, 0x20
mov ecx, eax
pop edi
mov edx, dword [esi]
mov dword [ecx], edx
mov edx, dword [esi + 4]
mov dword [ecx + 4], edx
mov edx, dword [esi + 8]
mov dword [ecx + 8], edx
mov edx, dword [esi + 0xc]
pop esi
pop ebp
mov dword [ecx + 0xc], edx
pop ebx
add esp, 0x18
ret 4

Function at 0x4c03b1
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
mov eax, dword [esi + 0xc]
mov edx, dword [esi]
lea edi, [esi + 4]
push ecx
push edi
push 0
push 0x20006
push 0
push 0x658680
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4c040a
mov eax, dword [esi + 8]
mov edx, dword [edi]
lea ecx, [esi + 0x10]
push 0x10
push ecx
push 3
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4c0401
mov dword [esi + 0x30], 1
mov eax, dword [edi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ecx
ret
Function at 0x4c06e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc]
lea ebx, [esi + 4]
push ebx
push 0x20019
push 0
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c07a0
lea ecx, [esp + 0xc]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ecx
mov ecx, dword [ebx]
lea edx, [esp + 0x18]
push eax
push edx
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [esi + 8]
push eax
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
lea ecx, [esp + 0x10]
mov edi, eax
mov eax, dword [esi + 8]
push ecx
lea edx, [esp + 0x18]
push edi
push edx
push 0
push eax
mov eax, dword [ebx]
push eax
call ebp
test eax, eax
pop ebp
jne 0x4c078e
mov ecx, dword [edi]
push edi
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 4]
mov dword [esi + 0x14], edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [ebx]
add esp, 4
mov dword [esi + 0x20], 1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x10]
pop edi
mov dword [eax], ecx
mov edx, dword [esi + 0x14]
pop esi
mov dword [eax + 4], edx
pop ebx
add esp, 8
ret 4
push edi
call sub.MFC42.DLL_operatordelete
mov eax, dword [ebx]
add esp, 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x18]
pop edi
mov dword [eax], ecx
mov edx, dword [esi + 0x1c]
pop esi
mov dword [eax + 4], edx
pop ebx
add esp, 8
ret 4

Function at 0x4c07c0
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
mov eax, dword [esi + 0xc]
mov edx, dword [esi]
lea edi, [esi + 4]
push ecx
push edi
push 0
push 0x20006
push 0
push 0x658680
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4c081a
mov eax, dword [esi + 8]
mov edx, dword [edi]
lea ecx, [esi + 0x10]
push 8
push ecx
push 3
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4c0811
mov dword [esi + 0x20], 1
mov eax, dword [edi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ecx
ret

Function at 0x4c07c1
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
mov eax, dword [esi + 0xc]
mov edx, dword [esi]
lea edi, [esi + 4]
push ecx
push edi
push 0
push 0x20006
push 0
push 0x658680
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4c081a
mov eax, dword [esi + 8]
mov edx, dword [edi]
lea ecx, [esi + 0x10]
push 8
push ecx
push 3
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4c0811
mov dword [esi + 0x20], 1
mov eax, dword [edi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ecx
ret
Function at 0x4c0f10
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x4c0f21
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [esp + 8]
mov edx, dword [esi]
lea edi, [esi + 4]
push ecx
push edi
push 0
push 0x20006
push 0
push 0x658680
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4c0f8a
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
push ebx
mov ebx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
test eax, eax
jne 0x4c0f5b
mov eax, ebx
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x4c0f64
mov ecx, ebx
inc edx
push edx
push eax
mov eax, dword [edi]
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop ebx
jne 0x4c0f81
mov dword [esi + 0x48], 1
mov ecx, dword [edi]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ecx
ret

Function at 0x4c0f11
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x4c0f21
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [esp + 8]
mov edx, dword [esi]
lea edi, [esi + 4]
push ecx
push edi
push 0
push 0x20006
push 0
push 0x658680
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4c0f8a
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
push ebx
mov ebx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
test eax, eax
jne 0x4c0f5b
mov eax, ebx
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x4c0f64
mov ecx, ebx
inc edx
push edx
push eax
mov eax, dword [edi]
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop ebx
jne 0x4c0f81
mov dword [esi + 0x48], 1
mov ecx, dword [edi]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ecx
ret
Function at 0x4c15d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x4c15e4
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea edi, [esi + 4]
push edi
push 0x20019
push 0
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c1651
mov eax, dword [esi + 0xc]
mov dword [esp + 0xc], 4
test eax, eax
jne 0x4c1611
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea ecx, [esp + 0xc]
lea ebx, [esi + 0x28]
push ecx
lea edx, [esp + 0x14]
push ebx
push edx
push 0
push eax
mov eax, dword [edi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4c1648
mov ecx, dword [edi]
mov dword [esi + 0x30], 1
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebx]
pop edi
pop esi
pop ebx
add esp, 8
ret
mov edx, dword [edi]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 0x2c]
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x4c27a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.NtProtectVirtualMemory
push str.NTDLL.DLL
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.ZwDeviceIoControlFile
push str.NTDLL.DLL
mov ebx, eax
call esi
push eax
call edi
push 0
push ebx
mov esi, eax
call fcn.004c2870
push 1
push esi
call fcn.004c2870
mov eax, dword [sym.imp.USER32.dll_SetCursorPos]
push 2
push eax
call fcn.004c2870
mov ecx, dword [sym.imp.USER32.dll_SendInput]
push 3
push ecx
call fcn.004c2870
mov edx, dword [sym.imp.USER32.dll_GetCursorPos]
push 4
push edx
call fcn.004c2870
mov eax, dword [sym.imp.GDI32.dll_GetPixel]
push 5
push eax
call fcn.004c2870
mov ecx, dword [sym.imp.GDI32.dll_GetDIBits]
push 6
push ecx
call fcn.004c2870
mov edx, dword [sym.imp.GDI32.dll_BitBlt]
push 7
push edx
call fcn.004c2870
mov eax, dword [sym.imp.USER32.dll_GetAsyncKeyState]
add esp, 0x40
push 8
push eax
call fcn.004c2870
add esp, 8
lea ecx, [esp + 0xc]
push ecx
push 0x40
push 0x400
push 0x6ba3bc
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4c2d90
Capabilities:
Check if file exists
Delete file
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5b17eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebp
push esi
push edi
push str.shield.ini
lea eax, [esp + 0x10]
push 0x6ba3ac
push eax
call sub.MFC42.DLL_operator_3
mov ecx, dword [esp + 0xc]
xor edi, edi
push ecx
mov dword [esp + 0x148], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x4c2dfa
mov edx, dword [esp + 0xc]
push edx
push edi
push str.Version
push str.SHIELD
call ebp
test eax, eax
jne 0x4c2e8d
push edi
push str.ShieldModule.dat
call fcn.004ef170
mov esi, eax
add esp, 8
cmp esi, edi
je 0x4c2e8d
mov eax, dword [0x6ba3ac]
push ebx
push eax
push esi
call fcn.004ef2f0
mov dword [esp + 0x1c], edi
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
push esi
call fcn.004ef1b0
mov eax, dword [esp + 0x28]
add esp, 0x14
xor edi, edi
mov ebx, eax
test eax, eax
jle 0x4c2e6f
lea edx, [esp + 0x14]
push edx
push edi
push esi
call fcn.004ef1b0
add esp, 0xc
test eax, eax
jne 0x4c2e6f
lea eax, [esp + 0x18]
push eax
push edi
push esi
call fcn.004ef2b0
add esp, 0xc
inc edi
cmp edi, ebx
jl 0x4c2e48
push esi
call fcn.004ef3b0
add esp, 4
test al, al
pop ebx
push esi
je 0x4c2e85
call fcn.004ef330
jmp 0x4c2e8a
call fcn.004ea0b0
add esp, 4
push str.ShieldModule.dat
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0xc]
push ecx
push 0
push str.Version
push str.SHIELD
call ebp
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x144], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x13c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x13c
ret
Function at 0x4c3410
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x12
call esi
mov bx, word [esp + 0xc]
mov cl, bl
sar eax, 0xf
shr cl, 2
and eax, 1
and ecx, 1
xor eax, ecx
test ax, ax
je 0x4c343b
pop esi
xor eax, eax
pop ebx
ret
push 0x11
call esi
mov dl, bl
sar eax, 0xf
shr dl, 1
and eax, 1
and edx, 1
xor eax, edx
test ax, ax
je 0x4c3458
pop esi
xor eax, eax
pop ebx
ret
push 0x10
call esi
sar eax, 0xf
and eax, 0xffff
and ebx, 0xffff
not eax
xor eax, ebx
pop esi
and eax, 1
pop ebx
ret

Function at 0x4c4570
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
je 0x4c45b9
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push eax
push 0x4c44b0
push 0
call esi
mov dword [0x6ba640], eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4c45d8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x4c4470
push 3
call esi
mov dword [0x6ba63c], eax
pop esi
ret
mov eax, dword [0x6ba640]
mov esi, dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push eax
call esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4c45d8
mov ecx, dword [0x6ba63c]
push ecx
call esi
pop esi
ret

Function at 0x4c4800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b18f8
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
mov dword [esi], 0x600b88
mov eax, dword [esi + 0x28]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x14], edi
je 0x4c4837
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x4c4844
mov edx, dword [eax]
push eax
call dword [edx + 0x20]
mov eax, dword [esi + 0x28]
cmp eax, edi
je 0x4c4854
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x28], edi
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x4c4864
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0x24], edi
mov eax, dword [esi + 0x20]
cmp eax, edi
je 0x4c4874
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x20], edi
mov edx, dword [esi + 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esi + 0x38]
push eax
call edi
mov ecx, dword [esi + 0x30]
push ecx
call edi
mov edx, dword [esi + 0x2c]
push edx
call edi
mov ecx, esi
call fcn.004c3610
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004c3610
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4c4ae0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
lea esi, [ebx + 0x3c]
mov ecx, 0x40
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x24]
push esi
push 0x100
push eax
mov ecx, dword [eax]
mov dword [esp + 0x1c], ebx
call dword [ecx + 0x24]
test eax, eax
jge 0x4c4b1d
mov eax, dword [ebx + 0x24]
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
pop edi
pop esi
pop ebx
add esp, 8
ret
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyA]
push ebp
mov ebp, dword [sym.imp.USER32.dll_PostMessageA]
mov edi, 0xffffffb9
mov dword [esp + 0x10], esi
cmp byte [esi], 0
je 0x4c4c44
lea eax, [edi + 0x47]
push 1
push eax
call ebx
mov esi, eax
test esi, esi
jne case.0x4c4b5d.139
lea ecx, [edi - 0x7e]
cmp ecx, 0x17
ja case.0x4c4b5d.139
lea edx, [edi - 0x7e]
xor eax, eax
mov al, byte [edx + 0x4c4c9c]
jmp dword [eax*4 + 0x4c4c64]
mov esi, 0x13
jmp case.0x4c4b5d.139
mov esi, 0x24
jmp case.0x4c4b5d.139
mov esi, 0x26
jmp case.0x4c4b5d.139
mov esi, 0x21
jmp case.0x4c4b5d.139
mov esi, 0x25
jmp case.0x4c4b5d.139
mov esi, 0x27
jmp case.0x4c4b5d.139
mov esi, 0x23
jmp case.0x4c4b5d.139
mov esi, 0x28
jmp case.0x4c4b5d.139
mov esi, 0x22
jmp case.0x4c4b5d.139
mov esi, 0x2d
jmp case.0x4c4b5d.139
mov esi, 0x2e
jmp case.0x4c4b5d.139
mov esi, 0x5b
jmp case.0x4c4b5d.139
mov esi, 0x5c
push 0x90
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je case.0x4c4bd1.3
cmp edi, 0xc
ja case.0x4c4bd1.3
jmp dword [edi*4 + 0x4c4cb4]
mov esi, 0x6e
jmp 0x4c4c29
mov esi, 0x60
jmp 0x4c4c29
mov esi, 0x61
jmp 0x4c4c29
mov esi, 0x62
jmp 0x4c4c29
mov esi, 0x63
jmp 0x4c4c29
mov esi, 0x64
jmp 0x4c4c29
mov esi, 0x65
jmp 0x4c4c29
mov esi, 0x66
jmp 0x4c4c29
mov esi, 0x67
jmp 0x4c4c29
mov esi, 0x68
jmp 0x4c4c29
mov esi, 0x69
jmp 0x4c4c29
test esi, esi
je 0x4c4c44
mov ecx, dword [esp + 0x14]
push 0
push esi
push 0x312
mov dword [ecx + 0x140], esi
mov edx, dword [0x6ba644]
push edx
call ebp
mov esi, dword [esp + 0x10]
inc esi
inc edi
mov dword [esp + 0x10], esi
lea eax, [edi + 0x47]
cmp eax, 0x100
jb 0x4c4b33
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x4c4b64
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
lea esi, [ebx + 0x3c]
mov ecx, 0x40
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x24]
push esi
push 0x100
push eax
mov ecx, dword [eax]
mov dword [esp + 0x1c], ebx
call dword [ecx + 0x24]
test eax, eax
jge 0x4c4b1d
mov eax, dword [ebx + 0x24]
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
pop edi
pop esi
pop ebx
add esp, 8
ret
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyA]
push ebp
mov ebp, dword [sym.imp.USER32.dll_PostMessageA]
mov edi, 0xffffffb9
mov dword [esp + 0x10], esi
cmp byte [esi], 0
je 0x4c4c44
lea eax, [edi + 0x47]
push 1
push eax
call ebx
mov esi, eax
test esi, esi
jne case.0x4c4b5d.139
lea ecx, [edi - 0x7e]
cmp ecx, 0x17
ja case.0x4c4b5d.139
lea edx, [edi - 0x7e]
xor eax, eax
mov al, byte [edx + 0x4c4c9c]
jmp dword [eax*4 + 0x4c4c64]
mov esi, 0x13
jmp case.0x4c4b5d.139
mov esi, 0x24
jmp case.0x4c4b5d.139
mov esi, 0x26
jmp case.0x4c4b5d.139
mov esi, 0x21
jmp case.0x4c4b5d.139
mov esi, 0x25
jmp case.0x4c4b5d.139
mov esi, 0x27
jmp case.0x4c4b5d.139
mov esi, 0x23
jmp case.0x4c4b5d.139
mov esi, 0x28
jmp case.0x4c4b5d.139
mov esi, 0x22
jmp case.0x4c4b5d.139
mov esi, 0x2d
jmp case.0x4c4b5d.139
mov esi, 0x2e
jmp case.0x4c4b5d.139
mov esi, 0x5b
jmp case.0x4c4b5d.139
mov esi, 0x5c
push 0x90
call dword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je case.0x4c4bd1.3
cmp edi, 0xc
ja case.0x4c4bd1.3
jmp dword [edi*4 + 0x4c4cb4]
mov esi, 0x6e
jmp 0x4c4c29
mov esi, 0x60
jmp 0x4c4c29
mov esi, 0x61
jmp 0x4c4c29
mov esi, 0x62
jmp 0x4c4c29
mov esi, 0x63
jmp 0x4c4c29
mov esi, 0x64
jmp 0x4c4c29
mov esi, 0x65
jmp 0x4c4c29
mov esi, 0x66
jmp 0x4c4c29
mov esi, 0x67
jmp 0x4c4c29
mov esi, 0x68
jmp 0x4c4c29
mov esi, 0x69
jmp 0x4c4c29
test esi, esi
je 0x4c4c44
mov ecx, dword [esp + 0x14]
push 0
push esi
push 0x312
mov dword [ecx + 0x140], esi
mov edx, dword [0x6ba644]
push edx
call ebp
mov esi, dword [esp + 0x10]
inc esi
inc edi
mov dword [esp + 0x10], esi
lea eax, [edi + 0x47]
cmp eax, 0x100
jb 0x4c4b33
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x4c4cf0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov ebp, 1
mov eax, dword [esi + 0x28]
lea edx, [esp + 0x10]
push ebx
push edx
lea edx, [esp + 0x1c]
mov dword [esp + 0x18], ebp
mov ecx, dword [eax]
push edx
push 0x14
push eax
xor edi, edi
call dword [ecx + 0x28]
cmp eax, 0x8007001e
je 0x4c4e9a
cmp eax, ebx
jl 0x4c4ec0
cmp dword [esp + 0x10], ebx
jne 0x4c4d41
cmp dword [esp + 0x2c], ebx
je 0x4c4ec0
jmp 0x4c4d00
mov eax, dword [esp + 0x14]
add eax, 0xfffffff8
cmp eax, 6
ja case.0x4c4d4d.9
jmp dword [eax*4 + 0x4c4ecc]
mov ecx, dword [esp + 0x18]
and cl, 0x80
neg cl
sbb ecx, ecx
add ecx, 0x8002
mov edi, ecx
jmp 0x4c4db0
mov edx, dword [esp + 0x18]
and dl, 0x80
neg dl
sbb edx, edx
add edx, 0x8006
mov edi, edx
jmp 0x4c4db0
mov eax, dword [esp + 0x18]
and al, 0x80
neg al
sbb eax, eax
add eax, 0x800a
mov edi, eax
jmp 0x4c4db0
mov ecx, dword [esp + 0x18]
and cl, 0x80
neg cl
sbb ecx, ecx
add ecx, 0x800e
mov edi, ecx
jmp 0x4c4db0
cmp dword [esp + 0x2c], ebx
jne 0x4c4d00
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x14c]
mov edx, eax
sub edx, ecx
mov ecx, dword [esi + 0x148]
cmp edx, ecx
ja 0x4c4e1b
mov ecx, edi
sub ecx, 0x8001
je 0x4c4e08
sub ecx, 4
je 0x4c4df3
sub ecx, 4
jne 0x4c4e1b
cmp dword [esi + 0x158], ebx
je 0x4c4e1b
mov edi, 0x800b
mov dword [esi + 0x158], ebx
jmp 0x4c4e1b
cmp dword [esi + 0x154], ebx
je 0x4c4e1b
mov edi, 0x8007
mov dword [esi + 0x154], ebx
jmp 0x4c4e1b
cmp dword [esi + 0x150], ebx
je 0x4c4e1b
mov edi, 0x8003
mov dword [esi + 0x150], ebx
cmp edx, 0xfa
ja 0x4c4e85
mov ecx, edi
sub ecx, 0x8002
je 0x4c4e73
sub ecx, 4
je 0x4c4e5f
sub ecx, 4
je 0x4c4e4b
mov dword [esi + 0x158], ebx
mov dword [esi + 0x154], ebx
mov dword [esi + 0x150], ebx
jmp 0x4c4e85
cmp dword [esi + 0x144], 0x8009
jne 0x4c4e85
mov dword [esi + 0x158], ebp
jmp 0x4c4e85
cmp dword [esi + 0x144], 0x8005
jne 0x4c4e85
mov dword [esi + 0x154], ebp
jmp 0x4c4e85
cmp dword [esi + 0x144], 0x8001
jne 0x4c4e85
mov dword [esi + 0x150], ebp
cmp edi, ebx
mov dword [esi + 0x14c], eax
mov dword [esi + 0x144], edi
jne 0x4c4ead
jmp 0x4c4d00
mov esi, dword [esi + 0x28]
push esi
mov edx, dword [esi]
call dword [edx + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
mov eax, dword [0x6ba644]
push ebx
push edi
push 0x312
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4